mario-teacher-student-client 2.2.620-feedback → 2.2.621-feedback

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 (129) hide show
  1. package/dist/components/Autocomplete/AutocompleteField.d.ts +13 -0
  2. package/dist/components/DatePicker/DatePickerField.d.ts +11 -0
  3. package/dist/components/DatePicker/FilterDateRange.d.ts +11 -0
  4. package/dist/components/Progress/LinearProgress.d.ts +6 -0
  5. package/dist/components/selector/CalendarSelect.d.ts +14 -0
  6. package/dist/containers/PLP/components/BarChart.d.ts +12 -0
  7. package/dist/containers/PLP/components/ConcernMetricTab.d.ts +4 -0
  8. package/dist/containers/PLP/components/ConversationTab.d.ts +4 -0
  9. package/dist/containers/PLP/components/DesktopFilterComponent.d.ts +4 -0
  10. package/dist/containers/PLP/components/GeneratePlpChart.d.ts +4 -0
  11. package/dist/containers/PLP/components/GenerateTrendQuestion.d.ts +4 -0
  12. package/dist/containers/PLP/components/GraphTrend.d.ts +4 -0
  13. package/dist/containers/PLP/components/LearningProgressTab.d.ts +4 -0
  14. package/dist/containers/PLP/components/MobileFilterComponent.d.ts +4 -0
  15. package/dist/containers/PLP/components/ModelSkillStudent.d.ts +4 -0
  16. package/dist/containers/PLP/components/OpenFieldTab.d.ts +4 -0
  17. package/dist/containers/PLP/components/ReadinessToLearnTab.d.ts +4 -0
  18. package/dist/containers/PLP/components/SuccessIndicatorTab.d.ts +4 -0
  19. package/dist/containers/PLP/components/TotalCard.d.ts +4 -0
  20. package/dist/containers/PLP/hooks/useLowMetric.d.ts +6 -0
  21. package/dist/utils/colors.d.ts +2 -0
  22. package/package.json +2 -2
  23. package/dist/components/Button/NodeDraggable.d.ts +0 -7
  24. package/dist/components/selector/TopicSelector.d.ts +0 -8
  25. package/dist/components/selector/hooks/useTopicSelector.d.ts +0 -17
  26. package/dist/containers/AboutMyLearning/components/AboutMyLearning.d.ts +0 -3
  27. package/dist/containers/AboutMyLearning/components/AboutMyLearningDialog.d.ts +0 -4
  28. package/dist/containers/AboutMyLearning/components/AboutMyLearningList.d.ts +0 -3
  29. package/dist/containers/AboutMyLearning/constants/constants.d.ts +0 -7
  30. package/dist/containers/AboutMyLearning/constants/listTitleAboutMyLearning.d.ts +0 -1
  31. package/dist/containers/AboutMyLearning/constants/type.d.ts +0 -20
  32. package/dist/containers/AboutMyLearning/hook/useAboutMyLearning.d.ts +0 -32
  33. package/dist/containers/ActionPoint/api/apiClient.d.ts +0 -7
  34. package/dist/containers/ActionPoint/components/CardItem/hooks/useCardItem.d.ts +0 -8
  35. package/dist/containers/ActionPoint/components/CardItem/services/services.d.ts +0 -1
  36. package/dist/containers/ActionPoint/components/CardItem/view/CardItem.d.ts +0 -3
  37. package/dist/containers/ActionPoint/components/DashBoardView/hooks/useActionPointsDB.d.ts +0 -11
  38. package/dist/containers/ActionPoint/components/DashBoardView/hooks/useCard.d.ts +0 -9
  39. package/dist/containers/ActionPoint/components/DashBoardView/services/actionPointDashboardService.d.ts +0 -1
  40. package/dist/containers/ActionPoint/components/DashBoardView/views/ActionPointsDashboard.d.ts +0 -3
  41. package/dist/containers/ActionPoint/components/DashBoardView/views/Card.d.ts +0 -3
  42. package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +0 -40
  43. package/dist/containers/ActionPoint/components/Dialogs/services/dialogServices.d.ts +0 -6
  44. package/dist/containers/ActionPoint/components/Dialogs/views/DialogRequestActionPoint.d.ts +0 -3
  45. package/dist/containers/ActionPoint/components/DoneList/hooks/useDoneList.d.ts +0 -17
  46. package/dist/containers/ActionPoint/components/DoneList/services/doneListService.d.ts +0 -2
  47. package/dist/containers/ActionPoint/components/DoneList/view/DoneList.d.ts +0 -3
  48. package/dist/containers/ActionPoint/components/MainView/ActionPoint.d.ts +0 -3
  49. package/dist/containers/ActionPoint/components/Tabs/CustomTab.d.ts +0 -3
  50. package/dist/containers/ActionPoint/components/TodoList/hooks/useTodoList.d.ts +0 -22
  51. package/dist/containers/ActionPoint/components/TodoList/services/todoListServices.d.ts +0 -2
  52. package/dist/containers/ActionPoint/components/TodoList/view/TodoList.d.ts +0 -3
  53. package/dist/containers/ActionPoint/constants/function.d.ts +0 -2
  54. package/dist/containers/ActionPoint/constants/types.d.ts +0 -36
  55. package/dist/containers/ActivityCircle/components/ModalGoalActivity.d.ts +0 -3
  56. package/dist/containers/ActivityCircle/constant/type.d.ts +0 -7
  57. package/dist/containers/ActivityCircle/hooks/useListActivity.d.ts +0 -9
  58. package/dist/containers/ActivityCircle/hooks/useListDetailActivity.d.ts +0 -30
  59. package/dist/containers/ActivityCircle/hooks/useTotalActivity.d.ts +0 -5
  60. package/dist/containers/ActivityCircle/services/ActivityCircleService.d.ts +0 -8
  61. package/dist/containers/ActivityCircle/views/ActivityCircleLearning.d.ts +0 -3
  62. package/dist/containers/ActivityCircle/views/ListActivityLearning.d.ts +0 -3
  63. package/dist/containers/FriendCircle/components/ModalGoalFriend.d.ts +0 -3
  64. package/dist/containers/FriendCircle/constants/types.d.ts +0 -103
  65. package/dist/containers/FriendCircle/hooks/useListDetail.d.ts +0 -23
  66. package/dist/containers/FriendCircle/hooks/useListFriend.d.ts +0 -10
  67. package/dist/containers/FriendCircle/hooks/useTotalFriends.d.ts +0 -5
  68. package/dist/containers/FriendCircle/views/FriendCircleLearning.d.ts +0 -3
  69. package/dist/containers/FriendCircle/views/ListFriendCircle.d.ts +0 -3
  70. package/dist/containers/GoalPage/apiClient/apiGoals.d.ts +0 -8
  71. package/dist/containers/GoalPage/components/CardItem/CardGoalItem.d.ts +0 -4
  72. package/dist/containers/GoalPage/components/CardItem/CardRateGoal.d.ts +0 -4
  73. package/dist/containers/GoalPage/components/CardItem/CardWarning.d.ts +0 -4
  74. package/dist/containers/GoalPage/components/CardItem/StatusTargetComponent.d.ts +0 -4
  75. package/dist/containers/GoalPage/components/CardItem/TargetItem.d.ts +0 -4
  76. package/dist/containers/GoalPage/components/CreateGoalModel.d.ts +0 -4
  77. package/dist/containers/GoalPage/components/CustomInputDatePicker.d.ts +0 -4
  78. package/dist/containers/GoalPage/components/FilterGoalPage.d.ts +0 -4
  79. package/dist/containers/GoalPage/components/Steps/BaseLine.d.ts +0 -4
  80. package/dist/containers/GoalPage/components/Steps/ChooseArea.d.ts +0 -4
  81. package/dist/containers/GoalPage/components/Steps/DetailFormCreate.d.ts +0 -4
  82. package/dist/containers/GoalPage/components/Steps/ModelPickTarget.d.ts +0 -4
  83. package/dist/containers/GoalPage/components/Steps/ModelSelectCategory.d.ts +0 -4
  84. package/dist/containers/GoalPage/constants/constants.d.ts +0 -211
  85. package/dist/containers/GoalPage/hook/useGoals.d.ts +0 -39
  86. package/dist/containers/GoalPage/styles/makeStyles.d.ts +0 -1
  87. package/dist/containers/GoalPage/types/types.d.ts +0 -130
  88. package/dist/containers/GoalPage/views/MyGoals.d.ts +0 -4
  89. package/dist/containers/Goals/components/EditBaseLine.d.ts +0 -3
  90. package/dist/containers/Goals/components/EditCheckPoint.d.ts +0 -3
  91. package/dist/containers/Goals/components/EditDetail.d.ts +0 -4
  92. package/dist/containers/Goals/components/GoalDetail.d.ts +0 -3
  93. package/dist/containers/Goals/components/GoalList.d.ts +0 -3
  94. package/dist/containers/Goals/components/Goals.d.ts +0 -8
  95. package/dist/containers/Goals/components/NewGoal.d.ts +0 -3
  96. package/dist/containers/Goals/constants/type.d.ts +0 -21
  97. package/dist/containers/Goals/hook/useGoalDetail.d.ts +0 -19
  98. package/dist/containers/Goals/hook/useGoals.d.ts +0 -15
  99. package/dist/containers/Home/components/Dashboard.d.ts +0 -3
  100. package/dist/containers/LearningStrategies/hook/LearningStrategiesApi.d.ts +0 -8
  101. package/dist/containers/LearningStrategies/hook/LearningStrategiesService.d.ts +0 -28
  102. package/dist/containers/LearningStrategies/hook/useAddLearningStrategies.d.ts +0 -22
  103. package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +0 -30
  104. package/dist/containers/LearningStrategies/view/LearningStrategies.d.ts +0 -2
  105. package/dist/containers/LearningStrategies/view/LearningStrategiesDialog.d.ts +0 -3
  106. package/dist/containers/LearningStrategies/view/LearningStrategiesMobileItem.d.ts +0 -16
  107. package/dist/containers/LearningStrategies/view/LearningStrategiesSave.d.ts +0 -2
  108. package/dist/containers/MyOneToOne/hooks/useCheckInAndOneToOne.d.ts +0 -13
  109. package/dist/containers/MyOneToOne/views/CheckInAndOneToOne.d.ts +0 -3
  110. package/dist/containers/MyStudent/components/OverviewWellbeing.d.ts +0 -7
  111. package/dist/containers/SettingsPage/components/NotificationsPage.d.ts +0 -2
  112. package/dist/containers/SettingsPage/constants/types.d.ts +0 -7
  113. package/dist/containers/SettingsPage/hooks/useSettingPage.d.ts +0 -11
  114. package/dist/containers/StrengthsAndChallenges/components/dialogs/CreateEditDialog.d.ts +0 -3
  115. package/dist/containers/StrengthsAndChallenges/constants/constants.d.ts +0 -4
  116. package/dist/containers/StrengthsAndChallenges/constants/listStrengthsChallengesBestFits.d.ts +0 -1
  117. package/dist/containers/StrengthsAndChallenges/constants/type.d.ts +0 -7
  118. package/dist/containers/StrengthsAndChallenges/hook/useStrengthsChallenges.d.ts +0 -17
  119. package/dist/containers/StrengthsAndChallenges/views/DetailStrengthsAndChallenges.d.ts +0 -3
  120. package/dist/containers/StrengthsAndChallenges/views/SummaryStrengthsAndChallenges.d.ts +0 -9
  121. package/dist/containers/ThingTeachersCanHelp/components/CreateThinkTeacherCanHelp.d.ts +0 -4
  122. package/dist/containers/ThingTeachersCanHelp/components/TeachingStrategiesAdd.d.ts +0 -3
  123. package/dist/containers/ThingTeachersCanHelp/components/ThingTeachersCanHelp.d.ts +0 -4
  124. package/dist/containers/ThingTeachersCanHelp/components/ThingTeachersCanHelpList.d.ts +0 -3
  125. package/dist/containers/ThingTeachersCanHelp/constants/data.d.ts +0 -7
  126. package/dist/containers/ThingTeachersCanHelp/constants/type.d.ts +0 -27
  127. package/dist/containers/ThingTeachersCanHelp/hook/useTeachingStrategiesAdd.d.ts +0 -22
  128. package/dist/containers/ThingTeachersCanHelp/hook/useThingTeachersCanHelp.d.ts +0 -30
  129. /package/dist/containers/ConductOneToOne/components/{CheckinInformation.d.ts → CheckInInformation.d.ts} +0 -0
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { AutocompleteProps } from "@material-ui/lab";
3
+ import { TextFieldProps } from "@material-ui/core";
4
+ interface BaseProps {
5
+ label: string;
6
+ placeholder?: string;
7
+ fontSizeInputSelect?: string | null;
8
+ textFieldProps?: TextFieldProps;
9
+ className?: string;
10
+ style?: React.CSSProperties;
11
+ }
12
+ declare const AutocompleteField: <T, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = false, FreeSolo extends boolean | undefined = false>({ label, placeholder, fontSizeInputSelect, textFieldProps, className, style, ...autocompleteProps }: Pick<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "classes" | "loading" | "defaultValue" | "onChange" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ChipProps" | "closeIcon" | "clearText" | "closeText" | "disabled" | "disablePortal" | "forcePopupIcon" | "fullWidth" | "getLimitTagsText" | "ListboxComponent" | "ListboxProps" | "loadingText" | "limitTags" | "noOptionsText" | "openText" | "PaperComponent" | "PopperComponent" | "popupIcon" | "renderGroup" | "renderOption" | "renderTags" | "size" | "autoComplete" | "autoHighlight" | "autoSelect" | "blurOnSelect" | "clearOnBlur" | "clearOnEscape" | "componentName" | "debug" | "disableClearable" | "disableCloseOnSelect" | "disabledItemsFocusable" | "disableListWrap" | "filterOptions" | "filterSelectedOptions" | "freeSolo" | "getOptionDisabled" | "getOptionLabel" | "getOptionSelected" | "groupBy" | "handleHomeEndKeys" | "includeInputInList" | "inputValue" | "onClose" | "onInputChange" | "onOpen" | "onHighlightChange" | "open" | "openOnFocus" | "options" | "selectOnFocus" | "multiple" | "value" | "innerRef" | "ref"> & BaseProps) => JSX.Element;
13
+ export default AutocompleteField;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
3
+ interface PropsType {
4
+ value: number | undefined | null;
5
+ onChange: (date: MaterialUiPickersDate | null, value?: string | null) => void;
6
+ label: string;
7
+ minDate?: number | undefined | null;
8
+ fontSizeInputSelect?: string | null;
9
+ }
10
+ declare const DatePickerField: ({ value, onChange, minDate, fontSizeInputSelect }: PropsType) => JSX.Element;
11
+ export default DatePickerField;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
3
+ interface PropsType {
4
+ startDate: number | undefined | null;
5
+ endDate: number | undefined | null;
6
+ onChangeStartDate: (date: MaterialUiPickersDate | null, value?: string | null) => void;
7
+ onChangeEndDate: (date: MaterialUiPickersDate | null, value?: string | null) => void;
8
+ fontSizeInputSelect?: string | null;
9
+ }
10
+ declare const FilterDateRange: ({ endDate, startDate, onChangeEndDate, onChangeStartDate, fontSizeInputSelect }: PropsType) => JSX.Element;
11
+ export default FilterDateRange;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { LinearProgressProps } from "@material-ui/core";
3
+ declare const LinearProgress: (props: LinearProgressProps & {
4
+ value: number;
5
+ }) => JSX.Element;
6
+ export default LinearProgress;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ interface IOptionCalendar {
3
+ label: string;
4
+ startDate: number;
5
+ endDate: number;
6
+ value: string;
7
+ }
8
+ interface ICalendarSelect {
9
+ options: IOptionCalendar[];
10
+ value?: string;
11
+ onChange?: Function;
12
+ }
13
+ declare const CalendarSelect: ({ options, value, onChange }: ICalendarSelect) => JSX.Element;
14
+ export default CalendarSelect;
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ import { ISeries } from "../configs/types";
3
+ interface IProps {
4
+ months: string[];
5
+ activeColumn: boolean[];
6
+ series: ISeries[];
7
+ dayOfWeek: string[];
8
+ colors: string[];
9
+ min?: number;
10
+ }
11
+ declare const BarChart: FC<IProps>;
12
+ export default BarChart;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { IConcernMetricTab } from "../configs/types";
3
+ declare const _default: React.MemoExoticComponent<({ studentSkillQuestion, classFontSize, safetyData, stressData, monthsOneToOne, dayOfWeekOneToOne, handleHoverTooltip, avgQuestionLastMonth, studentPressure, timeOfDay, metricWeeks }: IConcernMetricTab) => JSX.Element>;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { IConversationTab } from "../configs/types";
3
+ declare const _default: React.MemoExoticComponent<({}: IConversationTab) => JSX.Element>;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IFilterComponent } from "../configs/types";
3
+ declare const DesktopFilterComponent: ({ isStudent, gradeList, onChangeFilterGrade, fontSizeInputSelect, gradeFilter, endDate, startDate, student, onChangeStudent, studentData, academicYearList, valueAcademicYear, onChangeAcademicYear, onChangeEndDateChart, onChangeStartDateChart, optionDate, onChangeFilterCalendar }: IFilterComponent) => JSX.Element;
4
+ export default DesktopFilterComponent;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { IGenerateChart } from "../configs/types";
3
+ declare const _default: React.MemoExoticComponent<({ typeChart, activeColumn, series, months, name, dayOfWeek, colors, textColors, avgQuestionLastMonth, studentCount, studentPercentage, responseStudent, classFontSize, avgContent, print, width, height, titleClassFontSize, min, handleHoverTooltip, hiddenKpi, kpiText, timeOfDay, weeklySeries, weeks, description }: IGenerateChart) => JSX.Element>;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { IGenerateTrendQuestion } from "../configs/types";
3
+ declare const _default: React.MemoExoticComponent<({ series, avgQuestionLastMonth, trendLabels, icons, className }: IGenerateTrendQuestion) => JSX.Element>;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IGraphTrend } from "../configs/types";
3
+ declare const GraphTrend: ({ value, label, isStress }: IGraphTrend) => JSX.Element;
4
+ export default GraphTrend;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ILearningProgressTab } from "../configs/types";
3
+ declare const LearningProgressTab: ({ learningStrategies, classFontSize, handleHoverTooltip }: ILearningProgressTab) => JSX.Element;
4
+ export default LearningProgressTab;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IFilterComponent } from "../configs/types";
3
+ declare const MobileFilterComponent: ({ isStudent, gradeList, onChangeFilterGrade, fontSizeInputSelect, gradeFilter, endDate, startDate, student, onChangeStudent, studentData, academicYearList, valueAcademicYear, onChangeAcademicYear, onChangeEndDateChart, onChangeStartDateChart, onChangeFilterCalendar, optionDate, expandedFilter, onToggleChart }: IFilterComponent) => JSX.Element;
4
+ export default MobileFilterComponent;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IModelSkillStudent } from "../../MyStudent/components/NewOverview/Chat/types/types";
3
+ declare const ModelSkillStudent: ({ studentCount, studentPercentage, responseStudent, name }: IModelSkillStudent) => JSX.Element;
4
+ export default ModelSkillStudent;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IOpenFieldTab } from "../configs/types";
3
+ declare const OpenFieldTab: ({ handleRedirectAllAnswer, summarizeQuestions, goToSession, handleChangeQuestionFilter, questionFilters }: IOpenFieldTab) => JSX.Element;
4
+ export default OpenFieldTab;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IReadinessToLearnTab } from "../configs/types";
3
+ declare const ReadinessToLearnTab: ({ dataReadinessOfChart, handleHoverTooltip, classFontSize, dataOverallReadyToLearn, dayOfWeekOneToOne, monthsOneToOne, avgQuestionLastMonth, preparednessData, preparednessWeeklyData, weeksOneToOne }: IReadinessToLearnTab) => JSX.Element;
4
+ export default ReadinessToLearnTab;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ISuccessIndicatorTab } from "../configs/types";
3
+ declare const SuccessIndicatorTab: ({ successIndicatorsData, avgQuestionLastMonth, dayOfWeekOneToOne, monthsOneToOne, timeOfDay, classFontSize, handleHoverTooltip, successIndicatorWeeklyData, weeksOneToOne }: ISuccessIndicatorTab) => JSX.Element;
4
+ export default SuccessIndicatorTab;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ITotalCard } from "../configs/types";
3
+ declare const TotalCard: ({ iconSrc, label, value }: ITotalCard) => JSX.Element;
4
+ export default TotalCard;
@@ -0,0 +1,6 @@
1
+ import { FILTER_STUDENT_WELLBEING } from "../configs/types";
2
+ declare const useLowMetric: (studentId: number | undefined, filterDateChart: FILTER_STUDENT_WELLBEING, gradeFilter?: string[] | undefined, academicYearId?: number | undefined) => {
3
+ getMetricData: () => Promise<void>;
4
+ metricWeeks: string[];
5
+ };
6
+ export default useLowMetric;
@@ -0,0 +1,2 @@
1
+ export declare const darkenColor: (rgbaString: string) => string;
2
+ export declare const getColorAnswer: (value: number, isStress?: boolean) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-teacher-student-client",
3
- "version": "2.2.620-feedback",
3
+ "version": "2.2.621-feedback",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -90,7 +90,7 @@
90
90
  "fullcalendar": "^5.10.1",
91
91
  "jspdf": "^2.5.0",
92
92
  "lodash": "^4.17.21",
93
- "mario-core": "2.9.394-feedback",
93
+ "mario-core": "2.9.395-feedback",
94
94
  "material-ui": "^0.20.2",
95
95
  "moment": "^2.29.1",
96
96
  "node-sass": "^5.0.0",
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export interface LOCATION_TYPE {
3
- xAxis: number;
4
- yAxis: number;
5
- }
6
- declare function NodeDraggable(props: any): JSX.Element;
7
- export default NodeDraggable;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- declare type Props = {
3
- value?: string;
4
- onChange: (val: string) => void;
5
- disabled?: boolean;
6
- };
7
- declare const TopicSelector: ({ onChange, value, disabled }: Props) => JSX.Element;
8
- export default TopicSelector;
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- declare type Props = {
3
- value: string;
4
- onChange: (val: string) => void;
5
- disabled?: boolean;
6
- };
7
- export declare const splitKey = "-!#~#!%%-";
8
- export declare const useTopicSelector: (props: Props) => {
9
- defaultValue: any;
10
- isOpen: boolean | undefined;
11
- options: any[];
12
- ref: import("react").RefObject<HTMLDivElement>;
13
- setOpen: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
14
- handleChangeValue: (val: any) => void;
15
- handleToggleOpen: () => void;
16
- };
17
- export {};
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const AboutMyLearning: ({ studentId, isAllowedEdit, updateAllow, studentInfo, disabled }: any) => JSX.Element;
3
- export default AboutMyLearning;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { ABOUT_MY_LEARNING_DIALOG } from "../constants/type";
3
- declare const AboutMyLearningDialog: (props: ABOUT_MY_LEARNING_DIALOG) => JSX.Element;
4
- export default AboutMyLearningDialog;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const AboutMyLearningList: () => JSX.Element;
3
- export default AboutMyLearningList;
@@ -1,7 +0,0 @@
1
- export declare const initialMyLearning: {
2
- id: null;
3
- title: string;
4
- sectionFields: {
5
- title: string;
6
- }[];
7
- };
@@ -1 +0,0 @@
1
- export declare const titleListAboutMyLearning: string[];
@@ -1,20 +0,0 @@
1
- export interface ABOUT_MY_LEARNING {
2
- id: number;
3
- title: string;
4
- description: string;
5
- type: string;
6
- sectionFields: any;
7
- }
8
- export interface ABOUT_MY_LEARNING_DIALOG {
9
- onClose: Function;
10
- setOpen: Function;
11
- selectedValue?: string;
12
- open: boolean;
13
- idItem?: number;
14
- create: Function;
15
- update: Function;
16
- getById: Function;
17
- dataItem: any;
18
- setDataItem: any;
19
- onDelete: Function;
20
- }
@@ -1,32 +0,0 @@
1
- /// <reference types="react" />
2
- declare const useAboutMyLearning: () => {
3
- create: (data: any) => Promise<void>;
4
- update: (id: number, data: any) => Promise<void>;
5
- getById: (id: number) => Promise<void>;
6
- deleteById: (id: number) => Promise<void>;
7
- updateAllow: (data: any) => Promise<void>;
8
- listData: any;
9
- dataItem: {
10
- id: null;
11
- title: string;
12
- sectionFields: {
13
- title: string;
14
- }[];
15
- };
16
- isAllowedEdit: boolean;
17
- setIsAllowedEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
18
- studentId: any;
19
- isTeacher: any;
20
- setDataItem: import("react").Dispatch<import("react").SetStateAction<{
21
- id: null;
22
- title: string;
23
- sectionFields: {
24
- title: string;
25
- }[];
26
- }>>;
27
- classFontSize: string;
28
- nameStudent: string;
29
- isParent: any;
30
- getAllow: () => Promise<void>;
31
- };
32
- export default useAboutMyLearning;
@@ -1,7 +0,0 @@
1
- export declare const getDataActionPointApi: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
2
- export declare const postDataActionPointApi: (data: any) => Promise<import("axios").AxiosResponse<any>>;
3
- export declare const getDataClassNameApi: () => Promise<import("axios").AxiosResponse<any>>;
4
- export declare const getDataActionPointByIdApi: (id: any) => Promise<import("axios").AxiosResponse<any>>;
5
- export declare const putActionPointApi: (id: any, formData: any) => Promise<import("axios").AxiosResponse<any>>;
6
- export declare const putIsDoneApi: (id: any) => Promise<import("axios").AxiosResponse<any>>;
7
- export declare const deleteActionPointApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
@@ -1,8 +0,0 @@
1
- declare const useCardItem: (actionPoints: any) => {
2
- clickOpenEdit: (actionPointId: any, refConduct: any) => Promise<void>;
3
- actionId: number;
4
- handleChangeIsDone: (id: any) => Promise<void>;
5
- data: any;
6
- classFontSize: string;
7
- };
8
- export default useCardItem;
@@ -1 +0,0 @@
1
- export declare const updateIsDone: (dispatch: any, id: any) => Promise<void>;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const CardItem: (props: any) => JSX.Element;
3
- export default CardItem;
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- declare const useActionPointsDB: () => {
3
- listData: any;
4
- openDialog: import("react").MutableRefObject<any>;
5
- clickOpenModal: () => void;
6
- onReloading: () => void;
7
- classFontSize: string;
8
- getData: () => Promise<void>;
9
- setListData: import("react").Dispatch<any>;
10
- };
11
- export default useActionPointsDB;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- declare const useCard: () => {
3
- actionId: number;
4
- clickOpenEdit: (actionPointId: any) => Promise<void>;
5
- handleChangeIsDone: (_id: any, onReloading: Function) => Promise<void>;
6
- refConduct: import("react").MutableRefObject<any>;
7
- classFontSize: string;
8
- };
9
- export default useCard;
@@ -1 +0,0 @@
1
- export declare const getDataActionPoint: (dispatch: any, filter: any) => Promise<any>;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const ActionPointsDashboard: ({ handleGetNewActionPoint, listData, openDialog, clickOpenModal, onReloading, classFontSize }: any) => JSX.Element;
3
- export default ActionPointsDashboard;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const Card: (props: any) => JSX.Element;
3
- export default Card;
@@ -1,40 +0,0 @@
1
- import React from "react";
2
- import { FORM_REQUEST } from "../../../constants/types";
3
- declare type PropsType = {
4
- actionId: number;
5
- reloadRef: React.MutableRefObject<any>;
6
- };
7
- declare const useDialogRequest: (_props: PropsType, ref: any) => {
8
- open: boolean;
9
- isTeacher: any;
10
- isAssistant: any;
11
- isCounselor: any;
12
- classList: never[];
13
- formData: FORM_REQUEST;
14
- changeFormData: (updatedForm: any) => void;
15
- changeTitle: (e: any) => void;
16
- handleDateChange: (date: any) => void;
17
- handleChangeClassName: (e: React.ChangeEvent<{
18
- value: unknown;
19
- }>) => void;
20
- handleChangeNotiDuration: (e: React.ChangeEvent<{
21
- value: unknown;
22
- }>) => void;
23
- handleChangeNotiCount: (e: React.ChangeEvent<{
24
- value: unknown;
25
- }>) => void;
26
- handleCreate: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
27
- handleClickClose: () => void;
28
- handleCheckbox: (e: React.ChangeEvent<HTMLInputElement>) => void;
29
- submitUpdate: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
30
- handleDeleteItem: (cb?: Function | undefined, cbGetEventCalendar?: Function | undefined) => Promise<void>;
31
- handleCloseNoti: () => void;
32
- setNotiSetting: React.Dispatch<React.SetStateAction<string>>;
33
- notiSetting: string;
34
- onSettingNotification: (e: any) => void;
35
- titleValidate: boolean;
36
- deadlineValidate: boolean;
37
- setTitleValidate: React.Dispatch<React.SetStateAction<boolean>>;
38
- setDeadlineValidate: React.Dispatch<React.SetStateAction<boolean>>;
39
- };
40
- export default useDialogRequest;
@@ -1,6 +0,0 @@
1
- import { FORM_REQUEST } from "../../../constants/types";
2
- export declare const getDataClassName: (dispatch: any) => Promise<any>;
3
- export declare const createActionPoint: (dispatch: any, formData: FORM_REQUEST) => Promise<void>;
4
- export declare const getActionPointById: (dispatch: any, id: any) => Promise<any>;
5
- export declare const updateActionPoint: (dispatch: any, id: any, formData: any) => Promise<void>;
6
- export declare const deleteActionPoint: (dispatch: any, id: any) => Promise<void>;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
- export default _default;
@@ -1,17 +0,0 @@
1
- declare const useDoneList: () => {
2
- dataDoneList: any;
3
- deadline: string;
4
- classList: never[];
5
- handleChangeDeadline: (e: React.ChangeEvent<{
6
- value: unknown;
7
- }>) => void;
8
- handleChangeClassName: (e: React.ChangeEvent<{
9
- value: unknown;
10
- }>) => void;
11
- changeFilters: (updateFilters: any) => void;
12
- filters: any;
13
- isTeacher: any;
14
- isAssistant: any;
15
- isCounselor: any;
16
- };
17
- export default useDoneList;
@@ -1,2 +0,0 @@
1
- export declare const getDataDoneList: (dispatch: any, filter: any) => Promise<any>;
2
- export declare const getListClass: (dispatch: any) => Promise<any>;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const DoneList: () => JSX.Element;
3
- export default DoneList;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const ActionPoint: () => JSX.Element;
3
- export default ActionPoint;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const CustomTab: (props: any) => JSX.Element;
3
- export default CustomTab;
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- declare const useTodoList: () => {
3
- filters: any;
4
- classList: never[];
5
- changeFilters: (updateFilters: any) => void;
6
- dataActionPoint: any;
7
- deadline: string;
8
- handleChangeDeadline: (e: React.ChangeEvent<{
9
- value: unknown;
10
- }>) => void;
11
- handleChangeClassName: (e: React.ChangeEvent<{
12
- value: unknown;
13
- }>) => void;
14
- handleChangeSearchString: (e: React.ChangeEvent<HTMLInputElement>) => void;
15
- getActionPointList: () => Promise<void>;
16
- isTeacher: any;
17
- isAssistant: any;
18
- isCounselor: any;
19
- classFontSize: string;
20
- inputSearch: import("react").MutableRefObject<any>;
21
- };
22
- export default useTodoList;
@@ -1,2 +0,0 @@
1
- export declare const getDataActionPoints: (dispatch: any, filter: any) => Promise<any>;
2
- export declare const getDataClassName: (dispatch: any) => Promise<any>;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const TodoList: (props: any) => JSX.Element;
3
- export default TodoList;
@@ -1,2 +0,0 @@
1
- import { IActionPoint } from "./types";
2
- export declare const groupBy: (xs: IActionPoint[]) => {};
@@ -1,36 +0,0 @@
1
- export interface SIMPLE_DIALOG {
2
- open: boolean;
3
- selectedValue: string;
4
- onClose: (value: string) => void;
5
- setStudentId?: Function;
6
- onClickStartQuestion?: Function;
7
- studentId?: number;
8
- }
9
- export interface FILTER_SESSION {
10
- searchString?: string;
11
- startTime?: any;
12
- endTime?: any;
13
- isDone?: boolean;
14
- className?: string;
15
- roles?: string[];
16
- }
17
- export interface FORM_REQUEST {
18
- title?: string;
19
- class?: string;
20
- deadline?: number | null;
21
- notiCount?: number;
22
- notiDuration?: string;
23
- isDone?: boolean;
24
- roles?: string[];
25
- }
26
- export interface IActionPoint {
27
- deadline: number;
28
- deadlineDate: string;
29
- id: number;
30
- isDone: boolean;
31
- notiCount: number;
32
- notiDuration: string;
33
- reflectionId: number;
34
- title: string;
35
- class: any;
36
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
- export default _default;
@@ -1,7 +0,0 @@
1
- export interface FILTER_STUDENT_SESSION {
2
- currentPage: number;
3
- pageSize: number;
4
- searchString: string;
5
- studentUserId?: any;
6
- type?: string;
7
- }
@@ -1,9 +0,0 @@
1
- import { FILTER_STUDENT_SESSION } from "../constant/type";
2
- declare const useListActivity: () => {
3
- getActivityListData: () => Promise<void>;
4
- goalActivityList: never[];
5
- filters: FILTER_STUDENT_SESSION;
6
- changeFilters: (updateFilters: any) => void;
7
- nameStudent: string;
8
- };
9
- export default useListActivity;
@@ -1,30 +0,0 @@
1
- /// <reference types="react" />
2
- declare type CircleType = {
3
- id: number;
4
- name: string;
5
- type: string;
6
- imageUrl: string;
7
- };
8
- declare const useListDetailActivity: () => {
9
- myGoalCircle: CircleType;
10
- setGoalCircle: import("react").Dispatch<import("react").SetStateAction<CircleType>>;
11
- acticityId: number;
12
- setActivityId: import("react").Dispatch<import("react").SetStateAction<number>>;
13
- OPTIONS_TYPE: {
14
- value: string;
15
- label: string;
16
- color: string;
17
- }[];
18
- file: any;
19
- setFile: import("react").Dispatch<any>;
20
- confirmData: (values: any, cb: any) => Promise<void>;
21
- getData: () => Promise<void>;
22
- deleteActivity: (cb?: any) => Promise<void>;
23
- classFontSize: string;
24
- ACTIVITY_LIST: {
25
- id: number;
26
- images: string;
27
- text: string;
28
- }[];
29
- };
30
- export default useListDetailActivity;
@@ -1,5 +0,0 @@
1
- declare const useTotalActivity: () => {
2
- totalActivity: any;
3
- classFontSize: string;
4
- };
5
- export default useTotalActivity;