@testgorilla/tgo-ui 3.9.5-beta-20.0.2 → 3.9.5-beta-20.0.5

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/index.d.ts CHANGED
@@ -28,9 +28,8 @@ import * as i4$1 from '@angular/material/input';
28
28
  import * as i3$4 from '@angular/material/dialog';
29
29
  import { MatDialogRef, MatDialog, MatDialogConfig } from '@angular/material/dialog';
30
30
  import { ComponentType } from '@angular/cdk/portal';
31
- import * as node_modules_chart_js_dist_types_basic from 'node_modules/chart.js/dist/types/basic';
32
31
  import * as chart_js from 'chart.js';
33
- import { Color as Color$1, ChartOptions, ChartData, Chart } from 'chart.js';
32
+ import { Color as Color$1, Plugin, ChartType, ChartOptions, ChartData, Chart } from 'chart.js';
34
33
  import * as i4$2 from 'ng2-charts';
35
34
  import { BaseChartDirective } from 'ng2-charts';
36
35
  import { CdkTextareaAutosize } from '@angular/cdk/text-field';
@@ -1576,6 +1575,7 @@ type DonutChartData = {
1576
1575
  backgroundColor?: Color$1[];
1577
1576
  };
1578
1577
 
1578
+ type CustomChartPlugin = Plugin<ChartType, {}>;
1579
1579
  declare class DonutChartComponent {
1580
1580
  donutChartData: i0.InputSignal<DonutChartData | undefined>;
1581
1581
  applicationTheme: i0.InputSignal<ApplicationTheme>;
@@ -1587,21 +1587,9 @@ declare class DonutChartComponent {
1587
1587
  borderWidth: number;
1588
1588
  }[];
1589
1589
  }>;
1590
- centerTextPlugin: {
1591
- id: string;
1592
- beforeDraw: (chart: any) => void;
1593
- };
1594
- labelLinePlugin: {
1595
- id: string;
1596
- afterDatasetDraw: (chart: any) => void;
1597
- };
1598
- donutChartPlugins: ({
1599
- id: string;
1600
- beforeDraw: (chart: any) => void;
1601
- } | {
1602
- id: string;
1603
- afterDatasetDraw: (chart: any) => void;
1604
- } | chart_js.Plugin<keyof chart_js.ChartTypeRegistry, node_modules_chart_js_dist_types_basic.AnyObject>)[];
1590
+ centerTextPlugin: CustomChartPlugin;
1591
+ labelLinePlugin: CustomChartPlugin;
1592
+ donutChartPlugins: CustomChartPlugin[];
1605
1593
  donutChartOptions: ChartOptions<'doughnut'>;
1606
1594
  static ɵfac: i0.ɵɵFactoryDeclaration<DonutChartComponent, never>;
1607
1595
  static ɵcmp: i0.ɵɵComponentDeclaration<DonutChartComponent, "ui-donut-chart", never, { "donutChartData": { "alias": "donutChartData"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testgorilla/tgo-ui",
3
- "version": "3.9.5-beta-20.0.2",
3
+ "version": "3.9.5-beta-20.0.5",
4
4
  "license": "proprietary-license",
5
5
  "lint-staged": {
6
6
  "src/**/*.ts": [