@smartbit4all/ng-client 3.1.35 → 3.1.36
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-editor/api/api/filter.service.mjs +198 -0
- package/esm2020/lib/smart-filter-editor/api/configuration.mjs +91 -0
- package/esm2020/lib/smart-filter-editor/api/encoder.mjs +19 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +16 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +13 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +9 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +13 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionData.mjs +2 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +19 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionField.mjs +2 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +13 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +13 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +25 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionList.mjs +2 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +2 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +31 -0
- package/esm2020/lib/smart-filter-editor/api/param.mjs +2 -0
- package/esm2020/lib/smart-filter-editor/api/variables.mjs +9 -0
- package/esm2020/lib/smart-filter-editor/project.mjs +4 -0
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.mjs +54 -0
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component.mjs +42 -0
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +109 -0
- package/esm2020/lib/smart-filter-editor/smart-filter-editor.model.mjs +2 -0
- package/esm2020/lib/smart-filter-editor/smart-filter-editor.module.mjs +53 -0
- package/esm2020/lib/smart-filter-editor/smart-filter-editor.service.mjs +43 -0
- package/esm2020/lib/smart-filter-editor/smart-filter-params/components/smart-filter-param/smart-filter-param.component.mjs +28 -0
- package/esm2020/lib/smart-filter-editor/smart-filter-params/smart-filter-params.component.mjs +107 -0
- package/esm2020/lib/smart-form/api/api/api.mjs +1 -1
- package/esm2020/lib/smart-form/api/api/default.service.mjs +1 -1
- package/esm2020/lib/smart-form/api/api.module.mjs +1 -1
- package/esm2020/lib/smart-form/api/configuration.mjs +1 -1
- package/esm2020/lib/smart-form/api/encoder.mjs +1 -1
- package/esm2020/lib/smart-form/api/index.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/models.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/propertyMapping.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/api/param.mjs +1 -1
- package/esm2020/lib/smart-form/api/variables.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/api/api.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/api/grid.service.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/api.module.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/configuration.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/encoder.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/index.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridRow.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/models.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/param.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/variables.mjs +1 -1
- package/esm2020/lib/smart-ng-client.module.mjs +6 -2
- package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uploadedFile.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewEventHandler.mjs +1 -1
- package/esm2020/lib/view-context/value-api/api/api.mjs +1 -1
- package/esm2020/lib/view-context/value-api/api/value.service.mjs +1 -1
- package/esm2020/lib/view-context/value-api/api.module.mjs +1 -1
- package/esm2020/lib/view-context/value-api/configuration.mjs +1 -1
- package/esm2020/lib/view-context/value-api/encoder.mjs +1 -1
- package/esm2020/lib/view-context/value-api/index.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/genericValue.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/models.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/value.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +1 -1
- package/esm2020/lib/view-context/value-api/param.mjs +1 -1
- package/esm2020/lib/view-context/value-api/variables.mjs +1 -1
- package/esm2020/projects.mjs +2 -1
- package/fesm2015/smartbit4all-ng-client.mjs +792 -78
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +774 -78
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-filter-editor/api/api/filter.service.d.ts +57 -0
- package/lib/smart-filter-editor/api/configuration.d.ts +104 -0
- package/lib/smart-filter-editor/api/encoder.d.ts +11 -0
- package/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.d.ts +16 -0
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderField.d.ts +27 -0
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.d.ts +39 -0
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.d.ts +29 -0
- package/lib/smart-filter-editor/api/model/filterExpressionData.d.ts +29 -0
- package/lib/smart-filter-editor/api/model/filterExpressionDataType.d.ts +19 -0
- package/lib/smart-filter-editor/api/model/filterExpressionField.d.ts +38 -0
- package/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.d.ts +17 -0
- package/lib/smart-filter-editor/api/model/filterExpressionFieldList.d.ts +21 -0
- package/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.d.ts +25 -0
- package/lib/smart-filter-editor/api/model/filterExpressionList.d.ts +18 -0
- package/lib/smart-filter-editor/api/model/filterExpressionOperandData.d.ts +26 -0
- package/lib/smart-filter-editor/api/model/filterExpressionOperation.d.ts +31 -0
- package/lib/smart-filter-editor/api/param.d.ts +37 -0
- package/lib/smart-filter-editor/api/variables.d.ts +8 -0
- package/lib/smart-filter-editor/project.d.ts +3 -0
- package/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.d.ts +17 -0
- package/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component.d.ts +18 -0
- package/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.d.ts +28 -0
- package/lib/smart-filter-editor/smart-filter-editor.model.d.ts +4 -0
- package/lib/smart-filter-editor/smart-filter-editor.module.d.ts +16 -0
- package/lib/smart-filter-editor/smart-filter-editor.service.d.ts +25 -0
- package/lib/smart-filter-editor/smart-filter-params/components/smart-filter-param/smart-filter-param.component.d.ts +13 -0
- package/lib/smart-filter-editor/smart-filter-params/smart-filter-params.component.d.ts +24 -0
- package/lib/smart-ng-client.module.d.ts +3 -2
- package/package.json +1 -1
- package/projects.d.ts +1 -0
- package/smartbit4all-ng-client-3.1.36.tgz +0 -0
- package/src/lib/smart-filter-editor/api/README.md +226 -0
- package/src/lib/smart-form/api/README.md +226 -226
- package/src/lib/smart-grid/api/grid-api/README.md +226 -226
- package/src/lib/view-context/value-api/README.md +226 -226
- package/smartbit4all-ng-client-3.1.35.tgz +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FilterExpressionBuilderUiModel } from '../model/filterExpressionBuilderUiModel';
|
|
4
|
+
import { UiActionRequest } from '../model/uiActionRequest';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FilterService {
|
|
8
|
+
protected httpClient: HttpClient;
|
|
9
|
+
protected basePath: string;
|
|
10
|
+
defaultHeaders: HttpHeaders;
|
|
11
|
+
configuration: Configuration;
|
|
12
|
+
encoder: HttpParameterCodec;
|
|
13
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
|
+
private addToHttpParams;
|
|
15
|
+
private addToHttpParamsRecursive;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @param uuid
|
|
19
|
+
* @param filterIdentifier
|
|
20
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
21
|
+
* @param reportProgress flag to report request and response progress.
|
|
22
|
+
*/
|
|
23
|
+
load(uuid: string, filterIdentifier: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
24
|
+
httpHeaderAccept?: 'application/json';
|
|
25
|
+
context?: HttpContext;
|
|
26
|
+
}): Observable<FilterExpressionBuilderUiModel>;
|
|
27
|
+
load(uuid: string, filterIdentifier: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
28
|
+
httpHeaderAccept?: 'application/json';
|
|
29
|
+
context?: HttpContext;
|
|
30
|
+
}): Observable<HttpResponse<FilterExpressionBuilderUiModel>>;
|
|
31
|
+
load(uuid: string, filterIdentifier: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
32
|
+
httpHeaderAccept?: 'application/json';
|
|
33
|
+
context?: HttpContext;
|
|
34
|
+
}): Observable<HttpEvent<FilterExpressionBuilderUiModel>>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @param uuid
|
|
38
|
+
* @param filterIdentifier
|
|
39
|
+
* @param body
|
|
40
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
41
|
+
* @param reportProgress flag to report request and response progress.
|
|
42
|
+
*/
|
|
43
|
+
performWidgetAction(uuid: string, filterIdentifier: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
44
|
+
httpHeaderAccept?: 'application/json';
|
|
45
|
+
context?: HttpContext;
|
|
46
|
+
}): Observable<FilterExpressionBuilderUiModel>;
|
|
47
|
+
performWidgetAction(uuid: string, filterIdentifier: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
48
|
+
httpHeaderAccept?: 'application/json';
|
|
49
|
+
context?: HttpContext;
|
|
50
|
+
}): Observable<HttpResponse<FilterExpressionBuilderUiModel>>;
|
|
51
|
+
performWidgetAction(uuid: string, filterIdentifier: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
52
|
+
httpHeaderAccept?: 'application/json';
|
|
53
|
+
context?: HttpContext;
|
|
54
|
+
}): Observable<HttpEvent<FilterExpressionBuilderUiModel>>;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterService, [null, { optional: true; }, { optional: true; }]>;
|
|
56
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FilterService>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
+
import { Param } from './param';
|
|
3
|
+
export interface ConfigurationParameters {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
6
|
+
*/
|
|
7
|
+
apiKeys?: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
username?: string;
|
|
11
|
+
password?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
14
|
+
*/
|
|
15
|
+
accessToken?: string | (() => string);
|
|
16
|
+
basePath?: string;
|
|
17
|
+
withCredentials?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Takes care of encoding query- and form-parameters.
|
|
20
|
+
*/
|
|
21
|
+
encoder?: HttpParameterCodec;
|
|
22
|
+
/**
|
|
23
|
+
* Override the default method for encoding path parameters in various
|
|
24
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
25
|
+
* <p>
|
|
26
|
+
* See {@link README.md} for more details
|
|
27
|
+
* </p>
|
|
28
|
+
*/
|
|
29
|
+
encodeParam?: (param: Param) => string;
|
|
30
|
+
/**
|
|
31
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
32
|
+
* document. They should map to the value used for authentication
|
|
33
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
34
|
+
*/
|
|
35
|
+
credentials?: {
|
|
36
|
+
[key: string]: string | (() => string | undefined);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export declare class Configuration {
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
42
|
+
*/
|
|
43
|
+
apiKeys?: {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
};
|
|
46
|
+
username?: string;
|
|
47
|
+
password?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
50
|
+
*/
|
|
51
|
+
accessToken?: string | (() => string);
|
|
52
|
+
basePath?: string;
|
|
53
|
+
withCredentials?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Takes care of encoding query- and form-parameters.
|
|
56
|
+
*/
|
|
57
|
+
encoder?: HttpParameterCodec;
|
|
58
|
+
/**
|
|
59
|
+
* Encoding of various path parameter
|
|
60
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
61
|
+
* <p>
|
|
62
|
+
* See {@link README.md} for more details
|
|
63
|
+
* </p>
|
|
64
|
+
*/
|
|
65
|
+
encodeParam: (param: Param) => string;
|
|
66
|
+
/**
|
|
67
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
68
|
+
* document. They should map to the value used for authentication
|
|
69
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
70
|
+
*/
|
|
71
|
+
credentials: {
|
|
72
|
+
[key: string]: string | (() => string | undefined);
|
|
73
|
+
};
|
|
74
|
+
constructor(configurationParameters?: ConfigurationParameters);
|
|
75
|
+
/**
|
|
76
|
+
* Select the correct content-type to use for a request.
|
|
77
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
78
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
79
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
80
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
81
|
+
*/
|
|
82
|
+
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Select the correct accept content-type to use for a request.
|
|
85
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
86
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
87
|
+
* @param accepts - the array of content types that are available for selection.
|
|
88
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
89
|
+
*/
|
|
90
|
+
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Check if the given MIME is a JSON MIME.
|
|
93
|
+
* JSON MIME examples:
|
|
94
|
+
* application/json
|
|
95
|
+
* application/json; charset=UTF8
|
|
96
|
+
* APPLICATION/JSON
|
|
97
|
+
* application/vnd.company+json
|
|
98
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
99
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
100
|
+
*/
|
|
101
|
+
isJsonMime(mime: string): boolean;
|
|
102
|
+
lookupCredential(key: string): string | undefined;
|
|
103
|
+
private defaultEncodeParam;
|
|
104
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
+
/**
|
|
3
|
+
* Custom HttpParameterCodec
|
|
4
|
+
* Workaround for https://github.com/angular/angular/issues/18261
|
|
5
|
+
*/
|
|
6
|
+
export declare class CustomHttpParameterCodec implements HttpParameterCodec {
|
|
7
|
+
encodeKey(k: string): string;
|
|
8
|
+
encodeValue(v: string): string;
|
|
9
|
+
decodeKey(k: string): string;
|
|
10
|
+
decodeValue(v: string): string;
|
|
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
|
+
export declare type FilterExpressionBoolOperator = 'AND' | 'OR';
|
|
13
|
+
export declare const FilterExpressionBoolOperator: {
|
|
14
|
+
And: FilterExpressionBoolOperator;
|
|
15
|
+
Or: FilterExpressionBoolOperator;
|
|
16
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { FilterExpressionField } from '../../../smart-filter/api/filter/model/filterExpressionField';
|
|
13
|
+
/**
|
|
14
|
+
* The available filter fields contains the pre setup filter field as a template. It can be easily copied and added to the filter field list.
|
|
15
|
+
*/
|
|
16
|
+
export interface FilterExpressionBuilderField {
|
|
17
|
+
label?: string;
|
|
18
|
+
fieldTemplate?: FilterExpressionField;
|
|
19
|
+
/**
|
|
20
|
+
* If less or equal zero then there is no limit how many time we can use the given filter. Else it is the limit where the typical value is 1 becase we can use the given filter field only once.
|
|
21
|
+
*/
|
|
22
|
+
limitOfUsage?: number;
|
|
23
|
+
/**
|
|
24
|
+
* The unique identifiers of fields initiated from this builder field in the workplace.
|
|
25
|
+
*/
|
|
26
|
+
instanceIds?: Array<string>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { FilterExpressionBuilderField } from './filterExpressionBuilderField';
|
|
13
|
+
/**
|
|
14
|
+
* The group is just a UI structure to define a tree structure for the available filter fields. In a group there is an ordered list of filter fields. The group can imply a parenthesis in the xpression or an exist node. Theoreticaly the groups are hierarchical but the pratcticaly it is not. The kind of the group defines what operation is available for the filter fields in the group. DISPLAY: means thet we can choose an available filter field from the group and place it into the field list related with the current group or in any sub list except under an exist. BRACKET: The given groups defines a bracket. If we choose any of the fiels to add to a filter list then this imlicitely create a bracket node. It can not be added under an exist node. EXIST: The same as the BRACKET but with an exist node.
|
|
15
|
+
*/
|
|
16
|
+
export interface FilterExpressionBuilderGroup {
|
|
17
|
+
/**
|
|
18
|
+
* The visual display name fo the group.
|
|
19
|
+
*/
|
|
20
|
+
label?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Defines if the given groups is just a visual sugar to group somehow the available filter fields or it is definetely a bracket or exists.
|
|
23
|
+
*/
|
|
24
|
+
builderGroupKind?: FilterExpressionBuilderGroup.BuilderGroupKindEnum;
|
|
25
|
+
fields?: Array<FilterExpressionBuilderField>;
|
|
26
|
+
/**
|
|
27
|
+
* The unique identifier of the root list in the workplace.
|
|
28
|
+
*/
|
|
29
|
+
rootListId?: string;
|
|
30
|
+
subGroups?: Array<FilterExpressionBuilderGroup>;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace FilterExpressionBuilderGroup {
|
|
33
|
+
type BuilderGroupKindEnum = 'DIPLAY' | 'BRACKET' | 'EXIST';
|
|
34
|
+
const BuilderGroupKindEnum: {
|
|
35
|
+
Diplay: BuilderGroupKindEnum;
|
|
36
|
+
Bracket: BuilderGroupKindEnum;
|
|
37
|
+
Exist: BuilderGroupKindEnum;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 '../../../smart-filter/api/filter/model/filterExpressionBuilderModel';
|
|
13
|
+
import { FilterExpressionField } from '../../../smart-filter/api/filter/model/filterExpressionField';
|
|
14
|
+
import { UiAction } from '../../../view-context/api/model/uiAction';
|
|
15
|
+
import { FilterExpressionFieldEditor } from './filterExpressionFieldEditor';
|
|
16
|
+
import { FilterExpressionFieldList } from './filterExpressionFieldList';
|
|
17
|
+
export interface FilterExpressionBuilderUiModel {
|
|
18
|
+
model?: FilterExpressionBuilderModel;
|
|
19
|
+
selectedField?: FilterExpressionField;
|
|
20
|
+
selectedFieldEditor?: FilterExpressionFieldEditor;
|
|
21
|
+
selectUiAction?: UiAction;
|
|
22
|
+
deselectUiAction?: UiAction;
|
|
23
|
+
possibleActions?: Array<UiAction>;
|
|
24
|
+
showGroups?: boolean;
|
|
25
|
+
filterGroupsAction?: UiAction;
|
|
26
|
+
groupFilter?: FilterExpressionFieldList;
|
|
27
|
+
groupFilterAction?: UiAction;
|
|
28
|
+
viewUuid?: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { FilterExpressionBoolOperator } from './filterExpressionBoolOperator';
|
|
13
|
+
import { FilterExpressionList } from './filterExpressionList';
|
|
14
|
+
import { FilterExpressionOperation } from './filterExpressionOperation';
|
|
15
|
+
import { FilterExpressionOperandData } from './filterExpressionOperandData';
|
|
16
|
+
/**
|
|
17
|
+
* The expression data is the decriptor of an expression stands for an equal, like etc. and also can be a bracket where we have embedded expressions.
|
|
18
|
+
*/
|
|
19
|
+
export interface FilterExpressionData {
|
|
20
|
+
operand1?: FilterExpressionOperandData;
|
|
21
|
+
operand2?: FilterExpressionOperandData;
|
|
22
|
+
operand3?: FilterExpressionOperandData;
|
|
23
|
+
currentOperation?: FilterExpressionOperation;
|
|
24
|
+
modifier?: string;
|
|
25
|
+
boolOperator?: FilterExpressionBoolOperator;
|
|
26
|
+
subExpression?: FilterExpressionList;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace FilterExpressionData {
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export declare type FilterExpressionDataType = 'STRING' | 'NUMBER' | 'DATE' | 'DATE_TIME' | 'BOOLEAN';
|
|
13
|
+
export declare const FilterExpressionDataType: {
|
|
14
|
+
String: FilterExpressionDataType;
|
|
15
|
+
Number: FilterExpressionDataType;
|
|
16
|
+
Date: FilterExpressionDataType;
|
|
17
|
+
DateTime: FilterExpressionDataType;
|
|
18
|
+
Boolean: FilterExpressionDataType;
|
|
19
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { FilterExpressionDataType } from './filterExpressionDataType';
|
|
13
|
+
import { FilterExpressionFieldWidgetType } from './filterExpressionFieldWidgetType';
|
|
14
|
+
import { FilterExpressionData } from './filterExpressionData';
|
|
15
|
+
import { FilterExpressionOperation } from './filterExpressionOperation';
|
|
16
|
+
import { FilterExpressionFieldList } from './filterExpressionFieldList';
|
|
17
|
+
import { Value } from '../../../view-context/value-api';
|
|
18
|
+
export interface FilterExpressionField {
|
|
19
|
+
/**
|
|
20
|
+
* The display name of the whole field. Tipically the label of the property we are filtering
|
|
21
|
+
*/
|
|
22
|
+
label?: string;
|
|
23
|
+
/**
|
|
24
|
+
* This identifier is unique inside the model let it be a builder model or a normal model object.
|
|
25
|
+
*/
|
|
26
|
+
id?: string;
|
|
27
|
+
label1: string;
|
|
28
|
+
label2?: string;
|
|
29
|
+
label3?: string;
|
|
30
|
+
icon?: string;
|
|
31
|
+
expressionData?: FilterExpressionData;
|
|
32
|
+
possibleOperations?: Array<FilterExpressionOperation>;
|
|
33
|
+
filterFieldType?: FilterExpressionDataType;
|
|
34
|
+
possibleValues: Array<Value>;
|
|
35
|
+
widgetType?: FilterExpressionFieldWidgetType;
|
|
36
|
+
subFieldList?: FilterExpressionFieldList;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace FilterExpressionField { }
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { SmartLayoutDefinition } from '../../../smart-form/api/model/smartLayoutDefinition';
|
|
13
|
+
import { UiAction } from '../../../view-context/api/model/uiAction';
|
|
14
|
+
export interface FilterExpressionFieldEditor {
|
|
15
|
+
layoutDef?: SmartLayoutDefinition;
|
|
16
|
+
possibleActions?: Array<UiAction>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { FilterExpressionField } from '../../../smart-filter/api/filter/model/filterExpressionField';
|
|
13
|
+
export interface FilterExpressionFieldList {
|
|
14
|
+
/**
|
|
15
|
+
* If the field list is included into builder model then this identifier is unique inside the model.
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
label?: string;
|
|
19
|
+
icon?: string;
|
|
20
|
+
filters: Array<FilterExpressionField>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
export declare type FilterExpressionFieldWidgetType = 'TEXT_FIELD' | 'TEXT_FIELD_CHIPS' | 'TEXT_BOX' | 'SELECT' | 'SELECT_MULTIPLE' | 'DATE' | 'TIME' | 'DATE_TIME' | 'CHECK_BOX' | 'RADIO_BUTTON' | 'RANGE';
|
|
13
|
+
export declare const FilterExpressionFieldWidgetType: {
|
|
14
|
+
TextField: FilterExpressionFieldWidgetType;
|
|
15
|
+
TextFieldChips: FilterExpressionFieldWidgetType;
|
|
16
|
+
TextBox: FilterExpressionFieldWidgetType;
|
|
17
|
+
Select: FilterExpressionFieldWidgetType;
|
|
18
|
+
SelectMultiple: FilterExpressionFieldWidgetType;
|
|
19
|
+
Date: FilterExpressionFieldWidgetType;
|
|
20
|
+
Time: FilterExpressionFieldWidgetType;
|
|
21
|
+
DateTime: FilterExpressionFieldWidgetType;
|
|
22
|
+
CheckBox: FilterExpressionFieldWidgetType;
|
|
23
|
+
RadioButton: FilterExpressionFieldWidgetType;
|
|
24
|
+
Range: FilterExpressionFieldWidgetType;
|
|
25
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { FilterExpressionData } from './filterExpressionData';
|
|
13
|
+
/**
|
|
14
|
+
* The filter expressions can be gathered into a list. In case of a plain filter expression this is the root object of the expression list.
|
|
15
|
+
*/
|
|
16
|
+
export interface FilterExpressionList {
|
|
17
|
+
expressions: Array<FilterExpressionData>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { FilterExpressionDataType } from './filterExpressionDataType';
|
|
13
|
+
/**
|
|
14
|
+
* The value of an expression operand. The type is named and the value itself is string formatted by the definition of the type.
|
|
15
|
+
*/
|
|
16
|
+
export interface FilterExpressionOperandData {
|
|
17
|
+
/**
|
|
18
|
+
* True if the given operand refers to property at the moment. The value as string is a property name.
|
|
19
|
+
*/
|
|
20
|
+
isDataName?: boolean;
|
|
21
|
+
valueAsString?: string;
|
|
22
|
+
selectedValues: Array<string>;
|
|
23
|
+
type?: FilterExpressionDataType;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace FilterExpressionOperandData {
|
|
26
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
export declare type FilterExpressionOperation = 'EXPRESSION' | 'EQUAL' | 'NOT_EQUAL' | 'LESS' | 'LESS_OR_EQUAL' | 'GREATER' | 'GREATER_OR_EQUAL' | 'LIKE' | 'NOT_LIKE' | 'BETWEEN' | 'NOT_BETWEEN' | 'IS_EMPTY' | 'IS_NOT_EMPTY' | 'EXISTS' | 'NOT_EXISTS' | 'IN' | 'NOT_IN';
|
|
13
|
+
export declare const FilterExpressionOperation: {
|
|
14
|
+
Expression: FilterExpressionOperation;
|
|
15
|
+
Equal: FilterExpressionOperation;
|
|
16
|
+
NotEqual: FilterExpressionOperation;
|
|
17
|
+
Less: FilterExpressionOperation;
|
|
18
|
+
LessOrEqual: FilterExpressionOperation;
|
|
19
|
+
Greater: FilterExpressionOperation;
|
|
20
|
+
GreaterOrEqual: FilterExpressionOperation;
|
|
21
|
+
Like: FilterExpressionOperation;
|
|
22
|
+
NotLike: FilterExpressionOperation;
|
|
23
|
+
Between: FilterExpressionOperation;
|
|
24
|
+
NotBetween: FilterExpressionOperation;
|
|
25
|
+
IsEmpty: FilterExpressionOperation;
|
|
26
|
+
IsNotEmpty: FilterExpressionOperation;
|
|
27
|
+
Exists: FilterExpressionOperation;
|
|
28
|
+
NotExists: FilterExpressionOperation;
|
|
29
|
+
In: FilterExpressionOperation;
|
|
30
|
+
NotIn: FilterExpressionOperation;
|
|
31
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Standard parameter styles defined by OpenAPI spec
|
|
3
|
+
*/
|
|
4
|
+
export declare type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
5
|
+
/**
|
|
6
|
+
* The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
|
|
7
|
+
*/
|
|
8
|
+
export declare type ParamStyle = StandardParamStyle | string;
|
|
9
|
+
/**
|
|
10
|
+
* Standard parameter locations defined by OpenAPI spec
|
|
11
|
+
*/
|
|
12
|
+
export declare type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
13
|
+
/**
|
|
14
|
+
* Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
15
|
+
*/
|
|
16
|
+
export declare type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
|
|
17
|
+
/**
|
|
18
|
+
* Standard {@link DataType}s plus your own types/classes.
|
|
19
|
+
*/
|
|
20
|
+
export declare type DataType = StandardDataType | string;
|
|
21
|
+
/**
|
|
22
|
+
* Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
23
|
+
*/
|
|
24
|
+
export declare type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
|
|
25
|
+
export declare type DataFormat = StandardDataFormat | string;
|
|
26
|
+
/**
|
|
27
|
+
* The parameter to encode.
|
|
28
|
+
*/
|
|
29
|
+
export interface Param {
|
|
30
|
+
name: string;
|
|
31
|
+
value: unknown;
|
|
32
|
+
in: ParamLocation;
|
|
33
|
+
style: ParamStyle;
|
|
34
|
+
explode: boolean;
|
|
35
|
+
dataType: DataType;
|
|
36
|
+
dataFormat: DataFormat | undefined;
|
|
37
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SmartFilterEditorService } from '../../../smart-filter-editor.service';
|
|
3
|
+
import { FilterExpressionField } from '../../../api/model/filterExpressionField';
|
|
4
|
+
import { FilterExpressionBoolOperator } from '../../../api/model/filterExpressionBoolOperator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SmartFilterExpressionItemComponent implements OnInit {
|
|
7
|
+
private service;
|
|
8
|
+
item: FilterExpressionField;
|
|
9
|
+
hasNext: boolean;
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
constructor(service: SmartFilterEditorService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
setOperatorTo(event: any, operationType: FilterExpressionBoolOperator): void;
|
|
14
|
+
select(event: any, item: FilterExpressionField): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterExpressionItemComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartFilterExpressionItemComponent, "app-expression-item", never, { "item": "item"; "hasNext": "hasNext"; }, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { SmartFilterEditorService } from '../../../smart-filter-editor.service';
|
|
3
|
+
import { FilterExpressionField } from '../../../api/model/filterExpressionField';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SmartFilterExpressionItemsComponent implements OnDestroy, OnInit, OnChanges {
|
|
6
|
+
private service;
|
|
7
|
+
private _destroy$;
|
|
8
|
+
items: FilterExpressionField[];
|
|
9
|
+
isSelected: boolean;
|
|
10
|
+
constructor(service: SmartFilterEditorService);
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
select(): void;
|
|
15
|
+
drop(event: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterExpressionItemsComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartFilterExpressionItemsComponent, "app-expression-items", never, { "items": "items"; }, {}, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { SmartFilterEditorService } from '../smart-filter-editor.service';
|
|
3
|
+
import { SmartformComponent } from '../../smart-form/smartform.component';
|
|
4
|
+
import { SmartformLayoutDefinitionService } from '../../smart-form/services/smartform.layout-definition.service';
|
|
5
|
+
import { UiAction } from '../../view-context/api/model/uiAction';
|
|
6
|
+
import { UiActionModel } from '../../view-context/smart-ui-action/ui-action.model';
|
|
7
|
+
import { SmartForm } from '../../smart-form/smartform.model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SmartFilterEditorContentComponent implements OnInit, OnDestroy {
|
|
10
|
+
private layoutService;
|
|
11
|
+
private _destroy$;
|
|
12
|
+
service: SmartFilterEditorService;
|
|
13
|
+
uiActionModels: UiActionModel[];
|
|
14
|
+
expressionUiActionModels: UiActionModel[];
|
|
15
|
+
formChild?: SmartformComponent;
|
|
16
|
+
smartForm?: SmartForm;
|
|
17
|
+
constructor(layoutService: SmartformLayoutDefinitionService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
setUp(): void;
|
|
21
|
+
constructUiActionModels(): void;
|
|
22
|
+
constructForm(): void;
|
|
23
|
+
save(): void;
|
|
24
|
+
remove(): void;
|
|
25
|
+
getFilteredUiActionModels(filterPredicate: (uiAction: UiAction) => boolean): UiActionModel[];
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterEditorContentComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartFilterEditorContentComponent, "smart-filter-expression-editor", never, { "service": "service"; }, {}, never, never>;
|
|
28
|
+
}
|