UNPKG

stocklift-charts

Version:

StockLift Web Component Charts

33 lines (32 loc) 1.03 kB
import { LitElement } from "lit"; import { Asset } from "../models/asset.model"; import { SectorEntry } from "../models/sector.entry.model"; import "./assets-view"; declare class SectorBreakdown extends LitElement { assets: Asset[]; sectorEntries: SectorEntry[]; private sectors; private expandedSectors; updated(changedProperties: Map<string | number | symbol, unknown>): void; groupAssetsBySector(): void; toggleSector(sector: string): void; static styles: import("lit").CSSResult; render(): import("lit-html").TemplateResult<1>; getSectorPercent(sector: string): string | undefined; getSectorPercentChange(sector: string): { value: string; isPositive: string; }; getSectorDollarAmount(sector: string): string; getSectorDollarChange(sector: string): { value: string; isPositive: string; }; private getSector; } declare global { interface HTMLElementTagNameMap { "sector-breakdown": SectorBreakdown; } } export {};