@coorpacademy/app-review 0.22.6-alpha.24 → 0.22.7
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/es/views/slides/index.js +15 -13
- package/lib/views/slides/index.js +15 -13
- package/package.json +4 -4
package/es/views/slides/index.js
CHANGED
|
@@ -363,19 +363,21 @@ export const mapStateToSlidesProps = (state, dispatch, options) => {
|
|
|
363
363
|
steps: buildStepItems(state),
|
|
364
364
|
hiddenSteps: showCongrats
|
|
365
365
|
},
|
|
366
|
-
stack:
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
366
|
+
stack: state.data.progression
|
|
367
|
+
? {
|
|
368
|
+
slides: buildStackSlides(state, dispatch, options),
|
|
369
|
+
validateButton: {
|
|
370
|
+
label: translate('Validate'),
|
|
371
|
+
disabled: !get(['ui', 'slide', currentSlideRef, 'validateButton'], state),
|
|
372
|
+
onClick: () => {
|
|
373
|
+
dispatch(postAnswer);
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
correctionPopinProps: correction &&
|
|
377
|
+
getCorrectionPopinProps(dispatch)(isCorrect, correction.correctAnswer, klf, translate, endReview),
|
|
378
|
+
endReview: endReview && state.ui.showCongrats
|
|
379
|
+
}
|
|
380
|
+
: null,
|
|
379
381
|
backgroundImage,
|
|
380
382
|
congrats: buildCongratsProps(state, dispatch, options),
|
|
381
383
|
quitPopin: showQuitPopin
|
|
@@ -370,19 +370,21 @@ const mapStateToSlidesProps = (state, dispatch, options) => {
|
|
|
370
370
|
steps: (0, exports.buildStepItems)(state),
|
|
371
371
|
hiddenSteps: showCongrats
|
|
372
372
|
},
|
|
373
|
-
stack:
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
373
|
+
stack: state.data.progression
|
|
374
|
+
? {
|
|
375
|
+
slides: buildStackSlides(state, dispatch, options),
|
|
376
|
+
validateButton: {
|
|
377
|
+
label: translate('Validate'),
|
|
378
|
+
disabled: !(0, get_1.default)(['ui', 'slide', currentSlideRef, 'validateButton'], state),
|
|
379
|
+
onClick: () => {
|
|
380
|
+
dispatch(post_answer_1.postAnswer);
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
correctionPopinProps: correction &&
|
|
384
|
+
getCorrectionPopinProps(dispatch)(isCorrect, correction.correctAnswer, klf, translate, endReview),
|
|
385
|
+
endReview: endReview && state.ui.showCongrats
|
|
386
|
+
}
|
|
387
|
+
: null,
|
|
386
388
|
backgroundImage,
|
|
387
389
|
congrats: buildCongratsProps(state, dispatch, options),
|
|
388
390
|
quitPopin: showQuitPopin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/app-review",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.15.0"
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"main": "lib/index.js",
|
|
36
36
|
"module": "es/index.js",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@coorpacademy/components": "11.11.
|
|
38
|
+
"@coorpacademy/components": "11.11.7",
|
|
39
39
|
"@coorpacademy/progression-engine": "11.5.3",
|
|
40
40
|
"@coorpacademy/redux-task": "1.1.6",
|
|
41
41
|
"@coorpacademy/review-services": "1.4.1",
|
|
42
|
-
"@coorpacademy/review-services-mocks": "1.5.
|
|
42
|
+
"@coorpacademy/review-services-mocks": "1.5.7",
|
|
43
43
|
"@coorpacademy/translate": "6.2.0",
|
|
44
44
|
"cross-fetch": "^3.1.5",
|
|
45
45
|
"jwt-decode": "^3.1.2",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"webpack-cli": "^4.10.0",
|
|
75
75
|
"webpack-dev-server": "^4.11.1"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "e75568680e92f5df0a6613ea1c45812e31f904e0"
|
|
78
78
|
}
|