mario-education 2.4.272-release → 2.4.273-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 CHANGED
@@ -15372,7 +15372,18 @@ var QuestionDetail = function QuestionDetail() {
15372
15372
  }, React__default.createElement(reactstrap.Row, null, React__default.createElement(reactstrap.Col, {
15373
15373
  md: 12,
15374
15374
  className: "mb-1"
15375
- }, React__default.createElement(reactstrap.Row, null, [marioCore.QUESTION_TYPES.EMOTIONAL, marioCore.QUESTION_TYPES.LEARNING_STRATEGY, marioCore.QUESTION_TYPES.RATING, marioCore.QUESTION_TYPES.SUMMARIZE, marioCore.QUESTION_TYPES.TEXT_INPUT].includes(values.type) && parseInt(type) == TYPE_QUESTION.OneToOne && React__default.createElement(reactstrap.Col, {
15375
+ }, React__default.createElement(reactstrap.Row, null, parseInt(type) == TYPE_QUESTION.Default && React__default.createElement(reactstrap.Col, {
15376
+ md: 12
15377
+ }, React__default.createElement(reactstrap.CustomInput, {
15378
+ type: "checkbox",
15379
+ id: "question-default-before-session-checkbox",
15380
+ label: t("Is Mandatory"),
15381
+ checked: values.isMandatory,
15382
+ onChange: function onChange() {
15383
+ setFieldValue("isMandatory", !values.isMandatory);
15384
+ setEditedTrue();
15385
+ }
15386
+ })), [marioCore.QUESTION_TYPES.EMOTIONAL, marioCore.QUESTION_TYPES.LEARNING_STRATEGY, marioCore.QUESTION_TYPES.RATING, marioCore.QUESTION_TYPES.SUMMARIZE, marioCore.QUESTION_TYPES.TEXT_INPUT].includes(values.type) && parseInt(type) == TYPE_QUESTION.OneToOne && React__default.createElement(reactstrap.Col, {
15376
15387
  md: 12
15377
15388
  }, React__default.createElement(reactstrap.CustomInput, {
15378
15389
  type: "checkbox",