UNPKG

@nova-ui/dashboards

Version:

Nova Dashboards is a framework designed to provide feature developers with a common solution for presenting data coming from various sources within a single view, as well as a set of predefined widget visualizations that are 100% configuration-driven and

16 lines (15 loc) 504 B
import { IFormatter } from "../components/types"; import { IFormatterData } from "../configurator/components/formatters/types"; /** * * Takes formatter "dataFieldIds" from "properties" and maps the data to the formatter input. * Might be used for nuiComponentPortal directive for formatter "properties" * * @param formatter * @param data */ export declare function mapDataToFormatterProperties<T extends { [key: string]: any; }>(formatter: IFormatter, data: T): { data: IFormatterData; };