@smartbit4all/ng-client 3.3.224 → 3.3.226
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/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 +24 -49
- 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 +54 -25
- package/fesm2015/smartbit4all-ng-client.mjs +105 -84
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +96 -74
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- 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/package.json +1 -1
- package/smartbit4all-ng-client-3.3.226.tgz +0 -0
- package/smartbit4all-ng-client-3.3.224.tgz +0 -0
|
@@ -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;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|