UNPKG

dmn-js-decision-table-custom-z

Version:

A decision table view for dmn-js

15 lines (14 loc) 528 B
import AnnotationHeader from './components/AnnotationHeader'; import AnnotationCell from './components/AnnotationCell'; export default function AnnotationsProvider(components) { components.onGetComponent('cell', function (_ref) { var cellType = _ref.cellType; if (cellType === 'after-label-cells') { return AnnotationHeader; } else if (cellType === 'after-rule-cells') { return AnnotationCell; } }); } AnnotationsProvider.$inject = ['components']; //# sourceMappingURL=AnnotationsProvider.js.map