mirror of https://github.com/grafana/grafana.git
				
				
				
			
		
			
				
	
	
		
			14 lines
		
	
	
		
			444 B
		
	
	
	
		
			TypeScript
		
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			444 B
		
	
	
	
		
			TypeScript
		
	
	
	
| import { react2AngularDirective } from 'app/core/utils/react2angular';
 | |
| import { QueryEditor } from './components/QueryEditor';
 | |
| 
 | |
| export function registerAngularDirectives() {
 | |
|   react2AngularDirective('queryEditor', QueryEditor, [
 | |
|     'target',
 | |
|     'onQueryChange',
 | |
|     'onExecuteQuery',
 | |
|     ['uiSegmentSrv', { watchDepth: 'reference' }],
 | |
|     ['datasource', { watchDepth: 'reference' }],
 | |
|     ['templateSrv', { watchDepth: 'reference' }],
 | |
|   ]);
 | |
| }
 |