docs: function (type, message, title, isHtml) {
  
          if (!title) {
              title = message;
              message = undefined;
          }
  
          var messageContent = {
              title: title
          };
  
          if (isHtml) {
              var el = document.createElement('div');
              el.innerHTML = message;
  
              messageContent.content = el;
          } else {
              messageContent.text = message;
          }
  
          var opts = $.extend(
              {},
              abp.libs.sweetAlert.config['default'],
              abp.libs.sweetAlert.config[type],
              messageContent
          );
  
          return $.Deferred(function ($dfd) {
              sweetAlert(opts).then(function () {
                  $dfd.resolve();
              });
          });
      }