@smartbit4all/ng-client 4.0.90 → 4.0.92
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/session/api/api/session.service.mjs +1 -1
- package/esm2022/lib/session/api/encoder.mjs +1 -1
- package/esm2022/lib/session/api/model/accountInfo.mjs +1 -1
- package/esm2022/lib/session/api/model/apiError.mjs +1 -1
- package/esm2022/lib/session/api/model/authenticationProviderData.mjs +1 -1
- package/esm2022/lib/session/api/model/getAuthenticationProvidersResponse.mjs +1 -1
- package/esm2022/lib/session/api/model/models.mjs +1 -1
- package/esm2022/lib/session/api/model/refreshSessionRequest.mjs +1 -1
- package/esm2022/lib/session/api/model/session.mjs +1 -1
- package/esm2022/lib/session/api/model/userActivityLog.mjs +1 -1
- package/esm2022/lib/session/api/param.mjs +1 -1
- package/esm2022/lib/session/api/variables.mjs +1 -1
- package/esm2022/lib/smart-client/smart-component-api-client.mjs +47 -8
- package/esm2022/lib/smart-component-layout/api/api/api.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/api/default.service.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/api.module.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/configuration.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/encoder.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/index.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/componentType.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/componentWidgetType.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/layoutDirection.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/models.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/param.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/variables.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionField.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +2 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +2 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +46 -11
- package/esm2022/lib/smart-form/api/model/models.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormInputMode.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormWidgetType.mjs +2 -1
- package/esm2022/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/services/smartform.layout-definition.service.mjs +22 -3
- package/esm2022/lib/smart-form/smartform.form-model.mjs +1 -1
- package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +65 -24
- package/esm2022/lib/smart-grid/api/grid-api/api/api.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/api/grid.service.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/api.module.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/configuration.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/encoder.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/index.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridRow.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionChange.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/models.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/param.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/variables.mjs +1 -1
- package/esm2022/lib/smart-tree/tree-api/api/tree.service.mjs +1 -1
- package/esm2022/lib/smart-tree/tree-api/configuration.mjs +1 -1
- package/esm2022/lib/smart-tree/tree-api/encoder.mjs +1 -1
- package/esm2022/lib/smart-tree/tree-api/param.mjs +1 -1
- package/esm2022/lib/smart-tree/tree-api/variables.mjs +1 -1
- package/esm2022/lib/view-context/api/model/clipboardData.mjs +1 -1
- package/esm2022/lib/view-context/api/model/deviceInfo.mjs +1 -1
- package/esm2022/lib/view-context/api/model/models.mjs +1 -1
- package/esm2022/lib/view-context/api/model/uiActionButtonDescriptor.mjs +1 -1
- package/esm2022/lib/view-context/api/model/view.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewContext.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewContextData.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewPlaceholder.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-view-context-dialog.service.mjs +2 -2
- package/esm2022/lib/view-context/utility/smart-object-utility.mjs +15 -1
- package/esm2022/lib/view-context/value-api/api/api.mjs +1 -1
- package/esm2022/lib/view-context/value-api/api/value.service.mjs +1 -1
- package/esm2022/lib/view-context/value-api/api.module.mjs +1 -1
- package/esm2022/lib/view-context/value-api/configuration.mjs +1 -1
- package/esm2022/lib/view-context/value-api/encoder.mjs +1 -1
- package/esm2022/lib/view-context/value-api/index.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/genericValue.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/models.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/value.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetDefinition.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetOperand.mjs +1 -1
- package/esm2022/lib/view-context/value-api/param.mjs +1 -1
- package/esm2022/lib/view-context/value-api/variables.mjs +1 -1
- package/fesm2022/smartbit4all-ng-client.mjs +193 -45
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +3 -0
- package/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.d.ts +1 -0
- package/lib/smart-filter/api/filter/model/filterExpressionOperandData.d.ts +1 -0
- package/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.d.ts +1 -0
- package/lib/smart-filter-editor/api/model/filterExpressionOperandData.d.ts +1 -0
- package/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.d.ts +2 -0
- package/lib/smart-form/api/model/smartFormWidgetType.d.ts +1 -0
- package/lib/smart-form/services/smartform.layout-definition.service.d.ts +1 -0
- package/lib/smart-form/smartform.form-model.d.ts +31 -1
- package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +2 -0
- package/lib/view-context/utility/smart-object-utility.d.ts +1 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.0.92.tgz +0 -0
- package/smartbit4all-ng-client-4.0.90.tgz +0 -0
|
@@ -43,12 +43,14 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
43
43
|
sendModelOnWidgetAction: boolean;
|
|
44
44
|
dataChangeKeys: string[];
|
|
45
45
|
protected dataChangeActionHandlers: Map<SmartformComponent, Subscription>;
|
|
46
|
+
protected filterModelChangeSubjects: Map<string, Subject<void>>;
|
|
46
47
|
protected changeDetector?: ChangeDetectorRef;
|
|
47
48
|
constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName?: string | undefined, _componentName?: string | undefined, element?: ElementRef<any> | undefined, renderer?: Renderer2 | undefined);
|
|
48
49
|
_ngOnInit(): void;
|
|
49
50
|
_ngOnDestroy(): void;
|
|
50
51
|
_ngAfterViewInit(): void;
|
|
51
52
|
private setupGridServices;
|
|
53
|
+
private setupFilterServices;
|
|
52
54
|
protected handleQueryListSimple<T>(ql: QueryList<T>, handler: () => void): void;
|
|
53
55
|
protected handleQueryList<T>(ql: QueryList<T>, handler: (el: T) => void): void;
|
|
54
56
|
protected abstract getSmartFormsQL(): QueryList<SmartformComponent> | undefined;
|
|
@@ -64,6 +66,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
64
66
|
protected getAllSmartTreeComponents(): SmarttreeGenericService[];
|
|
65
67
|
protected getAllSmartFilterEditorContentComponents(): SmartFilterEditorContentComponent[];
|
|
66
68
|
protected getAllSmartUiActionToolbars(): UiActionToolbarComponent[];
|
|
69
|
+
protected getAllFilterUiActionToolbars(): UiActionToolbarComponent[];
|
|
67
70
|
initData(): void;
|
|
68
71
|
initActions(): void;
|
|
69
72
|
setupAllToolbars(toolbars: UiActionToolbarComponent[], toolbarsWithoutId: UiActionToolbarComponent[], toolbarModels: Map<string, UiActionModel[]>): Promise<void>;
|
|
@@ -13,6 +13,7 @@ export declare enum FilterExpressionFieldWidgetType {
|
|
|
13
13
|
TEXT_FIELD = "TEXT_FIELD",
|
|
14
14
|
TEXT_FIELD_CHIPS = "TEXT_FIELD_CHIPS",
|
|
15
15
|
TEXT_FIELD_NUMBER = "TEXT_FIELD_NUMBER",
|
|
16
|
+
TEXT_FIELD_LOOKUP = "TEXT_FIELD_LOOKUP",
|
|
16
17
|
TEXT_BOX = "TEXT_BOX",
|
|
17
18
|
SELECT = "SELECT",
|
|
18
19
|
SELECT_MULTIPLE = "SELECT_MULTIPLE",
|
|
@@ -13,6 +13,7 @@ export declare enum FilterExpressionFieldWidgetType {
|
|
|
13
13
|
TEXT_FIELD = "TEXT_FIELD",
|
|
14
14
|
TEXT_FIELD_CHIPS = "TEXT_FIELD_CHIPS",
|
|
15
15
|
TEXT_FIELD_NUMBER = "TEXT_FIELD_NUMBER",
|
|
16
|
+
TEXT_FIELD_LOOKUP = "TEXT_FIELD_LOOKUP",
|
|
16
17
|
TEXT_BOX = "TEXT_BOX",
|
|
17
18
|
SELECT = "SELECT",
|
|
18
19
|
SELECT_MULTIPLE = "SELECT_MULTIPLE",
|
|
@@ -27,6 +27,8 @@ export declare class SmartFilterEditorContentComponent implements OnInit, AfterV
|
|
|
27
27
|
ngAfterViewInit(): void;
|
|
28
28
|
ngOnDestroy(): void;
|
|
29
29
|
setupSimpleFilter(): void;
|
|
30
|
+
private compareWidgets;
|
|
31
|
+
private compareWidget;
|
|
30
32
|
private extractFilterFieldFromFormModel;
|
|
31
33
|
setUp(): void;
|
|
32
34
|
constructUiActionModels(): void;
|
|
@@ -22,6 +22,7 @@ export declare class SmartformLayoutDefinitionService {
|
|
|
22
22
|
private createContainer;
|
|
23
23
|
private createTextField;
|
|
24
24
|
private createTextFieldChips;
|
|
25
|
+
private createTextFieldLookup;
|
|
25
26
|
private createTextFieldNumber;
|
|
26
27
|
private createTextBox;
|
|
27
28
|
private createRichText;
|
|
@@ -2,7 +2,7 @@ import { QuillModules } from 'ngx-quill';
|
|
|
2
2
|
import { SelectionDefinition, SmartFormInputMode, SmartFormWidgetDirection, SmartFormWidgetType, SmartWidgetHint, ValueChangeMode } from './api';
|
|
3
3
|
import { SmartFormTextFieldButton, SmartFormWidgetWidth, SmartIndicator, SmartValidator, ToggleLabelPosition } from './smartform.model';
|
|
4
4
|
import { Style } from '../view-context/api';
|
|
5
|
-
export declare type SmartFormWidget<T> = SmartTextField<T> | SmartTextFieldNumber<T> | SmartTextFieldChips<T> | SmartTextBox<T> | SmartSelect<T> | SmartSelectMultiple<T> | SmartCheckBox<T> | SmartCheckBox2<T> | SmartRadioButton<T> | SmartDatePicker<T> | SmartDateTimePicker<T> | SmartContainer<T> | SmartLabel | SmartTime<T> | SmartToggle<T> | SmartIndicatorItem | SmartFileUploader | SmartImage | SmartDivider | SmartButton | SmartFormInlineComponent | SmartRichText | SmartSortable<T> | SmartMatrix | SmartYoutubePlayer | SmartMonthPicker | SmartSvg;
|
|
5
|
+
export declare type SmartFormWidget<T> = SmartTextField<T> | SmartTextFieldNumber<T> | SmartTextFieldChips<T> | SmartTextFieldLookup<T> | SmartTextBox<T> | SmartSelect<T> | SmartSelectMultiple<T> | SmartCheckBox<T> | SmartCheckBox2<T> | SmartRadioButton<T> | SmartDatePicker<T> | SmartDateTimePicker<T> | SmartContainer<T> | SmartLabel | SmartTime<T> | SmartToggle<T> | SmartIndicatorItem | SmartFileUploader | SmartImage | SmartDivider | SmartButton | SmartFormInlineComponent | SmartRichText | SmartSortable<T> | SmartMatrix | SmartYoutubePlayer | SmartMonthPicker | SmartSvg;
|
|
6
6
|
export interface SmartTextField<T> {
|
|
7
7
|
type: SmartFormWidgetType.TEXT_FIELD;
|
|
8
8
|
key: string;
|
|
@@ -111,6 +111,36 @@ export interface SmartTextFieldChips<T> {
|
|
|
111
111
|
maxValues?: number;
|
|
112
112
|
hint?: SmartWidgetHint;
|
|
113
113
|
}
|
|
114
|
+
export interface SmartTextFieldLookup<T> {
|
|
115
|
+
type: SmartFormWidgetType.TEXT_FIELD_LOOKUP;
|
|
116
|
+
key: string;
|
|
117
|
+
valueChangeMode?: ValueChangeMode;
|
|
118
|
+
label: string;
|
|
119
|
+
originalLabel?: string;
|
|
120
|
+
showLabel?: boolean;
|
|
121
|
+
value?: T;
|
|
122
|
+
placeholder?: string;
|
|
123
|
+
originalPlaceholder?: string;
|
|
124
|
+
minWidth?: SmartFormWidgetWidth | number | number;
|
|
125
|
+
isDisabled?: boolean;
|
|
126
|
+
isReadonly?: boolean;
|
|
127
|
+
validators?: SmartValidator[];
|
|
128
|
+
cssClass?: string;
|
|
129
|
+
cssLabelClass?: string;
|
|
130
|
+
style?: Style;
|
|
131
|
+
labelStyle?: Style;
|
|
132
|
+
isVisible?: boolean;
|
|
133
|
+
error?: string;
|
|
134
|
+
errorIcon?: string;
|
|
135
|
+
errorIconColor?: string;
|
|
136
|
+
serverErrorMessage?: string;
|
|
137
|
+
serverErrorIcon?: string;
|
|
138
|
+
serverErrorColor?: string;
|
|
139
|
+
minValues?: number;
|
|
140
|
+
maxValues?: number;
|
|
141
|
+
hint?: SmartWidgetHint;
|
|
142
|
+
toolbarId?: string;
|
|
143
|
+
}
|
|
114
144
|
export interface SmartTextBox<T> {
|
|
115
145
|
type: SmartFormWidgetType.TEXT_BOX;
|
|
116
146
|
key: string;
|
|
@@ -103,6 +103,7 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
103
103
|
getRichTextEditorLengthLeeway(): number;
|
|
104
104
|
addOnBlur: boolean;
|
|
105
105
|
readonly separatorKeysCodes: readonly [13, 188];
|
|
106
|
+
readonly emptySeparatorKeysCodes: readonly [];
|
|
106
107
|
add(event: MatChipInputEvent): void;
|
|
107
108
|
remove(value: SmartFormWidget<any>): void;
|
|
108
109
|
selected(event: MatAutocompleteSelectedEvent, widgetInstance: SmartFormWidget<any>): void;
|
|
@@ -130,6 +131,7 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
130
131
|
truncateUri(uri: any): any;
|
|
131
132
|
removeMatrixRow(question: any): void;
|
|
132
133
|
isToolbarPresent(): boolean;
|
|
134
|
+
getChipsValue(value: any): any;
|
|
133
135
|
getOptions(items: SmartItems<any>[]): any[];
|
|
134
136
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartformwidgetComponent, never>;
|
|
135
137
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartformwidgetComponent, "smartformwidget", never, { "form": { "alias": "form"; "required": false; }; "widgetInstance": { "alias": "widgetInstance"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "onValueChange": { "alias": "onValueChange"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "sophisticatedValueChange": { "alias": "sophisticatedValueChange"; "required": false; }; }, {}, never, never, false, never>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|