import {CategorizationController} from '../../../src/components/renderers/layouts/categories/categorization.directive'; import {Testers, uiTypeIs, optionIs} from '../../../src/components/renderers/testers'; class CategorizationExpandbarDirective implements ng.IDirective { restrict = 'E'; template = `
`; controller = CategorizationController; controllerAs = 'vm'; } export default angular .module('jsonforms-bootstrap.renderers.layouts.categories.expandbar', ['jsonforms.renderers.layouts']) .directive('categorizationExpandbarElement', () => new CategorizationExpandbarDirective()) .run(['RendererService', RendererService => RendererService.register('categorization-expandbar-element', Testers.and(uiTypeIs('Categorization'), optionIs('expandbar', true)), 3) ]) .name;