ngx-core-components 0.3.19 → 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.
Files changed (33) hide show
  1. package/charts/adjacency-matrix/adjacency-matrix.component.d.ts +51 -0
  2. package/charts/bar-chart/bar-chart.component.d.ts +16 -2
  3. package/charts/biplot/biplot.component.d.ts +67 -0
  4. package/charts/bullet-chart/bullet-chart.component.d.ts +37 -0
  5. package/charts/chord-diagram/chord-diagram.component.d.ts +56 -0
  6. package/charts/dependency-wheel/dependency-wheel.component.d.ts +56 -0
  7. package/charts/dumbbell-chart/dumbbell-chart.component.d.ts +61 -0
  8. package/charts/kagi-chart/kagi-chart.component.d.ts +59 -0
  9. package/charts/line-chart/line-chart.component.d.ts +17 -2
  10. package/charts/lollipop-chart/lollipop-chart.component.d.ts +46 -0
  11. package/charts/marimekko-chart/marimekko-chart.component.d.ts +61 -0
  12. package/charts/pareto-chart/pareto-chart.component.d.ts +52 -0
  13. package/charts/point-figure-chart/point-figure-chart.component.d.ts +56 -0
  14. package/charts/polar-area-chart/polar-area-chart.component.d.ts +67 -0
  15. package/charts/public-api.d.ts +33 -0
  16. package/charts/renko-chart/renko-chart.component.d.ts +58 -0
  17. package/charts/ridgeline-chart/ridgeline-chart.component.d.ts +59 -0
  18. package/charts/sankey-chart/sankey-chart.component.d.ts +74 -0
  19. package/charts/slope-chart/slope-chart.component.d.ts +52 -0
  20. package/charts/violin-plot/violin-plot.component.d.ts +64 -0
  21. package/charts/wind-rose/wind-rose.component.d.ts +68 -0
  22. package/fesm2022/ngx-core-components-charts.mjs +7787 -42
  23. package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
  24. package/fesm2022/ngx-core-components-inputs.mjs +7 -2
  25. package/fesm2022/ngx-core-components-inputs.mjs.map +1 -1
  26. package/fesm2022/ngx-core-components-views.mjs +531 -201
  27. package/fesm2022/ngx-core-components-views.mjs.map +1 -1
  28. package/fesm2022/ngx-core-components.mjs +1 -1
  29. package/fesm2022/ngx-core-components.mjs.map +1 -1
  30. package/inputs/tag-input/tag-input.component.d.ts +2 -0
  31. package/package.json +1 -1
  32. package/public-api.d.ts +33 -0
  33. 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 the host
3506
- const input = document.querySelector('ngx-tag-input .ngx-tag-input__field');
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) {