@mintplayer/ng-bootstrap 22.15.0 → 22.16.0
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.
|
@@ -11,8 +11,12 @@ class BsHierarchyChartComponent {
|
|
|
11
11
|
...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
|
|
12
12
|
this.rootId = model(undefined, /* @ts-ignore */
|
|
13
13
|
...(ngDevMode ? [{ debugName: "rootId" }] : /* istanbul ignore next */ []));
|
|
14
|
-
/**
|
|
15
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Levels rendered outward from the focus, or `'auto'` for every loaded level.
|
|
16
|
+
* Unset leaves the element's own default: `'auto'`, or a 2-level window when
|
|
17
|
+
* a `loadChildren` loader is bound.
|
|
18
|
+
*/
|
|
19
|
+
this.maxDepth = input(undefined, /* @ts-ignore */
|
|
16
20
|
...(ngDevMode ? [{ debugName: "maxDepth" }] : /* istanbul ignore next */ []));
|
|
17
21
|
this.minAngle = input(0.2, /* @ts-ignore */
|
|
18
22
|
...(ngDevMode ? [{ debugName: "minAngle" }] : /* istanbul ignore next */ []));
|
|
@@ -20,8 +24,22 @@ class BsHierarchyChartComponent {
|
|
|
20
24
|
...(ngDevMode ? [{ debugName: "minSize" }] : /* istanbul ignore next */ []));
|
|
21
25
|
this.showLabels = input(true, /* @ts-ignore */
|
|
22
26
|
...(ngDevMode ? [{ debugName: "showLabels" }] : /* istanbul ignore next */ []));
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
/** Label font size in device px, constant across host size and zoom. */
|
|
28
|
+
this.labelFontSize = input(12, /* @ts-ignore */
|
|
29
|
+
...(ngDevMode ? [{ debugName: "labelFontSize" }] : /* istanbul ignore next */ []));
|
|
30
|
+
/** Opaque color behind the chart for label contrast; unset = auto-detected. */
|
|
31
|
+
this.backdrop = input(undefined, /* @ts-ignore */
|
|
32
|
+
...(ngDevMode ? [{ debugName: "backdrop" }] : /* istanbul ignore next */ []));
|
|
33
|
+
/** Gesture allowlist for the geometric zoom: 'wheel pinch' | 'wheel' | 'pinch' | 'none'. */
|
|
34
|
+
this.zoomGestures = input('wheel pinch', /* @ts-ignore */
|
|
35
|
+
...(ngDevMode ? [{ debugName: "zoomGestures" }] : /* istanbul ignore next */ []));
|
|
36
|
+
this.zoomHintLabel = input(undefined, /* @ts-ignore */
|
|
37
|
+
...(ngDevMode ? [{ debugName: "zoomHintLabel" }] : /* istanbul ignore next */ []));
|
|
38
|
+
/** Renders the focus path as buttons above the chart. */
|
|
39
|
+
this.showBreadcrumb = input(false, /* @ts-ignore */
|
|
40
|
+
...(ngDevMode ? [{ debugName: "showBreadcrumb" }] : /* istanbul ignore next */ []));
|
|
41
|
+
this.breadcrumbLabel = input(undefined, /* @ts-ignore */
|
|
42
|
+
...(ngDevMode ? [{ debugName: "breadcrumbLabel" }] : /* istanbul ignore next */ []));
|
|
25
43
|
this.colorMin = input(0, /* @ts-ignore */
|
|
26
44
|
...(ngDevMode ? [{ debugName: "colorMin" }] : /* istanbul ignore next */ []));
|
|
27
45
|
this.colorMax = input(100, /* @ts-ignore */
|
|
@@ -64,8 +82,12 @@ class BsHierarchyChartComponent {
|
|
|
64
82
|
el.layout = this.layout(); });
|
|
65
83
|
effect(() => { const el = this.chartRef()?.nativeElement; if (el)
|
|
66
84
|
el.rootId = this.rootId(); });
|
|
67
|
-
effect(() => {
|
|
68
|
-
el
|
|
85
|
+
effect(() => {
|
|
86
|
+
const el = this.chartRef()?.nativeElement;
|
|
87
|
+
const depth = this.maxDepth();
|
|
88
|
+
if (el && depth !== undefined)
|
|
89
|
+
el.maxDepth = depth;
|
|
90
|
+
});
|
|
69
91
|
effect(() => { const el = this.chartRef()?.nativeElement; if (el)
|
|
70
92
|
el.minAngle = this.minAngle(); });
|
|
71
93
|
effect(() => { const el = this.chartRef()?.nativeElement; if (el)
|
|
@@ -73,7 +95,25 @@ class BsHierarchyChartComponent {
|
|
|
73
95
|
effect(() => { const el = this.chartRef()?.nativeElement; if (el)
|
|
74
96
|
el.showLabels = this.showLabels(); });
|
|
75
97
|
effect(() => { const el = this.chartRef()?.nativeElement; if (el)
|
|
76
|
-
el.
|
|
98
|
+
el.labelFontSize = this.labelFontSize(); });
|
|
99
|
+
effect(() => { const el = this.chartRef()?.nativeElement; if (el)
|
|
100
|
+
el.backdrop = this.backdrop(); });
|
|
101
|
+
effect(() => { const el = this.chartRef()?.nativeElement; if (el)
|
|
102
|
+
el.zoomGestures = this.zoomGestures(); });
|
|
103
|
+
effect(() => {
|
|
104
|
+
const el = this.chartRef()?.nativeElement;
|
|
105
|
+
const label = this.zoomHintLabel();
|
|
106
|
+
if (el && label !== undefined)
|
|
107
|
+
el.zoomHintLabel = label;
|
|
108
|
+
});
|
|
109
|
+
effect(() => { const el = this.chartRef()?.nativeElement; if (el)
|
|
110
|
+
el.showBreadcrumb = this.showBreadcrumb(); });
|
|
111
|
+
effect(() => {
|
|
112
|
+
const el = this.chartRef()?.nativeElement;
|
|
113
|
+
const label = this.breadcrumbLabel();
|
|
114
|
+
if (el && label !== undefined)
|
|
115
|
+
el.breadcrumbLabel = label;
|
|
116
|
+
});
|
|
77
117
|
effect(() => { const el = this.chartRef()?.nativeElement; if (el)
|
|
78
118
|
el.colorMin = this.colorMin(); });
|
|
79
119
|
effect(() => { const el = this.chartRef()?.nativeElement; if (el)
|
|
@@ -137,12 +177,12 @@ class BsHierarchyChartComponent {
|
|
|
137
177
|
this.nodeLoadError.emit(event.detail);
|
|
138
178
|
}
|
|
139
179
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsHierarchyChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
140
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: BsHierarchyChartComponent, isStandalone: true, selector: "bs-hierarchy-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, rootId: { classPropertyName: "rootId", publicName: "rootId", isSignal: true, isRequired: false, transformFunction: null }, maxDepth: { classPropertyName: "maxDepth", publicName: "maxDepth", isSignal: true, isRequired: false, transformFunction: null }, minAngle: { classPropertyName: "minAngle", publicName: "minAngle", isSignal: true, isRequired: false, transformFunction: null }, minSize: { classPropertyName: "minSize", publicName: "minSize", isSignal: true, isRequired: false, transformFunction: null }, showLabels: { classPropertyName: "showLabels", publicName: "showLabels", isSignal: true, isRequired: false, transformFunction: null },
|
|
180
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: BsHierarchyChartComponent, isStandalone: true, selector: "bs-hierarchy-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, rootId: { classPropertyName: "rootId", publicName: "rootId", isSignal: true, isRequired: false, transformFunction: null }, maxDepth: { classPropertyName: "maxDepth", publicName: "maxDepth", isSignal: true, isRequired: false, transformFunction: null }, minAngle: { classPropertyName: "minAngle", publicName: "minAngle", isSignal: true, isRequired: false, transformFunction: null }, minSize: { classPropertyName: "minSize", publicName: "minSize", isSignal: true, isRequired: false, transformFunction: null }, showLabels: { classPropertyName: "showLabels", publicName: "showLabels", isSignal: true, isRequired: false, transformFunction: null }, labelFontSize: { classPropertyName: "labelFontSize", publicName: "labelFontSize", isSignal: true, isRequired: false, transformFunction: null }, backdrop: { classPropertyName: "backdrop", publicName: "backdrop", isSignal: true, isRequired: false, transformFunction: null }, zoomGestures: { classPropertyName: "zoomGestures", publicName: "zoomGestures", isSignal: true, isRequired: false, transformFunction: null }, zoomHintLabel: { classPropertyName: "zoomHintLabel", publicName: "zoomHintLabel", isSignal: true, isRequired: false, transformFunction: null }, showBreadcrumb: { classPropertyName: "showBreadcrumb", publicName: "showBreadcrumb", isSignal: true, isRequired: false, transformFunction: null }, breadcrumbLabel: { classPropertyName: "breadcrumbLabel", publicName: "breadcrumbLabel", isSignal: true, isRequired: false, transformFunction: null }, colorMin: { classPropertyName: "colorMin", publicName: "colorMin", isSignal: true, isRequired: false, transformFunction: null }, colorMax: { classPropertyName: "colorMax", publicName: "colorMax", isSignal: true, isRequired: false, transformFunction: null }, colorStart: { classPropertyName: "colorStart", publicName: "colorStart", isSignal: true, isRequired: false, transformFunction: null }, colorEnd: { classPropertyName: "colorEnd", publicName: "colorEnd", isSignal: true, isRequired: false, transformFunction: null }, transitionDuration: { classPropertyName: "transitionDuration", publicName: "transitionDuration", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, zoomOutLabel: { classPropertyName: "zoomOutLabel", publicName: "zoomOutLabel", isSignal: true, isRequired: false, transformFunction: null }, metricUnitLabel: { classPropertyName: "metricUnitLabel", publicName: "metricUnitLabel", isSignal: true, isRequired: false, transformFunction: null }, valueUnitLabel: { classPropertyName: "valueUnitLabel", publicName: "valueUnitLabel", isSignal: true, isRequired: false, transformFunction: null }, loadingLabel: { classPropertyName: "loadingLabel", publicName: "loadingLabel", isSignal: true, isRequired: false, transformFunction: null }, tooltipFormatter: { classPropertyName: "tooltipFormatter", publicName: "tooltipFormatter", isSignal: true, isRequired: false, transformFunction: null }, labelFormatter: { classPropertyName: "labelFormatter", publicName: "labelFormatter", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rootId: "rootIdChange", zoom: "zoom", nodeSelect: "nodeSelect", nodeHover: "nodeHover", nodeLoadError: "nodeLoadError" }, viewQueries: [{ propertyName: "chartRef", first: true, predicate: ["chart"], descendants: true, isSignal: true }], ngImport: i0, template: "<mp-hierarchy-chart bsForwardAria\n #chart\n class=\"bs-hierarchy-chart\"\n (hierarchy-zoom)=\"onZoom($event)\"\n (hierarchy-node-select)=\"onNodeSelect($event)\"\n (hierarchy-node-hover)=\"onNodeHover($event)\"\n (hierarchy-node-load-error)=\"onNodeLoadError($event)\"\n></mp-hierarchy-chart>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: BsForwardAriaDirective, selector: "[bsForwardAria]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
141
181
|
}
|
|
142
182
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsHierarchyChartComponent, decorators: [{
|
|
143
183
|
type: Component,
|
|
144
184
|
args: [{ selector: 'bs-hierarchy-chart', imports: [BsForwardAriaDirective], schemas: [CUSTOM_ELEMENTS_SCHEMA], changeDetection: ChangeDetectionStrategy.OnPush, template: "<mp-hierarchy-chart bsForwardAria\n #chart\n class=\"bs-hierarchy-chart\"\n (hierarchy-zoom)=\"onZoom($event)\"\n (hierarchy-node-select)=\"onNodeSelect($event)\"\n (hierarchy-node-hover)=\"onNodeHover($event)\"\n (hierarchy-node-load-error)=\"onNodeLoadError($event)\"\n></mp-hierarchy-chart>\n", styles: [":host{display:block}\n"] }]
|
|
145
|
-
}], ctorParameters: () => [], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], rootId: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootId", required: false }] }, { type: i0.Output, args: ["rootIdChange"] }], maxDepth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxDepth", required: false }] }], minAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "minAngle", required: false }] }], minSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "minSize", required: false }] }], showLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLabels", required: false }] }],
|
|
185
|
+
}], ctorParameters: () => [], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], rootId: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootId", required: false }] }, { type: i0.Output, args: ["rootIdChange"] }], maxDepth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxDepth", required: false }] }], minAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "minAngle", required: false }] }], minSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "minSize", required: false }] }], showLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLabels", required: false }] }], labelFontSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelFontSize", required: false }] }], backdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdrop", required: false }] }], zoomGestures: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomGestures", required: false }] }], zoomHintLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomHintLabel", required: false }] }], showBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBreadcrumb", required: false }] }], breadcrumbLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumbLabel", required: false }] }], colorMin: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorMin", required: false }] }], colorMax: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorMax", required: false }] }], colorStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorStart", required: false }] }], colorEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorEnd", required: false }] }], transitionDuration: [{ type: i0.Input, args: [{ isSignal: true, alias: "transitionDuration", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], zoomOutLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomOutLabel", required: false }] }], metricUnitLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricUnitLabel", required: false }] }], valueUnitLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueUnitLabel", required: false }] }], loadingLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingLabel", required: false }] }], tooltipFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipFormatter", required: false }] }], labelFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelFormatter", required: false }] }], loadChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadChildren", required: false }] }], zoom: [{ type: i0.Output, args: ["zoom"] }], nodeSelect: [{ type: i0.Output, args: ["nodeSelect"] }], nodeHover: [{ type: i0.Output, args: ["nodeHover"] }], nodeLoadError: [{ type: i0.Output, args: ["nodeLoadError"] }], chartRef: [{ type: i0.ViewChild, args: ['chart', { isSignal: true }] }] } });
|
|
146
186
|
|
|
147
187
|
/**
|
|
148
188
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-charts-hierarchy.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/hierarchy-chart/hierarchy-chart.component.ts","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/hierarchy-chart/hierarchy-chart.component.html","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/mintplayer-ng-bootstrap-charts-hierarchy.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n CUSTOM_ELEMENTS_SCHEMA,\n effect,\n ElementRef,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport {\n MpHierarchyChart,\n type HierarchyChartLayout,\n type HierarchyChildrenLoader,\n type HierarchyHoverEventDetail,\n type HierarchyLoadErrorEventDetail,\n type HierarchyNode,\n type HierarchyNodeEventDetail,\n type HierarchyNodeFormatter,\n} from '@mintplayer/web-components/charts/hierarchy';\n\n// Side-effect import: registers the `<mp-hierarchy-chart>` custom element.\nimport '@mintplayer/web-components/charts/hierarchy';\n\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\n\n@Component({\n selector: 'bs-hierarchy-chart',\n templateUrl: './hierarchy-chart.component.html',\n styleUrls: ['./hierarchy-chart.component.scss'],\n imports: [BsForwardAriaDirective],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsHierarchyChartComponent {\n readonly data = input<HierarchyNode | undefined>(undefined);\n readonly layout = input<HierarchyChartLayout>('sunburst');\n readonly rootId = model<string | undefined>(undefined);\n /** Levels rendered outward from the focus, or `'auto'` for every loaded level. */\n readonly maxDepth = input<number | 'auto'>(2);\n readonly minAngle = input<number>(0.2);\n readonly minSize = input<number>(4);\n readonly showLabels = input<boolean>(true);\n readonly labelMinArea = input<number>(0.03);\n readonly colorMin = input<number>(0);\n readonly colorMax = input<number>(100);\n readonly colorStart = input<string>('#fe0000');\n readonly colorEnd = input<string>('#21b577');\n readonly transitionDuration = input<number>(300);\n readonly locale = input<string | undefined>(undefined);\n readonly inputLabel = input<string | undefined>(undefined);\n readonly zoomOutLabel = input<string | undefined>(undefined);\n readonly metricUnitLabel = input<string | undefined>(undefined);\n readonly valueUnitLabel = input<string | undefined>(undefined);\n readonly loadingLabel = input<string | undefined>(undefined);\n readonly tooltipFormatter = input<HierarchyNodeFormatter | undefined>(undefined);\n readonly labelFormatter = input<HierarchyNodeFormatter | undefined>(undefined);\n readonly loadChildren = input<HierarchyChildrenLoader | undefined>(undefined);\n\n readonly zoom = output<HierarchyNodeEventDetail>();\n readonly nodeSelect = output<HierarchyNodeEventDetail>();\n readonly nodeHover = output<HierarchyHoverEventDetail>();\n readonly nodeLoadError = output<HierarchyLoadErrorEventDetail>();\n\n readonly chartRef = viewChild<ElementRef<MpHierarchyChart>>('chart');\n\n constructor() {\n // One effect per input, deliberately: a `data` write must not re-fire on\n // every zoom tick and vice versa.\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.data = this.data(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.layout = this.layout(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.rootId = this.rootId(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.maxDepth = this.maxDepth(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.minAngle = this.minAngle(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.minSize = this.minSize(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.showLabels = this.showLabels(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.labelMinArea = this.labelMinArea(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.colorMin = this.colorMin(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.colorMax = this.colorMax(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.colorStart = this.colorStart(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.colorEnd = this.colorEnd(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.transitionDuration = this.transitionDuration(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.locale = this.locale(); });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n if (el) el.inputLabel = this.inputLabel() ?? null;\n });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const label = this.zoomOutLabel();\n if (el && label !== undefined) el.zoomOutLabel = label;\n });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const label = this.metricUnitLabel();\n if (el && label !== undefined) el.metricUnitLabel = label;\n });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const label = this.valueUnitLabel();\n if (el && label !== undefined) el.valueUnitLabel = label;\n });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const label = this.loadingLabel();\n if (el && label !== undefined) el.loadingLabel = label;\n });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.tooltipFormatter = this.tooltipFormatter(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.labelFormatter = this.labelFormatter(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.loadChildren = this.loadChildren(); });\n }\n\n protected onZoom(event: Event): void {\n const detail = (event as CustomEvent<HierarchyNodeEventDetail>).detail;\n this.rootId.set((event.target as MpHierarchyChart).rootId);\n this.zoom.emit(detail);\n }\n\n protected onNodeSelect(event: Event): void {\n this.nodeSelect.emit((event as CustomEvent<HierarchyNodeEventDetail>).detail);\n }\n\n protected onNodeHover(event: Event): void {\n this.nodeHover.emit((event as CustomEvent<HierarchyHoverEventDetail>).detail);\n }\n\n protected onNodeLoadError(event: Event): void {\n this.nodeLoadError.emit((event as CustomEvent<HierarchyLoadErrorEventDetail>).detail);\n }\n}\n","<mp-hierarchy-chart bsForwardAria\n #chart\n class=\"bs-hierarchy-chart\"\n (hierarchy-zoom)=\"onZoom($event)\"\n (hierarchy-node-select)=\"onNodeSelect($event)\"\n (hierarchy-node-hover)=\"onNodeHover($event)\"\n (hierarchy-node-load-error)=\"onNodeLoadError($event)\"\n></mp-hierarchy-chart>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAmCa,yBAAyB,CAAA;AAgCpC,IAAA,WAAA,GAAA;QA/BS,IAAA,CAAA,IAAI,GAAG,KAAK,CAA4B,SAAS;iFAAC;QAClD,IAAA,CAAA,MAAM,GAAG,KAAK,CAAuB,UAAU;mFAAC;QAChD,IAAA,CAAA,MAAM,GAAG,KAAK,CAAqB,SAAS;mFAAC;;QAE7C,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAkB,CAAC;qFAAC;QACpC,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAS,GAAG;qFAAC;QAC7B,IAAA,CAAA,OAAO,GAAG,KAAK,CAAS,CAAC;oFAAC;QAC1B,IAAA,CAAA,UAAU,GAAG,KAAK,CAAU,IAAI;uFAAC;QACjC,IAAA,CAAA,YAAY,GAAG,KAAK,CAAS,I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AA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECnCtC,+SAQA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDuBY,sBAAsB,EAAA,QAAA,EAAA,iBAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIrB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBARrC,SAAS;+BACE,oBAAoB,EAAA,OAAA,EAGrB,CAAC,sBAAsB,CAAC,EAAA,OAAA,EACxB,CAAC,sBAAsB,CAAC,EAAA,eAAA,EAChB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,+SAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;ygFAgCa,OAAO,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEjErE;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-charts-hierarchy.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/hierarchy-chart/hierarchy-chart.component.ts","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/hierarchy-chart/hierarchy-chart.component.html","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/mintplayer-ng-bootstrap-charts-hierarchy.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n CUSTOM_ELEMENTS_SCHEMA,\n effect,\n ElementRef,\n input,\n model,\n output,\n viewChild,\n} from '@angular/core';\nimport {\n MpHierarchyChart,\n type HierarchyChartLayout,\n type HierarchyChildrenLoader,\n type HierarchyHoverEventDetail,\n type HierarchyLoadErrorEventDetail,\n type HierarchyNode,\n type HierarchyNodeEventDetail,\n type HierarchyNodeFormatter,\n} from '@mintplayer/web-components/charts/hierarchy';\n\n// Side-effect import: registers the `<mp-hierarchy-chart>` custom element.\nimport '@mintplayer/web-components/charts/hierarchy';\n\nimport { BsForwardAriaDirective } from '@mintplayer/ng-bootstrap/a11y';\n\n@Component({\n selector: 'bs-hierarchy-chart',\n templateUrl: './hierarchy-chart.component.html',\n styleUrls: ['./hierarchy-chart.component.scss'],\n imports: [BsForwardAriaDirective],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsHierarchyChartComponent {\n readonly data = input<HierarchyNode | undefined>(undefined);\n readonly layout = input<HierarchyChartLayout>('sunburst');\n readonly rootId = model<string | undefined>(undefined);\n /**\n * Levels rendered outward from the focus, or `'auto'` for every loaded level.\n * Unset leaves the element's own default: `'auto'`, or a 2-level window when\n * a `loadChildren` loader is bound.\n */\n readonly maxDepth = input<number | 'auto' | undefined>(undefined);\n readonly minAngle = input<number>(0.2);\n readonly minSize = input<number>(4);\n readonly showLabels = input<boolean>(true);\n /** Label font size in device px, constant across host size and zoom. */\n readonly labelFontSize = input<number>(12);\n /** Opaque color behind the chart for label contrast; unset = auto-detected. */\n readonly backdrop = input<string | undefined>(undefined);\n /** Gesture allowlist for the geometric zoom: 'wheel pinch' | 'wheel' | 'pinch' | 'none'. */\n readonly zoomGestures = input<string>('wheel pinch');\n readonly zoomHintLabel = input<string | undefined>(undefined);\n /** Renders the focus path as buttons above the chart. */\n readonly showBreadcrumb = input<boolean>(false);\n readonly breadcrumbLabel = input<string | undefined>(undefined);\n readonly colorMin = input<number>(0);\n readonly colorMax = input<number>(100);\n readonly colorStart = input<string>('#fe0000');\n readonly colorEnd = input<string>('#21b577');\n readonly transitionDuration = input<number>(300);\n readonly locale = input<string | undefined>(undefined);\n readonly inputLabel = input<string | undefined>(undefined);\n readonly zoomOutLabel = input<string | undefined>(undefined);\n readonly metricUnitLabel = input<string | undefined>(undefined);\n readonly valueUnitLabel = input<string | undefined>(undefined);\n readonly loadingLabel = input<string | undefined>(undefined);\n readonly tooltipFormatter = input<HierarchyNodeFormatter | undefined>(undefined);\n readonly labelFormatter = input<HierarchyNodeFormatter | undefined>(undefined);\n readonly loadChildren = input<HierarchyChildrenLoader | undefined>(undefined);\n\n readonly zoom = output<HierarchyNodeEventDetail>();\n readonly nodeSelect = output<HierarchyNodeEventDetail>();\n readonly nodeHover = output<HierarchyHoverEventDetail>();\n readonly nodeLoadError = output<HierarchyLoadErrorEventDetail>();\n\n readonly chartRef = viewChild<ElementRef<MpHierarchyChart>>('chart');\n\n constructor() {\n // One effect per input, deliberately: a `data` write must not re-fire on\n // every zoom tick and vice versa.\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.data = this.data(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.layout = this.layout(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.rootId = this.rootId(); });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const depth = this.maxDepth();\n if (el && depth !== undefined) el.maxDepth = depth;\n });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.minAngle = this.minAngle(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.minSize = this.minSize(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.showLabels = this.showLabels(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.labelFontSize = this.labelFontSize(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.backdrop = this.backdrop(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.zoomGestures = this.zoomGestures(); });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const label = this.zoomHintLabel();\n if (el && label !== undefined) el.zoomHintLabel = label;\n });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.showBreadcrumb = this.showBreadcrumb(); });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const label = this.breadcrumbLabel();\n if (el && label !== undefined) el.breadcrumbLabel = label;\n });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.colorMin = this.colorMin(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.colorMax = this.colorMax(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.colorStart = this.colorStart(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.colorEnd = this.colorEnd(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.transitionDuration = this.transitionDuration(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.locale = this.locale(); });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n if (el) el.inputLabel = this.inputLabel() ?? null;\n });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const label = this.zoomOutLabel();\n if (el && label !== undefined) el.zoomOutLabel = label;\n });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const label = this.metricUnitLabel();\n if (el && label !== undefined) el.metricUnitLabel = label;\n });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const label = this.valueUnitLabel();\n if (el && label !== undefined) el.valueUnitLabel = label;\n });\n effect(() => {\n const el = this.chartRef()?.nativeElement;\n const label = this.loadingLabel();\n if (el && label !== undefined) el.loadingLabel = label;\n });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.tooltipFormatter = this.tooltipFormatter(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.labelFormatter = this.labelFormatter(); });\n effect(() => { const el = this.chartRef()?.nativeElement; if (el) el.loadChildren = this.loadChildren(); });\n }\n\n protected onZoom(event: Event): void {\n const detail = (event as CustomEvent<HierarchyNodeEventDetail>).detail;\n this.rootId.set((event.target as MpHierarchyChart).rootId);\n this.zoom.emit(detail);\n }\n\n protected onNodeSelect(event: Event): void {\n this.nodeSelect.emit((event as CustomEvent<HierarchyNodeEventDetail>).detail);\n }\n\n protected onNodeHover(event: Event): void {\n this.nodeHover.emit((event as CustomEvent<HierarchyHoverEventDetail>).detail);\n }\n\n protected onNodeLoadError(event: Event): void {\n this.nodeLoadError.emit((event as CustomEvent<HierarchyLoadErrorEventDetail>).detail);\n }\n}\n","<mp-hierarchy-chart bsForwardAria\n #chart\n class=\"bs-hierarchy-chart\"\n (hierarchy-zoom)=\"onZoom($event)\"\n (hierarchy-node-select)=\"onNodeSelect($event)\"\n (hierarchy-node-hover)=\"onNodeHover($event)\"\n (hierarchy-node-load-error)=\"onNodeLoadError($event)\"\n></mp-hierarchy-chart>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAmCa,yBAAyB,CAAA;AA6CpC,IAAA,WAAA,GAAA;QA5CS,IAAA,CAAA,IAAI,GAAG,KAAK,CAA4B,SAAS;iFAAC;QAClD,IAAA,CAAA,MAAM,GAAG,KAAK,CAAuB,UAAU;mFAAC;QAChD,IAAA,CAAA,MAAM,GAAG,KAAK,CAAqB,SAAS;mFAAC;AACtD;;;;AAIG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK,CAA8B,SAAS;qFAAC;QACxD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAS,GAAG;qFAAC;QAC7B,IAAA,CAAA,OAAO,GAAG,KAAK,CAAS,CAAC;oFAAC;QAC1B,IAAA,CAAA,UAAU,GAAG,KAAK,CAAU,IAAI;uFAAC;;QAEjC,IAAA,CAAA,aAAa,GAAG,KAAK,CAAS,EAAE;0FAAC;;QAEjC,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAqB,SAAS;qFAAC;;QAE/C,IAAA,CAAA,YAAY,GAAG,KAAK,CAAS,aAAa;yFAAC;QAC3C,IAAA,CAAA,aAAa,GAAG,KAAK,CAAqB,SAAS;0FAAC;;QAEpD,IAAA,CAAA,cAAc,GAAG,KAAK,CAAU,KAAK;2FAAC;QACtC,IAAA,CAAA,eAAe,GAAG,KAAK,CAAqB,SAAS;4FAAC;QACtD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAS,CAAC;qFAAC;QAC3B,IAAA,CAAA,QAAQ,GAAG,KAA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AEG;;;;"}
|
package/package.json
CHANGED
|
@@ -7,12 +7,25 @@ declare class BsHierarchyChartComponent {
|
|
|
7
7
|
readonly data: _angular_core.InputSignal<HierarchyNode | undefined>;
|
|
8
8
|
readonly layout: _angular_core.InputSignal<HierarchyChartLayout>;
|
|
9
9
|
readonly rootId: _angular_core.ModelSignal<string | undefined>;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Levels rendered outward from the focus, or `'auto'` for every loaded level.
|
|
12
|
+
* Unset leaves the element's own default: `'auto'`, or a 2-level window when
|
|
13
|
+
* a `loadChildren` loader is bound.
|
|
14
|
+
*/
|
|
15
|
+
readonly maxDepth: _angular_core.InputSignal<number | "auto" | undefined>;
|
|
12
16
|
readonly minAngle: _angular_core.InputSignal<number>;
|
|
13
17
|
readonly minSize: _angular_core.InputSignal<number>;
|
|
14
18
|
readonly showLabels: _angular_core.InputSignal<boolean>;
|
|
15
|
-
|
|
19
|
+
/** Label font size in device px, constant across host size and zoom. */
|
|
20
|
+
readonly labelFontSize: _angular_core.InputSignal<number>;
|
|
21
|
+
/** Opaque color behind the chart for label contrast; unset = auto-detected. */
|
|
22
|
+
readonly backdrop: _angular_core.InputSignal<string | undefined>;
|
|
23
|
+
/** Gesture allowlist for the geometric zoom: 'wheel pinch' | 'wheel' | 'pinch' | 'none'. */
|
|
24
|
+
readonly zoomGestures: _angular_core.InputSignal<string>;
|
|
25
|
+
readonly zoomHintLabel: _angular_core.InputSignal<string | undefined>;
|
|
26
|
+
/** Renders the focus path as buttons above the chart. */
|
|
27
|
+
readonly showBreadcrumb: _angular_core.InputSignal<boolean>;
|
|
28
|
+
readonly breadcrumbLabel: _angular_core.InputSignal<string | undefined>;
|
|
16
29
|
readonly colorMin: _angular_core.InputSignal<number>;
|
|
17
30
|
readonly colorMax: _angular_core.InputSignal<number>;
|
|
18
31
|
readonly colorStart: _angular_core.InputSignal<string>;
|
|
@@ -38,7 +51,7 @@ declare class BsHierarchyChartComponent {
|
|
|
38
51
|
protected onNodeHover(event: Event): void;
|
|
39
52
|
protected onNodeLoadError(event: Event): void;
|
|
40
53
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsHierarchyChartComponent, never>;
|
|
41
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsHierarchyChartComponent, "bs-hierarchy-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "rootId": { "alias": "rootId"; "required": false; "isSignal": true; }; "maxDepth": { "alias": "maxDepth"; "required": false; "isSignal": true; }; "minAngle": { "alias": "minAngle"; "required": false; "isSignal": true; }; "minSize": { "alias": "minSize"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "
|
|
54
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsHierarchyChartComponent, "bs-hierarchy-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "rootId": { "alias": "rootId"; "required": false; "isSignal": true; }; "maxDepth": { "alias": "maxDepth"; "required": false; "isSignal": true; }; "minAngle": { "alias": "minAngle"; "required": false; "isSignal": true; }; "minSize": { "alias": "minSize"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "labelFontSize": { "alias": "labelFontSize"; "required": false; "isSignal": true; }; "backdrop": { "alias": "backdrop"; "required": false; "isSignal": true; }; "zoomGestures": { "alias": "zoomGestures"; "required": false; "isSignal": true; }; "zoomHintLabel": { "alias": "zoomHintLabel"; "required": false; "isSignal": true; }; "showBreadcrumb": { "alias": "showBreadcrumb"; "required": false; "isSignal": true; }; "breadcrumbLabel": { "alias": "breadcrumbLabel"; "required": false; "isSignal": true; }; "colorMin": { "alias": "colorMin"; "required": false; "isSignal": true; }; "colorMax": { "alias": "colorMax"; "required": false; "isSignal": true; }; "colorStart": { "alias": "colorStart"; "required": false; "isSignal": true; }; "colorEnd": { "alias": "colorEnd"; "required": false; "isSignal": true; }; "transitionDuration": { "alias": "transitionDuration"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "zoomOutLabel": { "alias": "zoomOutLabel"; "required": false; "isSignal": true; }; "metricUnitLabel": { "alias": "metricUnitLabel"; "required": false; "isSignal": true; }; "valueUnitLabel": { "alias": "valueUnitLabel"; "required": false; "isSignal": true; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "tooltipFormatter": { "alias": "tooltipFormatter"; "required": false; "isSignal": true; }; "labelFormatter": { "alias": "labelFormatter"; "required": false; "isSignal": true; }; "loadChildren": { "alias": "loadChildren"; "required": false; "isSignal": true; }; }, { "rootId": "rootIdChange"; "zoom": "zoom"; "nodeSelect": "nodeSelect"; "nodeHover": "nodeHover"; "nodeLoadError": "nodeLoadError"; }, never, never, true, never>;
|
|
42
55
|
}
|
|
43
56
|
|
|
44
57
|
export { BsHierarchyChartComponent };
|