"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const designSystem = require("@strapi/design-system");
const helperPlugin = require("@strapi/helper-plugin");
const PropTypes = require("prop-types");
const constants = require("./constants-85da8cc4.js");
const colors = require("./colors-c24a54f0.js");
const reactIntl = require("react-intl");
require("lodash/cloneDeep");
require("lodash/get");
require("lodash/omit");
require("lodash/isNaN");
require("./schema-34663b27.js");
require("lodash/merge");
require("lodash/set");
const index = require("./index-3e77a6ab.js");
require("react");
require("react-dnd");
require("@reduxjs/toolkit");
require("./index-3649838b.js");
require("react-dom/client");
require("invariant");
require("lodash/isFunction");
require("lodash/pick");
require("react-helmet");
require("react-router-dom");
require("react-redux");
require("@radix-ui/react-context");
require("@strapi/design-system/v2");
require("@strapi/icons");
require("formik");
require("lodash/camelCase");
require("react-query");
require("styled-components");
require("yup");
require("lodash/defaultsDeep");
require("qs");
require("immer");
require("lodash/isBoolean");
require("lodash/isEmpty");
require("lodash/toNumber");
require("lodash/sortBy");
require("./DragLayer-f07eee6c.js");
require("./AuthenticatedApp-bb793364.js");
require("semver/functions/lt");
require("semver/functions/valid");
require("react-dnd-html5-backend");
require("react-error-boundary");
require("axios");
require("lodash/isObject");
require("lodash/isEqual");
require("lodash/upperFirst");
require("lodash/size");
require("lodash/take");
require("slate");
require("slate-history");
require("slate-react");
require("@radix-ui/react-toolbar");
require("./useDebounce-4712871e.js");
require("react-window");
require("codemirror5");
require("highlight.js");
require("markdown-it");
require("markdown-it-abbr");
require("markdown-it-container");
require("markdown-it-deflist");
require("markdown-it-emoji");
require("markdown-it-footnote");
require("markdown-it-ins");
require("markdown-it-mark");
require("markdown-it-sub");
require("markdown-it-sup");
require("sanitize-html");
require("codemirror5/addon/display/placeholder");
require("lodash/toLower");
require("lodash/toString");
require("react-dom");
require("fractional-indexing");
require("lodash/uniqBy");
require("lodash/unset");
require("lodash/isArray");
require("lodash/flatMap");
require("lodash/uniq");
require("./useAdminUsers-05d6b26a.js");
require("./formatAPIErrors-b599cf27.js");
require("date-fns/parseISO");
require("lodash/isNumber");
require("lodash/groupBy");
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
const PropTypes__default = /* @__PURE__ */ _interopDefault(PropTypes);
function ReviewWorkflowsStageEE({ color, name }) {
  const { themeColorName } = colors.getStageColorByHex(color);
  return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, maxWidth: helperPlugin.pxToRem(300), children: [
    /* @__PURE__ */ jsxRuntime.jsx(
      designSystem.Box,
      {
        height: 2,
        background: color,
        borderColor: themeColorName === "neutral0" ? "neutral150" : "transparent",
        hasRadius: true,
        shrink: 0,
        width: 2
      }
    ),
    /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "regular", textColor: "neutral700", ellipsis: true, children: name })
  ] });
}
ReviewWorkflowsStageEE.defaultProps = {
  color: constants.STAGE_COLOR_DEFAULT
};
ReviewWorkflowsStageEE.propTypes = {
  color: PropTypes__default.default.string,
  name: PropTypes__default.default.string.isRequired
};
function ReviewWorkflowsAssigneeEE({ user }) {
  const { formatMessage } = reactIntl.useIntl();
  return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral800", children: index.getDisplayName(user, formatMessage) });
}
ReviewWorkflowsAssigneeEE.propTypes = {
  user: PropTypes__default.default.shape({
    firstname: PropTypes__default.default.string,
    lastname: PropTypes__default.default.string,
    username: PropTypes__default.default.string
  }).isRequired
};
exports.ReviewWorkflowsAssigneeEE = ReviewWorkflowsAssigneeEE;
exports.ReviewWorkflowsStageEE = ReviewWorkflowsStageEE;
//# sourceMappingURL=index-6ada99ce.js.map
