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.js CHANGED
@@ -200,6 +200,7 @@ __export(index_exports, {
200
200
  retrieveCurrentDefaultDataMap: () => retrieveCurrentDefaultDataMap,
201
201
  retrieveDateIntervalOptionList: () => retrieveDateIntervalOptionList,
202
202
  retrieveDefaultUserRoleOptionList: () => retrieveDefaultUserRoleOptionList,
203
+ retrieveDifficultyByActivityTypeFromData: () => retrieveDifficultyByActivityTypeFromData,
203
204
  retrieveDistintCoterieTypeFromCatchtivityApplicationDTO: () => retrieveDistintCoterieTypeFromCatchtivityApplicationDTO,
204
205
  retrieveDocumentTypeFromAcceptedFormat: () => retrieveDocumentTypeFromAcceptedFormat,
205
206
  retrieveDocumentTypeFromExtension: () => retrieveDocumentTypeFromExtension,
@@ -230,9 +231,6 @@ __export(index_exports, {
230
231
  retrieveStandardExamTypeIcon: () => retrieveStandardExamTypeIcon,
231
232
  retrieveStandardExamTypeOptionList: () => retrieveStandardExamTypeOptionList,
232
233
  retrieveStatusOptionList: () => retrieveStatusOptionList,
233
- retrieveTaxonomyGroupName: () => retrieveTaxonomyGroupName,
234
- retrieveTaxonomyName: () => retrieveTaxonomyName,
235
- retrieveTaxonomyType: () => retrieveTaxonomyType,
236
234
  retrieveTeachingMethodologyOptionList: () => retrieveTeachingMethodologyOptionList,
237
235
  retrieveTimeFilterOptionList: () => retrieveTimeFilterOptionList,
238
236
  retrieveTimeFilterWithLastNOptionList: () => retrieveTimeFilterWithLastNOptionList,
@@ -1314,63 +1312,6 @@ var retrieveDurationInSecondsOptionList = () => {
1314
1312
  { value: 45, text: `45 ${i18n_default.t("seconds")}` }
1315
1313
  ];
1316
1314
  };
1317
- var retrieveTaxonomyType = () => {
1318
- return [
1319
- {
1320
- value: "BLOOM",
1321
- text: i18n_default.t("BLOOM")
1322
- }
1323
- ];
1324
- };
1325
- var retrieveTaxonomyGroupName = () => {
1326
- return [
1327
- {
1328
- type: "BLOOM",
1329
- value: "BLOOM",
1330
- text: i18n_default.t("BLOOM")
1331
- }
1332
- ];
1333
- };
1334
- var retrieveTaxonomyName = () => {
1335
- return [
1336
- {
1337
- stage: 1,
1338
- groupName: "BLOOM",
1339
- value: "REMEMBER",
1340
- text: i18n_default.t("REMEMBER")
1341
- },
1342
- {
1343
- stage: 2,
1344
- groupName: "BLOOM",
1345
- value: "UNDERSTAND",
1346
- text: i18n_default.t("UNDERSTAND")
1347
- },
1348
- {
1349
- stage: 3,
1350
- groupName: "BLOOM",
1351
- value: "APPLY",
1352
- text: i18n_default.t("APPLY")
1353
- },
1354
- {
1355
- stage: 4,
1356
- groupName: "BLOOM",
1357
- value: "ANALYZE",
1358
- text: i18n_default.t("ANALYZE")
1359
- },
1360
- {
1361
- stage: 5,
1362
- groupName: "BLOOM",
1363
- value: "EVALUATE",
1364
- text: i18n_default.t("EVALUATE")
1365
- },
1366
- {
1367
- stage: 6,
1368
- groupName: "BLOOM",
1369
- value: "CREATE",
1370
- text: i18n_default.t("CREATE")
1371
- }
1372
- ];
1373
- };
1374
1315
  var constructInputWithSpecialExpressionList = (inputText) => {
1375
1316
  const inputPartList = [];
1376
1317
  if (!inputText) return [];
@@ -2464,45 +2405,45 @@ var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
2464
2405
  const { activityTemplateDTOList, data, coterieType, categoryIdList } = activity;
2465
2406
  const parsedData = JSON.parse(data);
2466
2407
  const {
2467
- orderingTaxonomyMap,
2468
- dropdownTaxonomyMap,
2469
- MCSATaxonomyMap,
2470
- MCMATaxonomyMap,
2471
- matchingTaxonomyMap,
2472
- groupingTaxonomyMap,
2473
- fillInTheBlanksTaxonomyMap,
2474
- openEndedTaxonomyMap,
2475
- trueFalseTaxonomyMap
2408
+ orderingDifficulty,
2409
+ dropdownDifficulty,
2410
+ MCSADifficulty,
2411
+ MCMADifficulty,
2412
+ matchingDifficulty,
2413
+ groupingDifficulty,
2414
+ fillInTheBlanksDifficulty,
2415
+ openEndedDifficulty,
2416
+ trueFalseDifficulty
2476
2417
  } = parsedData;
2477
- const taxonomyMap = {};
2478
- if (orderingTaxonomyMap) {
2479
- taxonomyMap["orderingTaxonomyMap"] = JSON.parse(orderingTaxonomyMap);
2418
+ const difficultyMap = {};
2419
+ if (orderingDifficulty) {
2420
+ difficultyMap["orderingDifficulty"] = JSON.parse(orderingDifficulty);
2480
2421
  }
2481
- if (dropdownTaxonomyMap) {
2482
- taxonomyMap["dropdownTaxonomyMap"] = JSON.parse(dropdownTaxonomyMap);
2422
+ if (dropdownDifficulty) {
2423
+ difficultyMap["dropdownDifficulty"] = JSON.parse(dropdownDifficulty);
2483
2424
  }
2484
- if (MCSATaxonomyMap) {
2485
- taxonomyMap["MCSATaxonomyMap"] = JSON.parse(MCSATaxonomyMap);
2425
+ if (MCSADifficulty) {
2426
+ difficultyMap["MCSADifficulty"] = JSON.parse(MCSADifficulty);
2486
2427
  }
2487
- if (MCMATaxonomyMap) {
2488
- taxonomyMap["MCMATaxonomyMap"] = JSON.parse(MCMATaxonomyMap);
2428
+ if (MCMADifficulty) {
2429
+ difficultyMap["MCMADifficulty"] = JSON.parse(MCMADifficulty);
2489
2430
  }
2490
- if (matchingTaxonomyMap) {
2491
- taxonomyMap["matchingTaxonomyMap"] = JSON.parse(matchingTaxonomyMap);
2431
+ if (matchingDifficulty) {
2432
+ difficultyMap["matchingDifficulty"] = JSON.parse(matchingDifficulty);
2492
2433
  }
2493
- if (groupingTaxonomyMap) {
2494
- taxonomyMap["groupingTaxonomyMap"] = JSON.parse(groupingTaxonomyMap);
2434
+ if (groupingDifficulty) {
2435
+ difficultyMap["groupingDifficulty"] = JSON.parse(groupingDifficulty);
2495
2436
  }
2496
- if (fillInTheBlanksTaxonomyMap) {
2497
- taxonomyMap["fillInTheBlanksTaxonomyMap"] = JSON.parse(
2498
- fillInTheBlanksTaxonomyMap
2437
+ if (fillInTheBlanksDifficulty) {
2438
+ difficultyMap["fillInTheBlanksDifficulty"] = JSON.parse(
2439
+ fillInTheBlanksDifficulty
2499
2440
  );
2500
2441
  }
2501
- if (trueFalseTaxonomyMap) {
2502
- taxonomyMap["trueFalseTaxonomyMap"] = JSON.parse(trueFalseTaxonomyMap);
2442
+ if (trueFalseDifficulty) {
2443
+ difficultyMap["trueFalseDifficulty"] = JSON.parse(trueFalseDifficulty);
2503
2444
  }
2504
- if (openEndedTaxonomyMap) {
2505
- taxonomyMap["openEndedTaxonomyMap"] = JSON.parse(openEndedTaxonomyMap);
2445
+ if (openEndedDifficulty) {
2446
+ difficultyMap["openEndedDifficulty"] = JSON.parse(openEndedDifficulty);
2506
2447
  }
2507
2448
  let coterieField = "VERBAL";
2508
2449
  if (coterieType === "MATHEMATICS" || coterieType === "BIOLOGY" || coterieType === "PHYSICS" || coterieType === "CHEMISTRY" || coterieType === "SCIENCE") {
@@ -2530,33 +2471,27 @@ var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
2530
2471
  const activityTemplateValueMap = {};
2531
2472
  for (const activityTemplateDTO of activityTemplateDTOList) {
2532
2473
  const { type } = activityTemplateDTO;
2533
- let currentTaxonomyMap;
2474
+ let currentDifficulty = "";
2534
2475
  if (type === "ORDERING") {
2535
- currentTaxonomyMap = taxonomyMap["orderingTaxonomyMap"];
2476
+ currentDifficulty = difficultyMap["orderingDifficulty"];
2536
2477
  } else if (type === "DROPDOWN") {
2537
- currentTaxonomyMap = taxonomyMap["dropdownTaxonomyMap"];
2478
+ currentDifficulty = difficultyMap["dropdownDifficulty"];
2538
2479
  } else if (type === "MCSA") {
2539
- currentTaxonomyMap = taxonomyMap["MCSATaxonomyMap"];
2480
+ currentDifficulty = difficultyMap["MCSADifficulty"];
2540
2481
  } else if (type === "MCMA") {
2541
- currentTaxonomyMap = taxonomyMap["MCMATaxonomyMap"];
2482
+ currentDifficulty = difficultyMap["MCMADifficulty"];
2542
2483
  } else if (type === "MATCHING") {
2543
- currentTaxonomyMap = taxonomyMap["matchingTaxonomyMap"];
2484
+ currentDifficulty = difficultyMap["matchingDifficulty"];
2544
2485
  } else if (type === "GROUPING") {
2545
- currentTaxonomyMap = taxonomyMap["groupingTaxonomyMap"];
2486
+ currentDifficulty = difficultyMap["groupingDifficulty"];
2546
2487
  } else if (type === "FILL_IN_THE_BLANKS") {
2547
- currentTaxonomyMap = taxonomyMap["fillInTheBlanksTaxonomyMap"];
2488
+ currentDifficulty = difficultyMap["fillInTheBlanksDifficulty"];
2548
2489
  } else if (type === "OPEN_ENDED") {
2549
- currentTaxonomyMap = taxonomyMap["openEndedTaxonomyMap"];
2490
+ currentDifficulty = difficultyMap["openEndedDifficulty"];
2550
2491
  } else if (type === "TRUE_FALSE") {
2551
- currentTaxonomyMap = taxonomyMap["trueFalseTaxonomyMap"];
2492
+ currentDifficulty = difficultyMap["trueFalseDifficulty"];
2552
2493
  }
2553
- const {
2554
- type: taxonomyType,
2555
- groupName: taxonomyGroupName,
2556
- name: taxonomyName
2557
- } = currentTaxonomyMap;
2558
- const taxonomyString = taxonomyType.toLowerCase() + taxonomyGroupName.toLowerCase().charAt(0).toUpperCase() + taxonomyGroupName.toLowerCase().substring(1) + taxonomyName.toLowerCase().charAt(0).toUpperCase() + taxonomyName.toLowerCase().substring(1);
2559
- const currentTaxonomyScore = foundModel[taxonomyString];
2494
+ const currentDifficultyScore = foundModel[currentDifficulty];
2560
2495
  const splittedTypeList = type.split("_");
2561
2496
  let activityTemplateString = "";
2562
2497
  for (let i = 0; i < splittedTypeList.length; i++) {
@@ -2568,7 +2503,7 @@ var findBestFitActivity = (activity, individualModelList, outcomeModelList) => {
2568
2503
  }
2569
2504
  }
2570
2505
  const currentActivityTemplateScore = foundModel[activityTemplateString];
2571
- const currentScore = currentTaxonomyScore * currentActivityTemplateScore;
2506
+ const currentScore = currentDifficultyScore * currentActivityTemplateScore;
2572
2507
  activityTemplateValueMap[type] = currentScore;
2573
2508
  if (currentScore < bestScore) {
2574
2509
  bestScore = currentScore;
@@ -3273,6 +3208,29 @@ var constructActivityItemListSolutionOnly = (solutionMap) => {
3273
3208
  });
3274
3209
  return itemList;
3275
3210
  };
3211
+ var retrieveDifficultyByActivityTypeFromData = (type, data) => {
3212
+ let difficulty = "";
3213
+ if (type === "ORDERING") {
3214
+ difficulty = data["orderingDifficulty"];
3215
+ } else if (type === "DROPDOWN") {
3216
+ difficulty = data["dropdownDifficulty"];
3217
+ } else if (type === "MCSA") {
3218
+ difficulty = data["MCSADifficulty"];
3219
+ } else if (type === "MCMA") {
3220
+ difficulty = data["MCMADifficulty"];
3221
+ } else if (type === "MATCHING") {
3222
+ difficulty = data["matchingDifficulty"];
3223
+ } else if (type === "GROUPING") {
3224
+ difficulty = data["groupingDifficulty"];
3225
+ } else if (type === "FILL_IN_THE_BLANKS") {
3226
+ difficulty = data["fillInTheBlanksDifficulty"];
3227
+ } else if (type === "OPEN_ENDED") {
3228
+ difficulty = data["openEndedDifficulty"];
3229
+ } else if (type === "TRUE_FALSE") {
3230
+ difficulty = data["trueFalseDifficulty"];
3231
+ }
3232
+ return difficulty;
3233
+ };
3276
3234
 
3277
3235
  // src/components/activities/body-content/ShowBodyMediaByContentType.tsx
3278
3236
  var import_react_katex = require("react-katex");
@@ -6843,7 +6801,7 @@ var ActivityPreviewByData = ({
6843
6801
  typeOptionList,
6844
6802
  showSolution,
6845
6803
  showEvaluationRubric,
6846
- showTaxonomy,
6804
+ showDifficulty,
6847
6805
  isFullScreen
6848
6806
  }) => {
6849
6807
  const [key, setKey] = (0, import_react27.useState)((/* @__PURE__ */ new Date()).getTime());
@@ -6869,31 +6827,6 @@ var ActivityPreviewByData = ({
6869
6827
  }
6870
6828
  }, [typeOptionList, lockedType]);
6871
6829
  (0, import_react27.useEffect)(() => {
6872
- const retrieveTaxonomyNameByActivityTypeFromData = (type) => {
6873
- let taxonomyMap = {
6874
- name: ""
6875
- };
6876
- if (type === "ORDERING") {
6877
- taxonomyMap = JSON.parse(data["orderingTaxonomyMap"]);
6878
- } else if (type === "DROPDOWN") {
6879
- taxonomyMap = JSON.parse(data["dropdownTaxonomyMap"]);
6880
- } else if (type === "MCSA") {
6881
- taxonomyMap = JSON.parse(data["MCSATaxonomyMap"]);
6882
- } else if (type === "MCMA") {
6883
- taxonomyMap = JSON.parse(data["MCMATaxonomyMap"]);
6884
- } else if (type === "MATCHING") {
6885
- taxonomyMap = JSON.parse(data["matchingTaxonomyMap"]);
6886
- } else if (type === "GROUPING") {
6887
- taxonomyMap = JSON.parse(data["groupingTaxonomyMap"]);
6888
- } else if (type === "FILL_IN_THE_BLANKS") {
6889
- taxonomyMap = JSON.parse(data["fillInTheBlanksTaxonomyMap"]);
6890
- } else if (type === "OPEN_ENDED") {
6891
- taxonomyMap = JSON.parse(data["openEndedTaxonomyMap"]);
6892
- } else if (type === "TRUE_FALSE") {
6893
- taxonomyMap = JSON.parse(data["trueFalseTaxonomyMap"]);
6894
- }
6895
- return taxonomyMap.name;
6896
- };
6897
6830
  if (!data) return;
6898
6831
  if (!typeOptionList) return;
6899
6832
  if (typeOptionList.length === 0) return;
@@ -6903,18 +6836,18 @@ var ActivityPreviewByData = ({
6903
6836
  (typeOption) => typeOption.id === lockedType
6904
6837
  );
6905
6838
  }
6906
- if (showTaxonomy) {
6839
+ if (showDifficulty) {
6907
6840
  setOptionList(
6908
6841
  currentTypeOptionList.map((typeOption) => __spreadProps(__spreadValues({}, typeOption), {
6909
6842
  subText: i18n_default.t(
6910
- retrieveTaxonomyNameByActivityTypeFromData(typeOption.id)
6843
+ retrieveDifficultyByActivityTypeFromData(typeOption.id, data)
6911
6844
  )
6912
6845
  }))
6913
6846
  );
6914
6847
  } else {
6915
6848
  setOptionList(currentTypeOptionList);
6916
6849
  }
6917
- }, [data, lockedType, typeOptionList, showTaxonomy]);
6850
+ }, [data, lockedType, typeOptionList, showDifficulty]);
6918
6851
  if (!data) return;
6919
6852
  const answer = constructAnswerBasedOnData(data);
6920
6853
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { children: [
@@ -7083,7 +7016,7 @@ var ActivityPreviewByAnswerData = ({
7083
7016
  typeOptionList = [],
7084
7017
  showSolution = false,
7085
7018
  showEvaluationRubric = false,
7086
- showTaxonomy = true,
7019
+ showDifficulty = true,
7087
7020
  isFullScreen = false,
7088
7021
  showCorrectAnswer = false
7089
7022
  }) => {
@@ -7105,30 +7038,6 @@ var ActivityPreviewByAnswerData = ({
7105
7038
  }
7106
7039
  return null;
7107
7040
  };
7108
- const retrieveTaxonomyNameFromActivityType = (type) => {
7109
- if (!data) return "";
7110
- let taxonomyMap = { name: "" };
7111
- const taxonomyMapNames = {
7112
- ORDERING: "orderingTaxonomyMap",
7113
- DROPDOWN: "dropdownTaxonomyMap",
7114
- MCSA: "MCSATaxonomyMap",
7115
- MCMA: "MCMATaxonomyMap",
7116
- MATCHING: "matchingTaxonomyMap",
7117
- GROUPING: "groupingTaxonomyMap",
7118
- FILL_IN_THE_BLANKS: "fillInTheBlanksTaxonomyMap",
7119
- OPEN_ENDED: "openEndedTaxonomyMap",
7120
- TRUE_FALSE: "trueFalseTaxonomyMap"
7121
- };
7122
- const mapName = taxonomyMapNames[type];
7123
- if (mapName && data[mapName]) {
7124
- try {
7125
- taxonomyMap = JSON.parse(data[mapName]);
7126
- } catch (error) {
7127
- console.error(`Error parsing taxonomy map for ${type}:`, error);
7128
- }
7129
- }
7130
- return taxonomyMap.name || "";
7131
- };
7132
7041
  (0, import_react28.useEffect)(() => {
7133
7042
  if (!data) return;
7134
7043
  const constructAnswerBasedOnData2 = () => {
@@ -7179,16 +7088,18 @@ var ActivityPreviewByAnswerData = ({
7179
7088
  (typeOption) => typeOption.id === lockedType
7180
7089
  );
7181
7090
  }
7182
- if (showTaxonomy) {
7091
+ if (showDifficulty) {
7183
7092
  setOptionList(
7184
7093
  currentTypeOptionList.map((typeOption) => __spreadProps(__spreadValues({}, typeOption), {
7185
- subText: i18n_default.t(retrieveTaxonomyNameFromActivityType(typeOption.id))
7094
+ subText: i18n_default.t(
7095
+ retrieveDifficultyByActivityTypeFromData(typeOption.id, data)
7096
+ )
7186
7097
  }))
7187
7098
  );
7188
7099
  } else {
7189
7100
  setOptionList(currentTypeOptionList);
7190
7101
  }
7191
- }, [data, answer.data, lockedType, typeOptionList, showTaxonomy]);
7102
+ }, [data, answer.data, lockedType, typeOptionList, showDifficulty]);
7192
7103
  const RenderSelectedActivityContent = () => {
7193
7104
  const commonProps = {
7194
7105
  answer,
@@ -8621,25 +8532,25 @@ var retrieveCategoryVersionCodeOptionList = () => {
8621
8532
  value: "MEB-IO-MAT-2024",
8622
8533
  text: i18n_default.t("MEB-IO-MAT-2024"),
8623
8534
  type: "MATHEMATICS",
8624
- availableLevelList: [5]
8535
+ availableLevelList: [5, 6]
8625
8536
  },
8626
8537
  {
8627
8538
  value: "MEB-IO-MAT-2018",
8628
8539
  text: i18n_default.t("MEB-IO-MAT-2018"),
8629
8540
  type: "MATHEMATICS",
8630
- availableLevelList: [4, 6, 7, 8]
8541
+ availableLevelList: [4, 7, 8]
8631
8542
  },
8632
8543
  {
8633
8544
  value: "MEB-IO-TUR-2024",
8634
8545
  text: i18n_default.t("MEB-IO-TUR-2024"),
8635
8546
  type: "TURKISH",
8636
- availableLevelList: [5]
8547
+ availableLevelList: [5, 6]
8637
8548
  },
8638
8549
  {
8639
8550
  value: "MEB-IO-TUR-2019",
8640
8551
  text: i18n_default.t("MEB-IO-TUR-2019"),
8641
8552
  type: "TURKISH",
8642
- availableLevelList: [4, 6, 7, 8]
8553
+ availableLevelList: [4, 7, 8]
8643
8554
  },
8644
8555
  {
8645
8556
  value: "MEB-IO-HAY-2018",
@@ -8657,25 +8568,25 @@ var retrieveCategoryVersionCodeOptionList = () => {
8657
8568
  value: "MEB-IO-FEN-2024",
8658
8569
  text: i18n_default.t("MEB-IO-FEN-2024"),
8659
8570
  type: "SCIENCE",
8660
- availableLevelList: [5]
8571
+ availableLevelList: [5, 6]
8661
8572
  },
8662
8573
  {
8663
8574
  value: "MEB-IO-SCI-2018",
8664
8575
  text: i18n_default.t("MEB-IO-SCI-2018"),
8665
8576
  type: "SCIENCE",
8666
- availableLevelList: [4, 6, 7, 8]
8577
+ availableLevelList: [4, 7, 8]
8667
8578
  },
8668
8579
  {
8669
8580
  value: "MEB-IO-SOS-2024",
8670
8581
  text: i18n_default.t("MEB-IO-SOS-2024"),
8671
8582
  type: "SOCIAL_STUDIES",
8672
- availableLevelList: [5]
8583
+ availableLevelList: [5, 6]
8673
8584
  },
8674
8585
  {
8675
8586
  value: "MEB-IO-SOS-2018",
8676
8587
  text: i18n_default.t("MEB-IO-SOS-2018"),
8677
8588
  type: "SOCIAL_STUDIES",
8678
- availableLevelList: [4, 6, 7]
8589
+ availableLevelList: [4, 7]
8679
8590
  },
8680
8591
  {
8681
8592
  value: "MEB-IO-ITA-2018",
@@ -8693,61 +8604,61 @@ var retrieveCategoryVersionCodeOptionList = () => {
8693
8604
  value: "MEB-AL-MAT-2024",
8694
8605
  text: i18n_default.t("MEB-AL-MAT-2024"),
8695
8606
  type: "MATHEMATICS",
8696
- availableLevelList: [9]
8607
+ availableLevelList: [9, 10]
8697
8608
  },
8698
8609
  {
8699
8610
  value: "MEB-AL-MAT-2018",
8700
8611
  text: i18n_default.t("MEB-AL-MAT-2018"),
8701
8612
  type: "MATHEMATICS",
8702
- availableLevelList: [10, 11, 12]
8613
+ availableLevelList: [11, 12]
8703
8614
  },
8704
8615
  {
8705
8616
  value: "MEB-AL-F\u0130Z-2024",
8706
8617
  text: i18n_default.t("MEB-AL-F\u0130Z-2024"),
8707
8618
  type: "PHYSICS",
8708
- availableLevelList: [9]
8619
+ availableLevelList: [9, 10]
8709
8620
  },
8710
8621
  {
8711
8622
  value: "MEB-AL-FIZ-2018",
8712
8623
  text: i18n_default.t("MEB-AL-FIZ-2018"),
8713
8624
  type: "PHYSICS",
8714
- availableLevelList: [10, 11, 12]
8625
+ availableLevelList: [11, 12]
8715
8626
  },
8716
8627
  {
8717
8628
  value: "MEB-AL-B\u0130Y-2024",
8718
8629
  text: i18n_default.t("MEB-AL-B\u0130Y-2024"),
8719
8630
  type: "BIOLOGY",
8720
- availableLevelList: [9]
8631
+ availableLevelList: [9, 10]
8721
8632
  },
8722
8633
  {
8723
8634
  value: "MEB-AL-BIO-2018",
8724
8635
  text: i18n_default.t("MEB-AL-BIO-2018"),
8725
8636
  type: "BIOLOGY",
8726
- availableLevelList: [10, 11, 12]
8637
+ availableLevelList: [11, 12]
8727
8638
  },
8728
8639
  {
8729
8640
  value: "MEB-AL-K\u0130M-2024",
8730
8641
  text: i18n_default.t("MEB-AL-K\u0130M-2024"),
8731
8642
  type: "CHEMISTRY",
8732
- availableLevelList: [9]
8643
+ availableLevelList: [9, 10]
8733
8644
  },
8734
8645
  {
8735
8646
  value: "MEB-AL-KIM-2018",
8736
8647
  text: i18n_default.t("MEB-AL-KIM-2018"),
8737
8648
  type: "CHEMISTRY",
8738
- availableLevelList: [10, 11, 12]
8649
+ availableLevelList: [11, 12]
8739
8650
  },
8740
8651
  {
8741
8652
  value: "MEB-AL-TAR-2024",
8742
8653
  text: i18n_default.t("MEB-AL-TAR-2024"),
8743
8654
  type: "HISTORY",
8744
- availableLevelList: [9]
8655
+ availableLevelList: [9, 10]
8745
8656
  },
8746
8657
  {
8747
8658
  value: "MEB-AL-TAR-2018",
8748
8659
  text: i18n_default.t("MEB-AL-TAR-2018"),
8749
8660
  type: "HISTORY",
8750
- availableLevelList: [10, 11]
8661
+ availableLevelList: [11]
8751
8662
  },
8752
8663
  {
8753
8664
  value: "MEB-AL-ITA-2018",
@@ -8759,13 +8670,13 @@ var retrieveCategoryVersionCodeOptionList = () => {
8759
8670
  value: "MEB-AL-CO\u011E-2024",
8760
8671
  text: i18n_default.t("MEB-AL-CO\u011E-2024"),
8761
8672
  type: "GEOGRAPHY",
8762
- availableLevelList: [9]
8673
+ availableLevelList: [9, 10]
8763
8674
  },
8764
8675
  {
8765
8676
  value: "MEB-AL-CO\u011E-2018",
8766
8677
  text: i18n_default.t("MEB-AL-CO\u011E-2018"),
8767
8678
  type: "GEOGRAPHY",
8768
- availableLevelList: [10, 11, 12]
8679
+ availableLevelList: [11, 12]
8769
8680
  },
8770
8681
  {
8771
8682
  value: "MEB-IO-DKAB-2018",
@@ -8783,25 +8694,25 @@ var retrieveCategoryVersionCodeOptionList = () => {
8783
8694
  value: "MEB-AL-FEL-2024",
8784
8695
  text: i18n_default.t("MEB-AL-FEL-2024"),
8785
8696
  type: "PHILOSOPHY",
8786
- availableLevelList: [9]
8697
+ availableLevelList: [9, 10]
8787
8698
  },
8788
8699
  {
8789
8700
  value: "MEB-AL-FEL-2018",
8790
8701
  text: i18n_default.t("MEB-AL-FEL-2018"),
8791
8702
  type: "PHILOSOPHY",
8792
- availableLevelList: [10, 11]
8703
+ availableLevelList: [11]
8793
8704
  },
8794
8705
  {
8795
8706
  value: "MEB-AL-TDE-2024",
8796
8707
  text: i18n_default.t("MEB-AL-TDE-2024"),
8797
8708
  type: "LITERATURE",
8798
- availableLevelList: [9]
8709
+ availableLevelList: [9, 10]
8799
8710
  },
8800
8711
  {
8801
8712
  value: "MEB-AL-LIT-2018",
8802
8713
  text: i18n_default.t("MEB-AL-LIT-2018"),
8803
8714
  type: "LITERATURE",
8804
- availableLevelList: [10, 11, 12]
8715
+ availableLevelList: [11, 12]
8805
8716
  },
8806
8717
  // {
8807
8718
  // value: "CEFR-STANDARDS-A1",
@@ -9722,17 +9633,14 @@ var retrieveBadgeRuleTextByParams = (coterieType, sourceType, badgeType, level)
9722
9633
 
9723
9634
  // src/utilization/IndividualModelUtilization.ts
9724
9635
  var NUMBER_OF_ACTIVITY_TEMPLATE = 9;
9725
- var NUMBER_OF_TAXONOMY = 6;
9726
- var INITIAL_TAXONOMY_VALUE = 1 / NUMBER_OF_TAXONOMY;
9636
+ var NUMBER_OF_DIFFICULTY = 3;
9637
+ var INITIAL_DIFFICULTY_VALUE = 1 / NUMBER_OF_DIFFICULTY;
9727
9638
  var INITIAL_TEMPLATE_VALUE = 1 / NUMBER_OF_ACTIVITY_TEMPLATE;
9728
9639
  var constructBaseVerbalIndvidualModel = (userId) => {
9729
9640
  return {
9730
- bloomBloomAnalyze: INITIAL_TAXONOMY_VALUE,
9731
- bloomBloomApply: INITIAL_TAXONOMY_VALUE,
9732
- bloomBloomCreate: INITIAL_TAXONOMY_VALUE,
9733
- bloomBloomEvaluate: INITIAL_TAXONOMY_VALUE,
9734
- bloomBloomRemember: INITIAL_TAXONOMY_VALUE,
9735
- bloomBloomUnderstand: INITIAL_TAXONOMY_VALUE,
9641
+ easy: INITIAL_DIFFICULTY_VALUE,
9642
+ medium: INITIAL_DIFFICULTY_VALUE,
9643
+ hard: INITIAL_DIFFICULTY_VALUE,
9736
9644
  dropdown: INITIAL_TEMPLATE_VALUE,
9737
9645
  coterieField: "VERBAL",
9738
9646
  fillInTheBlanks: INITIAL_TEMPLATE_VALUE,
@@ -9748,12 +9656,9 @@ var constructBaseVerbalIndvidualModel = (userId) => {
9748
9656
  };
9749
9657
  var constructBaseNumericIndividualModel = (userId) => {
9750
9658
  return {
9751
- bloomBloomAnalyze: INITIAL_TAXONOMY_VALUE,
9752
- bloomBloomApply: INITIAL_TAXONOMY_VALUE,
9753
- bloomBloomCreate: INITIAL_TAXONOMY_VALUE,
9754
- bloomBloomEvaluate: INITIAL_TAXONOMY_VALUE,
9755
- bloomBloomRemember: INITIAL_TAXONOMY_VALUE,
9756
- bloomBloomUnderstand: INITIAL_TAXONOMY_VALUE,
9659
+ easy: INITIAL_DIFFICULTY_VALUE,
9660
+ medium: INITIAL_DIFFICULTY_VALUE,
9661
+ hard: INITIAL_DIFFICULTY_VALUE,
9757
9662
  dropdown: INITIAL_TEMPLATE_VALUE,
9758
9663
  coterieField: "NUMERIC",
9759
9664
  fillInTheBlanks: INITIAL_TEMPLATE_VALUE,
@@ -10356,6 +10261,7 @@ var retrieveActivityMethodologyOptionList = () => {
10356
10261
  retrieveCurrentDefaultDataMap,
10357
10262
  retrieveDateIntervalOptionList,
10358
10263
  retrieveDefaultUserRoleOptionList,
10264
+ retrieveDifficultyByActivityTypeFromData,
10359
10265
  retrieveDistintCoterieTypeFromCatchtivityApplicationDTO,
10360
10266
  retrieveDocumentTypeFromAcceptedFormat,
10361
10267
  retrieveDocumentTypeFromExtension,
@@ -10386,9 +10292,6 @@ var retrieveActivityMethodologyOptionList = () => {
10386
10292
  retrieveStandardExamTypeIcon,
10387
10293
  retrieveStandardExamTypeOptionList,
10388
10294
  retrieveStatusOptionList,
10389
- retrieveTaxonomyGroupName,
10390
- retrieveTaxonomyName,
10391
- retrieveTaxonomyType,
10392
10295
  retrieveTeachingMethodologyOptionList,
10393
10296
  retrieveTimeFilterOptionList,
10394
10297
  retrieveTimeFilterWithLastNOptionList,