@gamelearn/arcade-components 2.12.11 → 2.12.13
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.
|
@@ -93,7 +93,7 @@ var FeedbackComponent = function FeedbackComponent(_ref) {
|
|
|
93
93
|
return 'icon-error-circle-black';
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
keyboardControl(null, text && functionOnClose && explain
|
|
96
|
+
keyboardControl(null, text && functionOnClose && explain ? functionOnClose : null, text && functionOnClose && explain || functionOnClose && shortText ? functionOnClose : null);
|
|
97
97
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
98
98
|
className: "feedback-layer ".concat(explain ? 'feedback-layer--withexplain' : '')
|
|
99
99
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
package/dist/components/image-click-wrapper-component/components/ImageClickWrapperComponent.js
CHANGED
|
@@ -398,6 +398,10 @@ var ImageClickWrapperComponent = function ImageClickWrapperComponent(props) {
|
|
|
398
398
|
if (hasClickOrder && area.index === clickedZones.length || !hasClickOrder) {
|
|
399
399
|
var _specificFeedbacks$co2;
|
|
400
400
|
|
|
401
|
+
if (timer) {
|
|
402
|
+
pauseTheCounter();
|
|
403
|
+
}
|
|
404
|
+
|
|
401
405
|
handleClick();
|
|
402
406
|
|
|
403
407
|
if (specificFeedbacks !== null && specificFeedbacks !== void 0 && (_specificFeedbacks$co2 = specificFeedbacks.correctFeedbacks) !== null && _specificFeedbacks$co2 !== void 0 && _specificFeedbacks$co2.length) {
|
|
@@ -94,7 +94,8 @@ var Visor = function Visor(_ref) {
|
|
|
94
94
|
translate: translate,
|
|
95
95
|
soundActions: soundActions,
|
|
96
96
|
emitNumberOfPages: function emitNumberOfPages() {},
|
|
97
|
-
endPdf: function endPdf() {}
|
|
97
|
+
endPdf: function endPdf() {},
|
|
98
|
+
keyboardControl: keyboardControl
|
|
98
99
|
})
|
|
99
100
|
},
|
|
100
101
|
application: {
|
|
@@ -104,6 +105,7 @@ var Visor = function Visor(_ref) {
|
|
|
104
105
|
translate: translate,
|
|
105
106
|
soundActions: soundActions,
|
|
106
107
|
emitNumberOfPages: function emitNumberOfPages() {},
|
|
108
|
+
keyboardControl: keyboardControl,
|
|
107
109
|
endPdf: function endPdf() {}
|
|
108
110
|
})
|
|
109
111
|
}
|