@litigiovirtual/ius-design-components 1.0.75 → 1.0.76

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.
@@ -26,9 +26,14 @@ type BarStripe = {
26
26
  };
27
27
  export declare class IusChartsBarGroupedComponent implements OnChanges, AfterViewInit, OnDestroy {
28
28
  private zone;
29
+ private hostEl;
29
30
  data: BarGroup[];
30
31
  legendPosition: 'right' | 'bottom';
31
32
  seriesOrder?: string[];
33
+ yMax?: number;
34
+ ticks: number;
35
+ width: number;
36
+ size: number;
32
37
  margin: {
33
38
  top: number;
34
39
  right: number;
@@ -40,19 +45,15 @@ export declare class IusChartsBarGroupedComponent implements OnChanges, AfterVie
40
45
  groupGap: number;
41
46
  outerGap: number;
42
47
  barRadius: number;
43
- yMax?: number;
44
- ticks: number;
45
- width: number;
46
- size: number;
47
48
  maxLabelChars: number;
48
49
  barClick: EventEmitter<{
49
50
  group: string;
50
51
  series: string;
51
52
  value: number;
52
53
  }>;
53
- panesRef: ElementRef<HTMLElement>;
54
54
  plotCtn: ElementRef<HTMLElement>;
55
55
  private ro?;
56
+ private rafId;
56
57
  private _bars;
57
58
  private _groups;
58
59
  private _series;
@@ -76,10 +77,13 @@ export declare class IusChartsBarGroupedComponent implements OnChanges, AfterVie
76
77
  readonly axisViewBox: import("@angular/core").Signal<string>;
77
78
  readonly plotViewBox: import("@angular/core").Signal<string>;
78
79
  readonly Math: Math;
79
- constructor(zone: NgZone);
80
+ constructor(zone: NgZone, hostEl: ElementRef<HTMLElement>);
80
81
  ngAfterViewInit(): void;
81
82
  ngOnDestroy(): void;
82
83
  ngOnChanges(): void;
84
+ /** Ejecuta una tarea en el próximo frame dentro de Angular */
85
+ private raf;
86
+ /** Mide alto del host y ancho visible del plot. Devuelve true si cambió algo. */
83
87
  private measureNow;
84
88
  private recalc;
85
89
  private niceMax;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litigiovirtual/ius-design-components",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0 <20.0.0",
6
6
  "@angular/core": ">=17.0.0 <20.0.0",