catchup-library-web 1.21.18 → 1.21.20
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.d.mts +55 -2
- package/dist/index.d.ts +55 -2
- package/dist/index.js +24 -2
- package/dist/index.mjs +22 -2
- package/package.json +1 -1
- package/src/utilization/GamificationUtilization.ts +20 -0
- package/src/utilization/ManagementUtilization.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -704,6 +704,59 @@ declare const retrieveLeagueTypeOptionList: () => {
|
|
|
704
704
|
value: string;
|
|
705
705
|
text: string;
|
|
706
706
|
}[];
|
|
707
|
+
declare const retrieveLeagueThresholds: () => {
|
|
708
|
+
CURIOUS_MIND: {
|
|
709
|
+
promotion: number;
|
|
710
|
+
stay: number;
|
|
711
|
+
demotion: number;
|
|
712
|
+
};
|
|
713
|
+
OBSERVER: {
|
|
714
|
+
promotion: number;
|
|
715
|
+
stay: number;
|
|
716
|
+
demotion: number;
|
|
717
|
+
};
|
|
718
|
+
EXPLORER: {
|
|
719
|
+
promotion: number;
|
|
720
|
+
stay: number;
|
|
721
|
+
demotion: number;
|
|
722
|
+
};
|
|
723
|
+
THINKER: {
|
|
724
|
+
promotion: number;
|
|
725
|
+
stay: number;
|
|
726
|
+
demotion: number;
|
|
727
|
+
};
|
|
728
|
+
ANALYST: {
|
|
729
|
+
promotion: number;
|
|
730
|
+
stay: number;
|
|
731
|
+
demotion: number;
|
|
732
|
+
};
|
|
733
|
+
STRATEGIST: {
|
|
734
|
+
promotion: number;
|
|
735
|
+
stay: number;
|
|
736
|
+
demotion: number;
|
|
737
|
+
};
|
|
738
|
+
INNOVATOR: {
|
|
739
|
+
promotion: number;
|
|
740
|
+
stay: number;
|
|
741
|
+
demotion: number;
|
|
742
|
+
};
|
|
743
|
+
VISIONARY: {
|
|
744
|
+
promotion: number;
|
|
745
|
+
stay: number;
|
|
746
|
+
demotion: number;
|
|
747
|
+
};
|
|
748
|
+
MENTOR: {
|
|
749
|
+
promotion: number;
|
|
750
|
+
stay: number;
|
|
751
|
+
demotion: number;
|
|
752
|
+
};
|
|
753
|
+
LUMINARY: {
|
|
754
|
+
promotion: number;
|
|
755
|
+
stay: number;
|
|
756
|
+
demotion: number;
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
declare const retrieveLeagueThresholdByLeagueType: (leagueType: string) => any;
|
|
707
760
|
|
|
708
761
|
declare const constructBaseVerbalIndvidualModel: (userId: any) => {
|
|
709
762
|
easy: number;
|
|
@@ -845,7 +898,7 @@ declare const filterCoterieTypeByDistinctOptionList: (distinctCoterieTypeOptionL
|
|
|
845
898
|
}[];
|
|
846
899
|
declare const findAISettingsFromCurrentProfile: (userProfileBrand: any, userProfileCampus: any, userProfileInstitution: any) => any;
|
|
847
900
|
declare const formatPriceWithCommas: (number: number, language: string) => string;
|
|
848
|
-
declare const retrieveInstitutionTypeByLevel: (level: number) => "
|
|
901
|
+
declare const retrieveInstitutionTypeByLevel: (level: number) => "EAST_PRIMARY" | "EAST_SECONDARY" | "HIGH_SCHOOL" | undefined;
|
|
849
902
|
|
|
850
903
|
declare const retrieveAnnouncementTypeOptionList: () => {
|
|
851
904
|
value: string;
|
|
@@ -890,4 +943,4 @@ declare const retrieveActivityMethodologyOptionList: () => {
|
|
|
890
943
|
text: string;
|
|
891
944
|
}[];
|
|
892
945
|
|
|
893
|
-
export { ActivityBodyContent, ActivityEmptyContent, ActivityEvaluationRubricContent, ActivityLabel, ActivityPreviewByAnswerData, ActivityPreviewByData, ActivitySolutionContent, ActivityTemplateLabel, ApproveButton, BaseCard, BaseImage, BaseLoading, BaseLoadingWithText, BaseModal, BasePDF, BaseTitle, BlueVerticalDividerLine, BrandLabel, CancelButton, CategoryLabel, CoterieLabel, CreateButton, DeleteButton, DividerLine, DropdownActivityContent, FillInTheBlanksActivityContent, FullCard, GradeLabel, GroupingActivityContent, InfoWithText, InputGroup, InputWithSpecialExpression, LeftTextRightInputGroup, MCMAActivityContent, MCSAActivityContent, MatchingActivityContent, ONE_DAY, ONE_HOUR, ONE_MONTH, ONE_WEEK, OpenEndedActivityContent, OrderingActivityContent, OutcomeLabel, PageTravelGroup, PersonalLabel, PrimaryButton, ProgressBar, PublishingHouseLabel, ScoreBar, SecondaryButton, SelectionBox, SelectionCheckbox, SelectionTab, SelectionTabFill, StatusError, SubTitle, THREE_MONTHS, TimedProgressBar, TrueFalseActivityContent, VerticalDividerLine, base64ToFile, calculateEndDateOfWeek, calculateLevenshteinDistance, calculateStartDateOfWeek, checkActivityAnswerState, checkIfAnswerIsEmpty, constructActivityAnswerMap, constructActivityAnswerStateList, constructActivityData, constructActivityItemListBodyOnly, constructActivityItemListForSolution, constructActivityItemListMaterialOnly, constructActivityItemListSolutionOnly, constructActivityItemListWithAnswersForAI, constructActivityItemListWithSolutionForAI, constructAnswerBasedOnData, constructBaseNumericIndividualModel, constructBaseVerbalIndvidualModel, constructCategoryTreeFromParentCode, constructCombinedCatchxamReportMap, constructCombinedOutcomeActivityScoreMapFromCombinedReport, constructInputWithSpecialExpressionList, constructMonthName, constructOutcomeActivityScoreList, constructUserProfileQueryParams, constructWeekName, convertDataURLtoFile, convertToBase64, convertToBodyMapString, convertToEvaluationRubricMapString, convertToSolutionMapString, convertTurkishCharactersToEnglish, filterCategoryVersionCodeOptionList, filterCategoryVersionCodeOptionListByGradeDTO, filterCategoryVersionCodeOptionListByInstitutionDTO, filterCoterieTypeByDistinctOptionList, filterCoterieTypeOptionList, filterGradeLevelOptionList, filterUserRoleOptionList, findAISettingsFromCurrentProfile, findBestFitActivity, formatPriceWithCommas, getColorByIndex, ignoreMathematicalExpression, mergeObjects, parseBodyMapFromData, parseContentMapFromData, parseJwt, parseMaterialMapFromData, retrieveActivityAnswerFromAnswerList, retrieveActivityCountOptionList, retrieveActivityMethodologyOptionList, retrieveActivityTemplateDTOOptionList, retrieveAllEarnedBadgeDTOListByCoterieType, retrieveAllEarnedBadgeDTOListByCoterieTypeList, retrieveAnnouncementAudienceOptionList, retrieveAnnouncementTypeOptionList, retrieveBadgeRuleListByParams, retrieveBadgeRuleTextByParams, retrieveBranchDTOByUserProfileOptionList, retrieveBranchDTOOptionList, retrieveBrandDTOByUserProfileOptionList, retrieveBrandDTOOptionList, retrieveCampusDTOByUserProfileOptionList, retrieveCampusDTOOptionList, retrieveCategoryVersionCodeOptionList, retrieveClockTimeLeft, retrieveColorByScore, retrieveContentTypeOptionList, retrieveContestTypeOptionList, retrieveCoterieTypeFromStandardExamCoterieType, retrieveCoterieTypeOptionList, retrieveCountryCodeOptionList, retrieveCountryNameOptionList, retrieveCurrencyTypeOptionList, retrieveCurrentDefaultDataMap, retrieveDateIntervalOptionList, retrieveDefaultUserRoleOptionList, retrieveDelayTypeOptionList, retrieveDifficultyByActivityTypeFromData, retrieveDifficultyOptionList, retrieveDiscountAmountTypeOptionList, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveEnableOptionList, retrieveExternalRegistrationDTOOptionList, retrieveFrequencyTypeOptionList, retrieveGenderOptionList, retrieveGradeDTOByUserProfileOptionList, retrieveGradeDTOOptionList, retrieveGradeLevelOptionList, retrieveInstitutionDTOByUserProfileOptionList, retrieveInstitutionDTOOptionList, retrieveInstitutionTypeByLevel, retrieveInstitutionTypeOptionList, retrieveLastNOptionList, retrieveLeagueTypeOptionList, retrieveMonthNameByIndex, retrieveOpticalExamPartTypeOptionList, retrieveOpticalExamTypeOptionList, retrieveOtherBadgeDTOList, retrieveOutcomePlanTypeOptionList, retrievePhoneNumberAreaCodeList, retrieveProvinceNameOptionList, retrieveReportTypeOptionList, retrieveSeasonDTOByUserProfileOptionList, retrieveSeasonDTOOptionList, retrieveStandardExamCoterieTypeOptionListByStandardExamType, retrieveStandardExamTypeIcon, retrieveStandardExamTypeOptionList, retrieveStatusOptionList, retrieveTeachingMethodologyOptionList, retrieveTimeFilterOptionList, retrieveTimeFilterWithLastNOptionList, retrieveTokenUsageSubTypeOptionList, retrieveTokenUsageTypeOptionList, retrieveTotalTimeSpentInMinutes, retrieveTotalTimeSpentInSeconds, retrieveUserAuthorityGeneralOptionList, retrieveUserRoleOptionList, retrieveValidationRequirementList, shuffleArray, useScreenSize };
|
|
946
|
+
export { ActivityBodyContent, ActivityEmptyContent, ActivityEvaluationRubricContent, ActivityLabel, ActivityPreviewByAnswerData, ActivityPreviewByData, ActivitySolutionContent, ActivityTemplateLabel, ApproveButton, BaseCard, BaseImage, BaseLoading, BaseLoadingWithText, BaseModal, BasePDF, BaseTitle, BlueVerticalDividerLine, BrandLabel, CancelButton, CategoryLabel, CoterieLabel, CreateButton, DeleteButton, DividerLine, DropdownActivityContent, FillInTheBlanksActivityContent, FullCard, GradeLabel, GroupingActivityContent, InfoWithText, InputGroup, InputWithSpecialExpression, LeftTextRightInputGroup, MCMAActivityContent, MCSAActivityContent, MatchingActivityContent, ONE_DAY, ONE_HOUR, ONE_MONTH, ONE_WEEK, OpenEndedActivityContent, OrderingActivityContent, OutcomeLabel, PageTravelGroup, PersonalLabel, PrimaryButton, ProgressBar, PublishingHouseLabel, ScoreBar, SecondaryButton, SelectionBox, SelectionCheckbox, SelectionTab, SelectionTabFill, StatusError, SubTitle, THREE_MONTHS, TimedProgressBar, TrueFalseActivityContent, VerticalDividerLine, base64ToFile, calculateEndDateOfWeek, calculateLevenshteinDistance, calculateStartDateOfWeek, checkActivityAnswerState, checkIfAnswerIsEmpty, constructActivityAnswerMap, constructActivityAnswerStateList, constructActivityData, constructActivityItemListBodyOnly, constructActivityItemListForSolution, constructActivityItemListMaterialOnly, constructActivityItemListSolutionOnly, constructActivityItemListWithAnswersForAI, constructActivityItemListWithSolutionForAI, constructAnswerBasedOnData, constructBaseNumericIndividualModel, constructBaseVerbalIndvidualModel, constructCategoryTreeFromParentCode, constructCombinedCatchxamReportMap, constructCombinedOutcomeActivityScoreMapFromCombinedReport, constructInputWithSpecialExpressionList, constructMonthName, constructOutcomeActivityScoreList, constructUserProfileQueryParams, constructWeekName, convertDataURLtoFile, convertToBase64, convertToBodyMapString, convertToEvaluationRubricMapString, convertToSolutionMapString, convertTurkishCharactersToEnglish, filterCategoryVersionCodeOptionList, filterCategoryVersionCodeOptionListByGradeDTO, filterCategoryVersionCodeOptionListByInstitutionDTO, filterCoterieTypeByDistinctOptionList, filterCoterieTypeOptionList, filterGradeLevelOptionList, filterUserRoleOptionList, findAISettingsFromCurrentProfile, findBestFitActivity, formatPriceWithCommas, getColorByIndex, ignoreMathematicalExpression, mergeObjects, parseBodyMapFromData, parseContentMapFromData, parseJwt, parseMaterialMapFromData, retrieveActivityAnswerFromAnswerList, retrieveActivityCountOptionList, retrieveActivityMethodologyOptionList, retrieveActivityTemplateDTOOptionList, retrieveAllEarnedBadgeDTOListByCoterieType, retrieveAllEarnedBadgeDTOListByCoterieTypeList, retrieveAnnouncementAudienceOptionList, retrieveAnnouncementTypeOptionList, retrieveBadgeRuleListByParams, retrieveBadgeRuleTextByParams, retrieveBranchDTOByUserProfileOptionList, retrieveBranchDTOOptionList, retrieveBrandDTOByUserProfileOptionList, retrieveBrandDTOOptionList, retrieveCampusDTOByUserProfileOptionList, retrieveCampusDTOOptionList, retrieveCategoryVersionCodeOptionList, retrieveClockTimeLeft, retrieveColorByScore, retrieveContentTypeOptionList, retrieveContestTypeOptionList, retrieveCoterieTypeFromStandardExamCoterieType, retrieveCoterieTypeOptionList, retrieveCountryCodeOptionList, retrieveCountryNameOptionList, retrieveCurrencyTypeOptionList, retrieveCurrentDefaultDataMap, retrieveDateIntervalOptionList, retrieveDefaultUserRoleOptionList, retrieveDelayTypeOptionList, retrieveDifficultyByActivityTypeFromData, retrieveDifficultyOptionList, retrieveDiscountAmountTypeOptionList, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveEnableOptionList, retrieveExternalRegistrationDTOOptionList, retrieveFrequencyTypeOptionList, retrieveGenderOptionList, retrieveGradeDTOByUserProfileOptionList, retrieveGradeDTOOptionList, retrieveGradeLevelOptionList, retrieveInstitutionDTOByUserProfileOptionList, retrieveInstitutionDTOOptionList, retrieveInstitutionTypeByLevel, retrieveInstitutionTypeOptionList, retrieveLastNOptionList, retrieveLeagueThresholdByLeagueType, retrieveLeagueThresholds, retrieveLeagueTypeOptionList, retrieveMonthNameByIndex, retrieveOpticalExamPartTypeOptionList, retrieveOpticalExamTypeOptionList, retrieveOtherBadgeDTOList, retrieveOutcomePlanTypeOptionList, retrievePhoneNumberAreaCodeList, retrieveProvinceNameOptionList, retrieveReportTypeOptionList, retrieveSeasonDTOByUserProfileOptionList, retrieveSeasonDTOOptionList, retrieveStandardExamCoterieTypeOptionListByStandardExamType, retrieveStandardExamTypeIcon, retrieveStandardExamTypeOptionList, retrieveStatusOptionList, retrieveTeachingMethodologyOptionList, retrieveTimeFilterOptionList, retrieveTimeFilterWithLastNOptionList, retrieveTokenUsageSubTypeOptionList, retrieveTokenUsageTypeOptionList, retrieveTotalTimeSpentInMinutes, retrieveTotalTimeSpentInSeconds, retrieveUserAuthorityGeneralOptionList, retrieveUserRoleOptionList, retrieveValidationRequirementList, shuffleArray, useScreenSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -704,6 +704,59 @@ declare const retrieveLeagueTypeOptionList: () => {
|
|
|
704
704
|
value: string;
|
|
705
705
|
text: string;
|
|
706
706
|
}[];
|
|
707
|
+
declare const retrieveLeagueThresholds: () => {
|
|
708
|
+
CURIOUS_MIND: {
|
|
709
|
+
promotion: number;
|
|
710
|
+
stay: number;
|
|
711
|
+
demotion: number;
|
|
712
|
+
};
|
|
713
|
+
OBSERVER: {
|
|
714
|
+
promotion: number;
|
|
715
|
+
stay: number;
|
|
716
|
+
demotion: number;
|
|
717
|
+
};
|
|
718
|
+
EXPLORER: {
|
|
719
|
+
promotion: number;
|
|
720
|
+
stay: number;
|
|
721
|
+
demotion: number;
|
|
722
|
+
};
|
|
723
|
+
THINKER: {
|
|
724
|
+
promotion: number;
|
|
725
|
+
stay: number;
|
|
726
|
+
demotion: number;
|
|
727
|
+
};
|
|
728
|
+
ANALYST: {
|
|
729
|
+
promotion: number;
|
|
730
|
+
stay: number;
|
|
731
|
+
demotion: number;
|
|
732
|
+
};
|
|
733
|
+
STRATEGIST: {
|
|
734
|
+
promotion: number;
|
|
735
|
+
stay: number;
|
|
736
|
+
demotion: number;
|
|
737
|
+
};
|
|
738
|
+
INNOVATOR: {
|
|
739
|
+
promotion: number;
|
|
740
|
+
stay: number;
|
|
741
|
+
demotion: number;
|
|
742
|
+
};
|
|
743
|
+
VISIONARY: {
|
|
744
|
+
promotion: number;
|
|
745
|
+
stay: number;
|
|
746
|
+
demotion: number;
|
|
747
|
+
};
|
|
748
|
+
MENTOR: {
|
|
749
|
+
promotion: number;
|
|
750
|
+
stay: number;
|
|
751
|
+
demotion: number;
|
|
752
|
+
};
|
|
753
|
+
LUMINARY: {
|
|
754
|
+
promotion: number;
|
|
755
|
+
stay: number;
|
|
756
|
+
demotion: number;
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
declare const retrieveLeagueThresholdByLeagueType: (leagueType: string) => any;
|
|
707
760
|
|
|
708
761
|
declare const constructBaseVerbalIndvidualModel: (userId: any) => {
|
|
709
762
|
easy: number;
|
|
@@ -845,7 +898,7 @@ declare const filterCoterieTypeByDistinctOptionList: (distinctCoterieTypeOptionL
|
|
|
845
898
|
}[];
|
|
846
899
|
declare const findAISettingsFromCurrentProfile: (userProfileBrand: any, userProfileCampus: any, userProfileInstitution: any) => any;
|
|
847
900
|
declare const formatPriceWithCommas: (number: number, language: string) => string;
|
|
848
|
-
declare const retrieveInstitutionTypeByLevel: (level: number) => "
|
|
901
|
+
declare const retrieveInstitutionTypeByLevel: (level: number) => "EAST_PRIMARY" | "EAST_SECONDARY" | "HIGH_SCHOOL" | undefined;
|
|
849
902
|
|
|
850
903
|
declare const retrieveAnnouncementTypeOptionList: () => {
|
|
851
904
|
value: string;
|
|
@@ -890,4 +943,4 @@ declare const retrieveActivityMethodologyOptionList: () => {
|
|
|
890
943
|
text: string;
|
|
891
944
|
}[];
|
|
892
945
|
|
|
893
|
-
export { ActivityBodyContent, ActivityEmptyContent, ActivityEvaluationRubricContent, ActivityLabel, ActivityPreviewByAnswerData, ActivityPreviewByData, ActivitySolutionContent, ActivityTemplateLabel, ApproveButton, BaseCard, BaseImage, BaseLoading, BaseLoadingWithText, BaseModal, BasePDF, BaseTitle, BlueVerticalDividerLine, BrandLabel, CancelButton, CategoryLabel, CoterieLabel, CreateButton, DeleteButton, DividerLine, DropdownActivityContent, FillInTheBlanksActivityContent, FullCard, GradeLabel, GroupingActivityContent, InfoWithText, InputGroup, InputWithSpecialExpression, LeftTextRightInputGroup, MCMAActivityContent, MCSAActivityContent, MatchingActivityContent, ONE_DAY, ONE_HOUR, ONE_MONTH, ONE_WEEK, OpenEndedActivityContent, OrderingActivityContent, OutcomeLabel, PageTravelGroup, PersonalLabel, PrimaryButton, ProgressBar, PublishingHouseLabel, ScoreBar, SecondaryButton, SelectionBox, SelectionCheckbox, SelectionTab, SelectionTabFill, StatusError, SubTitle, THREE_MONTHS, TimedProgressBar, TrueFalseActivityContent, VerticalDividerLine, base64ToFile, calculateEndDateOfWeek, calculateLevenshteinDistance, calculateStartDateOfWeek, checkActivityAnswerState, checkIfAnswerIsEmpty, constructActivityAnswerMap, constructActivityAnswerStateList, constructActivityData, constructActivityItemListBodyOnly, constructActivityItemListForSolution, constructActivityItemListMaterialOnly, constructActivityItemListSolutionOnly, constructActivityItemListWithAnswersForAI, constructActivityItemListWithSolutionForAI, constructAnswerBasedOnData, constructBaseNumericIndividualModel, constructBaseVerbalIndvidualModel, constructCategoryTreeFromParentCode, constructCombinedCatchxamReportMap, constructCombinedOutcomeActivityScoreMapFromCombinedReport, constructInputWithSpecialExpressionList, constructMonthName, constructOutcomeActivityScoreList, constructUserProfileQueryParams, constructWeekName, convertDataURLtoFile, convertToBase64, convertToBodyMapString, convertToEvaluationRubricMapString, convertToSolutionMapString, convertTurkishCharactersToEnglish, filterCategoryVersionCodeOptionList, filterCategoryVersionCodeOptionListByGradeDTO, filterCategoryVersionCodeOptionListByInstitutionDTO, filterCoterieTypeByDistinctOptionList, filterCoterieTypeOptionList, filterGradeLevelOptionList, filterUserRoleOptionList, findAISettingsFromCurrentProfile, findBestFitActivity, formatPriceWithCommas, getColorByIndex, ignoreMathematicalExpression, mergeObjects, parseBodyMapFromData, parseContentMapFromData, parseJwt, parseMaterialMapFromData, retrieveActivityAnswerFromAnswerList, retrieveActivityCountOptionList, retrieveActivityMethodologyOptionList, retrieveActivityTemplateDTOOptionList, retrieveAllEarnedBadgeDTOListByCoterieType, retrieveAllEarnedBadgeDTOListByCoterieTypeList, retrieveAnnouncementAudienceOptionList, retrieveAnnouncementTypeOptionList, retrieveBadgeRuleListByParams, retrieveBadgeRuleTextByParams, retrieveBranchDTOByUserProfileOptionList, retrieveBranchDTOOptionList, retrieveBrandDTOByUserProfileOptionList, retrieveBrandDTOOptionList, retrieveCampusDTOByUserProfileOptionList, retrieveCampusDTOOptionList, retrieveCategoryVersionCodeOptionList, retrieveClockTimeLeft, retrieveColorByScore, retrieveContentTypeOptionList, retrieveContestTypeOptionList, retrieveCoterieTypeFromStandardExamCoterieType, retrieveCoterieTypeOptionList, retrieveCountryCodeOptionList, retrieveCountryNameOptionList, retrieveCurrencyTypeOptionList, retrieveCurrentDefaultDataMap, retrieveDateIntervalOptionList, retrieveDefaultUserRoleOptionList, retrieveDelayTypeOptionList, retrieveDifficultyByActivityTypeFromData, retrieveDifficultyOptionList, retrieveDiscountAmountTypeOptionList, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveEnableOptionList, retrieveExternalRegistrationDTOOptionList, retrieveFrequencyTypeOptionList, retrieveGenderOptionList, retrieveGradeDTOByUserProfileOptionList, retrieveGradeDTOOptionList, retrieveGradeLevelOptionList, retrieveInstitutionDTOByUserProfileOptionList, retrieveInstitutionDTOOptionList, retrieveInstitutionTypeByLevel, retrieveInstitutionTypeOptionList, retrieveLastNOptionList, retrieveLeagueTypeOptionList, retrieveMonthNameByIndex, retrieveOpticalExamPartTypeOptionList, retrieveOpticalExamTypeOptionList, retrieveOtherBadgeDTOList, retrieveOutcomePlanTypeOptionList, retrievePhoneNumberAreaCodeList, retrieveProvinceNameOptionList, retrieveReportTypeOptionList, retrieveSeasonDTOByUserProfileOptionList, retrieveSeasonDTOOptionList, retrieveStandardExamCoterieTypeOptionListByStandardExamType, retrieveStandardExamTypeIcon, retrieveStandardExamTypeOptionList, retrieveStatusOptionList, retrieveTeachingMethodologyOptionList, retrieveTimeFilterOptionList, retrieveTimeFilterWithLastNOptionList, retrieveTokenUsageSubTypeOptionList, retrieveTokenUsageTypeOptionList, retrieveTotalTimeSpentInMinutes, retrieveTotalTimeSpentInSeconds, retrieveUserAuthorityGeneralOptionList, retrieveUserRoleOptionList, retrieveValidationRequirementList, shuffleArray, useScreenSize };
|
|
946
|
+
export { ActivityBodyContent, ActivityEmptyContent, ActivityEvaluationRubricContent, ActivityLabel, ActivityPreviewByAnswerData, ActivityPreviewByData, ActivitySolutionContent, ActivityTemplateLabel, ApproveButton, BaseCard, BaseImage, BaseLoading, BaseLoadingWithText, BaseModal, BasePDF, BaseTitle, BlueVerticalDividerLine, BrandLabel, CancelButton, CategoryLabel, CoterieLabel, CreateButton, DeleteButton, DividerLine, DropdownActivityContent, FillInTheBlanksActivityContent, FullCard, GradeLabel, GroupingActivityContent, InfoWithText, InputGroup, InputWithSpecialExpression, LeftTextRightInputGroup, MCMAActivityContent, MCSAActivityContent, MatchingActivityContent, ONE_DAY, ONE_HOUR, ONE_MONTH, ONE_WEEK, OpenEndedActivityContent, OrderingActivityContent, OutcomeLabel, PageTravelGroup, PersonalLabel, PrimaryButton, ProgressBar, PublishingHouseLabel, ScoreBar, SecondaryButton, SelectionBox, SelectionCheckbox, SelectionTab, SelectionTabFill, StatusError, SubTitle, THREE_MONTHS, TimedProgressBar, TrueFalseActivityContent, VerticalDividerLine, base64ToFile, calculateEndDateOfWeek, calculateLevenshteinDistance, calculateStartDateOfWeek, checkActivityAnswerState, checkIfAnswerIsEmpty, constructActivityAnswerMap, constructActivityAnswerStateList, constructActivityData, constructActivityItemListBodyOnly, constructActivityItemListForSolution, constructActivityItemListMaterialOnly, constructActivityItemListSolutionOnly, constructActivityItemListWithAnswersForAI, constructActivityItemListWithSolutionForAI, constructAnswerBasedOnData, constructBaseNumericIndividualModel, constructBaseVerbalIndvidualModel, constructCategoryTreeFromParentCode, constructCombinedCatchxamReportMap, constructCombinedOutcomeActivityScoreMapFromCombinedReport, constructInputWithSpecialExpressionList, constructMonthName, constructOutcomeActivityScoreList, constructUserProfileQueryParams, constructWeekName, convertDataURLtoFile, convertToBase64, convertToBodyMapString, convertToEvaluationRubricMapString, convertToSolutionMapString, convertTurkishCharactersToEnglish, filterCategoryVersionCodeOptionList, filterCategoryVersionCodeOptionListByGradeDTO, filterCategoryVersionCodeOptionListByInstitutionDTO, filterCoterieTypeByDistinctOptionList, filterCoterieTypeOptionList, filterGradeLevelOptionList, filterUserRoleOptionList, findAISettingsFromCurrentProfile, findBestFitActivity, formatPriceWithCommas, getColorByIndex, ignoreMathematicalExpression, mergeObjects, parseBodyMapFromData, parseContentMapFromData, parseJwt, parseMaterialMapFromData, retrieveActivityAnswerFromAnswerList, retrieveActivityCountOptionList, retrieveActivityMethodologyOptionList, retrieveActivityTemplateDTOOptionList, retrieveAllEarnedBadgeDTOListByCoterieType, retrieveAllEarnedBadgeDTOListByCoterieTypeList, retrieveAnnouncementAudienceOptionList, retrieveAnnouncementTypeOptionList, retrieveBadgeRuleListByParams, retrieveBadgeRuleTextByParams, retrieveBranchDTOByUserProfileOptionList, retrieveBranchDTOOptionList, retrieveBrandDTOByUserProfileOptionList, retrieveBrandDTOOptionList, retrieveCampusDTOByUserProfileOptionList, retrieveCampusDTOOptionList, retrieveCategoryVersionCodeOptionList, retrieveClockTimeLeft, retrieveColorByScore, retrieveContentTypeOptionList, retrieveContestTypeOptionList, retrieveCoterieTypeFromStandardExamCoterieType, retrieveCoterieTypeOptionList, retrieveCountryCodeOptionList, retrieveCountryNameOptionList, retrieveCurrencyTypeOptionList, retrieveCurrentDefaultDataMap, retrieveDateIntervalOptionList, retrieveDefaultUserRoleOptionList, retrieveDelayTypeOptionList, retrieveDifficultyByActivityTypeFromData, retrieveDifficultyOptionList, retrieveDiscountAmountTypeOptionList, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveEnableOptionList, retrieveExternalRegistrationDTOOptionList, retrieveFrequencyTypeOptionList, retrieveGenderOptionList, retrieveGradeDTOByUserProfileOptionList, retrieveGradeDTOOptionList, retrieveGradeLevelOptionList, retrieveInstitutionDTOByUserProfileOptionList, retrieveInstitutionDTOOptionList, retrieveInstitutionTypeByLevel, retrieveInstitutionTypeOptionList, retrieveLastNOptionList, retrieveLeagueThresholdByLeagueType, retrieveLeagueThresholds, retrieveLeagueTypeOptionList, retrieveMonthNameByIndex, retrieveOpticalExamPartTypeOptionList, retrieveOpticalExamTypeOptionList, retrieveOtherBadgeDTOList, retrieveOutcomePlanTypeOptionList, retrievePhoneNumberAreaCodeList, retrieveProvinceNameOptionList, retrieveReportTypeOptionList, retrieveSeasonDTOByUserProfileOptionList, retrieveSeasonDTOOptionList, retrieveStandardExamCoterieTypeOptionListByStandardExamType, retrieveStandardExamTypeIcon, retrieveStandardExamTypeOptionList, retrieveStatusOptionList, retrieveTeachingMethodologyOptionList, retrieveTimeFilterOptionList, retrieveTimeFilterWithLastNOptionList, retrieveTokenUsageSubTypeOptionList, retrieveTokenUsageTypeOptionList, retrieveTotalTimeSpentInMinutes, retrieveTotalTimeSpentInSeconds, retrieveUserAuthorityGeneralOptionList, retrieveUserRoleOptionList, retrieveValidationRequirementList, shuffleArray, useScreenSize };
|
package/dist/index.js
CHANGED
|
@@ -229,6 +229,8 @@ __export(index_exports, {
|
|
|
229
229
|
retrieveInstitutionTypeByLevel: () => retrieveInstitutionTypeByLevel,
|
|
230
230
|
retrieveInstitutionTypeOptionList: () => retrieveInstitutionTypeOptionList,
|
|
231
231
|
retrieveLastNOptionList: () => retrieveLastNOptionList,
|
|
232
|
+
retrieveLeagueThresholdByLeagueType: () => retrieveLeagueThresholdByLeagueType,
|
|
233
|
+
retrieveLeagueThresholds: () => retrieveLeagueThresholds,
|
|
232
234
|
retrieveLeagueTypeOptionList: () => retrieveLeagueTypeOptionList,
|
|
233
235
|
retrieveMonthNameByIndex: () => retrieveMonthNameByIndex,
|
|
234
236
|
retrieveOpticalExamPartTypeOptionList: () => retrieveOpticalExamPartTypeOptionList,
|
|
@@ -9361,9 +9363,9 @@ var formatPriceWithCommas = (number, language) => {
|
|
|
9361
9363
|
};
|
|
9362
9364
|
var retrieveInstitutionTypeByLevel = (level) => {
|
|
9363
9365
|
if (level < 5) {
|
|
9364
|
-
return "
|
|
9366
|
+
return "EAST_PRIMARY";
|
|
9365
9367
|
} else if (level < 9) {
|
|
9366
|
-
return "
|
|
9368
|
+
return "EAST_SECONDARY";
|
|
9367
9369
|
} else if (level < 13) {
|
|
9368
9370
|
return "HIGH_SCHOOL";
|
|
9369
9371
|
}
|
|
@@ -10466,6 +10468,24 @@ var retrieveLeagueTypeOptionList = () => {
|
|
|
10466
10468
|
}
|
|
10467
10469
|
];
|
|
10468
10470
|
};
|
|
10471
|
+
var retrieveLeagueThresholds = () => {
|
|
10472
|
+
return {
|
|
10473
|
+
CURIOUS_MIND: { promotion: 0.5, stay: 0.5, demotion: 0 },
|
|
10474
|
+
OBSERVER: { promotion: 0.45, stay: 0.45, demotion: 0.1 },
|
|
10475
|
+
EXPLORER: { promotion: 0.4, stay: 0.45, demotion: 0.15 },
|
|
10476
|
+
THINKER: { promotion: 0.35, stay: 0.45, demotion: 0.2 },
|
|
10477
|
+
ANALYST: { promotion: 0.3, stay: 0.45, demotion: 0.25 },
|
|
10478
|
+
STRATEGIST: { promotion: 0.25, stay: 0.5, demotion: 0.25 },
|
|
10479
|
+
INNOVATOR: { promotion: 0.2, stay: 0.5, demotion: 0.3 },
|
|
10480
|
+
VISIONARY: { promotion: 0.15, stay: 0.5, demotion: 0.35 },
|
|
10481
|
+
MENTOR: { promotion: 0.1, stay: 0.5, demotion: 0.4 },
|
|
10482
|
+
LUMINARY: { promotion: 0, stay: 0.5, demotion: 0.5 }
|
|
10483
|
+
};
|
|
10484
|
+
};
|
|
10485
|
+
var retrieveLeagueThresholdByLeagueType = (leagueType) => {
|
|
10486
|
+
const leagueThresholds = retrieveLeagueThresholds();
|
|
10487
|
+
return leagueThresholds[leagueType];
|
|
10488
|
+
};
|
|
10469
10489
|
|
|
10470
10490
|
// src/utilization/IndividualModelUtilization.ts
|
|
10471
10491
|
var NUMBER_OF_ACTIVITY_TEMPLATE = 9;
|
|
@@ -11099,6 +11119,8 @@ var retrieveActivityMethodologyOptionList = () => {
|
|
|
11099
11119
|
retrieveInstitutionTypeByLevel,
|
|
11100
11120
|
retrieveInstitutionTypeOptionList,
|
|
11101
11121
|
retrieveLastNOptionList,
|
|
11122
|
+
retrieveLeagueThresholdByLeagueType,
|
|
11123
|
+
retrieveLeagueThresholds,
|
|
11102
11124
|
retrieveLeagueTypeOptionList,
|
|
11103
11125
|
retrieveMonthNameByIndex,
|
|
11104
11126
|
retrieveOpticalExamPartTypeOptionList,
|
package/dist/index.mjs
CHANGED
|
@@ -9140,9 +9140,9 @@ var formatPriceWithCommas = (number, language) => {
|
|
|
9140
9140
|
};
|
|
9141
9141
|
var retrieveInstitutionTypeByLevel = (level) => {
|
|
9142
9142
|
if (level < 5) {
|
|
9143
|
-
return "
|
|
9143
|
+
return "EAST_PRIMARY";
|
|
9144
9144
|
} else if (level < 9) {
|
|
9145
|
-
return "
|
|
9145
|
+
return "EAST_SECONDARY";
|
|
9146
9146
|
} else if (level < 13) {
|
|
9147
9147
|
return "HIGH_SCHOOL";
|
|
9148
9148
|
}
|
|
@@ -10245,6 +10245,24 @@ var retrieveLeagueTypeOptionList = () => {
|
|
|
10245
10245
|
}
|
|
10246
10246
|
];
|
|
10247
10247
|
};
|
|
10248
|
+
var retrieveLeagueThresholds = () => {
|
|
10249
|
+
return {
|
|
10250
|
+
CURIOUS_MIND: { promotion: 0.5, stay: 0.5, demotion: 0 },
|
|
10251
|
+
OBSERVER: { promotion: 0.45, stay: 0.45, demotion: 0.1 },
|
|
10252
|
+
EXPLORER: { promotion: 0.4, stay: 0.45, demotion: 0.15 },
|
|
10253
|
+
THINKER: { promotion: 0.35, stay: 0.45, demotion: 0.2 },
|
|
10254
|
+
ANALYST: { promotion: 0.3, stay: 0.45, demotion: 0.25 },
|
|
10255
|
+
STRATEGIST: { promotion: 0.25, stay: 0.5, demotion: 0.25 },
|
|
10256
|
+
INNOVATOR: { promotion: 0.2, stay: 0.5, demotion: 0.3 },
|
|
10257
|
+
VISIONARY: { promotion: 0.15, stay: 0.5, demotion: 0.35 },
|
|
10258
|
+
MENTOR: { promotion: 0.1, stay: 0.5, demotion: 0.4 },
|
|
10259
|
+
LUMINARY: { promotion: 0, stay: 0.5, demotion: 0.5 }
|
|
10260
|
+
};
|
|
10261
|
+
};
|
|
10262
|
+
var retrieveLeagueThresholdByLeagueType = (leagueType) => {
|
|
10263
|
+
const leagueThresholds = retrieveLeagueThresholds();
|
|
10264
|
+
return leagueThresholds[leagueType];
|
|
10265
|
+
};
|
|
10248
10266
|
|
|
10249
10267
|
// src/utilization/IndividualModelUtilization.ts
|
|
10250
10268
|
var NUMBER_OF_ACTIVITY_TEMPLATE = 9;
|
|
@@ -10877,6 +10895,8 @@ export {
|
|
|
10877
10895
|
retrieveInstitutionTypeByLevel,
|
|
10878
10896
|
retrieveInstitutionTypeOptionList,
|
|
10879
10897
|
retrieveLastNOptionList,
|
|
10898
|
+
retrieveLeagueThresholdByLeagueType,
|
|
10899
|
+
retrieveLeagueThresholds,
|
|
10880
10900
|
retrieveLeagueTypeOptionList,
|
|
10881
10901
|
retrieveMonthNameByIndex,
|
|
10882
10902
|
retrieveOpticalExamPartTypeOptionList,
|
package/package.json
CHANGED
|
@@ -551,3 +551,23 @@ export const retrieveLeagueTypeOptionList = () => {
|
|
|
551
551
|
},
|
|
552
552
|
];
|
|
553
553
|
};
|
|
554
|
+
|
|
555
|
+
export const retrieveLeagueThresholds = () => {
|
|
556
|
+
return {
|
|
557
|
+
CURIOUS_MIND: { promotion: 0.5, stay: 0.5, demotion: 0.0 },
|
|
558
|
+
OBSERVER: { promotion: 0.45, stay: 0.45, demotion: 0.1 },
|
|
559
|
+
EXPLORER: { promotion: 0.4, stay: 0.45, demotion: 0.15 },
|
|
560
|
+
THINKER: { promotion: 0.35, stay: 0.45, demotion: 0.2 },
|
|
561
|
+
ANALYST: { promotion: 0.3, stay: 0.45, demotion: 0.25 },
|
|
562
|
+
STRATEGIST: { promotion: 0.25, stay: 0.5, demotion: 0.25 },
|
|
563
|
+
INNOVATOR: { promotion: 0.2, stay: 0.5, demotion: 0.3 },
|
|
564
|
+
VISIONARY: { promotion: 0.15, stay: 0.5, demotion: 0.35 },
|
|
565
|
+
MENTOR: { promotion: 0.1, stay: 0.5, demotion: 0.4 },
|
|
566
|
+
LUMINARY: { promotion: 0.0, stay: 0.5, demotion: 0.5 },
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
export const retrieveLeagueThresholdByLeagueType = (leagueType: string) => {
|
|
571
|
+
const leagueThresholds: any = retrieveLeagueThresholds();
|
|
572
|
+
return leagueThresholds[leagueType];
|
|
573
|
+
};
|
|
@@ -1223,9 +1223,9 @@ export const formatPriceWithCommas = (number: number, language: string) => {
|
|
|
1223
1223
|
|
|
1224
1224
|
export const retrieveInstitutionTypeByLevel = (level: number) => {
|
|
1225
1225
|
if (level < 5) {
|
|
1226
|
-
return "
|
|
1226
|
+
return "EAST_PRIMARY";
|
|
1227
1227
|
} else if (level < 9) {
|
|
1228
|
-
return "
|
|
1228
|
+
return "EAST_SECONDARY";
|
|
1229
1229
|
} else if (level < 13) {
|
|
1230
1230
|
return "HIGH_SCHOOL";
|
|
1231
1231
|
}
|