UNPKG

dmn-js-decision-table-custom-z

Version:

A decision table view for dmn-js

19 lines (14 loc) 692 B
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } import DecisionRuleIndexCellComponent from './components/DecisionRuleIndexCellComponent'; var DecisionRuleIndices = function DecisionRuleIndices(components) { _classCallCheck(this, DecisionRuleIndices); components.onGetComponent('cell', function (_ref) { var cellType = _ref.cellType; if (cellType === 'before-rule-cells') { return DecisionRuleIndexCellComponent; } }); }; export { DecisionRuleIndices as default }; DecisionRuleIndices.$inject = ['components']; //# sourceMappingURL=DecisionRuleIndices.js.map