kre-form
Version:
本项目由 Angular8+ 编写的表单设计器和表单应用,所有的配置都是 JSON 结构体组成,PC 端是基于 ANT 组件库封装
74 lines (73 loc) • 2.38 kB
TypeScript
import { OnInit, EventEmitter, OnChanges } from "@angular/core";
import { NzModalService } from "ng-zorro-antd/modal";
import { NzMessageService } from "ng-zorro-antd/message";
import { ChartsService } from "../../service/charts.service";
import { ChartConditionService } from "../../service/chart-condition.service";
export declare class EchartOptionsDomComponent implements OnInit, OnChanges {
private chartConditionService;
private chartsService;
private modalService;
private message;
colorList: any;
echartsList: any;
chartCondition: any;
echartOptionsChange: EventEmitter<any>;
echartShapeChange: EventEmitter<any>;
chartConditionChange: EventEmitter<any>;
chartsType: {
title: string;
type: string;
icon: string;
}[];
childChartsType: {
type: string;
title: string;
children: {
title: string;
type: string;
icon: string;
}[];
}[];
currentChildChartsType: any;
input: {
nzTabPosition: string;
lineSmooth: string;
xAxisrRotate: string;
axisLabelInterval: boolean;
title: string;
yAxisMax: null;
yAxisMin: null;
dataLabeChecked: boolean;
isLegend: boolean;
legend: string;
currentColorType: string;
inside: number;
outside: number;
titleX: number;
titleY: number;
};
selectedValue: string;
currentChartType: string;
formatterPercent: any;
parserPercent: any;
constructor(chartConditionService: ChartConditionService, chartsService: ChartsService, modalService: NzModalService, message: NzMessageService);
ngOnInit(): void;
ngOnChanges(changes: any): void;
choiceChart(type: any): void;
choiceSubChart(type: any): void;
changeOptions(type: any): void;
choiceType(type: any): void;
getChartOption(type: any): any;
lineSmoothChange(change?: any): void;
xAxisrRotateChange(change?: any): void;
intervalChange(change?: any): void;
titleChange(change?: any): void;
yAxisMaxBlur(change?: any): void;
yAxisMinBlur(change?: any): void;
isLegendShow(change?: any): void;
legendChange(change?: any): void;
radiusChange(change?: any): void;
changeColor(): void;
totalColor(): any;
changeCurrentColor(): void;
}