catchup-library-web 1.15.11 → 1.15.13

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
@@ -379,6 +379,7 @@ declare const SelectionTabFill: ({ optionList, selectedId, handleSelectOnClick,
379
379
 
380
380
  interface IActivityTemplateLabelProps {
381
381
  title: string;
382
+ icon: any;
382
383
  font: string;
383
384
  }
384
385
  interface IBrandLabelProps {
@@ -386,6 +387,11 @@ interface IBrandLabelProps {
386
387
  icon: any;
387
388
  font: string;
388
389
  }
390
+ interface ICategoryLabelProps {
391
+ title: string;
392
+ icon: any;
393
+ font: string;
394
+ }
389
395
  interface ICoterieLabelProps {
390
396
  title: string;
391
397
  font: string;
@@ -413,10 +419,12 @@ interface IActivityLabelProps {
413
419
  font: string;
414
420
  }
415
421
 
416
- declare const ActivityTemplateLabel: ({ title, font, }: IActivityTemplateLabelProps) => react_jsx_runtime.JSX.Element;
422
+ declare const ActivityTemplateLabel: ({ title, icon, font, }: IActivityTemplateLabelProps) => react_jsx_runtime.JSX.Element;
417
423
 
418
424
  declare const BrandLabel: ({ title, icon, font }: IBrandLabelProps) => react_jsx_runtime.JSX.Element;
419
425
 
426
+ declare const CategoryLabel: ({ title, icon, font }: ICategoryLabelProps) => react_jsx_runtime.JSX.Element;
427
+
420
428
  declare const CoterieLabel: ({ title, font }: ICoterieLabelProps) => react_jsx_runtime.JSX.Element;
421
429
 
422
430
  declare const GradeLabel: ({ title, font }: IGradeLabelProps) => react_jsx_runtime.JSX.Element;
@@ -828,4 +836,4 @@ declare const retrieveActivityMethodologyOptionList: () => {
828
836
  text: string;
829
837
  }[];
830
838
 
831
- export { ActivityBodyContent, ActivityEmptyContent, ActivityEvaluationRubricContent, ActivityLabel, ActivityPreviewByAnswerData, ActivityPreviewByData, ActivitySolutionContent, ActivityTemplateLabel, ApproveButton, BaseImage, BaseLoading, BaseLoadingWithText, BaseModal, BasePDF, BaseTitle, BlueVerticalDividerLine, BrandLabel, CancelButton, 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, 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, retrieveOtherBadgeDTOList, retrieveOutcomePlanTypeOptionList, retrievePhoneNumberAreaCodeList, retrieveProvinceNameOptionList, retrieveReportTypeOptionList, retrieveSeasonDTOByUserProfileOptionList, retrieveSeasonDTOOptionList, retrieveStandardExamCoterieTypeOptionListByStandardExamType, retrieveStandardExamTypeIcon, retrieveStandardExamTypeOptionList, retrieveStatusOptionList, retrieveTeachingMethodologyOptionList, retrieveTimeFilterOptionList, retrieveTimeFilterWithLastNOptionList, retrieveTokenUsageSubTypeOptionList, retrieveTokenUsageTypeOptionList, retrieveTotalTimeSpentInMinutes, retrieveTotalTimeSpentInSeconds, retrieveUserAuthorityGeneralOptionList, retrieveUserRoleOptionList, retrieveValidationRequirementList, shuffleArray, useScreenSize };
839
+ export { ActivityBodyContent, ActivityEmptyContent, ActivityEvaluationRubricContent, ActivityLabel, ActivityPreviewByAnswerData, ActivityPreviewByData, ActivitySolutionContent, ActivityTemplateLabel, ApproveButton, 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, 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, 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
@@ -379,6 +379,7 @@ declare const SelectionTabFill: ({ optionList, selectedId, handleSelectOnClick,
379
379
 
380
380
  interface IActivityTemplateLabelProps {
381
381
  title: string;
382
+ icon: any;
382
383
  font: string;
383
384
  }
384
385
  interface IBrandLabelProps {
@@ -386,6 +387,11 @@ interface IBrandLabelProps {
386
387
  icon: any;
387
388
  font: string;
388
389
  }
390
+ interface ICategoryLabelProps {
391
+ title: string;
392
+ icon: any;
393
+ font: string;
394
+ }
389
395
  interface ICoterieLabelProps {
390
396
  title: string;
391
397
  font: string;
@@ -413,10 +419,12 @@ interface IActivityLabelProps {
413
419
  font: string;
414
420
  }
415
421
 
416
- declare const ActivityTemplateLabel: ({ title, font, }: IActivityTemplateLabelProps) => react_jsx_runtime.JSX.Element;
422
+ declare const ActivityTemplateLabel: ({ title, icon, font, }: IActivityTemplateLabelProps) => react_jsx_runtime.JSX.Element;
417
423
 
418
424
  declare const BrandLabel: ({ title, icon, font }: IBrandLabelProps) => react_jsx_runtime.JSX.Element;
419
425
 
426
+ declare const CategoryLabel: ({ title, icon, font }: ICategoryLabelProps) => react_jsx_runtime.JSX.Element;
427
+
420
428
  declare const CoterieLabel: ({ title, font }: ICoterieLabelProps) => react_jsx_runtime.JSX.Element;
421
429
 
422
430
  declare const GradeLabel: ({ title, font }: IGradeLabelProps) => react_jsx_runtime.JSX.Element;
@@ -828,4 +836,4 @@ declare const retrieveActivityMethodologyOptionList: () => {
828
836
  text: string;
829
837
  }[];
830
838
 
831
- export { ActivityBodyContent, ActivityEmptyContent, ActivityEvaluationRubricContent, ActivityLabel, ActivityPreviewByAnswerData, ActivityPreviewByData, ActivitySolutionContent, ActivityTemplateLabel, ApproveButton, BaseImage, BaseLoading, BaseLoadingWithText, BaseModal, BasePDF, BaseTitle, BlueVerticalDividerLine, BrandLabel, CancelButton, 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, 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, retrieveOtherBadgeDTOList, retrieveOutcomePlanTypeOptionList, retrievePhoneNumberAreaCodeList, retrieveProvinceNameOptionList, retrieveReportTypeOptionList, retrieveSeasonDTOByUserProfileOptionList, retrieveSeasonDTOOptionList, retrieveStandardExamCoterieTypeOptionListByStandardExamType, retrieveStandardExamTypeIcon, retrieveStandardExamTypeOptionList, retrieveStatusOptionList, retrieveTeachingMethodologyOptionList, retrieveTimeFilterOptionList, retrieveTimeFilterWithLastNOptionList, retrieveTokenUsageSubTypeOptionList, retrieveTokenUsageTypeOptionList, retrieveTotalTimeSpentInMinutes, retrieveTotalTimeSpentInSeconds, retrieveUserAuthorityGeneralOptionList, retrieveUserRoleOptionList, retrieveValidationRequirementList, shuffleArray, useScreenSize };
839
+ export { ActivityBodyContent, ActivityEmptyContent, ActivityEvaluationRubricContent, ActivityLabel, ActivityPreviewByAnswerData, ActivityPreviewByData, ActivitySolutionContent, ActivityTemplateLabel, ApproveButton, 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, 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, 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
@@ -85,6 +85,7 @@ __export(index_exports, {
85
85
  BlueVerticalDividerLine: () => BlueVerticalDividerLine_default,
86
86
  BrandLabel: () => BrandLabel_default,
87
87
  CancelButton: () => CancelButton_default,
88
+ CategoryLabel: () => CategoryLabel_default,
88
89
  CoterieLabel: () => CoterieLabel_default,
89
90
  CreateButton: () => CreateButton_default,
90
91
  DeleteButton: () => DeleteButton_default,
@@ -7480,10 +7481,11 @@ var SelectionTabFill_default = SelectionTabFill;
7480
7481
  var import_jsx_runtime55 = require("react/jsx-runtime");
7481
7482
  var ActivityTemplateLabel = ({
7482
7483
  title,
7484
+ icon,
7483
7485
  font
7484
7486
  }) => {
7485
7487
  return /* @__PURE__ */ (0, import_jsx_runtime55.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", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7486
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7488
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7487
7489
  /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: font ? font : "text-sm", children: title })
7488
7490
  ] }) });
7489
7491
  };
@@ -7499,35 +7501,52 @@ var BrandLabel = ({ title, icon, font }) => {
7499
7501
  };
7500
7502
  var BrandLabel_default = BrandLabel;
7501
7503
 
7502
- // src/components/labels/CoterieLabel.tsx
7504
+ // src/components/labels/CategoryLabel.tsx
7503
7505
  var import_jsx_runtime57 = require("react/jsx-runtime");
7506
+ var CategoryLabel = ({ title, icon, font }) => {
7507
+ return /* @__PURE__ */ (0, import_jsx_runtime57.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", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7508
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7509
+ BaseImage_default,
7510
+ {
7511
+ src: "/icons/category-label.webp",
7512
+ alt: "label",
7513
+ size: "xsmall"
7514
+ }
7515
+ ),
7516
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: font ? font : "text-sm", children: title })
7517
+ ] }) });
7518
+ };
7519
+ var CategoryLabel_default = CategoryLabel;
7520
+
7521
+ // src/components/labels/CoterieLabel.tsx
7522
+ var import_jsx_runtime58 = require("react/jsx-runtime");
7504
7523
  var CoterieLabel = ({ title, font }) => {
7505
- return /* @__PURE__ */ (0, import_jsx_runtime57.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", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7524
+ 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", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7506
7525
  };
7507
7526
  var CoterieLabel_default = CoterieLabel;
7508
7527
 
7509
7528
  // src/components/labels/GradeLabel.tsx
7510
- var import_jsx_runtime58 = require("react/jsx-runtime");
7529
+ var import_jsx_runtime59 = require("react/jsx-runtime");
7511
7530
  var GradeLabel = ({ title, font }) => {
7512
- 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", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7531
+ return /* @__PURE__ */ (0, import_jsx_runtime59.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", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7513
7532
  };
7514
7533
  var GradeLabel_default = GradeLabel;
7515
7534
 
7516
7535
  // src/components/labels/OutcomeLabel.tsx
7517
- var import_jsx_runtime59 = require("react/jsx-runtime");
7536
+ var import_jsx_runtime60 = require("react/jsx-runtime");
7518
7537
  var OutcomeLabel = ({ title, font }) => {
7519
- 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", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7520
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7521
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: font ? font : "text-sm", children: title })
7538
+ 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", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7539
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7540
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: font ? font : "text-sm", children: title })
7522
7541
  ] }) });
7523
7542
  };
7524
7543
  var OutcomeLabel_default = OutcomeLabel;
7525
7544
 
7526
7545
  // src/components/labels/PersonalLabel.tsx
7527
- var import_jsx_runtime60 = require("react/jsx-runtime");
7546
+ var import_jsx_runtime61 = require("react/jsx-runtime");
7528
7547
  var PersonalLabel = ({ title, icon, font }) => {
7529
- return /* @__PURE__ */ (0, import_jsx_runtime60.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", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7530
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
7548
+ return /* @__PURE__ */ (0, import_jsx_runtime61.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", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7549
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
7531
7550
  BaseImage_default,
7532
7551
  {
7533
7552
  src: "/icons/personal-label.webp",
@@ -7535,16 +7554,16 @@ var PersonalLabel = ({ title, icon, font }) => {
7535
7554
  size: "xsmall"
7536
7555
  }
7537
7556
  ),
7538
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: font ? font : "text-sm", children: title })
7557
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: font ? font : "text-sm", children: title })
7539
7558
  ] }) });
7540
7559
  };
7541
7560
  var PersonalLabel_default = PersonalLabel;
7542
7561
 
7543
7562
  // src/components/labels/PublishingHouseLabel.tsx
7544
- var import_jsx_runtime61 = require("react/jsx-runtime");
7563
+ var import_jsx_runtime62 = require("react/jsx-runtime");
7545
7564
  var PublishingHouseLabel = ({ title, icon, font }) => {
7546
- return /* @__PURE__ */ (0, import_jsx_runtime61.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", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7547
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
7565
+ return /* @__PURE__ */ (0, import_jsx_runtime62.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", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7566
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
7548
7567
  BaseImage_default,
7549
7568
  {
7550
7569
  src: "/icons/publishing-house-label.webp",
@@ -7552,79 +7571,79 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
7552
7571
  size: "xsmall"
7553
7572
  }
7554
7573
  ),
7555
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: font ? font : "text-sm", children: title })
7574
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: font ? font : "text-sm", children: title })
7556
7575
  ] }) });
7557
7576
  };
7558
7577
  var PublishingHouseLabel_default = PublishingHouseLabel;
7559
7578
 
7560
7579
  // src/components/labels/ActivityLabel.tsx
7561
- var import_jsx_runtime62 = require("react/jsx-runtime");
7580
+ var import_jsx_runtime63 = require("react/jsx-runtime");
7562
7581
  var ActivityLabel = ({ title, font }) => {
7563
- return /* @__PURE__ */ (0, import_jsx_runtime62.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", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7582
+ return /* @__PURE__ */ (0, import_jsx_runtime63.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", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7564
7583
  };
7565
7584
  var ActivityLabel_default = ActivityLabel;
7566
7585
 
7567
7586
  // src/components/infos/InfoWithText.tsx
7568
- var import_jsx_runtime63 = require("react/jsx-runtime");
7587
+ var import_jsx_runtime64 = require("react/jsx-runtime");
7569
7588
  var InfoWithText = (props) => {
7570
7589
  const { value } = props;
7571
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7572
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7573
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("p", { className: "", children: value }) })
7590
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7591
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7592
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: "", children: value }) })
7574
7593
  ] });
7575
7594
  };
7576
7595
  var InfoWithText_default = InfoWithText;
7577
7596
 
7578
7597
  // src/components/texts/InputWithSpecialExpression.tsx
7579
7598
  var import_react_katex12 = require("react-katex");
7580
- var import_jsx_runtime64 = require("react/jsx-runtime");
7599
+ var import_jsx_runtime65 = require("react/jsx-runtime");
7581
7600
  var InputWithSpecialExpression = ({
7582
7601
  value,
7583
7602
  showSpecialOnly
7584
7603
  }) => {
7585
7604
  const inputWithSpecialExpressionList = constructInputWithSpecialExpressionList(value);
7586
- return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
7605
+ return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
7587
7606
  "span",
7588
7607
  {
7589
7608
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7590
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
7609
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
7591
7610
  }
7592
- )) }) }) : null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
7611
+ )) }) }) : null : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "m-2", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
7593
7612
  "span",
7594
7613
  {
7595
7614
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7596
- children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
7615
+ children: inputPart.isEquation ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "text-lg", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_katex12.InlineMath, { math: inputPart.value }, index) }) : inputPart.value
7597
7616
  }
7598
7617
  )) }) });
7599
7618
  };
7600
7619
  var InputWithSpecialExpression_default = InputWithSpecialExpression;
7601
7620
 
7602
7621
  // src/components/titles/BaseTitle.tsx
7603
- var import_jsx_runtime65 = require("react/jsx-runtime");
7622
+ var import_jsx_runtime66 = require("react/jsx-runtime");
7604
7623
  var BaseTitle = ({
7605
7624
  title,
7606
7625
  totalItemCount,
7607
7626
  itemName,
7608
7627
  description
7609
7628
  }) => {
7610
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
7611
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("p", { className: "text-2xl font-medium", children: [
7629
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
7630
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("p", { className: "text-2xl font-medium", children: [
7612
7631
  title,
7613
- totalItemCount && itemName ? /* @__PURE__ */ (0, import_jsx_runtime65.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: [
7632
+ totalItemCount && itemName ? /* @__PURE__ */ (0, import_jsx_runtime66.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: [
7614
7633
  totalItemCount,
7615
7634
  " ",
7616
7635
  itemName
7617
7636
  ] }) : null
7618
7637
  ] }),
7619
- description ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "", children: description }) : null
7638
+ description ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "", children: description }) : null
7620
7639
  ] });
7621
7640
  };
7622
7641
  var BaseTitle_default = BaseTitle;
7623
7642
 
7624
7643
  // src/components/titles/SubTitle.tsx
7625
- var import_jsx_runtime66 = require("react/jsx-runtime");
7644
+ var import_jsx_runtime67 = require("react/jsx-runtime");
7626
7645
  var SubTitle = ({ title }) => {
7627
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7646
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7628
7647
  };
7629
7648
  var SubTitle_default = SubTitle;
7630
7649
 
@@ -10274,6 +10293,7 @@ var retrieveActivityMethodologyOptionList = () => {
10274
10293
  BlueVerticalDividerLine,
10275
10294
  BrandLabel,
10276
10295
  CancelButton,
10296
+ CategoryLabel,
10277
10297
  CoterieLabel,
10278
10298
  CreateButton,
10279
10299
  DeleteButton,
package/dist/index.mjs CHANGED
@@ -7270,10 +7270,11 @@ var SelectionTabFill_default = SelectionTabFill;
7270
7270
  import { jsx as jsx55, jsxs as jsxs41 } from "react/jsx-runtime";
7271
7271
  var ActivityTemplateLabel = ({
7272
7272
  title,
7273
+ icon,
7273
7274
  font
7274
7275
  }) => {
7275
7276
  return /* @__PURE__ */ jsx55("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs41("div", { className: "flex flex-row items-center gap-x-2", children: [
7276
- /* @__PURE__ */ jsx55(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7277
+ icon ? icon : /* @__PURE__ */ jsx55(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7277
7278
  /* @__PURE__ */ jsx55("p", { className: font ? font : "text-sm", children: title })
7278
7279
  ] }) });
7279
7280
  };
@@ -7289,35 +7290,52 @@ var BrandLabel = ({ title, icon, font }) => {
7289
7290
  };
7290
7291
  var BrandLabel_default = BrandLabel;
7291
7292
 
7293
+ // src/components/labels/CategoryLabel.tsx
7294
+ import { jsx as jsx57, jsxs as jsxs43 } from "react/jsx-runtime";
7295
+ var CategoryLabel = ({ title, icon, font }) => {
7296
+ return /* @__PURE__ */ jsx57("div", { className: "px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs43("div", { className: "flex flex-row items-center gap-x-2", children: [
7297
+ icon ? icon : /* @__PURE__ */ jsx57(
7298
+ BaseImage_default,
7299
+ {
7300
+ src: "/icons/category-label.webp",
7301
+ alt: "label",
7302
+ size: "xsmall"
7303
+ }
7304
+ ),
7305
+ /* @__PURE__ */ jsx57("p", { className: font ? font : "text-sm", children: title })
7306
+ ] }) });
7307
+ };
7308
+ var CategoryLabel_default = CategoryLabel;
7309
+
7292
7310
  // src/components/labels/CoterieLabel.tsx
7293
- import { jsx as jsx57 } from "react/jsx-runtime";
7311
+ import { jsx as jsx58 } from "react/jsx-runtime";
7294
7312
  var CoterieLabel = ({ title, font }) => {
7295
- return /* @__PURE__ */ jsx57("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsx57("p", { className: font ? font : "text-sm", children: title }) });
7313
+ 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", children: /* @__PURE__ */ jsx58("p", { className: font ? font : "text-sm", children: title }) });
7296
7314
  };
7297
7315
  var CoterieLabel_default = CoterieLabel;
7298
7316
 
7299
7317
  // src/components/labels/GradeLabel.tsx
7300
- import { jsx as jsx58 } from "react/jsx-runtime";
7318
+ import { jsx as jsx59 } from "react/jsx-runtime";
7301
7319
  var GradeLabel = ({ title, font }) => {
7302
- 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", children: /* @__PURE__ */ jsx58("p", { className: font ? font : "text-sm", children: title }) });
7320
+ return /* @__PURE__ */ jsx59("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsx59("p", { className: font ? font : "text-sm", children: title }) });
7303
7321
  };
7304
7322
  var GradeLabel_default = GradeLabel;
7305
7323
 
7306
7324
  // src/components/labels/OutcomeLabel.tsx
7307
- import { jsx as jsx59, jsxs as jsxs43 } from "react/jsx-runtime";
7325
+ import { jsx as jsx60, jsxs as jsxs44 } from "react/jsx-runtime";
7308
7326
  var OutcomeLabel = ({ title, font }) => {
7309
- 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", children: /* @__PURE__ */ jsxs43("div", { className: "flex flex-row items-center gap-x-2", children: [
7310
- /* @__PURE__ */ jsx59(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7311
- /* @__PURE__ */ jsx59("p", { className: font ? font : "text-sm", children: title })
7327
+ 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", children: /* @__PURE__ */ jsxs44("div", { className: "flex flex-row items-center gap-x-2", children: [
7328
+ /* @__PURE__ */ jsx60(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7329
+ /* @__PURE__ */ jsx60("p", { className: font ? font : "text-sm", children: title })
7312
7330
  ] }) });
7313
7331
  };
7314
7332
  var OutcomeLabel_default = OutcomeLabel;
7315
7333
 
7316
7334
  // src/components/labels/PersonalLabel.tsx
7317
- import { jsx as jsx60, jsxs as jsxs44 } from "react/jsx-runtime";
7335
+ import { jsx as jsx61, jsxs as jsxs45 } from "react/jsx-runtime";
7318
7336
  var PersonalLabel = ({ title, icon, font }) => {
7319
- return /* @__PURE__ */ jsx60("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs44("div", { className: "flex flex-row items-center gap-x-2", children: [
7320
- icon ? icon : /* @__PURE__ */ jsx60(
7337
+ return /* @__PURE__ */ jsx61("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs45("div", { className: "flex flex-row items-center gap-x-2", children: [
7338
+ icon ? icon : /* @__PURE__ */ jsx61(
7321
7339
  BaseImage_default,
7322
7340
  {
7323
7341
  src: "/icons/personal-label.webp",
@@ -7325,16 +7343,16 @@ var PersonalLabel = ({ title, icon, font }) => {
7325
7343
  size: "xsmall"
7326
7344
  }
7327
7345
  ),
7328
- /* @__PURE__ */ jsx60("p", { className: font ? font : "text-sm", children: title })
7346
+ /* @__PURE__ */ jsx61("p", { className: font ? font : "text-sm", children: title })
7329
7347
  ] }) });
7330
7348
  };
7331
7349
  var PersonalLabel_default = PersonalLabel;
7332
7350
 
7333
7351
  // src/components/labels/PublishingHouseLabel.tsx
7334
- import { jsx as jsx61, jsxs as jsxs45 } from "react/jsx-runtime";
7352
+ import { jsx as jsx62, jsxs as jsxs46 } from "react/jsx-runtime";
7335
7353
  var PublishingHouseLabel = ({ title, icon, font }) => {
7336
- return /* @__PURE__ */ jsx61("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", children: /* @__PURE__ */ jsxs45("div", { className: "flex flex-row items-center gap-x-2", children: [
7337
- icon ? icon : /* @__PURE__ */ jsx61(
7354
+ return /* @__PURE__ */ jsx62("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", children: /* @__PURE__ */ jsxs46("div", { className: "flex flex-row items-center gap-x-2", children: [
7355
+ icon ? icon : /* @__PURE__ */ jsx62(
7338
7356
  BaseImage_default,
7339
7357
  {
7340
7358
  src: "/icons/publishing-house-label.webp",
@@ -7342,79 +7360,79 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
7342
7360
  size: "xsmall"
7343
7361
  }
7344
7362
  ),
7345
- /* @__PURE__ */ jsx61("p", { className: font ? font : "text-sm", children: title })
7363
+ /* @__PURE__ */ jsx62("p", { className: font ? font : "text-sm", children: title })
7346
7364
  ] }) });
7347
7365
  };
7348
7366
  var PublishingHouseLabel_default = PublishingHouseLabel;
7349
7367
 
7350
7368
  // src/components/labels/ActivityLabel.tsx
7351
- import { jsx as jsx62 } from "react/jsx-runtime";
7369
+ import { jsx as jsx63 } from "react/jsx-runtime";
7352
7370
  var ActivityLabel = ({ title, font }) => {
7353
- return /* @__PURE__ */ jsx62("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", children: /* @__PURE__ */ jsx62("p", { className: font ? font : "text-sm", children: title }) });
7371
+ return /* @__PURE__ */ jsx63("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", children: /* @__PURE__ */ jsx63("p", { className: font ? font : "text-sm", children: title }) });
7354
7372
  };
7355
7373
  var ActivityLabel_default = ActivityLabel;
7356
7374
 
7357
7375
  // src/components/infos/InfoWithText.tsx
7358
- import { jsx as jsx63, jsxs as jsxs46 } from "react/jsx-runtime";
7376
+ import { jsx as jsx64, jsxs as jsxs47 } from "react/jsx-runtime";
7359
7377
  var InfoWithText = (props) => {
7360
7378
  const { value } = props;
7361
- return /* @__PURE__ */ jsxs46("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7362
- /* @__PURE__ */ jsx63(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7363
- /* @__PURE__ */ jsx63("div", { className: "flex-1", children: /* @__PURE__ */ jsx63("p", { className: "", children: value }) })
7379
+ return /* @__PURE__ */ jsxs47("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7380
+ /* @__PURE__ */ jsx64(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7381
+ /* @__PURE__ */ jsx64("div", { className: "flex-1", children: /* @__PURE__ */ jsx64("p", { className: "", children: value }) })
7364
7382
  ] });
7365
7383
  };
7366
7384
  var InfoWithText_default = InfoWithText;
7367
7385
 
7368
7386
  // src/components/texts/InputWithSpecialExpression.tsx
7369
7387
  import { InlineMath as InlineMath12 } from "react-katex";
7370
- import { jsx as jsx64 } from "react/jsx-runtime";
7388
+ import { jsx as jsx65 } from "react/jsx-runtime";
7371
7389
  var InputWithSpecialExpression = ({
7372
7390
  value,
7373
7391
  showSpecialOnly
7374
7392
  }) => {
7375
7393
  const inputWithSpecialExpressionList = constructInputWithSpecialExpressionList(value);
7376
- return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ jsx64("div", { className: "m-2", children: /* @__PURE__ */ jsx64("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx64(
7394
+ return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ jsx65("div", { className: "m-2", children: /* @__PURE__ */ jsx65("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx65(
7377
7395
  "span",
7378
7396
  {
7379
7397
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7380
- children: inputPart.isEquation ? /* @__PURE__ */ jsx64("span", { className: "text-lg", children: /* @__PURE__ */ jsx64(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7398
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx65("span", { className: "text-lg", children: /* @__PURE__ */ jsx65(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7381
7399
  }
7382
- )) }) }) : null : /* @__PURE__ */ jsx64("div", { className: "m-2", children: /* @__PURE__ */ jsx64("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx64(
7400
+ )) }) }) : null : /* @__PURE__ */ jsx65("div", { className: "m-2", children: /* @__PURE__ */ jsx65("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx65(
7383
7401
  "span",
7384
7402
  {
7385
7403
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7386
- children: inputPart.isEquation ? /* @__PURE__ */ jsx64("span", { className: "text-lg", children: /* @__PURE__ */ jsx64(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7404
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx65("span", { className: "text-lg", children: /* @__PURE__ */ jsx65(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7387
7405
  }
7388
7406
  )) }) });
7389
7407
  };
7390
7408
  var InputWithSpecialExpression_default = InputWithSpecialExpression;
7391
7409
 
7392
7410
  // src/components/titles/BaseTitle.tsx
7393
- import { jsx as jsx65, jsxs as jsxs47 } from "react/jsx-runtime";
7411
+ import { jsx as jsx66, jsxs as jsxs48 } from "react/jsx-runtime";
7394
7412
  var BaseTitle = ({
7395
7413
  title,
7396
7414
  totalItemCount,
7397
7415
  itemName,
7398
7416
  description
7399
7417
  }) => {
7400
- return /* @__PURE__ */ jsxs47("div", { className: "flex flex-col gap-y-2", children: [
7401
- /* @__PURE__ */ jsxs47("p", { className: "text-2xl font-medium", children: [
7418
+ return /* @__PURE__ */ jsxs48("div", { className: "flex flex-col gap-y-2", children: [
7419
+ /* @__PURE__ */ jsxs48("p", { className: "text-2xl font-medium", children: [
7402
7420
  title,
7403
- totalItemCount && itemName ? /* @__PURE__ */ jsxs47("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: [
7421
+ totalItemCount && itemName ? /* @__PURE__ */ jsxs48("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: [
7404
7422
  totalItemCount,
7405
7423
  " ",
7406
7424
  itemName
7407
7425
  ] }) : null
7408
7426
  ] }),
7409
- description ? /* @__PURE__ */ jsx65("p", { className: "", children: description }) : null
7427
+ description ? /* @__PURE__ */ jsx66("p", { className: "", children: description }) : null
7410
7428
  ] });
7411
7429
  };
7412
7430
  var BaseTitle_default = BaseTitle;
7413
7431
 
7414
7432
  // src/components/titles/SubTitle.tsx
7415
- import { jsx as jsx66 } from "react/jsx-runtime";
7433
+ import { jsx as jsx67 } from "react/jsx-runtime";
7416
7434
  var SubTitle = ({ title }) => {
7417
- return /* @__PURE__ */ jsx66("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7435
+ return /* @__PURE__ */ jsx67("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7418
7436
  };
7419
7437
  var SubTitle_default = SubTitle;
7420
7438
 
@@ -10063,6 +10081,7 @@ export {
10063
10081
  BlueVerticalDividerLine_default as BlueVerticalDividerLine,
10064
10082
  BrandLabel_default as BrandLabel,
10065
10083
  CancelButton_default as CancelButton,
10084
+ CategoryLabel_default as CategoryLabel,
10066
10085
  CoterieLabel_default as CoterieLabel,
10067
10086
  CreateButton_default as CreateButton,
10068
10087
  DeleteButton_default as DeleteButton,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.15.11",
3
+ "version": "1.15.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -3,12 +3,18 @@ import BaseImage from "../images/BaseImage";
3
3
 
4
4
  const ActivityTemplateLabel = ({
5
5
  title,
6
+ icon,
6
7
  font,
7
8
  }: IActivityTemplateLabelProps) => {
8
9
  return (
9
10
  <div className="px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge">
10
11
  <div className="flex flex-row items-center gap-x-2">
11
- <BaseImage src="/icons/activity.webp" alt="label" size="xsmall" />
12
+ {icon ? (
13
+ icon
14
+ ) : (
15
+ <BaseImage src="/icons/activity.webp" alt="label" size="xsmall" />
16
+ )}
17
+
12
18
  <p className={font ? font : "text-sm"}>{title}</p>
13
19
  </div>
14
20
  </div>
@@ -0,0 +1,23 @@
1
+ import { ICategoryLabelProps } from "../../properties/LabelProperties";
2
+ import BaseImage from "../images/BaseImage";
3
+
4
+ const CategoryLabel = ({ title, icon, font }: ICategoryLabelProps) => {
5
+ return (
6
+ <div className="px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge">
7
+ <div className="flex flex-row items-center gap-x-2">
8
+ {icon ? (
9
+ icon
10
+ ) : (
11
+ <BaseImage
12
+ src="/icons/category-label.webp"
13
+ alt="label"
14
+ size="xsmall"
15
+ />
16
+ )}
17
+ <p className={font ? font : "text-sm"}>{title}</p>
18
+ </div>
19
+ </div>
20
+ );
21
+ };
22
+
23
+ export default CategoryLabel;
package/src/index.ts CHANGED
@@ -53,6 +53,7 @@ export { default as SelectionTabFill } from "./components/tabs/SelectionTabFill"
53
53
 
54
54
  export { default as ActivityTemplateLabel } from "./components/labels/ActivityTemplateLabel";
55
55
  export { default as BrandLabel } from "./components/labels/BrandLabel";
56
+ export { default as CategoryLabel } from "./components/labels/CategoryLabel";
56
57
  export { default as CoterieLabel } from "./components/labels/CoterieLabel";
57
58
  export { default as GradeLabel } from "./components/labels/GradeLabel";
58
59
  export { default as OutcomeLabel } from "./components/labels/OutcomeLabel";
@@ -1,5 +1,6 @@
1
1
  export interface IActivityTemplateLabelProps {
2
2
  title: string;
3
+ icon: any;
3
4
  font: string;
4
5
  }
5
6
 
@@ -9,6 +10,12 @@ export interface IBrandLabelProps {
9
10
  font: string;
10
11
  }
11
12
 
13
+ export interface ICategoryLabelProps {
14
+ title: string;
15
+ icon: any;
16
+ font: string;
17
+ }
18
+
12
19
  export interface ICoterieLabelProps {
13
20
  title: string;
14
21
  font: string;