@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
26 lines (25 loc) • 1.53 kB
TypeScript
import { AdaptableModule } from '../../types';
import { IModule, ModuleInfo, IModuleCollection } from '../../Strategy/Interface/IModule';
import { TeamSharingImportInfo } from '../../AdaptableState/TeamSharingState';
import { AdaptableObject } from '../../AdaptableState/Common/AdaptableObject';
import { IModuleService } from './Interface/IModuleService';
import { AdaptableApi } from '../../../types';
export declare class ModuleService implements IModuleService {
private adaptableApi;
constructor(adaptableApi: AdaptableApi);
isModuleAvailable(adaptableModule: AdaptableModule): boolean;
isModuleName(adaptableModule: string): adaptableModule is AdaptableModule;
isModuleEditable(adaptableModule: AdaptableModule): boolean;
getModuleFriendlyName(adaptableModule: AdaptableModule): string;
createModuleUIItems(): void;
private createSettingsPanelItems;
private createModuleButtonsForDashboardAndToolPanel;
getTeamSharingAction(adaptableModule: AdaptableModule): TeamSharingImportInfo<AdaptableObject> | undefined;
getModuleById<T = IModule>(adaptableModule: AdaptableModule): T | undefined;
getModuleInfoByModule(adaptableModule: AdaptableModule): ModuleInfo | undefined;
getModuleInfoByFriendlyName(friendlyName: string): ModuleInfo | undefined;
getPopupMaxWidth(adaptableModule: AdaptableModule): number | undefined;
getModuleCollection(): IModuleCollection;
getModuleDocumentationPageByModule(adaptableModule: AdaptableModule): string;
destroy(): void;
}