catchup-library-web 1.16.13 → 1.17.1

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 CHANGED
@@ -265,6 +265,14 @@ declare const ActivityPreviewByData: ({ data, showType, showDescription, lockedT
265
265
 
266
266
  declare const ActivityPreviewByAnswerData: ({ data, showType, showDescription, lockedType, typeOptionList, showSolution, showEvaluationRubric, showDifficulty, isFullScreen, showCorrectAnswer, }: IActivityPreviewByAnswerDataProps) => react_jsx_runtime.JSX.Element | null;
267
267
 
268
+ interface IErrorProperties {
269
+ statusCode?: string;
270
+ statusText?: string;
271
+ textSize?: string;
272
+ }
273
+
274
+ declare const Error: ({ statusCode, statusText, textSize }: IErrorProperties) => react_jsx_runtime.JSX.Element;
275
+
268
276
  interface IDividerLineProps {
269
277
  opacity: string;
270
278
  }
@@ -859,4 +867,4 @@ declare const retrieveActivityMethodologyOptionList: () => {
859
867
  text: string;
860
868
  }[];
861
869
 
862
- 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, SubTitle, THREE_MONTHS, TimedProgressBar, TrueFalseActivityContent, VerticalDividerLine, adjustForTimezone, 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, retrieveActivityMethodologyOptionList, retrieveActivityTemplateDTOOptionList, retrieveAllEarnedBadgeDTOListByCoterieType, retrieveAllEarnedBadgeDTOListByCoterieTypeList, retrieveAnnouncementAudienceOptionList, retrieveAnnouncementTypeOptionList, retrieveBadgeRuleListByParams, retrieveBadgeRuleTextByParams, retrieveBranchDTOByUserProfileOptionList, retrieveBranchDTOOptionList, retrieveBrandDTOByUserProfileOptionList, retrieveBrandDTOOptionList, retrieveCampusDTOByUserProfileOptionList, retrieveCampusDTOOptionList, retrieveCategoryVersionCodeOptionList, retrieveClockTimeLeft, retrieveColorByScore, retrieveContentTypeOptionList, retrieveContestTypeOptionList, retrieveCoterieTypeFromStandardExamCoterieType, retrieveCoterieTypeOptionList, retrieveCountryCodeOptionList, retrieveCountryNameOptionList, retrieveCurrentDefaultDataMap, retrieveDateIntervalOptionList, retrieveDefaultUserRoleOptionList, retrieveDifficultyByActivityTypeFromData, retrieveDifficultyOptionList, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveEnableOptionList, retrieveExternalRegistrationDTOOptionList, retrieveFrequencyTypeOptionList, retrieveGenderOptionList, retrieveGradeDTOByUserProfileOptionList, retrieveGradeDTOOptionList, retrieveGradeLevelOptionList, retrieveInstitutionDTOByUserProfileOptionList, retrieveInstitutionDTOOptionList, retrieveInstitutionTypeOptionList, retrieveLastNOptionList, 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 };
870
+ 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, Error, 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, SubTitle, THREE_MONTHS, TimedProgressBar, TrueFalseActivityContent, VerticalDividerLine, adjustForTimezone, 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, retrieveActivityMethodologyOptionList, retrieveActivityTemplateDTOOptionList, retrieveAllEarnedBadgeDTOListByCoterieType, retrieveAllEarnedBadgeDTOListByCoterieTypeList, retrieveAnnouncementAudienceOptionList, retrieveAnnouncementTypeOptionList, retrieveBadgeRuleListByParams, retrieveBadgeRuleTextByParams, retrieveBranchDTOByUserProfileOptionList, retrieveBranchDTOOptionList, retrieveBrandDTOByUserProfileOptionList, retrieveBrandDTOOptionList, retrieveCampusDTOByUserProfileOptionList, retrieveCampusDTOOptionList, retrieveCategoryVersionCodeOptionList, retrieveClockTimeLeft, retrieveColorByScore, retrieveContentTypeOptionList, retrieveContestTypeOptionList, retrieveCoterieTypeFromStandardExamCoterieType, retrieveCoterieTypeOptionList, retrieveCountryCodeOptionList, retrieveCountryNameOptionList, retrieveCurrentDefaultDataMap, retrieveDateIntervalOptionList, retrieveDefaultUserRoleOptionList, retrieveDifficultyByActivityTypeFromData, retrieveDifficultyOptionList, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveEnableOptionList, retrieveExternalRegistrationDTOOptionList, retrieveFrequencyTypeOptionList, retrieveGenderOptionList, retrieveGradeDTOByUserProfileOptionList, retrieveGradeDTOOptionList, retrieveGradeLevelOptionList, retrieveInstitutionDTOByUserProfileOptionList, retrieveInstitutionDTOOptionList, retrieveInstitutionTypeOptionList, retrieveLastNOptionList, 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
@@ -265,6 +265,14 @@ declare const ActivityPreviewByData: ({ data, showType, showDescription, lockedT
265
265
 
266
266
  declare const ActivityPreviewByAnswerData: ({ data, showType, showDescription, lockedType, typeOptionList, showSolution, showEvaluationRubric, showDifficulty, isFullScreen, showCorrectAnswer, }: IActivityPreviewByAnswerDataProps) => react_jsx_runtime.JSX.Element | null;
267
267
 
268
+ interface IErrorProperties {
269
+ statusCode?: string;
270
+ statusText?: string;
271
+ textSize?: string;
272
+ }
273
+
274
+ declare const Error: ({ statusCode, statusText, textSize }: IErrorProperties) => react_jsx_runtime.JSX.Element;
275
+
268
276
  interface IDividerLineProps {
269
277
  opacity: string;
270
278
  }
@@ -859,4 +867,4 @@ declare const retrieveActivityMethodologyOptionList: () => {
859
867
  text: string;
860
868
  }[];
861
869
 
862
- 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, SubTitle, THREE_MONTHS, TimedProgressBar, TrueFalseActivityContent, VerticalDividerLine, adjustForTimezone, 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, retrieveActivityMethodologyOptionList, retrieveActivityTemplateDTOOptionList, retrieveAllEarnedBadgeDTOListByCoterieType, retrieveAllEarnedBadgeDTOListByCoterieTypeList, retrieveAnnouncementAudienceOptionList, retrieveAnnouncementTypeOptionList, retrieveBadgeRuleListByParams, retrieveBadgeRuleTextByParams, retrieveBranchDTOByUserProfileOptionList, retrieveBranchDTOOptionList, retrieveBrandDTOByUserProfileOptionList, retrieveBrandDTOOptionList, retrieveCampusDTOByUserProfileOptionList, retrieveCampusDTOOptionList, retrieveCategoryVersionCodeOptionList, retrieveClockTimeLeft, retrieveColorByScore, retrieveContentTypeOptionList, retrieveContestTypeOptionList, retrieveCoterieTypeFromStandardExamCoterieType, retrieveCoterieTypeOptionList, retrieveCountryCodeOptionList, retrieveCountryNameOptionList, retrieveCurrentDefaultDataMap, retrieveDateIntervalOptionList, retrieveDefaultUserRoleOptionList, retrieveDifficultyByActivityTypeFromData, retrieveDifficultyOptionList, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveEnableOptionList, retrieveExternalRegistrationDTOOptionList, retrieveFrequencyTypeOptionList, retrieveGenderOptionList, retrieveGradeDTOByUserProfileOptionList, retrieveGradeDTOOptionList, retrieveGradeLevelOptionList, retrieveInstitutionDTOByUserProfileOptionList, retrieveInstitutionDTOOptionList, retrieveInstitutionTypeOptionList, retrieveLastNOptionList, 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 };
870
+ 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, Error, 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, SubTitle, THREE_MONTHS, TimedProgressBar, TrueFalseActivityContent, VerticalDividerLine, adjustForTimezone, 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, retrieveActivityMethodologyOptionList, retrieveActivityTemplateDTOOptionList, retrieveAllEarnedBadgeDTOListByCoterieType, retrieveAllEarnedBadgeDTOListByCoterieTypeList, retrieveAnnouncementAudienceOptionList, retrieveAnnouncementTypeOptionList, retrieveBadgeRuleListByParams, retrieveBadgeRuleTextByParams, retrieveBranchDTOByUserProfileOptionList, retrieveBranchDTOOptionList, retrieveBrandDTOByUserProfileOptionList, retrieveBrandDTOOptionList, retrieveCampusDTOByUserProfileOptionList, retrieveCampusDTOOptionList, retrieveCategoryVersionCodeOptionList, retrieveClockTimeLeft, retrieveColorByScore, retrieveContentTypeOptionList, retrieveContestTypeOptionList, retrieveCoterieTypeFromStandardExamCoterieType, retrieveCoterieTypeOptionList, retrieveCountryCodeOptionList, retrieveCountryNameOptionList, retrieveCurrentDefaultDataMap, retrieveDateIntervalOptionList, retrieveDefaultUserRoleOptionList, retrieveDifficultyByActivityTypeFromData, retrieveDifficultyOptionList, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveEnableOptionList, retrieveExternalRegistrationDTOOptionList, retrieveFrequencyTypeOptionList, retrieveGenderOptionList, retrieveGradeDTOByUserProfileOptionList, retrieveGradeDTOOptionList, retrieveGradeLevelOptionList, retrieveInstitutionDTOByUserProfileOptionList, retrieveInstitutionDTOOptionList, retrieveInstitutionTypeOptionList, retrieveLastNOptionList, 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
@@ -92,6 +92,7 @@ __export(index_exports, {
92
92
  DeleteButton: () => DeleteButton_default,
93
93
  DividerLine: () => DividerLine_default,
94
94
  DropdownActivityContent: () => DropdownActivityContent_default,
95
+ Error: () => Error_default,
95
96
  FillInTheBlanksActivityContent: () => FillInTheBlanksActivityContent_default,
96
97
  FullCard: () => FullCard_default,
97
98
  GradeLabel: () => GradeLabel_default,
@@ -7392,10 +7393,28 @@ var ActivityPreviewByAnswerData = ({
7392
7393
  };
7393
7394
  var ActivityPreviewByAnswerData_default = ActivityPreviewByAnswerData;
7394
7395
 
7395
- // src/components/dividers/BlueVerticalDividerLine.tsx
7396
+ // src/components/errors/Error.tsx
7396
7397
  var import_jsx_runtime51 = require("react/jsx-runtime");
7398
+ var Error2 = ({ statusCode, statusText, textSize }) => {
7399
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex flex-col justify-center items-center", children: [
7400
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: "text-6xl text-catchup-red my-5", children: i18n_default.t("ooops_text") }),
7401
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "text-center my-5", children: [
7402
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: "italic", children: i18n_default.t("unexcepted_error_text") }),
7403
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("p", { className: `${textSize ? textSize : "text-lg"}`, children: [
7404
+ "(",
7405
+ statusCode ? `${statusCode} - ` : null,
7406
+ statusText,
7407
+ ")"
7408
+ ] })
7409
+ ] })
7410
+ ] });
7411
+ };
7412
+ var Error_default = Error2;
7413
+
7414
+ // src/components/dividers/BlueVerticalDividerLine.tsx
7415
+ var import_jsx_runtime52 = require("react/jsx-runtime");
7397
7416
  var BlueVerticalDividerLine = ({ opacity }) => {
7398
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
7417
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7399
7418
  "div",
7400
7419
  {
7401
7420
  className: `w-[2px] h-[40px] my-4 bg-catchup-blue ${opacity === "medium" ? "opacity-50" : ""}`
@@ -7405,7 +7424,7 @@ var BlueVerticalDividerLine = ({ opacity }) => {
7405
7424
  var BlueVerticalDividerLine_default = BlueVerticalDividerLine;
7406
7425
 
7407
7426
  // src/components/groups/LeftTextRightInputGroup.tsx
7408
- var import_jsx_runtime52 = require("react/jsx-runtime");
7427
+ var import_jsx_runtime53 = require("react/jsx-runtime");
7409
7428
  var LeftTextRightInputGroup = ({
7410
7429
  type,
7411
7430
  title,
@@ -7415,9 +7434,9 @@ var LeftTextRightInputGroup = ({
7415
7434
  disabled,
7416
7435
  errorText
7417
7436
  }) => {
7418
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "w-full flex flex-row mx-2", children: [
7419
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", { children: title }) }),
7420
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7437
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "w-full flex flex-row mx-2", children: [
7438
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { children: title }) }),
7439
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7421
7440
  InputGroup_default,
7422
7441
  {
7423
7442
  type,
@@ -7434,7 +7453,7 @@ var LeftTextRightInputGroup_default = LeftTextRightInputGroup;
7434
7453
 
7435
7454
  // src/components/groups/PageTravelGroup.tsx
7436
7455
  var import_react30 = require("react");
7437
- var import_jsx_runtime53 = require("react/jsx-runtime");
7456
+ var import_jsx_runtime54 = require("react/jsx-runtime");
7438
7457
  var PageTravelGroup = ({
7439
7458
  isImageProcessing,
7440
7459
  handleImageProcessing,
@@ -7452,8 +7471,8 @@ var PageTravelGroup = ({
7452
7471
  (0, import_react30.useEffect)(() => {
7453
7472
  setNewPageNumber(pageNumber + 1);
7454
7473
  }, [pageNumber]);
7455
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex-1 flex flex-row justify-center items-center flex-wrap", children: [
7456
- pageNumber === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7474
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex-1 flex flex-row justify-center items-center flex-wrap", children: [
7475
+ pageNumber === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7457
7476
  BaseImage_default,
7458
7477
  {
7459
7478
  size: "small",
@@ -7471,7 +7490,7 @@ var PageTravelGroup = ({
7471
7490
  }
7472
7491
  }
7473
7492
  ) }),
7474
- Array.from(Array(totalPageNumber).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "px-2", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7493
+ Array.from(Array(totalPageNumber).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "px-2", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7475
7494
  "p",
7476
7495
  {
7477
7496
  className: `${pageNumber === index ? "text-2xl" : "text-md"} cursor-pointer`,
@@ -7486,7 +7505,7 @@ var PageTravelGroup = ({
7486
7505
  children: index + 1
7487
7506
  }
7488
7507
  ) }, index)),
7489
- totalPageNumber === 0 || pageNumber === totalPageNumber - 1 ? null : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7508
+ totalPageNumber === 0 || pageNumber === totalPageNumber - 1 ? null : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7490
7509
  BaseImage_default,
7491
7510
  {
7492
7511
  size: "small",
@@ -7504,7 +7523,7 @@ var PageTravelGroup = ({
7504
7523
  }
7505
7524
  }
7506
7525
  ) }),
7507
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7526
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7508
7527
  "input",
7509
7528
  {
7510
7529
  className: `w-[90px] py-2 px-4 border border-catchup-gray-100 rounded-catchup-xlarge focus:outline-none placeholder-catchup-gray-200 focus:border-catchup-blue-400 focus:shadow-input`,
@@ -7528,14 +7547,14 @@ var PageTravelGroup = ({
7528
7547
  var PageTravelGroup_default = PageTravelGroup;
7529
7548
 
7530
7549
  // src/components/boxes/SelectionCheckbox.tsx
7531
- var import_jsx_runtime54 = require("react/jsx-runtime");
7550
+ var import_jsx_runtime55 = require("react/jsx-runtime");
7532
7551
  var SelectionCheckbox = ({
7533
7552
  optionList,
7534
7553
  selectedIdList,
7535
7554
  handleSelectOnClick,
7536
7555
  handleRemoveOnClick
7537
7556
  }) => {
7538
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7557
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7539
7558
  "div",
7540
7559
  {
7541
7560
  className: `${selectedIdList.findIndex(
@@ -7550,14 +7569,14 @@ var SelectionCheckbox = ({
7550
7569
  handleRemoveOnClick(option.id);
7551
7570
  }
7552
7571
  },
7553
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
7572
+ children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
7554
7573
  "div",
7555
7574
  {
7556
7575
  className: `flex flex-row items-center gap-x-1 ${selectedIdList.findIndex(
7557
7576
  (selectedId) => selectedId === option.id
7558
7577
  ) > -1 ? "opacity-100" : "opacity-50"}`,
7559
7578
  children: [
7560
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7579
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7561
7580
  BaseImage_default,
7562
7581
  {
7563
7582
  src: selectedIdList.findIndex(
@@ -7567,7 +7586,7 @@ var SelectionCheckbox = ({
7567
7586
  size: "small"
7568
7587
  }
7569
7588
  ),
7570
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { children: option.text }) })
7589
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { children: option.text }) })
7571
7590
  ]
7572
7591
  }
7573
7592
  )
@@ -7578,7 +7597,7 @@ var SelectionCheckbox = ({
7578
7597
  var SelectionCheckbox_default = SelectionCheckbox;
7579
7598
 
7580
7599
  // src/components/tabs/SelectionTab.tsx
7581
- var import_jsx_runtime55 = require("react/jsx-runtime");
7600
+ var import_jsx_runtime56 = require("react/jsx-runtime");
7582
7601
  var SelectionTab = ({
7583
7602
  optionList,
7584
7603
  selectedId,
@@ -7588,7 +7607,7 @@ var SelectionTab = ({
7588
7607
  textColor,
7589
7608
  borderColor
7590
7609
  }) => {
7591
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap mb-2 text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
7610
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap mb-2 text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
7592
7611
  "div",
7593
7612
  {
7594
7613
  className: `${selectedId === option.id ? selectedTextColor ? selectedTextColor : "text-catchup-blue-500" : textColor ? textColor : "text-catchup-gray-300"} ${selectedId === option.id ? selectedBorderColor ? selectedBorderColor : "border-catchup-blue-500" : borderColor ? borderColor : "border-catchup-gray-50"} border-b-2 transition-all duration-300 p-3 cursor-pointer`,
@@ -7596,8 +7615,8 @@ var SelectionTab = ({
7596
7615
  handleSelectOnClick(option.id);
7597
7616
  },
7598
7617
  children: [
7599
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "text-lg", children: option.title }),
7600
- option.subTitle ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "text-md", children: option.subTitle }) : null
7618
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "text-lg", children: option.title }),
7619
+ option.subTitle ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "text-md", children: option.subTitle }) : null
7601
7620
  ]
7602
7621
  },
7603
7622
  index
@@ -7606,20 +7625,20 @@ var SelectionTab = ({
7606
7625
  var SelectionTab_default = SelectionTab;
7607
7626
 
7608
7627
  // src/components/tabs/SelectionTabFill.tsx
7609
- var import_jsx_runtime56 = require("react/jsx-runtime");
7628
+ var import_jsx_runtime57 = require("react/jsx-runtime");
7610
7629
  var SelectionTabFill = ({
7611
7630
  optionList,
7612
7631
  selectedId,
7613
7632
  handleSelectOnClick
7614
7633
  }) => {
7615
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7634
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7616
7635
  "div",
7617
7636
  {
7618
7637
  className: "cursor-pointer",
7619
7638
  onClick: () => {
7620
7639
  handleSelectOnClick(option.id);
7621
7640
  },
7622
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
7641
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7623
7642
  "p",
7624
7643
  {
7625
7644
  className: `${selectedId === option.id ? "text-catchup-white bg-catchup-blue-500" : "text-catchup-gray-300"} transition-all duration-300 rounded-catchup-medium px-2 py-1`,
@@ -7633,34 +7652,34 @@ var SelectionTabFill = ({
7633
7652
  var SelectionTabFill_default = SelectionTabFill;
7634
7653
 
7635
7654
  // src/components/labels/ActivityTemplateLabel.tsx
7636
- var import_jsx_runtime57 = require("react/jsx-runtime");
7655
+ var import_jsx_runtime58 = require("react/jsx-runtime");
7637
7656
  var ActivityTemplateLabel = ({
7638
7657
  title,
7639
7658
  icon,
7640
7659
  font
7641
7660
  }) => {
7642
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7643
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7644
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: font ? font : "text-sm", children: title })
7661
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7662
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7663
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: font ? font : "text-sm", children: title })
7645
7664
  ] }) });
7646
7665
  };
7647
7666
  var ActivityTemplateLabel_default = ActivityTemplateLabel;
7648
7667
 
7649
7668
  // src/components/labels/BrandLabel.tsx
7650
- var import_jsx_runtime58 = require("react/jsx-runtime");
7669
+ var import_jsx_runtime59 = require("react/jsx-runtime");
7651
7670
  var BrandLabel = ({ title, icon, font }) => {
7652
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7653
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7654
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: font ? font : "text-sm", children: title })
7671
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7672
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7673
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: font ? font : "text-sm", children: title })
7655
7674
  ] }) });
7656
7675
  };
7657
7676
  var BrandLabel_default = BrandLabel;
7658
7677
 
7659
7678
  // src/components/labels/CategoryLabel.tsx
7660
- var import_jsx_runtime59 = require("react/jsx-runtime");
7679
+ var import_jsx_runtime60 = require("react/jsx-runtime");
7661
7680
  var CategoryLabel = ({ title, icon, font }) => {
7662
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7663
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
7681
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7682
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
7664
7683
  BaseImage_default,
7665
7684
  {
7666
7685
  src: "/icons/category-label.webp",
@@ -7668,40 +7687,40 @@ var CategoryLabel = ({ title, icon, font }) => {
7668
7687
  size: "xsmall"
7669
7688
  }
7670
7689
  ),
7671
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: font ? font : "text-sm", children: title })
7690
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: font ? font : "text-sm", children: title })
7672
7691
  ] }) });
7673
7692
  };
7674
7693
  var CategoryLabel_default = CategoryLabel;
7675
7694
 
7676
7695
  // src/components/labels/CoterieLabel.tsx
7677
- var import_jsx_runtime60 = require("react/jsx-runtime");
7696
+ var import_jsx_runtime61 = require("react/jsx-runtime");
7678
7697
  var CoterieLabel = ({ title, font }) => {
7679
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7698
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7680
7699
  };
7681
7700
  var CoterieLabel_default = CoterieLabel;
7682
7701
 
7683
7702
  // src/components/labels/GradeLabel.tsx
7684
- var import_jsx_runtime61 = require("react/jsx-runtime");
7703
+ var import_jsx_runtime62 = require("react/jsx-runtime");
7685
7704
  var GradeLabel = ({ title, font }) => {
7686
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7705
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7687
7706
  };
7688
7707
  var GradeLabel_default = GradeLabel;
7689
7708
 
7690
7709
  // src/components/labels/OutcomeLabel.tsx
7691
- var import_jsx_runtime62 = require("react/jsx-runtime");
7710
+ var import_jsx_runtime63 = require("react/jsx-runtime");
7692
7711
  var OutcomeLabel = ({ title, font }) => {
7693
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7694
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7695
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: font ? font : "text-sm", children: title })
7712
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7713
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7714
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("p", { className: font ? font : "text-sm", children: title })
7696
7715
  ] }) });
7697
7716
  };
7698
7717
  var OutcomeLabel_default = OutcomeLabel;
7699
7718
 
7700
7719
  // src/components/labels/PersonalLabel.tsx
7701
- var import_jsx_runtime63 = require("react/jsx-runtime");
7720
+ var import_jsx_runtime64 = require("react/jsx-runtime");
7702
7721
  var PersonalLabel = ({ title, icon, font }) => {
7703
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7704
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
7722
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7723
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
7705
7724
  BaseImage_default,
7706
7725
  {
7707
7726
  src: "/icons/personal-label.webp",
@@ -7709,16 +7728,16 @@ var PersonalLabel = ({ title, icon, font }) => {
7709
7728
  size: "xsmall"
7710
7729
  }
7711
7730
  ),
7712
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("p", { className: font ? font : "text-sm", children: title })
7731
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: font ? font : "text-sm", children: title })
7713
7732
  ] }) });
7714
7733
  };
7715
7734
  var PersonalLabel_default = PersonalLabel;
7716
7735
 
7717
7736
  // src/components/labels/PublishingHouseLabel.tsx
7718
- var import_jsx_runtime64 = require("react/jsx-runtime");
7737
+ var import_jsx_runtime65 = require("react/jsx-runtime");
7719
7738
  var PublishingHouseLabel = ({ title, icon, font }) => {
7720
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7721
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
7739
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7740
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
7722
7741
  BaseImage_default,
7723
7742
  {
7724
7743
  src: "/icons/publishing-house-label.webp",
@@ -7726,79 +7745,79 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
7726
7745
  size: "xsmall"
7727
7746
  }
7728
7747
  ),
7729
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: font ? font : "text-sm", children: title })
7748
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: font ? font : "text-sm", children: title })
7730
7749
  ] }) });
7731
7750
  };
7732
7751
  var PublishingHouseLabel_default = PublishingHouseLabel;
7733
7752
 
7734
7753
  // src/components/labels/ActivityLabel.tsx
7735
- var import_jsx_runtime65 = require("react/jsx-runtime");
7754
+ var import_jsx_runtime66 = require("react/jsx-runtime");
7736
7755
  var ActivityLabel = ({ title, font }) => {
7737
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7756
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7738
7757
  };
7739
7758
  var ActivityLabel_default = ActivityLabel;
7740
7759
 
7741
7760
  // src/components/infos/InfoWithText.tsx
7742
- var import_jsx_runtime66 = require("react/jsx-runtime");
7761
+ var import_jsx_runtime67 = require("react/jsx-runtime");
7743
7762
  var InfoWithText = (props) => {
7744
7763
  const { value } = props;
7745
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7746
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7747
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "", children: value }) })
7764
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7765
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7766
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "", children: value }) })
7748
7767
  ] });
7749
7768
  };
7750
7769
  var InfoWithText_default = InfoWithText;
7751
7770
 
7752
7771
  // src/components/texts/InputWithSpecialExpression.tsx
7753
7772
  var import_react_katex12 = require("react-katex");
7754
- var import_jsx_runtime67 = require("react/jsx-runtime");
7773
+ var import_jsx_runtime68 = require("react/jsx-runtime");
7755
7774
  var InputWithSpecialExpression = ({
7756
7775
  value,
7757
7776
  showSpecialOnly
7758
7777
  }) => {
7759
7778
  const inputWithSpecialExpressionList = constructInputWithSpecialExpressionList(value);
7760
- return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7779
+ return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7761
7780
  "span",
7762
7781
  {
7763
7782
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7764
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
7783
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
7765
7784
  }
7766
- )) }) }) : null : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7785
+ )) }) }) : null : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7767
7786
  "span",
7768
7787
  {
7769
7788
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7770
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
7789
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
7771
7790
  }
7772
7791
  )) }) });
7773
7792
  };
7774
7793
  var InputWithSpecialExpression_default = InputWithSpecialExpression;
7775
7794
 
7776
7795
  // src/components/titles/BaseTitle.tsx
7777
- var import_jsx_runtime68 = require("react/jsx-runtime");
7796
+ var import_jsx_runtime69 = require("react/jsx-runtime");
7778
7797
  var BaseTitle = ({
7779
7798
  title,
7780
7799
  totalItemCount,
7781
7800
  itemName,
7782
7801
  description
7783
7802
  }) => {
7784
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
7785
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("p", { className: "text-2xl font-medium", children: [
7803
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
7804
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("p", { className: "text-2xl font-medium", children: [
7786
7805
  title,
7787
- totalItemCount && itemName ? /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { className: "p-2 text-base text-catchup-blue-600 border border-catchup-blue-300 rounded-catchup-3xlarge mx-2 bg-catchup-blue-100", children: [
7806
+ totalItemCount && itemName ? /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("span", { className: "p-2 text-base text-catchup-blue-600 border border-catchup-blue-300 rounded-catchup-3xlarge mx-2 bg-catchup-blue-100", children: [
7788
7807
  totalItemCount,
7789
7808
  " ",
7790
7809
  itemName
7791
7810
  ] }) : null
7792
7811
  ] }),
7793
- description ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "", children: description }) : null
7812
+ description ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: "", children: description }) : null
7794
7813
  ] });
7795
7814
  };
7796
7815
  var BaseTitle_default = BaseTitle;
7797
7816
 
7798
7817
  // src/components/titles/SubTitle.tsx
7799
- var import_jsx_runtime69 = require("react/jsx-runtime");
7818
+ var import_jsx_runtime70 = require("react/jsx-runtime");
7800
7819
  var SubTitle = ({ title }) => {
7801
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7820
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7802
7821
  };
7803
7822
  var SubTitle_default = SubTitle;
7804
7823
 
@@ -10455,6 +10474,7 @@ var retrieveActivityMethodologyOptionList = () => {
10455
10474
  DeleteButton,
10456
10475
  DividerLine,
10457
10476
  DropdownActivityContent,
10477
+ Error,
10458
10478
  FillInTheBlanksActivityContent,
10459
10479
  FullCard,
10460
10480
  GradeLabel,
package/dist/index.mjs CHANGED
@@ -7177,10 +7177,28 @@ var ActivityPreviewByAnswerData = ({
7177
7177
  };
7178
7178
  var ActivityPreviewByAnswerData_default = ActivityPreviewByAnswerData;
7179
7179
 
7180
+ // src/components/errors/Error.tsx
7181
+ import { jsx as jsx51, jsxs as jsxs38 } from "react/jsx-runtime";
7182
+ var Error2 = ({ statusCode, statusText, textSize }) => {
7183
+ return /* @__PURE__ */ jsxs38("div", { className: "flex flex-col justify-center items-center", children: [
7184
+ /* @__PURE__ */ jsx51("p", { className: "text-6xl text-catchup-red my-5", children: i18n_default.t("ooops_text") }),
7185
+ /* @__PURE__ */ jsxs38("div", { className: "text-center my-5", children: [
7186
+ /* @__PURE__ */ jsx51("p", { className: "italic", children: i18n_default.t("unexcepted_error_text") }),
7187
+ /* @__PURE__ */ jsxs38("p", { className: `${textSize ? textSize : "text-lg"}`, children: [
7188
+ "(",
7189
+ statusCode ? `${statusCode} - ` : null,
7190
+ statusText,
7191
+ ")"
7192
+ ] })
7193
+ ] })
7194
+ ] });
7195
+ };
7196
+ var Error_default = Error2;
7197
+
7180
7198
  // src/components/dividers/BlueVerticalDividerLine.tsx
7181
- import { jsx as jsx51 } from "react/jsx-runtime";
7199
+ import { jsx as jsx52 } from "react/jsx-runtime";
7182
7200
  var BlueVerticalDividerLine = ({ opacity }) => {
7183
- return /* @__PURE__ */ jsx51(
7201
+ return /* @__PURE__ */ jsx52(
7184
7202
  "div",
7185
7203
  {
7186
7204
  className: `w-[2px] h-[40px] my-4 bg-catchup-blue ${opacity === "medium" ? "opacity-50" : ""}`
@@ -7190,7 +7208,7 @@ var BlueVerticalDividerLine = ({ opacity }) => {
7190
7208
  var BlueVerticalDividerLine_default = BlueVerticalDividerLine;
7191
7209
 
7192
7210
  // src/components/groups/LeftTextRightInputGroup.tsx
7193
- import { jsx as jsx52, jsxs as jsxs38 } from "react/jsx-runtime";
7211
+ import { jsx as jsx53, jsxs as jsxs39 } from "react/jsx-runtime";
7194
7212
  var LeftTextRightInputGroup = ({
7195
7213
  type,
7196
7214
  title,
@@ -7200,9 +7218,9 @@ var LeftTextRightInputGroup = ({
7200
7218
  disabled,
7201
7219
  errorText
7202
7220
  }) => {
7203
- return /* @__PURE__ */ jsxs38("div", { className: "w-full flex flex-row mx-2", children: [
7204
- /* @__PURE__ */ jsx52("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ jsx52("p", { children: title }) }),
7205
- /* @__PURE__ */ jsx52("div", { className: "flex-1", children: /* @__PURE__ */ jsx52(
7221
+ return /* @__PURE__ */ jsxs39("div", { className: "w-full flex flex-row mx-2", children: [
7222
+ /* @__PURE__ */ jsx53("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ jsx53("p", { children: title }) }),
7223
+ /* @__PURE__ */ jsx53("div", { className: "flex-1", children: /* @__PURE__ */ jsx53(
7206
7224
  InputGroup_default,
7207
7225
  {
7208
7226
  type,
@@ -7219,7 +7237,7 @@ var LeftTextRightInputGroup_default = LeftTextRightInputGroup;
7219
7237
 
7220
7238
  // src/components/groups/PageTravelGroup.tsx
7221
7239
  import { useEffect as useEffect16, useState as useState26 } from "react";
7222
- import { jsx as jsx53, jsxs as jsxs39 } from "react/jsx-runtime";
7240
+ import { jsx as jsx54, jsxs as jsxs40 } from "react/jsx-runtime";
7223
7241
  var PageTravelGroup = ({
7224
7242
  isImageProcessing,
7225
7243
  handleImageProcessing,
@@ -7237,8 +7255,8 @@ var PageTravelGroup = ({
7237
7255
  useEffect16(() => {
7238
7256
  setNewPageNumber(pageNumber + 1);
7239
7257
  }, [pageNumber]);
7240
- return /* @__PURE__ */ jsxs39("div", { className: "flex-1 flex flex-row justify-center items-center flex-wrap", children: [
7241
- pageNumber === 0 ? null : /* @__PURE__ */ jsx53("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx53(
7258
+ return /* @__PURE__ */ jsxs40("div", { className: "flex-1 flex flex-row justify-center items-center flex-wrap", children: [
7259
+ pageNumber === 0 ? null : /* @__PURE__ */ jsx54("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx54(
7242
7260
  BaseImage_default,
7243
7261
  {
7244
7262
  size: "small",
@@ -7256,7 +7274,7 @@ var PageTravelGroup = ({
7256
7274
  }
7257
7275
  }
7258
7276
  ) }),
7259
- Array.from(Array(totalPageNumber).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ jsx53("div", { className: "px-2", children: /* @__PURE__ */ jsx53(
7277
+ Array.from(Array(totalPageNumber).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ jsx54("div", { className: "px-2", children: /* @__PURE__ */ jsx54(
7260
7278
  "p",
7261
7279
  {
7262
7280
  className: `${pageNumber === index ? "text-2xl" : "text-md"} cursor-pointer`,
@@ -7271,7 +7289,7 @@ var PageTravelGroup = ({
7271
7289
  children: index + 1
7272
7290
  }
7273
7291
  ) }, index)),
7274
- totalPageNumber === 0 || pageNumber === totalPageNumber - 1 ? null : /* @__PURE__ */ jsx53("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx53(
7292
+ totalPageNumber === 0 || pageNumber === totalPageNumber - 1 ? null : /* @__PURE__ */ jsx54("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ jsx54(
7275
7293
  BaseImage_default,
7276
7294
  {
7277
7295
  size: "small",
@@ -7289,7 +7307,7 @@ var PageTravelGroup = ({
7289
7307
  }
7290
7308
  }
7291
7309
  ) }),
7292
- /* @__PURE__ */ jsx53("div", { children: /* @__PURE__ */ jsx53(
7310
+ /* @__PURE__ */ jsx54("div", { children: /* @__PURE__ */ jsx54(
7293
7311
  "input",
7294
7312
  {
7295
7313
  className: `w-[90px] py-2 px-4 border border-catchup-gray-100 rounded-catchup-xlarge focus:outline-none placeholder-catchup-gray-200 focus:border-catchup-blue-400 focus:shadow-input`,
@@ -7313,14 +7331,14 @@ var PageTravelGroup = ({
7313
7331
  var PageTravelGroup_default = PageTravelGroup;
7314
7332
 
7315
7333
  // src/components/boxes/SelectionCheckbox.tsx
7316
- import { jsx as jsx54, jsxs as jsxs40 } from "react/jsx-runtime";
7334
+ import { jsx as jsx55, jsxs as jsxs41 } from "react/jsx-runtime";
7317
7335
  var SelectionCheckbox = ({
7318
7336
  optionList,
7319
7337
  selectedIdList,
7320
7338
  handleSelectOnClick,
7321
7339
  handleRemoveOnClick
7322
7340
  }) => {
7323
- return /* @__PURE__ */ jsx54("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx54(
7341
+ return /* @__PURE__ */ jsx55("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx55(
7324
7342
  "div",
7325
7343
  {
7326
7344
  className: `${selectedIdList.findIndex(
@@ -7335,14 +7353,14 @@ var SelectionCheckbox = ({
7335
7353
  handleRemoveOnClick(option.id);
7336
7354
  }
7337
7355
  },
7338
- children: /* @__PURE__ */ jsxs40(
7356
+ children: /* @__PURE__ */ jsxs41(
7339
7357
  "div",
7340
7358
  {
7341
7359
  className: `flex flex-row items-center gap-x-1 ${selectedIdList.findIndex(
7342
7360
  (selectedId) => selectedId === option.id
7343
7361
  ) > -1 ? "opacity-100" : "opacity-50"}`,
7344
7362
  children: [
7345
- /* @__PURE__ */ jsx54(
7363
+ /* @__PURE__ */ jsx55(
7346
7364
  BaseImage_default,
7347
7365
  {
7348
7366
  src: selectedIdList.findIndex(
@@ -7352,7 +7370,7 @@ var SelectionCheckbox = ({
7352
7370
  size: "small"
7353
7371
  }
7354
7372
  ),
7355
- /* @__PURE__ */ jsx54("div", { className: "flex-1", children: /* @__PURE__ */ jsx54("p", { children: option.text }) })
7373
+ /* @__PURE__ */ jsx55("div", { className: "flex-1", children: /* @__PURE__ */ jsx55("p", { children: option.text }) })
7356
7374
  ]
7357
7375
  }
7358
7376
  )
@@ -7363,7 +7381,7 @@ var SelectionCheckbox = ({
7363
7381
  var SelectionCheckbox_default = SelectionCheckbox;
7364
7382
 
7365
7383
  // src/components/tabs/SelectionTab.tsx
7366
- import { jsx as jsx55, jsxs as jsxs41 } from "react/jsx-runtime";
7384
+ import { jsx as jsx56, jsxs as jsxs42 } from "react/jsx-runtime";
7367
7385
  var SelectionTab = ({
7368
7386
  optionList,
7369
7387
  selectedId,
@@ -7373,7 +7391,7 @@ var SelectionTab = ({
7373
7391
  textColor,
7374
7392
  borderColor
7375
7393
  }) => {
7376
- return /* @__PURE__ */ jsx55("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap mb-2 text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsxs41(
7394
+ return /* @__PURE__ */ jsx56("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap mb-2 text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsxs42(
7377
7395
  "div",
7378
7396
  {
7379
7397
  className: `${selectedId === option.id ? selectedTextColor ? selectedTextColor : "text-catchup-blue-500" : textColor ? textColor : "text-catchup-gray-300"} ${selectedId === option.id ? selectedBorderColor ? selectedBorderColor : "border-catchup-blue-500" : borderColor ? borderColor : "border-catchup-gray-50"} border-b-2 transition-all duration-300 p-3 cursor-pointer`,
@@ -7381,8 +7399,8 @@ var SelectionTab = ({
7381
7399
  handleSelectOnClick(option.id);
7382
7400
  },
7383
7401
  children: [
7384
- /* @__PURE__ */ jsx55("p", { className: "text-lg", children: option.title }),
7385
- option.subTitle ? /* @__PURE__ */ jsx55("p", { className: "text-md", children: option.subTitle }) : null
7402
+ /* @__PURE__ */ jsx56("p", { className: "text-lg", children: option.title }),
7403
+ option.subTitle ? /* @__PURE__ */ jsx56("p", { className: "text-md", children: option.subTitle }) : null
7386
7404
  ]
7387
7405
  },
7388
7406
  index
@@ -7391,20 +7409,20 @@ var SelectionTab = ({
7391
7409
  var SelectionTab_default = SelectionTab;
7392
7410
 
7393
7411
  // src/components/tabs/SelectionTabFill.tsx
7394
- import { jsx as jsx56 } from "react/jsx-runtime";
7412
+ import { jsx as jsx57 } from "react/jsx-runtime";
7395
7413
  var SelectionTabFill = ({
7396
7414
  optionList,
7397
7415
  selectedId,
7398
7416
  handleSelectOnClick
7399
7417
  }) => {
7400
- return /* @__PURE__ */ jsx56("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx56(
7418
+ return /* @__PURE__ */ jsx57("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx57(
7401
7419
  "div",
7402
7420
  {
7403
7421
  className: "cursor-pointer",
7404
7422
  onClick: () => {
7405
7423
  handleSelectOnClick(option.id);
7406
7424
  },
7407
- children: /* @__PURE__ */ jsx56(
7425
+ children: /* @__PURE__ */ jsx57(
7408
7426
  "p",
7409
7427
  {
7410
7428
  className: `${selectedId === option.id ? "text-catchup-white bg-catchup-blue-500" : "text-catchup-gray-300"} transition-all duration-300 rounded-catchup-medium px-2 py-1`,
@@ -7418,34 +7436,34 @@ var SelectionTabFill = ({
7418
7436
  var SelectionTabFill_default = SelectionTabFill;
7419
7437
 
7420
7438
  // src/components/labels/ActivityTemplateLabel.tsx
7421
- import { jsx as jsx57, jsxs as jsxs42 } from "react/jsx-runtime";
7439
+ import { jsx as jsx58, jsxs as jsxs43 } from "react/jsx-runtime";
7422
7440
  var ActivityTemplateLabel = ({
7423
7441
  title,
7424
7442
  icon,
7425
7443
  font
7426
7444
  }) => {
7427
- return /* @__PURE__ */ jsx57("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs42("div", { className: "flex flex-row items-center gap-x-2", children: [
7428
- icon ? icon : /* @__PURE__ */ jsx57(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7429
- /* @__PURE__ */ jsx57("p", { className: font ? font : "text-sm", children: title })
7445
+ return /* @__PURE__ */ jsx58("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs43("div", { className: "flex flex-row items-center gap-x-2", children: [
7446
+ icon ? icon : /* @__PURE__ */ jsx58(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7447
+ /* @__PURE__ */ jsx58("p", { className: font ? font : "text-sm", children: title })
7430
7448
  ] }) });
7431
7449
  };
7432
7450
  var ActivityTemplateLabel_default = ActivityTemplateLabel;
7433
7451
 
7434
7452
  // src/components/labels/BrandLabel.tsx
7435
- import { jsx as jsx58, jsxs as jsxs43 } from "react/jsx-runtime";
7453
+ import { jsx as jsx59, jsxs as jsxs44 } from "react/jsx-runtime";
7436
7454
  var BrandLabel = ({ title, icon, font }) => {
7437
- return /* @__PURE__ */ jsx58("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs43("div", { className: "flex flex-row items-center gap-x-2", children: [
7438
- icon ? icon : /* @__PURE__ */ jsx58(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7439
- /* @__PURE__ */ jsx58("p", { className: font ? font : "text-sm", children: title })
7455
+ return /* @__PURE__ */ jsx59("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs44("div", { className: "flex flex-row items-center gap-x-2", children: [
7456
+ icon ? icon : /* @__PURE__ */ jsx59(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7457
+ /* @__PURE__ */ jsx59("p", { className: font ? font : "text-sm", children: title })
7440
7458
  ] }) });
7441
7459
  };
7442
7460
  var BrandLabel_default = BrandLabel;
7443
7461
 
7444
7462
  // src/components/labels/CategoryLabel.tsx
7445
- import { jsx as jsx59, jsxs as jsxs44 } from "react/jsx-runtime";
7463
+ import { jsx as jsx60, jsxs as jsxs45 } from "react/jsx-runtime";
7446
7464
  var CategoryLabel = ({ title, icon, font }) => {
7447
- return /* @__PURE__ */ jsx59("div", { className: "px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs44("div", { className: "flex flex-row items-center gap-x-2", children: [
7448
- icon ? icon : /* @__PURE__ */ jsx59(
7465
+ return /* @__PURE__ */ jsx60("div", { className: "px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs45("div", { className: "flex flex-row items-center gap-x-2", children: [
7466
+ icon ? icon : /* @__PURE__ */ jsx60(
7449
7467
  BaseImage_default,
7450
7468
  {
7451
7469
  src: "/icons/category-label.webp",
@@ -7453,40 +7471,40 @@ var CategoryLabel = ({ title, icon, font }) => {
7453
7471
  size: "xsmall"
7454
7472
  }
7455
7473
  ),
7456
- /* @__PURE__ */ jsx59("p", { className: font ? font : "text-sm", children: title })
7474
+ /* @__PURE__ */ jsx60("p", { className: font ? font : "text-sm", children: title })
7457
7475
  ] }) });
7458
7476
  };
7459
7477
  var CategoryLabel_default = CategoryLabel;
7460
7478
 
7461
7479
  // src/components/labels/CoterieLabel.tsx
7462
- import { jsx as jsx60 } from "react/jsx-runtime";
7480
+ import { jsx as jsx61 } from "react/jsx-runtime";
7463
7481
  var CoterieLabel = ({ title, font }) => {
7464
- return /* @__PURE__ */ jsx60("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsx60("p", { className: font ? font : "text-sm", children: title }) });
7482
+ return /* @__PURE__ */ jsx61("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsx61("p", { className: font ? font : "text-sm", children: title }) });
7465
7483
  };
7466
7484
  var CoterieLabel_default = CoterieLabel;
7467
7485
 
7468
7486
  // src/components/labels/GradeLabel.tsx
7469
- import { jsx as jsx61 } from "react/jsx-runtime";
7487
+ import { jsx as jsx62 } from "react/jsx-runtime";
7470
7488
  var GradeLabel = ({ title, font }) => {
7471
- return /* @__PURE__ */ jsx61("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsx61("p", { className: font ? font : "text-sm", children: title }) });
7489
+ return /* @__PURE__ */ jsx62("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsx62("p", { className: font ? font : "text-sm", children: title }) });
7472
7490
  };
7473
7491
  var GradeLabel_default = GradeLabel;
7474
7492
 
7475
7493
  // src/components/labels/OutcomeLabel.tsx
7476
- import { jsx as jsx62, jsxs as jsxs45 } from "react/jsx-runtime";
7494
+ import { jsx as jsx63, jsxs as jsxs46 } from "react/jsx-runtime";
7477
7495
  var OutcomeLabel = ({ title, font }) => {
7478
- return /* @__PURE__ */ jsx62("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs45("div", { className: "flex flex-row items-center gap-x-2", children: [
7479
- /* @__PURE__ */ jsx62(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7480
- /* @__PURE__ */ jsx62("p", { className: font ? font : "text-sm", children: title })
7496
+ return /* @__PURE__ */ jsx63("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs46("div", { className: "flex flex-row items-center gap-x-2", children: [
7497
+ /* @__PURE__ */ jsx63(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7498
+ /* @__PURE__ */ jsx63("p", { className: font ? font : "text-sm", children: title })
7481
7499
  ] }) });
7482
7500
  };
7483
7501
  var OutcomeLabel_default = OutcomeLabel;
7484
7502
 
7485
7503
  // src/components/labels/PersonalLabel.tsx
7486
- import { jsx as jsx63, jsxs as jsxs46 } from "react/jsx-runtime";
7504
+ import { jsx as jsx64, jsxs as jsxs47 } from "react/jsx-runtime";
7487
7505
  var PersonalLabel = ({ title, icon, font }) => {
7488
- return /* @__PURE__ */ jsx63("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs46("div", { className: "flex flex-row items-center gap-x-2", children: [
7489
- icon ? icon : /* @__PURE__ */ jsx63(
7506
+ return /* @__PURE__ */ jsx64("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs47("div", { className: "flex flex-row items-center gap-x-2", children: [
7507
+ icon ? icon : /* @__PURE__ */ jsx64(
7490
7508
  BaseImage_default,
7491
7509
  {
7492
7510
  src: "/icons/personal-label.webp",
@@ -7494,16 +7512,16 @@ var PersonalLabel = ({ title, icon, font }) => {
7494
7512
  size: "xsmall"
7495
7513
  }
7496
7514
  ),
7497
- /* @__PURE__ */ jsx63("p", { className: font ? font : "text-sm", children: title })
7515
+ /* @__PURE__ */ jsx64("p", { className: font ? font : "text-sm", children: title })
7498
7516
  ] }) });
7499
7517
  };
7500
7518
  var PersonalLabel_default = PersonalLabel;
7501
7519
 
7502
7520
  // src/components/labels/PublishingHouseLabel.tsx
7503
- import { jsx as jsx64, jsxs as jsxs47 } from "react/jsx-runtime";
7521
+ import { jsx as jsx65, jsxs as jsxs48 } from "react/jsx-runtime";
7504
7522
  var PublishingHouseLabel = ({ title, icon, font }) => {
7505
- return /* @__PURE__ */ jsx64("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs47("div", { className: "flex flex-row items-center gap-x-2", children: [
7506
- icon ? icon : /* @__PURE__ */ jsx64(
7523
+ return /* @__PURE__ */ jsx65("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsxs48("div", { className: "flex flex-row items-center gap-x-2", children: [
7524
+ icon ? icon : /* @__PURE__ */ jsx65(
7507
7525
  BaseImage_default,
7508
7526
  {
7509
7527
  src: "/icons/publishing-house-label.webp",
@@ -7511,79 +7529,79 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
7511
7529
  size: "xsmall"
7512
7530
  }
7513
7531
  ),
7514
- /* @__PURE__ */ jsx64("p", { className: font ? font : "text-sm", children: title })
7532
+ /* @__PURE__ */ jsx65("p", { className: font ? font : "text-sm", children: title })
7515
7533
  ] }) });
7516
7534
  };
7517
7535
  var PublishingHouseLabel_default = PublishingHouseLabel;
7518
7536
 
7519
7537
  // src/components/labels/ActivityLabel.tsx
7520
- import { jsx as jsx65 } from "react/jsx-runtime";
7538
+ import { jsx as jsx66 } from "react/jsx-runtime";
7521
7539
  var ActivityLabel = ({ title, font }) => {
7522
- return /* @__PURE__ */ jsx65("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsx65("p", { className: font ? font : "text-sm", children: title }) });
7540
+ return /* @__PURE__ */ jsx66("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge m-auto text-center", children: /* @__PURE__ */ jsx66("p", { className: font ? font : "text-sm", children: title }) });
7523
7541
  };
7524
7542
  var ActivityLabel_default = ActivityLabel;
7525
7543
 
7526
7544
  // src/components/infos/InfoWithText.tsx
7527
- import { jsx as jsx66, jsxs as jsxs48 } from "react/jsx-runtime";
7545
+ import { jsx as jsx67, jsxs as jsxs49 } from "react/jsx-runtime";
7528
7546
  var InfoWithText = (props) => {
7529
7547
  const { value } = props;
7530
- return /* @__PURE__ */ jsxs48("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7531
- /* @__PURE__ */ jsx66(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7532
- /* @__PURE__ */ jsx66("div", { className: "flex-1", children: /* @__PURE__ */ jsx66("p", { className: "", children: value }) })
7548
+ return /* @__PURE__ */ jsxs49("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7549
+ /* @__PURE__ */ jsx67(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7550
+ /* @__PURE__ */ jsx67("div", { className: "flex-1", children: /* @__PURE__ */ jsx67("p", { className: "", children: value }) })
7533
7551
  ] });
7534
7552
  };
7535
7553
  var InfoWithText_default = InfoWithText;
7536
7554
 
7537
7555
  // src/components/texts/InputWithSpecialExpression.tsx
7538
7556
  import { InlineMath as InlineMath12 } from "react-katex";
7539
- import { jsx as jsx67 } from "react/jsx-runtime";
7557
+ import { jsx as jsx68 } from "react/jsx-runtime";
7540
7558
  var InputWithSpecialExpression = ({
7541
7559
  value,
7542
7560
  showSpecialOnly
7543
7561
  }) => {
7544
7562
  const inputWithSpecialExpressionList = constructInputWithSpecialExpressionList(value);
7545
- return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ jsx67("div", { className: "m-2", children: /* @__PURE__ */ jsx67("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx67(
7563
+ return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ jsx68("div", { className: "m-2", children: /* @__PURE__ */ jsx68("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx68(
7546
7564
  "span",
7547
7565
  {
7548
7566
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7549
- children: inputPart.isEquation ? /* @__PURE__ */ jsx67("span", { className: "text-lg", children: /* @__PURE__ */ jsx67(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7567
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx68("span", { className: "text-lg", children: /* @__PURE__ */ jsx68(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7550
7568
  }
7551
- )) }) }) : null : /* @__PURE__ */ jsx67("div", { className: "m-2", children: /* @__PURE__ */ jsx67("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx67(
7569
+ )) }) }) : null : /* @__PURE__ */ jsx68("div", { className: "m-2", children: /* @__PURE__ */ jsx68("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx68(
7552
7570
  "span",
7553
7571
  {
7554
7572
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7555
- children: inputPart.isEquation ? /* @__PURE__ */ jsx67("span", { className: "text-lg", children: /* @__PURE__ */ jsx67(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7573
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx68("span", { className: "text-lg", children: /* @__PURE__ */ jsx68(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7556
7574
  }
7557
7575
  )) }) });
7558
7576
  };
7559
7577
  var InputWithSpecialExpression_default = InputWithSpecialExpression;
7560
7578
 
7561
7579
  // src/components/titles/BaseTitle.tsx
7562
- import { jsx as jsx68, jsxs as jsxs49 } from "react/jsx-runtime";
7580
+ import { jsx as jsx69, jsxs as jsxs50 } from "react/jsx-runtime";
7563
7581
  var BaseTitle = ({
7564
7582
  title,
7565
7583
  totalItemCount,
7566
7584
  itemName,
7567
7585
  description
7568
7586
  }) => {
7569
- return /* @__PURE__ */ jsxs49("div", { className: "flex flex-col gap-y-2", children: [
7570
- /* @__PURE__ */ jsxs49("p", { className: "text-2xl font-medium", children: [
7587
+ return /* @__PURE__ */ jsxs50("div", { className: "flex flex-col gap-y-2", children: [
7588
+ /* @__PURE__ */ jsxs50("p", { className: "text-2xl font-medium", children: [
7571
7589
  title,
7572
- totalItemCount && itemName ? /* @__PURE__ */ jsxs49("span", { className: "p-2 text-base text-catchup-blue-600 border border-catchup-blue-300 rounded-catchup-3xlarge mx-2 bg-catchup-blue-100", children: [
7590
+ totalItemCount && itemName ? /* @__PURE__ */ jsxs50("span", { className: "p-2 text-base text-catchup-blue-600 border border-catchup-blue-300 rounded-catchup-3xlarge mx-2 bg-catchup-blue-100", children: [
7573
7591
  totalItemCount,
7574
7592
  " ",
7575
7593
  itemName
7576
7594
  ] }) : null
7577
7595
  ] }),
7578
- description ? /* @__PURE__ */ jsx68("p", { className: "", children: description }) : null
7596
+ description ? /* @__PURE__ */ jsx69("p", { className: "", children: description }) : null
7579
7597
  ] });
7580
7598
  };
7581
7599
  var BaseTitle_default = BaseTitle;
7582
7600
 
7583
7601
  // src/components/titles/SubTitle.tsx
7584
- import { jsx as jsx69 } from "react/jsx-runtime";
7602
+ import { jsx as jsx70 } from "react/jsx-runtime";
7585
7603
  var SubTitle = ({ title }) => {
7586
- return /* @__PURE__ */ jsx69("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7604
+ return /* @__PURE__ */ jsx70("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7587
7605
  };
7588
7606
  var SubTitle_default = SubTitle;
7589
7607
 
@@ -10239,6 +10257,7 @@ export {
10239
10257
  DeleteButton_default as DeleteButton,
10240
10258
  DividerLine_default as DividerLine,
10241
10259
  DropdownActivityContent_default as DropdownActivityContent,
10260
+ Error_default as Error,
10242
10261
  FillInTheBlanksActivityContent_default as FillInTheBlanksActivityContent,
10243
10262
  FullCard_default as FullCard,
10244
10263
  GradeLabel_default as GradeLabel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.16.13",
3
+ "version": "1.17.01",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -0,0 +1,19 @@
1
+ import i18n from "../../language/i18n";
2
+ import { IErrorProperties } from "../../properties/IErrorProperties";
3
+
4
+ const Error = ({ statusCode, statusText, textSize }: IErrorProperties) => {
5
+ return (
6
+ <div className="flex flex-col justify-center items-center">
7
+ <p className="text-6xl text-catchup-red my-5">{i18n.t("ooops_text")}</p>
8
+ <div className="text-center my-5">
9
+ <p className="italic">{i18n.t("unexcepted_error_text")}</p>
10
+ <p className={`${textSize ? textSize : "text-lg"}`}>
11
+ ({statusCode ? `${statusCode} - ` : null}
12
+ {statusText})
13
+ </p>
14
+ </div>
15
+ </div>
16
+ );
17
+ };
18
+
19
+ export default Error;
package/src/index.ts CHANGED
@@ -37,6 +37,8 @@ export { default as ActivityEvaluationRubricContent } from "./components/activit
37
37
  export { default as ActivityPreviewByData } from "./components/activities/ActivityPreviewByData";
38
38
  export { default as ActivityPreviewByAnswerData } from "./components/activities/ActivityPreviewByAnswerData";
39
39
 
40
+ export { default as Error } from "./components/errors/Error";
41
+
40
42
  export { default as BlueVerticalDividerLine } from "./components/dividers/BlueVerticalDividerLine";
41
43
  export { default as DividerLine } from "./components/dividers/DividerLine";
42
44
  export { default as VerticalDividerLine } from "./components/dividers/VerticalDividerLine";
@@ -0,0 +1,5 @@
1
+ export interface IErrorProperties {
2
+ statusCode?: string;
3
+ statusText?: string;
4
+ textSize?: string;
5
+ }