Liferay.Loader.define("layout-content-page-editor-web@2.0.123/page_editor/plugins/mapping/components/MappingSidebar", ['module', 'exports', 'require', '@frontend-taglib-clay$clayui/link', 'frontend-js-react-web$react', '../../../app/config/index', '../../../common/components/SidebarPanelContent', '../../../common/components/SidebarPanelHeader'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = MappingSidebar;

    var _link = _interopRequireDefault(require("@frontend-taglib-clay$clayui/link"));

    var _react = _interopRequireDefault(require("frontend-js-react-web$react"));

    var _index = require("../../../app/config/index");

    var _SidebarPanelContent = _interopRequireDefault(require("../../../common/components/SidebarPanelContent"));

    var _SidebarPanelHeader = _interopRequireDefault(require("../../../common/components/SidebarPanelHeader"));

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

    /**
     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
     *
     * This library is free software; you can redistribute it and/or modify it under
     * the terms of the GNU Lesser General Public License as published by the Free
     * Software Foundation; either version 2.1 of the License, or (at your option)
     * any later version.
     *
     * This library is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
     * details.
     */
    function MappingSidebar() {
      return (/*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_SidebarPanelHeader.default, null, Liferay.Language.get('mapping')), /*#__PURE__*/_react.default.createElement(_SidebarPanelContent.default, null, /*#__PURE__*/_react.default.createElement("p", {
          className: "mb-4 small text-secondary"
        }, _index.config.selectedMappingTypes.mappingDescription), /*#__PURE__*/_react.default.createElement("div", {
          className: "d-flex flex-column mb-4"
        }, /*#__PURE__*/_react.default.createElement("p", {
          className: "list-group-title"
        }, _index.config.selectedMappingTypes.type.groupTypeTitle, ":"), /*#__PURE__*/_react.default.createElement("p", {
          className: "mb-0 small"
        }, _index.config.selectedMappingTypes.type.label)), _index.config.selectedMappingTypes.subtype && _index.config.selectedMappingTypes.subtype.label && /*#__PURE__*/_react.default.createElement("div", {
          className: "d-flex flex-column mb-4"
        }, /*#__PURE__*/_react.default.createElement("p", {
          className: "list-group-title"
        }, _index.config.selectedMappingTypes.subtype.groupSubtypeTitle, ":"), /*#__PURE__*/_react.default.createElement("p", {
          className: "mb-0 small"
        }, _index.config.selectedMappingTypes.subtype.url ? /*#__PURE__*/_react.default.createElement(_link.default, {
          href: _index.config.selectedMappingTypes.subtype.url,
          target: "_parent"
        }, _index.config.selectedMappingTypes.subtype.label) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, _index.config.selectedMappingTypes.subtype.label))), _index.config.selectedMappingTypes.itemType && _index.config.selectedMappingTypes.itemType.label && /*#__PURE__*/_react.default.createElement("div", {
          className: "d-flex flex-column"
        }, /*#__PURE__*/_react.default.createElement("p", {
          className: "list-group-title"
        }, _index.config.selectedMappingTypes.itemType.groupItemTypeTitle, ":"), /*#__PURE__*/_react.default.createElement("p", {
          className: "small"
        }, _index.config.selectedMappingTypes.itemType.label))))
      );
    }
    //# sourceMappingURL=MappingSidebar.js.map
  }
});
//# sourceMappingURL=MappingSidebar.js.map