@bizy/core 21.0.0 → 21.1.0

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.
@@ -76,19 +76,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
76
76
  type: Output
77
77
  }] } });
78
78
 
79
- const COMPONENTS$y = [
79
+ const COMPONENTS$z = [
80
80
  BizyAccordionComponent,
81
81
  ];
82
82
  class BizyAccordionModule {
83
83
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
84
84
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyAccordionModule, imports: [BizyAccordionComponent], exports: [BizyAccordionComponent] });
85
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyAccordionModule, imports: [COMPONENTS$y] });
85
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyAccordionModule, imports: [COMPONENTS$z] });
86
86
  }
87
87
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyAccordionModule, decorators: [{
88
88
  type: NgModule,
89
89
  args: [{
90
- imports: COMPONENTS$y,
91
- exports: COMPONENTS$y
90
+ imports: COMPONENTS$z,
91
+ exports: COMPONENTS$z
92
92
  }]
93
93
  }] });
94
94
 
@@ -7659,7 +7659,7 @@ var muteAnimation = {
7659
7659
  markers: markers
7660
7660
  };
7661
7661
 
7662
- const DEFAULT_DOWNLOAD$3 = {
7662
+ const DEFAULT_DOWNLOAD$4 = {
7663
7663
  show: true,
7664
7664
  name: 'Bizy'
7665
7665
  };
@@ -7706,9 +7706,9 @@ class BizyAudioPlayerComponent {
7706
7706
  if (!download) {
7707
7707
  return;
7708
7708
  }
7709
- this._showDownload = download.show ?? DEFAULT_DOWNLOAD$3.show;
7709
+ this._showDownload = download.show ?? DEFAULT_DOWNLOAD$4.show;
7710
7710
  this._downloadURL = download.url ?? null;
7711
- this._downloadFileName = download.name ?? DEFAULT_DOWNLOAD$3.name;
7711
+ this._downloadFileName = download.name ?? DEFAULT_DOWNLOAD$4.name;
7712
7712
  }
7713
7713
  ;
7714
7714
  set playbackRate(playbackRate) {
@@ -7769,9 +7769,9 @@ class BizyAudioPlayerComponent {
7769
7769
  _paused = true;
7770
7770
  _muted = false;
7771
7771
  _src = null;
7772
- _showDownload = DEFAULT_DOWNLOAD$3.show;
7772
+ _showDownload = DEFAULT_DOWNLOAD$4.show;
7773
7773
  _downloadURL = null;
7774
- _downloadFileName = DEFAULT_DOWNLOAD$3.name;
7774
+ _downloadFileName = DEFAULT_DOWNLOAD$4.name;
7775
7775
  _showPlaybackRate = DEFAULT_PLAYBACK_RATE.show;
7776
7776
  _playbackRate = DEFAULT_PLAYBACK_RATE.default;
7777
7777
  MIME_TYPE = MIME_TYPE;
@@ -8378,7 +8378,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
8378
8378
  type: Input
8379
8379
  }] } });
8380
8380
 
8381
- const COMPONENTS$x = [BizyAudioPlayerComponent];
8381
+ const COMPONENTS$y = [BizyAudioPlayerComponent];
8382
8382
  class BizyAudioPlayerModule {
8383
8383
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyAudioPlayerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8384
8384
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyAudioPlayerModule, imports: [BizyAudioPlayerComponent], exports: [BizyAudioPlayerComponent] });
@@ -8387,8 +8387,8 @@ class BizyAudioPlayerModule {
8387
8387
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyAudioPlayerModule, decorators: [{
8388
8388
  type: NgModule,
8389
8389
  args: [{
8390
- imports: COMPONENTS$x,
8391
- exports: COMPONENTS$x
8390
+ imports: COMPONENTS$y,
8391
+ exports: COMPONENTS$y
8392
8392
  }]
8393
8393
  }] });
8394
8394
 
@@ -8626,7 +8626,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
8626
8626
  type: Output
8627
8627
  }] } });
8628
8628
 
8629
- const COMPONENTS$w = [
8629
+ const COMPONENTS$x = [
8630
8630
  BizyAudioRecorderComponent,
8631
8631
  ];
8632
8632
  class BizyAudioRecorderModule {
@@ -8637,8 +8637,8 @@ class BizyAudioRecorderModule {
8637
8637
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyAudioRecorderModule, decorators: [{
8638
8638
  type: NgModule,
8639
8639
  args: [{
8640
- imports: COMPONENTS$w,
8641
- exports: COMPONENTS$w
8640
+ imports: COMPONENTS$x,
8641
+ exports: COMPONENTS$x
8642
8642
  }]
8643
8643
  }] });
8644
8644
 
@@ -10056,7 +10056,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
10056
10056
  args: ['dynamicComponentContainer', { read: ViewContainerRef }]
10057
10057
  }] } });
10058
10058
 
10059
- const COMPONENTS$v = [
10059
+ const COMPONENTS$w = [
10060
10060
  BizyPopupWrapperComponent,
10061
10061
  BizyFullScreenPopupWrapperComponent
10062
10062
  ];
@@ -10065,13 +10065,13 @@ class BizyPopupModule {
10065
10065
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyPopupModule, imports: [BizyPopupWrapperComponent,
10066
10066
  BizyFullScreenPopupWrapperComponent], exports: [BizyPopupWrapperComponent,
10067
10067
  BizyFullScreenPopupWrapperComponent] });
10068
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyPopupModule, providers: [BizyPopupService], imports: [COMPONENTS$v] });
10068
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyPopupModule, providers: [BizyPopupService], imports: [COMPONENTS$w] });
10069
10069
  }
10070
10070
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyPopupModule, decorators: [{
10071
10071
  type: NgModule,
10072
10072
  args: [{
10073
- imports: COMPONENTS$v,
10074
- exports: COMPONENTS$v,
10073
+ imports: COMPONENTS$w,
10074
+ exports: COMPONENTS$w,
10075
10075
  providers: [BizyPopupService]
10076
10076
  }]
10077
10077
  }] });
@@ -10140,13 +10140,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
10140
10140
 
10141
10141
  const GRID_BOTTOM = 30;
10142
10142
  const Y_AXIS_OFFSET = 50;
10143
- const DEFAULT_CHART_SIZE$2 = '300px';
10144
- const DEFAULT_DOWNLOAD$2 = {
10143
+ const DEFAULT_CHART_SIZE$3 = '300px';
10144
+ const DEFAULT_DOWNLOAD$3 = {
10145
10145
  show: true,
10146
10146
  label: 'Descargar',
10147
10147
  name: 'Bizy'
10148
10148
  };
10149
- const DEFAULT_TOOLTIP$2 = {
10149
+ const DEFAULT_TOOLTIP$3 = {
10150
10150
  show: true
10151
10151
  };
10152
10152
  class BizyBarLineChartComponent {
@@ -10156,8 +10156,8 @@ class BizyBarLineChartComponent {
10156
10156
  #renderer = inject(Renderer2);
10157
10157
  #popup = inject(BizyPopupService);
10158
10158
  resizeRef = null;
10159
- tooltip = DEFAULT_TOOLTIP$2;
10160
- download = DEFAULT_DOWNLOAD$2;
10159
+ tooltip = DEFAULT_TOOLTIP$3;
10160
+ download = DEFAULT_DOWNLOAD$3;
10161
10161
  axisPointer = 'line';
10162
10162
  xAxis = null;
10163
10163
  onDownload = new EventEmitter();
@@ -10341,7 +10341,7 @@ class BizyBarLineChartComponent {
10341
10341
  }
10342
10342
  });
10343
10343
  const tooltip = {
10344
- show: this.tooltip?.show ?? DEFAULT_TOOLTIP$2.show,
10344
+ show: this.tooltip?.show ?? DEFAULT_TOOLTIP$3.show,
10345
10345
  trigger: 'axis',
10346
10346
  appendToBody: true,
10347
10347
  axisPointer: {
@@ -10377,9 +10377,9 @@ class BizyBarLineChartComponent {
10377
10377
  show: true,
10378
10378
  feature: {
10379
10379
  mySaveAsImage: {
10380
- show: this.download?.show ?? DEFAULT_DOWNLOAD$2.show,
10380
+ show: this.download?.show ?? DEFAULT_DOWNLOAD$3.show,
10381
10381
  icon: 'path://M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z',
10382
- title: this.download?.label ?? DEFAULT_DOWNLOAD$2.label,
10382
+ title: this.download?.label ?? DEFAULT_DOWNLOAD$3.label,
10383
10383
  onclick: () => {
10384
10384
  this.#popup.open({
10385
10385
  disableCloseButton: true,
@@ -10387,7 +10387,7 @@ class BizyBarLineChartComponent {
10387
10387
  component: BizyBarLineChartPopupComponent,
10388
10388
  data: {
10389
10389
  download: {
10390
- name: this.download?.name ?? DEFAULT_DOWNLOAD$2.name,
10390
+ name: this.download?.name ?? DEFAULT_DOWNLOAD$3.name,
10391
10391
  },
10392
10392
  grid: {
10393
10393
  left: this.#gridLeft,
@@ -10457,8 +10457,8 @@ class BizyBarLineChartComponent {
10457
10457
  let elementHeight = this.#elementRef.nativeElement.offsetHeight;
10458
10458
  let minWidth = this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-line-chart-width');
10459
10459
  let minHeight = this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-line-chart-height');
10460
- const width = minWidth ? minWidth : elementWidth ? `${elementWidth}px` : DEFAULT_CHART_SIZE$2;
10461
- const height = minHeight ? minHeight : elementHeight ? `${elementHeight}px` : DEFAULT_CHART_SIZE$2;
10460
+ const width = minWidth ? minWidth : elementWidth ? `${elementWidth}px` : DEFAULT_CHART_SIZE$3;
10461
+ const height = minHeight ? minHeight : elementHeight ? `${elementHeight}px` : DEFAULT_CHART_SIZE$3;
10462
10462
  this.#chartContainer = this.#renderer.createElement('div');
10463
10463
  this.#renderer.setStyle(this.#chartContainer, 'width', width);
10464
10464
  this.#renderer.setStyle(this.#chartContainer, 'height', height);
@@ -10519,7 +10519,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
10519
10519
  type: Input
10520
10520
  }] } });
10521
10521
 
10522
- const COMPONENTS$u = [
10522
+ const COMPONENTS$v = [
10523
10523
  BizyBarLineChartComponent,
10524
10524
  BizyBarLineChartPopupComponent
10525
10525
  ];
@@ -10533,8 +10533,8 @@ class BizyBarLineChartModule {
10533
10533
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBarLineChartModule, decorators: [{
10534
10534
  type: NgModule,
10535
10535
  args: [{
10536
- imports: COMPONENTS$u,
10537
- exports: COMPONENTS$u
10536
+ imports: COMPONENTS$v,
10537
+ exports: COMPONENTS$v
10538
10538
  }]
10539
10539
  }] });
10540
10540
 
@@ -10593,19 +10593,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
10593
10593
  type: Input
10594
10594
  }] } });
10595
10595
 
10596
- const COMPONENTS$t = [
10596
+ const COMPONENTS$u = [
10597
10597
  BizyBreadcrumbComponent,
10598
10598
  ];
10599
10599
  class BizyBreadcrumbModule {
10600
10600
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10601
10601
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyBreadcrumbModule, imports: [BizyBreadcrumbComponent], exports: [BizyBreadcrumbComponent] });
10602
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBreadcrumbModule, imports: [COMPONENTS$t] });
10602
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBreadcrumbModule, imports: [COMPONENTS$u] });
10603
10603
  }
10604
10604
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBreadcrumbModule, decorators: [{
10605
10605
  type: NgModule,
10606
10606
  args: [{
10607
- imports: COMPONENTS$t,
10608
- exports: COMPONENTS$t
10607
+ imports: COMPONENTS$u,
10608
+ exports: COMPONENTS$u
10609
10609
  }]
10610
10610
  }] });
10611
10611
 
@@ -10642,19 +10642,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
10642
10642
  type: Output
10643
10643
  }] } });
10644
10644
 
10645
- const COMPONENTS$s = [
10645
+ const COMPONENTS$t = [
10646
10646
  BizyButtonComponent,
10647
10647
  ];
10648
10648
  class BizyButtonModule {
10649
10649
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10650
10650
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyButtonModule, imports: [BizyButtonComponent], exports: [BizyButtonComponent] });
10651
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyButtonModule, imports: [COMPONENTS$s] });
10651
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyButtonModule, imports: [COMPONENTS$t] });
10652
10652
  }
10653
10653
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyButtonModule, decorators: [{
10654
10654
  type: NgModule,
10655
10655
  args: [{
10656
- imports: COMPONENTS$s,
10657
- exports: COMPONENTS$s
10656
+ imports: COMPONENTS$t,
10657
+ exports: COMPONENTS$t
10658
10658
  }]
10659
10659
  }] });
10660
10660
 
@@ -10925,19 +10925,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
10925
10925
  type: Input
10926
10926
  }] } });
10927
10927
 
10928
- const COMPONENTS$r = [
10928
+ const COMPONENTS$s = [
10929
10929
  BizyCalendarComponent,
10930
10930
  ];
10931
10931
  class BizyCalendarModule {
10932
10932
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10933
10933
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyCalendarModule, imports: [BizyCalendarComponent], exports: [BizyCalendarComponent] });
10934
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCalendarModule, imports: [COMPONENTS$r] });
10934
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCalendarModule, imports: [COMPONENTS$s] });
10935
10935
  }
10936
10936
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCalendarModule, decorators: [{
10937
10937
  type: NgModule,
10938
10938
  args: [{
10939
- imports: COMPONENTS$r,
10940
- exports: COMPONENTS$r
10939
+ imports: COMPONENTS$s,
10940
+ exports: COMPONENTS$s
10941
10941
  }]
10942
10942
  }] });
10943
10943
 
@@ -10973,19 +10973,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
10973
10973
  type: Output
10974
10974
  }] } });
10975
10975
 
10976
- const COMPONENTS$q = [
10976
+ const COMPONENTS$r = [
10977
10977
  BizyCardComponent,
10978
10978
  ];
10979
10979
  class BizyCardModule {
10980
10980
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10981
10981
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyCardModule, imports: [BizyCardComponent], exports: [BizyCardComponent] });
10982
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCardModule, imports: [COMPONENTS$q] });
10982
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCardModule, imports: [COMPONENTS$r] });
10983
10983
  }
10984
10984
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCardModule, decorators: [{
10985
10985
  type: NgModule,
10986
10986
  args: [{
10987
- imports: COMPONENTS$q,
10988
- exports: COMPONENTS$q
10987
+ imports: COMPONENTS$r,
10988
+ exports: COMPONENTS$r
10989
10989
  }]
10990
10990
  }] });
10991
10991
 
@@ -11026,19 +11026,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
11026
11026
  type: Output
11027
11027
  }] } });
11028
11028
 
11029
- const COMPONENTS$p = [
11029
+ const COMPONENTS$q = [
11030
11030
  BizyCheckboxComponent,
11031
11031
  ];
11032
11032
  class BizyCheckboxModule {
11033
11033
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11034
11034
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyCheckboxModule, imports: [BizyCheckboxComponent], exports: [BizyCheckboxComponent] });
11035
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCheckboxModule, imports: [COMPONENTS$p] });
11035
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCheckboxModule, imports: [COMPONENTS$q] });
11036
11036
  }
11037
11037
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyCheckboxModule, decorators: [{
11038
11038
  type: NgModule,
11039
11039
  args: [{
11040
- imports: COMPONENTS$p,
11041
- exports: COMPONENTS$p
11040
+ imports: COMPONENTS$q,
11041
+ exports: COMPONENTS$q
11042
11042
  }]
11043
11043
  }] });
11044
11044
 
@@ -11053,7 +11053,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
11053
11053
  args: [{ selector: 'bizy-content', imports: [], template: "<ng-content></ng-content>", styles: [":host{flex:1;padding:var(--bizy-content-padding);width:var(--bizy-content-width);height:var(--bizy-content-height);overflow:auto;display:flex;flex-direction:var(--bizy-content-flex-direction);row-gap:var(--bizy-content-row-gap)}\n"] }]
11054
11054
  }] });
11055
11055
 
11056
- const COMPONENTS$o = [
11056
+ const COMPONENTS$p = [
11057
11057
  BizyContentComponent,
11058
11058
  ];
11059
11059
  class BizyContentModule {
@@ -11064,8 +11064,8 @@ class BizyContentModule {
11064
11064
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyContentModule, decorators: [{
11065
11065
  type: NgModule,
11066
11066
  args: [{
11067
- imports: COMPONENTS$o,
11068
- exports: COMPONENTS$o
11067
+ imports: COMPONENTS$p,
11068
+ exports: COMPONENTS$p
11069
11069
  }]
11070
11070
  }] });
11071
11071
 
@@ -11573,19 +11573,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
11573
11573
  type: Input
11574
11574
  }] } });
11575
11575
 
11576
- const COMPONENTS$n = [
11576
+ const COMPONENTS$o = [
11577
11577
  BizyDatePickerComponent,
11578
11578
  ];
11579
11579
  class BizyDatePickerModule {
11580
11580
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11581
11581
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyDatePickerModule, imports: [BizyDatePickerComponent], exports: [BizyDatePickerComponent] });
11582
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyDatePickerModule, imports: [COMPONENTS$n] });
11582
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyDatePickerModule, imports: [COMPONENTS$o] });
11583
11583
  }
11584
11584
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyDatePickerModule, decorators: [{
11585
11585
  type: NgModule,
11586
11586
  args: [{
11587
- imports: COMPONENTS$n,
11588
- exports: COMPONENTS$n
11587
+ imports: COMPONENTS$o,
11588
+ exports: COMPONENTS$o
11589
11589
  }]
11590
11590
  }] });
11591
11591
 
@@ -11927,7 +11927,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
11927
11927
  type: Output
11928
11928
  }] } });
11929
11929
 
11930
- const COMPONENTS$m = [
11930
+ const COMPONENTS$n = [
11931
11931
  BizyFileUploaderComponent,
11932
11932
  ];
11933
11933
  class BizyFileUploaderModule {
@@ -11938,8 +11938,8 @@ class BizyFileUploaderModule {
11938
11938
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyFileUploaderModule, decorators: [{
11939
11939
  type: NgModule,
11940
11940
  args: [{
11941
- imports: COMPONENTS$m,
11942
- exports: COMPONENTS$m,
11941
+ imports: COMPONENTS$n,
11942
+ exports: COMPONENTS$n,
11943
11943
  providers: [BizyFileUploaderService]
11944
11944
  }]
11945
11945
  }] });
@@ -12545,7 +12545,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
12545
12545
  }]
12546
12546
  }] });
12547
12547
 
12548
- const COMPONENTS$l = [
12548
+ const COMPONENTS$m = [
12549
12549
  BizyFilterComponent,
12550
12550
  BizyFilterSectionComponent,
12551
12551
  BizyFilterContentComponent,
@@ -12584,8 +12584,8 @@ class BizyFilterModule {
12584
12584
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyFilterModule, decorators: [{
12585
12585
  type: NgModule,
12586
12586
  args: [{
12587
- imports: COMPONENTS$l.concat(PIPES$1),
12588
- exports: COMPONENTS$l.concat(PIPES$1),
12587
+ imports: COMPONENTS$m.concat(PIPES$1),
12588
+ exports: COMPONENTS$m.concat(PIPES$1),
12589
12589
  providers: PIPES$1
12590
12590
  }]
12591
12591
  }] });
@@ -12818,15 +12818,412 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
12818
12818
  type: Input
12819
12819
  }] } });
12820
12820
 
12821
- const COMPONENTS$k = [
12821
+ const COMPONENTS$l = [
12822
12822
  BizyFormComponent,
12823
12823
  ];
12824
12824
  class BizyFormModule {
12825
12825
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12826
12826
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyFormModule, imports: [BizyFormComponent], exports: [BizyFormComponent] });
12827
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyFormModule, imports: [COMPONENTS$k] });
12827
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyFormModule, imports: [COMPONENTS$l] });
12828
12828
  }
12829
12829
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyFormModule, decorators: [{
12830
+ type: NgModule,
12831
+ args: [{
12832
+ imports: COMPONENTS$l,
12833
+ exports: COMPONENTS$l,
12834
+ }]
12835
+ }] });
12836
+
12837
+ class BizyGaugeChartPopupComponent {
12838
+ #popup = inject(BizyPopupService);
12839
+ #renderer = inject(Renderer2);
12840
+ #elementRef = inject(ElementRef);
12841
+ #ref = inject(ChangeDetectorRef);
12842
+ #document = inject(DOCUMENT);
12843
+ #echarts = null;
12844
+ #chartContainer = null;
12845
+ ngOnInit() {
12846
+ const data = this.#popup.getData();
12847
+ if (!data || !data.option) {
12848
+ this.#popup.close();
12849
+ return;
12850
+ }
12851
+ this.#chartContainer = this.#renderer.createElement('div');
12852
+ this.#renderer.setStyle(this.#chartContainer, 'width', '100%');
12853
+ this.#renderer.setStyle(this.#chartContainer, 'height', '100%');
12854
+ this.#renderer.appendChild(this.#elementRef.nativeElement, this.#chartContainer);
12855
+ this.#ref.detectChanges();
12856
+ import('echarts').then(echarts => {
12857
+ this.#echarts = echarts.init(this.#chartContainer);
12858
+ Promise.resolve().then(() => {
12859
+ this.#echarts.setOption({
12860
+ ...data.option,
12861
+ series: [{
12862
+ ...data.option.series[0],
12863
+ minAngle: 1,
12864
+ label: {
12865
+ ...data.option.series[0].label,
12866
+ width: 'none',
12867
+ overflow: 'break',
12868
+ },
12869
+ labelLine: {
12870
+ show: data.option.series[0].labelLine?.show,
12871
+ length: 50,
12872
+ length2: 50
12873
+ },
12874
+ labelLayout() {
12875
+ return {
12876
+ moverOverlap: 'shiftY',
12877
+ hideOverlap: false
12878
+ };
12879
+ },
12880
+ }],
12881
+ toolbox: {
12882
+ show: true,
12883
+ feature: {
12884
+ mySaveAsImage: {
12885
+ show: data.download.show,
12886
+ icon: 'path://M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z',
12887
+ title: data.download.label,
12888
+ onclick: () => {
12889
+ setTimeout(() => {
12890
+ import('html2canvas').then(module => {
12891
+ const html2canvas = module.default;
12892
+ html2canvas(this.#chartContainer).then(canvas => {
12893
+ var link = this.#renderer.createElement('a');
12894
+ link.href = canvas.toDataURL('image/png');
12895
+ link.download = `${data.download.name}.png`;
12896
+ this.#renderer.appendChild(this.#document.body, link);
12897
+ link.click();
12898
+ this.#renderer.removeChild(this.#document.body, link);
12899
+ });
12900
+ });
12901
+ }, 500);
12902
+ }
12903
+ }
12904
+ }
12905
+ }
12906
+ });
12907
+ });
12908
+ }).catch(() => {
12909
+ this.#popup.close();
12910
+ return;
12911
+ });
12912
+ }
12913
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyGaugeChartPopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12914
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.5", type: BizyGaugeChartPopupComponent, isStandalone: true, selector: "bizy-gauge-chart-popup", ngImport: i0, template: '', isInline: true, styles: [":host{display:inline-block;height:min(60rem,90dvh);width:min(60rem,85dvw)}\n"] });
12915
+ }
12916
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyGaugeChartPopupComponent, decorators: [{
12917
+ type: Component,
12918
+ args: [{ selector: 'bizy-gauge-chart-popup', template: '', styles: [":host{display:inline-block;height:min(60rem,90dvh);width:min(60rem,85dvw)}\n"] }]
12919
+ }] });
12920
+
12921
+ const DEFAULT_CHART_SIZE$2 = '300px';
12922
+ const DEFAULT_DOWNLOAD$2 = {
12923
+ show: true,
12924
+ label: 'Descargar',
12925
+ name: 'Bizy'
12926
+ };
12927
+ const DEFAULT_EXPAND$1 = {
12928
+ show: true,
12929
+ label: 'Expandir'
12930
+ };
12931
+ const DEFAULT_TOOLTIP$2 = {
12932
+ show: true
12933
+ };
12934
+ const DEFAULT_ANGLE = {
12935
+ start: 225,
12936
+ end: -45
12937
+ };
12938
+ const DEFAULT_LIMIT = {
12939
+ min: 0,
12940
+ max: 1
12941
+ };
12942
+ class BizyGaugeChartComponent {
12943
+ #elementRef = inject(ElementRef);
12944
+ #document = inject(DOCUMENT);
12945
+ #ref = inject(ChangeDetectorRef);
12946
+ #renderer = inject(Renderer2);
12947
+ #popup = inject(BizyPopupService);
12948
+ resizeRef = null;
12949
+ angle = DEFAULT_ANGLE;
12950
+ limit = DEFAULT_LIMIT;
12951
+ tooltip = DEFAULT_TOOLTIP$2;
12952
+ download = DEFAULT_DOWNLOAD$2;
12953
+ expand = DEFAULT_EXPAND$1;
12954
+ onSelect = new EventEmitter();
12955
+ onDownload = new EventEmitter();
12956
+ #echarts = null;
12957
+ #resizeObserver = null;
12958
+ #afterViewInitSubscription = new Subscription();
12959
+ #resizeSubscription = new Subscription();
12960
+ #chartContainer = null;
12961
+ #resize$ = new Subject();
12962
+ #data = null;
12963
+ getNativeElement = () => this.#elementRef?.nativeElement;
12964
+ set data(data) {
12965
+ if (!data) {
12966
+ this.#deleteChartContainer();
12967
+ }
12968
+ this.#setChartData(data);
12969
+ }
12970
+ async #setChartData(data) {
12971
+ this.#data = data;
12972
+ this.#createChartContainer();
12973
+ if (!this.#chartContainer) {
12974
+ return;
12975
+ }
12976
+ import('echarts').then(echarts => {
12977
+ this.#echarts = echarts.init(this.#chartContainer);
12978
+ const { width, height } = this.#chartContainer.getBoundingClientRect();
12979
+ const base = Math.min(width, height);
12980
+ const backgroundColor = getComputedStyle(this.#elementRef.nativeElement).getPropertyValue('--bizy-gauge-chart-background-color');
12981
+ const progressColor = getComputedStyle(this.#elementRef.nativeElement).getPropertyValue('--bizy-gauge-chart-progress-color');
12982
+ const valueColor = getComputedStyle(this.#elementRef.nativeElement).getPropertyValue('--bizy-gauge-chart-value-color');
12983
+ const textColor = getComputedStyle(this.#elementRef.nativeElement).getPropertyValue('--bizy-gauge-chart-text-color');
12984
+ const anchorColor = getComputedStyle(this.#elementRef.nativeElement).getPropertyValue('--bizy-gauge-chart-anchor-color');
12985
+ const pointerColor = getComputedStyle(this.#elementRef.nativeElement).getPropertyValue('--bizy-gauge-chart-pointer-color');
12986
+ const series = [{
12987
+ type: 'gauge',
12988
+ radius: '100%',
12989
+ progress: {
12990
+ show: true,
12991
+ width: Math.round(Math.max(base / 10, 7)),
12992
+ itemStyle: {
12993
+ color: progressColor
12994
+ }
12995
+ },
12996
+ axisLine: {
12997
+ lineStyle: {
12998
+ width: Math.round(Math.max(base / 10, 7)),
12999
+ color: [[1, backgroundColor]]
13000
+ }
13001
+ },
13002
+ axisTick: {
13003
+ show: false
13004
+ },
13005
+ splitLine: {
13006
+ show: base > 100,
13007
+ distance: Math.round(Math.max(base / 30, 10)),
13008
+ length: Math.round(Math.max(base / 20, 10)),
13009
+ lineStyle: {
13010
+ width: 2,
13011
+ color: textColor
13012
+ }
13013
+ },
13014
+ axisLabel: {
13015
+ show: base > 100,
13016
+ distance: Math.round(Math.max(base / 15, 5)) + 3,
13017
+ color: textColor,
13018
+ fontSize: Math.round(Math.max(base / 17, 10))
13019
+ },
13020
+ startAngle: this.angle.start ?? DEFAULT_ANGLE.start,
13021
+ endAngle: this.angle.end ?? DEFAULT_ANGLE.end,
13022
+ anchor: {
13023
+ show: true,
13024
+ showAbove: true,
13025
+ size: Math.round(Math.max(base / 20, 5)),
13026
+ itemStyle: {
13027
+ borderWidth: Math.round(Math.max(base / 50, 3)),
13028
+ borderColor: anchorColor
13029
+ }
13030
+ },
13031
+ pointer: {
13032
+ show: true,
13033
+ itemStyle: {
13034
+ color: pointerColor
13035
+ }
13036
+ },
13037
+ title: {
13038
+ show: false,
13039
+ },
13040
+ detail: {
13041
+ valueAnimation: true,
13042
+ fontSize: Math.round(Math.max(base / 8, 7)),
13043
+ color: valueColor,
13044
+ formatter: this.#data.formatter ? this.#data.formatter : '{value}',
13045
+ offsetCenter: [0, '70%']
13046
+ },
13047
+ min: this.limit.min ?? DEFAULT_LIMIT.min,
13048
+ max: this.limit.max ?? DEFAULT_LIMIT.max,
13049
+ data: this.#data ? [this.#data] : []
13050
+ }];
13051
+ const tooltipTextColor = getComputedStyle(this.#elementRef.nativeElement).getPropertyValue('--bizy-gauge-chart-tooltip-color');
13052
+ const tooltipTextBackgroundColor = getComputedStyle(this.#elementRef.nativeElement).getPropertyValue('--bizy-gauge-chart-tooltip-background-color');
13053
+ const tooltipBorderColor = getComputedStyle(this.#elementRef.nativeElement).getPropertyValue('--bizy-gauge-chart-tooltip-border-color');
13054
+ const toolbox = {
13055
+ show: true,
13056
+ feature: {
13057
+ mySaveAsImage: {
13058
+ show: this.download.show ?? DEFAULT_DOWNLOAD$2.show,
13059
+ icon: 'path://M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z',
13060
+ title: this.download.label ?? DEFAULT_DOWNLOAD$2.label,
13061
+ onclick: () => {
13062
+ setTimeout(() => {
13063
+ import('html2canvas').then(module => {
13064
+ const html2canvas = module.default;
13065
+ html2canvas(this.#chartContainer).then(canvas => {
13066
+ var link = this.#renderer.createElement('a');
13067
+ link.href = canvas.toDataURL('image/png');
13068
+ link.download = `${this.download.name ?? DEFAULT_DOWNLOAD$2.name}.png`;
13069
+ this.#renderer.appendChild(this.#document.body, link);
13070
+ link.click();
13071
+ this.#renderer.removeChild(this.#document.body, link);
13072
+ this.onDownload.emit();
13073
+ });
13074
+ });
13075
+ }, 500);
13076
+ }
13077
+ },
13078
+ myExpandChart: {
13079
+ show: this.expand.show ?? DEFAULT_EXPAND$1.show,
13080
+ icon: 'path://M264 96L120 96C106.7 96 96 106.7 96 120L96 264C96 273.7 101.8 282.5 110.8 286.2C119.8 289.9 130.1 287.8 137 281L177 241L256 320L177 399L137 359C130.1 352.1 119.8 350.1 110.8 353.8C101.8 357.5 96 366.3 96 376L96 520C96 533.3 106.7 544 120 544L264 544C273.7 544 282.5 538.2 286.2 529.2C289.9 520.2 287.9 509.9 281 503L241 463L320 384L399 463L359 503C352.1 509.9 350.1 520.2 353.8 529.2C357.5 538.2 366.3 544 376 544L520 544C533.3 544 544 533.3 544 520L544 376C544 366.3 538.2 357.5 529.2 353.8C520.2 350.1 509.9 352.1 503 359L463 399L384 320L463 241L503 281C509.9 287.9 520.2 289.9 529.2 286.2C538.2 282.5 544 273.7 544 264L544 120C544 106.7 533.3 96 520 96L376 96C366.3 96 357.5 101.8 353.8 110.8C350.1 119.8 352.2 130.1 359 137L399 177L320 256L241 177L281 137C287.9 130.1 289.9 119.8 286.2 110.8C282.5 101.8 273.7 96 264 96z',
13081
+ title: this.expand.label ?? DEFAULT_EXPAND$1.label,
13082
+ onclick: () => {
13083
+ this.#popup.open({
13084
+ component: BizyGaugeChartPopupComponent,
13085
+ data: {
13086
+ download: {
13087
+ show: this.download?.show ?? DEFAULT_DOWNLOAD$2.show,
13088
+ label: this.download?.label ?? DEFAULT_DOWNLOAD$2.label,
13089
+ name: this.download?.name ?? DEFAULT_DOWNLOAD$2.name,
13090
+ },
13091
+ option: this.#echarts.getOption()
13092
+ }
13093
+ });
13094
+ }
13095
+ }
13096
+ },
13097
+ emphasis: {
13098
+ iconStyle: {
13099
+ color: tooltipTextColor,
13100
+ borderColor: tooltipBorderColor,
13101
+ borderWidth: 1,
13102
+ textBackgroundColor: tooltipTextBackgroundColor,
13103
+ textPadding: 5,
13104
+ }
13105
+ }
13106
+ };
13107
+ const tooltip = {
13108
+ show: this.tooltip?.show ?? DEFAULT_TOOLTIP$2.show,
13109
+ trigger: 'item',
13110
+ appendToBody: true,
13111
+ formatter: this.tooltip?.formatter
13112
+ };
13113
+ const option = {
13114
+ tooltip,
13115
+ toolbox,
13116
+ series,
13117
+ };
13118
+ this.#echarts.setOption(option);
13119
+ this.#echarts.on('click', params => {
13120
+ this.onSelect.emit(params.name);
13121
+ });
13122
+ this.#resizeSubscription.unsubscribe();
13123
+ this.#resizeObserver = new ResizeObserver(() => this.#resize$.next());
13124
+ const resizeRef = this.resizeRef ? this.resizeRef : this.#renderer.parentNode(this.#elementRef.nativeElement) ? this.#renderer.parentNode(this.#elementRef.nativeElement) : this.#elementRef.nativeElement;
13125
+ this.#resizeObserver.observe(resizeRef);
13126
+ this.#resizeSubscription = new Subscription();
13127
+ this.#resizeSubscription.add(this.#resize$.pipe(skip(1), auditTime(300), throttleTime(500)).subscribe(() => {
13128
+ this.#deleteChartContainer();
13129
+ this.#createChartContainer();
13130
+ if (!this.#chartContainer) {
13131
+ return;
13132
+ }
13133
+ this.#echarts = echarts.init(this.#chartContainer);
13134
+ Promise.resolve().then(() => {
13135
+ this.#echarts.setOption({ ...option, series: option.series.map(_serie => { return { ..._serie, data: this.#data ? [this.#data] : [] }; }) });
13136
+ this.#echarts.on('click', params => {
13137
+ this.onSelect.emit(params.name);
13138
+ });
13139
+ });
13140
+ }));
13141
+ });
13142
+ }
13143
+ #createChartContainer = () => {
13144
+ if (this.#chartContainer || !this.#elementRef || !this.#elementRef.nativeElement) {
13145
+ return;
13146
+ }
13147
+ let elementWidth = this.#elementRef.nativeElement.offsetWidth;
13148
+ let elementHeight = this.#elementRef.nativeElement.offsetHeight;
13149
+ let minWidth = this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-gauge-chart-width');
13150
+ let minHeight = this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-gauge-chart-height');
13151
+ const width = minWidth ? minWidth : elementWidth ? `${elementWidth * 0.99}px` : DEFAULT_CHART_SIZE$2;
13152
+ const height = minHeight ? minHeight : elementHeight ? `${elementHeight}px` : DEFAULT_CHART_SIZE$2;
13153
+ this.#chartContainer = this.#renderer.createElement('div');
13154
+ this.#renderer.setStyle(this.#chartContainer, 'width', width);
13155
+ this.#renderer.setStyle(this.#chartContainer, 'height', height);
13156
+ this.#renderer.appendChild(this.#elementRef.nativeElement, this.#chartContainer);
13157
+ this.#ref.detectChanges();
13158
+ };
13159
+ #deleteChartContainer = () => {
13160
+ if (!this.#chartContainer || !this.#elementRef || !this.#elementRef.nativeElement) {
13161
+ return;
13162
+ }
13163
+ this.#echarts.clear();
13164
+ this.#renderer.removeChild(this.#elementRef.nativeElement, this.#chartContainer);
13165
+ this.#chartContainer = null;
13166
+ this.#ref.detectChanges();
13167
+ };
13168
+ #getClosestCssVariable = (element, cssVariable) => {
13169
+ while (element) {
13170
+ const value = getComputedStyle(element).getPropertyValue(cssVariable).trim();
13171
+ if (value) {
13172
+ return value;
13173
+ }
13174
+ element = element.parentElement;
13175
+ }
13176
+ const rootValue = getComputedStyle(document.documentElement).getPropertyValue(cssVariable).trim();
13177
+ return rootValue || null;
13178
+ };
13179
+ ngOnDestroy() {
13180
+ this.#afterViewInitSubscription.unsubscribe();
13181
+ this.#resizeSubscription.unsubscribe();
13182
+ if (this.#resizeObserver) {
13183
+ this.#resizeObserver.disconnect();
13184
+ }
13185
+ if (this.#echarts) {
13186
+ this.#echarts.clear();
13187
+ }
13188
+ }
13189
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyGaugeChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
13190
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.5", type: BizyGaugeChartComponent, isStandalone: true, selector: "bizy-gauge-chart", inputs: { resizeRef: "resizeRef", angle: "angle", limit: "limit", tooltip: "tooltip", download: "download", expand: "expand", data: "data" }, outputs: { onSelect: "onSelect", onDownload: "onDownload" }, ngImport: i0, template: '', isInline: true, styles: [":host{display:flex;justify-content:center}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
13191
+ }
13192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyGaugeChartComponent, decorators: [{
13193
+ type: Component,
13194
+ args: [{ selector: 'bizy-gauge-chart', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:flex;justify-content:center}\n"] }]
13195
+ }], propDecorators: { resizeRef: [{
13196
+ type: Input
13197
+ }], angle: [{
13198
+ type: Input
13199
+ }], limit: [{
13200
+ type: Input
13201
+ }], tooltip: [{
13202
+ type: Input
13203
+ }], download: [{
13204
+ type: Input
13205
+ }], expand: [{
13206
+ type: Input
13207
+ }], onSelect: [{
13208
+ type: Output
13209
+ }], onDownload: [{
13210
+ type: Output
13211
+ }], data: [{
13212
+ type: Input
13213
+ }] } });
13214
+
13215
+ const COMPONENTS$k = [
13216
+ BizyGaugeChartComponent,
13217
+ BizyGaugeChartPopupComponent
13218
+ ];
13219
+ class BizyGaugeChartModule {
13220
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyGaugeChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13221
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyGaugeChartModule, imports: [BizyGaugeChartComponent,
13222
+ BizyGaugeChartPopupComponent], exports: [BizyGaugeChartComponent,
13223
+ BizyGaugeChartPopupComponent] });
13224
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyGaugeChartModule });
13225
+ }
13226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyGaugeChartModule, decorators: [{
12830
13227
  type: NgModule,
12831
13228
  args: [{
12832
13229
  imports: COMPONENTS$k,
@@ -17600,5 +17997,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
17600
17997
  * Generated bundle index. Do not edit.
17601
17998
  */
17602
17999
 
17603
- export { BIZY_ANIMATION, BIZY_CALENDAR_DAY, BIZY_CALENDAR_EVENT_ACTION, BIZY_CALENDAR_LANGUAGE, BIZY_CALENDAR_MODE, BIZY_FORMAT_SECONDS_FORMAT, BIZY_FORMAT_SECONDS_LANGUAGE, BIZY_SKELETON_SHAPE, BIZY_TAG_TYPE, BizyAccordionComponent, BizyAccordionModule, BizyAnimationService, BizyAudioPlayerComponent, BizyAudioPlayerFormatSecondsPipe, BizyAudioPlayerModule, BizyAudioRecorderComponent, BizyAudioRecorderModule, BizyAutoFocusDirective, BizyAveragePipe, BizyBarLineChartComponent, BizyBarLineChartModule, BizyBarLineChartPopupComponent, BizyBreadcrumbComponent, BizyBreadcrumbModule, BizyButtonComponent, BizyButtonModule, BizyCacheService, BizyCalendarComponent, BizyCalendarModule, BizyCardComponent, BizyCardModule, BizyCheckboxComponent, BizyCheckboxModule, BizyContentComponent, BizyContentModule, BizyCopyToClipboardDirective, BizyCopyToClipboardService, BizyCurrencyFormatDirective, BizyDatePickerComponent, BizyDatePickerModule, BizyDeviceService, BizyDirectivesModule, BizyEnumToArrayPipe, BizyExportToCSVService, BizyExtractNumbersPipe, BizyFileUploaderComponent, BizyFileUploaderModule, BizyFileUploaderService, BizyFilterComponent, BizyFilterContentComponent, BizyFilterModule, BizyFilterPipe, BizyFilterSectionCheckboxOptionComponent, BizyFilterSectionComponent, BizyFilterSectionRangeOptionComponent, BizyFilterSectionSearchOptionComponent, BizyFilterSectionsComponent, BizyFormComponent, BizyFormModule, BizyFormatSecondsPipe, BizyFormatSecondsService, BizyFullScreenPopupWrapperComponent, BizyGridComponent, BizyGridForDirective, BizyGridModule, BizyGridRowComponent, BizyHeatMapChartComponent, BizyHeatMapChartModule, BizyInputComponent, BizyInputModule, BizyInputOptionComponent, BizyKeyboardService, BizyListComponent, BizyListModule, BizyLoadingDirective, BizyLogService, BizyLongPressDirective, BizyMenuBarComponent, BizyMenuBarModule, BizyMenuBarOptionComponent, BizyMenuComponent, BizyMenuModule, BizyMenuOptionComponent, BizyMenuTitleComponent, BizyOnlyNumbersDirective, BizyOnlyPhoneDigitsDirective, BizyOrderByPipe, BizyPieChartComponent, BizyPieChartModule, BizyPieChartPopupComponent, BizyPipesModule, BizyPopupModule, BizyPopupService, BizyPopupWrapperComponent, BizyProgressBarComponent, BizyProgressBarModule, BizyRadioComponent, BizyRadioModule, BizyRangeFilterPipe, BizyReducePipe, BizyReloadDirective, BizyRepeatPipe, BizyRoundPipe, BizyRouterService, BizySafePipe, BizySearchPipe, BizySectionCenterComponent, BizySectionComponent, BizySectionEndComponent, BizySectionModule, BizySectionStartComponent, BizySelectComponent, BizySelectModule, BizySelectOptionComponent, BizyServicesModule, BizySetToArrayPipe, BizySidebarComponent, BizySidebarFloatingOptionComponent, BizySidebarFloatingOptionTitleComponent, BizySidebarModule, BizySidebarOptionComponent, BizySkeletonComponent, BizySkeletonModule, BizySliderComponent, BizySliderModule, BizyStorageService, BizyTabComponent, BizyTableColumnArrowsComponent, BizyTableColumnComponent, BizyTableColumnFixedDirective, BizyTableComponent, BizyTableFooterComponent, BizyTableHeaderComponent, BizyTableModule, BizyTableRowComponent, BizyTableRowExpandContentComponent, BizyTableScrollingComponent, BizyTableScrollingDirective, BizyTabsComponent, BizyTabsModule, BizyTagComponent, BizyTagModule, BizyTextEllipsisDirective, BizyTimelineComponent, BizyTimelineEventComponent, BizyTimelineModule, BizyToastModule, BizyToastService, BizyToastWrapperComponent, BizyToggleComponent, BizyToggleModule, BizyToolbarComponent, BizyToolbarModule, BizyTooltipDirective, BizyTrackByIdDirective, BizyTranslateModule, BizyTranslatePipe, BizyTranslateService, BizyUniquePipe, BizyValidatorService, BizyViewportService, LANGUAGE, LOADING_TYPE, MIME_TYPE, POPUP_PLACEMENT };
18000
+ export { BIZY_ANIMATION, BIZY_CALENDAR_DAY, BIZY_CALENDAR_EVENT_ACTION, BIZY_CALENDAR_LANGUAGE, BIZY_CALENDAR_MODE, BIZY_FORMAT_SECONDS_FORMAT, BIZY_FORMAT_SECONDS_LANGUAGE, BIZY_SKELETON_SHAPE, BIZY_TAG_TYPE, BizyAccordionComponent, BizyAccordionModule, BizyAnimationService, BizyAudioPlayerComponent, BizyAudioPlayerFormatSecondsPipe, BizyAudioPlayerModule, BizyAudioRecorderComponent, BizyAudioRecorderModule, BizyAutoFocusDirective, BizyAveragePipe, BizyBarLineChartComponent, BizyBarLineChartModule, BizyBarLineChartPopupComponent, BizyBreadcrumbComponent, BizyBreadcrumbModule, BizyButtonComponent, BizyButtonModule, BizyCacheService, BizyCalendarComponent, BizyCalendarModule, BizyCardComponent, BizyCardModule, BizyCheckboxComponent, BizyCheckboxModule, BizyContentComponent, BizyContentModule, BizyCopyToClipboardDirective, BizyCopyToClipboardService, BizyCurrencyFormatDirective, BizyDatePickerComponent, BizyDatePickerModule, BizyDeviceService, BizyDirectivesModule, BizyEnumToArrayPipe, BizyExportToCSVService, BizyExtractNumbersPipe, BizyFileUploaderComponent, BizyFileUploaderModule, BizyFileUploaderService, BizyFilterComponent, BizyFilterContentComponent, BizyFilterModule, BizyFilterPipe, BizyFilterSectionCheckboxOptionComponent, BizyFilterSectionComponent, BizyFilterSectionRangeOptionComponent, BizyFilterSectionSearchOptionComponent, BizyFilterSectionsComponent, BizyFormComponent, BizyFormModule, BizyFormatSecondsPipe, BizyFormatSecondsService, BizyFullScreenPopupWrapperComponent, BizyGaugeChartComponent, BizyGaugeChartModule, BizyGaugeChartPopupComponent, BizyGridComponent, BizyGridForDirective, BizyGridModule, BizyGridRowComponent, BizyHeatMapChartComponent, BizyHeatMapChartModule, BizyInputComponent, BizyInputModule, BizyInputOptionComponent, BizyKeyboardService, BizyListComponent, BizyListModule, BizyLoadingDirective, BizyLogService, BizyLongPressDirective, BizyMenuBarComponent, BizyMenuBarModule, BizyMenuBarOptionComponent, BizyMenuComponent, BizyMenuModule, BizyMenuOptionComponent, BizyMenuTitleComponent, BizyOnlyNumbersDirective, BizyOnlyPhoneDigitsDirective, BizyOrderByPipe, BizyPieChartComponent, BizyPieChartModule, BizyPieChartPopupComponent, BizyPipesModule, BizyPopupModule, BizyPopupService, BizyPopupWrapperComponent, BizyProgressBarComponent, BizyProgressBarModule, BizyRadioComponent, BizyRadioModule, BizyRangeFilterPipe, BizyReducePipe, BizyReloadDirective, BizyRepeatPipe, BizyRoundPipe, BizyRouterService, BizySafePipe, BizySearchPipe, BizySectionCenterComponent, BizySectionComponent, BizySectionEndComponent, BizySectionModule, BizySectionStartComponent, BizySelectComponent, BizySelectModule, BizySelectOptionComponent, BizyServicesModule, BizySetToArrayPipe, BizySidebarComponent, BizySidebarFloatingOptionComponent, BizySidebarFloatingOptionTitleComponent, BizySidebarModule, BizySidebarOptionComponent, BizySkeletonComponent, BizySkeletonModule, BizySliderComponent, BizySliderModule, BizyStorageService, BizyTabComponent, BizyTableColumnArrowsComponent, BizyTableColumnComponent, BizyTableColumnFixedDirective, BizyTableComponent, BizyTableFooterComponent, BizyTableHeaderComponent, BizyTableModule, BizyTableRowComponent, BizyTableRowExpandContentComponent, BizyTableScrollingComponent, BizyTableScrollingDirective, BizyTabsComponent, BizyTabsModule, BizyTagComponent, BizyTagModule, BizyTextEllipsisDirective, BizyTimelineComponent, BizyTimelineEventComponent, BizyTimelineModule, BizyToastModule, BizyToastService, BizyToastWrapperComponent, BizyToggleComponent, BizyToggleModule, BizyToolbarComponent, BizyToolbarModule, BizyTooltipDirective, BizyTrackByIdDirective, BizyTranslateModule, BizyTranslatePipe, BizyTranslateService, BizyUniquePipe, BizyValidatorService, BizyViewportService, LANGUAGE, LOADING_TYPE, MIME_TYPE, POPUP_PLACEMENT };
17604
18001
  //# sourceMappingURL=bizy-core.mjs.map