UNPKG

dmn-js-decision-table-custom-z

Version:

A decision table view for dmn-js

21 lines (16 loc) 797 B
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } import TypeRefCellContextMenu from './components/TypeRefCellContextMenu'; var LOW_PRIORITY = 750; var TypeRef = function TypeRef(components) { _classCallCheck(this, TypeRef); components.onGetComponent('context-menu', LOW_PRIORITY, function () { var context = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var contextMenuType = context.contextMenuType; if (contextMenuType === 'input-edit' || contextMenuType === 'output-edit') { return TypeRefCellContextMenu; } }); }; export { TypeRef as default }; TypeRef.$inject = ['components']; //# sourceMappingURL=TypeRefEditingProvider.js.map