mario-education 2.4.581-feedback → 2.4.583-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.
- package/dist/components/Loading/LoadLanguage.d.ts +3 -0
- package/dist/index.css +15053 -15053
- package/dist/index.js +47 -17
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +47 -17
- package/dist/index.modern.js.map +1 -1
- package/package.json +110 -110
package/dist/index.js
CHANGED
|
@@ -33270,7 +33270,9 @@ var SimpleDialog = function SimpleDialog(_ref) {
|
|
|
33270
33270
|
fullScreen: fullScreen,
|
|
33271
33271
|
open: !!open,
|
|
33272
33272
|
maxWidth: maxWidth,
|
|
33273
|
-
scroll: scroll
|
|
33273
|
+
scroll: scroll,
|
|
33274
|
+
disableEnforceFocus: true,
|
|
33275
|
+
disableRestoreFocus: true
|
|
33274
33276
|
}, React__default.createElement("div", {
|
|
33275
33277
|
className: styles$6["dialog-body"] + " " + (fullScreen ? "" + styles$6["dialog-body--full"] : "") + " " + styles$6[bodyClass]
|
|
33276
33278
|
}, React__default.createElement("span", {
|
|
@@ -52809,7 +52811,9 @@ var ConfirmDelete = function ConfirmDelete(_ref) {
|
|
|
52809
52811
|
|
|
52810
52812
|
return React__default.createElement(core$1.Dialog, {
|
|
52811
52813
|
open: open,
|
|
52812
|
-
onClose: handleCloseModalConfirmDelete
|
|
52814
|
+
onClose: handleCloseModalConfirmDelete,
|
|
52815
|
+
disableEnforceFocus: true,
|
|
52816
|
+
disableRestoreFocus: true
|
|
52813
52817
|
}, React__default.createElement(core$1.DialogTitle, null, React__default.createElement("p", {
|
|
52814
52818
|
style: {
|
|
52815
52819
|
fontSize: "18px",
|
|
@@ -52851,7 +52855,9 @@ var ModelLinkSurvey = function ModelLinkSurvey(_ref) {
|
|
|
52851
52855
|
open: open,
|
|
52852
52856
|
onClose: function onClose() {
|
|
52853
52857
|
return _onClose();
|
|
52854
|
-
}
|
|
52858
|
+
},
|
|
52859
|
+
disableEnforceFocus: true,
|
|
52860
|
+
disableRestoreFocus: true
|
|
52855
52861
|
}, React__default.createElement(core$1.DialogTitle, null, t('anonymous_link')), React__default.createElement(core$1.Grid, {
|
|
52856
52862
|
className: "" + styles$a["model-link-survey"]
|
|
52857
52863
|
}, React__default.createElement(core$1.TextField, {
|
|
@@ -54792,9 +54798,11 @@ var useListQuestionSurvey = function useListQuestionSurvey() {
|
|
|
54792
54798
|
});
|
|
54793
54799
|
});
|
|
54794
54800
|
|
|
54795
|
-
if (cate.length) {
|
|
54796
|
-
setCategories(cate)
|
|
54797
|
-
|
|
54801
|
+
if (!!cate.length) {
|
|
54802
|
+
setCategories(cate.filter(function (c) {
|
|
54803
|
+
return c !== null && c !== '' && c !== undefined;
|
|
54804
|
+
}));
|
|
54805
|
+
setCategoryChose((cate === null || cate === void 0 ? void 0 : cate[0]) || '');
|
|
54798
54806
|
}
|
|
54799
54807
|
});
|
|
54800
54808
|
}, function (err) {
|
|
@@ -65801,7 +65809,9 @@ var InterventionDialog = function InterventionDialog(props) {
|
|
|
65801
65809
|
maxWidth: "md",
|
|
65802
65810
|
scroll: "body",
|
|
65803
65811
|
fullWidth: true,
|
|
65804
|
-
className: "" + styles$b["intervention-dialog"]
|
|
65812
|
+
className: "" + styles$b["intervention-dialog"],
|
|
65813
|
+
disableEnforceFocus: true,
|
|
65814
|
+
disableRestoreFocus: true
|
|
65805
65815
|
}, React__default.createElement(core$1.DialogTitle, {
|
|
65806
65816
|
className: "" + styles$b["intervention-dialog__header"]
|
|
65807
65817
|
}, React__default.createElement("div", {
|
|
@@ -66318,7 +66328,9 @@ var SurveyIndexAdmin = function SurveyIndexAdmin() {
|
|
|
66318
66328
|
})))), React__default.createElement(core$1.Dialog, {
|
|
66319
66329
|
open: openModalSession,
|
|
66320
66330
|
onClose: handleModalSessionClose,
|
|
66321
|
-
className: styles$b["modal-finished"]
|
|
66331
|
+
className: styles$b["modal-finished"],
|
|
66332
|
+
disableEnforceFocus: true,
|
|
66333
|
+
disableRestoreFocus: true
|
|
66322
66334
|
}, React__default.createElement(core$1.DialogTitle, {
|
|
66323
66335
|
id: "alert-dialog-title",
|
|
66324
66336
|
className: styles$b["title-modal"]
|
|
@@ -67322,7 +67334,9 @@ var ShareSurveyDialog = function ShareSurveyDialog(_ref) {
|
|
|
67322
67334
|
onClose: function onClose() {
|
|
67323
67335
|
return handleClose();
|
|
67324
67336
|
},
|
|
67325
|
-
className: "" + styles$b["dialog-share-survey"]
|
|
67337
|
+
className: "" + styles$b["dialog-share-survey"],
|
|
67338
|
+
disableEnforceFocus: true,
|
|
67339
|
+
disableRestoreFocus: true
|
|
67326
67340
|
}, React__default.createElement(core$1.Typography, {
|
|
67327
67341
|
className: "" + styles$b["dialog-title"]
|
|
67328
67342
|
}, "Share Survey"), React__default.createElement(core$1.DialogContent, null, React__default.createElement(core$1.Grid, {
|
|
@@ -69475,7 +69489,9 @@ var ModelSelectQuestion = function ModelSelectQuestion(_ref) {
|
|
|
69475
69489
|
return handleClose();
|
|
69476
69490
|
},
|
|
69477
69491
|
"aria-labelledby": "simple-dialog-question",
|
|
69478
|
-
key: template === null || template === void 0 ? void 0 : template.id
|
|
69492
|
+
key: template === null || template === void 0 ? void 0 : template.id,
|
|
69493
|
+
disableEnforceFocus: true,
|
|
69494
|
+
disableRestoreFocus: true
|
|
69479
69495
|
}, React__default.createElement(core$1.DialogTitle, {
|
|
69480
69496
|
id: "simple-dialog-question"
|
|
69481
69497
|
}, React__default.createElement(core$1.Grid, {
|
|
@@ -69586,7 +69602,9 @@ var ModelSelectSurveyTemplate = function ModelSelectSurveyTemplate(_ref) {
|
|
|
69586
69602
|
return handleClose();
|
|
69587
69603
|
},
|
|
69588
69604
|
"aria-labelledby": "simple-dialog-title",
|
|
69589
|
-
open: open
|
|
69605
|
+
open: open,
|
|
69606
|
+
disableEnforceFocus: true,
|
|
69607
|
+
disableRestoreFocus: true
|
|
69590
69608
|
}, React__default.createElement(core$1.DialogTitle, {
|
|
69591
69609
|
id: "simple-dialog-title"
|
|
69592
69610
|
}, React__default.createElement(core$1.Grid, {
|
|
@@ -69776,7 +69794,9 @@ var AdditionalQuestionModel = function AdditionalQuestionModel(_ref) {
|
|
|
69776
69794
|
onClose: function onClose() {
|
|
69777
69795
|
return _onClose();
|
|
69778
69796
|
},
|
|
69779
|
-
className: "" + styles$a[classFontSize]
|
|
69797
|
+
className: "" + styles$a[classFontSize],
|
|
69798
|
+
disableEnforceFocus: true,
|
|
69799
|
+
disableRestoreFocus: true
|
|
69780
69800
|
}, React__default.createElement(core$1.DialogTitle, {
|
|
69781
69801
|
className: "" + styles$a["box-additional-title"]
|
|
69782
69802
|
}, additionalQuestionForm.id ? t("edit_question") : t("create_question")), React__default.createElement(core$1.DialogContent, null, React__default.createElement(core$1.Grid, {
|
|
@@ -70467,7 +70487,9 @@ var ModelSendSurvey = function ModelSendSurvey(_ref) {
|
|
|
70467
70487
|
onClose: function onClose() {
|
|
70468
70488
|
return handleClose();
|
|
70469
70489
|
},
|
|
70470
|
-
className: styles$a["model-confirm-publish"] + " " + styles$a[classFontSize]
|
|
70490
|
+
className: styles$a["model-confirm-publish"] + " " + styles$a[classFontSize],
|
|
70491
|
+
disableEnforceFocus: true,
|
|
70492
|
+
disableRestoreFocus: true
|
|
70471
70493
|
}, React__default.createElement(core$1.DialogTitle, null, React__default.createElement(core$1.Typography, {
|
|
70472
70494
|
className: "" + styles$a["dialog-title"]
|
|
70473
70495
|
}, t("share_survey_to_teacher"))), React__default.createElement(core$1.DialogContent, null, React__default.createElement(core$1.Grid, {
|
|
@@ -70613,7 +70635,9 @@ var ConfirmPublishSurvey = function ConfirmPublishSurvey(_ref) {
|
|
|
70613
70635
|
onClose: function onClose() {
|
|
70614
70636
|
return handleClose();
|
|
70615
70637
|
},
|
|
70616
|
-
className: styles$a["model-confirm-publish"] + " " + styles$a[classFontSize]
|
|
70638
|
+
className: styles$a["model-confirm-publish"] + " " + styles$a[classFontSize],
|
|
70639
|
+
disableEnforceFocus: true,
|
|
70640
|
+
disableRestoreFocus: true
|
|
70617
70641
|
}, React__default.createElement(core$1.DialogTitle, null, React__default.createElement(core$1.Typography, {
|
|
70618
70642
|
className: "" + styles$a["dialog-title"]
|
|
70619
70643
|
}, t("complete_survey"))), React__default.createElement(core$1.DialogContent, null, React__default.createElement(core$1.Typography, {
|
|
@@ -70651,7 +70675,9 @@ var ConfirmShareSurvey = function ConfirmShareSurvey(_ref) {
|
|
|
70651
70675
|
onClose: function onClose() {
|
|
70652
70676
|
return handleClose();
|
|
70653
70677
|
},
|
|
70654
|
-
className: styles$a["model-confirm-publish"] + " " + styles$a[classFontSize]
|
|
70678
|
+
className: styles$a["model-confirm-publish"] + " " + styles$a[classFontSize],
|
|
70679
|
+
disableEnforceFocus: true,
|
|
70680
|
+
disableRestoreFocus: true
|
|
70655
70681
|
}, React__default.createElement(core$1.DialogContent, null, React__default.createElement(core$1.Typography, {
|
|
70656
70682
|
className: styles$a["content-confirm-model"] + " " + styles$a["content-confirm-share-model"]
|
|
70657
70683
|
}, t("your_survey_was_sent_to_x_students_and_y_staff_members_you_can_keep_track_of_the_results_on_our_survey_dashboard", {
|
|
@@ -74390,7 +74416,9 @@ var SimpleDialog$1 = function SimpleDialog(_ref) {
|
|
|
74390
74416
|
fullScreen: fullScreen,
|
|
74391
74417
|
open: !!open,
|
|
74392
74418
|
maxWidth: maxWidth,
|
|
74393
|
-
scroll: scroll
|
|
74419
|
+
scroll: scroll,
|
|
74420
|
+
disableEnforceFocus: true,
|
|
74421
|
+
disableRestoreFocus: true
|
|
74394
74422
|
}, React__default.createElement("div", {
|
|
74395
74423
|
className: styles$d["dialog-body"] + " " + (fullScreen ? "" + styles$d["dialog-body--full"] : "") + " " + styles$d[bodyClass]
|
|
74396
74424
|
}, React__default.createElement("span", {
|
|
@@ -77050,7 +77078,9 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
|
77050
77078
|
className: "" + styles$4["model-switch-roles"],
|
|
77051
77079
|
classes: {
|
|
77052
77080
|
paper: classes.paper
|
|
77053
|
-
}
|
|
77081
|
+
},
|
|
77082
|
+
disableEnforceFocus: true,
|
|
77083
|
+
disableRestoreFocus: true
|
|
77054
77084
|
}, React__default.createElement("button", {
|
|
77055
77085
|
type: "button",
|
|
77056
77086
|
className: styles$4["btn-close"],
|