@smartbit4all/ng-client 3.1.97 → 3.1.99
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/esm2020/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +103 -30
- package/esm2020/lib/smart-filter-editor/smart-filter-editor.module.mjs +5 -2
- package/esm2020/lib/smart-filter-editor/smart-filter-editor.service.mjs +1 -1
- package/fesm2015/smartbit4all-ng-client.mjs +101 -30
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +102 -30
- 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/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.d.ts +7 -6
- package/lib/smart-filter-editor/smart-filter-editor.module.d.ts +1 -1
- package/lib/smart-filter-editor/smart-filter-editor.service.d.ts +11 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.1.99.tgz +0 -0
- package/smartbit4all-ng-client-3.1.97.tgz +0 -0
|
@@ -11495,9 +11495,6 @@ class SmartFilterSimpleComponent {
|
|
|
11495
11495
|
this.subscribeToSubmit();
|
|
11496
11496
|
});
|
|
11497
11497
|
this.subscribeToSubmit();
|
|
11498
|
-
this.service.change.pipe(takeUntil(this._destroy$)).subscribe(() => {
|
|
11499
|
-
this.smartFilter = this.service.filter;
|
|
11500
|
-
});
|
|
11501
11498
|
}
|
|
11502
11499
|
ngOnInit() {
|
|
11503
11500
|
this.smartFilter = this.service.filter;
|
|
@@ -11523,10 +11520,10 @@ SmartFilterSimpleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0
|
|
|
11523
11520
|
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"] }] });
|
|
11524
11521
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartFilterSimpleComponent, decorators: [{
|
|
11525
11522
|
type: Component,
|
|
11526
|
-
args: [{ selector:
|
|
11523
|
+
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"] }]
|
|
11527
11524
|
}], ctorParameters: function () { return [{ type: SmartFilterService }]; }, propDecorators: { simpleFieldChildren: [{
|
|
11528
11525
|
type: ViewChildren,
|
|
11529
|
-
args: [
|
|
11526
|
+
args: ["simpleField"]
|
|
11530
11527
|
}] } });
|
|
11531
11528
|
|
|
11532
11529
|
class SmartFilterComponent {
|
|
@@ -11545,7 +11542,6 @@ class SmartFilterComponent {
|
|
|
11545
11542
|
}
|
|
11546
11543
|
setUp() {
|
|
11547
11544
|
this.service.filter = this.filter;
|
|
11548
|
-
this.service.change.next();
|
|
11549
11545
|
}
|
|
11550
11546
|
submit() {
|
|
11551
11547
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13747,17 +13743,7 @@ class SmartFilterEditorContentComponent {
|
|
|
13747
13743
|
this.expressionUiActionModels = [];
|
|
13748
13744
|
this.type = FilterExpressionBuilderUiModel.TypeEnum;
|
|
13749
13745
|
}
|
|
13750
|
-
ngAfterViewChecked() {
|
|
13751
|
-
var _a, _b;
|
|
13752
|
-
if (((_a = this.service.model) === null || _a === void 0 ? void 0 : _a.type) === this.type.Simple) {
|
|
13753
|
-
if (this.smartFilterChangeSubscription) {
|
|
13754
|
-
this.smartFilterChangeSubscription.unsubscribe();
|
|
13755
|
-
}
|
|
13756
|
-
this.smartFilterChangeSubscription = (_b = this.smartFilterChild) === null || _b === void 0 ? void 0 : _b.service.change.pipe(takeUntil(this._destroy$)).subscribe(() => {
|
|
13757
|
-
this.saveFilter();
|
|
13758
|
-
});
|
|
13759
|
-
}
|
|
13760
|
-
}
|
|
13746
|
+
ngAfterViewChecked() { }
|
|
13761
13747
|
ngOnInit() {
|
|
13762
13748
|
this.service.load();
|
|
13763
13749
|
this.service.modelChanged.pipe(takeUntil(this._destroy$)).subscribe(() => {
|
|
@@ -13769,12 +13755,72 @@ class SmartFilterEditorContentComponent {
|
|
|
13769
13755
|
this._destroy$.complete();
|
|
13770
13756
|
}
|
|
13771
13757
|
setupSimpleFilter() {
|
|
13772
|
-
|
|
13773
|
-
|
|
13774
|
-
|
|
13758
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
13759
|
+
let widgets = [];
|
|
13760
|
+
let key;
|
|
13761
|
+
let model = {};
|
|
13762
|
+
(_c = (_b = (_a = this.service.model) === null || _a === void 0 ? void 0 : _a.model) === null || _b === void 0 ? void 0 : _b.workplaceList) === null || _c === void 0 ? void 0 : _c.filters.forEach((filterExpressionField, index) => {
|
|
13763
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
13764
|
+
model[index] = filterExpressionField;
|
|
13765
|
+
if (filterExpressionField.widgetType === 'SELECT_MULTIPLE') {
|
|
13766
|
+
key = index + '.expressionData.operand2.selectedValues';
|
|
13767
|
+
widgets.push(this.constructFormWidget(key, filterExpressionField.label2, (_a = filterExpressionField.widgetType) !== null && _a !== void 0 ? _a : FilterExpressionFieldWidgetType.TextField, filterExpressionField.possibleValues));
|
|
13768
|
+
return;
|
|
13769
|
+
}
|
|
13770
|
+
if (((_b = filterExpressionField.expressionData) === null || _b === void 0 ? void 0 : _b.currentOperation) === 'BETWEEN') {
|
|
13771
|
+
key = index + '.expressionData.operand2.valueAsString';
|
|
13772
|
+
widgets.push(this.constructFormWidget(key, filterExpressionField.label2, (_c = filterExpressionField.widgetType) !== null && _c !== void 0 ? _c : FilterExpressionFieldWidgetType.TextField, filterExpressionField.possibleValues));
|
|
13773
|
+
key = index + '.expressionData.operand3.valueAsString';
|
|
13774
|
+
widgets.push(this.constructFormWidget(key, filterExpressionField.label2, (_d = filterExpressionField.widgetType) !== null && _d !== void 0 ? _d : FilterExpressionFieldWidgetType.TextField, filterExpressionField.possibleValues));
|
|
13775
|
+
return;
|
|
13776
|
+
}
|
|
13777
|
+
if ((_e = filterExpressionField.expressionData) === null || _e === void 0 ? void 0 : _e.operand2) {
|
|
13778
|
+
if (key !== index + '.expressionData.operand2.selectedValues') {
|
|
13779
|
+
key = index + '.expressionData.operand2.valueAsString';
|
|
13780
|
+
}
|
|
13781
|
+
widgets.push(this.constructFormWidget(key, filterExpressionField.label2, (_f = filterExpressionField.widgetType) !== null && _f !== void 0 ? _f : FilterExpressionFieldWidgetType.TextField, filterExpressionField.possibleValues));
|
|
13782
|
+
return;
|
|
13783
|
+
}
|
|
13784
|
+
if ((_g = filterExpressionField === null || filterExpressionField === void 0 ? void 0 : filterExpressionField.expressionData) === null || _g === void 0 ? void 0 : _g.operand3) {
|
|
13785
|
+
if (key !== index + '.selectedValues') {
|
|
13786
|
+
key = index + '.expressionData.operand3.valueAsString';
|
|
13787
|
+
}
|
|
13788
|
+
widgets.push(this.constructFormWidget(key, filterExpressionField.label3, (_h = filterExpressionField.widgetType) !== null && _h !== void 0 ? _h : FilterExpressionFieldWidgetType.TextField, filterExpressionField.possibleValues));
|
|
13789
|
+
return;
|
|
13790
|
+
}
|
|
13791
|
+
});
|
|
13792
|
+
this.simpleFilterForm = {
|
|
13793
|
+
direction: SmartFormWidgetDirection.ROW,
|
|
13794
|
+
componentModel: { data: model },
|
|
13795
|
+
useOnValueChangeEvent: true,
|
|
13796
|
+
useOnBlurEvent: true,
|
|
13797
|
+
widgets,
|
|
13775
13798
|
};
|
|
13776
|
-
if (
|
|
13799
|
+
if (this.smartFilterChangeSubscription) {
|
|
13800
|
+
this.smartFilterChangeSubscription.unsubscribe();
|
|
13801
|
+
}
|
|
13802
|
+
this.smartFilterChangeSubscription = (_e = (_d = this.simpleFilterFormChild) === null || _d === void 0 ? void 0 : _d.onBlurSubject) === null || _e === void 0 ? void 0 : _e.pipe(takeUntil(this._destroy$)).subscribe(() => {
|
|
13803
|
+
this.saveFilter();
|
|
13804
|
+
});
|
|
13805
|
+
if (this.smartFilterSophisticatedChangeSubscription) {
|
|
13806
|
+
this.smartFilterSophisticatedChangeSubscription.unsubscribe();
|
|
13777
13807
|
}
|
|
13808
|
+
this.smartFilterSophisticatedChangeSubscription =
|
|
13809
|
+
(_g = (_f = this.simpleFilterFormChild) === null || _f === void 0 ? void 0 : _f.sophisticatedValueChange) === null || _g === void 0 ? void 0 : _g.pipe(takeUntil(this._destroy$)).subscribe((change) => {
|
|
13810
|
+
if (change.kind === 'selection') {
|
|
13811
|
+
console.log(change);
|
|
13812
|
+
this.saveFilter();
|
|
13813
|
+
}
|
|
13814
|
+
});
|
|
13815
|
+
}
|
|
13816
|
+
extractFilterFieldFromFormModel() {
|
|
13817
|
+
var _a;
|
|
13818
|
+
let simpleFilter = (_a = this.simpleFilterFormChild) === null || _a === void 0 ? void 0 : _a.submitForm(false).componentModel.data;
|
|
13819
|
+
let result = [];
|
|
13820
|
+
Object.keys(simpleFilter).forEach((key) => {
|
|
13821
|
+
result.push(simpleFilter[key]);
|
|
13822
|
+
});
|
|
13823
|
+
this.service.model.model.workplaceList.filters = result;
|
|
13778
13824
|
}
|
|
13779
13825
|
setUp() {
|
|
13780
13826
|
var _a;
|
|
@@ -13874,11 +13920,8 @@ class SmartFilterEditorContentComponent {
|
|
|
13874
13920
|
return [];
|
|
13875
13921
|
}
|
|
13876
13922
|
saveFilter() {
|
|
13877
|
-
var _a;
|
|
13878
13923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13879
|
-
|
|
13880
|
-
this.service.model.model.workplaceList.filters =
|
|
13881
|
-
smartFilter === null || smartFilter === void 0 ? void 0 : smartFilter.data;
|
|
13924
|
+
this.extractFilterFieldFromFormModel();
|
|
13882
13925
|
this.service.performUiActionRequest({
|
|
13883
13926
|
code: FilterExpressionBuilderApiActions.SAVE_EXPRESSION_FIELD_LIST,
|
|
13884
13927
|
params: {
|
|
@@ -13887,20 +13930,45 @@ class SmartFilterEditorContentComponent {
|
|
|
13887
13930
|
});
|
|
13888
13931
|
});
|
|
13889
13932
|
}
|
|
13933
|
+
constructFormWidget(key, label, widgetType, possibleValues) {
|
|
13934
|
+
let type = widgetType;
|
|
13935
|
+
if (type === FilterExpressionFieldWidgetType.Date) {
|
|
13936
|
+
type = SmartFormWidgetType.DATE_PICKER;
|
|
13937
|
+
}
|
|
13938
|
+
else if (type === FilterExpressionFieldWidgetType.DateTime) {
|
|
13939
|
+
type = SmartFormWidgetType.DATE_TIME_PICKER;
|
|
13940
|
+
}
|
|
13941
|
+
let widget = {
|
|
13942
|
+
key,
|
|
13943
|
+
label,
|
|
13944
|
+
type,
|
|
13945
|
+
value: '',
|
|
13946
|
+
showLabel: true,
|
|
13947
|
+
valueList: possibleValues.map((value) => {
|
|
13948
|
+
return {
|
|
13949
|
+
key: value.objectUri ? value.objectUri : value.code,
|
|
13950
|
+
label: value.displayValue,
|
|
13951
|
+
type: SmartFormWidgetType.ITEM,
|
|
13952
|
+
value: value.objectUri ? value.objectUri : value.code,
|
|
13953
|
+
};
|
|
13954
|
+
}),
|
|
13955
|
+
};
|
|
13956
|
+
return widget;
|
|
13957
|
+
}
|
|
13890
13958
|
}
|
|
13891
13959
|
SmartFilterEditorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartFilterEditorContentComponent, deps: [{ token: SmartformLayoutDefinitionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13892
|
-
SmartFilterEditorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SmartFilterEditorContentComponent, selector: "smart-filter-expression-editor", inputs: { service: "service" }, viewQueries: [{ propertyName: "formChild", first: true, predicate: ["form"], descendants: true }, { propertyName: "
|
|
13960
|
+
SmartFilterEditorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SmartFilterEditorContentComponent, selector: "smart-filter-expression-editor", inputs: { service: "service" }, viewQueries: [{ propertyName: "formChild", first: true, predicate: ["form"], descendants: true }, { propertyName: "simpleFilterFormChild", first: true, predicate: ["simpleFilterFromChild"], descendants: true }], ngImport: i0, template: "<div class=\"targetGroupContentContainer\">\r\n <h3>{{ service.model?.model?.label }}</h3>\r\n\r\n <div *ngIf=\"service.model?.type === type.Simple; then simpleFilter; else complexFilter\"></div>\r\n\r\n <ng-template #simpleFilter>\r\n <div class=\"expressionsContainer\">\r\n <smartform #simpleFilterFromChild [smartForm]=\"simpleFilterForm\"></smartform>\r\n </div>\r\n </ng-template>\r\n <ng-template #complexFilter>\r\n <div class=\"uiActionsBar\" *ngIf=\"!service.model?.readOnly\">\r\n <div class=\"uiActionsInsideOfBar\">\r\n <smart-ui-action-toolbar [uiActionModels]=\"uiActionModels\"></smart-ui-action-toolbar>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"\r\n service?.model?.model?.workplaceList?.filters?.length;\r\n then withParameters;\r\n else withoutParameters\r\n \"\r\n ></div>\r\n <ng-template #withoutParameters>\r\n <div class=\"withoutParametersContainer\">\r\n <span class=\"mat-body\"> M\u00E9g nincs megadva param\u00E9ter </span>\r\n </div>\r\n </ng-template>\r\n <ng-template #withParameters>\r\n <div class=\"withParametersContainer\">\r\n <div\r\n class=\"expressionsContainer\"\r\n *ngIf=\"service?.model?.model?.workplaceList?.filters?.length\"\r\n >\r\n <app-expression-items\r\n [items]=\"(service.model?.model?.workplaceList)!.filters\"\r\n ></app-expression-items>\r\n </div>\r\n <div class=\"expressionEditorContainer\">\r\n <smartform #form [smartForm]=\"smartForm\"></smartform>\r\n <div *ngIf=\"smartForm\">\r\n <button (click)=\"remove()\" mat-raised-button color=\"primary\">T\u00F6rl\u00E9s</button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n</div>\r\n", styles: [".targetGroupContentContainer{padding:1.5rem;display:flex;flex-direction:column;gap:2.5rem;height:calc(100% - 3rem);overflow:auto;position:relative}.targetGroupContentContainer h3{margin:0;font-weight:600}.uiActionsBar{padding:1.5rem;border-radius:.25rem;background-color:var(--container-color)}.uiActionsBar,.uiActionsInsideOfBar{display:flex;flex-direction:row;gap:1rem}.uiActionsInsideOfBar{position:relative;left:-3rem}.section,.notSection{display:flex;flex-direction:row;gap:1rem}.section:before{content:\"\";border:1px solid #d9d9d9;align-self:stretch}.withoutParametersContainer{display:flex;flex-direction:column;padding:2rem;background-color:var(--container-color);border-radius:.25rem}.withoutParametersContainer .mat-body{font-weight:600;text-align:center}.withParametersContainer{display:flex;flex-direction:column;padding:1.5rem;background-color:var(--container-color);border-radius:.25rem;gap:.75rem}.expressionsContainer{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem;margin-bottom:1px solid #cdcdcd}.expressionEditorContainer{display:flex;flex-direction:column;gap:.75rem}\n"], components: [{ type: SmartformComponent, selector: "smartform", inputs: ["smartForm"] }, { type: UiActionToolbarComponent, selector: "smart-ui-action-toolbar", inputs: ["uiActionModels", "uiActionDescriptorService"] }, { type: SmartFilterExpressionItemsComponent, selector: "app-expression-items", inputs: ["items"] }, { type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
13893
13961
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartFilterEditorContentComponent, decorators: [{
|
|
13894
13962
|
type: Component,
|
|
13895
|
-
args: [{ selector: 'smart-filter-expression-editor', template: "<div class=\"targetGroupContentContainer\">\r\n <h3>{{ service.model?.model?.label }}</h3>\r\n\r\n <div *ngIf=\"service.model?.type === type.Simple; then simpleFilter; else complexFilter\"></div>\r\n\r\n <ng-template #simpleFilter>\r\n <div class=\"expressionsContainer\">\r\n <
|
|
13963
|
+
args: [{ selector: 'smart-filter-expression-editor', template: "<div class=\"targetGroupContentContainer\">\r\n <h3>{{ service.model?.model?.label }}</h3>\r\n\r\n <div *ngIf=\"service.model?.type === type.Simple; then simpleFilter; else complexFilter\"></div>\r\n\r\n <ng-template #simpleFilter>\r\n <div class=\"expressionsContainer\">\r\n <smartform #simpleFilterFromChild [smartForm]=\"simpleFilterForm\"></smartform>\r\n </div>\r\n </ng-template>\r\n <ng-template #complexFilter>\r\n <div class=\"uiActionsBar\" *ngIf=\"!service.model?.readOnly\">\r\n <div class=\"uiActionsInsideOfBar\">\r\n <smart-ui-action-toolbar [uiActionModels]=\"uiActionModels\"></smart-ui-action-toolbar>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"\r\n service?.model?.model?.workplaceList?.filters?.length;\r\n then withParameters;\r\n else withoutParameters\r\n \"\r\n ></div>\r\n <ng-template #withoutParameters>\r\n <div class=\"withoutParametersContainer\">\r\n <span class=\"mat-body\"> M\u00E9g nincs megadva param\u00E9ter </span>\r\n </div>\r\n </ng-template>\r\n <ng-template #withParameters>\r\n <div class=\"withParametersContainer\">\r\n <div\r\n class=\"expressionsContainer\"\r\n *ngIf=\"service?.model?.model?.workplaceList?.filters?.length\"\r\n >\r\n <app-expression-items\r\n [items]=\"(service.model?.model?.workplaceList)!.filters\"\r\n ></app-expression-items>\r\n </div>\r\n <div class=\"expressionEditorContainer\">\r\n <smartform #form [smartForm]=\"smartForm\"></smartform>\r\n <div *ngIf=\"smartForm\">\r\n <button (click)=\"remove()\" mat-raised-button color=\"primary\">T\u00F6rl\u00E9s</button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n</div>\r\n", styles: [".targetGroupContentContainer{padding:1.5rem;display:flex;flex-direction:column;gap:2.5rem;height:calc(100% - 3rem);overflow:auto;position:relative}.targetGroupContentContainer h3{margin:0;font-weight:600}.uiActionsBar{padding:1.5rem;border-radius:.25rem;background-color:var(--container-color)}.uiActionsBar,.uiActionsInsideOfBar{display:flex;flex-direction:row;gap:1rem}.uiActionsInsideOfBar{position:relative;left:-3rem}.section,.notSection{display:flex;flex-direction:row;gap:1rem}.section:before{content:\"\";border:1px solid #d9d9d9;align-self:stretch}.withoutParametersContainer{display:flex;flex-direction:column;padding:2rem;background-color:var(--container-color);border-radius:.25rem}.withoutParametersContainer .mat-body{font-weight:600;text-align:center}.withParametersContainer{display:flex;flex-direction:column;padding:1.5rem;background-color:var(--container-color);border-radius:.25rem;gap:.75rem}.expressionsContainer{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem;margin-bottom:1px solid #cdcdcd}.expressionEditorContainer{display:flex;flex-direction:column;gap:.75rem}\n"] }]
|
|
13896
13964
|
}], ctorParameters: function () { return [{ type: SmartformLayoutDefinitionService }]; }, propDecorators: { service: [{
|
|
13897
13965
|
type: Input
|
|
13898
13966
|
}], formChild: [{
|
|
13899
13967
|
type: ViewChild,
|
|
13900
13968
|
args: ['form']
|
|
13901
|
-
}],
|
|
13969
|
+
}], simpleFilterFormChild: [{
|
|
13902
13970
|
type: ViewChild,
|
|
13903
|
-
args: ['
|
|
13971
|
+
args: ['simpleFilterFromChild']
|
|
13904
13972
|
}] } });
|
|
13905
13973
|
|
|
13906
13974
|
class SmartFilterEditorModule {
|
|
@@ -13916,7 +13984,8 @@ SmartFilterEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
13916
13984
|
SmartViewContextModule,
|
|
13917
13985
|
SmartformModule,
|
|
13918
13986
|
MatButtonModule,
|
|
13919
|
-
SmartFilterModule
|
|
13987
|
+
SmartFilterModule,
|
|
13988
|
+
SmartformModule], exports: [SmartFilterParamsComponent,
|
|
13920
13989
|
SmartFilterParamComponent,
|
|
13921
13990
|
SmartFilterEditorContentComponent,
|
|
13922
13991
|
SmartFilterExpressionItemsComponent,
|
|
@@ -13929,6 +13998,7 @@ SmartFilterEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
13929
13998
|
SmartformModule,
|
|
13930
13999
|
MatButtonModule,
|
|
13931
14000
|
SmartFilterModule,
|
|
14001
|
+
SmartformModule,
|
|
13932
14002
|
]] });
|
|
13933
14003
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartFilterEditorModule, decorators: [{
|
|
13934
14004
|
type: NgModule,
|
|
@@ -13948,6 +14018,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
13948
14018
|
SmartformModule,
|
|
13949
14019
|
MatButtonModule,
|
|
13950
14020
|
SmartFilterModule,
|
|
14021
|
+
SmartformModule,
|
|
13951
14022
|
],
|
|
13952
14023
|
exports: [
|
|
13953
14024
|
SmartFilterParamsComponent,
|