catchup-library-web 1.0.2 → 1.0.4

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.
Files changed (32) hide show
  1. package/dist/index.d.mts +305 -2
  2. package/dist/index.d.ts +305 -2
  3. package/dist/index.js +2768 -334
  4. package/dist/index.mjs +2657 -292
  5. package/package.json +1 -1
  6. package/src/components/boxes/SelectionBox.tsx +41 -0
  7. package/src/components/boxes/SelectionCheckbox.tsx +66 -0
  8. package/src/components/labels/ActivityTemplateLabel.tsx +15 -0
  9. package/src/components/labels/BrandLabel.tsx +19 -0
  10. package/src/components/labels/CoterieLabel.tsx +11 -0
  11. package/src/components/labels/GradeLabel.tsx +11 -0
  12. package/src/components/labels/OutcomeLabel.tsx +15 -0
  13. package/src/components/labels/PersonalLabel.tsx +23 -0
  14. package/src/components/labels/PublishingHouseLabel.tsx +23 -0
  15. package/src/components/modals/BaseModal.tsx +56 -0
  16. package/src/components/tabs/SelectionTab.tsx +45 -0
  17. package/src/index.ts +25 -0
  18. package/src/properties/BoxProperties.ts +12 -0
  19. package/src/properties/GroupProperties.ts +1 -1
  20. package/src/properties/LabelProperties.ts +33 -0
  21. package/src/properties/ModalProperties.ts +8 -0
  22. package/src/properties/TabProperties.ts +9 -0
  23. package/src/utilization/AuthorizationUtilization.ts +15 -0
  24. package/src/utilization/CategoryUtilization.ts +314 -0
  25. package/src/utilization/DateUtilization.ts +85 -0
  26. package/src/utilization/FunctionUtilization.ts +50 -0
  27. package/src/utilization/GamificationUtilization.ts +495 -0
  28. package/src/utilization/IndividualModelUtilization.ts +48 -0
  29. package/src/utilization/ManagementUtilization.ts +1201 -0
  30. package/src/utilization/NotificationUtilization.ts +59 -0
  31. package/src/utilization/ReportUtilization.ts +42 -0
  32. package/src/utilization/TokenUtilization.ts +39 -0
@@ -0,0 +1,59 @@
1
+ import i18n from "../language/i18n";
2
+
3
+ export const retrieveAnnouncementTypeOptionList = () => {
4
+ return [
5
+ {
6
+ value: "USER",
7
+ text: i18n.t("USER"),
8
+ },
9
+ {
10
+ value: "USER_PROFILE",
11
+ text: i18n.t("USER_PROFILE"),
12
+ },
13
+ {
14
+ value: "BRAND",
15
+ text: i18n.t("BRAND"),
16
+ },
17
+ {
18
+ value: "CAMPUS",
19
+ text: i18n.t("CAMPUS"),
20
+ },
21
+ {
22
+ value: "INSTITUTION",
23
+ text: i18n.t("INSTITUTION"),
24
+ },
25
+ {
26
+ value: "SEASON",
27
+ text: i18n.t("SEASON"),
28
+ },
29
+ {
30
+ value: "GRADE",
31
+ text: i18n.t("GRADE"),
32
+ },
33
+ {
34
+ value: "BRANCH",
35
+ text: i18n.t("BRANCH"),
36
+ },
37
+ ];
38
+ };
39
+
40
+ export const retrieveAnnouncementAudienceOptionList = () => {
41
+ return [
42
+ {
43
+ value: "EVERYONE",
44
+ text: i18n.t("EVERYONE"),
45
+ },
46
+ {
47
+ value: "STAFF",
48
+ text: i18n.t("STAFF"),
49
+ },
50
+ {
51
+ value: "COTERIE",
52
+ text: i18n.t("COTERIE"),
53
+ },
54
+ {
55
+ value: "LEARNER",
56
+ text: i18n.t("LEARNER"),
57
+ },
58
+ ];
59
+ };
@@ -0,0 +1,42 @@
1
+ import i18n from "../language/i18n";
2
+
3
+ export const retrieveReportTypeOptionList = () => {
4
+ return [
5
+ {
6
+ value: "USER",
7
+ text: i18n.t("USER"),
8
+ },
9
+ {
10
+ value: "USER_PROFILE",
11
+ text: i18n.t("USER_PROFILE"),
12
+ },
13
+ {
14
+ value: "BRANCH",
15
+ text: i18n.t("BRANCH"),
16
+ },
17
+ {
18
+ value: "GRADE",
19
+ text: i18n.t("GRADE"),
20
+ },
21
+ {
22
+ value: "SEASON",
23
+ text: i18n.t("SEASON"),
24
+ },
25
+ {
26
+ value: "INSTITUTION",
27
+ text: i18n.t("INSTITUTION"),
28
+ },
29
+ {
30
+ value: "CAMPUS",
31
+ text: i18n.t("CAMPUS"),
32
+ },
33
+ {
34
+ value: "REGION",
35
+ text: i18n.t("REGION"),
36
+ },
37
+ {
38
+ value: "BRAND",
39
+ text: i18n.t("BRAND"),
40
+ },
41
+ ];
42
+ };
@@ -0,0 +1,39 @@
1
+ import i18n from "../language/i18n";
2
+
3
+ export const retrieveTokenUsageTypeOptionList = () => {
4
+ return [
5
+ {
6
+ text: i18n.t("AI"),
7
+ value: "AI",
8
+ },
9
+ {
10
+ text: i18n.t("SYSTEM"),
11
+ value: "SYSTEM",
12
+ },
13
+ ];
14
+ };
15
+
16
+ export const retrieveTokenUsageSubTypeOptionList = () => {
17
+ return [
18
+ {
19
+ text: i18n.t("ACTIVITY_EVALUATION"),
20
+ value: "ACTIVITY_EVALUATION",
21
+ },
22
+ {
23
+ text: i18n.t("ACTIVITY_TEMPLATE_GENERATION"),
24
+ value: "ACTIVITY_TEMPLATE_GENERATION",
25
+ },
26
+ {
27
+ text: i18n.t("IMAGE_PROCESSING"),
28
+ value: "IMAGE_PROCESSING",
29
+ },
30
+ {
31
+ text: i18n.t("ACTIVITY_SOLUTION"),
32
+ value: "ACTIVITY_SOLUTION",
33
+ },
34
+ {
35
+ text: i18n.t("ACTIVITY_HINT"),
36
+ value: "ACTIVITY_HINT",
37
+ },
38
+ ];
39
+ };