@bizy/core 20.3.0 → 20.3.2

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
@@ -875,9 +875,18 @@ declare class BizyPieChartComponent {
875
875
  #private;
876
876
  resizeRef: HTMLElement | null;
877
877
  tooltip: boolean;
878
+ centerLabel: string | null;
878
879
  type: 'pie' | 'donut';
880
+ legend: {
881
+ show?: boolean;
882
+ orient?: 'vertical' | 'horizontal';
883
+ position?: {
884
+ x: 'left' | 'right' | 'center';
885
+ y: 'top' | 'bottom' | 'center';
886
+ };
887
+ } | null;
879
888
  download: {
880
- hide?: boolean;
889
+ show?: boolean;
881
890
  label: string;
882
891
  name: string;
883
892
  };
@@ -890,7 +899,7 @@ declare class BizyPieChartComponent {
890
899
  set data(data: Array<IBizyPieChartData>);
891
900
  ngOnDestroy(): void;
892
901
  static ɵfac: i0.ɵɵFactoryDeclaration<BizyPieChartComponent, never>;
893
- static ɵcmp: i0.ɵɵComponentDeclaration<BizyPieChartComponent, "bizy-pie-chart", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "type": { "alias": "type"; "required": false; }; "download": { "alias": "download"; "required": false; }; "onLabelFormatter": { "alias": "onLabelFormatter"; "required": false; }; "onTooltipFormatter": { "alias": "onTooltipFormatter"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onSelect": "onSelect"; "onDownload": "onDownload"; }, never, never, true, never>;
902
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizyPieChartComponent, "bizy-pie-chart", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "centerLabel": { "alias": "centerLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "legend": { "alias": "legend"; "required": false; }; "download": { "alias": "download"; "required": false; }; "onLabelFormatter": { "alias": "onLabelFormatter"; "required": false; }; "onTooltipFormatter": { "alias": "onTooltipFormatter"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onSelect": "onSelect"; "onDownload": "onDownload"; }, never, never, true, never>;
894
903
  }
895
904
 
896
905
  declare class BizyPieChartModule {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizy/core",
3
- "version": "20.3.0",
3
+ "version": "20.3.2",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^20.0.0",
6
6
  "@angular/common": "^20.0.0",
@@ -82,6 +82,9 @@
82
82
 
83
83
  --bizy-content-padding: 0.5rem;
84
84
  --bizy-content-row-gap: 0.7rem;
85
+ --bizy-content-width: auto;
86
+ --bizy-content-height: auto;
87
+ --bizy-content-flex-direction: column;
85
88
 
86
89
  --bizy-copy-to-clipboard-default-color: #2484c6;
87
90
  --bizy-copy-to-clipboard-success-color: #5fbc5a;
@@ -160,6 +163,13 @@
160
163
  --bizy-menu-scroll-bar-color: var(--bizy-default-color);
161
164
  --bizy-menu-scroll-bar-hover-color: #999;
162
165
 
166
+ --bizy-pie-chart-tooltip-color: #000;
167
+ --bizy-pie-chart-tooltip-background-color: #fff;
168
+ --bizy-pie-chart-tooltip-border-color: #fff;
169
+ --bizy-pie-chart-center-label-color: #000;
170
+ --bizy-pie-chart-width: 0;
171
+ --bizy-pie-chart-height: 0;
172
+
163
173
  --bizy-popup-background-color: #fff;
164
174
  --bizy-popup-min-width: 20rem;
165
175
  --bizy-popup-width: fit-content;