mario-education 2.4.105-beta → 2.4.107-beta
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/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/LearningStrategy/hooks/useStrategyDetail.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/AgGridComponents.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/constants.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchAssistant.d.ts +18 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +18 -0
- package/dist/index.js +145 -26
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +146 -27
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/apiClient/index.d.ts +0 -7
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/SelectorTemplate.d.ts +0 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/TemplateDialogModal.d.ts +0 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/configs/types.d.ts +0 -12
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateBuilder.d.ts +0 -9
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateDetail.d.ts +0 -20
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateList.d.ts +0 -9
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateStart.d.ts +0 -9
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateBuilderPage.d.ts +0 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateContainer.d.ts +0 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateIEPList.d.ts +0 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateStartBuild.d.ts +0 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateSystemList.d.ts +0 -3
- /package/dist/MarioFramework.Education/ClientApp/src/utils/{serviceType.interface.d.ts → servicetype.interface.d.ts} +0 -0
|
@@ -8,4 +8,5 @@ export declare const renderQuestionText: (params: any) => JSX.Element;
|
|
|
8
8
|
export declare const renderActions: ({ params, edit, remove }: ActionProps) => JSX.Element;
|
|
9
9
|
export declare const renderCategory: (params: any) => JSX.Element;
|
|
10
10
|
export declare const renderType: (params: any) => JSX.Element;
|
|
11
|
+
export declare const renderUserQuestion: (params: any) => JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -24,6 +24,7 @@ declare type QuestionDetail = {
|
|
|
24
24
|
subQuestions: string[];
|
|
25
25
|
isBeforeSession: boolean;
|
|
26
26
|
isDefaultQuestionSurvey: boolean;
|
|
27
|
+
userForQuestion?: string;
|
|
27
28
|
};
|
|
28
29
|
declare const useQuestionDetail: (id?: number | undefined, type?: number | undefined) => {
|
|
29
30
|
questionDetail: QuestionDetail;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IOptions, IStudentAssistantItem } from "../utils/type.interface";
|
|
3
|
+
declare const useSwitchAssistant: () => {
|
|
4
|
+
userList: IStudentAssistantItem[];
|
|
5
|
+
totalItems: number;
|
|
6
|
+
filters: import("mario-core").Filter;
|
|
7
|
+
changeFilters: (updatedFilters: any) => void;
|
|
8
|
+
modal: import("react").MutableRefObject<any>;
|
|
9
|
+
userChoiced: IStudentAssistantItem;
|
|
10
|
+
options: IOptions[];
|
|
11
|
+
setAssistantChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
12
|
+
assistantChangeId: string;
|
|
13
|
+
removeData: (teacherUserId: string, studentId: number) => Promise<void>;
|
|
14
|
+
resetData: () => void;
|
|
15
|
+
choiceUser: (userChoiced: IStudentAssistantItem) => void;
|
|
16
|
+
onDeleteAssistant: (studentId: number) => Promise<void>;
|
|
17
|
+
};
|
|
18
|
+
export default useSwitchAssistant;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IOptions, IStudentCounselorItem } from "../utils/type.interface";
|
|
3
|
+
declare const useSwitchCounselor: () => {
|
|
4
|
+
userList: IStudentCounselorItem[];
|
|
5
|
+
totalItems: number;
|
|
6
|
+
filters: import("mario-core").Filter;
|
|
7
|
+
changeFilters: (updatedFilters: any) => void;
|
|
8
|
+
modal: import("react").MutableRefObject<any>;
|
|
9
|
+
userChoiced: IStudentCounselorItem;
|
|
10
|
+
options: IOptions[];
|
|
11
|
+
setCounselorChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
12
|
+
counselorChangeId: string;
|
|
13
|
+
removeData: (counselorId: string, studentId: number) => Promise<void>;
|
|
14
|
+
resetData: () => void;
|
|
15
|
+
choiceUser: (userChoiced: IStudentCounselorItem) => void;
|
|
16
|
+
onDeleteCounselor: (studentId: number) => Promise<void>;
|
|
17
|
+
};
|
|
18
|
+
export default useSwitchCounselor;
|
package/dist/index.js
CHANGED
|
@@ -19,9 +19,9 @@ var masterDetail = require('@ag-grid-enterprise/master-detail');
|
|
|
19
19
|
var clientSideRowModel = require('@ag-grid-community/client-side-row-model');
|
|
20
20
|
var fa = require('react-icons/fa');
|
|
21
21
|
var tinymceReact = require('@tinymce/tinymce-react');
|
|
22
|
+
var fi = require('react-icons/fi');
|
|
22
23
|
var Chart = _interopDefault(require('react-apexcharts'));
|
|
23
24
|
require('react-datepicker/dist/react-datepicker.css');
|
|
24
|
-
var fi = require('react-icons/fi');
|
|
25
25
|
var jsPDF = _interopDefault(require('jspdf'));
|
|
26
26
|
var html2canvas = _interopDefault(require('html2canvas'));
|
|
27
27
|
|
|
@@ -3001,7 +3001,8 @@ var StrategyDetailModal = function StrategyDetailModal(props, ref) {
|
|
|
3001
3001
|
handleChange = formProps.handleChange,
|
|
3002
3002
|
handleBlur = formProps.handleBlur,
|
|
3003
3003
|
handleSubmit = formProps.handleSubmit,
|
|
3004
|
-
resetForm = formProps.resetForm
|
|
3004
|
+
resetForm = formProps.resetForm,
|
|
3005
|
+
setFieldValue = formProps.setFieldValue;
|
|
3005
3006
|
return React__default.createElement(marioCore.CommonModal, {
|
|
3006
3007
|
header: header,
|
|
3007
3008
|
confirmText: confirmText,
|
|
@@ -3072,7 +3073,21 @@ var StrategyDetailModal = function StrategyDetailModal(props, ref) {
|
|
|
3072
3073
|
setEditedTrue();
|
|
3073
3074
|
},
|
|
3074
3075
|
onBlur: handleBlur("bestfit")
|
|
3075
|
-
}))
|
|
3076
|
+
})), React__default.createElement(reactstrap.Col, {
|
|
3077
|
+
md: 12,
|
|
3078
|
+
className: "mt-2"
|
|
3079
|
+
}, React__default.createElement(reactstrap.Form, null, React__default.createElement(reactstrap.FormGroup, {
|
|
3080
|
+
check: true,
|
|
3081
|
+
inline: true
|
|
3082
|
+
}, React__default.createElement(reactstrap.Input, {
|
|
3083
|
+
type: "checkbox",
|
|
3084
|
+
checked: values === null || values === void 0 ? void 0 : values.isOneToOneQuestion,
|
|
3085
|
+
onChange: function onChange() {
|
|
3086
|
+
return setFieldValue("isOneToOneQuestion", !(values !== null && values !== void 0 && values.isOneToOneQuestion));
|
|
3087
|
+
}
|
|
3088
|
+
}), React__default.createElement(reactstrap.Label, {
|
|
3089
|
+
check: true
|
|
3090
|
+
}, "One to one"))))));
|
|
3076
3091
|
});
|
|
3077
3092
|
};
|
|
3078
3093
|
|
|
@@ -3222,7 +3237,8 @@ var initValue$3 = {
|
|
|
3222
3237
|
name: "",
|
|
3223
3238
|
description: "",
|
|
3224
3239
|
bestfit: "",
|
|
3225
|
-
questionText: ""
|
|
3240
|
+
questionText: "",
|
|
3241
|
+
isOneToOneQuestion: false
|
|
3226
3242
|
};
|
|
3227
3243
|
|
|
3228
3244
|
var useStrategyDetail = function useStrategyDetail() {
|
|
@@ -12692,6 +12708,17 @@ var TYPE_QUESTION;
|
|
|
12692
12708
|
TYPE_QUESTION[TYPE_QUESTION["Survey"] = 4] = "Survey";
|
|
12693
12709
|
})(TYPE_QUESTION || (TYPE_QUESTION = {}));
|
|
12694
12710
|
|
|
12711
|
+
var userForQuestion = [{
|
|
12712
|
+
value: "TeacherAndStudent",
|
|
12713
|
+
label: "Teacher and student"
|
|
12714
|
+
}, {
|
|
12715
|
+
value: "Teacher",
|
|
12716
|
+
label: "Teacher"
|
|
12717
|
+
}, {
|
|
12718
|
+
value: "Student",
|
|
12719
|
+
label: "Student"
|
|
12720
|
+
}];
|
|
12721
|
+
|
|
12695
12722
|
var subgridStyle = {
|
|
12696
12723
|
overflowY: "auto",
|
|
12697
12724
|
overflowX: "hidden",
|
|
@@ -12814,12 +12841,19 @@ var renderCategory = function renderCategory(params) {
|
|
|
12814
12841
|
return React__default.createElement("div", null, params === null || params === void 0 ? void 0 : (_params$data8 = params.data) === null || _params$data8 === void 0 ? void 0 : (_params$data8$categor = _params$data8.category) === null || _params$data8$categor === void 0 ? void 0 : _params$data8$categor.name);
|
|
12815
12842
|
};
|
|
12816
12843
|
var renderType = function renderType(params) {
|
|
12844
|
+
var _params$data10;
|
|
12845
|
+
|
|
12817
12846
|
var type = marioCore.QUESTION_TYPES_OPTIONS.find(function (option) {
|
|
12818
12847
|
var _params$data9;
|
|
12819
12848
|
|
|
12820
12849
|
return option.value === (params === null || params === void 0 ? void 0 : (_params$data9 = params.data) === null || _params$data9 === void 0 ? void 0 : _params$data9.type);
|
|
12821
12850
|
});
|
|
12822
|
-
return type ? React__default.createElement("div", null, type.label) : React__default.createElement("div", null);
|
|
12851
|
+
return type ? React__default.createElement("div", null, type.label) : React__default.createElement("div", null, params === null || params === void 0 ? void 0 : (_params$data10 = params.data) === null || _params$data10 === void 0 ? void 0 : _params$data10.type);
|
|
12852
|
+
};
|
|
12853
|
+
var renderUserQuestion = function renderUserQuestion(params) {
|
|
12854
|
+
var _params$data11;
|
|
12855
|
+
|
|
12856
|
+
return React__default.createElement("div", null, params === null || params === void 0 ? void 0 : (_params$data11 = params.data) === null || _params$data11 === void 0 ? void 0 : _params$data11.userForQuestion);
|
|
12823
12857
|
};
|
|
12824
12858
|
|
|
12825
12859
|
var QUESTION_URL$1 = "/admin/question-bank";
|
|
@@ -12887,6 +12921,12 @@ var useQuestionList$1 = function useQuestionList(isDefaultQuestion, isDefaultCla
|
|
|
12887
12921
|
dispatch(marioCore.setLoading(true));
|
|
12888
12922
|
|
|
12889
12923
|
var _temp4 = _catch(function () {
|
|
12924
|
+
var filter = filters;
|
|
12925
|
+
|
|
12926
|
+
if (!!isDefaultClassReflection && !isDefaultQuestion) {
|
|
12927
|
+
delete filter.isDefaultQuestion;
|
|
12928
|
+
}
|
|
12929
|
+
|
|
12890
12930
|
return Promise.resolve(get$2(filters)).then(function (res) {
|
|
12891
12931
|
var _res$data = res.data,
|
|
12892
12932
|
items = _res$data.items,
|
|
@@ -12979,7 +13019,7 @@ var useQuestionList$1 = function useQuestionList(isDefaultQuestion, isDefaultCla
|
|
|
12979
13019
|
|
|
12980
13020
|
if (isDefaultQuestion && !isDefaultClassReflection) {
|
|
12981
13021
|
type = TYPE_QUESTION.OneToOne;
|
|
12982
|
-
} else if (
|
|
13022
|
+
} else if (isDefaultClassReflection) {
|
|
12983
13023
|
type = TYPE_QUESTION.ClassReflection;
|
|
12984
13024
|
} else if (isDefaultConference) {
|
|
12985
13025
|
type = TYPE_QUESTION.Conference;
|
|
@@ -13014,24 +13054,47 @@ var useQuestionList$1 = function useQuestionList(isDefaultQuestion, isDefaultCla
|
|
|
13014
13054
|
cellRendererFramework: function cellRendererFramework(params) {
|
|
13015
13055
|
return renderCategory(params);
|
|
13016
13056
|
}
|
|
13017
|
-
}, {
|
|
13018
|
-
width: 80,
|
|
13019
|
-
headerComponentParams: {
|
|
13020
|
-
template: "<div class=\"text-center w-100\">Actions</div>"
|
|
13021
|
-
},
|
|
13022
|
-
cellStyle: {
|
|
13023
|
-
textAlign: "center"
|
|
13024
|
-
},
|
|
13025
|
-
cellRendererFramework: function cellRendererFramework(params) {
|
|
13026
|
-
return renderActions({
|
|
13027
|
-
params: params,
|
|
13028
|
-
edit: goToDetail,
|
|
13029
|
-
remove: removeData
|
|
13030
|
-
});
|
|
13031
|
-
}
|
|
13032
13057
|
}];
|
|
13033
13058
|
var gridOptions = {
|
|
13034
|
-
columnDefs: isDefaultQuestion
|
|
13059
|
+
columnDefs: isDefaultQuestion && !isDefaultClassReflection ? [].concat(columnDefs, [{
|
|
13060
|
+
width: 80,
|
|
13061
|
+
headerComponentParams: {
|
|
13062
|
+
template: "<div class=\"text-center w-100\">Actions</div>"
|
|
13063
|
+
},
|
|
13064
|
+
cellStyle: {
|
|
13065
|
+
textAlign: "center"
|
|
13066
|
+
},
|
|
13067
|
+
cellRendererFramework: function cellRendererFramework(params) {
|
|
13068
|
+
return renderActions({
|
|
13069
|
+
params: params,
|
|
13070
|
+
edit: goToDetail,
|
|
13071
|
+
remove: removeData
|
|
13072
|
+
});
|
|
13073
|
+
}
|
|
13074
|
+
}, {
|
|
13075
|
+
headerName: "Order",
|
|
13076
|
+
rowDrag: true
|
|
13077
|
+
}]) : isDefaultClassReflection ? [].concat(columnDefs, [{
|
|
13078
|
+
headerName: "User for",
|
|
13079
|
+
cellRendererFramework: function cellRendererFramework(params) {
|
|
13080
|
+
return renderUserQuestion(params);
|
|
13081
|
+
}
|
|
13082
|
+
}, {
|
|
13083
|
+
width: 80,
|
|
13084
|
+
headerComponentParams: {
|
|
13085
|
+
template: "<div class=\"text-center w-100\">Actions</div>"
|
|
13086
|
+
},
|
|
13087
|
+
cellStyle: {
|
|
13088
|
+
textAlign: "center"
|
|
13089
|
+
},
|
|
13090
|
+
cellRendererFramework: function cellRendererFramework(params) {
|
|
13091
|
+
return renderActions({
|
|
13092
|
+
params: params,
|
|
13093
|
+
edit: goToDetail,
|
|
13094
|
+
remove: removeData
|
|
13095
|
+
});
|
|
13096
|
+
}
|
|
13097
|
+
}, {
|
|
13035
13098
|
headerName: "Order",
|
|
13036
13099
|
rowDrag: true
|
|
13037
13100
|
}]) : columnDefs,
|
|
@@ -14636,7 +14699,7 @@ var AdditionalComponent = function AdditionalComponent(_ref) {
|
|
|
14636
14699
|
numberOfStars: numberOfStars,
|
|
14637
14700
|
setFieldValue: setFieldValue
|
|
14638
14701
|
});
|
|
14639
|
-
if ([marioCore.QUESTION_TYPES.SINGLE_CHOICE, marioCore.QUESTION_TYPES.MULTIPLE_CHOICE, marioCore.QUESTION_TYPES.EMOTIONAL].includes(type)) return React__default.createElement(AnswerList, {
|
|
14702
|
+
if ([marioCore.QUESTION_TYPES.SINGLE_CHOICE, marioCore.QUESTION_TYPES.MULTIPLE_CHOICE, marioCore.QUESTION_TYPES.EMOTIONAL, marioCore.QUESTION_TYPES.DROPDOWN].includes(type)) return React__default.createElement(AnswerList, {
|
|
14640
14703
|
type: type,
|
|
14641
14704
|
answers: answers,
|
|
14642
14705
|
isSurvey: isSurvey,
|
|
@@ -14795,7 +14858,8 @@ var initValue$g = {
|
|
|
14795
14858
|
subQuestions: [],
|
|
14796
14859
|
isMandatory: false,
|
|
14797
14860
|
isBeforeSession: false,
|
|
14798
|
-
isDefaultQuestionSurvey: false
|
|
14861
|
+
isDefaultQuestionSurvey: false,
|
|
14862
|
+
userForQuestion: "TeacherAndStudent"
|
|
14799
14863
|
};
|
|
14800
14864
|
var TITLE$m = "Question detail";
|
|
14801
14865
|
|
|
@@ -14960,6 +15024,54 @@ var useQuestionDetail$1 = function useQuestionDetail(id, type) {
|
|
|
14960
15024
|
};
|
|
14961
15025
|
};
|
|
14962
15026
|
|
|
15027
|
+
var UserForQuestionSelect = function UserForQuestionSelect(_ref) {
|
|
15028
|
+
var _userForQuestion$find;
|
|
15029
|
+
|
|
15030
|
+
var value = _ref.value,
|
|
15031
|
+
_onChange = _ref.onChange;
|
|
15032
|
+
|
|
15033
|
+
var _useState = React.useState(false),
|
|
15034
|
+
isToggleModel = _useState[0],
|
|
15035
|
+
setIsToggleModel = _useState[1];
|
|
15036
|
+
|
|
15037
|
+
return React__default.createElement("div", null, React__default.createElement("div", {
|
|
15038
|
+
className: styles["block-filter-component"] + " "
|
|
15039
|
+
}, React__default.createElement("button", {
|
|
15040
|
+
onClick: function onClick() {
|
|
15041
|
+
return setIsToggleModel(!isToggleModel);
|
|
15042
|
+
},
|
|
15043
|
+
className: styles["btn-filter"] + " d-flex align-items-center cursor-pointer"
|
|
15044
|
+
}, React__default.createElement("p", {
|
|
15045
|
+
className: " my-0 mx-2"
|
|
15046
|
+
}, ((_userForQuestion$find = userForQuestion.find(function (r) {
|
|
15047
|
+
return r.value == value;
|
|
15048
|
+
})) === null || _userForQuestion$find === void 0 ? void 0 : _userForQuestion$find.label) || "Teacher and student"), !isToggleModel ? React__default.createElement(fi.FiChevronDown, null) : React__default.createElement(fi.FiChevronUp, null)), React__default.createElement("div", {
|
|
15049
|
+
className: styles["select-filter-component"] + " " + (!isToggleModel && "" + styles["hidden"])
|
|
15050
|
+
}, React__default.createElement(reactstrap.Form, {
|
|
15051
|
+
className: "" + styles["box-select"]
|
|
15052
|
+
}, userForQuestion.map(function (item) {
|
|
15053
|
+
return React__default.createElement(reactstrap.FormGroup, {
|
|
15054
|
+
check: true,
|
|
15055
|
+
className: "my-2 px-3",
|
|
15056
|
+
key: item.label
|
|
15057
|
+
}, React__default.createElement(reactstrap.Input, {
|
|
15058
|
+
id: item.label + "userForQuestion",
|
|
15059
|
+
name: "userForQuestion",
|
|
15060
|
+
value: item.value,
|
|
15061
|
+
type: "radio",
|
|
15062
|
+
className: "" + styles["radio-btn"],
|
|
15063
|
+
checked: value === item.value,
|
|
15064
|
+
onChange: function onChange() {
|
|
15065
|
+
return _onChange("userForQuestion", item.value);
|
|
15066
|
+
}
|
|
15067
|
+
}), React__default.createElement(reactstrap.Label, {
|
|
15068
|
+
check: true,
|
|
15069
|
+
"for": item.label + "userForQuestion",
|
|
15070
|
+
className: "" + styles["box-select-label"]
|
|
15071
|
+
}, React__default.createElement("p", null, item.label)));
|
|
15072
|
+
})))));
|
|
15073
|
+
};
|
|
15074
|
+
|
|
14963
15075
|
var CREATE_QUESTION_HEADER = "create_question";
|
|
14964
15076
|
var EDIT_QUESTION_HEADER = "edit_question";
|
|
14965
15077
|
var EMOTIONALS_LENGTH = marioCore.EMOTIONS.length;
|
|
@@ -15011,7 +15123,7 @@ var QuestionDetail = function QuestionDetail() {
|
|
|
15011
15123
|
handleSubmit = formikProps.handleSubmit;
|
|
15012
15124
|
|
|
15013
15125
|
var onChangeQuestionType = function onChangeQuestionType(e) {
|
|
15014
|
-
if (![marioCore.QUESTION_TYPES.EMOTIONAL, marioCore.QUESTION_TYPES.LEARNING_STRATEGY, marioCore.QUESTION_TYPES.RATING, marioCore.QUESTION_TYPES.SUMMARIZE, marioCore.QUESTION_TYPES.TEXT_INPUT].includes(e.value)) {
|
|
15126
|
+
if (![marioCore.QUESTION_TYPES.EMOTIONAL, marioCore.QUESTION_TYPES.LEARNING_STRATEGY, marioCore.QUESTION_TYPES.RATING, marioCore.QUESTION_TYPES.SUMMARIZE, marioCore.QUESTION_TYPES.TEXT_INPUT, marioCore.QUESTION_TYPES.DROPDOWN].includes(e.value)) {
|
|
15015
15127
|
setFieldValue("isDefaultQuestion", false);
|
|
15016
15128
|
}
|
|
15017
15129
|
|
|
@@ -15064,7 +15176,14 @@ var QuestionDetail = function QuestionDetail() {
|
|
|
15064
15176
|
value: values.categoryId
|
|
15065
15177
|
}), touched.categoryId && errors.categoryId && React__default.createElement(marioCore.ErrorHandler, {
|
|
15066
15178
|
text: errors.categoryId
|
|
15067
|
-
})))
|
|
15179
|
+
}))), parseInt(type) == TYPE_QUESTION.ClassReflection && React__default.createElement(reactstrap.Col, {
|
|
15180
|
+
md: 6
|
|
15181
|
+
}, React__default.createElement(marioCore.RequiredLabel, {
|
|
15182
|
+
text: t("user_for_question")
|
|
15183
|
+
}), React__default.createElement(UserForQuestionSelect, {
|
|
15184
|
+
onChange: setFieldValue,
|
|
15185
|
+
value: values.userForQuestion || ""
|
|
15186
|
+
}))), React__default.createElement(reactstrap.Row, {
|
|
15068
15187
|
className: "mb-2"
|
|
15069
15188
|
}, React__default.createElement(reactstrap.Col, {
|
|
15070
15189
|
md: 12,
|