@bizy/core 20.3.1 → 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/fesm2022/bizy-core.mjs +75 -43
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/index.d.ts +11 -2
- package/package.json +1 -1
- package/styles/variables.css +7 -0
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
|
-
|
|
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
package/styles/variables.css
CHANGED
|
@@ -163,6 +163,13 @@
|
|
|
163
163
|
--bizy-menu-scroll-bar-color: var(--bizy-default-color);
|
|
164
164
|
--bizy-menu-scroll-bar-hover-color: #999;
|
|
165
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
|
+
|
|
166
173
|
--bizy-popup-background-color: #fff;
|
|
167
174
|
--bizy-popup-min-width: 20rem;
|
|
168
175
|
--bizy-popup-width: fit-content;
|