catchup-library-web 1.0.2 → 1.0.3
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 +240 -2
- package/dist/index.d.ts +240 -2
- package/dist/index.js +2263 -0
- package/dist/index.mjs +2203 -0
- package/package.json +1 -1
- package/src/components/boxes/SelectionBox.tsx +41 -0
- package/src/components/boxes/SelectionCheckbox.tsx +66 -0
- package/src/index.ts +13 -0
- package/src/properties/BoxProperties.ts +12 -0
- package/src/properties/GroupProperties.ts +1 -1
- package/src/utilization/AuthorizationUtilization.ts +15 -0
- package/src/utilization/CategoryUtilization.ts +314 -0
- package/src/utilization/DateUtilization.ts +85 -0
- package/src/utilization/FunctionUtilization.ts +50 -0
- package/src/utilization/GamificationUtilization.ts +495 -0
- package/src/utilization/IndividualModelUtilization.ts +48 -0
- package/src/utilization/ManagementUtilization.ts +1201 -0
- package/src/utilization/NotificationUtilization.ts +59 -0
- package/src/utilization/ReportUtilization.ts +42 -0
- package/src/utilization/TokenUtilization.ts +39 -0
package/dist/index.d.mts
CHANGED
|
@@ -167,7 +167,7 @@ interface IInputGroupProps {
|
|
|
167
167
|
multiple?: boolean;
|
|
168
168
|
accept?: string;
|
|
169
169
|
theme?: string;
|
|
170
|
-
useMinHeight
|
|
170
|
+
useMinHeight?: boolean;
|
|
171
171
|
disabled?: boolean;
|
|
172
172
|
limit?: number;
|
|
173
173
|
}
|
|
@@ -185,9 +185,27 @@ declare const useScreenSize: () => {
|
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
+
interface SelectionBoxProps {
|
|
189
|
+
optionList: any;
|
|
190
|
+
selectedId: any;
|
|
191
|
+
handleSelectOnClick: (e: any) => void;
|
|
192
|
+
}
|
|
193
|
+
interface SelectionCheckboxBoxProps {
|
|
194
|
+
optionList: any;
|
|
195
|
+
selectedIdList: any;
|
|
196
|
+
handleSelectOnClick: (e: any) => void;
|
|
197
|
+
handleRemoveOnClick: (e: any) => void;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
declare const SelectionBox: ({ optionList, selectedId, handleSelectOnClick, }: SelectionBoxProps) => react_jsx_runtime.JSX.Element;
|
|
201
|
+
|
|
202
|
+
declare const SelectionCheckbox: ({ optionList, selectedIdList, handleSelectOnClick, handleRemoveOnClick, }: SelectionCheckboxBoxProps) => react_jsx_runtime.JSX.Element;
|
|
203
|
+
|
|
188
204
|
declare const shuffleArray: (array: any) => any;
|
|
189
205
|
declare const getColorByIndex: (index: number) => string;
|
|
190
206
|
|
|
207
|
+
declare const parseJwt: (token: string) => any;
|
|
208
|
+
|
|
191
209
|
declare const retrieveColorByScore: (score: number) => "#F96666" | "#f98d66" | "#cbd357" | "#ABD357";
|
|
192
210
|
declare const retrieveContentTypeOptionList: (textOnly: boolean) => {
|
|
193
211
|
id: string;
|
|
@@ -285,8 +303,228 @@ declare const parseContentMapFromData: (data: any) => any;
|
|
|
285
303
|
declare const parseBodyMapFromData: (data: any, type: string) => any;
|
|
286
304
|
declare const parseMaterialMapFromData: (data: any, type: string) => any;
|
|
287
305
|
|
|
306
|
+
declare const retrieveCategoryVersionCodeOptionList: () => {
|
|
307
|
+
value: string;
|
|
308
|
+
text: string;
|
|
309
|
+
type: string;
|
|
310
|
+
availableLevelList: number[];
|
|
311
|
+
}[];
|
|
312
|
+
declare const filterCategoryVersionCodeOptionList: (categoryVersionCodeOptionList: any, coterieType: string, level: any) => any;
|
|
313
|
+
declare const filterCategoryVersionCodeOptionListByGradeDTO: (categoryVersionCodeOptionList: any, coterieType: string, gradeDTO: any) => any;
|
|
314
|
+
declare const filterCategoryVersionCodeOptionListByInstitutionDTO: (categoryVersionCodeOptionList: any, coterieType: string, institutionDTO: any) => any;
|
|
315
|
+
|
|
316
|
+
declare const ONE_HOUR = 3600000;
|
|
317
|
+
declare const ONE_DAY = 86400000;
|
|
318
|
+
declare const ONE_WEEK = 604800000;
|
|
319
|
+
declare const ONE_MONTH = 2419200000;
|
|
320
|
+
declare const THREE_MONTHS = 7257600000;
|
|
321
|
+
declare const retrieveMonthNameByIndex: (index: number) => string | undefined;
|
|
322
|
+
declare const retrieveDateIntervalOptionList: () => {
|
|
323
|
+
value: string;
|
|
324
|
+
text: string;
|
|
325
|
+
}[];
|
|
326
|
+
declare const constructWeekName: (beginDate: any, endDate: any) => string;
|
|
327
|
+
|
|
328
|
+
declare const calculateLevenshteinDistance: (s: any, t: any) => any;
|
|
329
|
+
declare const convertTurkishCharactersToEnglish: (text: string) => string;
|
|
330
|
+
declare function convertToBase64(arrayBuffer: any): Promise<unknown>;
|
|
331
|
+
|
|
332
|
+
declare const retrieveOtherBadgeDTOList: () => {
|
|
333
|
+
badgeDTO: {
|
|
334
|
+
coterieType: string;
|
|
335
|
+
sourceType: string;
|
|
336
|
+
badgeType: string;
|
|
337
|
+
};
|
|
338
|
+
level: number;
|
|
339
|
+
}[];
|
|
340
|
+
declare const retrieveAllEarnedBadgeDTOListByCoterieTypeList: (coterieTypeList: any) => {
|
|
341
|
+
badgeDTO: {
|
|
342
|
+
coterieType: string;
|
|
343
|
+
sourceType: string;
|
|
344
|
+
badgeType: string;
|
|
345
|
+
};
|
|
346
|
+
level: number;
|
|
347
|
+
}[];
|
|
348
|
+
declare const retrieveAllEarnedBadgeDTOListByCoterieType: (coterieType: string) => {
|
|
349
|
+
badgeDTO: {
|
|
350
|
+
coterieType: string;
|
|
351
|
+
sourceType: string;
|
|
352
|
+
badgeType: string;
|
|
353
|
+
};
|
|
354
|
+
level: number;
|
|
355
|
+
}[];
|
|
356
|
+
declare const retrieveBadgeRuleListByParams: (coterieType: string, sourceType: string, badgeType: string) => {
|
|
357
|
+
level: number;
|
|
358
|
+
value: number;
|
|
359
|
+
}[];
|
|
360
|
+
declare const retrieveBadgeRuleTextByParams: (coterieType: string, sourceType: string, badgeType: string, level: number) => string | null;
|
|
361
|
+
|
|
362
|
+
declare const constructBaseVerbalIndvidualModel: (userId: any) => {
|
|
363
|
+
bloomBloomAnalyze: number;
|
|
364
|
+
bloomBloomApply: number;
|
|
365
|
+
bloomBloomCreate: number;
|
|
366
|
+
bloomBloomEvaluate: number;
|
|
367
|
+
bloomBloomRemember: number;
|
|
368
|
+
bloomBloomUnderstand: number;
|
|
369
|
+
dropdown: number;
|
|
370
|
+
coterieField: string;
|
|
371
|
+
fillInTheBlanks: number;
|
|
372
|
+
grouping: number;
|
|
373
|
+
matching: number;
|
|
374
|
+
mcma: number;
|
|
375
|
+
mcsa: number;
|
|
376
|
+
openEnded: number;
|
|
377
|
+
ordering: number;
|
|
378
|
+
trueFalse: number;
|
|
379
|
+
userId: any;
|
|
380
|
+
};
|
|
381
|
+
declare const constructBaseNumericIndividualModel: (userId: any) => {
|
|
382
|
+
bloomBloomAnalyze: number;
|
|
383
|
+
bloomBloomApply: number;
|
|
384
|
+
bloomBloomCreate: number;
|
|
385
|
+
bloomBloomEvaluate: number;
|
|
386
|
+
bloomBloomRemember: number;
|
|
387
|
+
bloomBloomUnderstand: number;
|
|
388
|
+
dropdown: number;
|
|
389
|
+
coterieField: string;
|
|
390
|
+
fillInTheBlanks: number;
|
|
391
|
+
grouping: number;
|
|
392
|
+
matching: number;
|
|
393
|
+
mcma: number;
|
|
394
|
+
mcsa: number;
|
|
395
|
+
openEnded: number;
|
|
396
|
+
ordering: number;
|
|
397
|
+
trueFalse: number;
|
|
398
|
+
userId: any;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
declare const retrieveBrandDTOByUserProfileOptionList: (userProfile: any) => {
|
|
402
|
+
value: any;
|
|
403
|
+
fullValue: any;
|
|
404
|
+
text: any;
|
|
405
|
+
}[];
|
|
406
|
+
declare const retrieveBrandDTOOptionList: (brandDTOList: any) => any;
|
|
407
|
+
declare const retrieveCampusDTOOptionList: (campusDTOList: any) => any;
|
|
408
|
+
declare const retrieveInstitutionDTOOptionList: (institutionDTOList: any) => any;
|
|
409
|
+
declare const retrieveSeasonDTOOptionList: (seasonDTOList: any) => any;
|
|
410
|
+
declare const retrieveGradeDTOOptionList: (gradeDTOList: any) => any;
|
|
411
|
+
declare const retrieveBranchDTOOptionList: (branchDTOList: any) => any;
|
|
412
|
+
declare const retrieveCampusDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any) => {
|
|
413
|
+
value: any;
|
|
414
|
+
fullValue: any;
|
|
415
|
+
text: any;
|
|
416
|
+
}[];
|
|
417
|
+
declare const retrieveInstitutionDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedCampusId: any) => {
|
|
418
|
+
value: any;
|
|
419
|
+
fullValue: any;
|
|
420
|
+
text: any;
|
|
421
|
+
}[];
|
|
422
|
+
declare const retrieveSeasonDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedInstitutionId: any) => {
|
|
423
|
+
value: any;
|
|
424
|
+
fullValue: any;
|
|
425
|
+
text: any;
|
|
426
|
+
}[];
|
|
427
|
+
declare const retrieveGradeDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedSeasonId: any) => {
|
|
428
|
+
value: any;
|
|
429
|
+
fullValue: any;
|
|
430
|
+
text: any;
|
|
431
|
+
}[];
|
|
432
|
+
declare const retrieveBranchDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedGradeId: any) => {
|
|
433
|
+
value: any;
|
|
434
|
+
fullValue: any;
|
|
435
|
+
text: any;
|
|
436
|
+
}[];
|
|
437
|
+
declare const retrieveExternalRegistrationDTOOptionList: (externalRegistrationDTOList: any) => any;
|
|
438
|
+
declare const retrieveGenderOptionList: () => {
|
|
439
|
+
value: string;
|
|
440
|
+
text: string;
|
|
441
|
+
}[];
|
|
442
|
+
declare const retrieveEnableOptionList: () => {
|
|
443
|
+
value: boolean;
|
|
444
|
+
text: string;
|
|
445
|
+
}[];
|
|
446
|
+
declare const retrieveUserRoleOptionList: () => {
|
|
447
|
+
value: string;
|
|
448
|
+
text: string;
|
|
449
|
+
}[];
|
|
450
|
+
declare const filterUserRoleOptionList: (accountType: any, userProfileRole: any) => {
|
|
451
|
+
value: string;
|
|
452
|
+
text: string;
|
|
453
|
+
}[];
|
|
454
|
+
declare const retrieveDefaultUserRoleOptionList: () => {
|
|
455
|
+
value: string;
|
|
456
|
+
text: string;
|
|
457
|
+
}[];
|
|
458
|
+
declare const retrieveCountryCodeOptionList: () => {
|
|
459
|
+
value: string;
|
|
460
|
+
text: string;
|
|
461
|
+
parent: string;
|
|
462
|
+
}[];
|
|
463
|
+
declare const retrieveCountryNameOptionList: () => {
|
|
464
|
+
value: string;
|
|
465
|
+
text: string;
|
|
466
|
+
}[];
|
|
467
|
+
declare const retrieveProvinceNameOptionList: () => {
|
|
468
|
+
parent: string;
|
|
469
|
+
value: string;
|
|
470
|
+
text: string;
|
|
471
|
+
code: string;
|
|
472
|
+
}[];
|
|
473
|
+
declare const retrievePhoneNumberAreaCodeList: () => {
|
|
474
|
+
parent: string;
|
|
475
|
+
value: string;
|
|
476
|
+
text: string;
|
|
477
|
+
}[];
|
|
478
|
+
declare const retrieveInstitutionTypeOptionList: () => {
|
|
479
|
+
value: string;
|
|
480
|
+
text: string;
|
|
481
|
+
}[];
|
|
482
|
+
declare const retrieveGradeLevelOptionList: () => {
|
|
483
|
+
value: number;
|
|
484
|
+
text: string;
|
|
485
|
+
}[];
|
|
486
|
+
declare const constructUserProfileQueryParams: (userProfile: any, userProfileBrand: any) => any;
|
|
487
|
+
declare const retrieveCoterieTypeOptionList: () => {
|
|
488
|
+
text: string;
|
|
489
|
+
value: string;
|
|
490
|
+
includes: string[];
|
|
491
|
+
}[];
|
|
492
|
+
declare const retrieveUserAuthorityGeneralOptionList: () => {
|
|
493
|
+
text: string;
|
|
494
|
+
value: string;
|
|
495
|
+
}[];
|
|
496
|
+
declare const filterGradeLevelOptionList: (institutionDTO: any, gradeDTO: any) => {
|
|
497
|
+
value: number;
|
|
498
|
+
text: string;
|
|
499
|
+
}[];
|
|
500
|
+
declare const filterCoterieTypeOptionList: (userInformation: any, userProfile: any, userProfileInstitution: any) => any;
|
|
501
|
+
declare const findAISettingsFromCurrentProfile: (userProfileBrand: any, userProfileCampus: any, userProfileInstitution: any) => any;
|
|
502
|
+
|
|
503
|
+
declare const retrieveAnnouncementTypeOptionList: () => {
|
|
504
|
+
value: string;
|
|
505
|
+
text: string;
|
|
506
|
+
}[];
|
|
507
|
+
declare const retrieveAnnouncementAudienceOptionList: () => {
|
|
508
|
+
value: string;
|
|
509
|
+
text: string;
|
|
510
|
+
}[];
|
|
511
|
+
|
|
512
|
+
declare const retrieveReportTypeOptionList: () => {
|
|
513
|
+
value: string;
|
|
514
|
+
text: string;
|
|
515
|
+
}[];
|
|
516
|
+
|
|
288
517
|
declare const convertDataURLtoFile: (dataurl: string, filename: string) => File;
|
|
289
518
|
declare const retrieveDocumentTypeFromAcceptedFormat: (format: string) => "IMAGE" | "AUDIO" | "PDF" | undefined;
|
|
290
519
|
declare const retrieveDocumentTypeFromExtension: (format: string) => "IMAGE" | "AUDIO" | "PDF" | undefined;
|
|
291
520
|
|
|
292
|
-
|
|
521
|
+
declare const retrieveTokenUsageTypeOptionList: () => {
|
|
522
|
+
text: string;
|
|
523
|
+
value: string;
|
|
524
|
+
}[];
|
|
525
|
+
declare const retrieveTokenUsageSubTypeOptionList: () => {
|
|
526
|
+
text: string;
|
|
527
|
+
value: string;
|
|
528
|
+
}[];
|
|
529
|
+
|
|
530
|
+
export { ApproveButton, BaseImage, BaseLoading, BlueVerticalDividerLine, CancelButton, CreateButton, DeleteButton, DividerLine, DropdownActivityContent, FillInTheBlanksActivityContent, GroupingActivityContent, InputGroup, MCMAActivityContent, MCSAActivityContent, MatchingActivityContent, ONE_DAY, ONE_HOUR, ONE_MONTH, ONE_WEEK, OpenEndedActivityContent, OrderingActivityContent, PrimaryButton, SecondaryButton, SelectionBox, SelectionCheckbox, 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
|
@@ -167,7 +167,7 @@ interface IInputGroupProps {
|
|
|
167
167
|
multiple?: boolean;
|
|
168
168
|
accept?: string;
|
|
169
169
|
theme?: string;
|
|
170
|
-
useMinHeight
|
|
170
|
+
useMinHeight?: boolean;
|
|
171
171
|
disabled?: boolean;
|
|
172
172
|
limit?: number;
|
|
173
173
|
}
|
|
@@ -185,9 +185,27 @@ declare const useScreenSize: () => {
|
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
+
interface SelectionBoxProps {
|
|
189
|
+
optionList: any;
|
|
190
|
+
selectedId: any;
|
|
191
|
+
handleSelectOnClick: (e: any) => void;
|
|
192
|
+
}
|
|
193
|
+
interface SelectionCheckboxBoxProps {
|
|
194
|
+
optionList: any;
|
|
195
|
+
selectedIdList: any;
|
|
196
|
+
handleSelectOnClick: (e: any) => void;
|
|
197
|
+
handleRemoveOnClick: (e: any) => void;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
declare const SelectionBox: ({ optionList, selectedId, handleSelectOnClick, }: SelectionBoxProps) => react_jsx_runtime.JSX.Element;
|
|
201
|
+
|
|
202
|
+
declare const SelectionCheckbox: ({ optionList, selectedIdList, handleSelectOnClick, handleRemoveOnClick, }: SelectionCheckboxBoxProps) => react_jsx_runtime.JSX.Element;
|
|
203
|
+
|
|
188
204
|
declare const shuffleArray: (array: any) => any;
|
|
189
205
|
declare const getColorByIndex: (index: number) => string;
|
|
190
206
|
|
|
207
|
+
declare const parseJwt: (token: string) => any;
|
|
208
|
+
|
|
191
209
|
declare const retrieveColorByScore: (score: number) => "#F96666" | "#f98d66" | "#cbd357" | "#ABD357";
|
|
192
210
|
declare const retrieveContentTypeOptionList: (textOnly: boolean) => {
|
|
193
211
|
id: string;
|
|
@@ -285,8 +303,228 @@ declare const parseContentMapFromData: (data: any) => any;
|
|
|
285
303
|
declare const parseBodyMapFromData: (data: any, type: string) => any;
|
|
286
304
|
declare const parseMaterialMapFromData: (data: any, type: string) => any;
|
|
287
305
|
|
|
306
|
+
declare const retrieveCategoryVersionCodeOptionList: () => {
|
|
307
|
+
value: string;
|
|
308
|
+
text: string;
|
|
309
|
+
type: string;
|
|
310
|
+
availableLevelList: number[];
|
|
311
|
+
}[];
|
|
312
|
+
declare const filterCategoryVersionCodeOptionList: (categoryVersionCodeOptionList: any, coterieType: string, level: any) => any;
|
|
313
|
+
declare const filterCategoryVersionCodeOptionListByGradeDTO: (categoryVersionCodeOptionList: any, coterieType: string, gradeDTO: any) => any;
|
|
314
|
+
declare const filterCategoryVersionCodeOptionListByInstitutionDTO: (categoryVersionCodeOptionList: any, coterieType: string, institutionDTO: any) => any;
|
|
315
|
+
|
|
316
|
+
declare const ONE_HOUR = 3600000;
|
|
317
|
+
declare const ONE_DAY = 86400000;
|
|
318
|
+
declare const ONE_WEEK = 604800000;
|
|
319
|
+
declare const ONE_MONTH = 2419200000;
|
|
320
|
+
declare const THREE_MONTHS = 7257600000;
|
|
321
|
+
declare const retrieveMonthNameByIndex: (index: number) => string | undefined;
|
|
322
|
+
declare const retrieveDateIntervalOptionList: () => {
|
|
323
|
+
value: string;
|
|
324
|
+
text: string;
|
|
325
|
+
}[];
|
|
326
|
+
declare const constructWeekName: (beginDate: any, endDate: any) => string;
|
|
327
|
+
|
|
328
|
+
declare const calculateLevenshteinDistance: (s: any, t: any) => any;
|
|
329
|
+
declare const convertTurkishCharactersToEnglish: (text: string) => string;
|
|
330
|
+
declare function convertToBase64(arrayBuffer: any): Promise<unknown>;
|
|
331
|
+
|
|
332
|
+
declare const retrieveOtherBadgeDTOList: () => {
|
|
333
|
+
badgeDTO: {
|
|
334
|
+
coterieType: string;
|
|
335
|
+
sourceType: string;
|
|
336
|
+
badgeType: string;
|
|
337
|
+
};
|
|
338
|
+
level: number;
|
|
339
|
+
}[];
|
|
340
|
+
declare const retrieveAllEarnedBadgeDTOListByCoterieTypeList: (coterieTypeList: any) => {
|
|
341
|
+
badgeDTO: {
|
|
342
|
+
coterieType: string;
|
|
343
|
+
sourceType: string;
|
|
344
|
+
badgeType: string;
|
|
345
|
+
};
|
|
346
|
+
level: number;
|
|
347
|
+
}[];
|
|
348
|
+
declare const retrieveAllEarnedBadgeDTOListByCoterieType: (coterieType: string) => {
|
|
349
|
+
badgeDTO: {
|
|
350
|
+
coterieType: string;
|
|
351
|
+
sourceType: string;
|
|
352
|
+
badgeType: string;
|
|
353
|
+
};
|
|
354
|
+
level: number;
|
|
355
|
+
}[];
|
|
356
|
+
declare const retrieveBadgeRuleListByParams: (coterieType: string, sourceType: string, badgeType: string) => {
|
|
357
|
+
level: number;
|
|
358
|
+
value: number;
|
|
359
|
+
}[];
|
|
360
|
+
declare const retrieveBadgeRuleTextByParams: (coterieType: string, sourceType: string, badgeType: string, level: number) => string | null;
|
|
361
|
+
|
|
362
|
+
declare const constructBaseVerbalIndvidualModel: (userId: any) => {
|
|
363
|
+
bloomBloomAnalyze: number;
|
|
364
|
+
bloomBloomApply: number;
|
|
365
|
+
bloomBloomCreate: number;
|
|
366
|
+
bloomBloomEvaluate: number;
|
|
367
|
+
bloomBloomRemember: number;
|
|
368
|
+
bloomBloomUnderstand: number;
|
|
369
|
+
dropdown: number;
|
|
370
|
+
coterieField: string;
|
|
371
|
+
fillInTheBlanks: number;
|
|
372
|
+
grouping: number;
|
|
373
|
+
matching: number;
|
|
374
|
+
mcma: number;
|
|
375
|
+
mcsa: number;
|
|
376
|
+
openEnded: number;
|
|
377
|
+
ordering: number;
|
|
378
|
+
trueFalse: number;
|
|
379
|
+
userId: any;
|
|
380
|
+
};
|
|
381
|
+
declare const constructBaseNumericIndividualModel: (userId: any) => {
|
|
382
|
+
bloomBloomAnalyze: number;
|
|
383
|
+
bloomBloomApply: number;
|
|
384
|
+
bloomBloomCreate: number;
|
|
385
|
+
bloomBloomEvaluate: number;
|
|
386
|
+
bloomBloomRemember: number;
|
|
387
|
+
bloomBloomUnderstand: number;
|
|
388
|
+
dropdown: number;
|
|
389
|
+
coterieField: string;
|
|
390
|
+
fillInTheBlanks: number;
|
|
391
|
+
grouping: number;
|
|
392
|
+
matching: number;
|
|
393
|
+
mcma: number;
|
|
394
|
+
mcsa: number;
|
|
395
|
+
openEnded: number;
|
|
396
|
+
ordering: number;
|
|
397
|
+
trueFalse: number;
|
|
398
|
+
userId: any;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
declare const retrieveBrandDTOByUserProfileOptionList: (userProfile: any) => {
|
|
402
|
+
value: any;
|
|
403
|
+
fullValue: any;
|
|
404
|
+
text: any;
|
|
405
|
+
}[];
|
|
406
|
+
declare const retrieveBrandDTOOptionList: (brandDTOList: any) => any;
|
|
407
|
+
declare const retrieveCampusDTOOptionList: (campusDTOList: any) => any;
|
|
408
|
+
declare const retrieveInstitutionDTOOptionList: (institutionDTOList: any) => any;
|
|
409
|
+
declare const retrieveSeasonDTOOptionList: (seasonDTOList: any) => any;
|
|
410
|
+
declare const retrieveGradeDTOOptionList: (gradeDTOList: any) => any;
|
|
411
|
+
declare const retrieveBranchDTOOptionList: (branchDTOList: any) => any;
|
|
412
|
+
declare const retrieveCampusDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any) => {
|
|
413
|
+
value: any;
|
|
414
|
+
fullValue: any;
|
|
415
|
+
text: any;
|
|
416
|
+
}[];
|
|
417
|
+
declare const retrieveInstitutionDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedCampusId: any) => {
|
|
418
|
+
value: any;
|
|
419
|
+
fullValue: any;
|
|
420
|
+
text: any;
|
|
421
|
+
}[];
|
|
422
|
+
declare const retrieveSeasonDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedInstitutionId: any) => {
|
|
423
|
+
value: any;
|
|
424
|
+
fullValue: any;
|
|
425
|
+
text: any;
|
|
426
|
+
}[];
|
|
427
|
+
declare const retrieveGradeDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedSeasonId: any) => {
|
|
428
|
+
value: any;
|
|
429
|
+
fullValue: any;
|
|
430
|
+
text: any;
|
|
431
|
+
}[];
|
|
432
|
+
declare const retrieveBranchDTOByUserProfileOptionList: (userProfile: any, selectedBrandId: any, selectedGradeId: any) => {
|
|
433
|
+
value: any;
|
|
434
|
+
fullValue: any;
|
|
435
|
+
text: any;
|
|
436
|
+
}[];
|
|
437
|
+
declare const retrieveExternalRegistrationDTOOptionList: (externalRegistrationDTOList: any) => any;
|
|
438
|
+
declare const retrieveGenderOptionList: () => {
|
|
439
|
+
value: string;
|
|
440
|
+
text: string;
|
|
441
|
+
}[];
|
|
442
|
+
declare const retrieveEnableOptionList: () => {
|
|
443
|
+
value: boolean;
|
|
444
|
+
text: string;
|
|
445
|
+
}[];
|
|
446
|
+
declare const retrieveUserRoleOptionList: () => {
|
|
447
|
+
value: string;
|
|
448
|
+
text: string;
|
|
449
|
+
}[];
|
|
450
|
+
declare const filterUserRoleOptionList: (accountType: any, userProfileRole: any) => {
|
|
451
|
+
value: string;
|
|
452
|
+
text: string;
|
|
453
|
+
}[];
|
|
454
|
+
declare const retrieveDefaultUserRoleOptionList: () => {
|
|
455
|
+
value: string;
|
|
456
|
+
text: string;
|
|
457
|
+
}[];
|
|
458
|
+
declare const retrieveCountryCodeOptionList: () => {
|
|
459
|
+
value: string;
|
|
460
|
+
text: string;
|
|
461
|
+
parent: string;
|
|
462
|
+
}[];
|
|
463
|
+
declare const retrieveCountryNameOptionList: () => {
|
|
464
|
+
value: string;
|
|
465
|
+
text: string;
|
|
466
|
+
}[];
|
|
467
|
+
declare const retrieveProvinceNameOptionList: () => {
|
|
468
|
+
parent: string;
|
|
469
|
+
value: string;
|
|
470
|
+
text: string;
|
|
471
|
+
code: string;
|
|
472
|
+
}[];
|
|
473
|
+
declare const retrievePhoneNumberAreaCodeList: () => {
|
|
474
|
+
parent: string;
|
|
475
|
+
value: string;
|
|
476
|
+
text: string;
|
|
477
|
+
}[];
|
|
478
|
+
declare const retrieveInstitutionTypeOptionList: () => {
|
|
479
|
+
value: string;
|
|
480
|
+
text: string;
|
|
481
|
+
}[];
|
|
482
|
+
declare const retrieveGradeLevelOptionList: () => {
|
|
483
|
+
value: number;
|
|
484
|
+
text: string;
|
|
485
|
+
}[];
|
|
486
|
+
declare const constructUserProfileQueryParams: (userProfile: any, userProfileBrand: any) => any;
|
|
487
|
+
declare const retrieveCoterieTypeOptionList: () => {
|
|
488
|
+
text: string;
|
|
489
|
+
value: string;
|
|
490
|
+
includes: string[];
|
|
491
|
+
}[];
|
|
492
|
+
declare const retrieveUserAuthorityGeneralOptionList: () => {
|
|
493
|
+
text: string;
|
|
494
|
+
value: string;
|
|
495
|
+
}[];
|
|
496
|
+
declare const filterGradeLevelOptionList: (institutionDTO: any, gradeDTO: any) => {
|
|
497
|
+
value: number;
|
|
498
|
+
text: string;
|
|
499
|
+
}[];
|
|
500
|
+
declare const filterCoterieTypeOptionList: (userInformation: any, userProfile: any, userProfileInstitution: any) => any;
|
|
501
|
+
declare const findAISettingsFromCurrentProfile: (userProfileBrand: any, userProfileCampus: any, userProfileInstitution: any) => any;
|
|
502
|
+
|
|
503
|
+
declare const retrieveAnnouncementTypeOptionList: () => {
|
|
504
|
+
value: string;
|
|
505
|
+
text: string;
|
|
506
|
+
}[];
|
|
507
|
+
declare const retrieveAnnouncementAudienceOptionList: () => {
|
|
508
|
+
value: string;
|
|
509
|
+
text: string;
|
|
510
|
+
}[];
|
|
511
|
+
|
|
512
|
+
declare const retrieveReportTypeOptionList: () => {
|
|
513
|
+
value: string;
|
|
514
|
+
text: string;
|
|
515
|
+
}[];
|
|
516
|
+
|
|
288
517
|
declare const convertDataURLtoFile: (dataurl: string, filename: string) => File;
|
|
289
518
|
declare const retrieveDocumentTypeFromAcceptedFormat: (format: string) => "IMAGE" | "AUDIO" | "PDF" | undefined;
|
|
290
519
|
declare const retrieveDocumentTypeFromExtension: (format: string) => "IMAGE" | "AUDIO" | "PDF" | undefined;
|
|
291
520
|
|
|
292
|
-
|
|
521
|
+
declare const retrieveTokenUsageTypeOptionList: () => {
|
|
522
|
+
text: string;
|
|
523
|
+
value: string;
|
|
524
|
+
}[];
|
|
525
|
+
declare const retrieveTokenUsageSubTypeOptionList: () => {
|
|
526
|
+
text: string;
|
|
527
|
+
value: string;
|
|
528
|
+
}[];
|
|
529
|
+
|
|
530
|
+
export { ApproveButton, BaseImage, BaseLoading, BlueVerticalDividerLine, CancelButton, CreateButton, DeleteButton, DividerLine, DropdownActivityContent, FillInTheBlanksActivityContent, GroupingActivityContent, InputGroup, MCMAActivityContent, MCSAActivityContent, MatchingActivityContent, ONE_DAY, ONE_HOUR, ONE_MONTH, ONE_WEEK, OpenEndedActivityContent, OrderingActivityContent, PrimaryButton, SecondaryButton, SelectionBox, SelectionCheckbox, 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 };
|