catchup-library-web 2.2.11 → 2.2.13
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/index.js
CHANGED
|
@@ -7052,7 +7052,7 @@ var TrueFalseActivityContent = ({
|
|
|
7052
7052
|
if (foundFalseIndex !== -1) {
|
|
7053
7053
|
answerMap2.falseList.splice(foundFalseIndex, 1);
|
|
7054
7054
|
}
|
|
7055
|
-
const foundTrueIndex = answerMap2.
|
|
7055
|
+
const foundTrueIndex = answerMap2.trueList.findIndex(
|
|
7056
7056
|
(item) => item === value
|
|
7057
7057
|
);
|
|
7058
7058
|
if (foundTrueIndex === -1) {
|
|
@@ -7427,7 +7427,7 @@ var ActivityPreviewByData = ({
|
|
|
7427
7427
|
if (!data) return null;
|
|
7428
7428
|
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { children: [
|
|
7429
7429
|
showType && optionList.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
|
|
7430
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "mb-
|
|
7430
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "mb-2", children: [
|
|
7431
7431
|
showDescription ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
|
|
7432
7432
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
7433
7433
|
SelectionBox_default,
|
|
@@ -7442,15 +7442,15 @@ var ActivityPreviewByData = ({
|
|
|
7442
7442
|
] }),
|
|
7443
7443
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DividerLine_default, {})
|
|
7444
7444
|
] }) : null,
|
|
7445
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-col
|
|
7446
|
-
selectedType && showSolution ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "
|
|
7445
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-col mb-2 w-full", children: RenderSelectedActivityContent() }),
|
|
7446
|
+
selectedType && showSolution ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "mb-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
7447
7447
|
ActivitySolutionContent_default,
|
|
7448
7448
|
{
|
|
7449
7449
|
activityTemplateType: selectedType,
|
|
7450
7450
|
data
|
|
7451
7451
|
}
|
|
7452
7452
|
) }) : null,
|
|
7453
|
-
selectedType && showEvaluationRubric ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "
|
|
7453
|
+
selectedType && showEvaluationRubric ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "mb-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
7454
7454
|
ActivityEvaluationRubricContent_default,
|
|
7455
7455
|
{
|
|
7456
7456
|
activityTemplateType: selectedType,
|
package/dist/index.mjs
CHANGED
|
@@ -6829,7 +6829,7 @@ var TrueFalseActivityContent = ({
|
|
|
6829
6829
|
if (foundFalseIndex !== -1) {
|
|
6830
6830
|
answerMap2.falseList.splice(foundFalseIndex, 1);
|
|
6831
6831
|
}
|
|
6832
|
-
const foundTrueIndex = answerMap2.
|
|
6832
|
+
const foundTrueIndex = answerMap2.trueList.findIndex(
|
|
6833
6833
|
(item) => item === value
|
|
6834
6834
|
);
|
|
6835
6835
|
if (foundTrueIndex === -1) {
|
|
@@ -7204,7 +7204,7 @@ var ActivityPreviewByData = ({
|
|
|
7204
7204
|
if (!data) return null;
|
|
7205
7205
|
return /* @__PURE__ */ jsxs36("div", { children: [
|
|
7206
7206
|
showType && optionList.length > 0 ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
|
|
7207
|
-
/* @__PURE__ */ jsxs36("div", { className: "mb-
|
|
7207
|
+
/* @__PURE__ */ jsxs36("div", { className: "mb-2", children: [
|
|
7208
7208
|
showDescription ? /* @__PURE__ */ jsx47("div", { className: "my-2", children: /* @__PURE__ */ jsx47("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
|
|
7209
7209
|
/* @__PURE__ */ jsx47(
|
|
7210
7210
|
SelectionBox_default,
|
|
@@ -7219,15 +7219,15 @@ var ActivityPreviewByData = ({
|
|
|
7219
7219
|
] }),
|
|
7220
7220
|
/* @__PURE__ */ jsx47(DividerLine_default, {})
|
|
7221
7221
|
] }) : null,
|
|
7222
|
-
/* @__PURE__ */ jsx47("div", { className: "flex flex-col
|
|
7223
|
-
selectedType && showSolution ? /* @__PURE__ */ jsx47("div", { className: "
|
|
7222
|
+
/* @__PURE__ */ jsx47("div", { className: "flex flex-col mb-2 w-full", children: RenderSelectedActivityContent() }),
|
|
7223
|
+
selectedType && showSolution ? /* @__PURE__ */ jsx47("div", { className: "mb-2", children: /* @__PURE__ */ jsx47(
|
|
7224
7224
|
ActivitySolutionContent_default,
|
|
7225
7225
|
{
|
|
7226
7226
|
activityTemplateType: selectedType,
|
|
7227
7227
|
data
|
|
7228
7228
|
}
|
|
7229
7229
|
) }) : null,
|
|
7230
|
-
selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx47("div", { className: "
|
|
7230
|
+
selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx47("div", { className: "mb-2", children: /* @__PURE__ */ jsx47(
|
|
7231
7231
|
ActivityEvaluationRubricContent_default,
|
|
7232
7232
|
{
|
|
7233
7233
|
activityTemplateType: selectedType,
|
package/package.json
CHANGED
|
@@ -219,7 +219,7 @@ const ActivityPreviewByData = ({
|
|
|
219
219
|
<div>
|
|
220
220
|
{showType && optionList.length > 0 ? (
|
|
221
221
|
<>
|
|
222
|
-
<div className="mb-
|
|
222
|
+
<div className="mb-2">
|
|
223
223
|
{showDescription ? (
|
|
224
224
|
<div className="my-2">
|
|
225
225
|
<p className="font-semibold text-lg">
|
|
@@ -240,12 +240,12 @@ const ActivityPreviewByData = ({
|
|
|
240
240
|
</>
|
|
241
241
|
) : null}
|
|
242
242
|
|
|
243
|
-
<div className="flex flex-col
|
|
243
|
+
<div className="flex flex-col mb-2 w-full">
|
|
244
244
|
{RenderSelectedActivityContent()}
|
|
245
245
|
</div>
|
|
246
246
|
|
|
247
247
|
{selectedType && showSolution ? (
|
|
248
|
-
<div className="
|
|
248
|
+
<div className="mb-2">
|
|
249
249
|
<ActivitySolutionContent
|
|
250
250
|
activityTemplateType={selectedType}
|
|
251
251
|
data={data}
|
|
@@ -254,7 +254,7 @@ const ActivityPreviewByData = ({
|
|
|
254
254
|
) : null}
|
|
255
255
|
|
|
256
256
|
{selectedType && showEvaluationRubric ? (
|
|
257
|
-
<div className="
|
|
257
|
+
<div className="mb-2">
|
|
258
258
|
<ActivityEvaluationRubricContent
|
|
259
259
|
activityTemplateType={selectedType}
|
|
260
260
|
data={data}
|
|
@@ -35,7 +35,7 @@ const TrueFalseActivityContent = ({
|
|
|
35
35
|
if (foundFalseIndex !== -1) {
|
|
36
36
|
answerMap.falseList.splice(foundFalseIndex, 1);
|
|
37
37
|
}
|
|
38
|
-
const foundTrueIndex = answerMap.
|
|
38
|
+
const foundTrueIndex = answerMap.trueList.findIndex(
|
|
39
39
|
(item: string) => item === value
|
|
40
40
|
);
|
|
41
41
|
if (foundTrueIndex === -1) {
|