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
package/dist/index.d.mts CHANGED
@@ -53,6 +53,17 @@ interface IBaseLoadingProps {
53
53
 
54
54
  declare const BaseLoading: ({ height, width, size, primaryColor, secondaryColor, }: IBaseLoadingProps) => react_jsx_runtime.JSX.Element;
55
55
 
56
+ interface IModalProps {
57
+ isOpen: boolean;
58
+ size: string;
59
+ onAfterOpen: () => {};
60
+ onRequestClose: () => {};
61
+ customSize: string;
62
+ children: any;
63
+ }
64
+
65
+ declare const BaseModal: ({ isOpen, size, onAfterOpen, onRequestClose, customSize, children, }: IModalProps) => react_jsx_runtime.JSX.Element;
66
+
56
67
  interface IOrderingActivityProps {
57
68
  answer: any;
58
69
  data: any;
@@ -167,7 +178,7 @@ interface IInputGroupProps {
167
178
  multiple?: boolean;
168
179
  accept?: string;
169
180
  theme?: string;
170
- useMinHeight: boolean;
181
+ useMinHeight?: boolean;
171
182
  disabled?: boolean;
172
183
  limit?: number;
173
184
  }
@@ -185,9 +196,81 @@ declare const useScreenSize: () => {
185
196
  };
186
197
  };
187
198
 
199
+ interface ISelectionBoxProps {
200
+ optionList: any;
201
+ selectedId: any;
202
+ handleSelectOnClick: (e: any) => void;
203
+ }
204
+ interface ISelectionCheckboxBoxProps {
205
+ optionList: any;
206
+ selectedIdList: any;
207
+ handleSelectOnClick: (e: any) => void;
208
+ handleRemoveOnClick: (e: any) => void;
209
+ }
210
+
211
+ declare const SelectionBox: ({ optionList, selectedId, handleSelectOnClick, }: ISelectionBoxProps) => react_jsx_runtime.JSX.Element;
212
+
213
+ declare const SelectionCheckbox: ({ optionList, selectedIdList, handleSelectOnClick, handleRemoveOnClick, }: ISelectionCheckboxBoxProps) => react_jsx_runtime.JSX.Element;
214
+
215
+ interface ISelectionTabProps {
216
+ optionList: any;
217
+ selectedId: any;
218
+ handleSelectOnClick: (e: any) => void;
219
+ textColor: string;
220
+ selectedTextColor: string;
221
+ borderColor: string;
222
+ selectedBorderColor: string;
223
+ }
224
+
225
+ declare const SelectionTab: ({ optionList, selectedId, handleSelectOnClick, selectedTextColor, selectedBorderColor, textColor, borderColor, }: ISelectionTabProps) => react_jsx_runtime.JSX.Element;
226
+
227
+ interface IActivityTemplateLabelProps {
228
+ title: string;
229
+ }
230
+ interface IBrandLabelProps {
231
+ title: string;
232
+ icon: any;
233
+ font: string;
234
+ }
235
+ interface ICoterieLabelProps {
236
+ title: string;
237
+ }
238
+ interface IGradeLabelProps {
239
+ title: string;
240
+ }
241
+ interface IOutcomeLabelProps {
242
+ title: string;
243
+ }
244
+ interface IPersonalLabelProps {
245
+ title: string;
246
+ icon: any;
247
+ font: string;
248
+ }
249
+ interface IPublishingLabelProps {
250
+ title: string;
251
+ icon: any;
252
+ font: string;
253
+ }
254
+
255
+ declare const ActivityTemplateLabel: ({ title }: IActivityTemplateLabelProps) => react_jsx_runtime.JSX.Element;
256
+
257
+ declare const BrandLabel: ({ title, icon, font }: IBrandLabelProps) => react_jsx_runtime.JSX.Element;
258
+
259
+ declare const CoterieLabel: ({ title }: ICoterieLabelProps) => react_jsx_runtime.JSX.Element;
260
+
261
+ declare const GradeLabel: ({ title }: IGradeLabelProps) => react_jsx_runtime.JSX.Element;
262
+
263
+ declare const OutcomeLabel: ({ title }: IOutcomeLabelProps) => react_jsx_runtime.JSX.Element;
264
+
265
+ declare const PersonalLabel: ({ title, icon, font }: IPersonalLabelProps) => react_jsx_runtime.JSX.Element;
266
+
267
+ declare const PublishingHouseLabel: ({ title, icon, font }: IPublishingLabelProps) => react_jsx_runtime.JSX.Element;
268
+
188
269
  declare const shuffleArray: (array: any) => any;
189
270
  declare const getColorByIndex: (index: number) => string;
190
271
 
272
+ declare const parseJwt: (token: string) => any;
273
+
191
274
  declare const retrieveColorByScore: (score: number) => "#F96666" | "#f98d66" | "#cbd357" | "#ABD357";
192
275
  declare const retrieveContentTypeOptionList: (textOnly: boolean) => {
193
276
  id: string;
@@ -285,8 +368,228 @@ declare const parseContentMapFromData: (data: any) => any;
285
368
  declare const parseBodyMapFromData: (data: any, type: string) => any;
286
369
  declare const parseMaterialMapFromData: (data: any, type: string) => any;
287
370
 
371
+ declare const retrieveCategoryVersionCodeOptionList: () => {
372
+ value: string;
373
+ text: string;
374
+ type: string;
375
+ availableLevelList: number[];
376
+ }[];
377
+ declare const filterCategoryVersionCodeOptionList: (categoryVersionCodeOptionList: any, coterieType: string, level: any) => any;
378
+ declare const filterCategoryVersionCodeOptionListByGradeDTO: (categoryVersionCodeOptionList: any, coterieType: string, gradeDTO: any) => any;
379
+ declare const filterCategoryVersionCodeOptionListByInstitutionDTO: (categoryVersionCodeOptionList: any, coterieType: string, institutionDTO: any) => any;
380
+
381
+ declare const ONE_HOUR = 3600000;
382
+ declare const ONE_DAY = 86400000;
383
+ declare const ONE_WEEK = 604800000;
384
+ declare const ONE_MONTH = 2419200000;
385
+ declare const THREE_MONTHS = 7257600000;
386
+ declare const retrieveMonthNameByIndex: (index: number) => string | undefined;
387
+ declare const retrieveDateIntervalOptionList: () => {
388
+ value: string;
389
+ text: string;
390
+ }[];
391
+ declare const constructWeekName: (beginDate: any, endDate: any) => string;
392
+
393
+ declare const calculateLevenshteinDistance: (s: any, t: any) => any;
394
+ declare const convertTurkishCharactersToEnglish: (text: string) => string;
395
+ declare function convertToBase64(arrayBuffer: any): Promise<unknown>;
396
+
397
+ declare const retrieveOtherBadgeDTOList: () => {
398
+ badgeDTO: {
399
+ coterieType: string;
400
+ sourceType: string;
401
+ badgeType: string;
402
+ };
403
+ level: number;
404
+ }[];
405
+ declare const retrieveAllEarnedBadgeDTOListByCoterieTypeList: (coterieTypeList: any) => {
406
+ badgeDTO: {
407
+ coterieType: string;
408
+ sourceType: string;
409
+ badgeType: string;
410
+ };
411
+ level: number;
412
+ }[];
413
+ declare const retrieveAllEarnedBadgeDTOListByCoterieType: (coterieType: string) => {
414
+ badgeDTO: {
415
+ coterieType: string;
416
+ sourceType: string;
417
+ badgeType: string;
418
+ };
419
+ level: number;
420
+ }[];
421
+ declare const retrieveBadgeRuleListByParams: (coterieType: string, sourceType: string, badgeType: string) => {
422
+ level: number;
423
+ value: number;
424
+ }[];
425
+ declare const retrieveBadgeRuleTextByParams: (coterieType: string, sourceType: string, badgeType: string, level: number) => string | null;
426
+
427
+ declare const constructBaseVerbalIndvidualModel: (userId: any) => {
428
+ bloomBloomAnalyze: number;
429
+ bloomBloomApply: number;
430
+ bloomBloomCreate: number;
431
+ bloomBloomEvaluate: number;
432
+ bloomBloomRemember: number;
433
+ bloomBloomUnderstand: number;
434
+ dropdown: number;
435
+ coterieField: string;
436
+ fillInTheBlanks: number;
437
+ grouping: number;
438
+ matching: number;
439
+ mcma: number;
440
+ mcsa: number;
441
+ openEnded: number;
442
+ ordering: number;
443
+ trueFalse: number;
444
+ userId: any;
445
+ };
446
+ declare const constructBaseNumericIndividualModel: (userId: any) => {
447
+ bloomBloomAnalyze: number;
448
+ bloomBloomApply: number;
449
+ bloomBloomCreate: number;
450
+ bloomBloomEvaluate: number;
451
+ bloomBloomRemember: number;
452
+ bloomBloomUnderstand: number;
453
+ dropdown: number;
454
+ coterieField: string;
455
+ fillInTheBlanks: number;
456
+ grouping: number;
457
+ matching: number;
458
+ mcma: number;
459
+ mcsa: number;
460
+ openEnded: number;
461
+ ordering: number;
462
+ trueFalse: number;
463
+ userId: any;
464
+ };
465
+
466
+ declare const retrieveBrandDTOByUserProfileOptionList: (userProfile: any) => {
467
+ value: any;
468
+ fullValue: any;
469
+ text: any;
470
+ }[];
471
+ declare const retrieveBrandDTOOptionList: (brandDTOList: any) => any;
472
+ declare const retrieveCampusDTOOptionList: (campusDTOList: any) => any;
473
+ declare const retrieveInstitutionDTOOptionList: (institutionDTOList: any) => any;
474
+ declare const retrieveSeasonDTOOptionList: (seasonDTOList: any) => any;
475
+ declare const retrieveGradeDTOOptionList: (gradeDTOList: any) => any;
476
+ declare const retrieveBranchDTOOptionList: (branchDTOList: any) => any;
477
+ declare const retrieveCampusDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any) => {
478
+ value: any;
479
+ fullValue: any;
480
+ text: any;
481
+ }[];
482
+ declare const retrieveInstitutionDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedCampusId: any) => {
483
+ value: any;
484
+ fullValue: any;
485
+ text: any;
486
+ }[];
487
+ declare const retrieveSeasonDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedInstitutionId: any) => {
488
+ value: any;
489
+ fullValue: any;
490
+ text: any;
491
+ }[];
492
+ declare const retrieveGradeDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedSeasonId: any) => {
493
+ value: any;
494
+ fullValue: any;
495
+ text: any;
496
+ }[];
497
+ declare const retrieveBranchDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedGradeId: any) => {
498
+ value: any;
499
+ fullValue: any;
500
+ text: any;
501
+ }[];
502
+ declare const retrieveExternalRegistrationDTOOptionList: (externalRegistrationDTOList: any) => any;
503
+ declare const retrieveGenderOptionList: () => {
504
+ value: string;
505
+ text: string;
506
+ }[];
507
+ declare const retrieveEnableOptionList: () => {
508
+ value: boolean;
509
+ text: string;
510
+ }[];
511
+ declare const retrieveUserRoleOptionList: () => {
512
+ value: string;
513
+ text: string;
514
+ }[];
515
+ declare const filterUserRoleOptionList: (accountType: any, userProfileRole: any) => {
516
+ value: string;
517
+ text: string;
518
+ }[];
519
+ declare const retrieveDefaultUserRoleOptionList: () => {
520
+ value: string;
521
+ text: string;
522
+ }[];
523
+ declare const retrieveCountryCodeOptionList: () => {
524
+ value: string;
525
+ text: string;
526
+ parent: string;
527
+ }[];
528
+ declare const retrieveCountryNameOptionList: () => {
529
+ value: string;
530
+ text: string;
531
+ }[];
532
+ declare const retrieveProvinceNameOptionList: () => {
533
+ parent: string;
534
+ value: string;
535
+ text: string;
536
+ code: string;
537
+ }[];
538
+ declare const retrievePhoneNumberAreaCodeList: () => {
539
+ parent: string;
540
+ value: string;
541
+ text: string;
542
+ }[];
543
+ declare const retrieveInstitutionTypeOptionList: () => {
544
+ value: string;
545
+ text: string;
546
+ }[];
547
+ declare const retrieveGradeLevelOptionList: () => {
548
+ value: number;
549
+ text: string;
550
+ }[];
551
+ declare const constructUserProfileQueryParams: (userProfile: any, userProfileBrand: any) => any;
552
+ declare const retrieveCoterieTypeOptionList: () => {
553
+ text: string;
554
+ value: string;
555
+ includes: string[];
556
+ }[];
557
+ declare const retrieveUserAuthorityGeneralOptionList: () => {
558
+ text: string;
559
+ value: string;
560
+ }[];
561
+ declare const filterGradeLevelOptionList: (institutionDTO: any, gradeDTO: any) => {
562
+ value: number;
563
+ text: string;
564
+ }[];
565
+ declare const filterCoterieTypeOptionList: (userInformation: any, userProfile: any, userProfileInstitution: any) => any;
566
+ declare const findAISettingsFromCurrentProfile: (userProfileBrand: any, userProfileCampus: any, userProfileInstitution: any) => any;
567
+
568
+ declare const retrieveAnnouncementTypeOptionList: () => {
569
+ value: string;
570
+ text: string;
571
+ }[];
572
+ declare const retrieveAnnouncementAudienceOptionList: () => {
573
+ value: string;
574
+ text: string;
575
+ }[];
576
+
577
+ declare const retrieveReportTypeOptionList: () => {
578
+ value: string;
579
+ text: string;
580
+ }[];
581
+
288
582
  declare const convertDataURLtoFile: (dataurl: string, filename: string) => File;
289
583
  declare const retrieveDocumentTypeFromAcceptedFormat: (format: string) => "IMAGE" | "AUDIO" | "PDF" | undefined;
290
584
  declare const retrieveDocumentTypeFromExtension: (format: string) => "IMAGE" | "AUDIO" | "PDF" | undefined;
291
585
 
292
- export { ApproveButton, BaseImage, BaseLoading, BlueVerticalDividerLine, CancelButton, CreateButton, DeleteButton, DividerLine, DropdownActivityContent, FillInTheBlanksActivityContent, GroupingActivityContent, InputGroup, MCMAActivityContent, MCSAActivityContent, MatchingActivityContent, OpenEndedActivityContent, OrderingActivityContent, PrimaryButton, SecondaryButton, TrueFalseActivityContent, VerticalDividerLine, checkActivityAnswerState, checkIfAnswerIsEmpty, constructActivityAnswerMap, constructActivityAnswerStateList, constructActivityItemListWithAnswersForAI, constructActivityItemListWithSolutionForAI, constructInputWithSpecialExpressionList, convertDataURLtoFile, findBestFitActivity, getColorByIndex, ignoreMathematicalExpression, parseBodyMapFromData, parseContentMapFromData, parseMaterialMapFromData, retrieveActivityAnswerFromAnswerList, retrieveActivityTemplateDTOOptionList, retrieveClockTimeLeft, retrieveColorByScore, retrieveContentTypeOptionList, retrieveContestTypeOptionList, retrieveCoterieTypeFromStandardExamCoterieType, retrieveCurrentDefaultDataMap, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveFrequencyTypeOptionList, retrieveStandardExamCoterieTypeOptionListByStandardExamType, retrieveStandardExamTypeIcon, retrieveStandardExamTypeOptionList, retrieveStatusOptionList, retrieveTaxonomyGroupName, retrieveTaxonomyName, retrieveTaxonomyType, retrieveTotalTimeSpentInMinutes, retrieveTotalTimeSpentInSeconds, retrieveValidationRequirementList, shuffleArray, useScreenSize };
586
+ declare const retrieveTokenUsageTypeOptionList: () => {
587
+ text: string;
588
+ value: string;
589
+ }[];
590
+ declare const retrieveTokenUsageSubTypeOptionList: () => {
591
+ text: string;
592
+ value: string;
593
+ }[];
594
+
595
+ export { ActivityTemplateLabel, ApproveButton, BaseImage, BaseLoading, BaseModal, BlueVerticalDividerLine, BrandLabel, CancelButton, CoterieLabel, CreateButton, DeleteButton, DividerLine, DropdownActivityContent, FillInTheBlanksActivityContent, GradeLabel, GroupingActivityContent, InputGroup, MCMAActivityContent, MCSAActivityContent, MatchingActivityContent, ONE_DAY, ONE_HOUR, ONE_MONTH, ONE_WEEK, OpenEndedActivityContent, OrderingActivityContent, OutcomeLabel, PersonalLabel, PrimaryButton, PublishingHouseLabel, SecondaryButton, SelectionBox, SelectionCheckbox, SelectionTab, THREE_MONTHS, TrueFalseActivityContent, VerticalDividerLine, calculateLevenshteinDistance, checkActivityAnswerState, checkIfAnswerIsEmpty, constructActivityAnswerMap, constructActivityAnswerStateList, constructActivityItemListWithAnswersForAI, constructActivityItemListWithSolutionForAI, constructBaseNumericIndividualModel, constructBaseVerbalIndvidualModel, constructInputWithSpecialExpressionList, constructUserProfileQueryParams, constructWeekName, convertDataURLtoFile, convertToBase64, convertTurkishCharactersToEnglish, filterCategoryVersionCodeOptionList, filterCategoryVersionCodeOptionListByGradeDTO, filterCategoryVersionCodeOptionListByInstitutionDTO, filterCoterieTypeOptionList, filterGradeLevelOptionList, filterUserRoleOptionList, findAISettingsFromCurrentProfile, findBestFitActivity, getColorByIndex, ignoreMathematicalExpression, parseBodyMapFromData, parseContentMapFromData, parseJwt, parseMaterialMapFromData, retrieveActivityAnswerFromAnswerList, 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, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveEnableOptionList, retrieveExternalRegistrationDTOOptionList, retrieveFrequencyTypeOptionList, retrieveGenderOptionList, retrieveGradeDTOByUserProfileOptionList, retrieveGradeDTOOptionList, retrieveGradeLevelOptionList, retrieveInstitutionDTOByUserProfileOptionList, retrieveInstitutionDTOOptionList, retrieveInstitutionTypeOptionList, retrieveMonthNameByIndex, retrieveOtherBadgeDTOList, retrievePhoneNumberAreaCodeList, retrieveProvinceNameOptionList, retrieveReportTypeOptionList, retrieveSeasonDTOByUserProfileOptionList, retrieveSeasonDTOOptionList, retrieveStandardExamCoterieTypeOptionListByStandardExamType, retrieveStandardExamTypeIcon, retrieveStandardExamTypeOptionList, retrieveStatusOptionList, retrieveTaxonomyGroupName, retrieveTaxonomyName, retrieveTaxonomyType, retrieveTokenUsageSubTypeOptionList, retrieveTokenUsageTypeOptionList, retrieveTotalTimeSpentInMinutes, retrieveTotalTimeSpentInSeconds, retrieveUserAuthorityGeneralOptionList, retrieveUserRoleOptionList, retrieveValidationRequirementList, shuffleArray, useScreenSize };
package/dist/index.d.ts CHANGED
@@ -53,6 +53,17 @@ interface IBaseLoadingProps {
53
53
 
54
54
  declare const BaseLoading: ({ height, width, size, primaryColor, secondaryColor, }: IBaseLoadingProps) => react_jsx_runtime.JSX.Element;
55
55
 
56
+ interface IModalProps {
57
+ isOpen: boolean;
58
+ size: string;
59
+ onAfterOpen: () => {};
60
+ onRequestClose: () => {};
61
+ customSize: string;
62
+ children: any;
63
+ }
64
+
65
+ declare const BaseModal: ({ isOpen, size, onAfterOpen, onRequestClose, customSize, children, }: IModalProps) => react_jsx_runtime.JSX.Element;
66
+
56
67
  interface IOrderingActivityProps {
57
68
  answer: any;
58
69
  data: any;
@@ -167,7 +178,7 @@ interface IInputGroupProps {
167
178
  multiple?: boolean;
168
179
  accept?: string;
169
180
  theme?: string;
170
- useMinHeight: boolean;
181
+ useMinHeight?: boolean;
171
182
  disabled?: boolean;
172
183
  limit?: number;
173
184
  }
@@ -185,9 +196,81 @@ declare const useScreenSize: () => {
185
196
  };
186
197
  };
187
198
 
199
+ interface ISelectionBoxProps {
200
+ optionList: any;
201
+ selectedId: any;
202
+ handleSelectOnClick: (e: any) => void;
203
+ }
204
+ interface ISelectionCheckboxBoxProps {
205
+ optionList: any;
206
+ selectedIdList: any;
207
+ handleSelectOnClick: (e: any) => void;
208
+ handleRemoveOnClick: (e: any) => void;
209
+ }
210
+
211
+ declare const SelectionBox: ({ optionList, selectedId, handleSelectOnClick, }: ISelectionBoxProps) => react_jsx_runtime.JSX.Element;
212
+
213
+ declare const SelectionCheckbox: ({ optionList, selectedIdList, handleSelectOnClick, handleRemoveOnClick, }: ISelectionCheckboxBoxProps) => react_jsx_runtime.JSX.Element;
214
+
215
+ interface ISelectionTabProps {
216
+ optionList: any;
217
+ selectedId: any;
218
+ handleSelectOnClick: (e: any) => void;
219
+ textColor: string;
220
+ selectedTextColor: string;
221
+ borderColor: string;
222
+ selectedBorderColor: string;
223
+ }
224
+
225
+ declare const SelectionTab: ({ optionList, selectedId, handleSelectOnClick, selectedTextColor, selectedBorderColor, textColor, borderColor, }: ISelectionTabProps) => react_jsx_runtime.JSX.Element;
226
+
227
+ interface IActivityTemplateLabelProps {
228
+ title: string;
229
+ }
230
+ interface IBrandLabelProps {
231
+ title: string;
232
+ icon: any;
233
+ font: string;
234
+ }
235
+ interface ICoterieLabelProps {
236
+ title: string;
237
+ }
238
+ interface IGradeLabelProps {
239
+ title: string;
240
+ }
241
+ interface IOutcomeLabelProps {
242
+ title: string;
243
+ }
244
+ interface IPersonalLabelProps {
245
+ title: string;
246
+ icon: any;
247
+ font: string;
248
+ }
249
+ interface IPublishingLabelProps {
250
+ title: string;
251
+ icon: any;
252
+ font: string;
253
+ }
254
+
255
+ declare const ActivityTemplateLabel: ({ title }: IActivityTemplateLabelProps) => react_jsx_runtime.JSX.Element;
256
+
257
+ declare const BrandLabel: ({ title, icon, font }: IBrandLabelProps) => react_jsx_runtime.JSX.Element;
258
+
259
+ declare const CoterieLabel: ({ title }: ICoterieLabelProps) => react_jsx_runtime.JSX.Element;
260
+
261
+ declare const GradeLabel: ({ title }: IGradeLabelProps) => react_jsx_runtime.JSX.Element;
262
+
263
+ declare const OutcomeLabel: ({ title }: IOutcomeLabelProps) => react_jsx_runtime.JSX.Element;
264
+
265
+ declare const PersonalLabel: ({ title, icon, font }: IPersonalLabelProps) => react_jsx_runtime.JSX.Element;
266
+
267
+ declare const PublishingHouseLabel: ({ title, icon, font }: IPublishingLabelProps) => react_jsx_runtime.JSX.Element;
268
+
188
269
  declare const shuffleArray: (array: any) => any;
189
270
  declare const getColorByIndex: (index: number) => string;
190
271
 
272
+ declare const parseJwt: (token: string) => any;
273
+
191
274
  declare const retrieveColorByScore: (score: number) => "#F96666" | "#f98d66" | "#cbd357" | "#ABD357";
192
275
  declare const retrieveContentTypeOptionList: (textOnly: boolean) => {
193
276
  id: string;
@@ -285,8 +368,228 @@ declare const parseContentMapFromData: (data: any) => any;
285
368
  declare const parseBodyMapFromData: (data: any, type: string) => any;
286
369
  declare const parseMaterialMapFromData: (data: any, type: string) => any;
287
370
 
371
+ declare const retrieveCategoryVersionCodeOptionList: () => {
372
+ value: string;
373
+ text: string;
374
+ type: string;
375
+ availableLevelList: number[];
376
+ }[];
377
+ declare const filterCategoryVersionCodeOptionList: (categoryVersionCodeOptionList: any, coterieType: string, level: any) => any;
378
+ declare const filterCategoryVersionCodeOptionListByGradeDTO: (categoryVersionCodeOptionList: any, coterieType: string, gradeDTO: any) => any;
379
+ declare const filterCategoryVersionCodeOptionListByInstitutionDTO: (categoryVersionCodeOptionList: any, coterieType: string, institutionDTO: any) => any;
380
+
381
+ declare const ONE_HOUR = 3600000;
382
+ declare const ONE_DAY = 86400000;
383
+ declare const ONE_WEEK = 604800000;
384
+ declare const ONE_MONTH = 2419200000;
385
+ declare const THREE_MONTHS = 7257600000;
386
+ declare const retrieveMonthNameByIndex: (index: number) => string | undefined;
387
+ declare const retrieveDateIntervalOptionList: () => {
388
+ value: string;
389
+ text: string;
390
+ }[];
391
+ declare const constructWeekName: (beginDate: any, endDate: any) => string;
392
+
393
+ declare const calculateLevenshteinDistance: (s: any, t: any) => any;
394
+ declare const convertTurkishCharactersToEnglish: (text: string) => string;
395
+ declare function convertToBase64(arrayBuffer: any): Promise<unknown>;
396
+
397
+ declare const retrieveOtherBadgeDTOList: () => {
398
+ badgeDTO: {
399
+ coterieType: string;
400
+ sourceType: string;
401
+ badgeType: string;
402
+ };
403
+ level: number;
404
+ }[];
405
+ declare const retrieveAllEarnedBadgeDTOListByCoterieTypeList: (coterieTypeList: any) => {
406
+ badgeDTO: {
407
+ coterieType: string;
408
+ sourceType: string;
409
+ badgeType: string;
410
+ };
411
+ level: number;
412
+ }[];
413
+ declare const retrieveAllEarnedBadgeDTOListByCoterieType: (coterieType: string) => {
414
+ badgeDTO: {
415
+ coterieType: string;
416
+ sourceType: string;
417
+ badgeType: string;
418
+ };
419
+ level: number;
420
+ }[];
421
+ declare const retrieveBadgeRuleListByParams: (coterieType: string, sourceType: string, badgeType: string) => {
422
+ level: number;
423
+ value: number;
424
+ }[];
425
+ declare const retrieveBadgeRuleTextByParams: (coterieType: string, sourceType: string, badgeType: string, level: number) => string | null;
426
+
427
+ declare const constructBaseVerbalIndvidualModel: (userId: any) => {
428
+ bloomBloomAnalyze: number;
429
+ bloomBloomApply: number;
430
+ bloomBloomCreate: number;
431
+ bloomBloomEvaluate: number;
432
+ bloomBloomRemember: number;
433
+ bloomBloomUnderstand: number;
434
+ dropdown: number;
435
+ coterieField: string;
436
+ fillInTheBlanks: number;
437
+ grouping: number;
438
+ matching: number;
439
+ mcma: number;
440
+ mcsa: number;
441
+ openEnded: number;
442
+ ordering: number;
443
+ trueFalse: number;
444
+ userId: any;
445
+ };
446
+ declare const constructBaseNumericIndividualModel: (userId: any) => {
447
+ bloomBloomAnalyze: number;
448
+ bloomBloomApply: number;
449
+ bloomBloomCreate: number;
450
+ bloomBloomEvaluate: number;
451
+ bloomBloomRemember: number;
452
+ bloomBloomUnderstand: number;
453
+ dropdown: number;
454
+ coterieField: string;
455
+ fillInTheBlanks: number;
456
+ grouping: number;
457
+ matching: number;
458
+ mcma: number;
459
+ mcsa: number;
460
+ openEnded: number;
461
+ ordering: number;
462
+ trueFalse: number;
463
+ userId: any;
464
+ };
465
+
466
+ declare const retrieveBrandDTOByUserProfileOptionList: (userProfile: any) => {
467
+ value: any;
468
+ fullValue: any;
469
+ text: any;
470
+ }[];
471
+ declare const retrieveBrandDTOOptionList: (brandDTOList: any) => any;
472
+ declare const retrieveCampusDTOOptionList: (campusDTOList: any) => any;
473
+ declare const retrieveInstitutionDTOOptionList: (institutionDTOList: any) => any;
474
+ declare const retrieveSeasonDTOOptionList: (seasonDTOList: any) => any;
475
+ declare const retrieveGradeDTOOptionList: (gradeDTOList: any) => any;
476
+ declare const retrieveBranchDTOOptionList: (branchDTOList: any) => any;
477
+ declare const retrieveCampusDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any) => {
478
+ value: any;
479
+ fullValue: any;
480
+ text: any;
481
+ }[];
482
+ declare const retrieveInstitutionDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedCampusId: any) => {
483
+ value: any;
484
+ fullValue: any;
485
+ text: any;
486
+ }[];
487
+ declare const retrieveSeasonDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedInstitutionId: any) => {
488
+ value: any;
489
+ fullValue: any;
490
+ text: any;
491
+ }[];
492
+ declare const retrieveGradeDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedSeasonId: any) => {
493
+ value: any;
494
+ fullValue: any;
495
+ text: any;
496
+ }[];
497
+ declare const retrieveBranchDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedGradeId: any) => {
498
+ value: any;
499
+ fullValue: any;
500
+ text: any;
501
+ }[];
502
+ declare const retrieveExternalRegistrationDTOOptionList: (externalRegistrationDTOList: any) => any;
503
+ declare const retrieveGenderOptionList: () => {
504
+ value: string;
505
+ text: string;
506
+ }[];
507
+ declare const retrieveEnableOptionList: () => {
508
+ value: boolean;
509
+ text: string;
510
+ }[];
511
+ declare const retrieveUserRoleOptionList: () => {
512
+ value: string;
513
+ text: string;
514
+ }[];
515
+ declare const filterUserRoleOptionList: (accountType: any, userProfileRole: any) => {
516
+ value: string;
517
+ text: string;
518
+ }[];
519
+ declare const retrieveDefaultUserRoleOptionList: () => {
520
+ value: string;
521
+ text: string;
522
+ }[];
523
+ declare const retrieveCountryCodeOptionList: () => {
524
+ value: string;
525
+ text: string;
526
+ parent: string;
527
+ }[];
528
+ declare const retrieveCountryNameOptionList: () => {
529
+ value: string;
530
+ text: string;
531
+ }[];
532
+ declare const retrieveProvinceNameOptionList: () => {
533
+ parent: string;
534
+ value: string;
535
+ text: string;
536
+ code: string;
537
+ }[];
538
+ declare const retrievePhoneNumberAreaCodeList: () => {
539
+ parent: string;
540
+ value: string;
541
+ text: string;
542
+ }[];
543
+ declare const retrieveInstitutionTypeOptionList: () => {
544
+ value: string;
545
+ text: string;
546
+ }[];
547
+ declare const retrieveGradeLevelOptionList: () => {
548
+ value: number;
549
+ text: string;
550
+ }[];
551
+ declare const constructUserProfileQueryParams: (userProfile: any, userProfileBrand: any) => any;
552
+ declare const retrieveCoterieTypeOptionList: () => {
553
+ text: string;
554
+ value: string;
555
+ includes: string[];
556
+ }[];
557
+ declare const retrieveUserAuthorityGeneralOptionList: () => {
558
+ text: string;
559
+ value: string;
560
+ }[];
561
+ declare const filterGradeLevelOptionList: (institutionDTO: any, gradeDTO: any) => {
562
+ value: number;
563
+ text: string;
564
+ }[];
565
+ declare const filterCoterieTypeOptionList: (userInformation: any, userProfile: any, userProfileInstitution: any) => any;
566
+ declare const findAISettingsFromCurrentProfile: (userProfileBrand: any, userProfileCampus: any, userProfileInstitution: any) => any;
567
+
568
+ declare const retrieveAnnouncementTypeOptionList: () => {
569
+ value: string;
570
+ text: string;
571
+ }[];
572
+ declare const retrieveAnnouncementAudienceOptionList: () => {
573
+ value: string;
574
+ text: string;
575
+ }[];
576
+
577
+ declare const retrieveReportTypeOptionList: () => {
578
+ value: string;
579
+ text: string;
580
+ }[];
581
+
288
582
  declare const convertDataURLtoFile: (dataurl: string, filename: string) => File;
289
583
  declare const retrieveDocumentTypeFromAcceptedFormat: (format: string) => "IMAGE" | "AUDIO" | "PDF" | undefined;
290
584
  declare const retrieveDocumentTypeFromExtension: (format: string) => "IMAGE" | "AUDIO" | "PDF" | undefined;
291
585
 
292
- export { ApproveButton, BaseImage, BaseLoading, BlueVerticalDividerLine, CancelButton, CreateButton, DeleteButton, DividerLine, DropdownActivityContent, FillInTheBlanksActivityContent, GroupingActivityContent, InputGroup, MCMAActivityContent, MCSAActivityContent, MatchingActivityContent, OpenEndedActivityContent, OrderingActivityContent, PrimaryButton, SecondaryButton, TrueFalseActivityContent, VerticalDividerLine, checkActivityAnswerState, checkIfAnswerIsEmpty, constructActivityAnswerMap, constructActivityAnswerStateList, constructActivityItemListWithAnswersForAI, constructActivityItemListWithSolutionForAI, constructInputWithSpecialExpressionList, convertDataURLtoFile, findBestFitActivity, getColorByIndex, ignoreMathematicalExpression, parseBodyMapFromData, parseContentMapFromData, parseMaterialMapFromData, retrieveActivityAnswerFromAnswerList, retrieveActivityTemplateDTOOptionList, retrieveClockTimeLeft, retrieveColorByScore, retrieveContentTypeOptionList, retrieveContestTypeOptionList, retrieveCoterieTypeFromStandardExamCoterieType, retrieveCurrentDefaultDataMap, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveFrequencyTypeOptionList, retrieveStandardExamCoterieTypeOptionListByStandardExamType, retrieveStandardExamTypeIcon, retrieveStandardExamTypeOptionList, retrieveStatusOptionList, retrieveTaxonomyGroupName, retrieveTaxonomyName, retrieveTaxonomyType, retrieveTotalTimeSpentInMinutes, retrieveTotalTimeSpentInSeconds, retrieveValidationRequirementList, shuffleArray, useScreenSize };
586
+ declare const retrieveTokenUsageTypeOptionList: () => {
587
+ text: string;
588
+ value: string;
589
+ }[];
590
+ declare const retrieveTokenUsageSubTypeOptionList: () => {
591
+ text: string;
592
+ value: string;
593
+ }[];
594
+
595
+ export { ActivityTemplateLabel, ApproveButton, BaseImage, BaseLoading, BaseModal, BlueVerticalDividerLine, BrandLabel, CancelButton, CoterieLabel, CreateButton, DeleteButton, DividerLine, DropdownActivityContent, FillInTheBlanksActivityContent, GradeLabel, GroupingActivityContent, InputGroup, MCMAActivityContent, MCSAActivityContent, MatchingActivityContent, ONE_DAY, ONE_HOUR, ONE_MONTH, ONE_WEEK, OpenEndedActivityContent, OrderingActivityContent, OutcomeLabel, PersonalLabel, PrimaryButton, PublishingHouseLabel, SecondaryButton, SelectionBox, SelectionCheckbox, SelectionTab, THREE_MONTHS, TrueFalseActivityContent, VerticalDividerLine, calculateLevenshteinDistance, checkActivityAnswerState, checkIfAnswerIsEmpty, constructActivityAnswerMap, constructActivityAnswerStateList, constructActivityItemListWithAnswersForAI, constructActivityItemListWithSolutionForAI, constructBaseNumericIndividualModel, constructBaseVerbalIndvidualModel, constructInputWithSpecialExpressionList, constructUserProfileQueryParams, constructWeekName, convertDataURLtoFile, convertToBase64, convertTurkishCharactersToEnglish, filterCategoryVersionCodeOptionList, filterCategoryVersionCodeOptionListByGradeDTO, filterCategoryVersionCodeOptionListByInstitutionDTO, filterCoterieTypeOptionList, filterGradeLevelOptionList, filterUserRoleOptionList, findAISettingsFromCurrentProfile, findBestFitActivity, getColorByIndex, ignoreMathematicalExpression, parseBodyMapFromData, parseContentMapFromData, parseJwt, parseMaterialMapFromData, retrieveActivityAnswerFromAnswerList, 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, retrieveDistintCoterieTypeFromCatchtivityApplicationDTO, retrieveDocumentTypeFromAcceptedFormat, retrieveDocumentTypeFromExtension, retrieveDurationInMinutesOptionList, retrieveDurationInSecondsOptionList, retrieveDurationTypeOptionList, retrieveEachTimeSpentInSeconds, retrieveEnableOptionList, retrieveExternalRegistrationDTOOptionList, retrieveFrequencyTypeOptionList, retrieveGenderOptionList, retrieveGradeDTOByUserProfileOptionList, retrieveGradeDTOOptionList, retrieveGradeLevelOptionList, retrieveInstitutionDTOByUserProfileOptionList, retrieveInstitutionDTOOptionList, retrieveInstitutionTypeOptionList, retrieveMonthNameByIndex, retrieveOtherBadgeDTOList, retrievePhoneNumberAreaCodeList, retrieveProvinceNameOptionList, retrieveReportTypeOptionList, retrieveSeasonDTOByUserProfileOptionList, retrieveSeasonDTOOptionList, retrieveStandardExamCoterieTypeOptionListByStandardExamType, retrieveStandardExamTypeIcon, retrieveStandardExamTypeOptionList, retrieveStatusOptionList, retrieveTaxonomyGroupName, retrieveTaxonomyName, retrieveTaxonomyType, retrieveTokenUsageSubTypeOptionList, retrieveTokenUsageTypeOptionList, retrieveTotalTimeSpentInMinutes, retrieveTotalTimeSpentInSeconds, retrieveUserAuthorityGeneralOptionList, retrieveUserRoleOptionList, retrieveValidationRequirementList, shuffleArray, useScreenSize };