UNPKG

1.95 kBTypeScriptView Raw
1import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2import { GridItem } from '../common/grid-layout.helper';
3import { ColorHelper } from '../common/color.helper';
4import { ViewDimensions } from '../common/types/view-dimension.interface';
5import * as i0 from "@angular/core";
6export interface CardModel extends GridItem {
7 color: string;
8 tooltipText: string;
9 textColor: string;
10 bandColor: string;
11 label: string;
12}
13export declare class CardSeriesComponent implements OnChanges {
14 data: CardModel[];
15 dims: ViewDimensions;
16 colors: ColorHelper;
17 innerPadding: number;
18 cardColor: string;
19 bandColor: string;
20 emptyColor: string;
21 textColor: string;
22 valueFormatting: any;
23 labelFormatting: any;
24 animations: boolean;
25 select: EventEmitter<any>;
26 cards: CardModel[];
27 emptySlots: any[];
28 medianSize: number;
29 ngOnChanges(changes: SimpleChanges): void;
30 update(): void;
31 getCards(): CardModel[];
32 trackBy(index: any, card: any): string;
33 onClick(data: any): void;
34 static ɵfac: i0.ɵɵFactoryDeclaration<CardSeriesComponent, never>;
35 static ɵcmp: i0.ɵɵComponentDeclaration<CardSeriesComponent, "g[ngx-charts-card-series]", never, { "data": { "alias": "data"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "innerPadding": { "alias": "innerPadding"; "required": false; }; "cardColor": { "alias": "cardColor"; "required": false; }; "bandColor": { "alias": "bandColor"; "required": false; }; "emptyColor": { "alias": "emptyColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
36}