eat-js-sdk 1.0.38 → 1.0.39
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/eat-prompt-builder.mjs +90 -90
- package/package.json +1 -1
|
@@ -17405,7 +17405,7 @@
|
|
|
17405
17405
|
// src/lib/components/prompt/dropdown/PromptDropdown.svelte
|
|
17406
17406
|
function get_each_context7(ctx, list, i) {
|
|
17407
17407
|
const child_ctx = ctx.slice();
|
|
17408
|
-
child_ctx[
|
|
17408
|
+
child_ctx[31] = list[i];
|
|
17409
17409
|
return child_ctx;
|
|
17410
17410
|
}
|
|
17411
17411
|
function create_else_block7(ctx) {
|
|
@@ -17413,7 +17413,7 @@
|
|
|
17413
17413
|
let html_tag;
|
|
17414
17414
|
let raw_value = (
|
|
17415
17415
|
/*item*/
|
|
17416
|
-
ctx[
|
|
17416
|
+
ctx[31].text + ""
|
|
17417
17417
|
);
|
|
17418
17418
|
let t2;
|
|
17419
17419
|
let span_aria_hidden_value;
|
|
@@ -17452,19 +17452,19 @@
|
|
|
17452
17452
|
),
|
|
17453
17453
|
metadata: (
|
|
17454
17454
|
/*metadata*/
|
|
17455
|
-
ctx[
|
|
17455
|
+
ctx[17]
|
|
17456
17456
|
),
|
|
17457
17457
|
scoringMetadata: (
|
|
17458
17458
|
/*scoringMetadata*/
|
|
17459
|
-
ctx[
|
|
17459
|
+
ctx[18]
|
|
17460
17460
|
),
|
|
17461
17461
|
options: (
|
|
17462
17462
|
/*item*/
|
|
17463
|
-
ctx[
|
|
17463
|
+
ctx[31]
|
|
17464
17464
|
),
|
|
17465
17465
|
answer: (
|
|
17466
17466
|
/*answer*/
|
|
17467
|
-
ctx[
|
|
17467
|
+
ctx[8]
|
|
17468
17468
|
),
|
|
17469
17469
|
isDataSaving: (
|
|
17470
17470
|
/*isDataSaving*/
|
|
@@ -17484,14 +17484,14 @@
|
|
|
17484
17484
|
),
|
|
17485
17485
|
previewInteractiveEvent: (
|
|
17486
17486
|
/*previewInteractiveEvent*/
|
|
17487
|
-
ctx[
|
|
17487
|
+
ctx[6]
|
|
17488
17488
|
)
|
|
17489
17489
|
}
|
|
17490
17490
|
});
|
|
17491
17491
|
promptdropdowncontainer.$on(
|
|
17492
17492
|
"select",
|
|
17493
17493
|
/*select_handler*/
|
|
17494
|
-
ctx[
|
|
17494
|
+
ctx[25]
|
|
17495
17495
|
);
|
|
17496
17496
|
return {
|
|
17497
17497
|
c() {
|
|
@@ -17508,9 +17508,9 @@
|
|
|
17508
17508
|
promptdropdowncontainer_changes.sessionData = /*sessionData*/
|
|
17509
17509
|
ctx2[0];
|
|
17510
17510
|
if (dirty[0] & /*answer*/
|
|
17511
|
-
|
|
17511
|
+
256)
|
|
17512
17512
|
promptdropdowncontainer_changes.answer = /*answer*/
|
|
17513
|
-
ctx2[
|
|
17513
|
+
ctx2[8];
|
|
17514
17514
|
if (dirty[0] & /*isDataSaving*/
|
|
17515
17515
|
32)
|
|
17516
17516
|
promptdropdowncontainer_changes.isDataSaving = /*isDataSaving*/
|
|
@@ -17528,9 +17528,9 @@
|
|
|
17528
17528
|
promptdropdowncontainer_changes.isPreviewModeInteractive = /*isPreviewModeInteractive*/
|
|
17529
17529
|
ctx2[4];
|
|
17530
17530
|
if (dirty[0] & /*previewInteractiveEvent*/
|
|
17531
|
-
|
|
17531
|
+
64)
|
|
17532
17532
|
promptdropdowncontainer_changes.previewInteractiveEvent = /*previewInteractiveEvent*/
|
|
17533
|
-
ctx2[
|
|
17533
|
+
ctx2[6];
|
|
17534
17534
|
promptdropdowncontainer.$set(promptdropdowncontainer_changes);
|
|
17535
17535
|
},
|
|
17536
17536
|
i(local) {
|
|
@@ -17558,7 +17558,7 @@
|
|
|
17558
17558
|
function select_block_type(ctx2, dirty) {
|
|
17559
17559
|
if (
|
|
17560
17560
|
/*item*/
|
|
17561
|
-
ctx2[
|
|
17561
|
+
ctx2[31].type === "dropdown"
|
|
17562
17562
|
)
|
|
17563
17563
|
return 0;
|
|
17564
17564
|
return 1;
|
|
@@ -17599,26 +17599,22 @@
|
|
|
17599
17599
|
function create_if_block12(ctx) {
|
|
17600
17600
|
let div;
|
|
17601
17601
|
let t0;
|
|
17602
|
-
let show_if = (
|
|
17603
|
-
/*isFinished*/
|
|
17604
|
-
ctx[2] && !/*isResultCorrect*/
|
|
17605
|
-
ctx[8]() || /*isPreviewModeInteractive*/
|
|
17606
|
-
ctx[4] && /*previewInteractiveEvent*/
|
|
17607
|
-
ctx[9]
|
|
17608
|
-
);
|
|
17609
17602
|
let t1;
|
|
17610
17603
|
let promptresultfeedbacktable;
|
|
17611
17604
|
let current;
|
|
17612
|
-
let if_block =
|
|
17605
|
+
let if_block = (
|
|
17606
|
+
/*showSpecificFeedback*/
|
|
17607
|
+
ctx[10] && create_if_block_111(ctx)
|
|
17608
|
+
);
|
|
17613
17609
|
promptresultfeedbacktable = new PromptResultFeedbackTable_default({
|
|
17614
17610
|
props: {
|
|
17615
17611
|
answerResults: (
|
|
17616
17612
|
/*getDropdownAnswerResult*/
|
|
17617
|
-
ctx[
|
|
17613
|
+
ctx[13]()
|
|
17618
17614
|
),
|
|
17619
17615
|
correctAnswers: (
|
|
17620
17616
|
/*getCorrectAnswers*/
|
|
17621
|
-
ctx[
|
|
17617
|
+
ctx[9]()
|
|
17622
17618
|
),
|
|
17623
17619
|
sessionId: (
|
|
17624
17620
|
/*sessionId*/
|
|
@@ -17626,7 +17622,7 @@
|
|
|
17626
17622
|
),
|
|
17627
17623
|
sessionAnswer: (
|
|
17628
17624
|
/*getSessionAnswer*/
|
|
17629
|
-
ctx[
|
|
17625
|
+
ctx[12]()
|
|
17630
17626
|
)
|
|
17631
17627
|
}
|
|
17632
17628
|
});
|
|
@@ -17650,18 +17646,14 @@
|
|
|
17650
17646
|
current = true;
|
|
17651
17647
|
},
|
|
17652
17648
|
p(ctx2, dirty) {
|
|
17653
|
-
if (
|
|
17654
|
-
|
|
17655
|
-
|
|
17656
|
-
|
|
17657
|
-
ctx2[8]() || /*isPreviewModeInteractive*/
|
|
17658
|
-
ctx2[4] && /*previewInteractiveEvent*/
|
|
17659
|
-
ctx2[9];
|
|
17660
|
-
if (show_if) {
|
|
17649
|
+
if (
|
|
17650
|
+
/*showSpecificFeedback*/
|
|
17651
|
+
ctx2[10]
|
|
17652
|
+
) {
|
|
17661
17653
|
if (if_block) {
|
|
17662
17654
|
if_block.p(ctx2, dirty);
|
|
17663
|
-
if (dirty[0] & /*
|
|
17664
|
-
|
|
17655
|
+
if (dirty[0] & /*showSpecificFeedback*/
|
|
17656
|
+
1024) {
|
|
17665
17657
|
transition_in(if_block, 1);
|
|
17666
17658
|
}
|
|
17667
17659
|
} else {
|
|
@@ -17679,21 +17671,21 @@
|
|
|
17679
17671
|
}
|
|
17680
17672
|
const promptresultfeedbacktable_changes = {};
|
|
17681
17673
|
if (dirty[0] & /*getDropdownAnswerResult*/
|
|
17682
|
-
|
|
17674
|
+
8192)
|
|
17683
17675
|
promptresultfeedbacktable_changes.answerResults = /*getDropdownAnswerResult*/
|
|
17684
|
-
ctx2[
|
|
17676
|
+
ctx2[13]();
|
|
17685
17677
|
if (dirty[0] & /*getCorrectAnswers*/
|
|
17686
|
-
|
|
17678
|
+
512)
|
|
17687
17679
|
promptresultfeedbacktable_changes.correctAnswers = /*getCorrectAnswers*/
|
|
17688
|
-
ctx2[
|
|
17680
|
+
ctx2[9]();
|
|
17689
17681
|
if (dirty[0] & /*sessionId*/
|
|
17690
17682
|
2)
|
|
17691
17683
|
promptresultfeedbacktable_changes.sessionId = /*sessionId*/
|
|
17692
17684
|
ctx2[1];
|
|
17693
17685
|
if (dirty[0] & /*getSessionAnswer*/
|
|
17694
|
-
|
|
17686
|
+
4096)
|
|
17695
17687
|
promptresultfeedbacktable_changes.sessionAnswer = /*getSessionAnswer*/
|
|
17696
|
-
ctx2[
|
|
17688
|
+
ctx2[12]();
|
|
17697
17689
|
promptresultfeedbacktable.$set(promptresultfeedbacktable_changes);
|
|
17698
17690
|
},
|
|
17699
17691
|
i(local) {
|
|
@@ -17727,15 +17719,15 @@
|
|
|
17727
17719
|
props: {
|
|
17728
17720
|
isResultCorrect: (
|
|
17729
17721
|
/*isResultCorrect*/
|
|
17730
|
-
ctx[
|
|
17722
|
+
ctx[7]()
|
|
17731
17723
|
),
|
|
17732
17724
|
resultFeedback: (
|
|
17733
17725
|
/*resultFeedback*/
|
|
17734
|
-
ctx[
|
|
17726
|
+
ctx[14]()
|
|
17735
17727
|
),
|
|
17736
17728
|
isSkipped: (
|
|
17737
17729
|
/*isSkipped*/
|
|
17738
|
-
ctx[
|
|
17730
|
+
ctx[15]()
|
|
17739
17731
|
),
|
|
17740
17732
|
hasIcon: true
|
|
17741
17733
|
}
|
|
@@ -17751,17 +17743,17 @@
|
|
|
17751
17743
|
p(ctx2, dirty) {
|
|
17752
17744
|
const promptresult_changes = {};
|
|
17753
17745
|
if (dirty[0] & /*isResultCorrect*/
|
|
17754
|
-
|
|
17746
|
+
128)
|
|
17755
17747
|
promptresult_changes.isResultCorrect = /*isResultCorrect*/
|
|
17756
|
-
ctx2[
|
|
17748
|
+
ctx2[7]();
|
|
17757
17749
|
if (dirty[0] & /*resultFeedback*/
|
|
17758
|
-
|
|
17750
|
+
16384)
|
|
17759
17751
|
promptresult_changes.resultFeedback = /*resultFeedback*/
|
|
17760
|
-
ctx2[
|
|
17752
|
+
ctx2[14]();
|
|
17761
17753
|
if (dirty[0] & /*isSkipped*/
|
|
17762
|
-
|
|
17754
|
+
32768)
|
|
17763
17755
|
promptresult_changes.isSkipped = /*isSkipped*/
|
|
17764
|
-
ctx2[
|
|
17756
|
+
ctx2[15]();
|
|
17765
17757
|
promptresult.$set(promptresult_changes);
|
|
17766
17758
|
},
|
|
17767
17759
|
i(local) {
|
|
@@ -17786,9 +17778,9 @@
|
|
|
17786
17778
|
let current;
|
|
17787
17779
|
let each_value = ensure_array_like(
|
|
17788
17780
|
/*parseText*/
|
|
17789
|
-
ctx[
|
|
17781
|
+
ctx[20](
|
|
17790
17782
|
/*dropdownText*/
|
|
17791
|
-
ctx[
|
|
17783
|
+
ctx[22].prompt
|
|
17792
17784
|
)
|
|
17793
17785
|
);
|
|
17794
17786
|
let each_blocks = [];
|
|
@@ -17799,11 +17791,8 @@
|
|
|
17799
17791
|
each_blocks[i] = null;
|
|
17800
17792
|
});
|
|
17801
17793
|
let if_block = (
|
|
17802
|
-
/*
|
|
17803
|
-
|
|
17804
|
-
ctx[3] || /*isPreviewModeInteractive*/
|
|
17805
|
-
ctx[4] && /*previewInteractiveEvent*/
|
|
17806
|
-
ctx[9]) && create_if_block12(ctx)
|
|
17794
|
+
/*showFeedbackandTable*/
|
|
17795
|
+
ctx[11] && create_if_block12(ctx)
|
|
17807
17796
|
);
|
|
17808
17797
|
return {
|
|
17809
17798
|
c() {
|
|
@@ -17832,12 +17821,12 @@
|
|
|
17832
17821
|
},
|
|
17833
17822
|
p(ctx2, dirty) {
|
|
17834
17823
|
if (dirty[0] & /*sessionData, metadata, scoringMetadata, parseText, dropdownText, answer, isDataSaving, isFinished, isPreviewMode, isPreviewModeInteractive, previewInteractiveEvent, saveDropdownEvent*/
|
|
17835
|
-
|
|
17824
|
+
14025085) {
|
|
17836
17825
|
each_value = ensure_array_like(
|
|
17837
17826
|
/*parseText*/
|
|
17838
|
-
ctx2[
|
|
17827
|
+
ctx2[20](
|
|
17839
17828
|
/*dropdownText*/
|
|
17840
|
-
ctx2[
|
|
17829
|
+
ctx2[22].prompt
|
|
17841
17830
|
)
|
|
17842
17831
|
);
|
|
17843
17832
|
let i;
|
|
@@ -17860,16 +17849,13 @@
|
|
|
17860
17849
|
check_outros();
|
|
17861
17850
|
}
|
|
17862
17851
|
if (
|
|
17863
|
-
/*
|
|
17864
|
-
ctx2[
|
|
17865
|
-
ctx2[3] || /*isPreviewModeInteractive*/
|
|
17866
|
-
ctx2[4] && /*previewInteractiveEvent*/
|
|
17867
|
-
ctx2[9]
|
|
17852
|
+
/*showFeedbackandTable*/
|
|
17853
|
+
ctx2[11]
|
|
17868
17854
|
) {
|
|
17869
17855
|
if (if_block) {
|
|
17870
17856
|
if_block.p(ctx2, dirty);
|
|
17871
|
-
if (dirty[0] & /*
|
|
17872
|
-
|
|
17857
|
+
if (dirty[0] & /*showFeedbackandTable*/
|
|
17858
|
+
2048) {
|
|
17873
17859
|
transition_in(if_block, 1);
|
|
17874
17860
|
}
|
|
17875
17861
|
} else {
|
|
@@ -17922,16 +17908,16 @@
|
|
|
17922
17908
|
props: {
|
|
17923
17909
|
rubric: (
|
|
17924
17910
|
/*rubric*/
|
|
17925
|
-
ctx[
|
|
17911
|
+
ctx[16].text
|
|
17926
17912
|
),
|
|
17927
17913
|
prompt: (
|
|
17928
17914
|
/*prompt*/
|
|
17929
|
-
ctx[
|
|
17915
|
+
ctx[21]
|
|
17930
17916
|
),
|
|
17931
17917
|
interactionType: INTERACTION_TYPE_DROPDOWN,
|
|
17932
17918
|
stimulus: (
|
|
17933
17919
|
/*stimulus*/
|
|
17934
|
-
ctx[
|
|
17920
|
+
ctx[19]
|
|
17935
17921
|
),
|
|
17936
17922
|
hasDivider: false,
|
|
17937
17923
|
$$slots: { default: [create_default_slot5] },
|
|
@@ -17948,9 +17934,9 @@
|
|
|
17948
17934
|
},
|
|
17949
17935
|
p(ctx2, dirty) {
|
|
17950
17936
|
const promptbody_changes = {};
|
|
17951
|
-
if (dirty[0] & /*getDropdownAnswerResult, getCorrectAnswers, sessionId, getSessionAnswer, isResultCorrect, resultFeedback, isSkipped,
|
|
17952
|
-
|
|
17953
|
-
|
|
17937
|
+
if (dirty[0] & /*getDropdownAnswerResult, getCorrectAnswers, sessionId, getSessionAnswer, isResultCorrect, resultFeedback, isSkipped, showSpecificFeedback, showFeedbackandTable, sessionData, answer, isDataSaving, isFinished, isPreviewMode, isPreviewModeInteractive, previewInteractiveEvent*/
|
|
17938
|
+
65535 | dirty[1] & /*$$scope*/
|
|
17939
|
+
8) {
|
|
17954
17940
|
promptbody_changes.$$scope = { dirty, ctx: ctx2 };
|
|
17955
17941
|
}
|
|
17956
17942
|
promptbody.$set(promptbody_changes);
|
|
@@ -17979,6 +17965,8 @@
|
|
|
17979
17965
|
let getCorrectAnswers;
|
|
17980
17966
|
let getDropdownAnswerResult;
|
|
17981
17967
|
let getSessionAnswer;
|
|
17968
|
+
let showFeedbackandTable;
|
|
17969
|
+
let showSpecificFeedback;
|
|
17982
17970
|
let { sessionData } = $$props;
|
|
17983
17971
|
let { sessionId } = $$props;
|
|
17984
17972
|
let { isFinished = false } = $$props;
|
|
@@ -18022,8 +18010,8 @@
|
|
|
18022
18010
|
if (!isFinished && !isPreviewModeInteractive)
|
|
18023
18011
|
dispatch("saveDropdown", { answer: choice.detail });
|
|
18024
18012
|
if (isPreviewModeInteractive) {
|
|
18025
|
-
$$invalidate(
|
|
18026
|
-
$$invalidate(
|
|
18013
|
+
$$invalidate(8, answer = choice.detail);
|
|
18014
|
+
$$invalidate(6, previewInteractiveEvent = !choice.detail.some((item) => item.choice === ""));
|
|
18027
18015
|
}
|
|
18028
18016
|
};
|
|
18029
18017
|
const select_handler = (choice) => {
|
|
@@ -18045,9 +18033,9 @@
|
|
|
18045
18033
|
};
|
|
18046
18034
|
$$self.$$.update = () => {
|
|
18047
18035
|
if ($$self.$$.dirty[0] & /*isFinished, isPreviewModeInteractive, isPreviewMode, answer*/
|
|
18048
|
-
|
|
18036
|
+
284) {
|
|
18049
18037
|
$:
|
|
18050
|
-
$$invalidate(
|
|
18038
|
+
$$invalidate(24, getSessionFeedbackData = () => {
|
|
18051
18039
|
if (!isFinished && !isPreviewModeInteractive || isFinished && isPreviewMode)
|
|
18052
18040
|
return [];
|
|
18053
18041
|
const { answer: sessionAnswer, correctAnswer: sessionCorrectAnswer } = scoringMetadata;
|
|
@@ -18064,9 +18052,9 @@
|
|
|
18064
18052
|
});
|
|
18065
18053
|
}
|
|
18066
18054
|
if ($$self.$$.dirty[0] & /*isFinished, isPreviewModeInteractive, getSessionFeedbackData*/
|
|
18067
|
-
|
|
18055
|
+
16777236) {
|
|
18068
18056
|
$:
|
|
18069
|
-
$$invalidate(
|
|
18057
|
+
$$invalidate(15, isSkipped = () => {
|
|
18070
18058
|
if (!isFinished && !isPreviewModeInteractive)
|
|
18071
18059
|
return;
|
|
18072
18060
|
if (!scoringMetadata.hasAnswer)
|
|
@@ -18076,16 +18064,16 @@
|
|
|
18076
18064
|
});
|
|
18077
18065
|
}
|
|
18078
18066
|
if ($$self.$$.dirty[0] & /*getSessionFeedbackData*/
|
|
18079
|
-
|
|
18067
|
+
16777216) {
|
|
18080
18068
|
$:
|
|
18081
|
-
$$invalidate(
|
|
18069
|
+
$$invalidate(7, isResultCorrect = () => {
|
|
18082
18070
|
return getSessionFeedbackData().every((status) => status === "correct");
|
|
18083
18071
|
});
|
|
18084
18072
|
}
|
|
18085
18073
|
if ($$self.$$.dirty[0] & /*isFinished, isPreviewModeInteractive, isResultCorrect*/
|
|
18086
|
-
|
|
18074
|
+
148) {
|
|
18087
18075
|
$:
|
|
18088
|
-
$$invalidate(
|
|
18076
|
+
$$invalidate(14, resultFeedback = () => {
|
|
18089
18077
|
if (!isFinished && !isPreviewModeInteractive)
|
|
18090
18078
|
return "";
|
|
18091
18079
|
const { correct: correctFeedback, incorrect: incorrectFeedback } = feedback;
|
|
@@ -18095,7 +18083,7 @@
|
|
|
18095
18083
|
if ($$self.$$.dirty[0] & /*isFinished, isPreviewMode*/
|
|
18096
18084
|
12) {
|
|
18097
18085
|
$:
|
|
18098
|
-
$$invalidate(
|
|
18086
|
+
$$invalidate(9, getCorrectAnswers = () => {
|
|
18099
18087
|
if (isFinished || isPreviewMode) {
|
|
18100
18088
|
return scoringMetadata?.correctAnswer.map((data) => {
|
|
18101
18089
|
return isPreviewMode ? data.correct_answers : data.correct_answer_list;
|
|
@@ -18104,9 +18092,9 @@
|
|
|
18104
18092
|
});
|
|
18105
18093
|
}
|
|
18106
18094
|
if ($$self.$$.dirty[0] & /*getCorrectAnswers, isPreviewMode, isPreviewModeInteractive, answer, isFinished*/
|
|
18107
|
-
|
|
18095
|
+
796) {
|
|
18108
18096
|
$:
|
|
18109
|
-
$$invalidate(
|
|
18097
|
+
$$invalidate(13, getDropdownAnswerResult = () => {
|
|
18110
18098
|
const correctAnswerList = getCorrectAnswers();
|
|
18111
18099
|
if (isPreviewMode && !isPreviewModeInteractive) {
|
|
18112
18100
|
return Array(correctAnswerList.length).fill(true);
|
|
@@ -18124,9 +18112,9 @@
|
|
|
18124
18112
|
});
|
|
18125
18113
|
}
|
|
18126
18114
|
if ($$self.$$.dirty[0] & /*isPreviewMode, isPreviewModeInteractive, getCorrectAnswers, answer, isFinished*/
|
|
18127
|
-
|
|
18115
|
+
796) {
|
|
18128
18116
|
$:
|
|
18129
|
-
$$invalidate(
|
|
18117
|
+
$$invalidate(12, getSessionAnswer = () => {
|
|
18130
18118
|
if (isPreviewMode && !isPreviewModeInteractive) {
|
|
18131
18119
|
return getCorrectAnswers().map((value) => value[0]);
|
|
18132
18120
|
}
|
|
@@ -18138,9 +18126,19 @@
|
|
|
18138
18126
|
}
|
|
18139
18127
|
});
|
|
18140
18128
|
}
|
|
18129
|
+
if ($$self.$$.dirty[0] & /*isFinished, isPreviewMode, isPreviewModeInteractive, previewInteractiveEvent*/
|
|
18130
|
+
92) {
|
|
18131
|
+
$:
|
|
18132
|
+
$$invalidate(11, showFeedbackandTable = isFinished && !isPreviewMode || isPreviewModeInteractive && previewInteractiveEvent);
|
|
18133
|
+
}
|
|
18134
|
+
if ($$self.$$.dirty[0] & /*isFinished, isResultCorrect, isPreviewModeInteractive, previewInteractiveEvent*/
|
|
18135
|
+
212) {
|
|
18136
|
+
$:
|
|
18137
|
+
$$invalidate(10, showSpecificFeedback = isFinished && !isResultCorrect() || isPreviewModeInteractive && previewInteractiveEvent);
|
|
18138
|
+
}
|
|
18141
18139
|
};
|
|
18142
18140
|
$:
|
|
18143
|
-
$$invalidate(
|
|
18141
|
+
$$invalidate(8, answer = options.map((data) => {
|
|
18144
18142
|
if (metadata) {
|
|
18145
18143
|
const sessionChoice = getDropdownAnswerEvent().find((sessionEvent) => sessionEvent.id === data.id).choice;
|
|
18146
18144
|
return { id: data.id, choice: sessionChoice };
|
|
@@ -18154,10 +18152,12 @@
|
|
|
18154
18152
|
isPreviewMode,
|
|
18155
18153
|
isPreviewModeInteractive,
|
|
18156
18154
|
isDataSaving,
|
|
18155
|
+
previewInteractiveEvent,
|
|
18156
|
+
isResultCorrect,
|
|
18157
18157
|
answer,
|
|
18158
18158
|
getCorrectAnswers,
|
|
18159
|
-
|
|
18160
|
-
|
|
18159
|
+
showSpecificFeedback,
|
|
18160
|
+
showFeedbackandTable,
|
|
18161
18161
|
getSessionAnswer,
|
|
18162
18162
|
getDropdownAnswerResult,
|
|
18163
18163
|
resultFeedback,
|