analytica-frontend-lib 1.1.74 → 1.1.76
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.
- package/dist/Accordation/index.js +2 -1
- package/dist/Accordation/index.js.map +1 -1
- package/dist/Accordation/index.mjs +2 -1
- package/dist/Accordation/index.mjs.map +1 -1
- package/dist/Card/index.d.mts +1 -0
- package/dist/Card/index.d.ts +1 -0
- package/dist/Card/index.js +2 -1
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs +2 -1
- package/dist/Card/index.mjs.map +1 -1
- package/dist/Quiz/index.d.mts +2 -2
- package/dist/Quiz/index.d.ts +2 -2
- package/dist/Quiz/index.js +4 -3
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +4 -3
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4881,6 +4881,7 @@ var CardQuestions = (0, import_react17.forwardRef)(
|
|
|
4881
4881
|
className,
|
|
4882
4882
|
onClickButton,
|
|
4883
4883
|
valueButton,
|
|
4884
|
+
label = "00",
|
|
4884
4885
|
...props
|
|
4885
4886
|
}, ref) => {
|
|
4886
4887
|
const isDone = state === "done";
|
|
@@ -4910,7 +4911,7 @@ var CardQuestions = (0, import_react17.forwardRef)(
|
|
|
4910
4911
|
),
|
|
4911
4912
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
|
|
4912
4913
|
isDone ? "Nota" : "Sem nota",
|
|
4913
|
-
isDone && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Badge_default, { size: "medium", action: "success", children:
|
|
4914
|
+
isDone && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Badge_default, { size: "medium", action: "success", children: label })
|
|
4914
4915
|
] })
|
|
4915
4916
|
] })
|
|
4916
4917
|
] }),
|
|
@@ -10394,7 +10395,7 @@ var QuizHeader = () => {
|
|
|
10394
10395
|
}
|
|
10395
10396
|
);
|
|
10396
10397
|
};
|
|
10397
|
-
var QuizContent = (
|
|
10398
|
+
var QuizContent = ({ paddingBottom }) => {
|
|
10398
10399
|
const { getCurrentQuestion } = useQuizStore();
|
|
10399
10400
|
const currentQuestion = getCurrentQuestion();
|
|
10400
10401
|
const questionComponents = {
|
|
@@ -10408,7 +10409,7 @@ var QuizContent = (0, import_react32.forwardRef)(({ paddingBottom }) => {
|
|
|
10408
10409
|
};
|
|
10409
10410
|
const QuestionComponent = currentQuestion ? questionComponents[currentQuestion.questionType] : null;
|
|
10410
10411
|
return QuestionComponent ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(QuestionComponent, { paddingBottom }) : null;
|
|
10411
|
-
}
|
|
10412
|
+
};
|
|
10412
10413
|
var QuizQuestionList = ({
|
|
10413
10414
|
filterType = "all",
|
|
10414
10415
|
onQuestionClick
|
|
@@ -10907,6 +10908,8 @@ var QuizHeaderResult = (0, import_react33.forwardRef)(
|
|
|
10907
10908
|
return "bg-success-background";
|
|
10908
10909
|
case "RESPOSTA_INCORRETA" /* RESPOSTA_INCORRETA */:
|
|
10909
10910
|
return "bg-error-background";
|
|
10911
|
+
case "PENDENTE_AVALIACAO" /* PENDENTE_AVALIACAO */:
|
|
10912
|
+
return "bg-info-background";
|
|
10910
10913
|
default:
|
|
10911
10914
|
return "bg-error-background";
|
|
10912
10915
|
}
|
|
@@ -10917,6 +10920,8 @@ var QuizHeaderResult = (0, import_react33.forwardRef)(
|
|
|
10917
10920
|
return "\u{1F389} Parab\xE9ns!!";
|
|
10918
10921
|
case "RESPOSTA_INCORRETA" /* RESPOSTA_INCORRETA */:
|
|
10919
10922
|
return "N\xE3o foi dessa vez...";
|
|
10923
|
+
case "PENDENTE_AVALIACAO" /* PENDENTE_AVALIACAO */:
|
|
10924
|
+
return "Avalia\xE7\xE3o pendente";
|
|
10920
10925
|
case "NAO_RESPONDIDO" /* NAO_RESPONDIDO */:
|
|
10921
10926
|
default:
|
|
10922
10927
|
return "N\xE3o foi dessa vez...voc\xEA deixou a resposta em branco";
|