@smartbit4all/ng-client 3.3.225 → 3.3.227
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-client/smart-component-api-client.mjs +29 -2
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +2 -1
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +2 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +6 -1
- package/esm2020/lib/smart-form/api/model/models.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartFormInputMode.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartFormWidgetType.mjs +2 -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/services/smartform.layout-definition.service.mjs +19 -3
- package/esm2020/lib/smart-form/smartform.form-model.mjs +1 -1
- package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +64 -24
- package/fesm2015/smartbit4all-ng-client.mjs +125 -35
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +116 -26
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +1 -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-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 +28 -1
- package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +1 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.227.tgz +0 -0
- package/smartbit4all-ng-client-3.3.225.tgz +0 -0
|
@@ -43,6 +43,7 @@ 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;
|
|
@@ -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",
|
|
@@ -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;
|
|
@@ -102,6 +102,33 @@ export interface SmartTextFieldChips<T> {
|
|
|
102
102
|
maxValues?: number;
|
|
103
103
|
hint?: SmartWidgetHint;
|
|
104
104
|
}
|
|
105
|
+
export interface SmartTextFieldLookup<T> {
|
|
106
|
+
type: SmartFormWidgetType.TEXT_FIELD_LOOKUP;
|
|
107
|
+
key: string;
|
|
108
|
+
valueChangeMode?: ValueChangeMode;
|
|
109
|
+
label: string;
|
|
110
|
+
originalLabel?: string;
|
|
111
|
+
showLabel?: boolean;
|
|
112
|
+
value?: T;
|
|
113
|
+
placeholder?: string;
|
|
114
|
+
originalPlaceholder?: string;
|
|
115
|
+
minWidth?: SmartFormWidgetWidth | number | number;
|
|
116
|
+
isDisabled?: boolean;
|
|
117
|
+
isReadonly?: boolean;
|
|
118
|
+
validators?: SmartValidator[];
|
|
119
|
+
cssClass?: string;
|
|
120
|
+
cssLabelClass?: string;
|
|
121
|
+
style?: Style;
|
|
122
|
+
labelStyle?: Style;
|
|
123
|
+
isVisible?: boolean;
|
|
124
|
+
error?: string;
|
|
125
|
+
errorIcon?: string;
|
|
126
|
+
errorIconColor?: string;
|
|
127
|
+
minValues?: number;
|
|
128
|
+
maxValues?: number;
|
|
129
|
+
hint?: SmartWidgetHint;
|
|
130
|
+
toolbarId?: string;
|
|
131
|
+
}
|
|
105
132
|
export interface SmartTextBox<T> {
|
|
106
133
|
type: SmartFormWidgetType.TEXT_BOX;
|
|
107
134
|
key: string;
|
|
@@ -127,6 +127,7 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
127
127
|
truncateUri(uri: any): any;
|
|
128
128
|
removeMatrixRow(question: any): void;
|
|
129
129
|
isToolbarPresent(): boolean;
|
|
130
|
+
getChipsValue(value: any): any;
|
|
130
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartformwidgetComponent, never>;
|
|
131
132
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartformwidgetComponent, "smartformwidget", never, { "form": "form"; "widgetInstance": "widgetInstance"; "onBlur": "onBlur"; "onValueChange": "onValueChange"; "labelColor": "labelColor"; "sophisticatedValueChange": "sophisticatedValueChange"; }, {}, never, never>;
|
|
132
133
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|