ngx-core-components 0.3.18 → 0.3.20
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/charts/adjacency-matrix/adjacency-matrix.component.d.ts +51 -0
- package/charts/bar-chart/bar-chart.component.d.ts +16 -2
- package/charts/biplot/biplot.component.d.ts +67 -0
- package/charts/bullet-chart/bullet-chart.component.d.ts +37 -0
- package/charts/chord-diagram/chord-diagram.component.d.ts +56 -0
- package/charts/dependency-wheel/dependency-wheel.component.d.ts +56 -0
- package/charts/dumbbell-chart/dumbbell-chart.component.d.ts +61 -0
- package/charts/kagi-chart/kagi-chart.component.d.ts +59 -0
- package/charts/line-chart/line-chart.component.d.ts +17 -2
- package/charts/lollipop-chart/lollipop-chart.component.d.ts +46 -0
- package/charts/marimekko-chart/marimekko-chart.component.d.ts +61 -0
- package/charts/pareto-chart/pareto-chart.component.d.ts +52 -0
- package/charts/point-figure-chart/point-figure-chart.component.d.ts +56 -0
- package/charts/polar-area-chart/polar-area-chart.component.d.ts +67 -0
- package/charts/public-api.d.ts +33 -0
- package/charts/renko-chart/renko-chart.component.d.ts +58 -0
- package/charts/ridgeline-chart/ridgeline-chart.component.d.ts +59 -0
- package/charts/sankey-chart/sankey-chart.component.d.ts +74 -0
- package/charts/slope-chart/slope-chart.component.d.ts +52 -0
- package/charts/violin-plot/violin-plot.component.d.ts +64 -0
- package/charts/wind-rose/wind-rose.component.d.ts +68 -0
- package/fesm2022/ngx-core-components-charts.mjs +7787 -42
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-inputs.mjs +7 -2
- package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
- package/fesm2022/ngx-core-components-views.mjs +531 -201
- package/fesm2022/ngx-core-components-views.mjs.map +1 -1
- package/fesm2022/ngx-core-components.mjs +1 -1
- package/fesm2022/ngx-core-components.mjs.map +1 -1
- package/inputs/tag-input/tag-input.component.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +33 -0
- package/views/calendar/calendar.component.d.ts +28 -1
|
@@ -3481,6 +3481,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
3481
3481
|
}] });
|
|
3482
3482
|
|
|
3483
3483
|
class TagInputComponent {
|
|
3484
|
+
elementRef = inject(ElementRef);
|
|
3484
3485
|
// ── Inputs ──
|
|
3485
3486
|
tags = input([]);
|
|
3486
3487
|
placeholder = input('Add tag...');
|
|
@@ -3497,13 +3498,17 @@ class TagInputComponent {
|
|
|
3497
3498
|
isFocused = signal(false);
|
|
3498
3499
|
inputValue = '';
|
|
3499
3500
|
isAtMax = computed(() => this.internalTags().length >= this.maxTags());
|
|
3501
|
+
syncTags = effect(() => {
|
|
3502
|
+
const initial = this.tags();
|
|
3503
|
+
this.internalTags.set(initial ? [...initial] : []);
|
|
3504
|
+
});
|
|
3500
3505
|
/** Native input element reference (grabbed via ViewChild-less approach via the template variable). */
|
|
3501
3506
|
_inputEl = null;
|
|
3502
3507
|
focusInput() {
|
|
3503
3508
|
if (this.disabled() || this.isAtMax())
|
|
3504
3509
|
return;
|
|
3505
|
-
// Query the rendered input inside
|
|
3506
|
-
const input =
|
|
3510
|
+
// Query the rendered input inside this host element
|
|
3511
|
+
const input = this.elementRef.nativeElement.querySelector('.ngx-tag-input__field');
|
|
3507
3512
|
input?.focus();
|
|
3508
3513
|
}
|
|
3509
3514
|
onKeydown(event) {
|