catchup-library-web 1.2.6 → 1.2.7
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
|
@@ -2699,6 +2699,7 @@ var constructActivityItemListMaterialOnly = (materialMap, type) => {
|
|
|
2699
2699
|
text: `${i18n_default.t("correct_blanks")}: `
|
|
2700
2700
|
});
|
|
2701
2701
|
Object.keys(materialMap).forEach((key, index) => {
|
|
2702
|
+
console.log(materialMap[key]);
|
|
2702
2703
|
itemList.push({
|
|
2703
2704
|
type: "text",
|
|
2704
2705
|
text: `${index + 1}. ${Object.keys(materialMap[key])[0]}`
|
|
@@ -2766,9 +2767,6 @@ var constructActivityItemListMaterialOnly = (materialMap, type) => {
|
|
|
2766
2767
|
});
|
|
2767
2768
|
const groupName = key;
|
|
2768
2769
|
let currentText = "";
|
|
2769
|
-
console.log("group name: ", groupName);
|
|
2770
|
-
console.log("material map: ", materialMap);
|
|
2771
|
-
console.log("material map group name: ", materialMap[groupName]);
|
|
2772
2770
|
JSON.parse(materialMap[groupName]).forEach((item) => {
|
|
2773
2771
|
currentText += `${item}, `;
|
|
2774
2772
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -2519,6 +2519,7 @@ var constructActivityItemListMaterialOnly = (materialMap, type) => {
|
|
|
2519
2519
|
text: `${i18n_default.t("correct_blanks")}: `
|
|
2520
2520
|
});
|
|
2521
2521
|
Object.keys(materialMap).forEach((key, index) => {
|
|
2522
|
+
console.log(materialMap[key]);
|
|
2522
2523
|
itemList.push({
|
|
2523
2524
|
type: "text",
|
|
2524
2525
|
text: `${index + 1}. ${Object.keys(materialMap[key])[0]}`
|
|
@@ -2586,9 +2587,6 @@ var constructActivityItemListMaterialOnly = (materialMap, type) => {
|
|
|
2586
2587
|
});
|
|
2587
2588
|
const groupName = key;
|
|
2588
2589
|
let currentText = "";
|
|
2589
|
-
console.log("group name: ", groupName);
|
|
2590
|
-
console.log("material map: ", materialMap);
|
|
2591
|
-
console.log("material map group name: ", materialMap[groupName]);
|
|
2592
2590
|
JSON.parse(materialMap[groupName]).forEach((item) => {
|
|
2593
2591
|
currentText += `${item}, `;
|
|
2594
2592
|
});
|
package/package.json
CHANGED
|
@@ -2012,6 +2012,7 @@ export const constructActivityItemListMaterialOnly = (
|
|
|
2012
2012
|
text: `${i18n.t("correct_blanks")}: `,
|
|
2013
2013
|
});
|
|
2014
2014
|
Object.keys(materialMap).forEach((key, index) => {
|
|
2015
|
+
console.log(materialMap[key]);
|
|
2015
2016
|
itemList.push({
|
|
2016
2017
|
type: "text",
|
|
2017
2018
|
text: `${index + 1}. ${Object.keys(materialMap[key])[0]}`,
|
|
@@ -2080,9 +2081,6 @@ export const constructActivityItemListMaterialOnly = (
|
|
|
2080
2081
|
|
|
2081
2082
|
const groupName = key;
|
|
2082
2083
|
let currentText = "";
|
|
2083
|
-
console.log("group name: ", groupName);
|
|
2084
|
-
console.log("material map: ", materialMap);
|
|
2085
|
-
console.log("material map group name: ", materialMap[groupName]);
|
|
2086
2084
|
JSON.parse(materialMap[groupName]).forEach((item: string) => {
|
|
2087
2085
|
currentText += `${item}, `;
|
|
2088
2086
|
});
|