dmn-js-decision-table
Version:
A decision table view for dmn-js
15 lines • 457 B
JavaScript
import DecisionRulesCellEditorComponent from './components/DecisionRulesCellEditorComponent';
const HIGH_PRIORITY = 1500;
export default class RulesEditor {
constructor(components) {
components.onGetComponent('cell', HIGH_PRIORITY, ({
cellType
}) => {
if (cellType === 'rule') {
return DecisionRulesCellEditorComponent;
}
});
}
}
RulesEditor.$inject = ['components'];
//# sourceMappingURL=DecisionRulesEditor.js.map