@visionaris-bruno/vs-echarts 9.0.7 → 9.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.
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnChanges, OnDestroy, ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as echarts from 'echarts';
|
|
4
|
-
import { LineSeriesOption, BarSeriesOption, PieSeriesOption, ScatterSeriesOption, FunnelSeriesOption, SunburstSeriesOption, SankeySeriesOption, BoxplotSeriesOption, EChartsOption, SeriesOption } from 'echarts';
|
|
4
|
+
import { LineSeriesOption, BarSeriesOption, PieSeriesOption, ScatterSeriesOption, FunnelSeriesOption, SunburstSeriesOption, SankeySeriesOption, BoxplotSeriesOption, HeatmapSeriesOption, EChartsOption, SeriesOption } from 'echarts';
|
|
5
5
|
import { CategoryAxisBaseOption, ValueAxisBaseOption } from 'echarts/types/src/coord/axisCommonTypes.js';
|
|
6
6
|
import { TooltipOption } from 'echarts/types/dist/shared';
|
|
7
7
|
import * as _visionaris_bruno_vs_echarts from '@visionaris-bruno/vs-echarts';
|
|
@@ -79,6 +79,9 @@ interface IScatterOptionsOverrides {
|
|
|
79
79
|
interface IFunnelOptionsOverrides {
|
|
80
80
|
series?: Partial<FunnelSeriesOption>;
|
|
81
81
|
}
|
|
82
|
+
interface IHeatmapCalendarOptionsOverrides {
|
|
83
|
+
series?: HeatmapSeriesOption;
|
|
84
|
+
}
|
|
82
85
|
interface ISunburstOptionsOverrides {
|
|
83
86
|
series?: Partial<SunburstSeriesOption>;
|
|
84
87
|
}
|
|
@@ -120,6 +123,8 @@ interface IOptionsOverrides {
|
|
|
120
123
|
sankey: ISankeyOptionsOverrides;
|
|
121
124
|
/** boxplot options overrides */
|
|
122
125
|
hBoxplot: IHBoxplotOptionsOverrides;
|
|
126
|
+
/** heatmap calendar options overrides */
|
|
127
|
+
heatmapCalendar: IHeatmapCalendarOptionsOverrides;
|
|
123
128
|
}
|
|
124
129
|
type NGXEchartsSelectChangeEventData = {
|
|
125
130
|
type: string;
|
|
@@ -224,6 +229,7 @@ type MakeBarOpts = MakeOpts;
|
|
|
224
229
|
type MakeLineOpts = MakeOpts;
|
|
225
230
|
type MakeScatterOpts = MakeOpts;
|
|
226
231
|
type MakeBoxplotOpts = MakeOpts & {};
|
|
232
|
+
type MakeHeatmapCalendarOpts = MakeOpts & {};
|
|
227
233
|
/**
|
|
228
234
|
* Director de Builds.
|
|
229
235
|
*/
|
|
@@ -240,6 +246,7 @@ declare class VSECDirector {
|
|
|
240
246
|
makeSunburst(data: IEChartData, overrides: IOptionsOverridesWrapper, opts?: MakeOpts): void;
|
|
241
247
|
makeSankey(data: IEChartData, overrides: IOptionsOverridesWrapper, opts?: MakeOpts): void;
|
|
242
248
|
makeBoxplot(data: IEChartData, overrides: IOptionsOverridesWrapper, opts?: MakeBoxplotOpts): void;
|
|
249
|
+
makeHeatmapCalendar(data: IEChartData, overrides: IOptionsOverridesWrapper, opts?: MakeHeatmapCalendarOpts): void;
|
|
243
250
|
}
|
|
244
251
|
|
|
245
252
|
declare abstract class BaseEchartsComponent implements OnChanges, OnDestroy {
|
|
@@ -280,6 +287,7 @@ declare abstract class BaseEchartsComponent implements OnChanges, OnDestroy {
|
|
|
280
287
|
* necesarias para el dibujado de las series del grafico.
|
|
281
288
|
*/
|
|
282
289
|
protected abstract baseSeriesOptions: SeriesOption;
|
|
290
|
+
protected afterSetOptionsHook?: () => void;
|
|
283
291
|
protected chartInstance?: echarts.ECharts;
|
|
284
292
|
protected vsEchartsConfig: _visionaris_bruno_vs_echarts.VSEchartsConfig | null;
|
|
285
293
|
/** Opciones de inicializacion de echarts
|
|
@@ -765,5 +773,19 @@ declare class EChartsHBoxplotComponent extends BaseEchartsComponent {
|
|
|
765
773
|
static ɵcmp: i0.ɵɵComponentDeclaration<EChartsHBoxplotComponent, "vs-echarts-hboxplot", never, {}, {}, never, never, true, never>;
|
|
766
774
|
}
|
|
767
775
|
|
|
768
|
-
|
|
769
|
-
|
|
776
|
+
declare class EChartsHeatmapCalendar extends BaseEchartsComponent {
|
|
777
|
+
/** aires para el calculo de resize y posicionamientos de distintos componentes */
|
|
778
|
+
private calendarPaddings;
|
|
779
|
+
protected baseSeriesOptions: HeatmapSeriesOption;
|
|
780
|
+
protected baseProduct: VSEChartProduct;
|
|
781
|
+
protected builder: IEChartBuilder<HeatmapSeriesOption, any, any>;
|
|
782
|
+
protected director: VSECDirector;
|
|
783
|
+
protected make(): void;
|
|
784
|
+
protected afterSetOptionsHook: (() => void);
|
|
785
|
+
onChartClick(event: any): void;
|
|
786
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EChartsHeatmapCalendar, never>;
|
|
787
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EChartsHeatmapCalendar, "vs-echarts-heatmapCalendar", never, {}, {}, never, never, true, never>;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export { BaseEchartsComponent, EChartsAreaComponent, EChartsAreaStackComponent, EChartsBarStackedComponent, EChartsBarStackedRadialComponent, EChartsHBarComponent, EChartsHBarStackedComponent, EChartsHBoxplotComponent, EChartsHeatmapCalendar, EChartsSunburstComponent, EchartsBarComponent, EchartsFunnelComponent, EchartsLineComponent, EchartsPieComponent, EchartsRingComponent, EchartsSankeyComponent, EchartsScatterComponent, VSEchartsConfigService, defaultOptionsOverrides, provideVSEcharts };
|
|
791
|
+
export type { ChartColorResolver, ChartOrientation, ChartValueFormatter, EChartClickType, IAreaOptionsOverrides, IAreaStackOptionsOverrides, IAxisOptionsOverrides, IBarOptionsOverrides, IBarStackedOptionsOverrides, IBarStackedRadialOptionsOverrides, IBoxplotOptionsOverrides, IEChartBuilder, IEChartData, IEChartDataNode, IEChartDimension, IFunnelOptionsOverrides, IHBarOptionsOverrides, IHBarStackedOptionsOverrides, IHBoxplotOptionsOverrides, IHeatmapCalendarOptionsOverrides, ILineOptionsOverrides, IOptionsOverrides, IOptionsOverridesWrapper, IPieOptionsOverrides, IRingOptionsOverrides, ISankeyOptionsOverrides, IScatterOptionsOverrides, ISeriesLayoutOpts, ISunburstOptionsOverrides, ITooltipOptionsOverrides, NGXEchartsSelectChangeEventData, VSEChartProduct, VSEchartsConfig, VSEchartsLocale };
|