UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

20 lines (19 loc) • 1.21 kB
import type { Module } from './interfaces/iModule'; /** * Records the npm package and version an AG library was registered from, against the module providing * it, so the version line and the dev validation overlay report it. Community imports neither ag-charts * nor ag-studio, so those packages push their info in through here to keep the dependency direction * one-way — AG Charts via integrated charts / sparklines, AG Studio via its own module. * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */ export declare function _setAgPackageInfo(module: Module, packageName: string, version: string): void; /** * Builds the `ag-grid-community=<v>, ...` clause list for the AG npm packages this grid has registered. * Shared by the `debug` console line and the dev validation overlay so both report the same versions. */ export declare function _getAgVersionsText(registeredModules: Module[]): string; /** * Logs the version of each AG package in use. Called once per grid, so that mismatched versions across * the packages are visible in `debug` mode. */ export declare function _logVersionIfDebug(debug: boolean | undefined, registeredModules: Module[]): void;