"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.createModalService = createModalService;
function createModalService(eventBus) {
  return {
    show: options => {
      eventBus.emit("show", options);
    },
    hide: options => {
      eventBus.emit("hide", options);
    },
    hideAll: () => {
      eventBus.emit("hideAll", {});
    }
  };
}