@smartbit4all/ng-client 7.2.11 → 7.2.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "7.2.11",
3
+ "version": "7.2.12",
4
4
  "description": "Angular client library for the smartbit4all platform — a server-driven UI framework that renders views, pages, forms, grids, trees and dialogs from backend (ViewApi/PageApi) definitions. Provides reactive view-context state management, dynamic component layouts and OpenAPI-generated BFF clients.",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -18,7 +18,11 @@
18
18
  "quill": "^2.0.3",
19
19
  "rxjs": "^7.5.7",
20
20
  "copyfiles": "^2.4.1",
21
- "wavesurfer.js": "^7.9.5"
21
+ "wavesurfer.js": "^7.9.5",
22
+ "chart.js": "^4.4.7",
23
+ "chartjs-plugin-annotation": "^3.1.0",
24
+ "chartjs-plugin-zoom": "^2.2.0",
25
+ "chartjs-plugin-datalabels": "^2.2.0"
22
26
  },
23
27
  "dependencies": {
24
28
  "tslib": "^2.3.0"
@@ -285,6 +285,7 @@ interface DiagramDescriptor {
285
285
  */
286
286
  type?: string;
287
287
  title?: LabelText;
288
+ subTitle?: LabelText;
288
289
  /**
289
290
  * Specifies the starting point for rendering the chart\'s X-axis. For example, if the minimum X value in the dataset is -30 and this property is set to -35, an extra \"padding\" of 5 units will be added below the lowest data point.
290
291
  */
@@ -316,6 +317,7 @@ interface DiagramDescriptor {
316
317
  backgroundColor?: DiagramColor;
317
318
  shapes?: Array<DiagramShape>;
318
319
  maintainAspectRatio?: boolean;
320
+ showDataLabels?: boolean;
319
321
  style?: Style;
320
322
  }
321
323
 
@@ -10320,7 +10322,7 @@ declare class SmartDiagramComponent {
10320
10322
  handleOnDataClicked(event: any): void;
10321
10323
  getBase64Image(): string | undefined;
10322
10324
  refresh(): void | undefined;
10323
- getChart(): Chart<keyof chart_js.ChartTypeRegistry, (number | chart_js.Point | [number, number] | chart_js.BubbleDataPoint | null)[], unknown> | undefined;
10325
+ getChart(): Chart<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint | null)[], unknown> | undefined;
10324
10326
  getVisiblePoints(): any;
10325
10327
  applyChartClass(): void;
10326
10328
  calcStyle(style?: Style): any;
Binary file