mario-education 2.4.474-release → 2.4.475-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/index.js +5 -11
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -11
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -16686,13 +16686,6 @@ var QuestionDetail = function QuestionDetail() {
|
|
|
16686
16686
|
};
|
|
16687
16687
|
|
|
16688
16688
|
React.useEffect(function () {
|
|
16689
|
-
console.log({
|
|
16690
|
-
values: values
|
|
16691
|
-
});
|
|
16692
|
-
console.log({
|
|
16693
|
-
activeModelLanguage: activeModelLanguage
|
|
16694
|
-
});
|
|
16695
|
-
|
|
16696
16689
|
if (!id && !!activeModelLanguage && activeModelLanguage.lang == values.lang && JSON.stringify(activeModelLanguage) !== JSON.stringify(values)) {
|
|
16697
16690
|
var categoryId = values.categoryId != 0 ? values.categoryId : questionDetail.categoryId;
|
|
16698
16691
|
var updatedModelQuestionLang = modelQuestionLang.map(function (item) {
|
|
@@ -16758,7 +16751,7 @@ var QuestionDetail = function QuestionDetail() {
|
|
|
16758
16751
|
className: styles["form-question-text"] + " mb-2"
|
|
16759
16752
|
}, React__default.createElement(marioCore.RequiredLabel, {
|
|
16760
16753
|
text: t("question_text")
|
|
16761
|
-
}),
|
|
16754
|
+
}), !!tinyMCEKey && React__default.createElement(tinymceReact.Editor, {
|
|
16762
16755
|
apiKey: tinyMCEKey || TINY_MCE_API_KEY,
|
|
16763
16756
|
value: values.text,
|
|
16764
16757
|
init: _extends({}, marioCore.editorConfig.question, {
|
|
@@ -19941,7 +19934,8 @@ var QuestionCateList = function QuestionCateList(_ref) {
|
|
|
19941
19934
|
}), React__default.createElement("div", {
|
|
19942
19935
|
className: styles$1['list-survey-category'],
|
|
19943
19936
|
style: {
|
|
19944
|
-
maxHeight: maxHeight
|
|
19937
|
+
maxHeight: maxHeight,
|
|
19938
|
+
minHeight: '400px'
|
|
19945
19939
|
}
|
|
19946
19940
|
}, categories && categories.length > 0 ? categories.map(function (cate) {
|
|
19947
19941
|
var _cate$numberOfQuestio;
|
|
@@ -75004,7 +74998,7 @@ var Footer = function Footer(_ref) {
|
|
|
75004
74998
|
className: "" + styles$c["privacy-policy-left"]
|
|
75005
74999
|
}, React__default.createElement(core$1.Typography, {
|
|
75006
75000
|
className: "" + styles$c["all-rights-reserved"]
|
|
75007
|
-
}, "\xA9 2019-2023 MARIO
|
|
75001
|
+
}, "\xA9 2019-2023 MARIO Education, LLC, All Rights Reserved"), React__default.createElement(core$1.Typography, {
|
|
75008
75002
|
className: "" + styles$c["policy-link"]
|
|
75009
75003
|
}, "Privacy Policy")), !isStudent && React__default.createElement(core$1.Grid, {
|
|
75010
75004
|
className: "" + styles$c["privacy-policy-right"]
|
|
@@ -75969,7 +75963,7 @@ var SurveyQuestion = function SurveyQuestion() {
|
|
|
75969
75963
|
className: stylesDetail['survey-question-detail-tiny-editor']
|
|
75970
75964
|
}, React__default.createElement(marioCore.RequiredLabel, {
|
|
75971
75965
|
text: t("question_text")
|
|
75972
|
-
}),
|
|
75966
|
+
}), !!tinyMCEKey && React__default.createElement(tinymceReact.Editor, {
|
|
75973
75967
|
apiKey: tinyMCEKey || TINY_MCE_API_KEY,
|
|
75974
75968
|
value: values.text,
|
|
75975
75969
|
init: _extends({}, marioCore.editorConfig.question, {
|