function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }

import React from "react";
import { Button, Message, Icon, Image } from "semantic-ui-react"; //------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------

var V = "1.0.0"; //------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------

var Mensajes = /*#__PURE__*/function () {
  //-----------------------------------------------------------------
  function Mensajes() {
    _classCallCheck(this, Mensajes);

    console.log("--------------------------");
    console.log("Mensajes.constructor()");
    console.log("--------------------------");
  } //-----------------------------------------------------------------


  _createClass(Mensajes, null, [{
    key: "version",
    value: function version() {
      console.log("Mensajes V." + V);
    } //-----------------------------------------------------------------

  }, {
    key: "sinPermisoPara",
    value: function sinPermisoPara(que) {
      return /*#__PURE__*/React.createElement(Message, {
        icon: true,
        negative: true
      }, /*#__PURE__*/React.createElement(Icon, {
        name: "ban notched",
        loading: true
      }), /*#__PURE__*/React.createElement(Message.Content, null, /*#__PURE__*/React.createElement(Message.Header, null, "Usuario Sin Permiso"), /*#__PURE__*/React.createElement("p", null, "Su usuario no tiene los permisos necesarios para ", /*#__PURE__*/React.createElement("b", null, que)), /*#__PURE__*/React.createElement("p", null, "Debe avisar a la empresa, si necesita hacerlo...")));
    } //-----------------------------------------------------------------

  }, {
    key: "emailNoValidado",
    value: function emailNoValidado(email) {
      return /*#__PURE__*/React.createElement(Message, {
        icon: true,
        negative: true
      }, /*#__PURE__*/React.createElement(Icon, {
        name: "mail outline notched",
        loading: true
      }), /*#__PURE__*/React.createElement(Message.Content, null, /*#__PURE__*/React.createElement(Message.Header, null, "E-Mail no validado"), /*#__PURE__*/React.createElement("p", null, "Debe ingresar a su cuenta de correo, y hacer un click en el enlace enviado por el sistema, para validar su direcci\xF3n de correo electr\xF3nico: ", /*#__PURE__*/React.createElement("b", null, email), ".")));
    } //-----------------------------------------------------------------

  }, {
    key: "usuarioNoLogueado",
    value: function usuarioNoLogueado(children) {
      return /*#__PURE__*/React.createElement(Message, {
        icon: true,
        color: "yellow"
      }, /*#__PURE__*/React.createElement(Icon, {
        name: "key notched",
        loading: true
      }), /*#__PURE__*/React.createElement(Message.Content, null, /*#__PURE__*/React.createElement(Message.Header, null, "Usuario no logueado"), /*#__PURE__*/React.createElement("p", null, "Debe ingresar al sistema para poder trabajar..."), children));
    } //-----------------------------------------------------------------

  }, {
    key: "usuarioNuevo",
    value: function usuarioNuevo() {
      return /*#__PURE__*/React.createElement(Message, {
        icon: true,
        color: "orange"
      }, /*#__PURE__*/React.createElement(Icon, {
        name: "lock notched",
        loading: true
      }), /*#__PURE__*/React.createElement(Message.Content, null, /*#__PURE__*/React.createElement(Message.Header, null, "Usuario Nuevo"), /*#__PURE__*/React.createElement("p", null, "Debe avisar a la empresa, para que le asignen permisos a su usuario...")));
    } //-----------------------------------------------------------------

  }, {
    key: "esperandoRolDeUsuario",
    value: function esperandoRolDeUsuario() {
      return /*#__PURE__*/React.createElement(Message, {
        icon: true,
        color: "orange"
      }, /*#__PURE__*/React.createElement(Icon, {
        name: "key notched",
        loading: true
      }), /*#__PURE__*/React.createElement(Message.Content, null, /*#__PURE__*/React.createElement(Message.Header, null, "Rol de Usuario"), /*#__PURE__*/React.createElement("p", null, "Obteniendo roles del usuario...")));
    } //-----------------------------------------------------------------

  }, {
    key: "sinEmpresa",
    value: function sinEmpresa() {
      return /*#__PURE__*/React.createElement(Message, {
        icon: true,
        color: "orange"
      }, /*#__PURE__*/React.createElement(Icon, {
        name: "university",
        loading: true
      }), /*#__PURE__*/React.createElement(Message.Content, null, /*#__PURE__*/React.createElement(Message.Header, null, "Empresa no identificada"), /*#__PURE__*/React.createElement("p", null, "Debe ingresar al sistema, desde el link que le ha facilitado su", " ", /*#__PURE__*/React.createElement("b", null, "Empresa Distribuidora"), ".")));
    } //-----------------------------------------------------------------
    //-----------------------------------------------------------------
    //-----------------------------------------------------------------
    //-----------------------------------------------------------------
    //-----------------------------------------------------------------
    //-----------------------------------------------------------------
    //-----------------------------------------------------------------

  }]);

  return Mensajes;
}(); //-----------------------------------------------------------------


export { Mensajes as default };