@testgorilla/tgo-ui 3.9.5-beta-20.0.3 → 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,10 +28,10 @@ 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';
34
- import * as i2$1 from 'node_modules/ng2-charts/lib/base-chart.directive';
32
+ import { Color as Color$1, Plugin, ChartType, ChartOptions, ChartData, Chart } from 'chart.js';
33
+ import * as i4$2 from 'ng2-charts';
34
+ import { BaseChartDirective } from 'ng2-charts';
35
35
  import { CdkTextareaAutosize } from '@angular/cdk/text-field';
36
36
  import * as i3$5 from '@angular/material/form-field';
37
37
  import { FloatLabelType } from '@angular/material/form-field';
@@ -59,18 +59,16 @@ import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent }
59
59
  import * as i11 from '@angular/material/chips';
60
60
  import * as _angular_material_paginator from '@angular/material/paginator';
61
61
  import { PageEvent, MatPaginatorSelectConfig } from '@angular/material/paginator';
62
- import * as i4$2 from '@angular/material/table';
62
+ import * as i4$3 from '@angular/material/table';
63
63
  import { MatTableDataSource } from '@angular/material/table';
64
64
  import * as i9$1 from '@angular/material/sort';
65
65
  import { Sort as Sort$1 } from '@angular/material/sort';
66
66
  import { NgxSkeletonLoaderConfig, NgxSkeletonLoaderConfigTheme } from 'ngx-skeleton-loader';
67
67
  import * as i3$7 from '@angular/material/divider';
68
- import * as i4$3 from '@angular/material/tabs';
68
+ import * as i4$4 from '@angular/material/tabs';
69
69
  import { MatTabGroup, MatTabChangeEvent } from '@angular/material/tabs';
70
70
  import * as i3$8 from '@angular/material/button-toggle';
71
71
  import * as i9$2 from 'ngx-mat-select-search';
72
- import * as i7$3 from 'ng2-charts';
73
- import { BaseChartDirective } from 'ng2-charts';
74
72
  import gaussian from 'gaussian';
75
73
 
76
74
  type ApplicationTheme = 'dark' | 'light' | 'classic';
@@ -1577,6 +1575,7 @@ type DonutChartData = {
1577
1575
  backgroundColor?: Color$1[];
1578
1576
  };
1579
1577
 
1578
+ type CustomChartPlugin = Plugin<ChartType, {}>;
1580
1579
  declare class DonutChartComponent {
1581
1580
  donutChartData: i0.InputSignal<DonutChartData | undefined>;
1582
1581
  applicationTheme: i0.InputSignal<ApplicationTheme>;
@@ -1588,21 +1587,9 @@ declare class DonutChartComponent {
1588
1587
  borderWidth: number;
1589
1588
  }[];
1590
1589
  }>;
1591
- centerTextPlugin: {
1592
- id: string;
1593
- beforeDraw: (chart: any) => void;
1594
- };
1595
- labelLinePlugin: {
1596
- id: string;
1597
- afterDatasetDraw: (chart: any) => void;
1598
- };
1599
- donutChartPlugins: ({
1600
- id: string;
1601
- beforeDraw: (chart: any) => void;
1602
- } | {
1603
- id: string;
1604
- afterDatasetDraw: (chart: any) => void;
1605
- } | chart_js.Plugin<keyof chart_js.ChartTypeRegistry, node_modules_chart_js_dist_types_basic.AnyObject>)[];
1590
+ centerTextPlugin: CustomChartPlugin;
1591
+ labelLinePlugin: CustomChartPlugin;
1592
+ donutChartPlugins: CustomChartPlugin[];
1606
1593
  donutChartOptions: ChartOptions<'doughnut'>;
1607
1594
  static ɵfac: i0.ɵɵFactoryDeclaration<DonutChartComponent, never>;
1608
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>;
@@ -1610,7 +1597,7 @@ declare class DonutChartComponent {
1610
1597
 
1611
1598
  declare class DonutChartComponentModule {
1612
1599
  static ɵfac: i0.ɵɵFactoryDeclaration<DonutChartComponentModule, never>;
1613
- static ɵmod: i0.ɵɵNgModuleDeclaration<DonutChartComponentModule, [typeof DonutChartComponent], [typeof i2$1.BaseChartDirective], [typeof DonutChartComponent]>;
1600
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DonutChartComponentModule, [typeof DonutChartComponent], [typeof i4$2.NgChartsModule], [typeof DonutChartComponent]>;
1614
1601
  static ɵinj: i0.ɵɵInjectorDeclaration<DonutChartComponentModule>;
1615
1602
  }
1616
1603
 
@@ -5480,7 +5467,7 @@ declare class DynamicComponentDirective implements OnDestroy {
5480
5467
 
5481
5468
  declare class TableComponentModule {
5482
5469
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponentModule, never>;
5483
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule, [typeof TableComponent, typeof SentenceCasePipe], [typeof i2.CommonModule, typeof i4$2.MatTableModule, typeof i5.MatTooltipModule, typeof SkeletonComponent, typeof PaginatorComponentModule, typeof ButtonComponentModule, typeof i9$1.MatSortModule, typeof IconComponentModule, typeof EllipseTextDirective, typeof DynamicComponentDirective, typeof DataPropertyGetterPipe, typeof MemoizeFuncPipe], [typeof TableComponent]>;
5470
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule, [typeof TableComponent, typeof SentenceCasePipe], [typeof i2.CommonModule, typeof i4$3.MatTableModule, typeof i5.MatTooltipModule, typeof SkeletonComponent, typeof PaginatorComponentModule, typeof ButtonComponentModule, typeof i9$1.MatSortModule, typeof IconComponentModule, typeof EllipseTextDirective, typeof DynamicComponentDirective, typeof DataPropertyGetterPipe, typeof MemoizeFuncPipe], [typeof TableComponent]>;
5484
5471
  static ɵinj: i0.ɵɵInjectorDeclaration<TableComponentModule>;
5485
5472
  }
5486
5473
 
@@ -5889,7 +5876,7 @@ declare class TabsComponent {
5889
5876
 
5890
5877
  declare class TabsComponentModule {
5891
5878
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponentModule, never>;
5892
- static ɵmod: i0.ɵɵNgModuleDeclaration<TabsComponentModule, [typeof TabsComponent], [typeof TabDirective, typeof i2.CommonModule, typeof i4$3.MatTabsModule, typeof IconComponentModule, typeof UiTranslatePipe, typeof SkeletonComponent], [typeof TabsComponent, typeof TabDirective]>;
5879
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TabsComponentModule, [typeof TabsComponent], [typeof TabDirective, typeof i2.CommonModule, typeof i4$4.MatTabsModule, typeof IconComponentModule, typeof UiTranslatePipe, typeof SkeletonComponent], [typeof TabsComponent, typeof TabDirective]>;
5893
5880
  static ɵinj: i0.ɵɵInjectorDeclaration<TabsComponentModule>;
5894
5881
  }
5895
5882
 
@@ -6656,7 +6643,7 @@ declare class SpiderChartComponent implements OnInit {
6656
6643
 
6657
6644
  declare class SpiderChartComponentModule {
6658
6645
  static ɵfac: i0.ɵɵFactoryDeclaration<SpiderChartComponentModule, never>;
6659
- static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderChartComponentModule, [typeof SpiderChartComponent], [typeof i2.NgClass, typeof UiTranslatePipe, typeof i5.MatTooltipModule, typeof UiTranslatePipe, typeof MemoizeFuncPipe, typeof SpinnerComponentModule, typeof i2.CommonModule, typeof i7$3.BaseChartDirective], [typeof SpiderChartComponent]>;
6646
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderChartComponentModule, [typeof SpiderChartComponent], [typeof i2.NgClass, typeof UiTranslatePipe, typeof i4$2.NgChartsModule, typeof i5.MatTooltipModule, typeof UiTranslatePipe, typeof MemoizeFuncPipe, typeof SpinnerComponentModule, typeof i2.CommonModule], [typeof SpiderChartComponent]>;
6660
6647
  static ɵinj: i0.ɵɵInjectorDeclaration<SpiderChartComponentModule>;
6661
6648
  }
6662
6649
 
@@ -6854,7 +6841,7 @@ declare class GaussianChartComponent implements OnInit {
6854
6841
 
6855
6842
  declare class GaussianChartComponentModule {
6856
6843
  static ɵfac: i0.ɵɵFactoryDeclaration<GaussianChartComponentModule, never>;
6857
- static ɵmod: i0.ɵɵNgModuleDeclaration<GaussianChartComponentModule, [typeof GaussianChartComponent], [typeof i2.NgClass, typeof UiTranslatePipe, typeof i5.MatTooltipModule, typeof i2.CommonModule, typeof IconComponentModule, typeof MemoizeFuncPipe, typeof i7$3.BaseChartDirective], [typeof GaussianChartComponent]>;
6844
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GaussianChartComponentModule, [typeof GaussianChartComponent], [typeof i2.NgClass, typeof UiTranslatePipe, typeof i4$2.NgChartsModule, typeof i5.MatTooltipModule, typeof i2.CommonModule, typeof IconComponentModule, typeof MemoizeFuncPipe], [typeof GaussianChartComponent]>;
6858
6845
  static ɵinj: i0.ɵɵInjectorDeclaration<GaussianChartComponentModule>;
6859
6846
  }
6860
6847
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testgorilla/tgo-ui",
3
- "version": "3.9.5-beta-20.0.3",
3
+ "version": "3.9.5-beta-20.0.5",
4
4
  "license": "proprietary-license",
5
5
  "lint-staged": {
6
6
  "src/**/*.ts": [
@@ -31,7 +31,7 @@
31
31
  "chartjs-plugin-datalabels": "^2.2.0",
32
32
  "gaussian": "^1.3.0",
33
33
  "libphonenumber-js": "^1.10.59",
34
- "ng2-charts": "^8.0.0",
34
+ "ng2-charts": "^5.0.4",
35
35
  "ngx-mask": "^19.0.6",
36
36
  "ngx-mat-select-search": "^8.0.2",
37
37
  "ngx-skeleton-loader": "^8.1.0",