@smartbit4all/ng-client 3.1.94 → 3.1.96
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 +12 -1
- package/esm2020/lib/smart-client/smart.component.mjs +9 -2
- 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 +1 -1
- 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 +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +1 -1
- 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 +1 -1
- 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 +1 -1
- 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-form/api/model/models.mjs +2 -1
- package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartWidgetHint.mjs +19 -0
- package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +11 -1
- package/esm2020/lib/smart-form/smartform.form-model.mjs +1 -1
- 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 +6 -6
- package/esm2020/lib/smart-grid/api/grid-api/api/api.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/api/grid.service.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/api.module.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/configuration.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/encoder.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/index.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/models.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/param.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/variables.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/api/tree.service.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/configuration.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/encoder.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/param.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/variables.mjs +1 -1
- package/esm2020/lib/view-context/api/api/view.service.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uploadedFile.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewEventHandler.mjs +1 -1
- package/esm2020/lib/view-context/value-api/api/api.mjs +1 -1
- package/esm2020/lib/view-context/value-api/api/value.service.mjs +1 -1
- package/esm2020/lib/view-context/value-api/api.module.mjs +1 -1
- package/esm2020/lib/view-context/value-api/configuration.mjs +1 -1
- package/esm2020/lib/view-context/value-api/encoder.mjs +1 -1
- package/esm2020/lib/view-context/value-api/index.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/genericValue.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/models.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/value.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +1 -1
- package/esm2020/lib/view-context/value-api/param.mjs +1 -1
- package/esm2020/lib/view-context/value-api/variables.mjs +1 -1
- package/fesm2015/smartbit4all-ng-client.mjs +54 -8
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +53 -8
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +4 -1
- package/lib/smart-client/smart.component.d.ts +3 -0
- package/lib/smart-form/api/model/models.d.ts +1 -0
- package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +2 -0
- package/lib/smart-form/api/model/smartWidgetHint.d.ts +22 -0
- package/lib/smart-form/smartform.form-model.d.ts +20 -38
- package/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.d.ts +5 -2
- package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +6 -3
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.1.96.tgz +0 -0
- package/src/lib/smart-filter-editor/api/README.md +226 -226
- package/src/lib/smart-grid/api/grid-api/README.md +226 -226
- package/src/lib/smart-tree/tree-api/README.md +226 -226
- package/src/lib/view-context/value-api/README.md +226 -226
- package/smartbit4all-ng-client-3.1.94.tgz +0 -0
|
@@ -6,6 +6,7 @@ import { SmartAuthenticationServiceInterface } from './smart-authentication.serv
|
|
|
6
6
|
import { GridOptions, SmartGrid, SmartGridComponent } from '../smart-grid/projects';
|
|
7
7
|
import { SmartForm, SmartFormInvalidFields, SmartformComponent } from '../smart-form/projects';
|
|
8
8
|
import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
|
|
9
|
+
import { SmartFilterEditorService } from '../smart-filter-editor/project';
|
|
9
10
|
export declare abstract class SmartComponentApiClient<T> implements UseUiAction2 {
|
|
10
11
|
protected inject: Injector;
|
|
11
12
|
protected auth: SmartAuthenticationServiceInterface;
|
|
@@ -42,12 +43,14 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
42
43
|
protected abstract getSmartFormsQL(): QueryList<SmartformComponent> | undefined;
|
|
43
44
|
protected abstract getSmartGridsQL(): QueryList<SmartGridComponent> | undefined;
|
|
44
45
|
protected abstract getSmartTreesQL(): QueryList<SmarttreeGenericService> | undefined;
|
|
46
|
+
protected abstract getSmartFilterServicesQL(): QueryList<SmartFilterEditorService> | undefined;
|
|
45
47
|
protected abstract getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
|
|
46
|
-
protected getWidgets(): WidgetMap<SmartGridComponent | SmarttreeGenericService | undefined>;
|
|
48
|
+
protected getWidgets(): WidgetMap<SmartGridComponent | SmarttreeGenericService | SmartFilterEditorService | undefined>;
|
|
47
49
|
initComponentByModel(): void;
|
|
48
50
|
protected getAllSmartFormComponents(): SmartformComponent[];
|
|
49
51
|
protected getAllSmartGridComponents(): SmartGridComponent[];
|
|
50
52
|
protected getAllSmartTreeComponents(): SmarttreeGenericService[];
|
|
53
|
+
protected getAllSmartFilterEditorServices(): SmartFilterEditorService[];
|
|
51
54
|
initData(): void;
|
|
52
55
|
initActions(): void;
|
|
53
56
|
run(): void;
|
|
@@ -5,12 +5,14 @@ import { SmartformComponent } from '../smart-form/projects';
|
|
|
5
5
|
import { SmartGridComponent } from '../smart-grid/projects';
|
|
6
6
|
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
7
7
|
import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
|
|
8
|
+
import { SmartFilterEditorService } from '../smart-filter-editor/project';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy, AfterViewInit {
|
|
10
11
|
smartFormsQL: QueryList<SmartformComponent>;
|
|
11
12
|
smartGridsQL: QueryList<SmartGridComponent>;
|
|
12
13
|
smartTreesQL: QueryList<SmarttreeGenericService>;
|
|
13
14
|
smartComponentLayoutsQL: QueryList<SmartComponentLayoutComponent>;
|
|
15
|
+
smartFilterEditorServicesQL: QueryList<SmartFilterEditorService>;
|
|
14
16
|
constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
|
|
15
17
|
ngOnInit(): void;
|
|
16
18
|
ngOnDestroy(): void;
|
|
@@ -19,6 +21,7 @@ export declare abstract class SmartComponent<T> extends SmartComponentApiClient<
|
|
|
19
21
|
getSmartGridsQL(): QueryList<SmartGridComponent> | undefined;
|
|
20
22
|
getSmartTreesQL(): QueryList<SmarttreeGenericService> | undefined;
|
|
21
23
|
getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
|
|
24
|
+
getSmartFilterServicesQL(): QueryList<SmartFilterEditorService> | undefined;
|
|
22
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponent<any>, never>;
|
|
23
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponent<any>, "ng-component", never, {}, {}, never, never>;
|
|
24
27
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { SelectionDefinition } from './selectionDefinition';
|
|
13
13
|
import { SmartFormWidgetDirection } from './smartFormWidgetDirection';
|
|
14
|
+
import { SmartWidgetHint } from './smartWidgetHint';
|
|
14
15
|
import { SmartFormWidgetType } from './smartFormWidgetType';
|
|
15
16
|
import { Value } from '../../smartform.model';
|
|
16
17
|
import { SmartMatrixModel } from './smartMatrixModel';
|
|
@@ -72,6 +73,7 @@ export interface SmartWidgetDefinition {
|
|
|
72
73
|
selection?: SelectionDefinition;
|
|
73
74
|
direction?: SmartFormWidgetDirection;
|
|
74
75
|
matrix?: SmartMatrixModel;
|
|
76
|
+
hint?: SmartWidgetHint;
|
|
75
77
|
}
|
|
76
78
|
export declare namespace SmartWidgetDefinition {
|
|
77
79
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Form layout definition
|
|
3
|
+
* Contains form layout definition objects.
|
|
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 SmartWidgetHint {
|
|
13
|
+
text?: string;
|
|
14
|
+
position?: SmartWidgetHint.PositionEnum;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace SmartWidgetHint {
|
|
17
|
+
type PositionEnum = 'UNDER_LABEL' | 'UNDER_INPUT';
|
|
18
|
+
const PositionEnum: {
|
|
19
|
+
Label: PositionEnum;
|
|
20
|
+
Input: PositionEnum;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QuillModules } from 'ngx-quill';
|
|
2
|
-
import { SelectionDefinition, SmartFormWidgetDirection, SmartFormWidgetType } from './api';
|
|
3
|
-
import { SmartFormTextFieldButton, SmartFormWidgetWidth, SmartIndicator, SmartValidator,
|
|
2
|
+
import { SelectionDefinition, SmartFormWidgetDirection, SmartFormWidgetType, SmartWidgetHint } from './api';
|
|
3
|
+
import { SmartFormTextFieldButton, SmartFormWidgetWidth, SmartIndicator, SmartValidator, ToggleLabelPosition } from './smartform.model';
|
|
4
4
|
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;
|
|
5
5
|
export interface SmartTextField<T> {
|
|
6
6
|
type: SmartFormWidgetType.TEXT_FIELD;
|
|
@@ -33,8 +33,7 @@ export interface SmartTextField<T> {
|
|
|
33
33
|
errorIconColor?: string;
|
|
34
34
|
valueList?: SmartItem<T>[];
|
|
35
35
|
selection?: SelectionDefinition;
|
|
36
|
-
hint?:
|
|
37
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
36
|
+
hint?: SmartWidgetHint;
|
|
38
37
|
maxLength?: number;
|
|
39
38
|
showCharacterLimitSuffix?: boolean;
|
|
40
39
|
}
|
|
@@ -64,8 +63,7 @@ export interface SmartTextFieldNumber<T> {
|
|
|
64
63
|
iconColor?: string;
|
|
65
64
|
errorIcon?: string;
|
|
66
65
|
errorIconColor?: string;
|
|
67
|
-
hint?:
|
|
68
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
66
|
+
hint?: SmartWidgetHint;
|
|
69
67
|
}
|
|
70
68
|
export interface SmartTextFieldChips<T> {
|
|
71
69
|
type: SmartFormWidgetType.TEXT_FIELD_CHIPS;
|
|
@@ -89,8 +87,7 @@ export interface SmartTextFieldChips<T> {
|
|
|
89
87
|
valueList: SmartItem<T>[];
|
|
90
88
|
minValues?: number;
|
|
91
89
|
maxValues?: number;
|
|
92
|
-
hint?:
|
|
93
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
90
|
+
hint?: SmartWidgetHint;
|
|
94
91
|
}
|
|
95
92
|
export interface SmartTextBox<T> {
|
|
96
93
|
type: SmartFormWidgetType.TEXT_BOX;
|
|
@@ -111,8 +108,7 @@ export interface SmartTextBox<T> {
|
|
|
111
108
|
error?: string;
|
|
112
109
|
errorIcon?: string;
|
|
113
110
|
errorIconColor?: string;
|
|
114
|
-
hint?:
|
|
115
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
111
|
+
hint?: SmartWidgetHint;
|
|
116
112
|
maxLength?: number;
|
|
117
113
|
showCharacterLimitSuffix?: boolean;
|
|
118
114
|
}
|
|
@@ -135,8 +131,7 @@ export interface SmartSelect<T> {
|
|
|
135
131
|
errorIconColor?: string;
|
|
136
132
|
valueList: SmartItems<T>[];
|
|
137
133
|
selection?: SelectionDefinition;
|
|
138
|
-
hint?:
|
|
139
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
134
|
+
hint?: SmartWidgetHint;
|
|
140
135
|
compareWith?: (o1: any, o2: any) => boolean;
|
|
141
136
|
}
|
|
142
137
|
export interface SmartSelectMultiple<T> {
|
|
@@ -158,8 +153,7 @@ export interface SmartSelectMultiple<T> {
|
|
|
158
153
|
errorIconColor?: string;
|
|
159
154
|
valueList: SmartItems<T>[];
|
|
160
155
|
selection?: SelectionDefinition;
|
|
161
|
-
hint?:
|
|
162
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
156
|
+
hint?: SmartWidgetHint;
|
|
163
157
|
compareWith?: (o1: any, o2: any) => boolean;
|
|
164
158
|
}
|
|
165
159
|
export interface SmartCheckBox<T> {
|
|
@@ -182,8 +176,7 @@ export interface SmartCheckBox<T> {
|
|
|
182
176
|
valueList: SmartItem<T>[];
|
|
183
177
|
selection?: SelectionDefinition;
|
|
184
178
|
direction?: SmartFormWidgetDirection;
|
|
185
|
-
hint?:
|
|
186
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
179
|
+
hint?: SmartWidgetHint;
|
|
187
180
|
}
|
|
188
181
|
export interface SmartCheckBox2<T> {
|
|
189
182
|
type: SmartFormWidgetType.CHECK_BOX_2;
|
|
@@ -205,8 +198,7 @@ export interface SmartCheckBox2<T> {
|
|
|
205
198
|
valueList: SmartItem<T>[];
|
|
206
199
|
selection?: SelectionDefinition;
|
|
207
200
|
direction?: SmartFormWidgetDirection;
|
|
208
|
-
hint?:
|
|
209
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
201
|
+
hint?: SmartWidgetHint;
|
|
210
202
|
}
|
|
211
203
|
export interface SmartRadioButton<T> {
|
|
212
204
|
type: SmartFormWidgetType.RADIO_BUTTON;
|
|
@@ -228,8 +220,7 @@ export interface SmartRadioButton<T> {
|
|
|
228
220
|
valueList: SmartItem<T>[];
|
|
229
221
|
selection?: SelectionDefinition;
|
|
230
222
|
direction?: SmartFormWidgetDirection;
|
|
231
|
-
hint?:
|
|
232
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
223
|
+
hint?: SmartWidgetHint;
|
|
233
224
|
}
|
|
234
225
|
export interface SmartDatePicker<T> {
|
|
235
226
|
type: SmartFormWidgetType.DATE_PICKER;
|
|
@@ -253,8 +244,7 @@ export interface SmartDatePicker<T> {
|
|
|
253
244
|
minDate?: Date;
|
|
254
245
|
maxDate?: Date;
|
|
255
246
|
filter?: (d: Date | null) => boolean;
|
|
256
|
-
hint?:
|
|
257
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
247
|
+
hint?: SmartWidgetHint;
|
|
258
248
|
}
|
|
259
249
|
export interface SmartDateTimePicker<T> {
|
|
260
250
|
type: SmartFormWidgetType.DATE_TIME_PICKER;
|
|
@@ -276,8 +266,7 @@ export interface SmartDateTimePicker<T> {
|
|
|
276
266
|
errorIconColor?: string;
|
|
277
267
|
dateFormatHint?: string;
|
|
278
268
|
filter?: (d: Date | null) => boolean;
|
|
279
|
-
hint?:
|
|
280
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
269
|
+
hint?: SmartWidgetHint;
|
|
281
270
|
}
|
|
282
271
|
export interface SmartContainer<T> {
|
|
283
272
|
key?: string;
|
|
@@ -316,8 +305,7 @@ export interface SmartTime<T> {
|
|
|
316
305
|
error?: string;
|
|
317
306
|
errorIcon?: string;
|
|
318
307
|
errorIconColor?: string;
|
|
319
|
-
hint?:
|
|
320
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
308
|
+
hint?: SmartWidgetHint;
|
|
321
309
|
}
|
|
322
310
|
export interface SmartToggle<T> {
|
|
323
311
|
type: SmartFormWidgetType.TOGGLE;
|
|
@@ -337,8 +325,7 @@ export interface SmartToggle<T> {
|
|
|
337
325
|
error?: string;
|
|
338
326
|
errorIcon?: string;
|
|
339
327
|
errorIconColor?: string;
|
|
340
|
-
hint?:
|
|
341
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
328
|
+
hint?: SmartWidgetHint;
|
|
342
329
|
}
|
|
343
330
|
export interface SmartIndicatorItem {
|
|
344
331
|
type: SmartFormWidgetType.INDICATOR;
|
|
@@ -447,8 +434,7 @@ export interface SmartRichText {
|
|
|
447
434
|
error?: string;
|
|
448
435
|
errorIcon?: string;
|
|
449
436
|
errorIconColor?: string;
|
|
450
|
-
hint?:
|
|
451
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
437
|
+
hint?: SmartWidgetHint;
|
|
452
438
|
}
|
|
453
439
|
export interface SmartSortable<T> {
|
|
454
440
|
type: SmartFormWidgetType.SORTABLE;
|
|
@@ -468,8 +454,7 @@ export interface SmartSortable<T> {
|
|
|
468
454
|
validators?: SmartValidator[];
|
|
469
455
|
valueList?: SmartItem<T>[];
|
|
470
456
|
isMultiple?: boolean;
|
|
471
|
-
hint?:
|
|
472
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
457
|
+
hint?: SmartWidgetHint;
|
|
473
458
|
}
|
|
474
459
|
export interface SmartMatrix {
|
|
475
460
|
type: SmartFormWidgetType.MATRIX;
|
|
@@ -488,8 +473,7 @@ export interface SmartMatrix {
|
|
|
488
473
|
errorIconColor?: string;
|
|
489
474
|
validators?: SmartValidator[];
|
|
490
475
|
isMultiple?: boolean;
|
|
491
|
-
hint?:
|
|
492
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
476
|
+
hint?: SmartWidgetHint;
|
|
493
477
|
}
|
|
494
478
|
export interface SmartYoutubePlayer {
|
|
495
479
|
key?: string;
|
|
@@ -504,8 +488,7 @@ export interface SmartYoutubePlayer {
|
|
|
504
488
|
isVisible?: boolean;
|
|
505
489
|
label?: string;
|
|
506
490
|
validators?: SmartValidator[];
|
|
507
|
-
hint?:
|
|
508
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
491
|
+
hint?: SmartWidgetHint;
|
|
509
492
|
showLabel?: boolean;
|
|
510
493
|
}
|
|
511
494
|
export interface SmartMonthPicker {
|
|
@@ -522,6 +505,5 @@ export interface SmartMonthPicker {
|
|
|
522
505
|
isVisible?: boolean;
|
|
523
506
|
isDisabled?: boolean;
|
|
524
507
|
originalLabel?: string;
|
|
525
|
-
hint?:
|
|
526
|
-
hintConfig?: SmartWidgetHintConfig;
|
|
508
|
+
hint?: SmartWidgetHint;
|
|
527
509
|
}
|
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 { SmartWidgetHint } from '../../../api';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const YEARH_MONTH_FORMAT: {
|
|
9
9
|
parse: {
|
|
@@ -20,7 +20,10 @@ export declare class SmartMonthPickerComponent implements OnInit {
|
|
|
20
20
|
widgetInstance: SmartMonthPicker;
|
|
21
21
|
valueChange: EventEmitter<any>;
|
|
22
22
|
date: FormControl;
|
|
23
|
-
SmartWidgetHintPosition:
|
|
23
|
+
SmartWidgetHintPosition: {
|
|
24
|
+
Label: SmartWidgetHint.PositionEnum;
|
|
25
|
+
Input: SmartWidgetHint.PositionEnum;
|
|
26
|
+
};
|
|
24
27
|
ngOnInit(): void;
|
|
25
28
|
chosenMonthHandler(moment: Moment, datepicker: MatDatepicker<Moment>): void;
|
|
26
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartMonthPickerComponent, never>;
|
|
@@ -3,10 +3,10 @@ import { FormGroup } from '@angular/forms';
|
|
|
3
3
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
4
4
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
5
5
|
import { Observable, Subject } from 'rxjs';
|
|
6
|
-
import { SmartFormWidgetType } from '../../api/model/models';
|
|
6
|
+
import { SmartFormWidgetType, SmartWidgetHint } from '../../api/model/models';
|
|
7
7
|
import { SmartFormService } from '../../services/smartform.service';
|
|
8
8
|
import { SmartButton, SmartFormWidget, SmartItem } from '../../smartform.form-model';
|
|
9
|
-
import { SmartFormTextFieldButtonIconPosition, SmartValidator,
|
|
9
|
+
import { SmartFormTextFieldButtonIconPosition, SmartValidator, SophisticatedValueChange, Value } from '../../smartform.model';
|
|
10
10
|
import { ComponentFactoryService } from '../../../component-factory-service/projects';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class SmartWidgetSettings {
|
|
@@ -35,7 +35,10 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
|
|
|
35
35
|
filteredOptions?: Observable<SmartItem<any>[]>;
|
|
36
36
|
isEnterPressed: boolean;
|
|
37
37
|
isDatePickerRequired: boolean;
|
|
38
|
-
SmartWidgetHintPosition:
|
|
38
|
+
SmartWidgetHintPosition: {
|
|
39
|
+
Label: SmartWidgetHint.PositionEnum;
|
|
40
|
+
Input: SmartWidgetHint.PositionEnum;
|
|
41
|
+
};
|
|
39
42
|
constructor(service: SmartFormService, cfService: ComponentFactoryService);
|
|
40
43
|
ngOnInit(): void;
|
|
41
44
|
parseYoutubeUrl(url: string): string | false;
|
package/package.json
CHANGED
|
Binary file
|