UNPKG

@railzai/railz-visualizations

Version:
53 lines (52 loc) 1.76 kB
import { RVConfiguration, RVFilterTaxBenchmarking, RVOptions } from '../../types'; export declare class TaxBenchmarking { /** * Configuration information like authentication configuration */ readonly configuration: RVConfiguration; /** * Filter information to query the backend APIs */ readonly filter: RVFilterTaxBenchmarking; /** * For whitelabeling styling */ readonly options?: RVOptions; private _options; private loading; private _configuration; private _filter; private _data; private _taxBenchmarkingData; private _businessValuesData; private errorStatusCode; private selectedLineItem; private selectedCategory; private lineItemOptions; private categoryOptions; private tableData; private updateTaxBenchmarkingParams; private setCategoryOptions; private setSelectedLineItem; private setSelectedCategory; private refreshTableData; /** * Validates if configuration was passed correctly before setting filter * @param configuration - Config for authentication * @param filter - filter to decide chart type to show * @param options: Whitelabeling options * @param triggerRequest - indicate if api request should be made */ private validateParams; watchConfiguration(newValue: RVConfiguration, oldValue: RVConfiguration): Promise<void>; watchFilter(newValue: RVFilterTaxBenchmarking, oldValue: RVFilterTaxBenchmarking): Promise<void>; watchOptions(newValue: RVOptions, oldValue: RVOptions): Promise<void>; private propsUpdated; /** * Request report data based on filter and configuration param * Formats retrieved data into Highcharts format using formatData */ private requestReportData; componentWillLoad(): void; render(): HTMLElement; }