@bizy/core 20.2.1 → 20.2.3

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, ChangeDetectorRef, OnDestroy, AfterViewInit, ElementRef, Renderer2, TemplateRef, PipeTransform, QueryList, ViewContainerRef, AfterContentInit, RendererFactory2, OnInit } from '@angular/core';
2
+ import { EventEmitter, ChangeDetectorRef, OnDestroy, AfterViewInit, TemplateRef, PipeTransform, QueryList, ElementRef, ViewContainerRef, AfterContentInit, Renderer2, RendererFactory2, OnInit } from '@angular/core';
3
3
  import { CalendarEvent, CalendarMonthViewDay } from 'angular-calendar';
4
4
  import { Subject, Observable, BehaviorSubject } from 'rxjs';
5
5
  import { UppyFile, SuccessResponse } from '@uppy/core';
@@ -91,10 +91,6 @@ interface IBizyBarLineChartData {
91
91
 
92
92
  declare class BizyBarLineChartComponent implements OnDestroy, AfterViewInit {
93
93
  #private;
94
- private elementRef;
95
- private document;
96
- private ref;
97
- private renderer;
98
94
  resizeRef: HTMLElement | null;
99
95
  tooltip: boolean;
100
96
  download: {
@@ -108,7 +104,6 @@ declare class BizyBarLineChartComponent implements OnDestroy, AfterViewInit {
108
104
  onXAxisLabelFormatter: (item: any) => string;
109
105
  onDownload: EventEmitter<void>;
110
106
  onSelect: EventEmitter<string>;
111
- constructor(elementRef: ElementRef, document: Document, ref: ChangeDetectorRef, renderer: Renderer2);
112
107
  ngAfterViewInit(): void;
113
108
  set data(data: Array<IBizyBarLineChartData>);
114
109
  ngOnDestroy(): void;
@@ -747,6 +742,7 @@ declare class BizyGridComponent implements AfterContentInit {
747
742
  private document;
748
743
  private renderer;
749
744
  private elementRef;
745
+ private virtualScroll;
750
746
  content: TemplateRef<object>;
751
747
  gridDirective: BizyGridForDirective;
752
748
  resizeRef: ElementRef | null;
@@ -759,6 +755,7 @@ declare class BizyGridComponent implements AfterContentInit {
759
755
  constructor(ref: ChangeDetectorRef, document: Document, renderer: Renderer2, elementRef: ElementRef);
760
756
  ngAfterContentInit(): void;
761
757
  trackById(index: number, item: any): any;
758
+ scrollTo(index: number, behavior?: 'auto' | 'instant' | 'smooth'): void;
762
759
  ngOnDestroy(): void;
763
760
  static ɵfac: i0.ɵɵFactoryDeclaration<BizyGridComponent, never>;
764
761
  static ɵcmp: i0.ɵɵComponentDeclaration<BizyGridComponent, "bizy-grid", never, { "resizeRef": { "alias": "resizeRef"; "required": false; }; }, {}, ["gridDirective"], ["*"], true, never>;
@@ -861,10 +858,6 @@ interface IBizyPieChartData {
861
858
 
862
859
  declare class BizyPieChartComponent {
863
860
  #private;
864
- private elementRef;
865
- private document;
866
- private ref;
867
- private renderer;
868
861
  resizeRef: HTMLElement | null;
869
862
  tooltip: boolean;
870
863
  type: 'pie' | 'donut';
@@ -877,7 +870,6 @@ declare class BizyPieChartComponent {
877
870
  onTooltipFormatter: (item: any) => string;
878
871
  onSelect: EventEmitter<string>;
879
872
  onDownload: EventEmitter<void>;
880
- constructor(elementRef: ElementRef, document: Document, ref: ChangeDetectorRef, renderer: Renderer2);
881
873
  ngAfterViewInit(): void;
882
874
  set data(data: Array<IBizyPieChartData>);
883
875
  ngOnDestroy(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizy/core",
3
- "version": "20.2.1",
3
+ "version": "20.2.3",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^20.0.0",
6
6
  "@angular/common": "^20.0.0",
@@ -37,6 +37,9 @@
37
37
  --bizy-audio-player-download-button-background-color: var(--bizy-accent-color);
38
38
  --bizy-audio-player-download-button-color: #fff;
39
39
 
40
+ --bizy-bar-line-chart-min-width: 350px;
41
+ --bizy-bar-line-chart-min-height: 350px;
42
+
40
43
  --bizy-breadcrumb-link-color: var(--bizy-info-color);
41
44
  --bizy-breadcrumb-path-color: var(--bizy-default-color);
42
45
 
@@ -164,6 +167,10 @@
164
167
  --bizy-menu-scroll-bar-color: var(--bizy-default-color);
165
168
  --bizy-menu-scroll-bar-hover-color: #999;
166
169
 
170
+ --bizy-pie-chart-min-width: 350px;
171
+ --bizy-pie-chart-min-height: 350px;
172
+
173
+
167
174
  --bizy-popup-background-color: #fff;
168
175
  --bizy-popup-min-width: 20rem;
169
176
  --bizy-popup-width: fit-content;