analytica-frontend-lib 1.1.65 → 1.1.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4754,10 +4754,36 @@ var CardStatus = forwardRef10(
4754
4754
  return "Incorreta";
4755
4755
  case "unanswered":
4756
4756
  return "Em branco";
4757
+ case "pending":
4758
+ return "Avalia\xE7\xE3o pendente";
4757
4759
  default:
4758
4760
  return "Em branco";
4759
4761
  }
4760
4762
  };
4763
+ const getIconBadge = (status2) => {
4764
+ switch (status2) {
4765
+ case "correct":
4766
+ return /* @__PURE__ */ jsx20(CheckCircle4, {});
4767
+ case "incorrect":
4768
+ return /* @__PURE__ */ jsx20(XCircle4, {});
4769
+ case "pending":
4770
+ return /* @__PURE__ */ jsx20(Clock, {});
4771
+ default:
4772
+ return /* @__PURE__ */ jsx20(XCircle4, {});
4773
+ }
4774
+ };
4775
+ const getActionBadge = (status2) => {
4776
+ switch (status2) {
4777
+ case "correct":
4778
+ return "success";
4779
+ case "incorrect":
4780
+ return "error";
4781
+ case "pending":
4782
+ return "info";
4783
+ default:
4784
+ return "info";
4785
+ }
4786
+ };
4761
4787
  return /* @__PURE__ */ jsx20(
4762
4788
  CardBase,
4763
4789
  {
@@ -4773,10 +4799,10 @@ var CardStatus = forwardRef10(
4773
4799
  status && /* @__PURE__ */ jsx20(
4774
4800
  Badge_default,
4775
4801
  {
4776
- action: status == "correct" ? "success" : "error",
4802
+ action: getActionBadge(status),
4777
4803
  variant: "solid",
4778
4804
  size: "medium",
4779
- iconLeft: status == "correct" ? /* @__PURE__ */ jsx20(CheckCircle4, {}) : /* @__PURE__ */ jsx20(XCircle4, {}),
4805
+ iconLeft: getIconBadge(status),
4780
4806
  children: getLabelBadge(status)
4781
4807
  }
4782
4808
  ),
@@ -5623,7 +5649,7 @@ var QuizContent = forwardRef11(({ paddingBottom }) => {
5623
5649
  const currentQuestion = getCurrentQuestion();
5624
5650
  const questionComponents = {
5625
5651
  ["ALTERNATIVA" /* ALTERNATIVA */]: QuizAlternative,
5626
- ["MULTIPLA_CHOICE" /* MULTIPLA_CHOICE */]: QuizMultipleChoice,
5652
+ ["MULTIPLA_ESCOLHA" /* MULTIPLA_ESCOLHA */]: QuizMultipleChoice,
5627
5653
  ["DISSERTATIVA" /* DISSERTATIVA */]: QuizDissertative,
5628
5654
  ["VERDADEIRO_FALSO" /* VERDADEIRO_FALSO */]: QuizTrueOrFalse,
5629
5655
  ["LIGAR_PONTOS" /* LIGAR_PONTOS */]: QuizConnectDots,