@smartbit4all/ng-client 3.3.232 → 3.3.234
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-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +49 -1
- package/esm2020/lib/smart-form/smartform.form-model.mjs +1 -1
- package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +7 -1
- package/fesm2015/smartbit4all-ng-client.mjs +54 -0
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +54 -0
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +12 -0
- package/lib/smart-form/smartform.form-model.d.ts +54 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.234.tgz +0 -0
- package/smartbit4all-ng-client-3.3.232.tgz +0 -0
|
@@ -103,4 +103,16 @@ export interface SmartWidgetDefinition {
|
|
|
103
103
|
properties?: {
|
|
104
104
|
[key: string]: object;
|
|
105
105
|
};
|
|
106
|
+
/**
|
|
107
|
+
* The error message to show for the widget.
|
|
108
|
+
*/
|
|
109
|
+
errorMessage?: string;
|
|
110
|
+
/**
|
|
111
|
+
* The error message to show for the widget.
|
|
112
|
+
*/
|
|
113
|
+
errorIcon?: string;
|
|
114
|
+
/**
|
|
115
|
+
* The error message to show for the widget.
|
|
116
|
+
*/
|
|
117
|
+
errorColor?: string;
|
|
106
118
|
}
|
|
@@ -35,6 +35,9 @@ export interface SmartTextField<T> {
|
|
|
35
35
|
iconPosition?: 'PRE' | 'POST';
|
|
36
36
|
errorIcon?: string;
|
|
37
37
|
errorIconColor?: string;
|
|
38
|
+
serverErrorMessage?: string;
|
|
39
|
+
serverErrorIcon?: string;
|
|
40
|
+
serverErrorColor?: string;
|
|
38
41
|
valueList?: SmartItem<T>[];
|
|
39
42
|
selection?: SelectionDefinition;
|
|
40
43
|
filterErrorMessage?: string;
|
|
@@ -73,6 +76,9 @@ export interface SmartTextFieldNumber<T> {
|
|
|
73
76
|
iconColor?: string;
|
|
74
77
|
errorIcon?: string;
|
|
75
78
|
errorIconColor?: string;
|
|
79
|
+
serverErrorMessage?: string;
|
|
80
|
+
serverErrorIcon?: string;
|
|
81
|
+
serverErrorColor?: string;
|
|
76
82
|
hint?: SmartWidgetHint;
|
|
77
83
|
}
|
|
78
84
|
export interface SmartTextFieldChips<T> {
|
|
@@ -97,6 +103,9 @@ export interface SmartTextFieldChips<T> {
|
|
|
97
103
|
error?: string;
|
|
98
104
|
errorIcon?: string;
|
|
99
105
|
errorIconColor?: string;
|
|
106
|
+
serverErrorMessage?: string;
|
|
107
|
+
serverErrorIcon?: string;
|
|
108
|
+
serverErrorColor?: string;
|
|
100
109
|
valueList: SmartItem<T>[];
|
|
101
110
|
minValues?: number;
|
|
102
111
|
maxValues?: number;
|
|
@@ -124,6 +133,9 @@ export interface SmartTextFieldLookup<T> {
|
|
|
124
133
|
error?: string;
|
|
125
134
|
errorIcon?: string;
|
|
126
135
|
errorIconColor?: string;
|
|
136
|
+
serverErrorMessage?: string;
|
|
137
|
+
serverErrorIcon?: string;
|
|
138
|
+
serverErrorColor?: string;
|
|
127
139
|
minValues?: number;
|
|
128
140
|
maxValues?: number;
|
|
129
141
|
hint?: SmartWidgetHint;
|
|
@@ -151,6 +163,9 @@ export interface SmartTextBox<T> {
|
|
|
151
163
|
error?: string;
|
|
152
164
|
errorIcon?: string;
|
|
153
165
|
errorIconColor?: string;
|
|
166
|
+
serverErrorMessage?: string;
|
|
167
|
+
serverErrorIcon?: string;
|
|
168
|
+
serverErrorColor?: string;
|
|
154
169
|
hint?: SmartWidgetHint;
|
|
155
170
|
maxLength?: number;
|
|
156
171
|
showCharacterLimitSuffix?: boolean;
|
|
@@ -176,6 +191,9 @@ export interface SmartSelect<T> {
|
|
|
176
191
|
error?: string;
|
|
177
192
|
errorIcon?: string;
|
|
178
193
|
errorIconColor?: string;
|
|
194
|
+
serverErrorMessage?: string;
|
|
195
|
+
serverErrorIcon?: string;
|
|
196
|
+
serverErrorColor?: string;
|
|
179
197
|
valueList: SmartItems<T>[];
|
|
180
198
|
selection?: SelectionDefinition;
|
|
181
199
|
hint?: SmartWidgetHint;
|
|
@@ -202,6 +220,9 @@ export interface SmartSelectMultiple<T> {
|
|
|
202
220
|
error?: string;
|
|
203
221
|
errorIcon?: string;
|
|
204
222
|
errorIconColor?: string;
|
|
223
|
+
serverErrorMessage?: string;
|
|
224
|
+
serverErrorIcon?: string;
|
|
225
|
+
serverErrorColor?: string;
|
|
205
226
|
valueList: SmartItems<T>[];
|
|
206
227
|
selection?: SelectionDefinition;
|
|
207
228
|
hint?: SmartWidgetHint;
|
|
@@ -227,6 +248,9 @@ export interface SmartCheckBox<T> {
|
|
|
227
248
|
error?: string;
|
|
228
249
|
errorIcon?: string;
|
|
229
250
|
errorIconColor?: string;
|
|
251
|
+
serverErrorMessage?: string;
|
|
252
|
+
serverErrorIcon?: string;
|
|
253
|
+
serverErrorColor?: string;
|
|
230
254
|
valueList: SmartItem<T>[];
|
|
231
255
|
selection?: SelectionDefinition;
|
|
232
256
|
direction?: SmartFormWidgetDirection;
|
|
@@ -252,6 +276,9 @@ export interface SmartCheckBox2<T> {
|
|
|
252
276
|
error?: string;
|
|
253
277
|
errorIcon?: string;
|
|
254
278
|
errorIconColor?: string;
|
|
279
|
+
serverErrorMessage?: string;
|
|
280
|
+
serverErrorIcon?: string;
|
|
281
|
+
serverErrorColor?: string;
|
|
255
282
|
valueList: SmartItem<T>[];
|
|
256
283
|
selection?: SelectionDefinition;
|
|
257
284
|
direction?: SmartFormWidgetDirection;
|
|
@@ -277,6 +304,9 @@ export interface SmartRadioButton<T> {
|
|
|
277
304
|
error?: string;
|
|
278
305
|
errorIcon?: string;
|
|
279
306
|
errorIconColor?: string;
|
|
307
|
+
serverErrorMessage?: string;
|
|
308
|
+
serverErrorIcon?: string;
|
|
309
|
+
serverErrorColor?: string;
|
|
280
310
|
valueList: SmartItem<T>[];
|
|
281
311
|
selection?: SelectionDefinition;
|
|
282
312
|
direction?: SmartFormWidgetDirection;
|
|
@@ -303,6 +333,9 @@ export interface SmartDatePicker<T> {
|
|
|
303
333
|
error?: string;
|
|
304
334
|
errorIcon?: string;
|
|
305
335
|
errorIconColor?: string;
|
|
336
|
+
serverErrorMessage?: string;
|
|
337
|
+
serverErrorIcon?: string;
|
|
338
|
+
serverErrorColor?: string;
|
|
306
339
|
dateFormatHint?: string;
|
|
307
340
|
minDate?: Date;
|
|
308
341
|
maxDate?: Date;
|
|
@@ -330,6 +363,9 @@ export interface SmartDateTimePicker<T> {
|
|
|
330
363
|
error?: string;
|
|
331
364
|
errorIcon?: string;
|
|
332
365
|
errorIconColor?: string;
|
|
366
|
+
serverErrorMessage?: string;
|
|
367
|
+
serverErrorIcon?: string;
|
|
368
|
+
serverErrorColor?: string;
|
|
333
369
|
dateFormatHint?: string;
|
|
334
370
|
filter?: (d: Date | null) => boolean;
|
|
335
371
|
hint?: SmartWidgetHint;
|
|
@@ -379,6 +415,9 @@ export interface SmartTime<T> {
|
|
|
379
415
|
error?: string;
|
|
380
416
|
errorIcon?: string;
|
|
381
417
|
errorIconColor?: string;
|
|
418
|
+
serverErrorMessage?: string;
|
|
419
|
+
serverErrorIcon?: string;
|
|
420
|
+
serverErrorColor?: string;
|
|
382
421
|
hint?: SmartWidgetHint;
|
|
383
422
|
}
|
|
384
423
|
export interface SmartToggle<T> {
|
|
@@ -402,6 +441,9 @@ export interface SmartToggle<T> {
|
|
|
402
441
|
error?: string;
|
|
403
442
|
errorIcon?: string;
|
|
404
443
|
errorIconColor?: string;
|
|
444
|
+
serverErrorMessage?: string;
|
|
445
|
+
serverErrorIcon?: string;
|
|
446
|
+
serverErrorColor?: string;
|
|
405
447
|
hint?: SmartWidgetHint;
|
|
406
448
|
}
|
|
407
449
|
export interface SmartIndicatorItem {
|
|
@@ -546,6 +588,9 @@ export interface SmartRichText {
|
|
|
546
588
|
error?: string;
|
|
547
589
|
errorIcon?: string;
|
|
548
590
|
errorIconColor?: string;
|
|
591
|
+
serverErrorMessage?: string;
|
|
592
|
+
serverErrorIcon?: string;
|
|
593
|
+
serverErrorColor?: string;
|
|
549
594
|
hint?: SmartWidgetHint;
|
|
550
595
|
maxLength?: number;
|
|
551
596
|
showCharacterLimitSuffix?: boolean;
|
|
@@ -568,6 +613,9 @@ export interface SmartSortable<T> {
|
|
|
568
613
|
error?: string;
|
|
569
614
|
errorIcon?: string;
|
|
570
615
|
errorIconColor?: string;
|
|
616
|
+
serverErrorMessage?: string;
|
|
617
|
+
serverErrorIcon?: string;
|
|
618
|
+
serverErrorColor?: string;
|
|
571
619
|
validators?: SmartValidator[];
|
|
572
620
|
valueList?: SmartItem<T>[];
|
|
573
621
|
isMultiple?: boolean;
|
|
@@ -591,6 +639,9 @@ export interface SmartMatrix {
|
|
|
591
639
|
error?: string;
|
|
592
640
|
errorIcon?: string;
|
|
593
641
|
errorIconColor?: string;
|
|
642
|
+
serverErrorMessage?: string;
|
|
643
|
+
serverErrorIcon?: string;
|
|
644
|
+
serverErrorColor?: string;
|
|
594
645
|
validators?: SmartValidator[];
|
|
595
646
|
isMultiple?: boolean;
|
|
596
647
|
hint?: SmartWidgetHint;
|
|
@@ -632,6 +683,9 @@ export interface SmartMonthPicker {
|
|
|
632
683
|
error?: string;
|
|
633
684
|
errorIcon?: string;
|
|
634
685
|
errorIconColor?: string;
|
|
686
|
+
serverErrorMessage?: string;
|
|
687
|
+
serverErrorIcon?: string;
|
|
688
|
+
serverErrorColor?: string;
|
|
635
689
|
cssClass?: string;
|
|
636
690
|
cssLabelClass?: string;
|
|
637
691
|
style?: Style;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|