mario-education 2.5.1-release → 2.5.2-release
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/components/Autocomplete/AutocompleteField.d.ts +13 -0
- package/dist/components/DatePicker/DatePickerField.d.ts +10 -0
- package/dist/components/DatePicker/FilterDateRange.d.ts +10 -0
- package/dist/components/Progress/LinearProgress.d.ts +5 -0
- package/dist/components/icons/ArrowUp.d.ts +5 -0
- package/dist/components/selector/CalendarSelect.d.ts +13 -0
- package/dist/components/selector/StudentMultiSelector.d.ts +3 -0
- package/dist/containers/Dashboard/components/ConcernMetricTab.d.ts +4 -0
- package/dist/containers/Dashboard/components/ConversationTab.d.ts +4 -0
- package/dist/containers/Dashboard/components/DesktopFilterComponent.d.ts +3 -0
- package/dist/containers/Dashboard/components/ExportChartPdfModal.d.ts +29 -0
- package/dist/containers/Dashboard/components/GeneratePlpChart.d.ts +4 -0
- package/dist/containers/Dashboard/components/GenerateTrendQuestion.d.ts +4 -0
- package/dist/containers/Dashboard/components/GraphTrend.d.ts +3 -0
- package/dist/containers/Dashboard/components/LearningProgressTab.d.ts +3 -0
- package/dist/containers/Dashboard/components/MetricModelStudent.d.ts +8 -0
- package/dist/containers/Dashboard/components/MobileFilterComponent.d.ts +3 -0
- package/dist/containers/Dashboard/components/OpenFieldTab.d.ts +3 -0
- package/dist/containers/Dashboard/components/ReadinessToLearnTab.d.ts +3 -0
- package/dist/containers/Dashboard/components/StaticMetric.d.ts +8 -0
- package/dist/containers/Dashboard/components/SuccessIndicatorTab.d.ts +3 -0
- package/dist/containers/ExternalApi/configs/types.d.ts +1 -0
- package/dist/containers/OneRosterSystem/components/RestApiProgress.d.ts +6 -0
- package/dist/containers/OneRosterSystem/components/VeraCrossConfigForm.d.ts +8 -0
- package/dist/containers/OneRosterSystem/configs/constants.d.ts +1 -0
- package/dist/containers/OneRosterSystem/configs/types.d.ts +6 -0
- package/dist/containers/OneRosterSystem/hooks/userVeraCross.d.ts +9 -0
- package/dist/containers/OneRosterSystem/hooks/userVeraCrossConfigForm.d.ts +7 -0
- package/dist/containers/OneRosterSystem/views/VeracrossImport.d.ts +2 -0
- package/dist/containers/Training/hooks/useTrainingLink.d.ts +1 -0
- package/dist/index.js +361 -8
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +361 -8
- package/dist/index.modern.js.map +1 -1
- package/dist/services/oneRosterService.d.ts +3 -0
- package/dist/utils/color.d.ts +2 -0
- package/package.json +2 -2
|
@@ -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,10 @@
|
|
|
1
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
|
+
interface PropsType {
|
|
3
|
+
value: number | undefined | null;
|
|
4
|
+
onChange: (date: MaterialUiPickersDate | null, value?: string | null) => void;
|
|
5
|
+
label: string;
|
|
6
|
+
minDate?: number | undefined | null;
|
|
7
|
+
fontSizeInputSelect?: string | null;
|
|
8
|
+
}
|
|
9
|
+
declare const DatePickerField: ({ value, onChange, minDate, fontSizeInputSelect }: PropsType) => JSX.Element;
|
|
10
|
+
export default DatePickerField;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date";
|
|
2
|
+
interface PropsType {
|
|
3
|
+
startDate: number | undefined | null;
|
|
4
|
+
endDate: number | undefined | null;
|
|
5
|
+
onChangeStartDate: (date: MaterialUiPickersDate | null, value?: string | null) => void;
|
|
6
|
+
onChangeEndDate: (date: MaterialUiPickersDate | null, value?: string | null) => void;
|
|
7
|
+
fontSizeInputSelect?: string | null;
|
|
8
|
+
}
|
|
9
|
+
declare const FilterDateRange: ({ endDate, startDate, onChangeEndDate, onChangeStartDate, fontSizeInputSelect }: PropsType) => JSX.Element;
|
|
10
|
+
export default FilterDateRange;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface IOptionCalendar {
|
|
2
|
+
label: string;
|
|
3
|
+
startDate: number;
|
|
4
|
+
endDate: number;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
7
|
+
interface ICalendarSelect {
|
|
8
|
+
options: IOptionCalendar[];
|
|
9
|
+
value?: string;
|
|
10
|
+
onChange?: Function;
|
|
11
|
+
}
|
|
12
|
+
declare const CalendarSelect: ({ options, value, onChange }: ICalendarSelect) => JSX.Element;
|
|
13
|
+
export default CalendarSelect;
|
|
@@ -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, lowMetricStudents, metricDataMonths, metricDataWeeks, metricMonths, studentMetricPercent }: IConcernMetricTab) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IFilterComponent } from "../configs/types";
|
|
2
|
+
declare const DesktopFilterComponent: ({ gradeList, onChangeFilterGrade, fontSizeInputSelect, gradeFilter, endDate, startDate, student, onChangeStudent, studentData, academicYearList, valueAcademicYear, onChangeAcademicYear, onChangeEndDateChart, onChangeStartDateChart, optionDate, onChangeFilterCalendar, onClearFilter, onSaveFilter }: IFilterComponent) => JSX.Element;
|
|
3
|
+
export default DesktopFilterComponent;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface IExportChartPdfModal {
|
|
3
|
+
modal: boolean;
|
|
4
|
+
toggle: () => void;
|
|
5
|
+
selectedToPrint: string[];
|
|
6
|
+
handleSelectToPrint: (item: string) => void;
|
|
7
|
+
safetyData: any;
|
|
8
|
+
stressData: any;
|
|
9
|
+
monthsOneToOne: any;
|
|
10
|
+
dayOfWeekOneToOne: any;
|
|
11
|
+
studentPressure: any;
|
|
12
|
+
metricWeeks: any;
|
|
13
|
+
metricDataWeeks: any;
|
|
14
|
+
metricMonths: any;
|
|
15
|
+
metricDataMonths: any;
|
|
16
|
+
dataReadinessOfChart: any;
|
|
17
|
+
dataOverallReadyToLearn: any;
|
|
18
|
+
preparednessData: any;
|
|
19
|
+
preparednessWeeklyData: any;
|
|
20
|
+
weeksOneToOne: any;
|
|
21
|
+
avgQuestionLastMonth: any;
|
|
22
|
+
successIndicatorsData: any;
|
|
23
|
+
successIndicatorWeeklyData: any;
|
|
24
|
+
learningStrategies: any;
|
|
25
|
+
filter: any;
|
|
26
|
+
schoolName: any;
|
|
27
|
+
}
|
|
28
|
+
declare const ExportChartPdfModal: FC<IExportChartPdfModal>;
|
|
29
|
+
export default ExportChartPdfModal;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IGenerateDashboardChart } 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, hiddenKpi, kpiText, timeOfDay, weeklySeries, weeks, description, skillClass, kpiClassName, lowMetricStudents, studentMetricPercent }: IGenerateDashboardChart) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ILowMetricStudent } from "../configs/types";
|
|
2
|
+
interface IProps {
|
|
3
|
+
lowMetricStudents: ILowMetricStudent[];
|
|
4
|
+
openModel: boolean;
|
|
5
|
+
handleToggleModel: Function;
|
|
6
|
+
}
|
|
7
|
+
declare const MetricModelStudent: ({ lowMetricStudents, openModel, handleToggleModel }: IProps) => JSX.Element;
|
|
8
|
+
export default MetricModelStudent;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IFilterComponent } from "../configs/types";
|
|
2
|
+
declare const MobileFilterComponent: ({ gradeList, onChangeFilterGrade, fontSizeInputSelect, gradeFilter, endDate, startDate, student, onChangeStudent, studentData, academicYearList, valueAcademicYear, onChangeAcademicYear, onChangeEndDateChart, onChangeStartDateChart, onChangeFilterCalendar, optionDate, expandedFilter, onToggleChart }: IFilterComponent) => JSX.Element;
|
|
3
|
+
export default MobileFilterComponent;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IReadinessToLearnTab } from "../configs/types";
|
|
2
|
+
declare const ReadinessToLearnTab: ({ dataReadinessOfChart, handleHoverTooltip, classFontSize, dataOverallReadyToLearn, dayOfWeekOneToOne, monthsOneToOne, avgQuestionLastMonth, preparednessData, preparednessWeeklyData, weeksOneToOne }: IReadinessToLearnTab) => JSX.Element;
|
|
3
|
+
export default ReadinessToLearnTab;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ISuccessIndicatorTab } from "../configs/types";
|
|
2
|
+
declare const SuccessIndicatorTab: ({ successIndicatorsData, avgQuestionLastMonth, dayOfWeekOneToOne, monthsOneToOne, timeOfDay, classFontSize, handleHoverTooltip, successIndicatorWeeklyData, weeksOneToOne }: ISuccessIndicatorTab) => JSX.Element;
|
|
3
|
+
export default SuccessIndicatorTab;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VERA_CROSS_CONFIG } from "../configs/types";
|
|
2
|
+
declare const userVeraCross: () => {
|
|
3
|
+
veraCrossConfig: VERA_CROSS_CONFIG;
|
|
4
|
+
errorImportRest: string | null;
|
|
5
|
+
updateData: (values: any) => Promise<void>;
|
|
6
|
+
restApiInfo: object | undefined;
|
|
7
|
+
handleImportFromRestfulApi: () => Promise<void>;
|
|
8
|
+
};
|
|
9
|
+
export default userVeraCross;
|