mario-education 2.4.286-release → 2.4.287-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.
|
@@ -6,7 +6,7 @@ export declare const average: (arr: number[]) => number;
|
|
|
6
6
|
export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
|
|
7
7
|
export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined) => ApexOptions;
|
|
8
8
|
export declare const learningStrategyChartOptions: (labelNames: any, usageCountList: number[], isMobileScreen: boolean) => ApexOptions;
|
|
9
|
-
export declare const readinesToLearnoptions: (seriesName: string[], redirectStudentOverview?: Function | undefined, isStudent?: boolean | undefined, colors?: string[] | undefined, isStudentResponses?: boolean | undefined
|
|
9
|
+
export declare const readinesToLearnoptions: (seriesName: string[], data: any, redirectStudentOverview?: Function | undefined, isStudent?: boolean | undefined, colors?: string[] | undefined, isStudentResponses?: boolean | undefined) => ApexOptions;
|
|
10
10
|
export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[], chartWidth: number, isStudentResponses?: boolean | undefined) => {
|
|
11
11
|
name: string;
|
|
12
12
|
data: import("react").ReactText[][];
|
package/dist/index.js
CHANGED
|
@@ -48811,7 +48811,7 @@ var overallDonutCHartOptions$1 = function overallDonutCHartOptions(labelNames, c
|
|
|
48811
48811
|
}
|
|
48812
48812
|
};
|
|
48813
48813
|
};
|
|
48814
|
-
var readinesToLearnoptions$1 = function readinesToLearnoptions(seriesName, redirectStudentOverview, isStudent, colors, isStudentResponses
|
|
48814
|
+
var readinesToLearnoptions$1 = function readinesToLearnoptions(seriesName, data, redirectStudentOverview, isStudent, colors, isStudentResponses) {
|
|
48815
48815
|
var configToolTip = {
|
|
48816
48816
|
enabled: true,
|
|
48817
48817
|
x: {
|
|
@@ -49473,7 +49473,7 @@ var BubbleChartCustom$2 = function BubbleChartCustom(_ref) {
|
|
|
49473
49473
|
!!isPlp && history.push("/student-detail/overview/" + studentId);
|
|
49474
49474
|
};
|
|
49475
49475
|
|
|
49476
|
-
if (!data) return React__default.createElement("div", {
|
|
49476
|
+
if (!data || Array.isArray(data) && data.length == 0) return React__default.createElement("div", {
|
|
49477
49477
|
className: "flex justify-content-center align-items-center",
|
|
49478
49478
|
style: {
|
|
49479
49479
|
height: 250
|
|
@@ -49520,7 +49520,7 @@ var BubbleChartCustom$2 = function BubbleChartCustom(_ref) {
|
|
|
49520
49520
|
ref: chartRef,
|
|
49521
49521
|
id: "chart_survey_bubble_custom"
|
|
49522
49522
|
}, React__default.createElement(Chart, {
|
|
49523
|
-
options: readinesToLearnoptions$1(seriesName, redirectStudentOverview, isStudent, colors, isStudentResponses
|
|
49523
|
+
options: readinesToLearnoptions$1(seriesName, data, redirectStudentOverview, isStudent, colors, isStudentResponses),
|
|
49524
49524
|
type: "scatter",
|
|
49525
49525
|
series: convertDataToSeriesBullderChart$1(data, chartWidth, isStudentResponses),
|
|
49526
49526
|
width: "100%",
|