@delon/chart 19.1.0 → 20.0.0-beta.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/bar/index.d.ts +47 -5
- package/card/index.d.ts +35 -5
- package/chart-echarts/index.d.ts +85 -5
- package/core/index.d.ts +71 -5
- package/custom/index.d.ts +27 -5
- package/fesm2022/bar.mjs +8 -9
- package/fesm2022/bar.mjs.map +1 -1
- package/fesm2022/card.mjs +9 -9
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/chart-echarts.mjs +11 -14
- package/fesm2022/chart-echarts.mjs.map +1 -1
- package/fesm2022/core.mjs +7 -7
- package/fesm2022/custom.mjs +8 -9
- package/fesm2022/custom.mjs.map +1 -1
- package/fesm2022/gauge.mjs +8 -9
- package/fesm2022/gauge.mjs.map +1 -1
- package/fesm2022/mini-area.mjs +8 -9
- package/fesm2022/mini-area.mjs.map +1 -1
- package/fesm2022/mini-bar.mjs +8 -9
- package/fesm2022/mini-bar.mjs.map +1 -1
- package/fesm2022/mini-progress.mjs +11 -12
- package/fesm2022/mini-progress.mjs.map +1 -1
- package/fesm2022/number-info.mjs +9 -9
- package/fesm2022/number-info.mjs.map +1 -1
- package/fesm2022/pie.mjs +9 -9
- package/fesm2022/pie.mjs.map +1 -1
- package/fesm2022/radar.mjs +9 -9
- package/fesm2022/radar.mjs.map +1 -1
- package/fesm2022/single-bar.mjs +8 -9
- package/fesm2022/single-bar.mjs.map +1 -1
- package/fesm2022/tag-cloud.mjs +8 -9
- package/fesm2022/tag-cloud.mjs.map +1 -1
- package/fesm2022/timeline.mjs +8 -9
- package/fesm2022/timeline.mjs.map +1 -1
- package/fesm2022/trend.mjs +8 -9
- package/fesm2022/trend.mjs.map +1 -1
- package/fesm2022/water-wave.mjs +9 -9
- package/fesm2022/water-wave.mjs.map +1 -1
- package/gauge/index.d.ts +29 -5
- package/index.d.ts +2 -5
- package/mini-area/index.d.ts +50 -5
- package/mini-bar/index.d.ts +42 -5
- package/mini-progress/index.d.ts +29 -5
- package/mini-progress/style/index.less +1 -1
- package/number-info/index.d.ts +35 -5
- package/package.json +4 -4
- package/pie/index.d.ts +80 -5
- package/radar/index.d.ts +51 -5
- package/single-bar/index.d.ts +38 -5
- package/tag-cloud/index.d.ts +42 -5
- package/timeline/index.d.ts +79 -3
- package/trend/index.d.ts +24 -5
- package/water-wave/index.d.ts +42 -5
- package/bar/bar.component.d.ts +0 -34
- package/bar/bar.module.d.ts +0 -10
- package/bar/public_api.d.ts +0 -2
- package/card/card.component.d.ts +0 -22
- package/card/card.module.d.ts +0 -11
- package/card/public_api.d.ts +0 -2
- package/chart-echarts/echarts.component.d.ts +0 -40
- package/chart-echarts/echarts.module.d.ts +0 -9
- package/chart-echarts/echarts.service.d.ts +0 -20
- package/chart-echarts/echarts.types.d.ts +0 -18
- package/chart-echarts/public_api.d.ts +0 -4
- package/core/g2.base.component.d.ts +0 -44
- package/core/g2.servicce.d.ts +0 -20
- package/core/public_api.d.ts +0 -5
- package/core/types/interaction.d.ts +0 -1
- package/core/types/time.d.ts +0 -1
- package/core/utils.d.ts +0 -2
- package/custom/custom.component.d.ts +0 -16
- package/custom/custom.module.d.ts +0 -9
- package/custom/public_api.d.ts +0 -2
- package/gauge/gauge.component.d.ts +0 -18
- package/gauge/gauge.module.d.ts +0 -9
- package/gauge/public_api.d.ts +0 -2
- package/mini-area/mini-area.component.d.ts +0 -39
- package/mini-area/mini-area.module.d.ts +0 -8
- package/mini-area/public_api.d.ts +0 -2
- package/mini-bar/mini-bar.component.d.ts +0 -31
- package/mini-bar/mini-bar.module.d.ts +0 -8
- package/mini-bar/public_api.d.ts +0 -2
- package/mini-progress/mini-progress.component.d.ts +0 -17
- package/mini-progress/mini-progress.module.d.ts +0 -10
- package/mini-progress/public_api.d.ts +0 -2
- package/number-info/number-info.component.d.ts +0 -23
- package/number-info/number-info.module.d.ts +0 -10
- package/number-info/public_api.d.ts +0 -2
- package/pie/pie.component.d.ts +0 -66
- package/pie/pie.module.d.ts +0 -11
- package/pie/public_api.d.ts +0 -2
- package/public_api.d.ts +0 -2
- package/radar/public_api.d.ts +0 -2
- package/radar/radar.component.d.ts +0 -37
- package/radar/radar.module.d.ts +0 -11
- package/single-bar/public_api.d.ts +0 -2
- package/single-bar/single-bar.component.d.ts +0 -28
- package/single-bar/single-bar.module.d.ts +0 -8
- package/tag-cloud/public_api.d.ts +0 -2
- package/tag-cloud/tag-cloud.component.d.ts +0 -30
- package/tag-cloud/tag-cloud.module.d.ts +0 -9
- package/timeline/public_api.d.ts +0 -2
- package/timeline/timeline.component.d.ts +0 -68
- package/timeline/timeline.module.d.ts +0 -10
- package/trend/public_api.d.ts +0 -2
- package/trend/trend.component.d.ts +0 -13
- package/trend/trend.module.d.ts +0 -9
- package/water-wave/public_api.d.ts +0 -2
- package/water-wave/water-wave.component.d.ts +0 -31
- package/water-wave/water-wave.module.d.ts +0 -9
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type * as _echarts from 'echarts';
|
|
2
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
3
|
-
export type ChartECharts = _echarts.ECharts;
|
|
4
|
-
export type ChartEChartsOption = _echarts.EChartsCoreOption;
|
|
5
|
-
export type ChartEChartsEventType = 'ready' | 'init' | 'destroy' | 'set-option';
|
|
6
|
-
export interface ChartEChartsEvent {
|
|
7
|
-
type: ChartEChartsEventType;
|
|
8
|
-
chart?: ChartECharts;
|
|
9
|
-
option?: ChartEChartsOption;
|
|
10
|
-
}
|
|
11
|
-
export interface ChartEChartsOn {
|
|
12
|
-
eventName: string;
|
|
13
|
-
query?: string | object;
|
|
14
|
-
handler: (options: {
|
|
15
|
-
event: NzSafeAny;
|
|
16
|
-
chart: ChartECharts;
|
|
17
|
-
}) => void;
|
|
18
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Platform } from '@angular/cdk/platform';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
-
import { Subject, Subscription } from 'rxjs';
|
|
4
|
-
import type { Chart, Types } from '@antv/g2';
|
|
5
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
6
|
-
import { G2Service } from './g2.servicce';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class G2BaseComponent implements OnInit, OnChanges, OnDestroy {
|
|
9
|
-
protected readonly srv: G2Service;
|
|
10
|
-
protected readonly el: ElementRef<HTMLElement>;
|
|
11
|
-
protected readonly ngZone: NgZone;
|
|
12
|
-
protected readonly platform: Platform;
|
|
13
|
-
protected readonly cdr: ChangeDetectorRef;
|
|
14
|
-
get chart(): Chart;
|
|
15
|
-
get winG2(): NzSafeAny;
|
|
16
|
-
constructor();
|
|
17
|
-
repaint: boolean;
|
|
18
|
-
protected node: ElementRef;
|
|
19
|
-
protected resize$?: Subscription;
|
|
20
|
-
protected destroy$: Subject<void>;
|
|
21
|
-
protected _chart: Chart;
|
|
22
|
-
loaded: boolean;
|
|
23
|
-
delay: number;
|
|
24
|
-
theme: string | Types.LooseObject;
|
|
25
|
-
readonly ready: EventEmitter<Chart>;
|
|
26
|
-
/** 检查是否只变更数据 */
|
|
27
|
-
onlyChangeData?: (changes: SimpleChanges) => boolean;
|
|
28
|
-
abstract install(): void;
|
|
29
|
-
/** G2数据变更 */
|
|
30
|
-
changeData(): void;
|
|
31
|
-
/** 等同 `ngOnInit` */
|
|
32
|
-
onInit(): void;
|
|
33
|
-
/** 等同 `ngOnChanges` */
|
|
34
|
-
onChanges(_: SimpleChanges): void;
|
|
35
|
-
private load;
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
38
|
-
protected destroyChart(): this;
|
|
39
|
-
ngOnDestroy(): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2BaseComponent, never>;
|
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<G2BaseComponent, never, never, { "repaint": { "alias": "repaint"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "ready": "ready"; }, never, never, true, never>;
|
|
42
|
-
static ngAcceptInputType_repaint: unknown;
|
|
43
|
-
static ngAcceptInputType_delay: unknown;
|
|
44
|
-
}
|
package/core/g2.servicce.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { AlainChartConfig } from '@delon/util/config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class G2Service implements OnDestroy {
|
|
6
|
-
private readonly cogSrv;
|
|
7
|
-
private readonly lazySrv;
|
|
8
|
-
private _cog;
|
|
9
|
-
private loading;
|
|
10
|
-
private loaded;
|
|
11
|
-
private notify$;
|
|
12
|
-
get cog(): AlainChartConfig;
|
|
13
|
-
set cog(val: AlainChartConfig);
|
|
14
|
-
constructor();
|
|
15
|
-
libLoad(): this;
|
|
16
|
-
get notify(): Observable<void>;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2Service, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<G2Service>;
|
|
20
|
-
}
|
package/core/public_api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type G2InteractionType = 'none' | 'element-active' | 'active-region' | 'brush' | 'drag-move';
|
package/core/types/time.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type G2Time = Date | string | number;
|
package/core/utils.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { G2BaseComponent } from '@delon/chart/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class G2CustomComponent extends G2BaseComponent {
|
|
5
|
-
height?: number;
|
|
6
|
-
resizeTime: number;
|
|
7
|
-
readonly render: EventEmitter<ElementRef<any>>;
|
|
8
|
-
readonly resize: EventEmitter<ElementRef<any>>;
|
|
9
|
-
readonly destroy: EventEmitter<ElementRef<any>>;
|
|
10
|
-
install(): void;
|
|
11
|
-
private installResizeEvent;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2CustomComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2CustomComponent, "g2,g2-custom", ["g2Custom"], { "height": { "alias": "height"; "required": false; }; "resizeTime": { "alias": "resizeTime"; "required": false; }; }, { "render": "render"; "resize": "resize"; "destroy": "destroy"; }, never, ["*"], true, never>;
|
|
14
|
-
static ngAcceptInputType_height: unknown;
|
|
15
|
-
static ngAcceptInputType_resizeTime: unknown;
|
|
16
|
-
}
|
|
@@ -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/skeleton";
|
|
4
|
-
import * as i3 from "./custom.component";
|
|
5
|
-
export declare class G2CustomModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2CustomModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<G2CustomModule, never, [typeof i1.CommonModule, typeof i2.NzSkeletonModule, typeof i3.G2CustomComponent], [typeof i3.G2CustomComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<G2CustomModule>;
|
|
9
|
-
}
|
package/custom/public_api.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { G2BaseComponent } from '@delon/chart/core';
|
|
2
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class G2GaugeComponent extends G2BaseComponent {
|
|
5
|
-
title?: string;
|
|
6
|
-
height?: number;
|
|
7
|
-
color: string;
|
|
8
|
-
bgColor?: string;
|
|
9
|
-
format?: (text: string, item: NzSafeAny, index: number) => string;
|
|
10
|
-
percent?: number;
|
|
11
|
-
padding: number | number[] | 'auto';
|
|
12
|
-
install(): void;
|
|
13
|
-
changeData(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2GaugeComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2GaugeComponent, "g2-gauge", ["g2Gauge"], { "title": { "alias": "title"; "required": false; }; "height": { "alias": "height"; "required": false; }; "color": { "alias": "color"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "format": { "alias": "format"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
static ngAcceptInputType_height: unknown;
|
|
17
|
-
static ngAcceptInputType_percent: unknown;
|
|
18
|
-
}
|
package/gauge/gauge.module.d.ts
DELETED
|
@@ -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/skeleton";
|
|
4
|
-
import * as i3 from "./gauge.component";
|
|
5
|
-
export declare class G2GaugeModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2GaugeModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<G2GaugeModule, never, [typeof i1.CommonModule, typeof i2.NzSkeletonModule, typeof i3.G2GaugeComponent], [typeof i3.G2GaugeComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<G2GaugeModule>;
|
|
9
|
-
}
|
package/gauge/public_api.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import type { Event } from '@antv/g2';
|
|
3
|
-
import { G2BaseComponent } from '@delon/chart/core';
|
|
4
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface G2MiniAreaData {
|
|
7
|
-
x: NzSafeAny;
|
|
8
|
-
y: NzSafeAny;
|
|
9
|
-
[key: string]: NzSafeAny;
|
|
10
|
-
}
|
|
11
|
-
export interface G2MiniAreaClickItem {
|
|
12
|
-
item: G2MiniAreaData;
|
|
13
|
-
ev: Event;
|
|
14
|
-
}
|
|
15
|
-
export declare class G2MiniAreaComponent extends G2BaseComponent {
|
|
16
|
-
color: string;
|
|
17
|
-
borderColor: string;
|
|
18
|
-
borderWidth: number;
|
|
19
|
-
height: number;
|
|
20
|
-
fit: boolean;
|
|
21
|
-
line: boolean;
|
|
22
|
-
animate: boolean;
|
|
23
|
-
xAxis: NzSafeAny;
|
|
24
|
-
yAxis: NzSafeAny;
|
|
25
|
-
padding: number | number[] | 'auto';
|
|
26
|
-
data: G2MiniAreaData[];
|
|
27
|
-
yTooltipSuffix: string;
|
|
28
|
-
tooltipType: 'mini' | 'default';
|
|
29
|
-
readonly clickItem: EventEmitter<G2MiniAreaClickItem>;
|
|
30
|
-
install(): void;
|
|
31
|
-
changeData(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2MiniAreaComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2MiniAreaComponent, "g2-mini-area", ["g2MiniArea"], { "color": { "alias": "color"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "height": { "alias": "height"; "required": false; }; "fit": { "alias": "fit"; "required": false; }; "line": { "alias": "line"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "data": { "alias": "data"; "required": false; }; "yTooltipSuffix": { "alias": "yTooltipSuffix"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, true, never>;
|
|
34
|
-
static ngAcceptInputType_borderWidth: unknown;
|
|
35
|
-
static ngAcceptInputType_height: unknown;
|
|
36
|
-
static ngAcceptInputType_fit: unknown;
|
|
37
|
-
static ngAcceptInputType_line: unknown;
|
|
38
|
-
static ngAcceptInputType_animate: unknown;
|
|
39
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "./mini-area.component";
|
|
4
|
-
export declare class G2MiniAreaModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2MiniAreaModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<G2MiniAreaModule, never, [typeof i1.CommonModule, typeof i2.G2MiniAreaComponent], [typeof i2.G2MiniAreaComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<G2MiniAreaModule>;
|
|
8
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import type { Event } from '@antv/g2';
|
|
3
|
-
import { G2BaseComponent } from '@delon/chart/core';
|
|
4
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface G2MiniBarData {
|
|
7
|
-
x: NzSafeAny;
|
|
8
|
-
y: NzSafeAny;
|
|
9
|
-
color?: string | null;
|
|
10
|
-
[key: string]: NzSafeAny;
|
|
11
|
-
}
|
|
12
|
-
export interface G2MiniBarClickItem {
|
|
13
|
-
item: G2MiniBarData;
|
|
14
|
-
ev: Event;
|
|
15
|
-
}
|
|
16
|
-
export declare class G2MiniBarComponent extends G2BaseComponent {
|
|
17
|
-
color: string;
|
|
18
|
-
height: number;
|
|
19
|
-
borderWidth: number;
|
|
20
|
-
padding: number | number[] | 'auto';
|
|
21
|
-
data: G2MiniBarData[];
|
|
22
|
-
yTooltipSuffix: string;
|
|
23
|
-
tooltipType: 'mini' | 'default';
|
|
24
|
-
readonly clickItem: EventEmitter<G2MiniBarClickItem>;
|
|
25
|
-
install(): void;
|
|
26
|
-
changeData(): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2MiniBarComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2MiniBarComponent, "g2-mini-bar", ["g2MiniBar"], { "color": { "alias": "color"; "required": false; }; "height": { "alias": "height"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "data": { "alias": "data"; "required": false; }; "yTooltipSuffix": { "alias": "yTooltipSuffix"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, true, never>;
|
|
29
|
-
static ngAcceptInputType_height: unknown;
|
|
30
|
-
static ngAcceptInputType_borderWidth: unknown;
|
|
31
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "./mini-bar.component";
|
|
4
|
-
export declare class G2MiniBarModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2MiniBarModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<G2MiniBarModule, never, [typeof i1.CommonModule, typeof i2.G2MiniBarComponent], [typeof i2.G2MiniBarComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<G2MiniBarModule>;
|
|
8
|
-
}
|
package/mini-bar/public_api.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class G2MiniProgressComponent implements OnChanges {
|
|
4
|
-
readonly targetSuffix: any;
|
|
5
|
-
private readonly cdr;
|
|
6
|
-
color: string;
|
|
7
|
-
target?: number | null;
|
|
8
|
-
percent?: number | null;
|
|
9
|
-
strokeWidth?: number | null;
|
|
10
|
-
private fixNum;
|
|
11
|
-
ngOnChanges(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2MiniProgressComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2MiniProgressComponent, "g2-mini-progress", ["g2MiniProgress"], { "color": { "alias": "color"; "required": false; }; "target": { "alias": "target"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
-
static ngAcceptInputType_target: unknown;
|
|
15
|
-
static ngAcceptInputType_percent: unknown;
|
|
16
|
-
static ngAcceptInputType_strokeWidth: unknown;
|
|
17
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@delon/theme";
|
|
4
|
-
import * as i3 from "ng-zorro-antd/tooltip";
|
|
5
|
-
import * as i4 from "./mini-progress.component";
|
|
6
|
-
export declare class G2MiniProgressModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2MiniProgressModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<G2MiniProgressModule, never, [typeof i1.CommonModule, typeof i2.DelonLocaleModule, typeof i3.NzToolTipModule, typeof i4.G2MiniProgressComponent], [typeof i4.G2MiniProgressComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<G2MiniProgressModule>;
|
|
10
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NumberInfoComponent {
|
|
4
|
-
/** 标题 */
|
|
5
|
-
title?: string | TemplateRef<void> | null;
|
|
6
|
-
/** 子标题 */
|
|
7
|
-
subTitle?: string | TemplateRef<void> | null;
|
|
8
|
-
/** 总量 */
|
|
9
|
-
total?: string | number | TemplateRef<void> | null;
|
|
10
|
-
/** 总量后缀 */
|
|
11
|
-
subTotal?: string | number | TemplateRef<void> | null;
|
|
12
|
-
/** 子总量 */
|
|
13
|
-
suffix?: string | null;
|
|
14
|
-
/** 增加状态 */
|
|
15
|
-
status?: 'up' | 'down';
|
|
16
|
-
/** 状态样式 */
|
|
17
|
-
theme: 'light' | 'default';
|
|
18
|
-
/** 设置数字和描述直接的间距(像素) */
|
|
19
|
-
gap: number;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInfoComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInfoComponent, "number-info", ["numberInfo"], { "title": { "alias": "title"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "total": { "alias": "total"; "required": false; }; "subTotal": { "alias": "subTotal"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "status": { "alias": "status"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
-
static ngAcceptInputType_gap: unknown;
|
|
23
|
-
}
|
|
@@ -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/icon";
|
|
4
|
-
import * as i3 from "ng-zorro-antd/core/outlet";
|
|
5
|
-
import * as i4 from "./number-info.component";
|
|
6
|
-
export declare class NumberInfoModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInfoModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NumberInfoModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.NzOutletModule, typeof i4.NumberInfoComponent], [typeof i4.NumberInfoComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NumberInfoModule>;
|
|
10
|
-
}
|
package/pie/pie.component.d.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import type { Event } from '@antv/g2';
|
|
3
|
-
import { G2BaseComponent, G2InteractionType } from '@delon/chart/core';
|
|
4
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface G2PieData {
|
|
7
|
-
x: NzSafeAny;
|
|
8
|
-
y: number;
|
|
9
|
-
[key: string]: NzSafeAny;
|
|
10
|
-
}
|
|
11
|
-
export interface G2PieClickItem {
|
|
12
|
-
item: G2PieData;
|
|
13
|
-
ev: Event;
|
|
14
|
-
}
|
|
15
|
-
export interface G2PieRatio {
|
|
16
|
-
/** 占比文本,默认:`占比` */
|
|
17
|
-
text: string;
|
|
18
|
-
/** 反比文本,默认:`反比` */
|
|
19
|
-
inverse: string;
|
|
20
|
-
/** 正比颜色,默认使用 `color` 值 */
|
|
21
|
-
color: string;
|
|
22
|
-
/** 反比颜色,默认:`#F0F2F5` */
|
|
23
|
-
inverseColor: string;
|
|
24
|
-
}
|
|
25
|
-
export declare class G2PieComponent extends G2BaseComponent {
|
|
26
|
-
private percentColor;
|
|
27
|
-
legendData: NzSafeAny[];
|
|
28
|
-
isPercent: boolean;
|
|
29
|
-
animate: boolean;
|
|
30
|
-
color: string;
|
|
31
|
-
subTitle?: string | TemplateRef<void> | null;
|
|
32
|
-
total?: string | number | TemplateRef<void> | null;
|
|
33
|
-
height: number;
|
|
34
|
-
hasLegend: boolean;
|
|
35
|
-
inner: number;
|
|
36
|
-
padding: number | number[] | 'auto';
|
|
37
|
-
percent?: number;
|
|
38
|
-
tooltip: boolean;
|
|
39
|
-
lineWidth: number;
|
|
40
|
-
blockMaxWidth: number;
|
|
41
|
-
select: boolean;
|
|
42
|
-
valueFormat?: (y: number) => string;
|
|
43
|
-
data: G2PieData[];
|
|
44
|
-
colors?: string[];
|
|
45
|
-
interaction: G2InteractionType;
|
|
46
|
-
ratio: G2PieRatio;
|
|
47
|
-
readonly clickItem: EventEmitter<G2PieClickItem>;
|
|
48
|
-
block: boolean;
|
|
49
|
-
private fixData;
|
|
50
|
-
private updateBlock;
|
|
51
|
-
install(): void;
|
|
52
|
-
changeData(): void;
|
|
53
|
-
private genLegend;
|
|
54
|
-
_click(i: number): void;
|
|
55
|
-
onChanges(): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2PieComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2PieComponent, "g2-pie", ["g2Pie"], { "animate": { "alias": "animate"; "required": false; }; "color": { "alias": "color"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "total": { "alias": "total"; "required": false; }; "height": { "alias": "height"; "required": false; }; "hasLegend": { "alias": "hasLegend"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "lineWidth": { "alias": "lineWidth"; "required": false; }; "blockMaxWidth": { "alias": "blockMaxWidth"; "required": false; }; "select": { "alias": "select"; "required": false; }; "valueFormat": { "alias": "valueFormat"; "required": false; }; "data": { "alias": "data"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "interaction": { "alias": "interaction"; "required": false; }; "ratio": { "alias": "ratio"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, true, never>;
|
|
58
|
-
static ngAcceptInputType_animate: unknown;
|
|
59
|
-
static ngAcceptInputType_height: unknown;
|
|
60
|
-
static ngAcceptInputType_hasLegend: unknown;
|
|
61
|
-
static ngAcceptInputType_percent: unknown;
|
|
62
|
-
static ngAcceptInputType_tooltip: unknown;
|
|
63
|
-
static ngAcceptInputType_lineWidth: unknown;
|
|
64
|
-
static ngAcceptInputType_blockMaxWidth: unknown;
|
|
65
|
-
static ngAcceptInputType_select: unknown;
|
|
66
|
-
}
|
package/pie/pie.module.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "ng-zorro-antd/divider";
|
|
4
|
-
import * as i3 from "ng-zorro-antd/core/outlet";
|
|
5
|
-
import * as i4 from "ng-zorro-antd/skeleton";
|
|
6
|
-
import * as i5 from "./pie.component";
|
|
7
|
-
export declare class G2PieModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2PieModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<G2PieModule, never, [typeof i1.CommonModule, typeof i2.NzDividerModule, typeof i3.NzOutletModule, typeof i4.NzSkeletonModule, typeof i5.G2PieComponent], [typeof i5.G2PieComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<G2PieModule>;
|
|
11
|
-
}
|
package/pie/public_api.d.ts
DELETED
package/public_api.d.ts
DELETED
package/radar/public_api.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import type { Event } from '@antv/g2';
|
|
3
|
-
import { G2BaseComponent } from '@delon/chart/core';
|
|
4
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface G2RadarData {
|
|
7
|
-
name: string;
|
|
8
|
-
label: string;
|
|
9
|
-
value: number;
|
|
10
|
-
[key: string]: NzSafeAny;
|
|
11
|
-
}
|
|
12
|
-
export interface G2RadarClickItem {
|
|
13
|
-
item: G2RadarData;
|
|
14
|
-
ev: Event;
|
|
15
|
-
}
|
|
16
|
-
export declare class G2RadarComponent extends G2BaseComponent {
|
|
17
|
-
legendData: NzSafeAny[];
|
|
18
|
-
title?: string | TemplateRef<void> | null;
|
|
19
|
-
height: number;
|
|
20
|
-
padding: number | number[] | 'auto';
|
|
21
|
-
hasLegend: boolean;
|
|
22
|
-
tickCount: number;
|
|
23
|
-
data: G2RadarData[];
|
|
24
|
-
colors: string[];
|
|
25
|
-
readonly clickItem: EventEmitter<G2RadarClickItem>;
|
|
26
|
-
private getHeight;
|
|
27
|
-
install(): void;
|
|
28
|
-
changeData(): void;
|
|
29
|
-
private genLegend;
|
|
30
|
-
_click(i: number): void;
|
|
31
|
-
onChanges(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2RadarComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2RadarComponent, "g2-radar", ["g2Radar"], { "title": { "alias": "title"; "required": false; }; "height": { "alias": "height"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "hasLegend": { "alias": "hasLegend"; "required": false; }; "tickCount": { "alias": "tickCount"; "required": false; }; "data": { "alias": "data"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, true, never>;
|
|
34
|
-
static ngAcceptInputType_height: unknown;
|
|
35
|
-
static ngAcceptInputType_hasLegend: unknown;
|
|
36
|
-
static ngAcceptInputType_tickCount: unknown;
|
|
37
|
-
}
|
package/radar/radar.module.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "ng-zorro-antd/grid";
|
|
4
|
-
import * as i3 from "ng-zorro-antd/core/outlet";
|
|
5
|
-
import * as i4 from "ng-zorro-antd/skeleton";
|
|
6
|
-
import * as i5 from "./radar.component";
|
|
7
|
-
export declare class G2RadarModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2RadarModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<G2RadarModule, never, [typeof i1.CommonModule, typeof i2.NzGridModule, typeof i3.NzOutletModule, typeof i4.NzSkeletonModule, typeof i5.G2RadarComponent], [typeof i5.G2RadarComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<G2RadarModule>;
|
|
11
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { SimpleChanges } from '@angular/core';
|
|
2
|
-
import { G2BaseComponent } from '@delon/chart/core';
|
|
3
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class G2SingleBarComponent extends G2BaseComponent {
|
|
6
|
-
plusColor: string;
|
|
7
|
-
minusColor: string;
|
|
8
|
-
height: number;
|
|
9
|
-
barSize: number;
|
|
10
|
-
min: number;
|
|
11
|
-
max: number;
|
|
12
|
-
value: number;
|
|
13
|
-
line: boolean;
|
|
14
|
-
format?: (value: number, item: NzSafeAny, index: number) => string;
|
|
15
|
-
padding: number | number[] | 'auto';
|
|
16
|
-
textStyle: Record<string, NzSafeAny>;
|
|
17
|
-
install(): void;
|
|
18
|
-
onlyChangeData: (changes: SimpleChanges) => boolean;
|
|
19
|
-
changeData(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2SingleBarComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2SingleBarComponent, "g2-single-bar", ["g2SingleBar"], { "plusColor": { "alias": "plusColor"; "required": false; }; "minusColor": { "alias": "minusColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "barSize": { "alias": "barSize"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; "line": { "alias": "line"; "required": false; }; "format": { "alias": "format"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
-
static ngAcceptInputType_height: unknown;
|
|
23
|
-
static ngAcceptInputType_barSize: unknown;
|
|
24
|
-
static ngAcceptInputType_min: unknown;
|
|
25
|
-
static ngAcceptInputType_max: unknown;
|
|
26
|
-
static ngAcceptInputType_value: unknown;
|
|
27
|
-
static ngAcceptInputType_line: unknown;
|
|
28
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "./single-bar.component";
|
|
4
|
-
export declare class G2SingleBarModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2SingleBarModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<G2SingleBarModule, never, [typeof i1.CommonModule, typeof i2.G2SingleBarComponent], [typeof i2.G2SingleBarComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<G2SingleBarModule>;
|
|
8
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import type { Event } from '@antv/g2';
|
|
3
|
-
import { G2BaseComponent } from '@delon/chart/core';
|
|
4
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface G2TagCloudData {
|
|
7
|
-
value?: number;
|
|
8
|
-
name?: string;
|
|
9
|
-
[key: string]: NzSafeAny;
|
|
10
|
-
}
|
|
11
|
-
export interface G2TagCloudClickItem {
|
|
12
|
-
item: G2TagCloudData;
|
|
13
|
-
ev: Event;
|
|
14
|
-
}
|
|
15
|
-
export declare class G2TagCloudComponent extends G2BaseComponent {
|
|
16
|
-
width: number;
|
|
17
|
-
height: number;
|
|
18
|
-
padding: number | number[] | 'auto';
|
|
19
|
-
data: G2TagCloudData[];
|
|
20
|
-
readonly clickItem: EventEmitter<G2TagCloudClickItem>;
|
|
21
|
-
private initTagCloud;
|
|
22
|
-
install(): void;
|
|
23
|
-
changeData(): void;
|
|
24
|
-
private installResizeEvent;
|
|
25
|
-
onInit(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2TagCloudComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<G2TagCloudComponent, "g2-tag-cloud", ["g2TagCloud"], { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "clickItem": "clickItem"; }, never, never, true, never>;
|
|
28
|
-
static ngAcceptInputType_width: unknown;
|
|
29
|
-
static ngAcceptInputType_height: unknown;
|
|
30
|
-
}
|
|
@@ -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/skeleton";
|
|
4
|
-
import * as i3 from "./tag-cloud.component";
|
|
5
|
-
export declare class G2TagCloudModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<G2TagCloudModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<G2TagCloudModule, never, [typeof i1.CommonModule, typeof i2.NzSkeletonModule, typeof i3.G2TagCloudComponent], [typeof i3.G2TagCloudComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<G2TagCloudModule>;
|
|
9
|
-
}
|
package/timeline/public_api.d.ts
DELETED