@smartbit4all/ng-client 6.0.32 → 6.0.34
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/esm2022/lib/smart-filter-editor/api/api/api.mjs +4 -0
- package/esm2022/lib/smart-filter-editor/api/api.module.mjs +40 -0
- package/esm2022/lib/smart-filter-editor/api/index.mjs +7 -0
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilder.mjs +2 -0
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/models.mjs +20 -0
- package/esm2022/lib/smart-filter-editor/api/model/searchPageConfig.mjs +2 -0
- package/esm2022/lib/smart-filter-editor/filter-utils.mjs +3 -0
- package/esm2022/lib/smart-filter-editor/project.mjs +4 -1
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/advanced/advanced-relation-button/advanced-relation-button.component.mjs +27 -0
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/advanced/advanced-smart-filter-expression-item/advanced-smart-filter-expression-item.component.mjs +32 -0
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/advanced/expression-editor-dialog/expression-editor-dialog.component.mjs +29 -0
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/advanced/expression-editor-dialog/expression-editor-dialog.service.mjs +50 -0
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.mjs +5 -6
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component.mjs +19 -7
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +52 -17
- package/esm2022/lib/smart-filter-editor/smart-filter-editor.module.mjs +18 -3
- package/esm2022/lib/smart-filter-editor/smart-filter-editor.service.mjs +16 -1
- package/esm2022/lib/smart-filter-editor/smart-filter-params/components/smart-filter-param/smart-filter-param.component.mjs +3 -3
- package/esm2022/lib/smart-grid/smart-grid.component.mjs +3 -3
- package/fesm2022/smartbit4all-ng-client.mjs +641 -461
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-filter-editor/api/api/api.d.ts +3 -0
- package/lib/smart-filter-editor/api/api.module.d.ts +11 -0
- package/lib/smart-filter-editor/api/index.d.ts +6 -0
- package/lib/smart-filter-editor/api/model/filterExpressionBuilder.d.ts +16 -0
- package/lib/smart-filter-editor/api/model/filterExpressionFieldList.d.ts +2 -0
- package/lib/smart-filter-editor/api/model/models.d.ts +19 -0
- package/lib/smart-filter-editor/api/model/searchPageConfig.d.ts +73 -0
- package/lib/smart-filter-editor/filter-utils.d.ts +2 -0
- package/lib/smart-filter-editor/project.d.ts +3 -0
- package/lib/smart-filter-editor/smart-filter-editor-content/components/advanced/advanced-relation-button/advanced-relation-button.component.d.ts +11 -0
- package/lib/smart-filter-editor/smart-filter-editor-content/components/advanced/advanced-smart-filter-expression-item/advanced-smart-filter-expression-item.component.d.ts +11 -0
- package/lib/smart-filter-editor/smart-filter-editor-content/components/advanced/expression-editor-dialog/expression-editor-dialog.component.d.ts +14 -0
- package/lib/smart-filter-editor/smart-filter-editor-content/components/advanced/expression-editor-dialog/expression-editor-dialog.service.d.ts +21 -0
- package/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.d.ts +1 -1
- package/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component.d.ts +5 -2
- package/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.d.ts +8 -2
- package/lib/smart-filter-editor/smart-filter-editor.module.d.ts +11 -8
- package/lib/smart-filter-editor/smart-filter-editor.service.d.ts +7 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-6.0.34.tgz +0 -0
- package/smartbit4all-ng-client-6.0.32.tgz +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { Configuration } from './configuration';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ApiModule {
|
|
6
|
+
static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
|
|
7
|
+
constructor(parentModule: ApiModule, http: HttpClient);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Filter API 2
|
|
3
|
+
* Filter API 2
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { FilterExpressionBuilderModel } from './filterExpressionBuilderModel';
|
|
13
|
+
export interface FilterExpressionBuilder {
|
|
14
|
+
uri?: string;
|
|
15
|
+
data?: FilterExpressionBuilderModel;
|
|
16
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { FilterExpressionBoolOperator } from './filterExpressionBoolOperator';
|
|
12
13
|
import { FilterExpressionField } from './filterExpressionField';
|
|
13
14
|
export interface FilterExpressionFieldList {
|
|
14
15
|
/**
|
|
@@ -18,4 +19,5 @@ export interface FilterExpressionFieldList {
|
|
|
18
19
|
label?: string;
|
|
19
20
|
icon?: string;
|
|
20
21
|
filters: Array<FilterExpressionField>;
|
|
22
|
+
defaultOperation?: FilterExpressionBoolOperator;
|
|
21
23
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './filterExpressionBoolOperator';
|
|
2
|
+
export * from './filterExpressionBuilder';
|
|
3
|
+
export * from './filterExpressionBuilderApiConfig';
|
|
4
|
+
export * from './filterExpressionBuilderField';
|
|
5
|
+
export * from './filterExpressionBuilderGroup';
|
|
6
|
+
export * from './filterExpressionBuilderModel';
|
|
7
|
+
export * from './filterExpressionBuilderUiModel';
|
|
8
|
+
export * from './filterExpressionData';
|
|
9
|
+
export * from './filterExpressionDataType';
|
|
10
|
+
export * from './filterExpressionField';
|
|
11
|
+
export * from './filterExpressionFieldEditor';
|
|
12
|
+
export * from './filterExpressionFieldList';
|
|
13
|
+
export * from './filterExpressionFieldWidgetType';
|
|
14
|
+
export * from './filterExpressionList';
|
|
15
|
+
export * from './filterExpressionOperandData';
|
|
16
|
+
export * from './filterExpressionOperation';
|
|
17
|
+
export * from './filterExpressionOrderBy';
|
|
18
|
+
export * from './searchPageConfig';
|
|
19
|
+
export * from './smartFilterType';
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Filter API 2
|
|
3
|
+
* Filter API 2
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { FilterExpressionBuilderModel } from './filterExpressionBuilderModel';
|
|
13
|
+
import { GridView } from '../../../smart-grid/api/grid-api/model/gridView';
|
|
14
|
+
/**
|
|
15
|
+
* This object has every configuration data that is necessary to open a SearchIndexResult page. It contains the possible filter expressions in a FilterExpresisonBuilderModel and also the parameterization of the result grid in a GridViewDescriptor object.
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchPageConfig {
|
|
18
|
+
uri?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The page title that can be set induvidually. If it is empty then the FilterExpressionBuilderModel label property will be the page title and we skip set the label of the component itself. So we can skip this value.
|
|
21
|
+
*/
|
|
22
|
+
pageTitle?: string;
|
|
23
|
+
filterModel?: FilterExpressionBuilderModel;
|
|
24
|
+
/**
|
|
25
|
+
* The schema name of the search index.
|
|
26
|
+
*/
|
|
27
|
+
searchIndexSchema?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the search index.
|
|
30
|
+
*/
|
|
31
|
+
searchIndexName?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The conteiner to run the query against.
|
|
34
|
+
*/
|
|
35
|
+
container?: any;
|
|
36
|
+
/**
|
|
37
|
+
* If we set this property then the given search page is iterating through the version of this object.
|
|
38
|
+
*/
|
|
39
|
+
historyObjectUri?: string;
|
|
40
|
+
/**
|
|
41
|
+
* If we set this property then the page is loading the given version as the oldest one.
|
|
42
|
+
*/
|
|
43
|
+
historyLowerBound?: number;
|
|
44
|
+
/**
|
|
45
|
+
* If we set this property then the page is loading the given version as the newest one.
|
|
46
|
+
*/
|
|
47
|
+
historyUpperBound?: number;
|
|
48
|
+
/**
|
|
49
|
+
* The nummber is history elements are well-known. The last version number show how many version we have. Under this limit we load all the versions and like a normal list of object.
|
|
50
|
+
*/
|
|
51
|
+
historyLoadAllLimit?: number;
|
|
52
|
+
/**
|
|
53
|
+
* If we set this property and skip any or all of the lower or upper bound then we load this this number of versions after the lower bound or before the upper bound or before the latest version. It will be the initial size of the pageing while iteration through the history entries.
|
|
54
|
+
*/
|
|
55
|
+
historyPageSize?: number;
|
|
56
|
+
/**
|
|
57
|
+
* If we set this property then the result grid will have this page size.
|
|
58
|
+
*/
|
|
59
|
+
pageSize?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Execute query right after the page is opened or not.
|
|
62
|
+
*/
|
|
63
|
+
skipInitialQuery?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* If there is no result for the search, then show this text instead of the empty table.
|
|
66
|
+
*/
|
|
67
|
+
noResultText?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The appearence of the result grid can be parameterized with this object. If we pass no option then the default grid will appear. If we pass more than one then the user can select with an option selector.
|
|
70
|
+
*/
|
|
71
|
+
gridViewOptions: Array<GridView>;
|
|
72
|
+
defaultRowActions?: Array<string>;
|
|
73
|
+
}
|
|
@@ -2,6 +2,9 @@ export * from './smart-filter-editor.service';
|
|
|
2
2
|
export * from './smart-filter-params/smart-filter-params.component';
|
|
3
3
|
export * from './smart-filter-editor-content/smart-filter-editor-content.component';
|
|
4
4
|
export * from './smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component';
|
|
5
|
+
export * from './smart-filter-editor-content/components/advanced/advanced-relation-button/advanced-relation-button.component';
|
|
6
|
+
export * from './smart-filter-editor-content/components/advanced/expression-editor-dialog/expression-editor-dialog.component';
|
|
7
|
+
export * from './smart-filter-editor-content/components/advanced/advanced-smart-filter-expression-item/advanced-smart-filter-expression-item.component';
|
|
5
8
|
export * from './smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component';
|
|
6
9
|
export * from './smart-filter-params/components/smart-filter-param/smart-filter-param.component';
|
|
7
10
|
export * from './smart-filter-editor.module';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FilterExpressionBoolOperator } from '../../../../api/model/filterExpressionBoolOperator';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AdvancedRelationButtonComponent {
|
|
5
|
+
boolOperator?: FilterExpressionBoolOperator;
|
|
6
|
+
boolOperatorChanged: EventEmitter<FilterExpressionBoolOperator>;
|
|
7
|
+
boolOperatorType: typeof FilterExpressionBoolOperator;
|
|
8
|
+
toggle(event: any): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedRelationButtonComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedRelationButtonComponent, "lib-advanced-relation-button", never, { "boolOperator": { "alias": "boolOperator"; "required": false; }; }, { "boolOperatorChanged": "boolOperatorChanged"; }, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SmartFilterExpressionItemComponent } from '../../smart-filter-expression-item/smart-filter-expression-item.component';
|
|
2
|
+
import { FilterExpressionBoolOperator } from '../../../../api/model/filterExpressionBoolOperator';
|
|
3
|
+
import { FilterExpressionField } from '../../../../api';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AdvancedSmartFilterExpressionItemComponent extends SmartFilterExpressionItemComponent {
|
|
6
|
+
onOperatorChanged(operator: FilterExpressionBoolOperator): Promise<void>;
|
|
7
|
+
select(event: any, item: FilterExpressionField): Promise<void>;
|
|
8
|
+
deleteItem($event: MouseEvent): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSmartFilterExpressionItemComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedSmartFilterExpressionItemComponent, "app-advanced-expression-item", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ExpressionEditorDialogService } from './expression-editor-dialog.service';
|
|
2
|
+
import { SmartForm } from '../../../../../smart-form/smartform.model';
|
|
3
|
+
import { SmartformComponent } from '../../../../../smart-form/smartform.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ExpressionEditorDialogComponent {
|
|
6
|
+
private service;
|
|
7
|
+
smartForm: SmartForm;
|
|
8
|
+
formComponent: SmartformComponent;
|
|
9
|
+
constructor(service: ExpressionEditorDialogService);
|
|
10
|
+
cancel(): void;
|
|
11
|
+
save(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpressionEditorDialogComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExpressionEditorDialogComponent, "lib-expression-editor-dialog", never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
4
|
+
import { UiAction } from '../../../../../view-context/api/model/uiAction';
|
|
5
|
+
import { ComponentLibrary } from '../../../../../view-context/utility/componentLibrary';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import { SmartdialogService } from '../../../../../smart-dialog/smartdialog.service';
|
|
8
|
+
import { SmartForm } from '../../../../../smart-form/smartform.model';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ExpressionEditorDialogService extends SmartdialogService {
|
|
11
|
+
_destroy$: Subject<void>;
|
|
12
|
+
action: UiAction;
|
|
13
|
+
saveEvent: Subject<any>;
|
|
14
|
+
form?: SmartForm;
|
|
15
|
+
constructor(dialog: MatDialog, dialogService: DialogService, inject: Injector, compLib: ComponentLibrary);
|
|
16
|
+
setDataAndOpenDialog(form: SmartForm): void;
|
|
17
|
+
openDialog(): void;
|
|
18
|
+
onSave(data: any): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpressionEditorDialogService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExpressionEditorDialogService>;
|
|
21
|
+
}
|
|
@@ -12,7 +12,7 @@ export declare class SmartFilterExpressionItemComponent implements OnInit {
|
|
|
12
12
|
constructor();
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
setOperatorTo(event: any, operationType: FilterExpressionBoolOperator): void;
|
|
15
|
-
select(event: any, item: FilterExpressionField): void
|
|
15
|
+
select(event: any, item: FilterExpressionField): Promise<void>;
|
|
16
16
|
getDisplayValue(code: string): string;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterExpressionItemComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartFilterExpressionItemComponent, "app-expression-item", never, { "item": { "alias": "item"; "required": false; }; "hasNext": { "alias": "hasNext"; "required": false; }; "service": { "alias": "service"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ISmartFilterEditorService } from '../../../smart-filter-editor.service';
|
|
3
3
|
import { FilterExpressionField } from '../../../api/model/filterExpressionField';
|
|
4
|
+
import { FilterExpressionBoolOperator } from '../../../api';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class SmartFilterExpressionItemsComponent implements OnDestroy, OnInit {
|
|
7
|
+
readonly useAdvancedFilter?: boolean | undefined;
|
|
6
8
|
private _destroy$;
|
|
7
9
|
items: FilterExpressionField[];
|
|
8
10
|
service: ISmartFilterEditorService;
|
|
9
11
|
isSelected: boolean;
|
|
10
|
-
constructor();
|
|
12
|
+
constructor(useAdvancedFilter?: boolean | undefined);
|
|
11
13
|
ngOnInit(): void;
|
|
12
14
|
ngOnDestroy(): void;
|
|
13
15
|
select(): void;
|
|
14
16
|
drop(event: any): void;
|
|
15
|
-
|
|
17
|
+
onOperatorChanged($event: FilterExpressionBoolOperator): Promise<void>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterExpressionItemsComponent, [{ optional: true; }]>;
|
|
16
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartFilterExpressionItemsComponent, "app-expression-items", never, { "items": { "alias": "items"; "required": false; }; "service": { "alias": "service"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
20
|
}
|
|
@@ -7,10 +7,13 @@ import { UiActionModel } from '../../view-context/smart-ui-action/ui-action.mode
|
|
|
7
7
|
import { FilterExpressionBuilderUiModelTypeEnum } from '../api/model/filterExpressionBuilderUiModel';
|
|
8
8
|
import { ISmartFilterEditorService } from '../smart-filter-editor.service';
|
|
9
9
|
import { ComponentLibrary } from '../../view-context/utility/componentLibrary';
|
|
10
|
+
import { ExpressionEditorDialogService } from './components/advanced/expression-editor-dialog/expression-editor-dialog.service';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class SmartFilterEditorContentComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
12
13
|
private layoutService;
|
|
13
14
|
private cfService;
|
|
15
|
+
private expressionEditorDialogService;
|
|
16
|
+
readonly useAdvancedFilter?: boolean | undefined;
|
|
14
17
|
compLib?: ComponentLibrary | undefined;
|
|
15
18
|
private _destroy$;
|
|
16
19
|
service: ISmartFilterEditorService;
|
|
@@ -22,7 +25,7 @@ export declare class SmartFilterEditorContentComponent implements OnInit, AfterV
|
|
|
22
25
|
simpleFilterVcRef?: ViewContainerRef;
|
|
23
26
|
simpleFilterRef?: ComponentRef<SmartformComponent>;
|
|
24
27
|
type: typeof FilterExpressionBuilderUiModelTypeEnum;
|
|
25
|
-
constructor(layoutService: SmartformLayoutDefinitionService, cfService: ComponentFactoryService, compLib?: ComponentLibrary | undefined);
|
|
28
|
+
constructor(layoutService: SmartformLayoutDefinitionService, cfService: ComponentFactoryService, expressionEditorDialogService: ExpressionEditorDialogService, useAdvancedFilter?: boolean | undefined, compLib?: ComponentLibrary | undefined);
|
|
26
29
|
private subsrcibeSimpleFormChildrenEvents;
|
|
27
30
|
private subscribeEditorFormChildrenEvents;
|
|
28
31
|
ngOnInit(): void;
|
|
@@ -35,10 +38,13 @@ export declare class SmartFilterEditorContentComponent implements OnInit, AfterV
|
|
|
35
38
|
setUp(): void;
|
|
36
39
|
constructUiActionModels(): void;
|
|
37
40
|
constructForm(): void;
|
|
41
|
+
private createFilterEditorForm;
|
|
38
42
|
save(): void;
|
|
43
|
+
private updateFilterExpression;
|
|
39
44
|
remove(): void;
|
|
40
45
|
saveFilter(): Promise<void>;
|
|
41
46
|
private constructFormWidget;
|
|
42
|
-
|
|
47
|
+
unSelectItems(event: MouseEvent): Promise<void>;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterEditorContentComponent, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
43
49
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartFilterEditorContentComponent, "smart-filter-expression-editor", never, { "service": { "alias": "service"; "required": false; }; }, {}, never, never, false, never>;
|
|
44
50
|
}
|
|
@@ -4,15 +4,18 @@ import * as i2 from "./smart-filter-params/components/smart-filter-param/smart-f
|
|
|
4
4
|
import * as i3 from "./smart-filter-editor-content/smart-filter-editor-content.component";
|
|
5
5
|
import * as i4 from "./smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component";
|
|
6
6
|
import * as i5 from "./smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component";
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "../smart-
|
|
13
|
-
import * as i12 from "../
|
|
7
|
+
import * as i6 from "./smart-filter-editor-content/components/advanced/advanced-smart-filter-expression-item/advanced-smart-filter-expression-item.component";
|
|
8
|
+
import * as i7 from "./smart-filter-editor-content/components/advanced/advanced-relation-button/advanced-relation-button.component";
|
|
9
|
+
import * as i8 from "./smart-filter-editor-content/components/advanced/expression-editor-dialog/expression-editor-dialog.component";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "../smart-icon/smart-icon.module";
|
|
12
|
+
import * as i11 from "../smart-expandable-section/smart-expandable-section.module";
|
|
13
|
+
import * as i12 from "../view-context/smart-view-context.module";
|
|
14
|
+
import * as i13 from "@angular/material/button";
|
|
15
|
+
import * as i14 from "../smart-filter/smart-filter.module";
|
|
16
|
+
import * as i15 from "../shared/shared.module";
|
|
14
17
|
export declare class SmartFilterEditorModule {
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterEditorModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFilterEditorModule, [typeof i1.SmartFilterParamsComponent, typeof i2.SmartFilterParamComponent, typeof i3.SmartFilterEditorContentComponent, typeof i4.SmartFilterExpressionItemsComponent, typeof i5.SmartFilterExpressionItemComponent], [typeof
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFilterEditorModule, [typeof i1.SmartFilterParamsComponent, typeof i2.SmartFilterParamComponent, typeof i3.SmartFilterEditorContentComponent, typeof i4.SmartFilterExpressionItemsComponent, typeof i5.SmartFilterExpressionItemComponent, typeof i6.AdvancedSmartFilterExpressionItemComponent, typeof i7.AdvancedRelationButtonComponent, typeof i8.ExpressionEditorDialogComponent], [typeof i9.CommonModule, typeof i10.SmartIconModule, typeof i11.SmartExpandableSectionModule, typeof i12.SmartViewContextModule, typeof i13.MatButtonModule, typeof i14.SmartFilterModule, typeof i15.SharedModule], [typeof i1.SmartFilterParamsComponent, typeof i2.SmartFilterParamComponent, typeof i3.SmartFilterEditorContentComponent, typeof i4.SmartFilterExpressionItemsComponent, typeof i5.SmartFilterExpressionItemComponent, typeof i6.AdvancedSmartFilterExpressionItemComponent, typeof i7.AdvancedRelationButtonComponent, typeof i8.ExpressionEditorDialogComponent]>;
|
|
17
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartFilterEditorModule>;
|
|
18
21
|
}
|
|
@@ -7,6 +7,8 @@ import { FilterExpressionBuilderUiModel } from './api/model/filterExpressionBuil
|
|
|
7
7
|
import { FilterService } from './api/api/filter.service';
|
|
8
8
|
import { UiActionToolbarComponent } from '../view-context/smart-ui-action/ui-action-toolbar.component';
|
|
9
9
|
import { SmartViewContextService } from '../view-context/smart-view-context.service';
|
|
10
|
+
import { FilterExpressionField } from './api/model/filterExpressionField';
|
|
11
|
+
import { FilterExpressionBoolOperator } from './api/model/filterExpressionBoolOperator';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
export interface ISmartFilterEditorService extends UseUiAction {
|
|
12
14
|
config: SmartFilterEditorConfig;
|
|
@@ -15,11 +17,13 @@ export interface ISmartFilterEditorService extends UseUiAction {
|
|
|
15
17
|
submit: Subject<void>;
|
|
16
18
|
reSubscribeToChange: Subject<void>;
|
|
17
19
|
parentSmartComponent?: any;
|
|
20
|
+
itemSelected: Subject<FilterExpressionField>;
|
|
18
21
|
getComplexToolbars(): Array<UiActionToolbarComponent>;
|
|
19
22
|
setComplexToolbars(toolbars: Array<UiActionToolbarComponent>): void;
|
|
20
23
|
load(): Promise<void>;
|
|
21
|
-
peformWidgetAction(request: UiActionRequest): void
|
|
24
|
+
peformWidgetAction(request: UiActionRequest): Promise<void>;
|
|
22
25
|
performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string | undefined, nodeId?: string | undefined): Promise<any>;
|
|
26
|
+
bulkUpdateFilterExpression(operationType: FilterExpressionBoolOperator, item?: FilterExpressionField): Promise<any>;
|
|
23
27
|
}
|
|
24
28
|
export declare class SmartFilterEditorService implements ISmartFilterEditorService {
|
|
25
29
|
private service;
|
|
@@ -30,6 +34,7 @@ export declare class SmartFilterEditorService implements ISmartFilterEditorServi
|
|
|
30
34
|
submit: Subject<void>;
|
|
31
35
|
reSubscribeToChange: Subject<void>;
|
|
32
36
|
parentSmartComponent?: any;
|
|
37
|
+
itemSelected: Subject<FilterExpressionField>;
|
|
33
38
|
private toolbars;
|
|
34
39
|
constructor(service: FilterService, viewCtxService: SmartViewContextService);
|
|
35
40
|
getComplexToolbars(): Array<UiActionToolbarComponent>;
|
|
@@ -40,6 +45,7 @@ export declare class SmartFilterEditorService implements ISmartFilterEditorServi
|
|
|
40
45
|
performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string | undefined, nodeId?: string | undefined): Promise<any>;
|
|
41
46
|
handleSpecificDemandsAsynchronously(uiAction: UiAction, uiActionRequest: UiActionRequest): Promise<UiActionSpecificDemandResponse>;
|
|
42
47
|
getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
|
|
48
|
+
bulkUpdateFilterExpression(operationType: FilterExpressionBoolOperator, item?: FilterExpressionField): Promise<any>;
|
|
43
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterEditorService, never>;
|
|
44
50
|
static ɵprov: i0.ɵɵInjectableDeclaration<SmartFilterEditorService>;
|
|
45
51
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartbit4all/ng-client",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.34",
|
|
4
4
|
"description": "Angular client library for the smartbit4all platform — a server-driven UI framework that renders views, pages, forms, grids, trees and dialogs from backend (ViewApi/PageApi) definitions. Provides reactive view-context state management, dynamic component layouts and OpenAPI-generated BFF clients.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
|
|
Binary file
|
|
Binary file
|