@bizy/core 20.2.6 → 20.2.8

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, TemplateRef, PipeTransform, QueryList, ElementRef, ViewContainerRef, AfterContentInit, Renderer2, RendererFactory2, OnInit } from '@angular/core';
2
+ import { EventEmitter, ChangeDetectorRef, OnDestroy, AfterViewInit, ElementRef, Renderer2, TemplateRef, PipeTransform, QueryList, ViewContainerRef, AfterContentInit, 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,6 +91,10 @@ 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;
94
98
  resizeRef: HTMLElement | null;
95
99
  tooltip: boolean;
96
100
  download: {
@@ -104,6 +108,7 @@ declare class BizyBarLineChartComponent implements OnDestroy, AfterViewInit {
104
108
  onXAxisLabelFormatter: (item: any) => string;
105
109
  onDownload: EventEmitter<void>;
106
110
  onSelect: EventEmitter<string>;
111
+ constructor(elementRef: ElementRef, document: Document, ref: ChangeDetectorRef, renderer: Renderer2);
107
112
  ngAfterViewInit(): void;
108
113
  set data(data: Array<IBizyBarLineChartData>);
109
114
  ngOnDestroy(): void;
@@ -858,6 +863,10 @@ interface IBizyPieChartData {
858
863
 
859
864
  declare class BizyPieChartComponent {
860
865
  #private;
866
+ private elementRef;
867
+ private document;
868
+ private ref;
869
+ private renderer;
861
870
  resizeRef: HTMLElement | null;
862
871
  tooltip: boolean;
863
872
  type: 'pie' | 'donut';
@@ -870,6 +879,7 @@ declare class BizyPieChartComponent {
870
879
  onTooltipFormatter: (item: any) => string;
871
880
  onSelect: EventEmitter<string>;
872
881
  onDownload: EventEmitter<void>;
882
+ constructor(elementRef: ElementRef, document: Document, ref: ChangeDetectorRef, renderer: Renderer2);
873
883
  ngAfterViewInit(): void;
874
884
  set data(data: Array<IBizyPieChartData>);
875
885
  ngOnDestroy(): void;
@@ -1434,12 +1444,12 @@ declare class BizyToastService {
1434
1444
  defaultDangerTitle?: string;
1435
1445
  duration?: number;
1436
1446
  }): void;
1437
- debug(data: string | {
1447
+ debug(data?: string | {
1438
1448
  title: string;
1439
1449
  msg?: string;
1440
1450
  duration?: number;
1441
1451
  }): void;
1442
- info(data: string | {
1452
+ info(data?: string | {
1443
1453
  title: string;
1444
1454
  msg?: string;
1445
1455
  duration?: number;
@@ -1449,7 +1459,7 @@ declare class BizyToastService {
1449
1459
  msg?: string;
1450
1460
  duration?: number;
1451
1461
  }): void;
1452
- warning(data: string | {
1462
+ warning(data?: string | {
1453
1463
  title: string;
1454
1464
  msg?: string;
1455
1465
  duration?: number;
@@ -1970,7 +1980,7 @@ declare class BizyLoadingDirective {
1970
1980
  declare class BizyLongPressDirective implements OnDestroy {
1971
1981
  #private;
1972
1982
  threshold: number;
1973
- bizyLongPress: EventEmitter<TouchEvent | MouseEvent>;
1983
+ bizyLongPress: EventEmitter<MouseEvent | TouchEvent>;
1974
1984
  onPressStart(event: MouseEvent | TouchEvent): void;
1975
1985
  onPressEnd(): void;
1976
1986
  private clearTimeout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizy/core",
3
- "version": "20.2.6",
3
+ "version": "20.2.8",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^20.0.0",
6
6
  "@angular/common": "^20.0.0",
@@ -37,9 +37,6 @@
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
-
43
40
  --bizy-breadcrumb-link-color: var(--bizy-info-color);
44
41
  --bizy-breadcrumb-path-color: var(--bizy-default-color);
45
42
 
@@ -64,11 +61,6 @@
64
61
  --bizy-card-width: 100%;
65
62
  --bizy-card-min-width: auto;
66
63
  --bizy-card-max-width: auto;
67
- --bizy-card-border: none;
68
- --bizy-card-border-top: none;
69
- --bizy-card-border-right: none;
70
- --bizy-card-border-bottom: none;
71
- --bizy-card-border-left: none;
72
64
  --bizy-card-border-radius: 0.3rem;
73
65
  --bizy-card-padding: 0.5rem;
74
66
  --bizy-card-box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
@@ -168,10 +160,6 @@
168
160
  --bizy-menu-scroll-bar-color: var(--bizy-default-color);
169
161
  --bizy-menu-scroll-bar-hover-color: #999;
170
162
 
171
- --bizy-pie-chart-min-width: 350px;
172
- --bizy-pie-chart-min-height: 350px;
173
-
174
-
175
163
  --bizy-popup-background-color: #fff;
176
164
  --bizy-popup-min-width: 20rem;
177
165
  --bizy-popup-width: fit-content;