import { once } from 'lodash' ; import { uiModules } from 'ui/modules' ; import 'ui/directives/inequality' ; import { ExtendedMetricVisParams } from '../components/extended_metric_vis_params' ; internal export const initMetricVisLegacyModule = once ( ( ) : void => { uiModules . get ( 'kibana/extended_metric_vis' , [ 'kibana' ] ) . directive ( 'extendedMetricVisParams' , ExtendedMetricVisParams ) ; } ) ;