@bizy/core 20.5.1 → 20.5.3
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 +6 -6
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/index.d.ts +5 -2
- package/package.json +1 -1
package/fesm2022/bizy-core.mjs
CHANGED
|
@@ -4045,8 +4045,8 @@ class BizyPieChartComponent {
|
|
|
4045
4045
|
#ref = inject(ChangeDetectorRef);
|
|
4046
4046
|
#renderer = inject(Renderer2);
|
|
4047
4047
|
resizeRef = null;
|
|
4048
|
-
centerLabel = null;
|
|
4049
4048
|
type = 'pie';
|
|
4049
|
+
centerLabel = null;
|
|
4050
4050
|
legend = null;
|
|
4051
4051
|
download = null;
|
|
4052
4052
|
label = null;
|
|
@@ -4202,8 +4202,8 @@ class BizyPieChartComponent {
|
|
|
4202
4202
|
left: 'center',
|
|
4203
4203
|
top: 'center',
|
|
4204
4204
|
style: {
|
|
4205
|
-
text: this.centerLabel,
|
|
4206
|
-
fill: centerLabelColor,
|
|
4205
|
+
text: String(this.centerLabel.value),
|
|
4206
|
+
fill: this.centerLabel.color || centerLabelColor,
|
|
4207
4207
|
textAlign: 'center',
|
|
4208
4208
|
fontSize,
|
|
4209
4209
|
fontWeight: 'bold'
|
|
@@ -4287,7 +4287,7 @@ class BizyPieChartComponent {
|
|
|
4287
4287
|
}
|
|
4288
4288
|
}
|
|
4289
4289
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: BizyPieChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4290
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.5", type: BizyPieChartComponent, isStandalone: true, selector: "bizy-pie-chart", inputs: { resizeRef: "resizeRef",
|
|
4290
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.5", type: BizyPieChartComponent, isStandalone: true, selector: "bizy-pie-chart", inputs: { resizeRef: "resizeRef", type: "type", centerLabel: "centerLabel", legend: "legend", download: "download", label: "label", tooltip: "tooltip", data: "data" }, outputs: { onSelect: "onSelect", onDownload: "onDownload" }, ngImport: i0, template: '', isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4291
4291
|
}
|
|
4292
4292
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: BizyPieChartComponent, decorators: [{
|
|
4293
4293
|
type: Component,
|
|
@@ -4299,10 +4299,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImpor
|
|
|
4299
4299
|
}]
|
|
4300
4300
|
}], propDecorators: { resizeRef: [{
|
|
4301
4301
|
type: Input
|
|
4302
|
-
}], centerLabel: [{
|
|
4303
|
-
type: Input
|
|
4304
4302
|
}], type: [{
|
|
4305
4303
|
type: Input
|
|
4304
|
+
}], centerLabel: [{
|
|
4305
|
+
type: Input
|
|
4306
4306
|
}], legend: [{
|
|
4307
4307
|
type: Input
|
|
4308
4308
|
}], download: [{
|