@sdcorejs/angular 20.2.8 → 20.2.9
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/README.md +4 -2
- package/components/form-generic/index.d.ts +1 -0
- package/components/index.d.ts +0 -1
- package/components/query-builder/index.d.ts +3 -0
- package/components/table/index.d.ts +1 -1
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs +4 -4
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-modal.mjs +2 -2
- package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-query-builder.mjs +35 -2
- package/fesm2022/sdcorejs-angular-components-query-builder.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-side-drawer.mjs +2 -2
- package/fesm2022/sdcorejs-angular-components-side-drawer.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-tab.mjs +2 -2
- package/fesm2022/sdcorejs-angular-components-tab.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-table.mjs +214 -75
- package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components.mjs +0 -1
- package/fesm2022/sdcorejs-angular-components.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-directives.mjs +49 -11
- package/fesm2022/sdcorejs-angular-directives.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-switch.mjs +5 -3
- package/fesm2022/sdcorejs-angular-forms-switch.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-i18n.mjs +5 -0
- package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-modules-layout.mjs +41 -10
- package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
- package/forms/switch/index.d.ts +3 -2
- package/i18n/index.d.ts +1 -0
- package/modules/layout/index.d.ts +7 -1
- package/package.json +1 -7
- package/components/chart/index.d.ts +0 -65
- package/fesm2022/sdcorejs-angular-components-chart.mjs +0 -290
- package/fesm2022/sdcorejs-angular-components-chart.mjs.map +0 -1
package/forms/switch/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _sdcorejs_angular_forms_models from '@sdcorejs/angular/forms/models'
|
|
|
2
2
|
import { SdFormControl, ɵSdFormControlParent as _SdFormControlParent, SdViewed, SdViewedInput } from '@sdcorejs/angular/forms/models';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
4
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
5
|
-
import { Color } from '@sdcorejs/utils/models';
|
|
5
|
+
import { Size, Color } from '@sdcorejs/utils/models';
|
|
6
6
|
|
|
7
7
|
declare class SdSwitch implements OnInit, OnDestroy {
|
|
8
8
|
#private;
|
|
@@ -12,6 +12,7 @@ declare class SdSwitch implements OnInit, OnDestroy {
|
|
|
12
12
|
readonly name: _angular_core.InputSignalWithTransform<string | undefined, string | null | undefined>;
|
|
13
13
|
readonly form: _angular_core.InputSignal<_SdFormControlParent>;
|
|
14
14
|
readonly label: _angular_core.InputSignalWithTransform<string | undefined, string | null | undefined>;
|
|
15
|
+
readonly size: _angular_core.InputSignal<Size>;
|
|
15
16
|
readonly color: _angular_core.InputSignalWithTransform<Color, Color | null | undefined>;
|
|
16
17
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
17
18
|
/** Display mode: `false` edit · `true` static view · `'inline'` interactive (disabled `'inline'` → static). */
|
|
@@ -35,7 +36,7 @@ declare class SdSwitch implements OnInit, OnDestroy {
|
|
|
35
36
|
ngOnInit(): void;
|
|
36
37
|
ngOnDestroy(): void;
|
|
37
38
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdSwitch, never>;
|
|
38
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdSwitch, "sd-switch", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "viewed": { "alias": "viewed"; "required": false; "isSignal": true; }; "hideInlineError": { "alias": "hideInlineError"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "model": { "alias": "model"; "required": false; "isSignal": true; }; }, { "model": "modelChange"; "sdChange": "sdChange"; }, never, never, true, never>;
|
|
39
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdSwitch, "sd-switch", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "viewed": { "alias": "viewed"; "required": false; "isSignal": true; }; "hideInlineError": { "alias": "hideInlineError"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "model": { "alias": "model"; "required": false; "isSignal": true; }; }, { "model": "modelChange"; "sdChange": "sdChange"; }, never, never, true, never>;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
export { SdSwitch };
|
package/i18n/index.d.ts
CHANGED
|
@@ -367,6 +367,7 @@ declare const EN_MESSAGES: {
|
|
|
367
367
|
readonly 'core.component.form-builder.group-children': "Children";
|
|
368
368
|
readonly 'core.component.form-builder.group-icon': "Icon";
|
|
369
369
|
readonly 'core.component.form-builder.group-accent-color': "Accent color";
|
|
370
|
+
readonly 'core.component.form-builder.collapsible': "Allow expand/collapse";
|
|
370
371
|
readonly 'core.component.form-builder.group-no-children': "No fields yet. Add or drag fields into this group.";
|
|
371
372
|
readonly 'core.component.form-builder.break': "Break";
|
|
372
373
|
readonly 'core.component.code-editor.copied': "Copied!";
|
|
@@ -411,6 +411,8 @@ interface SdLayoutMenuTreeNode {
|
|
|
411
411
|
showIcon: boolean;
|
|
412
412
|
isRoot: boolean;
|
|
413
413
|
isGroup: boolean;
|
|
414
|
+
isCollapsible: boolean;
|
|
415
|
+
isExpanded: boolean;
|
|
414
416
|
isActive: boolean;
|
|
415
417
|
isPinned: boolean;
|
|
416
418
|
isPinVisible: boolean;
|
|
@@ -427,6 +429,8 @@ declare class SdLayoutMenuTreeComponent {
|
|
|
427
429
|
pinVisibility: _angular_core.InputSignal<"hover" | "always">;
|
|
428
430
|
/** V3 hierarchy and flat shortcuts are opt-in; V2/mobile retain the default presentation. */
|
|
429
431
|
presentation: _angular_core.InputSignal<"default" | "hierarchy" | "shortcuts">;
|
|
432
|
+
collapsible: _angular_core.InputSignal<boolean>;
|
|
433
|
+
collapsedGroupKeys: _angular_core.ModelSignal<string[]>;
|
|
430
434
|
structured: _angular_core.Signal<boolean>;
|
|
431
435
|
iconFontSet: _angular_core.Signal<"material-icons-outlined" | undefined>;
|
|
432
436
|
navigate: _angular_core.OutputEmitterRef<SdLayoutRootMenu>;
|
|
@@ -434,11 +438,12 @@ declare class SdLayoutMenuTreeComponent {
|
|
|
434
438
|
nodes: _angular_core.Signal<SdLayoutMenuTreeNode[]>;
|
|
435
439
|
constructor();
|
|
436
440
|
onNavigate(menu: SdLayoutMenu): void;
|
|
441
|
+
onToggleGroup(key: string): void;
|
|
437
442
|
onTogglePinned(event: MouseEvent, menu: SdLayoutMenu): void;
|
|
438
443
|
onPinHoverStart(key: string): void;
|
|
439
444
|
onPinHoverEnd(key: string): void;
|
|
440
445
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdLayoutMenuTreeComponent, never>;
|
|
441
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdLayoutMenuTreeComponent, "sd-layout-menu-tree", never, { "menus": { "alias": "menus"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; "activePath": { "alias": "activePath"; "required": false; "isSignal": true; }; "pinnedKeys": { "alias": "pinnedKeys"; "required": false; "isSignal": true; }; "showPin": { "alias": "showPin"; "required": false; "isSignal": true; }; "pinVisibility": { "alias": "pinVisibility"; "required": false; "isSignal": true; }; "presentation": { "alias": "presentation"; "required": false; "isSignal": true; }; }, { "navigate": "navigate"; "togglePinned": "togglePinned"; }, never, never, true, never>;
|
|
446
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdLayoutMenuTreeComponent, "sd-layout-menu-tree", never, { "menus": { "alias": "menus"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; "activePath": { "alias": "activePath"; "required": false; "isSignal": true; }; "pinnedKeys": { "alias": "pinnedKeys"; "required": false; "isSignal": true; }; "showPin": { "alias": "showPin"; "required": false; "isSignal": true; }; "pinVisibility": { "alias": "pinVisibility"; "required": false; "isSignal": true; }; "presentation": { "alias": "presentation"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "collapsedGroupKeys": { "alias": "collapsedGroupKeys"; "required": false; "isSignal": true; }; }, { "collapsedGroupKeys": "collapsedGroupKeysChange"; "navigate": "navigate"; "togglePinned": "togglePinned"; }, never, never, true, never>;
|
|
442
447
|
}
|
|
443
448
|
|
|
444
449
|
declare class SdLayoutUserMenuComponent {
|
|
@@ -549,6 +554,7 @@ declare class SdSidebarV3 {
|
|
|
549
554
|
userInfo: _angular_core.InputSignal<SdLayoutUserInfo>;
|
|
550
555
|
sidebar: _angular_core.InputSignal<SidebarConfigurationV3>;
|
|
551
556
|
isCollapsed: _angular_core.WritableSignal<boolean>;
|
|
557
|
+
protected readonly collapsedGroupKeys: _angular_core.WritableSignal<string[]>;
|
|
552
558
|
searchText: _angular_core.WritableSignal<string>;
|
|
553
559
|
activePath: _angular_core.WritableSignal<string>;
|
|
554
560
|
searchResults: _angular_core.Signal<SdLayoutRootMenu[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdcorejs/angular",
|
|
3
|
-
"version": "20.2.
|
|
3
|
+
"version": "20.2.9",
|
|
4
4
|
"description": "Angular component library: data table, query bar/builder, 20+ signal-based form controls, layout, auth and workflow services. Standalone, OnPush, signals-first. Published in parallel lines for Angular 19, 20, 21 and 22.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"@lucide/angular": "^1.22.0",
|
|
46
46
|
"@ckeditor/ckeditor5-angular": "11.1.2",
|
|
47
47
|
"ckeditor5": "48.0.0",
|
|
48
|
-
"chart.js": "^4.5.1",
|
|
49
48
|
"date-fns": "^3.6.0",
|
|
50
49
|
"exceljs": "^4.4.0",
|
|
51
50
|
"keycloak-js": "^26.0.0",
|
|
@@ -56,7 +55,6 @@
|
|
|
56
55
|
"sideEffects": [
|
|
57
56
|
"**/*.css",
|
|
58
57
|
"**/*.scss",
|
|
59
|
-
"./fesm2022/sdcorejs-angular-components-chart.mjs",
|
|
60
58
|
"./fesm2022/sdcorejs-angular-components-code-editor.mjs",
|
|
61
59
|
"./fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs"
|
|
62
60
|
],
|
|
@@ -110,10 +108,6 @@
|
|
|
110
108
|
"types": "./components/card/index.d.ts",
|
|
111
109
|
"default": "./fesm2022/sdcorejs-angular-components-card.mjs"
|
|
112
110
|
},
|
|
113
|
-
"./components/chart": {
|
|
114
|
-
"types": "./components/chart/index.d.ts",
|
|
115
|
-
"default": "./fesm2022/sdcorejs-angular-components-chart.mjs"
|
|
116
|
-
},
|
|
117
111
|
"./components/ckeditor-styles": {
|
|
118
112
|
"types": "./components/ckeditor-styles/index.d.ts",
|
|
119
113
|
"default": "./fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs"
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy, ElementRef, InputSignal } from '@angular/core';
|
|
3
|
-
import { ChartData, ChartOptions, Plugin, Chart } from 'chart.js';
|
|
4
|
-
|
|
5
|
-
declare class SdBarChartComponent implements OnInit, OnDestroy {
|
|
6
|
-
#private;
|
|
7
|
-
canvas: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
|
|
8
|
-
data: InputSignal<ChartData<'bar'>>;
|
|
9
|
-
options: InputSignal<ChartOptions<'bar'> | undefined>;
|
|
10
|
-
plugins: InputSignal<Plugin<'bar'>[]>;
|
|
11
|
-
isScrollable: _angular_core.Signal<boolean>;
|
|
12
|
-
computedMinWidth: _angular_core.Signal<number | null>;
|
|
13
|
-
chart: Chart<'bar'> | undefined;
|
|
14
|
-
constructor();
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdBarChartComponent, never>;
|
|
18
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdBarChartComponent, "sd-bar-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare class SdLineChartComponent implements OnInit, OnDestroy {
|
|
22
|
-
#private;
|
|
23
|
-
canvas: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
|
|
24
|
-
data: InputSignal<ChartData<'line'>>;
|
|
25
|
-
options: InputSignal<ChartOptions<'line'> | undefined>;
|
|
26
|
-
plugins: InputSignal<Plugin<'line'>[]>;
|
|
27
|
-
isScrollable: _angular_core.Signal<boolean>;
|
|
28
|
-
computedMinWidth: _angular_core.Signal<number | null>;
|
|
29
|
-
chart: Chart<'line'> | undefined;
|
|
30
|
-
constructor();
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdLineChartComponent, never>;
|
|
34
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdLineChartComponent, "sd-line-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
declare class SdPieChartComponent implements OnInit, OnDestroy {
|
|
38
|
-
#private;
|
|
39
|
-
canvas: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
|
|
40
|
-
data: InputSignal<ChartData<'pie'>>;
|
|
41
|
-
options: InputSignal<ChartOptions<'pie'> | undefined>;
|
|
42
|
-
plugins: InputSignal<Plugin<'pie'>[]>;
|
|
43
|
-
chart: Chart<'pie'> | undefined;
|
|
44
|
-
constructor();
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdPieChartComponent, never>;
|
|
48
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdPieChartComponent, "sd-pie-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
declare class SdDoughnutChartComponent implements OnInit, OnDestroy {
|
|
52
|
-
#private;
|
|
53
|
-
canvas: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
|
|
54
|
-
data: InputSignal<ChartData<'doughnut'>>;
|
|
55
|
-
options: InputSignal<ChartOptions<'doughnut'> | undefined>;
|
|
56
|
-
plugins: InputSignal<Plugin<'doughnut'>[]>;
|
|
57
|
-
chart: Chart<'doughnut'> | undefined;
|
|
58
|
-
constructor();
|
|
59
|
-
ngOnInit(): void;
|
|
60
|
-
ngOnDestroy(): void;
|
|
61
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdDoughnutChartComponent, never>;
|
|
62
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdDoughnutChartComponent, "sd-doughnut-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export { SdBarChartComponent, SdDoughnutChartComponent, SdLineChartComponent, SdPieChartComponent };
|
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { viewChild, input, computed, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { Chart, registerables } from 'chart.js';
|
|
4
|
-
|
|
5
|
-
Chart.register(...registerables);
|
|
6
|
-
class SdBarChartComponent {
|
|
7
|
-
canvas = viewChild.required('canvas');
|
|
8
|
-
data = input.required(...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
9
|
-
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
10
|
-
plugins = input([], ...(ngDevMode ? [{ debugName: "plugins" }] : []));
|
|
11
|
-
isScrollable = computed(() => {
|
|
12
|
-
const labelsLength = this.data()?.labels?.length || 0;
|
|
13
|
-
return labelsLength > 15;
|
|
14
|
-
}, ...(ngDevMode ? [{ debugName: "isScrollable" }] : []));
|
|
15
|
-
computedMinWidth = computed(() => {
|
|
16
|
-
if (!this.isScrollable())
|
|
17
|
-
return null;
|
|
18
|
-
const labelsLength = this.data()?.labels?.length || 0;
|
|
19
|
-
return labelsLength * 50;
|
|
20
|
-
}, ...(ngDevMode ? [{ debugName: "computedMinWidth" }] : []));
|
|
21
|
-
chart;
|
|
22
|
-
constructor() {
|
|
23
|
-
effect(() => {
|
|
24
|
-
const currentData = this.data();
|
|
25
|
-
const currentOptions = this.options();
|
|
26
|
-
if (this.chart) {
|
|
27
|
-
this.chart.data = currentData;
|
|
28
|
-
if (currentOptions) {
|
|
29
|
-
this.chart.options = currentOptions;
|
|
30
|
-
}
|
|
31
|
-
this.chart.update();
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
ngOnInit() {
|
|
36
|
-
this.#initChart();
|
|
37
|
-
}
|
|
38
|
-
ngOnDestroy() {
|
|
39
|
-
if (this.chart) {
|
|
40
|
-
this.chart.destroy();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
#initChart() {
|
|
44
|
-
if (this.chart) {
|
|
45
|
-
this.chart.destroy();
|
|
46
|
-
}
|
|
47
|
-
const ctx = this.canvas().nativeElement.getContext('2d');
|
|
48
|
-
if (ctx) {
|
|
49
|
-
this.chart = new Chart(ctx, {
|
|
50
|
-
type: 'bar',
|
|
51
|
-
data: this.data(),
|
|
52
|
-
options: this.options() || {},
|
|
53
|
-
plugins: this.plugins(),
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdBarChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.25", type: SdBarChartComponent, isStandalone: true, selector: "sd-bar-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, plugins: { classPropertyName: "plugins", publicName: "plugins", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
59
|
-
<div [style.overflow-x]="isScrollable() ? 'auto' : 'visible'" style="width: 100%; height: 100%;">
|
|
60
|
-
<div [style.height]="'100%'" [style.min-width.px]="computedMinWidth()" style="position: relative;">
|
|
61
|
-
<canvas #canvas></canvas>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
65
|
-
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdBarChartComponent, decorators: [{
|
|
67
|
-
type: Component,
|
|
68
|
-
args: [{
|
|
69
|
-
selector: 'sd-bar-chart',
|
|
70
|
-
template: `
|
|
71
|
-
<div [style.overflow-x]="isScrollable() ? 'auto' : 'visible'" style="width: 100%; height: 100%;">
|
|
72
|
-
<div [style.height]="'100%'" [style.min-width.px]="computedMinWidth()" style="position: relative;">
|
|
73
|
-
<canvas #canvas></canvas>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
`,
|
|
77
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
78
|
-
standalone: true,
|
|
79
|
-
}]
|
|
80
|
-
}], ctorParameters: () => [], propDecorators: { canvas: [{ type: i0.ViewChild, args: ['canvas', { isSignal: true }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], plugins: [{ type: i0.Input, args: [{ isSignal: true, alias: "plugins", required: false }] }] } });
|
|
81
|
-
|
|
82
|
-
Chart.register(...registerables);
|
|
83
|
-
class SdLineChartComponent {
|
|
84
|
-
canvas = viewChild.required('canvas');
|
|
85
|
-
data = input.required(...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
86
|
-
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
87
|
-
plugins = input([], ...(ngDevMode ? [{ debugName: "plugins" }] : []));
|
|
88
|
-
isScrollable = computed(() => {
|
|
89
|
-
const labelsLength = this.data()?.labels?.length || 0;
|
|
90
|
-
return labelsLength > 15;
|
|
91
|
-
}, ...(ngDevMode ? [{ debugName: "isScrollable" }] : []));
|
|
92
|
-
computedMinWidth = computed(() => {
|
|
93
|
-
if (!this.isScrollable())
|
|
94
|
-
return null;
|
|
95
|
-
const labelsLength = this.data()?.labels?.length || 0;
|
|
96
|
-
return labelsLength * 50;
|
|
97
|
-
}, ...(ngDevMode ? [{ debugName: "computedMinWidth" }] : []));
|
|
98
|
-
chart;
|
|
99
|
-
constructor() {
|
|
100
|
-
effect(() => {
|
|
101
|
-
const currentData = this.data();
|
|
102
|
-
const currentOptions = this.options();
|
|
103
|
-
if (this.chart) {
|
|
104
|
-
this.chart.data = currentData;
|
|
105
|
-
if (currentOptions) {
|
|
106
|
-
this.chart.options = currentOptions;
|
|
107
|
-
}
|
|
108
|
-
this.chart.update();
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
ngOnInit() {
|
|
113
|
-
this.#initChart();
|
|
114
|
-
}
|
|
115
|
-
ngOnDestroy() {
|
|
116
|
-
if (this.chart) {
|
|
117
|
-
this.chart.destroy();
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
#initChart() {
|
|
121
|
-
if (this.chart) {
|
|
122
|
-
this.chart.destroy();
|
|
123
|
-
}
|
|
124
|
-
const ctx = this.canvas().nativeElement.getContext('2d');
|
|
125
|
-
if (ctx) {
|
|
126
|
-
this.chart = new Chart(ctx, {
|
|
127
|
-
type: 'line',
|
|
128
|
-
data: this.data(),
|
|
129
|
-
options: this.options() || {},
|
|
130
|
-
plugins: this.plugins(),
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdLineChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
135
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.25", type: SdLineChartComponent, isStandalone: true, selector: "sd-line-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, plugins: { classPropertyName: "plugins", publicName: "plugins", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
136
|
-
<div [style.overflow-x]="isScrollable() ? 'auto' : 'visible'" style="width: 100%; height: 100%;">
|
|
137
|
-
<div [style.height]="'100%'" [style.min-width.px]="computedMinWidth()" style="position: relative;">
|
|
138
|
-
<canvas #canvas></canvas>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
142
|
-
}
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdLineChartComponent, decorators: [{
|
|
144
|
-
type: Component,
|
|
145
|
-
args: [{
|
|
146
|
-
selector: 'sd-line-chart',
|
|
147
|
-
template: `
|
|
148
|
-
<div [style.overflow-x]="isScrollable() ? 'auto' : 'visible'" style="width: 100%; height: 100%;">
|
|
149
|
-
<div [style.height]="'100%'" [style.min-width.px]="computedMinWidth()" style="position: relative;">
|
|
150
|
-
<canvas #canvas></canvas>
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
`,
|
|
154
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
155
|
-
standalone: true,
|
|
156
|
-
}]
|
|
157
|
-
}], ctorParameters: () => [], propDecorators: { canvas: [{ type: i0.ViewChild, args: ['canvas', { isSignal: true }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], plugins: [{ type: i0.Input, args: [{ isSignal: true, alias: "plugins", required: false }] }] } });
|
|
158
|
-
|
|
159
|
-
Chart.register(...registerables);
|
|
160
|
-
class SdPieChartComponent {
|
|
161
|
-
canvas = viewChild.required('canvas');
|
|
162
|
-
data = input.required(...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
163
|
-
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
164
|
-
plugins = input([], ...(ngDevMode ? [{ debugName: "plugins" }] : []));
|
|
165
|
-
chart;
|
|
166
|
-
constructor() {
|
|
167
|
-
effect(() => {
|
|
168
|
-
const currentData = this.data();
|
|
169
|
-
const currentOptions = this.options();
|
|
170
|
-
if (this.chart) {
|
|
171
|
-
this.chart.data = currentData;
|
|
172
|
-
if (currentOptions) {
|
|
173
|
-
this.chart.options = currentOptions;
|
|
174
|
-
}
|
|
175
|
-
this.chart.update();
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
ngOnInit() {
|
|
180
|
-
this.#initChart();
|
|
181
|
-
}
|
|
182
|
-
ngOnDestroy() {
|
|
183
|
-
if (this.chart) {
|
|
184
|
-
this.chart.destroy();
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
#initChart() {
|
|
188
|
-
if (this.chart) {
|
|
189
|
-
this.chart.destroy();
|
|
190
|
-
}
|
|
191
|
-
const ctx = this.canvas().nativeElement.getContext('2d');
|
|
192
|
-
if (ctx) {
|
|
193
|
-
this.chart = new Chart(ctx, {
|
|
194
|
-
type: 'pie',
|
|
195
|
-
data: this.data(),
|
|
196
|
-
options: this.options() || {},
|
|
197
|
-
plugins: this.plugins(),
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdPieChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
202
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.25", type: SdPieChartComponent, isStandalone: true, selector: "sd-pie-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, plugins: { classPropertyName: "plugins", publicName: "plugins", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
203
|
-
<div style="position: relative; height: 100%; width: 100%;">
|
|
204
|
-
<canvas #canvas></canvas>
|
|
205
|
-
</div>
|
|
206
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
207
|
-
}
|
|
208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdPieChartComponent, decorators: [{
|
|
209
|
-
type: Component,
|
|
210
|
-
args: [{
|
|
211
|
-
selector: 'sd-pie-chart',
|
|
212
|
-
template: `
|
|
213
|
-
<div style="position: relative; height: 100%; width: 100%;">
|
|
214
|
-
<canvas #canvas></canvas>
|
|
215
|
-
</div>
|
|
216
|
-
`,
|
|
217
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
218
|
-
standalone: true,
|
|
219
|
-
}]
|
|
220
|
-
}], ctorParameters: () => [], propDecorators: { canvas: [{ type: i0.ViewChild, args: ['canvas', { isSignal: true }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], plugins: [{ type: i0.Input, args: [{ isSignal: true, alias: "plugins", required: false }] }] } });
|
|
221
|
-
|
|
222
|
-
Chart.register(...registerables);
|
|
223
|
-
class SdDoughnutChartComponent {
|
|
224
|
-
canvas = viewChild.required('canvas');
|
|
225
|
-
data = input.required(...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
226
|
-
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
227
|
-
plugins = input([], ...(ngDevMode ? [{ debugName: "plugins" }] : []));
|
|
228
|
-
chart;
|
|
229
|
-
constructor() {
|
|
230
|
-
effect(() => {
|
|
231
|
-
const currentData = this.data();
|
|
232
|
-
const currentOptions = this.options();
|
|
233
|
-
if (this.chart) {
|
|
234
|
-
this.chart.data = currentData;
|
|
235
|
-
if (currentOptions) {
|
|
236
|
-
this.chart.options = currentOptions;
|
|
237
|
-
}
|
|
238
|
-
this.chart.update();
|
|
239
|
-
}
|
|
240
|
-
});
|
|
241
|
-
}
|
|
242
|
-
ngOnInit() {
|
|
243
|
-
this.#initChart();
|
|
244
|
-
}
|
|
245
|
-
ngOnDestroy() {
|
|
246
|
-
if (this.chart) {
|
|
247
|
-
this.chart.destroy();
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
#initChart() {
|
|
251
|
-
if (this.chart) {
|
|
252
|
-
this.chart.destroy();
|
|
253
|
-
}
|
|
254
|
-
const ctx = this.canvas().nativeElement.getContext('2d');
|
|
255
|
-
if (ctx) {
|
|
256
|
-
this.chart = new Chart(ctx, {
|
|
257
|
-
type: 'doughnut',
|
|
258
|
-
data: this.data(),
|
|
259
|
-
options: this.options() || {},
|
|
260
|
-
plugins: this.plugins(),
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdDoughnutChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
265
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.25", type: SdDoughnutChartComponent, isStandalone: true, selector: "sd-doughnut-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, plugins: { classPropertyName: "plugins", publicName: "plugins", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
266
|
-
<div style="position: relative; height: 100%; width: 100%;">
|
|
267
|
-
<canvas #canvas></canvas>
|
|
268
|
-
</div>
|
|
269
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
270
|
-
}
|
|
271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SdDoughnutChartComponent, decorators: [{
|
|
272
|
-
type: Component,
|
|
273
|
-
args: [{
|
|
274
|
-
selector: 'sd-doughnut-chart',
|
|
275
|
-
template: `
|
|
276
|
-
<div style="position: relative; height: 100%; width: 100%;">
|
|
277
|
-
<canvas #canvas></canvas>
|
|
278
|
-
</div>
|
|
279
|
-
`,
|
|
280
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
281
|
-
standalone: true,
|
|
282
|
-
}]
|
|
283
|
-
}], ctorParameters: () => [], propDecorators: { canvas: [{ type: i0.ViewChild, args: ['canvas', { isSignal: true }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], plugins: [{ type: i0.Input, args: [{ isSignal: true, alias: "plugins", required: false }] }] } });
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* Generated bundle index. Do not edit.
|
|
287
|
-
*/
|
|
288
|
-
|
|
289
|
-
export { SdBarChartComponent, SdDoughnutChartComponent, SdLineChartComponent, SdPieChartComponent };
|
|
290
|
-
//# sourceMappingURL=sdcorejs-angular-components-chart.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sdcorejs-angular-components-chart.mjs","sources":["../../../projects/sdcorejs-angular/components/chart/src/bar-chart.component.ts","../../../projects/sdcorejs-angular/components/chart/src/line-chart.component.ts","../../../projects/sdcorejs-angular/components/chart/src/pie-chart.component.ts","../../../projects/sdcorejs-angular/components/chart/src/doughnut-chart.component.ts","../../../projects/sdcorejs-angular/components/chart/sdcorejs-angular-components-chart.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n InputSignal,\n OnDestroy,\n OnInit,\n effect,\n input,\n computed,\n viewChild,\n} from '@angular/core';\nimport { Chart, ChartData, ChartOptions, Plugin, registerables } from 'chart.js';\n\nChart.register(...registerables);\n\n@Component({\n selector: 'sd-bar-chart',\n template: `\n <div [style.overflow-x]=\"isScrollable() ? 'auto' : 'visible'\" style=\"width: 100%; height: 100%;\">\n <div [style.height]=\"'100%'\" [style.min-width.px]=\"computedMinWidth()\" style=\"position: relative;\">\n <canvas #canvas></canvas>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class SdBarChartComponent implements OnInit, OnDestroy {\n canvas = viewChild.required<ElementRef<HTMLCanvasElement>>('canvas');\n\n data: InputSignal<ChartData<'bar'>> = input.required<ChartData<'bar'>>();\n options: InputSignal<ChartOptions<'bar'> | undefined> = input<ChartOptions<'bar'>>();\n plugins: InputSignal<Plugin<'bar'>[]> = input<Plugin<'bar'>[]>([]);\n\n isScrollable = computed(() => {\n const labelsLength = this.data()?.labels?.length || 0;\n return labelsLength > 15;\n });\n\n computedMinWidth = computed(() => {\n if (!this.isScrollable()) return null;\n const labelsLength = this.data()?.labels?.length || 0;\n return labelsLength * 50;\n });\n\n chart: Chart<'bar'> | undefined;\n\n constructor() {\n effect(() => {\n const currentData = this.data();\n const currentOptions = this.options();\n\n if (this.chart) {\n this.chart.data = currentData as any;\n if (currentOptions) {\n this.chart.options = currentOptions;\n }\n this.chart.update();\n }\n });\n }\n\n ngOnInit() {\n this.#initChart();\n }\n\n ngOnDestroy() {\n if (this.chart) {\n this.chart.destroy();\n }\n }\n\n #initChart() {\n if (this.chart) {\n this.chart.destroy();\n }\n const ctx = this.canvas().nativeElement.getContext('2d');\n if (ctx) {\n this.chart = new Chart(ctx, {\n type: 'bar',\n data: this.data() as any,\n options: this.options() || {},\n plugins: this.plugins(),\n });\n }\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n InputSignal,\n OnDestroy,\n OnInit,\n effect,\n input,\n computed,\n viewChild,\n} from '@angular/core';\nimport { Chart, ChartData, ChartOptions, Plugin, registerables } from 'chart.js';\n\nChart.register(...registerables);\n\n@Component({\n selector: 'sd-line-chart',\n template: `\n <div [style.overflow-x]=\"isScrollable() ? 'auto' : 'visible'\" style=\"width: 100%; height: 100%;\">\n <div [style.height]=\"'100%'\" [style.min-width.px]=\"computedMinWidth()\" style=\"position: relative;\">\n <canvas #canvas></canvas>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class SdLineChartComponent implements OnInit, OnDestroy {\n canvas = viewChild.required<ElementRef<HTMLCanvasElement>>('canvas');\n\n data: InputSignal<ChartData<'line'>> = input.required<ChartData<'line'>>();\n options: InputSignal<ChartOptions<'line'> | undefined> = input<ChartOptions<'line'>>();\n plugins: InputSignal<Plugin<'line'>[]> = input<Plugin<'line'>[]>([]);\n\n isScrollable = computed(() => {\n const labelsLength = this.data()?.labels?.length || 0;\n return labelsLength > 15;\n });\n\n computedMinWidth = computed(() => {\n if (!this.isScrollable()) return null;\n const labelsLength = this.data()?.labels?.length || 0;\n return labelsLength * 50;\n });\n\n chart: Chart<'line'> | undefined;\n\n constructor() {\n effect(() => {\n const currentData = this.data();\n const currentOptions = this.options();\n\n if (this.chart) {\n this.chart.data = currentData;\n if (currentOptions) {\n this.chart.options = currentOptions;\n }\n this.chart.update();\n }\n });\n }\n\n ngOnInit() {\n this.#initChart();\n }\n\n ngOnDestroy() {\n if (this.chart) {\n this.chart.destroy();\n }\n }\n\n #initChart() {\n if (this.chart) {\n this.chart.destroy();\n }\n const ctx = this.canvas().nativeElement.getContext('2d');\n if (ctx) {\n this.chart = new Chart(ctx, {\n type: 'line',\n data: this.data(),\n options: this.options() || {},\n plugins: this.plugins(),\n });\n }\n }\n}\n","import { ChangeDetectionStrategy, Component, ElementRef, InputSignal, OnDestroy, OnInit, effect, input, viewChild } from '@angular/core';\nimport { Chart, ChartData, ChartOptions, Plugin, registerables } from 'chart.js';\n\nChart.register(...registerables);\n\n@Component({\n selector: 'sd-pie-chart',\n template: `\n <div style=\"position: relative; height: 100%; width: 100%;\">\n <canvas #canvas></canvas>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class SdPieChartComponent implements OnInit, OnDestroy {\n canvas = viewChild.required<ElementRef<HTMLCanvasElement>>('canvas');\n\n data: InputSignal<ChartData<'pie'>> = input.required<ChartData<'pie'>>();\n options: InputSignal<ChartOptions<'pie'> | undefined> = input<ChartOptions<'pie'>>();\n plugins: InputSignal<Plugin<'pie'>[]> = input<Plugin<'pie'>[]>([]);\n\n chart: Chart<'pie'> | undefined;\n\n constructor() {\n effect(() => {\n const currentData = this.data();\n const currentOptions = this.options();\n\n if (this.chart) {\n this.chart.data = currentData;\n if (currentOptions) {\n this.chart.options = currentOptions;\n }\n this.chart.update();\n }\n });\n }\n\n ngOnInit() {\n this.#initChart();\n }\n\n ngOnDestroy() {\n if (this.chart) {\n this.chart.destroy();\n }\n }\n\n #initChart() {\n if (this.chart) {\n this.chart.destroy();\n }\n const ctx = this.canvas().nativeElement.getContext('2d');\n if (ctx) {\n this.chart = new Chart(ctx, {\n type: 'pie',\n data: this.data(),\n options: this.options() || {},\n plugins: this.plugins(),\n });\n }\n }\n}\n","import { ChangeDetectionStrategy, Component, ElementRef, InputSignal, OnDestroy, OnInit, effect, input, viewChild } from '@angular/core';\nimport { Chart, ChartData, ChartOptions, Plugin, registerables } from 'chart.js';\n\nChart.register(...registerables);\n\n@Component({\n selector: 'sd-doughnut-chart',\n template: `\n <div style=\"position: relative; height: 100%; width: 100%;\">\n <canvas #canvas></canvas>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class SdDoughnutChartComponent implements OnInit, OnDestroy {\n canvas = viewChild.required<ElementRef<HTMLCanvasElement>>('canvas');\n\n data: InputSignal<ChartData<'doughnut'>> = input.required<ChartData<'doughnut'>>();\n options: InputSignal<ChartOptions<'doughnut'> | undefined> = input<ChartOptions<'doughnut'>>();\n plugins: InputSignal<Plugin<'doughnut'>[]> = input<Plugin<'doughnut'>[]>([]);\n\n chart: Chart<'doughnut'> | undefined;\n\n constructor() {\n effect(() => {\n const currentData = this.data();\n const currentOptions = this.options();\n\n if (this.chart) {\n this.chart.data = currentData;\n if (currentOptions) {\n this.chart.options = currentOptions;\n }\n this.chart.update();\n }\n });\n }\n\n ngOnInit() {\n this.#initChart();\n }\n\n ngOnDestroy() {\n if (this.chart) {\n this.chart.destroy();\n }\n }\n\n #initChart() {\n if (this.chart) {\n this.chart.destroy();\n }\n const ctx = this.canvas().nativeElement.getContext('2d');\n if (ctx) {\n this.chart = new Chart(ctx, {\n type: 'doughnut',\n data: this.data(),\n options: this.options() || {},\n plugins: this.plugins(),\n });\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAcA,KAAK,CAAC,QAAQ,CAAC,GAAG,aAAa,CAAC;MAcnB,mBAAmB,CAAA;AAC9B,IAAA,MAAM,GAAG,SAAS,CAAC,QAAQ,CAAgC,QAAQ,CAAC;AAEpE,IAAA,IAAI,GAAkC,KAAK,CAAC,QAAQ,+CAAoB;IACxE,OAAO,GAAiD,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,SAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAuB;AACpF,IAAA,OAAO,GAAiC,KAAK,CAAkB,EAAE,mDAAC;AAElE,IAAA,YAAY,GAAG,QAAQ,CAAC,MAAK;AAC3B,QAAA,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;QACrD,OAAO,YAAY,GAAG,EAAE;AAC1B,IAAA,CAAC,wDAAC;AAEF,IAAA,gBAAgB,GAAG,QAAQ,CAAC,MAAK;A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