@smartbit4all/ng-client 3.2.48 → 3.3.0
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/session/api/api/session.service.mjs +1 -1
- package/esm2020/lib/session/api/configuration.mjs +2 -2
- package/esm2020/lib/session/api/encoder.mjs +1 -1
- package/esm2020/lib/session/api/model/accountInfo.mjs +1 -1
- package/esm2020/lib/session/api/model/apiError.mjs +1 -1
- package/esm2020/lib/session/api/model/authenticationProviderData.mjs +1 -1
- package/esm2020/lib/session/api/model/getAuthenticationProvidersResponse.mjs +1 -1
- package/esm2020/lib/session/api/model/models.mjs +1 -1
- package/esm2020/lib/session/api/model/refreshSessionRequest.mjs +1 -1
- package/esm2020/lib/session/api/model/session.mjs +1 -1
- package/esm2020/lib/session/api/model/sessionInfoData.mjs +1 -1
- package/esm2020/lib/session/api/model/userActivityLog.mjs +1 -1
- package/esm2020/lib/session/api/param.mjs +1 -1
- package/esm2020/lib/session/api/variables.mjs +1 -1
- package/esm2020/lib/smart-client/smart-component-api-client.mjs +29 -4
- package/esm2020/lib/smart-component-layout/api/api/api.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/api/default.service.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/api.module.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/configuration.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/encoder.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/index.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/model/componentType.mjs +7 -6
- package/esm2020/lib/smart-component-layout/api/model/componentWidgetType.mjs +7 -6
- package/esm2020/lib/smart-component-layout/api/model/layoutDirection.mjs +6 -5
- package/esm2020/lib/smart-component-layout/api/model/models.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/param.mjs +1 -1
- package/esm2020/lib/smart-component-layout/api/variables.mjs +1 -1
- package/esm2020/lib/smart-component-layout/smart-component-layout.component.mjs +8 -8
- package/esm2020/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/configuration.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/encoder.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +6 -5
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +8 -9
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +7 -8
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +9 -8
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +15 -14
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +21 -20
- package/esm2020/lib/smart-filter-editor/api/param.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/variables.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.mjs +5 -3
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +7 -7
- package/esm2020/lib/smart-form/api/model/models.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/selectionDefinition.mjs +7 -8
- package/esm2020/lib/smart-form/api/model/smartFormWidgetDirection.mjs +6 -5
- package/esm2020/lib/smart-form/api/model/smartFormWidgetType.mjs +2 -2
- package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartWidgetHint.mjs +7 -8
- package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +2 -1
- package/esm2020/lib/smart-form/services/smartform.service.mjs +4 -4
- package/esm2020/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.mjs +5 -5
- package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +5 -5
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +6 -5
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +9 -10
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +7 -6
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +6 -5
- package/esm2020/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +8 -9
- package/esm2020/lib/smart-grid/smart-grid.component.mjs +7 -7
- package/esm2020/lib/view-context/api/model/closeResult.mjs +7 -6
- package/esm2020/lib/view-context/api/model/componentModel.mjs +1 -1
- package/esm2020/lib/view-context/api/model/dataChange.mjs +1 -1
- package/esm2020/lib/view-context/api/model/dataChangeEvent.mjs +1 -1
- package/esm2020/lib/view-context/api/model/dataChangeKind.mjs +10 -6
- package/esm2020/lib/view-context/api/model/iconPosition.mjs +20 -0
- package/esm2020/lib/view-context/api/model/imageResource.mjs +8 -9
- package/esm2020/lib/view-context/api/model/link.mjs +9 -10
- package/esm2020/lib/view-context/api/model/messageData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageOption.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageOptionType.mjs +7 -6
- package/esm2020/lib/view-context/api/model/messageType.mjs +8 -7
- package/esm2020/lib/view-context/api/model/models.mjs +3 -2
- package/esm2020/lib/view-context/api/model/style.mjs +13 -0
- package/esm2020/lib/view-context/api/model/uiAction.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +16 -12
- package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +9 -5
- package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +10 -9
- package/esm2020/lib/view-context/api/model/uiActionTooltip.mjs +11 -12
- package/esm2020/lib/view-context/api/model/view.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewEventHandler.mjs +7 -9
- package/esm2020/lib/view-context/api/model/viewState.mjs +11 -10
- package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewType.mjs +7 -6
- package/esm2020/lib/view-context/message-dialog/message-dialog.component.mjs +17 -17
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +2 -2
- package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +15 -15
- package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +5 -5
- package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +12 -12
- package/esm2020/lib/view-context/smart-view-context.service.mjs +13 -13
- package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +13 -12
- package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +8 -7
- package/fesm2015/smartbit4all-ng-client.mjs +321 -258
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +332 -258
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +5 -2
- package/lib/smart-component-layout/api/model/componentType.d.ts +5 -6
- package/lib/smart-component-layout/api/model/componentWidgetType.d.ts +5 -6
- package/lib/smart-component-layout/api/model/layoutDirection.d.ts +4 -5
- package/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.d.ts +1 -2
- package/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.d.ts +2 -2
- package/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.d.ts +4 -5
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.d.ts +5 -8
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.d.ts +4 -7
- package/lib/smart-filter-editor/api/model/filterExpressionData.d.ts +0 -2
- package/lib/smart-filter-editor/api/model/filterExpressionDataType.d.ts +7 -8
- package/lib/smart-filter-editor/api/model/filterExpressionField.d.ts +0 -2
- package/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.d.ts +13 -14
- package/lib/smart-filter-editor/api/model/filterExpressionOperandData.d.ts +0 -2
- package/lib/smart-filter-editor/api/model/filterExpressionOperation.d.ts +19 -20
- package/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.d.ts +1 -0
- package/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.d.ts +2 -5
- package/lib/smart-form/api/model/selectionDefinition.d.ts +4 -7
- package/lib/smart-form/api/model/smartFormWidgetDirection.d.ts +4 -5
- package/lib/smart-form/api/model/smartFormWidgetType.d.ts +2 -2
- package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +5 -2
- package/lib/smart-form/api/model/smartWidgetHint.d.ts +4 -7
- package/lib/smart-form/smartform.component.d.ts +1 -4
- package/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.d.ts +2 -5
- package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +2 -5
- package/lib/smart-grid/api/grid-api/model/gridColumnContentType.d.ts +4 -5
- package/lib/smart-grid/api/grid-api/model/gridColumnMeta.d.ts +0 -2
- package/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.d.ts +6 -9
- package/lib/smart-grid/api/grid-api/model/gridSelectionMode.d.ts +5 -6
- package/lib/smart-grid/api/grid-api/model/gridSelectionType.d.ts +4 -5
- package/lib/smart-grid/api/grid-api/model/gridViewDescriptor.d.ts +5 -8
- package/lib/view-context/api/model/closeResult.d.ts +5 -6
- package/lib/view-context/api/model/componentModel.d.ts +2 -0
- package/lib/view-context/api/model/dataChange.d.ts +0 -2
- package/lib/view-context/api/model/dataChangeEvent.d.ts +0 -2
- package/lib/view-context/api/model/dataChangeKind.d.ts +5 -6
- package/lib/view-context/api/model/{uiActionButtonIconPos.d.ts → iconPosition.d.ts} +4 -5
- package/lib/view-context/api/model/imageResource.d.ts +5 -8
- package/lib/view-context/api/model/link.d.ts +6 -9
- package/lib/view-context/api/model/messageData.d.ts +0 -2
- package/lib/view-context/api/model/messageOption.d.ts +0 -2
- package/lib/view-context/api/model/messageOptionType.d.ts +5 -6
- package/lib/view-context/api/model/messageType.d.ts +6 -7
- package/lib/view-context/api/model/models.d.ts +2 -1
- package/lib/view-context/api/model/style.d.ts +21 -0
- package/lib/view-context/api/model/uiAction.d.ts +0 -2
- package/lib/view-context/api/model/uiActionButtonType.d.ts +11 -12
- package/lib/view-context/api/model/uiActionDescriptor.d.ts +2 -4
- package/lib/view-context/api/model/uiActionFeedbackType.d.ts +4 -5
- package/lib/view-context/api/model/uiActionInputType.d.ts +8 -9
- package/lib/view-context/api/model/uiActionTooltip.d.ts +8 -11
- package/lib/view-context/api/model/view.d.ts +2 -2
- package/lib/view-context/api/model/viewData.d.ts +0 -2
- package/lib/view-context/api/model/viewEventHandler.d.ts +9 -9
- package/lib/view-context/api/model/viewState.d.ts +9 -10
- package/lib/view-context/api/model/viewStateUpdate.d.ts +0 -2
- package/lib/view-context/api/model/viewType.d.ts +5 -6
- package/lib/view-context/message-dialog/message-dialog.component.d.ts +3 -3
- package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +3 -4
- package/lib/view-context/value-api/model/valueSetData.d.ts +1 -1
- package/lib/view-context/value-api/model/valueSetDefinitionData.d.ts +0 -2
- package/lib/view-context/value-api/model/valueSetDefinitionKind.d.ts +11 -12
- package/lib/view-context/value-api/model/valueSetExpression.d.ts +0 -2
- package/lib/view-context/value-api/model/valueSetOperation.d.ts +6 -7
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.0.tgz +0 -0
- package/src/lib/session/api/README.md +226 -226
- package/src/lib/smart-component-layout/api/README.md +226 -226
- package/src/lib/smart-filter-editor/api/README.md +226 -226
- package/esm2020/lib/view-context/api/model/uiActionButtonIconPos.mjs +0 -16
- package/smartbit4all-ng-client-3.2.48.tgz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injector, QueryList } from '@angular/core';
|
|
1
|
+
import { ElementRef, Injector, QueryList, Renderer2 } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
4
4
|
import { ComponentModel, ExecuteUiActionOptions, SmartTranslateService, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction2 } from '../view-context/projects';
|
|
@@ -12,6 +12,8 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
12
12
|
protected auth: SmartAuthenticationServiceInterface;
|
|
13
13
|
protected pageName?: string | undefined;
|
|
14
14
|
protected _componentName?: string | undefined;
|
|
15
|
+
protected element?: ElementRef<any> | undefined;
|
|
16
|
+
protected renderer?: Renderer2 | undefined;
|
|
15
17
|
protected _destroy$: Subject<void>;
|
|
16
18
|
private detectChange;
|
|
17
19
|
private _uuid?;
|
|
@@ -37,7 +39,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
37
39
|
widgets: WidgetMap<SmartGridComponent | SmarttreeGenericService | undefined>;
|
|
38
40
|
formWidgets: WidgetMap<SmartformComponent | undefined>;
|
|
39
41
|
useQueryLists: boolean;
|
|
40
|
-
constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName?: string | undefined, _componentName?: string | undefined);
|
|
42
|
+
constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName?: string | undefined, _componentName?: string | undefined, element?: ElementRef<any> | undefined, renderer?: Renderer2 | undefined);
|
|
41
43
|
_ngOnInit(): void;
|
|
42
44
|
_ngOnDestroy(): void;
|
|
43
45
|
_ngAfterViewInit(): void;
|
|
@@ -49,6 +51,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
49
51
|
protected abstract getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
|
|
50
52
|
protected getWidgets(): WidgetMap<SmartGridComponent | SmarttreeGenericService | SmartFilterEditorService | undefined>;
|
|
51
53
|
initComponentByModel(): void;
|
|
54
|
+
protected initStyle(): void;
|
|
52
55
|
protected getAllSmartFormComponents(): SmartformComponent[];
|
|
53
56
|
protected getAllSmartGridComponents(): SmartGridComponent[];
|
|
54
57
|
protected getAllSmartTreeComponents(): SmarttreeGenericService[];
|
|
@@ -9,9 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
12
|
+
export declare enum ComponentType {
|
|
13
|
+
CONTAINER = "container",
|
|
14
|
+
FORM = "form",
|
|
15
|
+
WIDGET = "widget"
|
|
16
|
+
}
|
|
@@ -9,9 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
12
|
+
export declare enum ComponentWidgetType {
|
|
13
|
+
GRID = "grid",
|
|
14
|
+
FILTER = "filter",
|
|
15
|
+
TREE = "tree"
|
|
16
|
+
}
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
12
|
+
export declare enum LayoutDirection {
|
|
13
|
+
HORIZONTAL = "horizontal",
|
|
14
|
+
VERTICAL = "vertical"
|
|
15
|
+
}
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { SmartWidgetDefinition } from '../../../smart-form/projects';
|
|
13
12
|
import { ComponentType } from './componentType';
|
|
14
13
|
import { LayoutDirection } from './layoutDirection';
|
|
15
14
|
import { SmartComponentWidgetDefinition } from './smartComponentWidgetDefinition';
|
|
15
|
+
import { SmartWidgetDefinition } from '../../../smart-form/projects';
|
|
16
16
|
export interface SmartComponentLayoutDefinition {
|
|
17
17
|
type: ComponentType;
|
|
18
18
|
expandable?: boolean;
|
|
@@ -26,4 +26,3 @@ export interface SmartComponentLayoutDefinition {
|
|
|
26
26
|
widget?: SmartComponentWidgetDefinition;
|
|
27
27
|
form?: Array<SmartWidgetDefinition>;
|
|
28
28
|
}
|
|
29
|
-
export declare namespace SmartComponentLayoutDefinition { }
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { FilterExpressionFieldList, SmartFilterType } from '../../../smart-filter/projects';
|
|
13
12
|
import { ComponentWidgetType } from './componentWidgetType';
|
|
13
|
+
import { FilterExpressionFieldList } from '../../../smart-filter/projects';
|
|
14
|
+
import { SmartFilterType } from '../../../smart-filter/projects';
|
|
14
15
|
export interface SmartComponentWidgetDefinition {
|
|
15
16
|
type: ComponentWidgetType;
|
|
16
17
|
gridIdentifier?: string;
|
|
@@ -18,4 +19,3 @@ export interface SmartComponentWidgetDefinition {
|
|
|
18
19
|
filterExpressionFieldList?: FilterExpressionFieldList;
|
|
19
20
|
filterType?: SmartFilterType;
|
|
20
21
|
}
|
|
21
|
-
export declare namespace SmartComponentWidgetDefinition { }
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
12
|
+
export declare enum FilterExpressionBoolOperator {
|
|
13
|
+
AND = "AND",
|
|
14
|
+
OR = "OR"
|
|
15
|
+
}
|
|
@@ -21,7 +21,7 @@ export interface FilterExpressionBuilderGroup {
|
|
|
21
21
|
/**
|
|
22
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
23
|
*/
|
|
24
|
-
builderGroupKind?:
|
|
24
|
+
builderGroupKind?: FilterExpressionBuilderGroupBuilderGroupKindEnum;
|
|
25
25
|
fields?: Array<FilterExpressionBuilderField>;
|
|
26
26
|
/**
|
|
27
27
|
* The unique identifier of the root list in the workplace.
|
|
@@ -29,11 +29,8 @@ export interface FilterExpressionBuilderGroup {
|
|
|
29
29
|
rootListId?: string;
|
|
30
30
|
subGroups?: Array<FilterExpressionBuilderGroup>;
|
|
31
31
|
}
|
|
32
|
-
export declare
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
Bracket: BuilderGroupKindEnum;
|
|
37
|
-
Exist: BuilderGroupKindEnum;
|
|
38
|
-
};
|
|
32
|
+
export declare enum FilterExpressionBuilderGroupBuilderGroupKindEnum {
|
|
33
|
+
DIPLAY = "DIPLAY",
|
|
34
|
+
BRACKET = "BRACKET",
|
|
35
|
+
EXIST = "EXIST"
|
|
39
36
|
}
|
|
@@ -30,12 +30,9 @@ export interface FilterExpressionBuilderUiModel {
|
|
|
30
30
|
groupFilterAction?: UiAction;
|
|
31
31
|
viewUuid?: string;
|
|
32
32
|
config?: FilterExpressionBuilderApiConfig;
|
|
33
|
-
type?:
|
|
33
|
+
type?: FilterExpressionBuilderUiModelTypeEnum;
|
|
34
34
|
}
|
|
35
|
-
export declare
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
Simple: TypeEnum;
|
|
39
|
-
Complex: TypeEnum;
|
|
40
|
-
};
|
|
35
|
+
export declare enum FilterExpressionBuilderUiModelTypeEnum {
|
|
36
|
+
SIMPLE = "SIMPLE",
|
|
37
|
+
COMPLEX = "COMPLEX"
|
|
41
38
|
}
|
|
@@ -9,11 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
12
|
+
export declare enum FilterExpressionDataType {
|
|
13
|
+
STRING = "STRING",
|
|
14
|
+
NUMBER = "NUMBER",
|
|
15
|
+
DATE = "DATE",
|
|
16
|
+
DATE_TIME = "DATE_TIME",
|
|
17
|
+
BOOLEAN = "BOOLEAN"
|
|
18
|
+
}
|
|
@@ -9,17 +9,16 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
12
|
+
export declare enum FilterExpressionFieldWidgetType {
|
|
13
|
+
TEXT_FIELD = "TEXT_FIELD",
|
|
14
|
+
TEXT_FIELD_CHIPS = "TEXT_FIELD_CHIPS",
|
|
15
|
+
TEXT_BOX = "TEXT_BOX",
|
|
16
|
+
SELECT = "SELECT",
|
|
17
|
+
SELECT_MULTIPLE = "SELECT_MULTIPLE",
|
|
18
|
+
DATE = "DATE",
|
|
19
|
+
TIME = "TIME",
|
|
20
|
+
DATE_TIME = "DATE_TIME",
|
|
21
|
+
CHECK_BOX = "CHECK_BOX",
|
|
22
|
+
RADIO_BUTTON = "RADIO_BUTTON",
|
|
23
|
+
RANGE = "RANGE"
|
|
24
|
+
}
|
|
@@ -9,23 +9,22 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
12
|
+
export declare enum FilterExpressionOperation {
|
|
13
|
+
EXPRESSION = "EXPRESSION",
|
|
14
|
+
EQUAL = "EQUAL",
|
|
15
|
+
NOT_EQUAL = "NOT_EQUAL",
|
|
16
|
+
LESS = "LESS",
|
|
17
|
+
LESS_OR_EQUAL = "LESS_OR_EQUAL",
|
|
18
|
+
GREATER = "GREATER",
|
|
19
|
+
GREATER_OR_EQUAL = "GREATER_OR_EQUAL",
|
|
20
|
+
LIKE = "LIKE",
|
|
21
|
+
NOT_LIKE = "NOT_LIKE",
|
|
22
|
+
BETWEEN = "BETWEEN",
|
|
23
|
+
NOT_BETWEEN = "NOT_BETWEEN",
|
|
24
|
+
IS_EMPTY = "IS_EMPTY",
|
|
25
|
+
IS_NOT_EMPTY = "IS_NOT_EMPTY",
|
|
26
|
+
EXISTS = "EXISTS",
|
|
27
|
+
NOT_EXISTS = "NOT_EXISTS",
|
|
28
|
+
IN = "IN",
|
|
29
|
+
NOT_IN = "NOT_IN"
|
|
30
|
+
}
|
|
@@ -8,6 +8,7 @@ export declare class SmartFilterExpressionItemComponent implements OnInit {
|
|
|
8
8
|
hasNext: boolean;
|
|
9
9
|
service: ISmartFilterEditorService;
|
|
10
10
|
isSelected: boolean;
|
|
11
|
+
boolOperatorType: typeof FilterExpressionBoolOperator;
|
|
11
12
|
constructor();
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
setOperatorTo(event: any, operationType: FilterExpressionBoolOperator): void;
|
|
@@ -3,7 +3,7 @@ import { SmartformLayoutDefinitionService } from '../../smart-form/services/smar
|
|
|
3
3
|
import { SmartformComponent } from '../../smart-form/smartform.component';
|
|
4
4
|
import { SmartForm } from '../../smart-form/smartform.model';
|
|
5
5
|
import { UiActionModel } from '../../view-context/smart-ui-action/ui-action.model';
|
|
6
|
-
import {
|
|
6
|
+
import { FilterExpressionBuilderUiModelTypeEnum } from '../api/model/filterExpressionBuilderUiModel';
|
|
7
7
|
import { ISmartFilterEditorService } from '../smart-filter-editor.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SmartFilterEditorContentComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
@@ -16,10 +16,7 @@ export declare class SmartFilterEditorContentComponent implements OnInit, OnDest
|
|
|
16
16
|
smartForm?: SmartForm;
|
|
17
17
|
simpleFilterFormChildren?: QueryList<SmartformComponent>;
|
|
18
18
|
simpleFilterForm?: SmartForm;
|
|
19
|
-
type:
|
|
20
|
-
Simple: FilterExpressionBuilderUiModel.TypeEnum;
|
|
21
|
-
Complex: FilterExpressionBuilderUiModel.TypeEnum;
|
|
22
|
-
};
|
|
19
|
+
type: typeof FilterExpressionBuilderUiModelTypeEnum;
|
|
23
20
|
constructor(layoutService: SmartformLayoutDefinitionService);
|
|
24
21
|
ngAfterViewInit(): void;
|
|
25
22
|
private subsrcibeSimpleFormChildrenEvents;
|
|
@@ -21,7 +21,7 @@ export interface SelectionDefinition {
|
|
|
21
21
|
/**
|
|
22
22
|
* Defines how the selection should work: for properties or the whole selected Object.
|
|
23
23
|
*/
|
|
24
|
-
type:
|
|
24
|
+
type: SelectionDefinitionTypeEnum;
|
|
25
25
|
/**
|
|
26
26
|
* Specifies which property from ValueSetData.values as Object should be used in selection widget.
|
|
27
27
|
*/
|
|
@@ -35,10 +35,7 @@ export interface SelectionDefinition {
|
|
|
35
35
|
*/
|
|
36
36
|
emptyLabel?: string;
|
|
37
37
|
}
|
|
38
|
-
export declare
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
Property: TypeEnum;
|
|
42
|
-
Object: TypeEnum;
|
|
43
|
-
};
|
|
38
|
+
export declare enum SelectionDefinitionTypeEnum {
|
|
39
|
+
PROPERTY = "PROPERTY",
|
|
40
|
+
OBJECT = "OBJECT"
|
|
44
41
|
}
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
12
|
+
export declare enum SmartFormWidgetDirection {
|
|
13
|
+
COL = "COL",
|
|
14
|
+
ROW = "ROW"
|
|
15
|
+
}
|
|
@@ -37,6 +37,6 @@ export declare enum SmartFormWidgetType {
|
|
|
37
37
|
RICH_TEXT = "RICH_TEXT",
|
|
38
38
|
SORTABLE = "SORTABLE",
|
|
39
39
|
MATRIX = "MATRIX",
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
MONTH_PICKER = "MONTH_PICKER",
|
|
41
|
+
YOUTUBE_PLAYER = "YOUTUBE_PLAYER"
|
|
42
42
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { SelectionDefinition } from './selectionDefinition';
|
|
13
|
+
import { IconPosition } from '../../../view-context/api/model/iconPosition';
|
|
13
14
|
import { SmartFormWidgetDirection } from './smartFormWidgetDirection';
|
|
14
15
|
import { SmartWidgetHint } from './smartWidgetHint';
|
|
15
16
|
import { SmartFormWidgetType } from './smartFormWidgetType';
|
|
@@ -52,6 +53,10 @@ export interface SmartWidgetDefinition {
|
|
|
52
53
|
* Material theme class of the icon
|
|
53
54
|
*/
|
|
54
55
|
iconColor?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Position of the icon (pre/post)
|
|
58
|
+
*/
|
|
59
|
+
iconPosition?: IconPosition;
|
|
55
60
|
/**
|
|
56
61
|
* Defines if the label appears above the widget or not
|
|
57
62
|
*/
|
|
@@ -76,5 +81,3 @@ export interface SmartWidgetDefinition {
|
|
|
76
81
|
hint?: SmartWidgetHint;
|
|
77
82
|
widgetDescription?: string;
|
|
78
83
|
}
|
|
79
|
-
export declare namespace SmartWidgetDefinition {
|
|
80
|
-
}
|
|
@@ -11,12 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export interface SmartWidgetHint {
|
|
13
13
|
text?: string;
|
|
14
|
-
position?:
|
|
14
|
+
position?: SmartWidgetHintPositionEnum;
|
|
15
15
|
}
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Label: PositionEnum;
|
|
20
|
-
Input: PositionEnum;
|
|
21
|
-
};
|
|
16
|
+
export declare enum SmartWidgetHintPositionEnum {
|
|
17
|
+
LABEL = "UNDER_LABEL",
|
|
18
|
+
INPUT = "UNDER_INPUT"
|
|
22
19
|
}
|
|
@@ -15,10 +15,7 @@ export declare class SmartformComponent implements OnInit, OnDestroy, OnChanges
|
|
|
15
15
|
originalWidgets: SmartFormWidget<any>[];
|
|
16
16
|
sophisticatedValueChange: Subject<SophisticatedValueChange>;
|
|
17
17
|
form: FormGroup;
|
|
18
|
-
direction:
|
|
19
|
-
COL: SmartFormWidgetDirection;
|
|
20
|
-
ROW: SmartFormWidgetDirection;
|
|
21
|
-
};
|
|
18
|
+
direction: typeof SmartFormWidgetDirection;
|
|
22
19
|
constructor(service: SmartFormService);
|
|
23
20
|
ngOnChanges(changes: SimpleChanges): void;
|
|
24
21
|
ngOnInit(): void;
|
package/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { FormControl } from '@angular/forms';
|
|
|
3
3
|
import { Moment } from 'moment';
|
|
4
4
|
import { SmartMonthPicker } from '../../../smartform.form-model';
|
|
5
5
|
import { MatDatepicker } from '@angular/material/datepicker';
|
|
6
|
-
import {
|
|
6
|
+
import { SmartWidgetHintPositionEnum } from '../../../api';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const YEARH_MONTH_FORMAT: {
|
|
9
9
|
parse: {
|
|
@@ -20,10 +20,7 @@ export declare class SmartMonthPickerComponent implements OnInit {
|
|
|
20
20
|
widgetInstance: SmartMonthPicker;
|
|
21
21
|
valueChange: EventEmitter<any>;
|
|
22
22
|
date: FormControl;
|
|
23
|
-
SmartWidgetHintPosition:
|
|
24
|
-
Label: SmartWidgetHint.PositionEnum;
|
|
25
|
-
Input: SmartWidgetHint.PositionEnum;
|
|
26
|
-
};
|
|
23
|
+
SmartWidgetHintPosition: typeof SmartWidgetHintPositionEnum;
|
|
27
24
|
ngOnInit(): void;
|
|
28
25
|
chosenMonthHandler(moment: Moment, datepicker: MatDatepicker<Moment>): void;
|
|
29
26
|
handleChange(event: any): void;
|
|
@@ -4,7 +4,7 @@ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
|
4
4
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
5
5
|
import { Observable, Subject } from 'rxjs';
|
|
6
6
|
import { ComponentFactoryService } from '../../../component-factory-service/projects';
|
|
7
|
-
import { SmartFormWidgetType,
|
|
7
|
+
import { SmartFormWidgetType, SmartWidgetHintPositionEnum } from '../../api/model/models';
|
|
8
8
|
import { SmartFormService } from '../../services/smartform.service';
|
|
9
9
|
import { SmartButton, SmartFormWidget, SmartItem } from '../../smartform.form-model';
|
|
10
10
|
import { SmartFormTextFieldButtonIconPosition, SmartValidator, SophisticatedValueChange, Value } from '../../smartform.model';
|
|
@@ -35,10 +35,7 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
35
35
|
filteredOptions?: Observable<SmartItem<any>[]>;
|
|
36
36
|
isEnterPressed: boolean;
|
|
37
37
|
isDatePickerRequired: boolean;
|
|
38
|
-
SmartWidgetHintPosition:
|
|
39
|
-
Label: SmartWidgetHint.PositionEnum;
|
|
40
|
-
Input: SmartWidgetHint.PositionEnum;
|
|
41
|
-
};
|
|
38
|
+
SmartWidgetHintPosition: typeof SmartWidgetHintPositionEnum;
|
|
42
39
|
constructor(service: SmartFormService, cfService: ComponentFactoryService);
|
|
43
40
|
ngOnInit(): void;
|
|
44
41
|
parseYoutubeUrl(url: string): string | false;
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
12
|
+
export declare enum GridColumnContentType {
|
|
13
|
+
TEXT = "text",
|
|
14
|
+
HTML = "html"
|
|
15
|
+
}
|
|
@@ -30,14 +30,11 @@ export interface GridDataAccessConfig {
|
|
|
30
30
|
*/
|
|
31
31
|
parentIdProperty?: string;
|
|
32
32
|
apiClass?: string;
|
|
33
|
-
kind?:
|
|
33
|
+
kind?: GridDataAccessConfigKindEnum;
|
|
34
34
|
}
|
|
35
|
-
export declare
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
Apibased: KindEnum;
|
|
41
|
-
Invocations: KindEnum;
|
|
42
|
-
};
|
|
35
|
+
export declare enum GridDataAccessConfigKindEnum {
|
|
36
|
+
TABLEDATA = "TABLEDATA",
|
|
37
|
+
OBJECTLIST = "OBJECTLIST",
|
|
38
|
+
APIBASED = "APIBASED",
|
|
39
|
+
INVOCATIONS = "INVOCATIONS"
|
|
43
40
|
}
|
|
@@ -9,9 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
12
|
+
export declare enum GridSelectionMode {
|
|
13
|
+
NONE = "none",
|
|
14
|
+
SINGLE = "single",
|
|
15
|
+
MULTIPLE = "multiple"
|
|
16
|
+
}
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
12
|
+
export declare enum GridSelectionType {
|
|
13
|
+
ROW = "row",
|
|
14
|
+
CHECKBOX = "checkbox"
|
|
15
|
+
}
|
|
@@ -18,7 +18,7 @@ import { GridColumnMeta } from './gridColumnMeta';
|
|
|
18
18
|
export interface GridViewDescriptor {
|
|
19
19
|
label?: string;
|
|
20
20
|
icon?: string;
|
|
21
|
-
kind?:
|
|
21
|
+
kind?: GridViewDescriptorKindEnum;
|
|
22
22
|
/**
|
|
23
23
|
* In the table the columns are the columns of the table. In the tree the columns can be used to append the title of a tree node.
|
|
24
24
|
*/
|
|
@@ -30,11 +30,8 @@ export interface GridViewDescriptor {
|
|
|
30
30
|
highlightProperty?: string;
|
|
31
31
|
highlightClass?: string;
|
|
32
32
|
}
|
|
33
|
-
export declare
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Expandablecards1: KindEnum;
|
|
38
|
-
Tree: KindEnum;
|
|
39
|
-
};
|
|
33
|
+
export declare enum GridViewDescriptorKindEnum {
|
|
34
|
+
TABLE = "TABLE",
|
|
35
|
+
EXPANDABLECARDS1 = "EXPANDABLECARDS1",
|
|
36
|
+
TREE = "TREE"
|
|
40
37
|
}
|
|
@@ -9,9 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
12
|
+
export declare enum CloseResult {
|
|
13
|
+
APPROVED = "approved",
|
|
14
|
+
PENDING = "pending",
|
|
15
|
+
REJECTED = "rejected"
|
|
16
|
+
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { SmartLayoutDefinition } from '../../../smart-form/api';
|
|
13
13
|
import { ComponentConstraint } from './componentConstraint';
|
|
14
14
|
import { SmartComponentLayoutDefinition } from '../../../smart-component-layout/api';
|
|
15
|
+
import { Style } from './style';
|
|
15
16
|
import { UiAction } from './uiAction';
|
|
16
17
|
import { ValueSet } from './valueSet';
|
|
17
18
|
/**
|
|
@@ -36,4 +37,5 @@ export interface ComponentModel {
|
|
|
36
37
|
* List of widgets (widgetIds).
|
|
37
38
|
*/
|
|
38
39
|
widgets?: Array<string>;
|
|
40
|
+
style?: Style;
|
|
39
41
|
}
|
|
@@ -12,9 +12,8 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Defines the kind of the source of this event..
|
|
14
14
|
*/
|
|
15
|
-
export declare
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
15
|
+
export declare enum DataChangeKind {
|
|
16
|
+
WIDGET = "WIDGET",
|
|
17
|
+
SELECTION = "SELECTION",
|
|
18
|
+
LOOKUP = "LOOKUP"
|
|
19
|
+
}
|