@gamelearn/arcade-components 0.24.0 → 0.24.2
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/arcade-render/mocks/index.js +20 -2
- package/dist/components/auto-evaluation-component/mocks/mockForStory.js +3 -12
- package/dist/components/cards-selector-puzzle-component/mocks/mockForStory.js +13 -17
- package/dist/components/chained-image-click-puzzle-component/mocks/mockForStory.js +7 -18
- package/dist/components/comic-component/mocks/mockForStory.js +6 -0
- package/dist/components/conversational-pro-component/mocks/mockForStory.js +21 -0
- package/dist/components/cracker-puzzle-component/mocks/mockForStory.js +16 -19
- package/dist/components/decision-component/mocks/mockForStory.js +10 -70
- package/dist/components/dialog-component/mocks/mockForStory.js +294 -6
- package/dist/components/drag-item-puzzle-component/mocks/mockForStory.js +3 -12
- package/dist/components/feedback-component/mocks/mockForStory.js +11 -16
- package/dist/components/frame-click-puzzle-component/mocks/mockForStory.js +10 -17
- package/dist/components/hacker-puzzle-component/mocks/mockForStory.js +10 -15
- package/dist/components/hanged-puzzle-component/mocks/mockForStory.js +16 -17
- package/dist/components/image-click-puzzle-component/mocks/mockForStory.js +13 -20
- package/dist/components/image-click-wrapper-component/mocks/mockForStory.js +14 -28
- package/dist/components/image-component/mocks/mockForStory.js +7 -15
- package/dist/components/inventory-item/mocks/mockForStory.js +6 -4
- package/dist/components/keyboard-puzzle-component/mocks/mockForStory.js +4 -11
- package/dist/components/lectures-component/mocks/mockForStory.js +3 -11
- package/dist/components/login-puzzle-component/mocks/mockForStory.js +4 -11
- package/dist/components/notice-component/mocks/mockForStory.js +3 -5
- package/dist/components/pattern-component/mocks/mockForStory.js +5 -5
- package/dist/components/pdf-component/mocks/mockForProps.js +5 -11
- package/dist/components/rewards-component/mocks/mockForStory.js +11 -76
- package/dist/components/survey-component/mocks/mockForStory.js +3 -12
- package/dist/components/terminal-puzzle-component/components/TerminalPuzzleComponent.js +3 -1
- package/dist/components/terminal-puzzle-component/mocks/mockForStory.js +10 -14
- package/dist/components/test-component/mocks/mockForStory.js +5 -72
- package/dist/components/text-click-puzzle-component/mocks/mockForStory.js +7 -18
- package/dist/components/url-component/mocks/mockForProps.js +19 -1
- package/dist/components/video-component/mocks/mockForStory.js +13 -9
- package/dist/components/video-visor/mocks/mockForStory.js +13 -4
- package/dist/components/web-builder-puzzle-component/mocks/mockForStory.js +4 -9
- package/dist/components/writer-puzzle-component/components/WriterPuzzleComponent.js +4 -4
- package/dist/components/writer-puzzle-component/mocks/mockForStory.js +28 -48
- package/dist/helpers/mocker.js +121 -0
- package/package.json +4 -2
|
@@ -3,10 +3,28 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.character = exports.taxi = exports.avocado = void 0;
|
|
6
|
+
exports.light = exports.character = exports.taxi = exports.avocado = void 0;
|
|
7
7
|
var avocado = 'https://min.int.gamelearn.io/statics/gat/objects/avocado/Avocado.glb';
|
|
8
8
|
exports.avocado = avocado;
|
|
9
9
|
var taxi = 'https://min.int.gamelearn.io/cooked.gl-lms-storage/clients/5981fca94d82290bcbe957fe/object/5e53b649ef1f60000fb9cc1c/draco_pr0065_car_004.glb';
|
|
10
10
|
exports.taxi = taxi;
|
|
11
11
|
var character = 'https://min.gamelearn.io/cooked.gl-lms-storage/clients/5981fca94d82290bcbe957fe/character/5fe33236fffcf50011e04687/character.glb';
|
|
12
|
-
exports.character = character;
|
|
12
|
+
exports.character = character;
|
|
13
|
+
var light = {
|
|
14
|
+
name: 'HemisphereLight_21',
|
|
15
|
+
type: 'HemisphereLight',
|
|
16
|
+
position: [0, 0, 500],
|
|
17
|
+
rotation: [0, 0, 0, 'XYZ'],
|
|
18
|
+
scale: [1, 1, 1],
|
|
19
|
+
visible: true,
|
|
20
|
+
material: {},
|
|
21
|
+
color: 11336447,
|
|
22
|
+
groundColor: 6122131,
|
|
23
|
+
intensity: 3,
|
|
24
|
+
userData: {
|
|
25
|
+
type: 'INSPECTOR',
|
|
26
|
+
data: 'light',
|
|
27
|
+
lightType: 'hemisphere'
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.light = light;
|
|
@@ -5,20 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.mockProps = void 0;
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
var type = _ref.type,
|
|
10
|
-
payload = _ref.payload;
|
|
11
|
-
|
|
12
|
-
if (type === 'translate') {
|
|
13
|
-
return payload;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
console.log('Emit event called');
|
|
17
|
-
};
|
|
8
|
+
var _mocker = require("helpers/mocker");
|
|
18
9
|
|
|
19
10
|
var mockProps = {
|
|
20
|
-
emitEvent: emitEvent,
|
|
21
|
-
soundActions:
|
|
11
|
+
emitEvent: _mocker.emitEvent,
|
|
12
|
+
soundActions: _mocker.noopSoundActions,
|
|
22
13
|
slug: 'auto-pre-component',
|
|
23
14
|
description: 'A while back I needed to count the amount of letters that a piece of text in an email template had (to avoid passing any character limits). Unfortunately, I could not think of a quick way to do so on my macbook and I therefore turned to the Internet. Character Count Online is a free online character',
|
|
24
15
|
questions: [{
|
|
@@ -5,19 +5,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.mockProps4 = exports.mockProps3 = exports.mockProps2 = exports.mockProps = void 0;
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
var type = _ref.type,
|
|
10
|
-
payload = _ref.payload;
|
|
11
|
-
console.log('Emit event called');
|
|
12
|
-
|
|
13
|
-
if (type === "translate") {
|
|
14
|
-
return payload;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
8
|
+
var _mocker = require("helpers/mocker");
|
|
17
9
|
|
|
18
10
|
var mockProps = {
|
|
19
|
-
emitEvent: emitEvent,
|
|
20
|
-
soundActions:
|
|
11
|
+
emitEvent: _mocker.emitEvent,
|
|
12
|
+
soundActions: _mocker.soundActions,
|
|
13
|
+
setShowPoints: _mocker.setShowPoints,
|
|
21
14
|
disableExit: function disableExit() {},
|
|
22
15
|
setResolveAction: function setResolveAction() {},
|
|
23
16
|
cards: [{
|
|
@@ -92,8 +85,9 @@ var mockProps = {
|
|
|
92
85
|
};
|
|
93
86
|
exports.mockProps = mockProps;
|
|
94
87
|
var mockProps2 = {
|
|
95
|
-
emitEvent: emitEvent,
|
|
96
|
-
soundActions:
|
|
88
|
+
emitEvent: _mocker.emitEvent,
|
|
89
|
+
soundActions: _mocker.soundActions,
|
|
90
|
+
setShowPoints: _mocker.setShowPoints,
|
|
97
91
|
disableExit: function disableExit() {},
|
|
98
92
|
setResolveAction: function setResolveAction() {},
|
|
99
93
|
cards: [{
|
|
@@ -168,8 +162,9 @@ var mockProps2 = {
|
|
|
168
162
|
};
|
|
169
163
|
exports.mockProps2 = mockProps2;
|
|
170
164
|
var mockProps3 = {
|
|
171
|
-
emitEvent: emitEvent,
|
|
172
|
-
soundActions:
|
|
165
|
+
emitEvent: _mocker.emitEvent,
|
|
166
|
+
soundActions: _mocker.soundActions,
|
|
167
|
+
setShowPoints: _mocker.setShowPoints,
|
|
173
168
|
disableExit: function disableExit() {},
|
|
174
169
|
setResolveAction: function setResolveAction() {},
|
|
175
170
|
cards: [{
|
|
@@ -272,8 +267,9 @@ var mockProps3 = {
|
|
|
272
267
|
};
|
|
273
268
|
exports.mockProps3 = mockProps3;
|
|
274
269
|
var mockProps4 = {
|
|
275
|
-
emitEvent: emitEvent,
|
|
276
|
-
soundActions:
|
|
270
|
+
emitEvent: _mocker.emitEvent,
|
|
271
|
+
soundActions: _mocker.soundActions,
|
|
272
|
+
setShowPoints: _mocker.setShowPoints,
|
|
277
273
|
disableExit: function disableExit() {},
|
|
278
274
|
setResolveAction: function setResolveAction() {},
|
|
279
275
|
cards: [{
|
|
@@ -5,27 +5,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.mockProps2 = exports.mockProps = void 0;
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
var type = _ref.type,
|
|
10
|
-
payload = _ref.payload;
|
|
11
|
-
console.log('Emit event called', type);
|
|
8
|
+
var _mocker = require("helpers/mocker");
|
|
12
9
|
|
|
13
|
-
if (type === 'translate') {
|
|
14
|
-
return payload;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
var soundActions = [function (sound) {
|
|
19
|
-
console.log('PlaySound called :', sound);
|
|
20
|
-
}, function () {}];
|
|
21
10
|
var mockProps = {
|
|
22
11
|
nodeId: 'xxas',
|
|
23
12
|
description: 'Dale al arma',
|
|
24
13
|
showFrames: true,
|
|
25
14
|
setInfo: function setInfo() {},
|
|
26
|
-
setShowPoints:
|
|
27
|
-
emitEvent: emitEvent,
|
|
28
|
-
soundActions: soundActions,
|
|
15
|
+
setShowPoints: _mocker.setShowPoints,
|
|
16
|
+
emitEvent: _mocker.emitEvent,
|
|
17
|
+
soundActions: _mocker.soundActions,
|
|
29
18
|
disableExit: function disableExit() {},
|
|
30
19
|
setResolveAction: function setResolveAction() {},
|
|
31
20
|
list: [{
|
|
@@ -176,11 +165,11 @@ var mockProps2 = {
|
|
|
176
165
|
description: 'Dale al arma',
|
|
177
166
|
showFrames: true,
|
|
178
167
|
setInfo: function setInfo() {},
|
|
179
|
-
emitEvent: emitEvent,
|
|
180
|
-
soundActions: soundActions,
|
|
168
|
+
emitEvent: _mocker.emitEvent,
|
|
169
|
+
soundActions: _mocker.soundActions,
|
|
181
170
|
disableExit: function disableExit() {},
|
|
182
171
|
setResolveAction: function setResolveAction() {},
|
|
183
|
-
setShowPoints:
|
|
172
|
+
setShowPoints: _mocker.setShowPoints,
|
|
184
173
|
list: [{
|
|
185
174
|
info: {
|
|
186
175
|
hint: {
|
|
@@ -4,7 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.comicProps = void 0;
|
|
7
|
+
|
|
8
|
+
var _mocker = require("helpers/mocker");
|
|
9
|
+
|
|
7
10
|
var comicProps = {
|
|
11
|
+
emitEvent: _mocker.emitEvent,
|
|
12
|
+
soundActions: _mocker.soundActions,
|
|
13
|
+
setShowPoints: _mocker.setShowPoints,
|
|
8
14
|
slides: [{
|
|
9
15
|
slideOrder: 1,
|
|
10
16
|
transitionEffects: null,
|
|
@@ -4,6 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.conversationPropsLodSettings = exports.conversationPropsNoFeedbackNoRewards = exports.withoutBackground = exports.voiceOverProps = exports.conversationProps = exports.converOld = void 0;
|
|
7
|
+
|
|
8
|
+
var _mocker = require("helpers/mocker");
|
|
9
|
+
|
|
7
10
|
var animations = {
|
|
8
11
|
neutral: {
|
|
9
12
|
url: 'https://min.int.gamelearn.io/cooked.gl-lms-storage/clients/5981fca94d82290bcbe957fe/animation/5f06e116f9efdd00112fcc6f/male_missunderstand_1.glb'
|
|
@@ -16,6 +19,9 @@ var animations = {
|
|
|
16
19
|
}
|
|
17
20
|
};
|
|
18
21
|
var converOld = {
|
|
22
|
+
emitEvent: _mocker.emitEvent,
|
|
23
|
+
soundActions: _mocker.soundActions,
|
|
24
|
+
setShowPoints: _mocker.setShowPoints,
|
|
19
25
|
messages: [{
|
|
20
26
|
character: 'Puerta',
|
|
21
27
|
emotion: 'neutral',
|
|
@@ -68,6 +74,9 @@ var converOld = {
|
|
|
68
74
|
};
|
|
69
75
|
exports.converOld = converOld;
|
|
70
76
|
var conversationProps = {
|
|
77
|
+
emitEvent: _mocker.emitEvent,
|
|
78
|
+
soundActions: _mocker.soundActions,
|
|
79
|
+
setShowPoints: _mocker.setShowPoints,
|
|
71
80
|
lines: [{
|
|
72
81
|
flex: true,
|
|
73
82
|
slots: [{
|
|
@@ -332,6 +341,9 @@ var conversationProps = {
|
|
|
332
341
|
};
|
|
333
342
|
exports.conversationProps = conversationProps;
|
|
334
343
|
var voiceOverProps = {
|
|
344
|
+
emitEvent: _mocker.emitEvent,
|
|
345
|
+
soundActions: _mocker.soundActions,
|
|
346
|
+
setShowPoints: _mocker.setShowPoints,
|
|
335
347
|
lines: [{
|
|
336
348
|
flex: false,
|
|
337
349
|
slots: [{
|
|
@@ -463,6 +475,9 @@ var voiceOverProps = {
|
|
|
463
475
|
};
|
|
464
476
|
exports.voiceOverProps = voiceOverProps;
|
|
465
477
|
var withoutBackground = {
|
|
478
|
+
emitEvent: _mocker.emitEvent,
|
|
479
|
+
soundActions: _mocker.soundActions,
|
|
480
|
+
setShowPoints: _mocker.setShowPoints,
|
|
466
481
|
lines: [{
|
|
467
482
|
flex: false,
|
|
468
483
|
slots: [{
|
|
@@ -590,6 +605,9 @@ var withoutBackground = {
|
|
|
590
605
|
};
|
|
591
606
|
exports.withoutBackground = withoutBackground;
|
|
592
607
|
var conversationPropsNoFeedbackNoRewards = {
|
|
608
|
+
emitEvent: _mocker.emitEvent,
|
|
609
|
+
soundActions: _mocker.soundActions,
|
|
610
|
+
setShowPoints: _mocker.setShowPoints,
|
|
593
611
|
lines: [{
|
|
594
612
|
flex: true,
|
|
595
613
|
slots: [{
|
|
@@ -848,6 +866,9 @@ var conversationPropsNoFeedbackNoRewards = {
|
|
|
848
866
|
};
|
|
849
867
|
exports.conversationPropsNoFeedbackNoRewards = conversationPropsNoFeedbackNoRewards;
|
|
850
868
|
var conversationPropsLodSettings = {
|
|
869
|
+
emitEvent: _mocker.emitEvent,
|
|
870
|
+
soundActions: _mocker.soundActions,
|
|
871
|
+
setShowPoints: _mocker.setShowPoints,
|
|
851
872
|
lodSettings: {
|
|
852
873
|
currentLOD: 'original',
|
|
853
874
|
rgbSimulation: true,
|
|
@@ -5,21 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.mockProps5 = exports.mockProps4 = exports.mockProps3 = exports.mockProps2 = exports.mockProps = void 0;
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
var type = _ref.type,
|
|
10
|
-
payload = _ref.payload;
|
|
11
|
-
console.log('Emit event called');
|
|
12
|
-
|
|
13
|
-
if (type === 'translate') {
|
|
14
|
-
return payload;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
8
|
+
var _mocker = require("helpers/mocker");
|
|
17
9
|
|
|
18
10
|
var mockProps = {
|
|
19
|
-
emitEvent: emitEvent,
|
|
11
|
+
emitEvent: _mocker.emitEvent,
|
|
12
|
+
soundActions: _mocker.soundActions,
|
|
13
|
+
setShowPoints: _mocker.setShowPoints,
|
|
20
14
|
disableExit: function disableExit() {},
|
|
21
15
|
setResolveAction: function setResolveAction() {},
|
|
22
|
-
soundActions: [function () {}, function () {}],
|
|
23
16
|
velocity: 'slow',
|
|
24
17
|
difficulty: 'easy',
|
|
25
18
|
nodeTitle: 'gfhfgh',
|
|
@@ -69,10 +62,11 @@ var mockProps = {
|
|
|
69
62
|
};
|
|
70
63
|
exports.mockProps = mockProps;
|
|
71
64
|
var mockProps2 = {
|
|
72
|
-
emitEvent: emitEvent,
|
|
65
|
+
emitEvent: _mocker.emitEvent,
|
|
66
|
+
soundActions: _mocker.soundActions,
|
|
67
|
+
setShowPoints: _mocker.setShowPoints,
|
|
73
68
|
disableExit: function disableExit() {},
|
|
74
69
|
setResolveAction: function setResolveAction() {},
|
|
75
|
-
soundActions: [function () {}, function () {}],
|
|
76
70
|
velocity: 'fast',
|
|
77
71
|
difficulty: 'medium',
|
|
78
72
|
nodeTitle: 'gfhfgh',
|
|
@@ -122,10 +116,11 @@ var mockProps2 = {
|
|
|
122
116
|
};
|
|
123
117
|
exports.mockProps2 = mockProps2;
|
|
124
118
|
var mockProps3 = {
|
|
125
|
-
emitEvent: emitEvent,
|
|
119
|
+
emitEvent: _mocker.emitEvent,
|
|
120
|
+
soundActions: _mocker.soundActions,
|
|
121
|
+
setShowPoints: _mocker.setShowPoints,
|
|
126
122
|
disableExit: function disableExit() {},
|
|
127
123
|
setResolveAction: function setResolveAction() {},
|
|
128
|
-
soundActions: [function () {}, function () {}],
|
|
129
124
|
velocity: 'fastest',
|
|
130
125
|
difficulty: 'hard',
|
|
131
126
|
nodeTitle: 'gfhfgh',
|
|
@@ -175,10 +170,11 @@ var mockProps3 = {
|
|
|
175
170
|
};
|
|
176
171
|
exports.mockProps3 = mockProps3;
|
|
177
172
|
var mockProps4 = {
|
|
178
|
-
emitEvent: emitEvent,
|
|
173
|
+
emitEvent: _mocker.emitEvent,
|
|
174
|
+
soundActions: _mocker.soundActions,
|
|
175
|
+
setShowPoints: _mocker.setShowPoints,
|
|
179
176
|
disableExit: function disableExit() {},
|
|
180
177
|
setResolveAction: function setResolveAction() {},
|
|
181
|
-
soundActions: [function () {}, function () {}],
|
|
182
178
|
velocity: 'fastest',
|
|
183
179
|
difficulty: 'hard',
|
|
184
180
|
nodeTitle: 'gfhfgh',
|
|
@@ -228,10 +224,11 @@ var mockProps4 = {
|
|
|
228
224
|
};
|
|
229
225
|
exports.mockProps4 = mockProps4;
|
|
230
226
|
var mockProps5 = {
|
|
231
|
-
emitEvent: emitEvent,
|
|
227
|
+
emitEvent: _mocker.emitEvent,
|
|
228
|
+
soundActions: _mocker.soundActions,
|
|
229
|
+
setShowPoints: _mocker.setShowPoints,
|
|
232
230
|
disableExit: function disableExit() {},
|
|
233
231
|
setResolveAction: function setResolveAction() {},
|
|
234
|
-
soundActions: [function () {}, function () {}],
|
|
235
232
|
velocity: 'slow',
|
|
236
233
|
difficulty: 'easy',
|
|
237
234
|
nodeTitle: 'gfhfgh',
|
|
@@ -5,76 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.decisionPropsWithRadios = exports.decisionProps = void 0;
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
var type = _ref.type,
|
|
10
|
-
payload = _ref.payload;
|
|
11
|
-
|
|
12
|
-
if (type === 'translate') {
|
|
13
|
-
return payload;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
if (type === 'loadIndicators') {
|
|
17
|
-
return {
|
|
18
|
-
score: [{
|
|
19
|
-
color: '#4e469e',
|
|
20
|
-
description: 'description_0_dY5ms0vf',
|
|
21
|
-
description_labelId: 'description_0_dY5ms0vf',
|
|
22
|
-
icon: 'font-indicator-bolsa',
|
|
23
|
-
id: 'ki4qrkam',
|
|
24
|
-
name: 'Indicator1',
|
|
25
|
-
name_labelId: 'name_0_dY5ms9T1',
|
|
26
|
-
points: 295,
|
|
27
|
-
type: 'score'
|
|
28
|
-
}, {
|
|
29
|
-
color: '#4e469e',
|
|
30
|
-
description: 'description_0_dY5ms0vf',
|
|
31
|
-
description_labelId: 'description_0_dY5ms0vf',
|
|
32
|
-
icon: 'font-indicator-bolsa',
|
|
33
|
-
id: 'ki4qrop',
|
|
34
|
-
name: 'Indicator1',
|
|
35
|
-
name_labelId: 'name_0_dY5ms9T1',
|
|
36
|
-
points: 300,
|
|
37
|
-
type: 'score'
|
|
38
|
-
}, {
|
|
39
|
-
color: '#4e469e',
|
|
40
|
-
description: 'description_0_dY5ms0vf',
|
|
41
|
-
description_labelId: 'description_0_dY5ms0vf',
|
|
42
|
-
icon: 'font-indicator-bolsa',
|
|
43
|
-
id: 'ki4qiuyi',
|
|
44
|
-
name: 'Indicator1',
|
|
45
|
-
name_labelId: 'name_0_dY5ms9T1',
|
|
46
|
-
points: 300,
|
|
47
|
-
type: 'score'
|
|
48
|
-
}],
|
|
49
|
-
skill: [{
|
|
50
|
-
color: '#559cac',
|
|
51
|
-
description: 'description_0_dY5msi7o',
|
|
52
|
-
description_labelId: 'description_0_dY5msi7o',
|
|
53
|
-
icon: 'font-indicator-microfono-2',
|
|
54
|
-
id: 'ki4qrkas',
|
|
55
|
-
name: 'competency2',
|
|
56
|
-
name_labelId: 'name_0_dY5mslgV',
|
|
57
|
-
points: 295,
|
|
58
|
-
type: 'skill'
|
|
59
|
-
}, {
|
|
60
|
-
color: '#559cac',
|
|
61
|
-
description: 'description_0_dY5msi7o',
|
|
62
|
-
description_labelId: 'description_0_dY5msi7o',
|
|
63
|
-
icon: 'font-indicator-microfono-2',
|
|
64
|
-
id: 'ki4qropi',
|
|
65
|
-
name: 'competency2',
|
|
66
|
-
name_labelId: 'name_0_dY5mslgV',
|
|
67
|
-
points: 295,
|
|
68
|
-
type: 'skill'
|
|
69
|
-
}],
|
|
70
|
-
grade: undefined
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
};
|
|
8
|
+
var _mocker = require("helpers/mocker");
|
|
74
9
|
|
|
75
10
|
var decisionProps = {
|
|
76
|
-
emitEvent: emitEvent,
|
|
77
|
-
soundActions:
|
|
11
|
+
emitEvent: _mocker.emitEvent,
|
|
12
|
+
soundActions: _mocker.soundActions,
|
|
13
|
+
setShowPoints: _mocker.setShowPoints,
|
|
14
|
+
onFinish: function onFinish() {
|
|
15
|
+
return (0, _mocker.onFinish)("decision-component");
|
|
16
|
+
},
|
|
78
17
|
options: [{
|
|
79
18
|
id: 0,
|
|
80
19
|
right: false,
|
|
@@ -188,8 +127,9 @@ var decisionProps = {
|
|
|
188
127
|
};
|
|
189
128
|
exports.decisionProps = decisionProps;
|
|
190
129
|
var decisionPropsWithRadios = {
|
|
191
|
-
emitEvent: emitEvent,
|
|
192
|
-
soundActions:
|
|
130
|
+
emitEvent: _mocker.emitEvent,
|
|
131
|
+
soundActions: _mocker.soundActions,
|
|
132
|
+
setShowPoints: _mocker.setShowPoints,
|
|
193
133
|
options: [{
|
|
194
134
|
id: 0,
|
|
195
135
|
right: false,
|