@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
25 lines (24 loc) • 1.95 kB
TypeScript
import { IRowNode } from 'ag-grid-enterprise';
import { Channel, Context, ContextType, DesktopAgent, Intent, IntentResolution, StandardContextType, StandardIntent } from '@finos/fdc3';
import { ApiBase } from './ApiBase';
import { Fdc3Api } from '../Fdc3Api';
import { Fdc3InternalApi } from '../Internal/Fdc3InternalApi';
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
import { AppIdentifier } from '@finos/fdc3/dist/api/AppIdentifier';
export declare class Fdc3ApiImpl extends ApiBase implements Fdc3Api {
internalApi: Fdc3InternalApi;
constructor(_adaptable: IAdaptable);
getDesktopAgent(): DesktopAgent;
buildContextDataFromRow(contextType: ContextType, rowNode: IRowNode): Context;
buildContextDataForPrimaryKey(contextType: ContextType, primaryKeyValue: string | number): Context | undefined;
raiseIntentFromPrimaryKey(primaryKeyValue: string | number, intent: Intent, contextType: ContextType, appIdentifier?: AppIdentifier): Promise<IntentResolution> | undefined;
raiseIntentFromRow(rowNode: IRowNode, intent: Intent, contextType: ContextType, appIdentifier?: AppIdentifier): Promise<IntentResolution>;
raiseIntentForContextFromRow(rowNode: IRowNode, contextType: ContextType, appIdentifier?: AppIdentifier): Promise<IntentResolution>;
raiseIntentForContextFromPrimaryKey(primaryKeyValue: string | number, contextType: ContextType, appIdentifier?: AppIdentifier): Promise<IntentResolution> | undefined;
broadcastFromRow(rowNode: IRowNode, contextType: ContextType, channel?: Channel): Promise<void>;
broadcastFromPrimaryKey(primaryKeyValue: string | number, contextType: ContextType, channel?: Channel): Promise<void> | undefined;
getContextLabel(contextType: ContextType): string;
isStandardContextType(contextType: string): contextType is StandardContextType;
isStandardIntentType(intentType: string): intentType is StandardIntent;
private getFdc3Service;
}