catchup-library-web 1.13.1 → 1.14.0

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.mjs CHANGED
@@ -1104,63 +1104,6 @@ var retrieveDurationInSecondsOptionList = () => {
1104
1104
  { value: 45, text: `45 ${i18n_default.t("seconds")}` }
1105
1105
  ];
1106
1106
  };
1107
- var retrieveTaxonomyType = () => {
1108
- return [
1109
- {
1110
- value: "BLOOM",
1111
- text: i18n_default.t("BLOOM")
1112
- }
1113
- ];
1114
- };
1115
- var retrieveTaxonomyGroupName = () => {
1116
- return [
1117
- {
1118
- type: "BLOOM",
1119
- value: "BLOOM",
1120
- text: i18n_default.t("BLOOM")
1121
- }
1122
- ];
1123
- };
1124
- var retrieveTaxonomyName = () => {
1125
- return [
1126
- {
1127
- stage: 1,
1128
- groupName: "BLOOM",
1129
- value: "REMEMBER",
1130
- text: i18n_default.t("REMEMBER")
1131
- },
1132
- {
1133
- stage: 2,
1134
- groupName: "BLOOM",
1135
- value: "UNDERSTAND",
1136
- text: i18n_default.t("UNDERSTAND")
1137
- },
1138
- {
1139
- stage: 3,
1140
- groupName: "BLOOM",
1141
- value: "APPLY",
1142
- text: i18n_default.t("APPLY")
1143
- },
1144
- {
1145
- stage: 4,
1146
- groupName: "BLOOM",
1147
- value: "ANALYZE",
1148
- text: i18n_default.t("ANALYZE")
1149
- },
1150
- {
1151
- stage: 5,
1152
- groupName: "BLOOM",
1153
- value: "EVALUATE",
1154
- text: i18n_default.t("EVALUATE")
1155
- },
1156
- {
1157
- stage: 6,
1158
- groupName: "BLOOM",
1159
- value: "CREATE",
1160
- text: i18n_default.t("CREATE")
1161
- }
1162
- ];
1163
- };
1164
1107
  var constructInputWithSpecialExpressionList = (inputText) => {
1165
1108
  const inputPartList = [];
1166
1109
  if (!inputText) return [];
@@ -2254,45 +2197,45 @@ var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
2254
2197
  const { activityTemplateDTOList, data, coterieType, categoryIdList } = activity;
2255
2198
  const parsedData = JSON.parse(data);
2256
2199
  const {
2257
- orderingTaxonomyMap,
2258
- dropdownTaxonomyMap,
2259
- MCSATaxonomyMap,
2260
- MCMATaxonomyMap,
2261
- matchingTaxonomyMap,
2262
- groupingTaxonomyMap,
2263
- fillInTheBlanksTaxonomyMap,
2264
- openEndedTaxonomyMap,
2265
- trueFalseTaxonomyMap
2200
+ orderingDifficulty,
2201
+ dropdownDifficulty,
2202
+ MCSADifficulty,
2203
+ MCMADifficulty,
2204
+ matchingDifficulty,
2205
+ groupingDifficulty,
2206
+ fillInTheBlanksDifficulty,
2207
+ openEndedDifficulty,
2208
+ trueFalseDifficulty
2266
2209
  } = parsedData;
2267
- const taxonomyMap = {};
2268
- if (orderingTaxonomyMap) {
2269
- taxonomyMap["orderingTaxonomyMap"] = JSON.parse(orderingTaxonomyMap);
2210
+ const difficultyMap = {};
2211
+ if (orderingDifficulty) {
2212
+ difficultyMap["orderingDifficulty"] = JSON.parse(orderingDifficulty);
2270
2213
  }
2271
- if (dropdownTaxonomyMap) {
2272
- taxonomyMap["dropdownTaxonomyMap"] = JSON.parse(dropdownTaxonomyMap);
2214
+ if (dropdownDifficulty) {
2215
+ difficultyMap["dropdownDifficulty"] = JSON.parse(dropdownDifficulty);
2273
2216
  }
2274
- if (MCSATaxonomyMap) {
2275
- taxonomyMap["MCSATaxonomyMap"] = JSON.parse(MCSATaxonomyMap);
2217
+ if (MCSADifficulty) {
2218
+ difficultyMap["MCSADifficulty"] = JSON.parse(MCSADifficulty);
2276
2219
  }
2277
- if (MCMATaxonomyMap) {
2278
- taxonomyMap["MCMATaxonomyMap"] = JSON.parse(MCMATaxonomyMap);
2220
+ if (MCMADifficulty) {
2221
+ difficultyMap["MCMADifficulty"] = JSON.parse(MCMADifficulty);
2279
2222
  }
2280
- if (matchingTaxonomyMap) {
2281
- taxonomyMap["matchingTaxonomyMap"] = JSON.parse(matchingTaxonomyMap);
2223
+ if (matchingDifficulty) {
2224
+ difficultyMap["matchingDifficulty"] = JSON.parse(matchingDifficulty);
2282
2225
  }
2283
- if (groupingTaxonomyMap) {
2284
- taxonomyMap["groupingTaxonomyMap"] = JSON.parse(groupingTaxonomyMap);
2226
+ if (groupingDifficulty) {
2227
+ difficultyMap["groupingDifficulty"] = JSON.parse(groupingDifficulty);
2285
2228
  }
2286
- if (fillInTheBlanksTaxonomyMap) {
2287
- taxonomyMap["fillInTheBlanksTaxonomyMap"] = JSON.parse(
2288
- fillInTheBlanksTaxonomyMap
2229
+ if (fillInTheBlanksDifficulty) {
2230
+ difficultyMap["fillInTheBlanksDifficulty"] = JSON.parse(
2231
+ fillInTheBlanksDifficulty
2289
2232
  );
2290
2233
  }
2291
- if (trueFalseTaxonomyMap) {
2292
- taxonomyMap["trueFalseTaxonomyMap"] = JSON.parse(trueFalseTaxonomyMap);
2234
+ if (trueFalseDifficulty) {
2235
+ difficultyMap["trueFalseDifficulty"] = JSON.parse(trueFalseDifficulty);
2293
2236
  }
2294
- if (openEndedTaxonomyMap) {
2295
- taxonomyMap["openEndedTaxonomyMap"] = JSON.parse(openEndedTaxonomyMap);
2237
+ if (openEndedDifficulty) {
2238
+ difficultyMap["openEndedDifficulty"] = JSON.parse(openEndedDifficulty);
2296
2239
  }
2297
2240
  let coterieField = "VERBAL";
2298
2241
  if (coterieType === "MATHEMATICS" || coterieType === "BIOLOGY" || coterieType === "PHYSICS" || coterieType === "CHEMISTRY" || coterieType === "SCIENCE") {
@@ -2320,33 +2263,27 @@ var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
2320
2263
  const activityTemplateValueMap = {};
2321
2264
  for (const activityTemplateDTO of activityTemplateDTOList) {
2322
2265
  const { type } = activityTemplateDTO;
2323
- let currentTaxonomyMap;
2266
+ let currentDifficulty = "";
2324
2267
  if (type === "ORDERING") {
2325
- currentTaxonomyMap = taxonomyMap["orderingTaxonomyMap"];
2268
+ currentDifficulty = difficultyMap["orderingDifficulty"];
2326
2269
  } else if (type === "DROPDOWN") {
2327
- currentTaxonomyMap = taxonomyMap["dropdownTaxonomyMap"];
2270
+ currentDifficulty = difficultyMap["dropdownDifficulty"];
2328
2271
  } else if (type === "MCSA") {
2329
- currentTaxonomyMap = taxonomyMap["MCSATaxonomyMap"];
2272
+ currentDifficulty = difficultyMap["MCSADifficulty"];
2330
2273
  } else if (type === "MCMA") {
2331
- currentTaxonomyMap = taxonomyMap["MCMATaxonomyMap"];
2274
+ currentDifficulty = difficultyMap["MCMADifficulty"];
2332
2275
  } else if (type === "MATCHING") {
2333
- currentTaxonomyMap = taxonomyMap["matchingTaxonomyMap"];
2276
+ currentDifficulty = difficultyMap["matchingDifficulty"];
2334
2277
  } else if (type === "GROUPING") {
2335
- currentTaxonomyMap = taxonomyMap["groupingTaxonomyMap"];
2278
+ currentDifficulty = difficultyMap["groupingDifficulty"];
2336
2279
  } else if (type === "FILL_IN_THE_BLANKS") {
2337
- currentTaxonomyMap = taxonomyMap["fillInTheBlanksTaxonomyMap"];
2280
+ currentDifficulty = difficultyMap["fillInTheBlanksDifficulty"];
2338
2281
  } else if (type === "OPEN_ENDED") {
2339
- currentTaxonomyMap = taxonomyMap["openEndedTaxonomyMap"];
2282
+ currentDifficulty = difficultyMap["openEndedDifficulty"];
2340
2283
  } else if (type === "TRUE_FALSE") {
2341
- currentTaxonomyMap = taxonomyMap["trueFalseTaxonomyMap"];
2284
+ currentDifficulty = difficultyMap["trueFalseDifficulty"];
2342
2285
  }
2343
- const {
2344
- type: taxonomyType,
2345
- groupName: taxonomyGroupName,
2346
- name: taxonomyName
2347
- } = currentTaxonomyMap;
2348
- const taxonomyString = taxonomyType.toLowerCase() + taxonomyGroupName.toLowerCase().charAt(0).toUpperCase() + taxonomyGroupName.toLowerCase().substring(1) + taxonomyName.toLowerCase().charAt(0).toUpperCase() + taxonomyName.toLowerCase().substring(1);
2349
- const currentTaxonomyScore = foundModel[taxonomyString];
2286
+ const currentDifficultyScore = foundModel[currentDifficulty];
2350
2287
  const splittedTypeList = type.split("_");
2351
2288
  let activityTemplateString = "";
2352
2289
  for (let i = 0; i < splittedTypeList.length; i++) {
@@ -2358,7 +2295,7 @@ var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
2358
2295
  }
2359
2296
  }
2360
2297
  const currentActivityTemplateScore = foundModel[activityTemplateString];
2361
- const currentScore = currentTaxonomyScore * currentActivityTemplateScore;
2298
+ const currentScore = currentDifficultyScore * currentActivityTemplateScore;
2362
2299
  activityTemplateValueMap[type] = currentScore;
2363
2300
  if (currentScore < bestScore) {
2364
2301
  bestScore = currentScore;
@@ -3063,6 +3000,29 @@ var constructActivityItemListSolutionOnly = (solutionMap) => {
3063
3000
  });
3064
3001
  return itemList;
3065
3002
  };
3003
+ var retrieveDifficultyByActivityTypeFromData = (type, data) => {
3004
+ let difficulty = "";
3005
+ if (type === "ORDERING") {
3006
+ difficulty = data["orderingDifficulty"];
3007
+ } else if (type === "DROPDOWN") {
3008
+ difficulty = data["dropdownDifficulty"];
3009
+ } else if (type === "MCSA") {
3010
+ difficulty = data["MCSADifficulty"];
3011
+ } else if (type === "MCMA") {
3012
+ difficulty = data["MCMADifficulty"];
3013
+ } else if (type === "MATCHING") {
3014
+ difficulty = data["matchingDifficulty"];
3015
+ } else if (type === "GROUPING") {
3016
+ difficulty = data["groupingDifficulty"];
3017
+ } else if (type === "FILL_IN_THE_BLANKS") {
3018
+ difficulty = data["fillInTheBlanksDifficulty"];
3019
+ } else if (type === "OPEN_ENDED") {
3020
+ difficulty = data["openEndedDifficulty"];
3021
+ } else if (type === "TRUE_FALSE") {
3022
+ difficulty = data["trueFalseDifficulty"];
3023
+ }
3024
+ return difficulty;
3025
+ };
3066
3026
 
3067
3027
  // src/components/activities/body-content/ShowBodyMediaByContentType.tsx
3068
3028
  import { InlineMath } from "react-katex";
@@ -6633,7 +6593,7 @@ var ActivityPreviewByData = ({
6633
6593
  typeOptionList,
6634
6594
  showSolution,
6635
6595
  showEvaluationRubric,
6636
- showTaxonomy,
6596
+ showDifficulty,
6637
6597
  isFullScreen
6638
6598
  }) => {
6639
6599
  const [key, setKey] = useState23((/* @__PURE__ */ new Date()).getTime());
@@ -6659,31 +6619,6 @@ var ActivityPreviewByData = ({
6659
6619
  }
6660
6620
  }, [typeOptionList, lockedType]);
6661
6621
  useEffect14(() => {
6662
- const retrieveTaxonomyNameByActivityTypeFromData = (type) => {
6663
- let taxonomyMap = {
6664
- name: ""
6665
- };
6666
- if (type === "ORDERING") {
6667
- taxonomyMap = JSON.parse(data["orderingTaxonomyMap"]);
6668
- } else if (type === "DROPDOWN") {
6669
- taxonomyMap = JSON.parse(data["dropdownTaxonomyMap"]);
6670
- } else if (type === "MCSA") {
6671
- taxonomyMap = JSON.parse(data["MCSATaxonomyMap"]);
6672
- } else if (type === "MCMA") {
6673
- taxonomyMap = JSON.parse(data["MCMATaxonomyMap"]);
6674
- } else if (type === "MATCHING") {
6675
- taxonomyMap = JSON.parse(data["matchingTaxonomyMap"]);
6676
- } else if (type === "GROUPING") {
6677
- taxonomyMap = JSON.parse(data["groupingTaxonomyMap"]);
6678
- } else if (type === "FILL_IN_THE_BLANKS") {
6679
- taxonomyMap = JSON.parse(data["fillInTheBlanksTaxonomyMap"]);
6680
- } else if (type === "OPEN_ENDED") {
6681
- taxonomyMap = JSON.parse(data["openEndedTaxonomyMap"]);
6682
- } else if (type === "TRUE_FALSE") {
6683
- taxonomyMap = JSON.parse(data["trueFalseTaxonomyMap"]);
6684
- }
6685
- return taxonomyMap.name;
6686
- };
6687
6622
  if (!data) return;
6688
6623
  if (!typeOptionList) return;
6689
6624
  if (typeOptionList.length === 0) return;
@@ -6693,18 +6628,18 @@ var ActivityPreviewByData = ({
6693
6628
  (typeOption) => typeOption.id === lockedType
6694
6629
  );
6695
6630
  }
6696
- if (showTaxonomy) {
6631
+ if (showDifficulty) {
6697
6632
  setOptionList(
6698
6633
  currentTypeOptionList.map((typeOption) => __spreadProps(__spreadValues({}, typeOption), {
6699
6634
  subText: i18n_default.t(
6700
- retrieveTaxonomyNameByActivityTypeFromData(typeOption.id)
6635
+ retrieveDifficultyByActivityTypeFromData(typeOption.id, data)
6701
6636
  )
6702
6637
  }))
6703
6638
  );
6704
6639
  } else {
6705
6640
  setOptionList(currentTypeOptionList);
6706
6641
  }
6707
- }, [data, lockedType, typeOptionList, showTaxonomy]);
6642
+ }, [data, lockedType, typeOptionList, showDifficulty]);
6708
6643
  if (!data) return;
6709
6644
  const answer = constructAnswerBasedOnData(data);
6710
6645
  return /* @__PURE__ */ jsxs35("div", { children: [
@@ -6873,7 +6808,7 @@ var ActivityPreviewByAnswerData = ({
6873
6808
  typeOptionList = [],
6874
6809
  showSolution = false,
6875
6810
  showEvaluationRubric = false,
6876
- showTaxonomy = true,
6811
+ showDifficulty = true,
6877
6812
  isFullScreen = false,
6878
6813
  showCorrectAnswer = false
6879
6814
  }) => {
@@ -6895,30 +6830,6 @@ var ActivityPreviewByAnswerData = ({
6895
6830
  }
6896
6831
  return null;
6897
6832
  };
6898
- const retrieveTaxonomyNameFromActivityType = (type) => {
6899
- if (!data) return "";
6900
- let taxonomyMap = { name: "" };
6901
- const taxonomyMapNames = {
6902
- ORDERING: "orderingTaxonomyMap",
6903
- DROPDOWN: "dropdownTaxonomyMap",
6904
- MCSA: "MCSATaxonomyMap",
6905
- MCMA: "MCMATaxonomyMap",
6906
- MATCHING: "matchingTaxonomyMap",
6907
- GROUPING: "groupingTaxonomyMap",
6908
- FILL_IN_THE_BLANKS: "fillInTheBlanksTaxonomyMap",
6909
- OPEN_ENDED: "openEndedTaxonomyMap",
6910
- TRUE_FALSE: "trueFalseTaxonomyMap"
6911
- };
6912
- const mapName = taxonomyMapNames[type];
6913
- if (mapName && data[mapName]) {
6914
- try {
6915
- taxonomyMap = JSON.parse(data[mapName]);
6916
- } catch (error) {
6917
- console.error(`Error parsing taxonomy map for ${type}:`, error);
6918
- }
6919
- }
6920
- return taxonomyMap.name || "";
6921
- };
6922
6833
  useEffect15(() => {
6923
6834
  if (!data) return;
6924
6835
  const constructAnswerBasedOnData2 = () => {
@@ -6969,16 +6880,18 @@ var ActivityPreviewByAnswerData = ({
6969
6880
  (typeOption) => typeOption.id === lockedType
6970
6881
  );
6971
6882
  }
6972
- if (showTaxonomy) {
6883
+ if (showDifficulty) {
6973
6884
  setOptionList(
6974
6885
  currentTypeOptionList.map((typeOption) => __spreadProps(__spreadValues({}, typeOption), {
6975
- subText: i18n_default.t(retrieveTaxonomyNameFromActivityType(typeOption.id))
6886
+ subText: i18n_default.t(
6887
+ retrieveDifficultyByActivityTypeFromData(typeOption.id, data)
6888
+ )
6976
6889
  }))
6977
6890
  );
6978
6891
  } else {
6979
6892
  setOptionList(currentTypeOptionList);
6980
6893
  }
6981
- }, [data, answer.data, lockedType, typeOptionList, showTaxonomy]);
6894
+ }, [data, answer.data, lockedType, typeOptionList, showDifficulty]);
6982
6895
  const RenderSelectedActivityContent = () => {
6983
6896
  const commonProps = {
6984
6897
  answer,
@@ -8411,25 +8324,25 @@ var retrieveCategoryVersionCodeOptionList = () => {
8411
8324
  value: "MEB-IO-MAT-2024",
8412
8325
  text: i18n_default.t("MEB-IO-MAT-2024"),
8413
8326
  type: "MATHEMATICS",
8414
- availableLevelList: [5]
8327
+ availableLevelList: [5, 6]
8415
8328
  },
8416
8329
  {
8417
8330
  value: "MEB-IO-MAT-2018",
8418
8331
  text: i18n_default.t("MEB-IO-MAT-2018"),
8419
8332
  type: "MATHEMATICS",
8420
- availableLevelList: [4, 6, 7, 8]
8333
+ availableLevelList: [4, 7, 8]
8421
8334
  },
8422
8335
  {
8423
8336
  value: "MEB-IO-TUR-2024",
8424
8337
  text: i18n_default.t("MEB-IO-TUR-2024"),
8425
8338
  type: "TURKISH",
8426
- availableLevelList: [5]
8339
+ availableLevelList: [5, 6]
8427
8340
  },
8428
8341
  {
8429
8342
  value: "MEB-IO-TUR-2019",
8430
8343
  text: i18n_default.t("MEB-IO-TUR-2019"),
8431
8344
  type: "TURKISH",
8432
- availableLevelList: [4, 6, 7, 8]
8345
+ availableLevelList: [4, 7, 8]
8433
8346
  },
8434
8347
  {
8435
8348
  value: "MEB-IO-HAY-2018",
@@ -8447,25 +8360,25 @@ var retrieveCategoryVersionCodeOptionList = () => {
8447
8360
  value: "MEB-IO-FEN-2024",
8448
8361
  text: i18n_default.t("MEB-IO-FEN-2024"),
8449
8362
  type: "SCIENCE",
8450
- availableLevelList: [5]
8363
+ availableLevelList: [5, 6]
8451
8364
  },
8452
8365
  {
8453
8366
  value: "MEB-IO-SCI-2018",
8454
8367
  text: i18n_default.t("MEB-IO-SCI-2018"),
8455
8368
  type: "SCIENCE",
8456
- availableLevelList: [4, 6, 7, 8]
8369
+ availableLevelList: [4, 7, 8]
8457
8370
  },
8458
8371
  {
8459
8372
  value: "MEB-IO-SOS-2024",
8460
8373
  text: i18n_default.t("MEB-IO-SOS-2024"),
8461
8374
  type: "SOCIAL_STUDIES",
8462
- availableLevelList: [5]
8375
+ availableLevelList: [5, 6]
8463
8376
  },
8464
8377
  {
8465
8378
  value: "MEB-IO-SOS-2018",
8466
8379
  text: i18n_default.t("MEB-IO-SOS-2018"),
8467
8380
  type: "SOCIAL_STUDIES",
8468
- availableLevelList: [4, 6, 7]
8381
+ availableLevelList: [4, 7]
8469
8382
  },
8470
8383
  {
8471
8384
  value: "MEB-IO-ITA-2018",
@@ -8483,61 +8396,61 @@ var retrieveCategoryVersionCodeOptionList = () => {
8483
8396
  value: "MEB-AL-MAT-2024",
8484
8397
  text: i18n_default.t("MEB-AL-MAT-2024"),
8485
8398
  type: "MATHEMATICS",
8486
- availableLevelList: [9]
8399
+ availableLevelList: [9, 10]
8487
8400
  },
8488
8401
  {
8489
8402
  value: "MEB-AL-MAT-2018",
8490
8403
  text: i18n_default.t("MEB-AL-MAT-2018"),
8491
8404
  type: "MATHEMATICS",
8492
- availableLevelList: [10, 11, 12]
8405
+ availableLevelList: [11, 12]
8493
8406
  },
8494
8407
  {
8495
8408
  value: "MEB-AL-F\u0130Z-2024",
8496
8409
  text: i18n_default.t("MEB-AL-F\u0130Z-2024"),
8497
8410
  type: "PHYSICS",
8498
- availableLevelList: [9]
8411
+ availableLevelList: [9, 10]
8499
8412
  },
8500
8413
  {
8501
8414
  value: "MEB-AL-FIZ-2018",
8502
8415
  text: i18n_default.t("MEB-AL-FIZ-2018"),
8503
8416
  type: "PHYSICS",
8504
- availableLevelList: [10, 11, 12]
8417
+ availableLevelList: [11, 12]
8505
8418
  },
8506
8419
  {
8507
8420
  value: "MEB-AL-B\u0130Y-2024",
8508
8421
  text: i18n_default.t("MEB-AL-B\u0130Y-2024"),
8509
8422
  type: "BIOLOGY",
8510
- availableLevelList: [9]
8423
+ availableLevelList: [9, 10]
8511
8424
  },
8512
8425
  {
8513
8426
  value: "MEB-AL-BIO-2018",
8514
8427
  text: i18n_default.t("MEB-AL-BIO-2018"),
8515
8428
  type: "BIOLOGY",
8516
- availableLevelList: [10, 11, 12]
8429
+ availableLevelList: [11, 12]
8517
8430
  },
8518
8431
  {
8519
8432
  value: "MEB-AL-K\u0130M-2024",
8520
8433
  text: i18n_default.t("MEB-AL-K\u0130M-2024"),
8521
8434
  type: "CHEMISTRY",
8522
- availableLevelList: [9]
8435
+ availableLevelList: [9, 10]
8523
8436
  },
8524
8437
  {
8525
8438
  value: "MEB-AL-KIM-2018",
8526
8439
  text: i18n_default.t("MEB-AL-KIM-2018"),
8527
8440
  type: "CHEMISTRY",
8528
- availableLevelList: [10, 11, 12]
8441
+ availableLevelList: [11, 12]
8529
8442
  },
8530
8443
  {
8531
8444
  value: "MEB-AL-TAR-2024",
8532
8445
  text: i18n_default.t("MEB-AL-TAR-2024"),
8533
8446
  type: "HISTORY",
8534
- availableLevelList: [9]
8447
+ availableLevelList: [9, 10]
8535
8448
  },
8536
8449
  {
8537
8450
  value: "MEB-AL-TAR-2018",
8538
8451
  text: i18n_default.t("MEB-AL-TAR-2018"),
8539
8452
  type: "HISTORY",
8540
- availableLevelList: [10, 11]
8453
+ availableLevelList: [11]
8541
8454
  },
8542
8455
  {
8543
8456
  value: "MEB-AL-ITA-2018",
@@ -8549,13 +8462,13 @@ var retrieveCategoryVersionCodeOptionList = () => {
8549
8462
  value: "MEB-AL-CO\u011E-2024",
8550
8463
  text: i18n_default.t("MEB-AL-CO\u011E-2024"),
8551
8464
  type: "GEOGRAPHY",
8552
- availableLevelList: [9]
8465
+ availableLevelList: [9, 10]
8553
8466
  },
8554
8467
  {
8555
8468
  value: "MEB-AL-CO\u011E-2018",
8556
8469
  text: i18n_default.t("MEB-AL-CO\u011E-2018"),
8557
8470
  type: "GEOGRAPHY",
8558
- availableLevelList: [10, 11, 12]
8471
+ availableLevelList: [11, 12]
8559
8472
  },
8560
8473
  {
8561
8474
  value: "MEB-IO-DKAB-2018",
@@ -8573,25 +8486,25 @@ var retrieveCategoryVersionCodeOptionList = () => {
8573
8486
  value: "MEB-AL-FEL-2024",
8574
8487
  text: i18n_default.t("MEB-AL-FEL-2024"),
8575
8488
  type: "PHILOSOPHY",
8576
- availableLevelList: [9]
8489
+ availableLevelList: [9, 10]
8577
8490
  },
8578
8491
  {
8579
8492
  value: "MEB-AL-FEL-2018",
8580
8493
  text: i18n_default.t("MEB-AL-FEL-2018"),
8581
8494
  type: "PHILOSOPHY",
8582
- availableLevelList: [10, 11]
8495
+ availableLevelList: [11]
8583
8496
  },
8584
8497
  {
8585
8498
  value: "MEB-AL-TDE-2024",
8586
8499
  text: i18n_default.t("MEB-AL-TDE-2024"),
8587
8500
  type: "LITERATURE",
8588
- availableLevelList: [9]
8501
+ availableLevelList: [9, 10]
8589
8502
  },
8590
8503
  {
8591
8504
  value: "MEB-AL-LIT-2018",
8592
8505
  text: i18n_default.t("MEB-AL-LIT-2018"),
8593
8506
  type: "LITERATURE",
8594
- availableLevelList: [10, 11, 12]
8507
+ availableLevelList: [11, 12]
8595
8508
  },
8596
8509
  // {
8597
8510
  // value: "CEFR-STANDARDS-A1",
@@ -9512,17 +9425,14 @@ var retrieveBadgeRuleTextByParams = (coterieType, sourceType, badgeType, level)
9512
9425
 
9513
9426
  // src/utilization/IndividualModelUtilization.ts
9514
9427
  var NUMBER_OF_ACTIVITY_TEMPLATE = 9;
9515
- var NUMBER_OF_TAXONOMY = 6;
9516
- var INITIAL_TAXONOMY_VALUE = 1 / NUMBER_OF_TAXONOMY;
9428
+ var NUMBER_OF_DIFFICULTY = 3;
9429
+ var INITIAL_DIFFICULTY_VALUE = 1 / NUMBER_OF_DIFFICULTY;
9517
9430
  var INITIAL_TEMPLATE_VALUE = 1 / NUMBER_OF_ACTIVITY_TEMPLATE;
9518
9431
  var constructBaseVerbalIndvidualModel = (userId) => {
9519
9432
  return {
9520
- bloomBloomAnalyze: INITIAL_TAXONOMY_VALUE,
9521
- bloomBloomApply: INITIAL_TAXONOMY_VALUE,
9522
- bloomBloomCreate: INITIAL_TAXONOMY_VALUE,
9523
- bloomBloomEvaluate: INITIAL_TAXONOMY_VALUE,
9524
- bloomBloomRemember: INITIAL_TAXONOMY_VALUE,
9525
- bloomBloomUnderstand: INITIAL_TAXONOMY_VALUE,
9433
+ easy: INITIAL_DIFFICULTY_VALUE,
9434
+ medium: INITIAL_DIFFICULTY_VALUE,
9435
+ hard: INITIAL_DIFFICULTY_VALUE,
9526
9436
  dropdown: INITIAL_TEMPLATE_VALUE,
9527
9437
  coterieField: "VERBAL",
9528
9438
  fillInTheBlanks: INITIAL_TEMPLATE_VALUE,
@@ -9538,12 +9448,9 @@ var constructBaseVerbalIndvidualModel = (userId) => {
9538
9448
  };
9539
9449
  var constructBaseNumericIndividualModel = (userId) => {
9540
9450
  return {
9541
- bloomBloomAnalyze: INITIAL_TAXONOMY_VALUE,
9542
- bloomBloomApply: INITIAL_TAXONOMY_VALUE,
9543
- bloomBloomCreate: INITIAL_TAXONOMY_VALUE,
9544
- bloomBloomEvaluate: INITIAL_TAXONOMY_VALUE,
9545
- bloomBloomRemember: INITIAL_TAXONOMY_VALUE,
9546
- bloomBloomUnderstand: INITIAL_TAXONOMY_VALUE,
9451
+ easy: INITIAL_DIFFICULTY_VALUE,
9452
+ medium: INITIAL_DIFFICULTY_VALUE,
9453
+ hard: INITIAL_DIFFICULTY_VALUE,
9547
9454
  dropdown: INITIAL_TEMPLATE_VALUE,
9548
9455
  coterieField: "NUMERIC",
9549
9456
  fillInTheBlanks: INITIAL_TEMPLATE_VALUE,
@@ -10145,6 +10052,7 @@ export {
10145
10052
  retrieveCurrentDefaultDataMap,
10146
10053
  retrieveDateIntervalOptionList,
10147
10054
  retrieveDefaultUserRoleOptionList,
10055
+ retrieveDifficultyByActivityTypeFromData,
10148
10056
  retrieveDistintCoterieTypeFromCatchtivityApplicationDTO,
10149
10057
  retrieveDocumentTypeFromAcceptedFormat,
10150
10058
  retrieveDocumentTypeFromExtension,
@@ -10175,9 +10083,6 @@ export {
10175
10083
  retrieveStandardExamTypeIcon,
10176
10084
  retrieveStandardExamTypeOptionList,
10177
10085
  retrieveStatusOptionList,
10178
- retrieveTaxonomyGroupName,
10179
- retrieveTaxonomyName,
10180
- retrieveTaxonomyType,
10181
10086
  retrieveTeachingMethodologyOptionList,
10182
10087
  retrieveTimeFilterOptionList,
10183
10088
  retrieveTimeFilterWithLastNOptionList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.13.1",
3
+ "version": "1.14.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {