@delon/chart 19.2.0 → 20.0.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.
Files changed (109) hide show
  1. package/bar/index.d.ts +47 -5
  2. package/card/index.d.ts +35 -5
  3. package/chart-echarts/index.d.ts +85 -5
  4. package/core/index.d.ts +71 -5
  5. package/custom/index.d.ts +27 -5
  6. package/fesm2022/bar.mjs +8 -9
  7. package/fesm2022/bar.mjs.map +1 -1
  8. package/fesm2022/card.mjs +9 -9
  9. package/fesm2022/card.mjs.map +1 -1
  10. package/fesm2022/chart-echarts.mjs +11 -14
  11. package/fesm2022/chart-echarts.mjs.map +1 -1
  12. package/fesm2022/core.mjs +7 -7
  13. package/fesm2022/custom.mjs +8 -9
  14. package/fesm2022/custom.mjs.map +1 -1
  15. package/fesm2022/gauge.mjs +8 -9
  16. package/fesm2022/gauge.mjs.map +1 -1
  17. package/fesm2022/mini-area.mjs +8 -9
  18. package/fesm2022/mini-area.mjs.map +1 -1
  19. package/fesm2022/mini-bar.mjs +8 -9
  20. package/fesm2022/mini-bar.mjs.map +1 -1
  21. package/fesm2022/mini-progress.mjs +11 -12
  22. package/fesm2022/mini-progress.mjs.map +1 -1
  23. package/fesm2022/number-info.mjs +9 -9
  24. package/fesm2022/number-info.mjs.map +1 -1
  25. package/fesm2022/pie.mjs +9 -9
  26. package/fesm2022/pie.mjs.map +1 -1
  27. package/fesm2022/radar.mjs +9 -9
  28. package/fesm2022/radar.mjs.map +1 -1
  29. package/fesm2022/single-bar.mjs +8 -9
  30. package/fesm2022/single-bar.mjs.map +1 -1
  31. package/fesm2022/tag-cloud.mjs +8 -9
  32. package/fesm2022/tag-cloud.mjs.map +1 -1
  33. package/fesm2022/timeline.mjs +8 -9
  34. package/fesm2022/timeline.mjs.map +1 -1
  35. package/fesm2022/trend.mjs +8 -9
  36. package/fesm2022/trend.mjs.map +1 -1
  37. package/fesm2022/water-wave.mjs +9 -9
  38. package/fesm2022/water-wave.mjs.map +1 -1
  39. package/gauge/index.d.ts +29 -5
  40. package/index.d.ts +2 -5
  41. package/mini-area/index.d.ts +50 -5
  42. package/mini-bar/index.d.ts +42 -5
  43. package/mini-progress/index.d.ts +29 -5
  44. package/number-info/index.d.ts +35 -5
  45. package/package.json +3 -3
  46. package/pie/index.d.ts +80 -5
  47. package/radar/index.d.ts +51 -5
  48. package/single-bar/index.d.ts +38 -5
  49. package/tag-cloud/index.d.ts +42 -5
  50. package/timeline/index.d.ts +79 -3
  51. package/trend/index.d.ts +24 -5
  52. package/water-wave/index.d.ts +42 -5
  53. package/bar/bar.component.d.ts +0 -34
  54. package/bar/bar.module.d.ts +0 -10
  55. package/bar/public_api.d.ts +0 -2
  56. package/card/card.component.d.ts +0 -22
  57. package/card/card.module.d.ts +0 -11
  58. package/card/public_api.d.ts +0 -2
  59. package/chart-echarts/echarts.component.d.ts +0 -40
  60. package/chart-echarts/echarts.module.d.ts +0 -9
  61. package/chart-echarts/echarts.service.d.ts +0 -20
  62. package/chart-echarts/echarts.types.d.ts +0 -18
  63. package/chart-echarts/public_api.d.ts +0 -4
  64. package/core/g2.base.component.d.ts +0 -44
  65. package/core/g2.servicce.d.ts +0 -20
  66. package/core/public_api.d.ts +0 -5
  67. package/core/types/interaction.d.ts +0 -1
  68. package/core/types/time.d.ts +0 -1
  69. package/core/utils.d.ts +0 -2
  70. package/custom/custom.component.d.ts +0 -16
  71. package/custom/custom.module.d.ts +0 -9
  72. package/custom/public_api.d.ts +0 -2
  73. package/gauge/gauge.component.d.ts +0 -18
  74. package/gauge/gauge.module.d.ts +0 -9
  75. package/gauge/public_api.d.ts +0 -2
  76. package/mini-area/mini-area.component.d.ts +0 -39
  77. package/mini-area/mini-area.module.d.ts +0 -8
  78. package/mini-area/public_api.d.ts +0 -2
  79. package/mini-bar/mini-bar.component.d.ts +0 -31
  80. package/mini-bar/mini-bar.module.d.ts +0 -8
  81. package/mini-bar/public_api.d.ts +0 -2
  82. package/mini-progress/mini-progress.component.d.ts +0 -17
  83. package/mini-progress/mini-progress.module.d.ts +0 -10
  84. package/mini-progress/public_api.d.ts +0 -2
  85. package/number-info/number-info.component.d.ts +0 -23
  86. package/number-info/number-info.module.d.ts +0 -10
  87. package/number-info/public_api.d.ts +0 -2
  88. package/pie/pie.component.d.ts +0 -66
  89. package/pie/pie.module.d.ts +0 -11
  90. package/pie/public_api.d.ts +0 -2
  91. package/public_api.d.ts +0 -2
  92. package/radar/public_api.d.ts +0 -2
  93. package/radar/radar.component.d.ts +0 -37
  94. package/radar/radar.module.d.ts +0 -11
  95. package/single-bar/public_api.d.ts +0 -2
  96. package/single-bar/single-bar.component.d.ts +0 -28
  97. package/single-bar/single-bar.module.d.ts +0 -8
  98. package/tag-cloud/public_api.d.ts +0 -2
  99. package/tag-cloud/tag-cloud.component.d.ts +0 -30
  100. package/tag-cloud/tag-cloud.module.d.ts +0 -9
  101. package/timeline/public_api.d.ts +0 -2
  102. package/timeline/timeline.component.d.ts +0 -68
  103. package/timeline/timeline.module.d.ts +0 -10
  104. package/trend/public_api.d.ts +0 -2
  105. package/trend/trend.component.d.ts +0 -13
  106. package/trend/trend.module.d.ts +0 -9
  107. package/water-wave/public_api.d.ts +0 -2
  108. package/water-wave/water-wave.component.d.ts +0 -31
  109. package/water-wave/water-wave.module.d.ts +0 -9
@@ -1,68 +0,0 @@
1
- import { EventEmitter, SimpleChanges, TemplateRef } from '@angular/core';
2
- import type { Event } from '@antv/g2';
3
- import { G2BaseComponent, G2Time } from '@delon/chart/core';
4
- import type { NzSafeAny } from 'ng-zorro-antd/core/types';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * 数据
8
- *
9
- * 注:根据 `maxAxis` 值传递指标数据
10
- */
11
- export interface G2TimelineData {
12
- /**
13
- * 时间值
14
- */
15
- time?: G2Time;
16
- /** 指标1数据 */
17
- y1: number;
18
- /** 指标2数据 */
19
- y2?: number;
20
- /** 指标3数据 */
21
- y3?: number;
22
- /** 指标4数据 */
23
- y4?: number;
24
- /** 指标5数据 */
25
- y5?: number;
26
- [key: string]: NzSafeAny;
27
- }
28
- export interface G2TimelineMap {
29
- /** 指标1 */
30
- y1: string;
31
- /** 指标 */
32
- y2?: string;
33
- /** 指标3 */
34
- y3?: string;
35
- /** 指标4 */
36
- y4?: string;
37
- /** 指标5 */
38
- y5?: string;
39
- [key: string]: string | undefined;
40
- }
41
- export interface G2TimelineClickItem {
42
- item: G2TimelineData;
43
- ev: Event;
44
- }
45
- export declare class G2TimelineComponent extends G2BaseComponent {
46
- title?: string | TemplateRef<void> | null;
47
- maxAxis: number;
48
- data: G2TimelineData[];
49
- titleMap?: G2TimelineMap | null;
50
- colorMap: G2TimelineMap;
51
- mask: string;
52
- maskSlider: string;
53
- position: 'top' | 'right' | 'bottom' | 'left';
54
- height: number;
55
- padding: number[];
56
- borderWidth: number;
57
- slider: boolean;
58
- readonly clickItem: EventEmitter<G2TimelineClickItem>;
59
- onlyChangeData: (changes: SimpleChanges) => boolean;
60
- install(): void;
61
- changeData(): void;
62
- static ɵfac: i0.ɵɵFactoryDeclaration<G2TimelineComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<G2TimelineComponent, "g2-timeline", ["g2Timeline"], { "title": { "alias": "title"; "required": false; }; "maxAxis": { "alias": "maxAxis"; "required": false; }; "data": { "alias": "data"; "required": false; }; "titleMap": { "alias": "titleMap"; "required": false; }; "colorMap": { "alias": "colorMap"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "maskSlider": { "alias": "maskSlider"; "required": false; }; "position": { "alias": "position"; "required": false; }; "height": { "alias": "height"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "slider": { "alias": "slider"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, true, never>;
64
- static ngAcceptInputType_maxAxis: unknown;
65
- static ngAcceptInputType_height: unknown;
66
- static ngAcceptInputType_borderWidth: unknown;
67
- static ngAcceptInputType_slider: unknown;
68
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "ng-zorro-antd/core/outlet";
4
- import * as i3 from "ng-zorro-antd/skeleton";
5
- import * as i4 from "./timeline.component";
6
- export declare class G2TimelineModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<G2TimelineModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<G2TimelineModule, never, [typeof i1.CommonModule, typeof i2.NzOutletModule, typeof i3.NzSkeletonModule, typeof i4.G2TimelineComponent], [typeof i4.G2TimelineComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<G2TimelineModule>;
10
- }
@@ -1,2 +0,0 @@
1
- export * from './trend.component';
2
- export * from './trend.module';
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TrendComponent {
3
- /** 上升下降标识 */
4
- flag?: 'up' | 'down';
5
- /** 是否彩色标记 */
6
- colorful: boolean;
7
- /** 颜色反转 */
8
- reverseColor: boolean;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TrendComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<TrendComponent, "trend", ["trend"], { "flag": { "alias": "flag"; "required": false; }; "colorful": { "alias": "colorful"; "required": false; }; "reverseColor": { "alias": "reverseColor"; "required": false; }; }, {}, never, ["*"], true, never>;
11
- static ngAcceptInputType_colorful: unknown;
12
- static ngAcceptInputType_reverseColor: unknown;
13
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "ng-zorro-antd/icon";
4
- import * as i3 from "./trend.component";
5
- export declare class TrendModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TrendModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<TrendModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.TrendComponent], [typeof i3.TrendComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<TrendModule>;
9
- }
@@ -1,2 +0,0 @@
1
- export * from './water-wave.component';
2
- export * from './water-wave.module';
@@ -1,31 +0,0 @@
1
- import { OnChanges, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class G2WaterWaveComponent implements OnDestroy, OnChanges, OnInit {
4
- private readonly el;
5
- private readonly renderer;
6
- private readonly ngZone;
7
- private readonly cdr;
8
- private readonly platform;
9
- private resize$;
10
- private node;
11
- private timer;
12
- animate: boolean;
13
- delay: number;
14
- title?: string | TemplateRef<void> | null;
15
- color: string;
16
- height: number;
17
- percent?: number;
18
- private renderChart;
19
- private updateRadio;
20
- render(): void;
21
- private installResizeEvent;
22
- ngOnInit(): void;
23
- ngOnChanges(): void;
24
- ngOnDestroy(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<G2WaterWaveComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<G2WaterWaveComponent, "g2-water-wave", ["g2WaterWave"], { "animate": { "alias": "animate"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "title": { "alias": "title"; "required": false; }; "color": { "alias": "color"; "required": false; }; "height": { "alias": "height"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; }, {}, never, never, true, never>;
27
- static ngAcceptInputType_animate: unknown;
28
- static ngAcceptInputType_delay: unknown;
29
- static ngAcceptInputType_height: unknown;
30
- static ngAcceptInputType_percent: unknown;
31
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "ng-zorro-antd/core/outlet";
4
- import * as i3 from "./water-wave.component";
5
- export declare class G2WaterWaveModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<G2WaterWaveModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<G2WaterWaveModule, never, [typeof i1.CommonModule, typeof i2.NzOutletModule, typeof i3.G2WaterWaveComponent], [typeof i3.G2WaterWaveComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<G2WaterWaveModule>;
9
- }