@smartbit4all/ng-client 4.0.88 → 4.0.90

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.
Files changed (105) hide show
  1. package/esm2022/lib/session/api/api/session.service.mjs +1 -1
  2. package/esm2022/lib/session/api/encoder.mjs +1 -1
  3. package/esm2022/lib/session/api/model/accountInfo.mjs +1 -1
  4. package/esm2022/lib/session/api/model/apiError.mjs +1 -1
  5. package/esm2022/lib/session/api/model/authenticationProviderData.mjs +1 -1
  6. package/esm2022/lib/session/api/model/getAuthenticationProvidersResponse.mjs +1 -1
  7. package/esm2022/lib/session/api/model/models.mjs +1 -1
  8. package/esm2022/lib/session/api/model/refreshSessionRequest.mjs +1 -1
  9. package/esm2022/lib/session/api/model/session.mjs +1 -1
  10. package/esm2022/lib/session/api/model/userActivityLog.mjs +1 -1
  11. package/esm2022/lib/session/api/param.mjs +1 -1
  12. package/esm2022/lib/session/api/variables.mjs +1 -1
  13. package/esm2022/lib/smart-component-layout/api/api/api.mjs +1 -1
  14. package/esm2022/lib/smart-component-layout/api/api/default.service.mjs +1 -1
  15. package/esm2022/lib/smart-component-layout/api/api.module.mjs +1 -1
  16. package/esm2022/lib/smart-component-layout/api/configuration.mjs +1 -1
  17. package/esm2022/lib/smart-component-layout/api/encoder.mjs +1 -1
  18. package/esm2022/lib/smart-component-layout/api/index.mjs +1 -1
  19. package/esm2022/lib/smart-component-layout/api/model/componentType.mjs +1 -1
  20. package/esm2022/lib/smart-component-layout/api/model/componentWidgetType.mjs +1 -1
  21. package/esm2022/lib/smart-component-layout/api/model/layoutDirection.mjs +1 -1
  22. package/esm2022/lib/smart-component-layout/api/model/models.mjs +1 -1
  23. package/esm2022/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
  24. package/esm2022/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
  25. package/esm2022/lib/smart-component-layout/api/param.mjs +1 -1
  26. package/esm2022/lib/smart-component-layout/api/variables.mjs +1 -1
  27. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionField.mjs +1 -1
  28. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
  29. package/esm2022/lib/smart-form/api/api/api.mjs +1 -1
  30. package/esm2022/lib/smart-form/api/api/default.service.mjs +1 -1
  31. package/esm2022/lib/smart-form/api/api.module.mjs +1 -1
  32. package/esm2022/lib/smart-form/api/configuration.mjs +1 -1
  33. package/esm2022/lib/smart-form/api/encoder.mjs +1 -1
  34. package/esm2022/lib/smart-form/api/index.mjs +1 -1
  35. package/esm2022/lib/smart-form/api/model/propertyMapping.mjs +1 -1
  36. package/esm2022/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
  37. package/esm2022/lib/smart-form/api/model/smartFormWidgetDirection.mjs +1 -1
  38. package/esm2022/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
  39. package/esm2022/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
  40. package/esm2022/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
  41. package/esm2022/lib/smart-form/api/model/smartWidgetHint.mjs +1 -1
  42. package/esm2022/lib/smart-form/api/model/valueChangeMode.mjs +1 -1
  43. package/esm2022/lib/smart-form/api/param.mjs +1 -1
  44. package/esm2022/lib/smart-form/api/variables.mjs +1 -1
  45. package/esm2022/lib/smart-form/services/smartform.layout-definition.service.mjs +46 -1
  46. package/esm2022/lib/smart-form/smartform.form-model.mjs +1 -1
  47. package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +9 -1
  48. package/esm2022/lib/smart-grid/api/grid-api/api/api.mjs +1 -1
  49. package/esm2022/lib/smart-grid/api/grid-api/api/grid.service.mjs +1 -1
  50. package/esm2022/lib/smart-grid/api/grid-api/api.module.mjs +1 -1
  51. package/esm2022/lib/smart-grid/api/grid-api/configuration.mjs +1 -1
  52. package/esm2022/lib/smart-grid/api/grid-api/encoder.mjs +1 -1
  53. package/esm2022/lib/smart-grid/api/grid-api/index.mjs +1 -1
  54. package/esm2022/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +1 -1
  55. package/esm2022/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
  56. package/esm2022/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +1 -1
  57. package/esm2022/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
  58. package/esm2022/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
  59. package/esm2022/lib/smart-grid/api/grid-api/model/gridRow.mjs +1 -1
  60. package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionChange.mjs +1 -1
  61. package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +1 -1
  62. package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +1 -1
  63. package/esm2022/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
  64. package/esm2022/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
  65. package/esm2022/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
  66. package/esm2022/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +1 -1
  67. package/esm2022/lib/smart-grid/api/grid-api/model/models.mjs +1 -1
  68. package/esm2022/lib/smart-grid/api/grid-api/param.mjs +1 -1
  69. package/esm2022/lib/smart-grid/api/grid-api/variables.mjs +1 -1
  70. package/esm2022/lib/smart-tree/tree-api/api/tree.service.mjs +1 -1
  71. package/esm2022/lib/smart-tree/tree-api/configuration.mjs +1 -1
  72. package/esm2022/lib/smart-tree/tree-api/encoder.mjs +1 -1
  73. package/esm2022/lib/smart-tree/tree-api/param.mjs +1 -1
  74. package/esm2022/lib/smart-tree/tree-api/variables.mjs +1 -1
  75. package/esm2022/lib/view-context/api/model/clipboardData.mjs +1 -1
  76. package/esm2022/lib/view-context/api/model/deviceInfo.mjs +1 -1
  77. package/esm2022/lib/view-context/api/model/models.mjs +1 -1
  78. package/esm2022/lib/view-context/api/model/uiActionButtonDescriptor.mjs +1 -1
  79. package/esm2022/lib/view-context/api/model/view.mjs +1 -1
  80. package/esm2022/lib/view-context/api/model/viewContext.mjs +1 -1
  81. package/esm2022/lib/view-context/api/model/viewContextData.mjs +1 -1
  82. package/esm2022/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
  83. package/esm2022/lib/view-context/api/model/viewPlaceholder.mjs +1 -1
  84. package/esm2022/lib/view-context/smart-view-context-dialog.service.mjs +3 -3
  85. package/esm2022/lib/view-context/value-api/api/api.mjs +1 -1
  86. package/esm2022/lib/view-context/value-api/api/value.service.mjs +1 -1
  87. package/esm2022/lib/view-context/value-api/api.module.mjs +1 -1
  88. package/esm2022/lib/view-context/value-api/configuration.mjs +1 -1
  89. package/esm2022/lib/view-context/value-api/encoder.mjs +1 -1
  90. package/esm2022/lib/view-context/value-api/index.mjs +1 -1
  91. package/esm2022/lib/view-context/value-api/model/genericValue.mjs +1 -1
  92. package/esm2022/lib/view-context/value-api/model/models.mjs +1 -1
  93. package/esm2022/lib/view-context/value-api/model/value.mjs +1 -1
  94. package/esm2022/lib/view-context/value-api/model/valueSetDefinition.mjs +1 -1
  95. package/esm2022/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +1 -1
  96. package/esm2022/lib/view-context/value-api/model/valueSetOperand.mjs +1 -1
  97. package/esm2022/lib/view-context/value-api/param.mjs +1 -1
  98. package/esm2022/lib/view-context/value-api/variables.mjs +1 -1
  99. package/fesm2022/smartbit4all-ng-client.mjs +55 -2
  100. package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
  101. package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +12 -0
  102. package/lib/smart-form/smartform.form-model.d.ts +51 -0
  103. package/package.json +1 -1
  104. package/smartbit4all-ng-client-4.0.90.tgz +0 -0
  105. package/smartbit4all-ng-client-4.0.88.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 SmartTextBox<T> {
124
133
  error?: string;
125
134
  errorIcon?: string;
126
135
  errorIconColor?: string;
136
+ serverErrorMessage?: string;
137
+ serverErrorIcon?: string;
138
+ serverErrorColor?: string;
127
139
  hint?: SmartWidgetHint;
128
140
  maxLength?: number;
129
141
  showCharacterLimitSuffix?: boolean;
@@ -149,6 +161,9 @@ export interface SmartSelect<T> {
149
161
  error?: string;
150
162
  errorIcon?: string;
151
163
  errorIconColor?: string;
164
+ serverErrorMessage?: string;
165
+ serverErrorIcon?: string;
166
+ serverErrorColor?: string;
152
167
  valueList: SmartItems<T>[];
153
168
  selection?: SelectionDefinition;
154
169
  hint?: SmartWidgetHint;
@@ -175,6 +190,9 @@ export interface SmartSelectMultiple<T> {
175
190
  error?: string;
176
191
  errorIcon?: string;
177
192
  errorIconColor?: string;
193
+ serverErrorMessage?: string;
194
+ serverErrorIcon?: string;
195
+ serverErrorColor?: string;
178
196
  valueList: SmartItems<T>[];
179
197
  selection?: SelectionDefinition;
180
198
  hint?: SmartWidgetHint;
@@ -200,6 +218,9 @@ export interface SmartCheckBox<T> {
200
218
  error?: string;
201
219
  errorIcon?: string;
202
220
  errorIconColor?: string;
221
+ serverErrorMessage?: string;
222
+ serverErrorIcon?: string;
223
+ serverErrorColor?: string;
203
224
  valueList: SmartItem<T>[];
204
225
  selection?: SelectionDefinition;
205
226
  direction?: SmartFormWidgetDirection;
@@ -225,6 +246,9 @@ export interface SmartCheckBox2<T> {
225
246
  error?: string;
226
247
  errorIcon?: string;
227
248
  errorIconColor?: string;
249
+ serverErrorMessage?: string;
250
+ serverErrorIcon?: string;
251
+ serverErrorColor?: string;
228
252
  valueList: SmartItem<T>[];
229
253
  selection?: SelectionDefinition;
230
254
  direction?: SmartFormWidgetDirection;
@@ -250,6 +274,9 @@ export interface SmartRadioButton<T> {
250
274
  error?: string;
251
275
  errorIcon?: string;
252
276
  errorIconColor?: string;
277
+ serverErrorMessage?: string;
278
+ serverErrorIcon?: string;
279
+ serverErrorColor?: string;
253
280
  valueList: SmartItem<T>[];
254
281
  selection?: SelectionDefinition;
255
282
  direction?: SmartFormWidgetDirection;
@@ -276,6 +303,9 @@ export interface SmartDatePicker<T> {
276
303
  error?: string;
277
304
  errorIcon?: string;
278
305
  errorIconColor?: string;
306
+ serverErrorMessage?: string;
307
+ serverErrorIcon?: string;
308
+ serverErrorColor?: string;
279
309
  dateFormatHint?: string;
280
310
  minDate?: Date;
281
311
  maxDate?: Date;
@@ -303,6 +333,9 @@ export interface SmartDateTimePicker<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
  filter?: (d: Date | null) => boolean;
308
341
  hint?: SmartWidgetHint;
@@ -352,6 +385,9 @@ export interface SmartTime<T> {
352
385
  error?: string;
353
386
  errorIcon?: string;
354
387
  errorIconColor?: string;
388
+ serverErrorMessage?: string;
389
+ serverErrorIcon?: string;
390
+ serverErrorColor?: string;
355
391
  hint?: SmartWidgetHint;
356
392
  }
357
393
  export interface SmartToggle<T> {
@@ -375,6 +411,9 @@ export interface SmartToggle<T> {
375
411
  error?: string;
376
412
  errorIcon?: string;
377
413
  errorIconColor?: string;
414
+ serverErrorMessage?: string;
415
+ serverErrorIcon?: string;
416
+ serverErrorColor?: string;
378
417
  hint?: SmartWidgetHint;
379
418
  }
380
419
  export interface SmartIndicatorItem {
@@ -519,6 +558,9 @@ export interface SmartRichText {
519
558
  error?: string;
520
559
  errorIcon?: string;
521
560
  errorIconColor?: string;
561
+ serverErrorMessage?: string;
562
+ serverErrorIcon?: string;
563
+ serverErrorColor?: string;
522
564
  hint?: SmartWidgetHint;
523
565
  maxLength?: number;
524
566
  showCharacterLimitSuffix?: boolean;
@@ -541,6 +583,9 @@ export interface SmartSortable<T> {
541
583
  error?: string;
542
584
  errorIcon?: string;
543
585
  errorIconColor?: string;
586
+ serverErrorMessage?: string;
587
+ serverErrorIcon?: string;
588
+ serverErrorColor?: string;
544
589
  validators?: SmartValidator[];
545
590
  valueList?: SmartItem<T>[];
546
591
  isMultiple?: boolean;
@@ -564,6 +609,9 @@ export interface SmartMatrix {
564
609
  error?: string;
565
610
  errorIcon?: string;
566
611
  errorIconColor?: string;
612
+ serverErrorMessage?: string;
613
+ serverErrorIcon?: string;
614
+ serverErrorColor?: string;
567
615
  validators?: SmartValidator[];
568
616
  isMultiple?: boolean;
569
617
  hint?: SmartWidgetHint;
@@ -605,6 +653,9 @@ export interface SmartMonthPicker {
605
653
  error?: string;
606
654
  errorIcon?: string;
607
655
  errorIconColor?: string;
656
+ serverErrorMessage?: string;
657
+ serverErrorIcon?: string;
658
+ serverErrorColor?: string;
608
659
  cssClass?: string;
609
660
  cssLabelClass?: string;
610
661
  style?: Style;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "4.0.88",
3
+ "version": "4.0.90",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
6
6
  "@angular/common": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
Binary file