@anglr/grid
Version:
Angular module displaying grid
114 lines • 4.16 kB
JavaScript
import { InjectionToken } from '@angular/core';
/**
* Injection token used for obtaining orderable directive from cell
*/
export const ORDERABLE_CELL = new InjectionToken('ORDERABLE_CELL');
/**
* Injection token used for sharing content renderers current view container for rendering into 'container' elements
*/
export const CONTENT_RENDERER_CURRENT_VIEW_CONTAINER = new InjectionToken('CONTENT_RENDERER_CURRENT_VIEW_CONTAINER');
/**
* Injection token used for injecting default options
*/
export const DEFAULT_OPTIONS = new InjectionToken('DEFAULT_OPTIONS');
/**
* Injection token for obtaining grid instance inside grid plugins and nested types
*/
export const GRID_INSTANCE = new InjectionToken('GRID_INSTANCE');
/**
* Injection token for obtaining data cell context factory function
*/
export const DATA_CELL_CONTEXT_FN = new InjectionToken('DATA_CELL_CONTEXT_FN');
/**
* Injection token for obtaining cell context factory function
*/
export const CELL_CONTEXT_FN = new InjectionToken('CELL_CONTEXT_FN');
/**
* Injection token for obtaining metadata gatherer
*/
export const METADATA_GATHERER = new InjectionToken('METADATA_GATHERER');
/**
* Token used for obtaining 'GridPluginInstances'
*/
export const GRID_PLUGIN_INSTANCES = new InjectionToken('GRID_PLUGIN_INSTANCES');
/**
* Injection token for 'GridOptions'
*/
export const GRID_OPTIONS = new InjectionToken('GRID_OPTIONS');
/**
* Injection token for 'Paging' implementation
*/
export const PAGING_TYPE = new InjectionToken('PAGING_TYPE');
/**
* Injection token for 'Ordering' implementation
*/
export const ORDERING_TYPE = new InjectionToken('ORDERING');
/**
* Injection token for 'GridInitializer' implementation
*/
export const GRID_INITIALIZER_TYPE = new InjectionToken('GRID_INITIALIZER_TYPE');
/**
* Injection token for 'DataLoader' implementation
*/
export const DATA_LOADER_TYPE = new InjectionToken('DATA_LOADER_TYPE');
/**
* Injection token for 'ContentRenderer' implementation
*/
export const CONTENT_RENDERER_TYPE = new InjectionToken('CONTENT_RENDERER_TYPE');
/**
* Injection token for 'MetadataSelector' implementation
*/
export const METADATA_SELECTOR_TYPE = new InjectionToken('METADATA_SELECTOR_TYPE');
/**
* Injection token for 'NoDataRenderer' implementation
*/
export const NO_DATA_RENDERER_TYPE = new InjectionToken('NO_DATA_RENDERER_TYPE');
/**
* Injection token for 'RowSelector' implementation
*/
export const ROW_SELECTOR_TYPE = new InjectionToken('ROW_SELECTOR_TYPE');
/**
* Token for injecting options for content renderer
*/
export const CONTENT_RENDERER_OPTIONS = new InjectionToken('CONTENT_RENDERER_OPTIONS');
/**
* Token for injecting options for content body renderer
*/
export const BODY_CONTENT_RENDERER_OPTIONS = new InjectionToken('BODY_CONTENT_RENDERER_OPTIONS');
/**
* Token for injecting options for content header renderer
*/
export const HEADER_CONTENT_RENDERER_OPTIONS = new InjectionToken('HEADER_CONTENT_RENDERER_OPTIONS');
/**
* Token for injecting options for data loader
*/
export const DATA_LOADER_OPTIONS = new InjectionToken('DATA_LOADER_OPTIONS');
/**
* Token for injecting options for grid initializer
*/
export const GRID_INITIALIZER_OPTIONS = new InjectionToken('GRID_INITIALIZER_OPTIONS');
/**
* Token for injecting options for metadata selector
*/
export const METADATA_SELECTOR_OPTIONS = new InjectionToken('METADATA_SELECTOR_OPTIONS');
/**
* Token for injecting options for no data renderer
*/
export const NO_DATA_RENDERER_OPTIONS = new InjectionToken('NO_DATA_RENDERER_OPTIONS');
/**
* Token for injecting options for paging
*/
export const PAGING_OPTIONS = new InjectionToken('PAGING_OPTIONS');
/**
* Token for injecting options for ordering
*/
export const ORDERING_OPTIONS = new InjectionToken('ORDERING_OPTIONS');
/**
* Token for injecting options for row selector
*/
export const ROW_SELECTOR_OPTIONS = new InjectionToken('ROW_SELECTOR_OPTIONS');
/**
* Token for injecting default matrix column width
*/
export const DEFAULT_MATRIX_COLUMN_WIDTH = new InjectionToken('DEFAULT_MATRIX_COLUMN_WIDTH', { providedIn: 'root', factory: () => '1fr' });
//# sourceMappingURL=tokens.js.map