"use strict";

exports.__esModule = true;
exports.LineLabel = exports.Label = exports.ReadOnly = exports.ReadOnlyBlock = exports.CenterWrapper = void 0;

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

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _Text = _interopRequireDefault(require("../../Text"));

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

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var CenterWrapper = _styledComponents.default.div.withConfig({
  displayName: "ReadOnly__CenterWrapper",
  componentId: "sc-48v13b-0"
})(["min-height:30px;display:flex;align-items:center;"]);

exports.CenterWrapper = CenterWrapper;

var ReadOnlyBlock = _styledComponents.default.p.withConfig({
  displayName: "ReadOnly__ReadOnlyBlock",
  componentId: "sc-48v13b-1"
})(["margin:0;"]);

exports.ReadOnlyBlock = ReadOnlyBlock;

var ReadOnly = function ReadOnly(_ref) {
  var value = _ref.value;
  return /*#__PURE__*/_react.default.createElement(CenterWrapper, null, /*#__PURE__*/_react.default.createElement(ReadOnlyBlock, null, /*#__PURE__*/_react.default.createElement(_Text.default, {
    message: value
  })));
};

exports.ReadOnly = ReadOnly;

var Label = _styledComponents.default.p.withConfig({
  displayName: "ReadOnly__Label",
  componentId: "sc-48v13b-2"
})(["margin:0;font-size:16px;"]);

exports.Label = Label;

var LineLabel = function LineLabel(_ref2) {
  var value = _ref2.value;
  return /*#__PURE__*/_react.default.createElement(CenterWrapper, null, /*#__PURE__*/_react.default.createElement(Label, null, /*#__PURE__*/_react.default.createElement(_Text.default, {
    message: value
  })));
};

exports.LineLabel = LineLabel;
;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(CenterWrapper, "CenterWrapper", "/home/vsts/work/1/s/src/components/Form/Inputs/ReadOnly.js");
  reactHotLoader.register(ReadOnlyBlock, "ReadOnlyBlock", "/home/vsts/work/1/s/src/components/Form/Inputs/ReadOnly.js");
  reactHotLoader.register(ReadOnly, "ReadOnly", "/home/vsts/work/1/s/src/components/Form/Inputs/ReadOnly.js");
  reactHotLoader.register(Label, "Label", "/home/vsts/work/1/s/src/components/Form/Inputs/ReadOnly.js");
  reactHotLoader.register(LineLabel, "LineLabel", "/home/vsts/work/1/s/src/components/Form/Inputs/ReadOnly.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();

;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(CenterWrapper, "CenterWrapper", "/home/vsts/work/1/s/src/components/Form/Inputs/ReadOnly.js");
  reactHotLoader.register(ReadOnlyBlock, "ReadOnlyBlock", "/home/vsts/work/1/s/src/components/Form/Inputs/ReadOnly.js");
  reactHotLoader.register(ReadOnly, "ReadOnly", "/home/vsts/work/1/s/src/components/Form/Inputs/ReadOnly.js");
  reactHotLoader.register(Label, "Label", "/home/vsts/work/1/s/src/components/Form/Inputs/ReadOnly.js");
  reactHotLoader.register(LineLabel, "LineLabel", "/home/vsts/work/1/s/src/components/Form/Inputs/ReadOnly.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();