"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _tslib = require("tslib");

var _react = _interopRequireDefault(require("react"));

var _reactDom = _interopRequireDefault(require("react-dom"));

var _dialog = _interopRequireDefault(require("./dialog"));

var _alert = _interopRequireDefault(require("./alert"));

var _confirm = _interopRequireDefault(require("./confirm"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var Dialog = function Dialog(props, esModule) {
  if (esModule) {
    return /*#__PURE__*/_react["default"].createElement(_dialog["default"], (0, _tslib.__assign)({}, props));
  }

  return _reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_dialog["default"], (0, _tslib.__assign)({}, props, {
    isQuick: true
  })), document.createElement('div'));
};

Dialog.LPAlert = function (props, esModule) {
  if (esModule) {
    return /*#__PURE__*/_react["default"].createElement(_alert["default"], (0, _tslib.__assign)({}, props));
  }

  return _reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_alert["default"], (0, _tslib.__assign)({}, props, {
    isQuick: true
  })), document.createElement('div'));
};

Dialog.LPConfirm = function (props, esModule) {
  if (esModule) {
    return /*#__PURE__*/_react["default"].createElement(_confirm["default"], (0, _tslib.__assign)({}, props));
  }

  return _reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_confirm["default"], (0, _tslib.__assign)({}, props, {
    isQuick: true
  })), document.createElement('div'));
};

var _default = Dialog;
exports["default"] = _default;