catchup-library-web 1.15.11 → 1.15.12
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 +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +53 -34
- package/dist/index.mjs +52 -34
- package/package.json +1 -1
- package/src/components/labels/CategoryLabel.tsx +23 -0
- package/src/index.ts +1 -0
- package/src/properties/LabelProperties.ts +6 -0
package/dist/index.d.mts
CHANGED
|
@@ -386,6 +386,11 @@ interface IBrandLabelProps {
|
|
|
386
386
|
icon: any;
|
|
387
387
|
font: string;
|
|
388
388
|
}
|
|
389
|
+
interface ICategoryLabelProps {
|
|
390
|
+
title: string;
|
|
391
|
+
icon: any;
|
|
392
|
+
font: string;
|
|
393
|
+
}
|
|
389
394
|
interface ICoterieLabelProps {
|
|
390
395
|
title: string;
|
|
391
396
|
font: string;
|
|
@@ -417,6 +422,8 @@ declare const ActivityTemplateLabel: ({ title, font, }: IActivityTemplateLabelPr
|
|
|
417
422
|
|
|
418
423
|
declare const BrandLabel: ({ title, icon, font }: IBrandLabelProps) => react_jsx_runtime.JSX.Element;
|
|
419
424
|
|
|
425
|
+
declare const CategoryLabel: ({ title, icon, font }: ICategoryLabelProps) => react_jsx_runtime.JSX.Element;
|
|
426
|
+
|
|
420
427
|
declare const CoterieLabel: ({ title, font }: ICoterieLabelProps) => react_jsx_runtime.JSX.Element;
|
|
421
428
|
|
|
422
429
|
declare const GradeLabel: ({ title, font }: IGradeLabelProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -828,4 +835,4 @@ declare const retrieveActivityMethodologyOptionList: () => {
|
|
|
828
835
|
text: string;
|
|
829
836
|
}[];
|
|
830
837
|
|
|
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 };
|
|
838
|
+
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
|
@@ -386,6 +386,11 @@ interface IBrandLabelProps {
|
|
|
386
386
|
icon: any;
|
|
387
387
|
font: string;
|
|
388
388
|
}
|
|
389
|
+
interface ICategoryLabelProps {
|
|
390
|
+
title: string;
|
|
391
|
+
icon: any;
|
|
392
|
+
font: string;
|
|
393
|
+
}
|
|
389
394
|
interface ICoterieLabelProps {
|
|
390
395
|
title: string;
|
|
391
396
|
font: string;
|
|
@@ -417,6 +422,8 @@ declare const ActivityTemplateLabel: ({ title, font, }: IActivityTemplateLabelPr
|
|
|
417
422
|
|
|
418
423
|
declare const BrandLabel: ({ title, icon, font }: IBrandLabelProps) => react_jsx_runtime.JSX.Element;
|
|
419
424
|
|
|
425
|
+
declare const CategoryLabel: ({ title, icon, font }: ICategoryLabelProps) => react_jsx_runtime.JSX.Element;
|
|
426
|
+
|
|
420
427
|
declare const CoterieLabel: ({ title, font }: ICoterieLabelProps) => react_jsx_runtime.JSX.Element;
|
|
421
428
|
|
|
422
429
|
declare const GradeLabel: ({ title, font }: IGradeLabelProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -828,4 +835,4 @@ declare const retrieveActivityMethodologyOptionList: () => {
|
|
|
828
835
|
text: string;
|
|
829
836
|
}[];
|
|
830
837
|
|
|
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 };
|
|
838
|
+
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,
|
|
@@ -7499,35 +7500,52 @@ var BrandLabel = ({ title, icon, font }) => {
|
|
|
7499
7500
|
};
|
|
7500
7501
|
var BrandLabel_default = BrandLabel;
|
|
7501
7502
|
|
|
7502
|
-
// src/components/labels/
|
|
7503
|
+
// src/components/labels/CategoryLabel.tsx
|
|
7503
7504
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
7505
|
+
var CategoryLabel = ({ title, icon, font }) => {
|
|
7506
|
+
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: [
|
|
7507
|
+
icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
7508
|
+
BaseImage_default,
|
|
7509
|
+
{
|
|
7510
|
+
src: "/icons/category-label.webp",
|
|
7511
|
+
alt: "label",
|
|
7512
|
+
size: "xsmall"
|
|
7513
|
+
}
|
|
7514
|
+
),
|
|
7515
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: font ? font : "text-sm", children: title })
|
|
7516
|
+
] }) });
|
|
7517
|
+
};
|
|
7518
|
+
var CategoryLabel_default = CategoryLabel;
|
|
7519
|
+
|
|
7520
|
+
// src/components/labels/CoterieLabel.tsx
|
|
7521
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
7504
7522
|
var CoterieLabel = ({ title, font }) => {
|
|
7505
|
-
return /* @__PURE__ */ (0,
|
|
7523
|
+
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
7524
|
};
|
|
7507
7525
|
var CoterieLabel_default = CoterieLabel;
|
|
7508
7526
|
|
|
7509
7527
|
// src/components/labels/GradeLabel.tsx
|
|
7510
|
-
var
|
|
7528
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
7511
7529
|
var GradeLabel = ({ title, font }) => {
|
|
7512
|
-
return /* @__PURE__ */ (0,
|
|
7530
|
+
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
7531
|
};
|
|
7514
7532
|
var GradeLabel_default = GradeLabel;
|
|
7515
7533
|
|
|
7516
7534
|
// src/components/labels/OutcomeLabel.tsx
|
|
7517
|
-
var
|
|
7535
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
7518
7536
|
var OutcomeLabel = ({ title, font }) => {
|
|
7519
|
-
return /* @__PURE__ */ (0,
|
|
7520
|
-
/* @__PURE__ */ (0,
|
|
7521
|
-
/* @__PURE__ */ (0,
|
|
7537
|
+
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: [
|
|
7538
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
|
|
7539
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: font ? font : "text-sm", children: title })
|
|
7522
7540
|
] }) });
|
|
7523
7541
|
};
|
|
7524
7542
|
var OutcomeLabel_default = OutcomeLabel;
|
|
7525
7543
|
|
|
7526
7544
|
// src/components/labels/PersonalLabel.tsx
|
|
7527
|
-
var
|
|
7545
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
7528
7546
|
var PersonalLabel = ({ title, icon, font }) => {
|
|
7529
|
-
return /* @__PURE__ */ (0,
|
|
7530
|
-
icon ? icon : /* @__PURE__ */ (0,
|
|
7547
|
+
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: [
|
|
7548
|
+
icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
7531
7549
|
BaseImage_default,
|
|
7532
7550
|
{
|
|
7533
7551
|
src: "/icons/personal-label.webp",
|
|
@@ -7535,16 +7553,16 @@ var PersonalLabel = ({ title, icon, font }) => {
|
|
|
7535
7553
|
size: "xsmall"
|
|
7536
7554
|
}
|
|
7537
7555
|
),
|
|
7538
|
-
/* @__PURE__ */ (0,
|
|
7556
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: font ? font : "text-sm", children: title })
|
|
7539
7557
|
] }) });
|
|
7540
7558
|
};
|
|
7541
7559
|
var PersonalLabel_default = PersonalLabel;
|
|
7542
7560
|
|
|
7543
7561
|
// src/components/labels/PublishingHouseLabel.tsx
|
|
7544
|
-
var
|
|
7562
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
7545
7563
|
var PublishingHouseLabel = ({ title, icon, font }) => {
|
|
7546
|
-
return /* @__PURE__ */ (0,
|
|
7547
|
-
icon ? icon : /* @__PURE__ */ (0,
|
|
7564
|
+
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: [
|
|
7565
|
+
icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
7548
7566
|
BaseImage_default,
|
|
7549
7567
|
{
|
|
7550
7568
|
src: "/icons/publishing-house-label.webp",
|
|
@@ -7552,79 +7570,79 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
|
|
|
7552
7570
|
size: "xsmall"
|
|
7553
7571
|
}
|
|
7554
7572
|
),
|
|
7555
|
-
/* @__PURE__ */ (0,
|
|
7573
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: font ? font : "text-sm", children: title })
|
|
7556
7574
|
] }) });
|
|
7557
7575
|
};
|
|
7558
7576
|
var PublishingHouseLabel_default = PublishingHouseLabel;
|
|
7559
7577
|
|
|
7560
7578
|
// src/components/labels/ActivityLabel.tsx
|
|
7561
|
-
var
|
|
7579
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
7562
7580
|
var ActivityLabel = ({ title, font }) => {
|
|
7563
|
-
return /* @__PURE__ */ (0,
|
|
7581
|
+
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
7582
|
};
|
|
7565
7583
|
var ActivityLabel_default = ActivityLabel;
|
|
7566
7584
|
|
|
7567
7585
|
// src/components/infos/InfoWithText.tsx
|
|
7568
|
-
var
|
|
7586
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
7569
7587
|
var InfoWithText = (props) => {
|
|
7570
7588
|
const { value } = props;
|
|
7571
|
-
return /* @__PURE__ */ (0,
|
|
7572
|
-
/* @__PURE__ */ (0,
|
|
7573
|
-
/* @__PURE__ */ (0,
|
|
7589
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
|
|
7590
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
|
|
7591
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: "", children: value }) })
|
|
7574
7592
|
] });
|
|
7575
7593
|
};
|
|
7576
7594
|
var InfoWithText_default = InfoWithText;
|
|
7577
7595
|
|
|
7578
7596
|
// src/components/texts/InputWithSpecialExpression.tsx
|
|
7579
7597
|
var import_react_katex12 = require("react-katex");
|
|
7580
|
-
var
|
|
7598
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
7581
7599
|
var InputWithSpecialExpression = ({
|
|
7582
7600
|
value,
|
|
7583
7601
|
showSpecialOnly
|
|
7584
7602
|
}) => {
|
|
7585
7603
|
const inputWithSpecialExpressionList = constructInputWithSpecialExpressionList(value);
|
|
7586
|
-
return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ (0,
|
|
7604
|
+
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
7605
|
"span",
|
|
7588
7606
|
{
|
|
7589
7607
|
className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
|
|
7590
|
-
children: inputPart.isEquation ? /* @__PURE__ */ (0,
|
|
7608
|
+
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
7609
|
}
|
|
7592
|
-
)) }) }) : null : /* @__PURE__ */ (0,
|
|
7610
|
+
)) }) }) : 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
7611
|
"span",
|
|
7594
7612
|
{
|
|
7595
7613
|
className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
|
|
7596
|
-
children: inputPart.isEquation ? /* @__PURE__ */ (0,
|
|
7614
|
+
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
7615
|
}
|
|
7598
7616
|
)) }) });
|
|
7599
7617
|
};
|
|
7600
7618
|
var InputWithSpecialExpression_default = InputWithSpecialExpression;
|
|
7601
7619
|
|
|
7602
7620
|
// src/components/titles/BaseTitle.tsx
|
|
7603
|
-
var
|
|
7621
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
7604
7622
|
var BaseTitle = ({
|
|
7605
7623
|
title,
|
|
7606
7624
|
totalItemCount,
|
|
7607
7625
|
itemName,
|
|
7608
7626
|
description
|
|
7609
7627
|
}) => {
|
|
7610
|
-
return /* @__PURE__ */ (0,
|
|
7611
|
-
/* @__PURE__ */ (0,
|
|
7628
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
|
|
7629
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("p", { className: "text-2xl font-medium", children: [
|
|
7612
7630
|
title,
|
|
7613
|
-
totalItemCount && itemName ? /* @__PURE__ */ (0,
|
|
7631
|
+
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
7632
|
totalItemCount,
|
|
7615
7633
|
" ",
|
|
7616
7634
|
itemName
|
|
7617
7635
|
] }) : null
|
|
7618
7636
|
] }),
|
|
7619
|
-
description ? /* @__PURE__ */ (0,
|
|
7637
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "", children: description }) : null
|
|
7620
7638
|
] });
|
|
7621
7639
|
};
|
|
7622
7640
|
var BaseTitle_default = BaseTitle;
|
|
7623
7641
|
|
|
7624
7642
|
// src/components/titles/SubTitle.tsx
|
|
7625
|
-
var
|
|
7643
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
7626
7644
|
var SubTitle = ({ title }) => {
|
|
7627
|
-
return /* @__PURE__ */ (0,
|
|
7645
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
|
|
7628
7646
|
};
|
|
7629
7647
|
var SubTitle_default = SubTitle;
|
|
7630
7648
|
|
|
@@ -10274,6 +10292,7 @@ var retrieveActivityMethodologyOptionList = () => {
|
|
|
10274
10292
|
BlueVerticalDividerLine,
|
|
10275
10293
|
BrandLabel,
|
|
10276
10294
|
CancelButton,
|
|
10295
|
+
CategoryLabel,
|
|
10277
10296
|
CoterieLabel,
|
|
10278
10297
|
CreateButton,
|
|
10279
10298
|
DeleteButton,
|
package/dist/index.mjs
CHANGED
|
@@ -7289,35 +7289,52 @@ var BrandLabel = ({ title, icon, font }) => {
|
|
|
7289
7289
|
};
|
|
7290
7290
|
var BrandLabel_default = BrandLabel;
|
|
7291
7291
|
|
|
7292
|
+
// src/components/labels/CategoryLabel.tsx
|
|
7293
|
+
import { jsx as jsx57, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
7294
|
+
var CategoryLabel = ({ title, icon, font }) => {
|
|
7295
|
+
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: [
|
|
7296
|
+
icon ? icon : /* @__PURE__ */ jsx57(
|
|
7297
|
+
BaseImage_default,
|
|
7298
|
+
{
|
|
7299
|
+
src: "/icons/category-label.webp",
|
|
7300
|
+
alt: "label",
|
|
7301
|
+
size: "xsmall"
|
|
7302
|
+
}
|
|
7303
|
+
),
|
|
7304
|
+
/* @__PURE__ */ jsx57("p", { className: font ? font : "text-sm", children: title })
|
|
7305
|
+
] }) });
|
|
7306
|
+
};
|
|
7307
|
+
var CategoryLabel_default = CategoryLabel;
|
|
7308
|
+
|
|
7292
7309
|
// src/components/labels/CoterieLabel.tsx
|
|
7293
|
-
import { jsx as
|
|
7310
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
7294
7311
|
var CoterieLabel = ({ title, font }) => {
|
|
7295
|
-
return /* @__PURE__ */
|
|
7312
|
+
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
7313
|
};
|
|
7297
7314
|
var CoterieLabel_default = CoterieLabel;
|
|
7298
7315
|
|
|
7299
7316
|
// src/components/labels/GradeLabel.tsx
|
|
7300
|
-
import { jsx as
|
|
7317
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
7301
7318
|
var GradeLabel = ({ title, font }) => {
|
|
7302
|
-
return /* @__PURE__ */
|
|
7319
|
+
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
7320
|
};
|
|
7304
7321
|
var GradeLabel_default = GradeLabel;
|
|
7305
7322
|
|
|
7306
7323
|
// src/components/labels/OutcomeLabel.tsx
|
|
7307
|
-
import { jsx as
|
|
7324
|
+
import { jsx as jsx60, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
7308
7325
|
var OutcomeLabel = ({ title, font }) => {
|
|
7309
|
-
return /* @__PURE__ */
|
|
7310
|
-
/* @__PURE__ */
|
|
7311
|
-
/* @__PURE__ */
|
|
7326
|
+
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: [
|
|
7327
|
+
/* @__PURE__ */ jsx60(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
|
|
7328
|
+
/* @__PURE__ */ jsx60("p", { className: font ? font : "text-sm", children: title })
|
|
7312
7329
|
] }) });
|
|
7313
7330
|
};
|
|
7314
7331
|
var OutcomeLabel_default = OutcomeLabel;
|
|
7315
7332
|
|
|
7316
7333
|
// src/components/labels/PersonalLabel.tsx
|
|
7317
|
-
import { jsx as
|
|
7334
|
+
import { jsx as jsx61, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
7318
7335
|
var PersonalLabel = ({ title, icon, font }) => {
|
|
7319
|
-
return /* @__PURE__ */
|
|
7320
|
-
icon ? icon : /* @__PURE__ */
|
|
7336
|
+
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: [
|
|
7337
|
+
icon ? icon : /* @__PURE__ */ jsx61(
|
|
7321
7338
|
BaseImage_default,
|
|
7322
7339
|
{
|
|
7323
7340
|
src: "/icons/personal-label.webp",
|
|
@@ -7325,16 +7342,16 @@ var PersonalLabel = ({ title, icon, font }) => {
|
|
|
7325
7342
|
size: "xsmall"
|
|
7326
7343
|
}
|
|
7327
7344
|
),
|
|
7328
|
-
/* @__PURE__ */
|
|
7345
|
+
/* @__PURE__ */ jsx61("p", { className: font ? font : "text-sm", children: title })
|
|
7329
7346
|
] }) });
|
|
7330
7347
|
};
|
|
7331
7348
|
var PersonalLabel_default = PersonalLabel;
|
|
7332
7349
|
|
|
7333
7350
|
// src/components/labels/PublishingHouseLabel.tsx
|
|
7334
|
-
import { jsx as
|
|
7351
|
+
import { jsx as jsx62, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
7335
7352
|
var PublishingHouseLabel = ({ title, icon, font }) => {
|
|
7336
|
-
return /* @__PURE__ */
|
|
7337
|
-
icon ? icon : /* @__PURE__ */
|
|
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__ */ jsxs46("div", { className: "flex flex-row items-center gap-x-2", children: [
|
|
7354
|
+
icon ? icon : /* @__PURE__ */ jsx62(
|
|
7338
7355
|
BaseImage_default,
|
|
7339
7356
|
{
|
|
7340
7357
|
src: "/icons/publishing-house-label.webp",
|
|
@@ -7342,79 +7359,79 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
|
|
|
7342
7359
|
size: "xsmall"
|
|
7343
7360
|
}
|
|
7344
7361
|
),
|
|
7345
|
-
/* @__PURE__ */
|
|
7362
|
+
/* @__PURE__ */ jsx62("p", { className: font ? font : "text-sm", children: title })
|
|
7346
7363
|
] }) });
|
|
7347
7364
|
};
|
|
7348
7365
|
var PublishingHouseLabel_default = PublishingHouseLabel;
|
|
7349
7366
|
|
|
7350
7367
|
// src/components/labels/ActivityLabel.tsx
|
|
7351
|
-
import { jsx as
|
|
7368
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
7352
7369
|
var ActivityLabel = ({ title, font }) => {
|
|
7353
|
-
return /* @__PURE__ */
|
|
7370
|
+
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
7371
|
};
|
|
7355
7372
|
var ActivityLabel_default = ActivityLabel;
|
|
7356
7373
|
|
|
7357
7374
|
// src/components/infos/InfoWithText.tsx
|
|
7358
|
-
import { jsx as
|
|
7375
|
+
import { jsx as jsx64, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7359
7376
|
var InfoWithText = (props) => {
|
|
7360
7377
|
const { value } = props;
|
|
7361
|
-
return /* @__PURE__ */
|
|
7362
|
-
/* @__PURE__ */
|
|
7363
|
-
/* @__PURE__ */
|
|
7378
|
+
return /* @__PURE__ */ jsxs47("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
|
|
7379
|
+
/* @__PURE__ */ jsx64(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
|
|
7380
|
+
/* @__PURE__ */ jsx64("div", { className: "flex-1", children: /* @__PURE__ */ jsx64("p", { className: "", children: value }) })
|
|
7364
7381
|
] });
|
|
7365
7382
|
};
|
|
7366
7383
|
var InfoWithText_default = InfoWithText;
|
|
7367
7384
|
|
|
7368
7385
|
// src/components/texts/InputWithSpecialExpression.tsx
|
|
7369
7386
|
import { InlineMath as InlineMath12 } from "react-katex";
|
|
7370
|
-
import { jsx as
|
|
7387
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
7371
7388
|
var InputWithSpecialExpression = ({
|
|
7372
7389
|
value,
|
|
7373
7390
|
showSpecialOnly
|
|
7374
7391
|
}) => {
|
|
7375
7392
|
const inputWithSpecialExpressionList = constructInputWithSpecialExpressionList(value);
|
|
7376
|
-
return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */
|
|
7393
|
+
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
7394
|
"span",
|
|
7378
7395
|
{
|
|
7379
7396
|
className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
|
|
7380
|
-
children: inputPart.isEquation ? /* @__PURE__ */
|
|
7397
|
+
children: inputPart.isEquation ? /* @__PURE__ */ jsx65("span", { className: "text-lg", children: /* @__PURE__ */ jsx65(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
|
|
7381
7398
|
}
|
|
7382
|
-
)) }) }) : null : /* @__PURE__ */
|
|
7399
|
+
)) }) }) : null : /* @__PURE__ */ jsx65("div", { className: "m-2", children: /* @__PURE__ */ jsx65("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx65(
|
|
7383
7400
|
"span",
|
|
7384
7401
|
{
|
|
7385
7402
|
className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
|
|
7386
|
-
children: inputPart.isEquation ? /* @__PURE__ */
|
|
7403
|
+
children: inputPart.isEquation ? /* @__PURE__ */ jsx65("span", { className: "text-lg", children: /* @__PURE__ */ jsx65(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
|
|
7387
7404
|
}
|
|
7388
7405
|
)) }) });
|
|
7389
7406
|
};
|
|
7390
7407
|
var InputWithSpecialExpression_default = InputWithSpecialExpression;
|
|
7391
7408
|
|
|
7392
7409
|
// src/components/titles/BaseTitle.tsx
|
|
7393
|
-
import { jsx as
|
|
7410
|
+
import { jsx as jsx66, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7394
7411
|
var BaseTitle = ({
|
|
7395
7412
|
title,
|
|
7396
7413
|
totalItemCount,
|
|
7397
7414
|
itemName,
|
|
7398
7415
|
description
|
|
7399
7416
|
}) => {
|
|
7400
|
-
return /* @__PURE__ */
|
|
7401
|
-
/* @__PURE__ */
|
|
7417
|
+
return /* @__PURE__ */ jsxs48("div", { className: "flex flex-col gap-y-2", children: [
|
|
7418
|
+
/* @__PURE__ */ jsxs48("p", { className: "text-2xl font-medium", children: [
|
|
7402
7419
|
title,
|
|
7403
|
-
totalItemCount && itemName ? /* @__PURE__ */
|
|
7420
|
+
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
7421
|
totalItemCount,
|
|
7405
7422
|
" ",
|
|
7406
7423
|
itemName
|
|
7407
7424
|
] }) : null
|
|
7408
7425
|
] }),
|
|
7409
|
-
description ? /* @__PURE__ */
|
|
7426
|
+
description ? /* @__PURE__ */ jsx66("p", { className: "", children: description }) : null
|
|
7410
7427
|
] });
|
|
7411
7428
|
};
|
|
7412
7429
|
var BaseTitle_default = BaseTitle;
|
|
7413
7430
|
|
|
7414
7431
|
// src/components/titles/SubTitle.tsx
|
|
7415
|
-
import { jsx as
|
|
7432
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
7416
7433
|
var SubTitle = ({ title }) => {
|
|
7417
|
-
return /* @__PURE__ */
|
|
7434
|
+
return /* @__PURE__ */ jsx67("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
|
|
7418
7435
|
};
|
|
7419
7436
|
var SubTitle_default = SubTitle;
|
|
7420
7437
|
|
|
@@ -10063,6 +10080,7 @@ export {
|
|
|
10063
10080
|
BlueVerticalDividerLine_default as BlueVerticalDividerLine,
|
|
10064
10081
|
BrandLabel_default as BrandLabel,
|
|
10065
10082
|
CancelButton_default as CancelButton,
|
|
10083
|
+
CategoryLabel_default as CategoryLabel,
|
|
10066
10084
|
CoterieLabel_default as CoterieLabel,
|
|
10067
10085
|
CreateButton_default as CreateButton,
|
|
10068
10086
|
DeleteButton_default as DeleteButton,
|
package/package.json
CHANGED
|
@@ -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";
|