@smartbit4all/ng-client 4.2.135 → 4.2.137

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 (37) hide show
  1. package/esm2022/lib/smart-diagram/api/model/diagramDescriptor.mjs +1 -1
  2. package/esm2022/lib/smart-diagram/component/default-smart-diagram-options.provider.mjs +2 -6
  3. package/esm2022/lib/smart-diagram/component/smart-diagram.component.mjs +12 -6
  4. package/esm2022/lib/smart-form/api/api/api.mjs +1 -1
  5. package/esm2022/lib/smart-form/api/api/default.service.mjs +1 -1
  6. package/esm2022/lib/smart-form/api/api.module.mjs +1 -1
  7. package/esm2022/lib/smart-form/api/configuration.mjs +1 -1
  8. package/esm2022/lib/smart-form/api/encoder.mjs +1 -1
  9. package/esm2022/lib/smart-form/api/index.mjs +1 -1
  10. package/esm2022/lib/smart-form/api/model/fileUploaderProperties.mjs +1 -1
  11. package/esm2022/lib/smart-form/api/model/imageProperties.mjs +1 -1
  12. package/esm2022/lib/smart-form/api/model/models.mjs +1 -1
  13. package/esm2022/lib/smart-form/api/model/propertyMapping.mjs +1 -1
  14. package/esm2022/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
  15. package/esm2022/lib/smart-form/api/model/smartFormInputMode.mjs +1 -1
  16. package/esm2022/lib/smart-form/api/model/smartFormWidgetDirection.mjs +1 -1
  17. package/esm2022/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
  18. package/esm2022/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
  19. package/esm2022/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
  20. package/esm2022/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
  21. package/esm2022/lib/smart-form/api/model/smartWidgetHint.mjs +1 -1
  22. package/esm2022/lib/smart-form/api/model/sortDefinition.mjs +1 -1
  23. package/esm2022/lib/smart-form/api/model/textFieldProperties.mjs +1 -1
  24. package/esm2022/lib/smart-form/api/param.mjs +1 -1
  25. package/esm2022/lib/smart-form/api/variables.mjs +1 -1
  26. package/esm2022/lib/smart-form/services/smartform.layout-definition.service.mjs +35 -1
  27. package/esm2022/lib/smart-form/smartform.form-model.mjs +1 -1
  28. package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +3 -3
  29. package/fesm2022/smartbit4all-ng-client.mjs +49 -15
  30. package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
  31. package/lib/smart-diagram/api/model/diagramDescriptor.d.ts +3 -0
  32. package/lib/smart-diagram/component/smart-diagram.component.d.ts +2 -0
  33. package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +5 -0
  34. package/lib/smart-form/smartform.form-model.d.ts +56 -0
  35. package/package.json +1 -1
  36. package/smartbit4all-ng-client-4.2.137.tgz +0 -0
  37. package/smartbit4all-ng-client-4.2.135.tgz +0 -0
@@ -12,6 +12,7 @@
12
12
  import { DiagramColor } from './diagramColor';
13
13
  import { DiagramShape } from './diagramShape';
14
14
  import { LabelText } from './labelText';
15
+ import { Style } from '../../../view-context/api/model/style';
15
16
  /**
16
17
  * A descriptor for the diagram.
17
18
  */
@@ -51,4 +52,6 @@ export interface DiagramDescriptor {
51
52
  showLegendForChart?: boolean;
52
53
  backgroundColor?: DiagramColor;
53
54
  shapes?: Array<DiagramShape>;
55
+ maintainAspectRatio?: boolean;
56
+ style?: Style;
54
57
  }
@@ -3,6 +3,7 @@ import { UIChart } from 'primeng/chart';
3
3
  import { DiagramModel, DiagramServiceService } from '../api';
4
4
  import { ComponentLibrary } from '../../view-context/utility/componentLibrary';
5
5
  import { DefaultChartOptionsProvider } from './default-smart-diagram-options.provider';
6
+ import { Style } from '../../view-context/api/model/style';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class SmartDiagramComponent {
8
9
  private diagramApi;
@@ -36,6 +37,7 @@ export declare class SmartDiagramComponent {
36
37
  getChart(): any;
37
38
  getVisiblePoints(): any;
38
39
  applyChartClass(): void;
40
+ calcStyle(style?: Style): any;
39
41
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartDiagramComponent, [null, null, { optional: true; }]>;
40
42
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartDiagramComponent, "smart-diagram", never, { "uuid": { "alias": "uuid"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "diagramModel": { "alias": "diagramModel"; "required": false; }; "options": { "alias": "options"; "required": false; }; "plugins": { "alias": "plugins"; "required": false; }; }, { "elementSelect": "elementSelect"; "canvasClick": "canvasClick"; "dataClick": "dataClick"; }, never, never, false, never>;
41
43
  }
@@ -74,6 +74,11 @@ export interface SmartWidgetDefinition {
74
74
  * Optional css class of the label of the widget
75
75
  */
76
76
  cssLabelClass?: string;
77
+ isFloatLabel?: boolean;
78
+ /**
79
+ * Optional css class of the label direction
80
+ */
81
+ labelPositionClass?: string;
77
82
  style?: Style;
78
83
  labelStyle?: Style;
79
84
  /**
@@ -21,6 +21,8 @@ export interface SmartTextField<T> {
21
21
  validators?: SmartValidator[];
22
22
  cssClass?: string;
23
23
  cssLabelClass?: string;
24
+ labelPositionClass?: string;
25
+ isFloatLabel?: boolean;
24
26
  style?: Style;
25
27
  labelStyle?: Style;
26
28
  isPassword?: boolean;
@@ -66,6 +68,8 @@ export interface SmartTextFieldNumber<T> {
66
68
  validators?: SmartValidator[];
67
69
  cssClass?: string;
68
70
  cssLabelClass?: string;
71
+ labelPositionClass?: string;
72
+ isFloatLabel?: boolean;
69
73
  style?: Style;
70
74
  labelStyle?: Style;
71
75
  textFieldButton?: SmartFormTextFieldButton;
@@ -98,6 +102,8 @@ export interface SmartTextFieldChips<T> {
98
102
  validators?: SmartValidator[];
99
103
  cssClass?: string;
100
104
  cssLabelClass?: string;
105
+ labelPositionClass?: string;
106
+ isFloatLabel?: boolean;
101
107
  style?: Style;
102
108
  labelStyle?: Style;
103
109
  isVisible?: boolean;
@@ -128,6 +134,8 @@ export interface SmartTextFieldLookup<T> {
128
134
  validators?: SmartValidator[];
129
135
  cssClass?: string;
130
136
  cssLabelClass?: string;
137
+ labelPositionClass?: string;
138
+ isFloatLabel?: boolean;
131
139
  style?: Style;
132
140
  labelStyle?: Style;
133
141
  isVisible?: boolean;
@@ -158,6 +166,8 @@ export interface SmartTextBox<T> {
158
166
  validators?: SmartValidator[];
159
167
  cssClass?: string;
160
168
  cssLabelClass?: string;
169
+ labelPositionClass?: string;
170
+ isFloatLabel?: boolean;
161
171
  style?: Style;
162
172
  labelStyle?: Style;
163
173
  isVisible?: boolean;
@@ -186,6 +196,8 @@ export interface SmartSelect<T> {
186
196
  validators?: SmartValidator[];
187
197
  cssClass?: string;
188
198
  cssLabelClass?: string;
199
+ labelPositionClass?: string;
200
+ isFloatLabel?: boolean;
189
201
  style?: Style;
190
202
  labelStyle?: Style;
191
203
  isVisible?: boolean;
@@ -214,6 +226,8 @@ export interface SmartSelectMultiple<T> {
214
226
  validators?: SmartValidator[];
215
227
  cssClass?: string;
216
228
  cssLabelClass?: string;
229
+ labelPositionClass?: string;
230
+ isFloatLabel?: boolean;
217
231
  style?: Style;
218
232
  labelStyle?: Style;
219
233
  placeholder?: string;
@@ -243,6 +257,8 @@ export interface SmartCheckBox<T> {
243
257
  validators?: SmartValidator[];
244
258
  cssClass?: string;
245
259
  cssLabelClass?: string;
260
+ labelPositionClass?: string;
261
+ isFloatLabel?: boolean;
246
262
  style?: Style;
247
263
  labelStyle?: Style;
248
264
  isVisible?: boolean;
@@ -271,6 +287,8 @@ export interface SmartCheckBox2<T> {
271
287
  validators?: SmartValidator[];
272
288
  cssClass?: string;
273
289
  cssLabelClass?: string;
290
+ labelPositionClass?: string;
291
+ isFloatLabel?: boolean;
274
292
  style?: Style;
275
293
  labelStyle?: Style;
276
294
  isVisible?: boolean;
@@ -299,6 +317,8 @@ export interface SmartRadioButton<T> {
299
317
  validators?: SmartValidator[];
300
318
  cssClass?: string;
301
319
  cssLabelClass?: string;
320
+ labelPositionClass?: string;
321
+ isFloatLabel?: boolean;
302
322
  style?: Style;
303
323
  labelStyle?: Style;
304
324
  isVisible?: boolean;
@@ -328,6 +348,8 @@ export interface SmartDatePicker<T> {
328
348
  validators?: SmartValidator[];
329
349
  cssClass?: string;
330
350
  cssLabelClass?: string;
351
+ labelPositionClass?: string;
352
+ isFloatLabel?: boolean;
331
353
  style?: Style;
332
354
  labelStyle?: Style;
333
355
  isVisible?: boolean;
@@ -358,6 +380,8 @@ export interface SmartDateTimePicker<T> {
358
380
  validators?: SmartValidator[];
359
381
  cssClass?: string;
360
382
  cssLabelClass?: string;
383
+ labelPositionClass?: string;
384
+ isFloatLabel?: boolean;
361
385
  style?: Style;
362
386
  labelStyle?: Style;
363
387
  isVisible?: boolean;
@@ -408,6 +432,8 @@ export interface SmartTime<T> {
408
432
  isVisible?: boolean;
409
433
  cssClass?: string;
410
434
  cssLabelClass?: string;
435
+ labelPositionClass?: string;
436
+ isFloatLabel?: boolean;
411
437
  style?: Style;
412
438
  labelStyle?: Style;
413
439
  isDisabled?: boolean;
@@ -433,6 +459,8 @@ export interface SmartToggle<T> {
433
459
  isVisible?: boolean;
434
460
  cssClass?: string;
435
461
  cssLabelClass?: string;
462
+ labelPositionClass?: string;
463
+ isFloatLabel?: boolean;
436
464
  style?: Style;
437
465
  labelStyle?: Style;
438
466
  isDisabled?: boolean;
@@ -458,6 +486,8 @@ export interface SmartIndicatorItem {
458
486
  isVisible?: boolean;
459
487
  cssClass?: string;
460
488
  cssLabelClass?: string;
489
+ labelPositionClass?: string;
490
+ isFloatLabel?: boolean;
461
491
  style?: Style;
462
492
  labelStyle?: Style;
463
493
  }
@@ -468,6 +498,8 @@ export interface SmartItem<T> {
468
498
  valueChangeMode?: ValueChangeMode;
469
499
  label: string;
470
500
  cssLabelClass?: string;
501
+ labelPositionClass?: string;
502
+ isFloatLabel?: boolean;
471
503
  style?: Style;
472
504
  labelStyle?: Style;
473
505
  originalLabel?: string;
@@ -483,6 +515,8 @@ export interface SmartItemGroup<T> {
483
515
  valueChangeMode?: ValueChangeMode;
484
516
  label: string;
485
517
  cssLabelClass?: string;
518
+ labelPositionClass?: string;
519
+ isFloatLabel?: boolean;
486
520
  style?: Style;
487
521
  labelStyle?: Style;
488
522
  originalLabel?: string;
@@ -502,6 +536,8 @@ export interface SmartFileUploader {
502
536
  isVisible?: boolean;
503
537
  cssClass?: string;
504
538
  cssLabelClass?: string;
539
+ labelPositionClass?: string;
540
+ isFloatLabel?: boolean;
505
541
  style?: Style;
506
542
  labelStyle?: Style;
507
543
  fileFormats?: string[];
@@ -520,6 +556,8 @@ export interface SmartImage {
520
556
  isVisible?: boolean;
521
557
  cssClass?: string;
522
558
  cssLabelClass?: string;
559
+ labelPositionClass?: string;
560
+ isFloatLabel?: boolean;
523
561
  style?: Style;
524
562
  labelStyle?: Style;
525
563
  value?: ImageResource;
@@ -536,6 +574,8 @@ export interface SmartDivider {
536
574
  isVisible?: boolean;
537
575
  cssClass?: string;
538
576
  cssLabelClass?: string;
577
+ labelPositionClass?: string;
578
+ isFloatLabel?: boolean;
539
579
  style?: Style;
540
580
  labelStyle?: Style;
541
581
  value?: string;
@@ -550,6 +590,8 @@ export interface SmartButton {
550
590
  isVisible?: boolean;
551
591
  cssClass?: string;
552
592
  cssLabelClass?: string;
593
+ labelPositionClass?: string;
594
+ isFloatLabel?: boolean;
553
595
  style?: Style;
554
596
  labelStyle?: Style;
555
597
  value?: string;
@@ -567,6 +609,8 @@ export interface SmartFormInlineComponent {
567
609
  isVisible?: boolean;
568
610
  cssClass?: string;
569
611
  cssLabelClass?: string;
612
+ labelPositionClass?: string;
613
+ isFloatLabel?: boolean;
570
614
  style?: Style;
571
615
  labelStyle?: Style;
572
616
  component: any;
@@ -586,6 +630,8 @@ export interface SmartRichText {
586
630
  isVisible?: boolean;
587
631
  cssClass?: string;
588
632
  cssLabelClass?: string;
633
+ labelPositionClass?: string;
634
+ isFloatLabel?: boolean;
589
635
  style?: Style;
590
636
  labelStyle?: Style;
591
637
  isDisabled?: boolean;
@@ -612,6 +658,8 @@ export interface SmartSortable<T> {
612
658
  isVisible?: boolean;
613
659
  cssClass?: string;
614
660
  cssLabelClass?: string;
661
+ labelPositionClass?: string;
662
+ isFloatLabel?: boolean;
615
663
  style?: Style;
616
664
  labelStyle?: Style;
617
665
  isDisabled?: boolean;
@@ -640,6 +688,8 @@ export interface SmartMatrix {
640
688
  isVisible?: boolean;
641
689
  cssClass?: string;
642
690
  cssLabelClass?: string;
691
+ labelPositionClass?: string;
692
+ isFloatLabel?: boolean;
643
693
  style?: Style;
644
694
  labelStyle?: Style;
645
695
  isDisabled?: boolean;
@@ -672,6 +722,8 @@ export interface SmartYoutubePlayer {
672
722
  endSeconds?: number;
673
723
  cssClass?: string;
674
724
  cssLabelClass?: string;
725
+ labelPositionClass?: string;
726
+ isFloatLabel?: boolean;
675
727
  style?: Style;
676
728
  labelStyle?: Style;
677
729
  isVisible?: boolean;
@@ -696,6 +748,8 @@ export interface SmartMonthPicker {
696
748
  serverErrorColor?: string;
697
749
  cssClass?: string;
698
750
  cssLabelClass?: string;
751
+ labelPositionClass?: string;
752
+ isFloatLabel?: boolean;
699
753
  style?: Style;
700
754
  labelStyle?: Style;
701
755
  isVisible?: boolean;
@@ -713,6 +767,8 @@ export interface SmartSvg {
713
767
  isVisible?: boolean;
714
768
  cssClass?: string;
715
769
  cssLabelClass?: string;
770
+ labelPositionClass?: string;
771
+ isFloatLabel?: boolean;
716
772
  style?: Style;
717
773
  labelStyle?: Style;
718
774
  value?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "4.2.135",
3
+ "version": "4.2.137",
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