@smartbit4all/ng-client 3.1.40 → 3.1.42
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 +22 -49
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +13 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -12
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +2 -0
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -12
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -12
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -12
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.mjs +24 -20
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +3 -3
- package/esm2020/lib/smart-filter-editor/smart-filter-params/smart-filter-params.component.mjs +11 -12
- package/fesm2015/smartbit4all-ng-client.mjs +53 -73
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +51 -73
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-filter-editor/api/api/filter.service.d.ts +1 -1
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.d.ts +15 -0
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderField.d.ts +1 -1
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.d.ts +27 -0
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.d.ts +5 -2
- package/lib/smart-filter-editor/api/model/filterExpressionField.d.ts +3 -2
- package/lib/smart-filter-editor/api/model/filterExpressionFieldList.d.ts +1 -1
- package/lib/smart-filter-editor/smart-filter-params/smart-filter-params.component.d.ts +3 -5
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.1.42.tgz +0 -0
- package/smartbit4all-ng-client-3.1.40.tgz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { FilterExpressionBuilderUiModel } from '../model/filterExpressionBuilderUiModel';
|
|
4
|
+
import { UiActionRequest } from '../model/uiActionRequest';
|
|
4
5
|
import { Configuration } from '../configuration';
|
|
5
|
-
import { UiActionRequest } from '../../../view-context/api/model/uiActionRequest';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class FilterService {
|
|
8
8
|
protected httpClient: HttpClient;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 interface FilterExpressionBuilderApiConfig {
|
|
13
|
+
readOnly?: boolean;
|
|
14
|
+
availableActions: Array<string>;
|
|
15
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { FilterExpressionField } from '
|
|
12
|
+
import { FilterExpressionField } from './filterExpressionField';
|
|
13
13
|
/**
|
|
14
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
15
|
*/
|
|
@@ -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 { FilterExpressionBuilderGroup } from './filterExpressionBuilderGroup';
|
|
13
|
+
import { FilterExpressionList } from './filterExpressionList';
|
|
14
|
+
import { FilterExpressionFieldList } from './filterExpressionFieldList';
|
|
15
|
+
/**
|
|
16
|
+
* The filter field model data contains a list of groups that form a tree structure for the available filter fields. It contains the groups of available fields and the workplace root list that conatins the already added filters. On the builder side we refer the unique identifiers of the field lists and fields.
|
|
17
|
+
*/
|
|
18
|
+
export interface FilterExpressionBuilderModel {
|
|
19
|
+
label?: string;
|
|
20
|
+
/**
|
|
21
|
+
* This is the group of filter expressions that can be involved to the workplace. This is a tree structure.
|
|
22
|
+
*/
|
|
23
|
+
groups?: Array<FilterExpressionBuilderGroup>;
|
|
24
|
+
exceptionalGroup?: FilterExpressionBuilderGroup;
|
|
25
|
+
workplaceList?: FilterExpressionFieldList;
|
|
26
|
+
defaultFilters?: FilterExpressionList;
|
|
27
|
+
}
|
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { FilterExpressionBuilderModel } from '
|
|
13
|
-
import {
|
|
12
|
+
import { FilterExpressionBuilderModel } from './filterExpressionBuilderModel';
|
|
13
|
+
import { FilterExpressionBuilderApiConfig } from './filterExpressionBuilderApiConfig';
|
|
14
14
|
import { UiAction } from '../../../view-context/api/model/uiAction';
|
|
15
|
+
import { FilterExpressionField } from './filterExpressionField';
|
|
15
16
|
import { FilterExpressionFieldEditor } from './filterExpressionFieldEditor';
|
|
16
17
|
import { FilterExpressionFieldList } from './filterExpressionFieldList';
|
|
17
18
|
export interface FilterExpressionBuilderUiModel {
|
|
@@ -22,8 +23,10 @@ export interface FilterExpressionBuilderUiModel {
|
|
|
22
23
|
deselectUiAction?: UiAction;
|
|
23
24
|
possibleActions?: Array<UiAction>;
|
|
24
25
|
showGroups?: boolean;
|
|
26
|
+
readOnly?: boolean;
|
|
25
27
|
filterGroupsAction?: UiAction;
|
|
26
28
|
groupFilter?: FilterExpressionFieldList;
|
|
27
29
|
groupFilterAction?: UiAction;
|
|
28
30
|
viewUuid?: string;
|
|
31
|
+
config?: FilterExpressionBuilderApiConfig;
|
|
29
32
|
}
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { FilterExpressionDataType } from './filterExpressionDataType';
|
|
13
13
|
import { FilterExpressionFieldWidgetType } from './filterExpressionFieldWidgetType';
|
|
14
|
+
import { Value } from '../../../view-context/value-api/model/value';
|
|
14
15
|
import { FilterExpressionData } from './filterExpressionData';
|
|
15
16
|
import { FilterExpressionOperation } from './filterExpressionOperation';
|
|
16
17
|
import { FilterExpressionFieldList } from './filterExpressionFieldList';
|
|
17
|
-
import { Value } from '../../../view-context/value-api';
|
|
18
18
|
export interface FilterExpressionField {
|
|
19
19
|
/**
|
|
20
20
|
* The display name of the whole field. Tipically the label of the property we are filtering
|
|
@@ -35,4 +35,5 @@ export interface FilterExpressionField {
|
|
|
35
35
|
widgetType?: FilterExpressionFieldWidgetType;
|
|
36
36
|
subFieldList?: FilterExpressionFieldList;
|
|
37
37
|
}
|
|
38
|
-
export declare namespace FilterExpressionField {
|
|
38
|
+
export declare namespace FilterExpressionField {
|
|
39
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { FilterExpressionField } from '
|
|
12
|
+
import { FilterExpressionField } from './filterExpressionField';
|
|
13
13
|
export interface FilterExpressionFieldList {
|
|
14
14
|
/**
|
|
15
15
|
* If the field list is included into builder model then this identifier is unique inside the model.
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ComponentFactoryService } from '../../component-factory-service/component-factory-service.service';
|
|
3
2
|
import { ExpandableSection } from '../../smart-expandable-section/expandable-section.model';
|
|
4
|
-
import { FilterExpressionBuilderModel } from '
|
|
5
|
-
import { SmartFilterEditorService } from '../smart-filter-editor.service';
|
|
3
|
+
import { FilterExpressionBuilderModel } from '../api/model/filterExpressionBuilderModel';
|
|
6
4
|
import { FilterExpressionBuilderUiModel } from '../api/model/filterExpressionBuilderUiModel';
|
|
5
|
+
import { SmartFilterEditorService } from '../smart-filter-editor.service';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class SmartFilterParamsComponent implements OnDestroy, OnInit {
|
|
9
|
-
private cfService;
|
|
10
8
|
private _destroy$;
|
|
11
9
|
service: SmartFilterEditorService;
|
|
12
10
|
filterBuilder?: FilterExpressionBuilderModel;
|
|
13
11
|
expandableSections?: ExpandableSection<any>[];
|
|
14
12
|
expandableSectionsFromExcel?: ExpandableSection<any>;
|
|
15
13
|
filterVcRef?: ViewContainerRef;
|
|
16
|
-
constructor(
|
|
14
|
+
constructor();
|
|
17
15
|
ngOnInit(): void;
|
|
18
16
|
ngOnDestroy(): void;
|
|
19
17
|
setUp(model: FilterExpressionBuilderUiModel): void;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|