@smartbit4all/ng-client 3.1.94 → 3.1.95

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 (91) hide show
  1. package/esm2020/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
  2. package/esm2020/lib/smart-filter-editor/api/configuration.mjs +1 -1
  3. package/esm2020/lib/smart-filter-editor/api/encoder.mjs +1 -1
  4. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +1 -1
  5. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
  6. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
  7. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +1 -1
  8. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
  9. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -1
  10. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
  11. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +1 -1
  12. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
  13. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
  14. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
  15. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +1 -1
  16. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
  17. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
  18. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +1 -1
  19. package/esm2020/lib/smart-filter-editor/api/param.mjs +1 -1
  20. package/esm2020/lib/smart-filter-editor/api/variables.mjs +1 -1
  21. package/esm2020/lib/smart-form/api/model/models.mjs +2 -1
  22. package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
  23. package/esm2020/lib/smart-form/api/model/smartWidgetHint.mjs +19 -0
  24. package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +11 -1
  25. package/esm2020/lib/smart-form/smartform.form-model.mjs +1 -1
  26. package/esm2020/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.mjs +5 -5
  27. package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +6 -6
  28. package/esm2020/lib/smart-grid/api/grid-api/api/api.mjs +1 -1
  29. package/esm2020/lib/smart-grid/api/grid-api/api/grid.service.mjs +1 -1
  30. package/esm2020/lib/smart-grid/api/grid-api/api.module.mjs +1 -1
  31. package/esm2020/lib/smart-grid/api/grid-api/configuration.mjs +1 -1
  32. package/esm2020/lib/smart-grid/api/grid-api/encoder.mjs +1 -1
  33. package/esm2020/lib/smart-grid/api/grid-api/index.mjs +1 -1
  34. package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +1 -1
  35. package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
  36. package/esm2020/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +1 -1
  37. package/esm2020/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
  38. package/esm2020/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
  39. package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +1 -1
  40. package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +1 -1
  41. package/esm2020/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
  42. package/esm2020/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
  43. package/esm2020/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
  44. package/esm2020/lib/smart-grid/api/grid-api/model/models.mjs +1 -1
  45. package/esm2020/lib/smart-grid/api/grid-api/param.mjs +1 -1
  46. package/esm2020/lib/smart-grid/api/grid-api/variables.mjs +1 -1
  47. package/esm2020/lib/smart-tree/tree-api/api/tree.service.mjs +1 -1
  48. package/esm2020/lib/smart-tree/tree-api/configuration.mjs +1 -1
  49. package/esm2020/lib/smart-tree/tree-api/encoder.mjs +1 -1
  50. package/esm2020/lib/smart-tree/tree-api/param.mjs +1 -1
  51. package/esm2020/lib/smart-tree/tree-api/variables.mjs +1 -1
  52. package/esm2020/lib/view-context/api/api/view.service.mjs +1 -1
  53. package/esm2020/lib/view-context/api/model/uploadedFile.mjs +1 -1
  54. package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
  55. package/esm2020/lib/view-context/api/model/viewEventHandler.mjs +1 -1
  56. package/esm2020/lib/view-context/value-api/api/api.mjs +1 -1
  57. package/esm2020/lib/view-context/value-api/api/value.service.mjs +1 -1
  58. package/esm2020/lib/view-context/value-api/api.module.mjs +1 -1
  59. package/esm2020/lib/view-context/value-api/configuration.mjs +1 -1
  60. package/esm2020/lib/view-context/value-api/encoder.mjs +1 -1
  61. package/esm2020/lib/view-context/value-api/index.mjs +1 -1
  62. package/esm2020/lib/view-context/value-api/model/genericValue.mjs +1 -1
  63. package/esm2020/lib/view-context/value-api/model/models.mjs +1 -1
  64. package/esm2020/lib/view-context/value-api/model/value.mjs +1 -1
  65. package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +1 -1
  66. package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +1 -1
  67. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +1 -1
  68. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +1 -1
  69. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +1 -1
  70. package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +1 -1
  71. package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +1 -1
  72. package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +1 -1
  73. package/esm2020/lib/view-context/value-api/param.mjs +1 -1
  74. package/esm2020/lib/view-context/value-api/variables.mjs +1 -1
  75. package/fesm2015/smartbit4all-ng-client.mjs +36 -7
  76. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  77. package/fesm2020/smartbit4all-ng-client.mjs +36 -7
  78. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  79. package/lib/smart-form/api/model/models.d.ts +1 -0
  80. package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +2 -0
  81. package/lib/smart-form/api/model/smartWidgetHint.d.ts +22 -0
  82. package/lib/smart-form/smartform.form-model.d.ts +20 -38
  83. package/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.d.ts +5 -2
  84. package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +6 -3
  85. package/package.json +1 -1
  86. package/smartbit4all-ng-client-3.1.95.tgz +0 -0
  87. package/src/lib/smart-filter-editor/api/README.md +226 -226
  88. package/src/lib/smart-grid/api/grid-api/README.md +226 -226
  89. package/src/lib/smart-tree/tree-api/README.md +226 -226
  90. package/src/lib/view-context/value-api/README.md +226 -226
  91. package/smartbit4all-ng-client-3.1.94.tgz +0 -0
@@ -5,3 +5,4 @@ export * from './smartFormWidgetType';
5
5
  export * from './smartLayoutDefinition';
6
6
  export * from './smartMatrixModel';
7
7
  export * from './smartWidgetDefinition';
8
+ export * from './smartWidgetHint';
@@ -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, SmartWidgetHintConfig, ToggleLabelPosition } from './smartform.model';
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
526
- hintConfig?: SmartWidgetHintConfig;
508
+ hint?: SmartWidgetHint;
527
509
  }
@@ -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 { SmartWidgetHintPosition } from '../../../smartform.model';
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: typeof 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, SmartWidgetHintPosition, SophisticatedValueChange, Value } from '../../smartform.model';
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: typeof 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "3.1.94",
3
+ "version": "3.1.95",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.3.9",
6
6
  "@angular/common": "^13.2.0",