eat-js-sdk 1.0.17 → 1.0.18
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 +23 -11
- package/package.json +1 -1
|
@@ -4437,17 +4437,23 @@
|
|
|
4437
4437
|
};
|
|
4438
4438
|
}
|
|
4439
4439
|
function create_default_slot(ctx) {
|
|
4440
|
-
let
|
|
4441
|
-
let if_block1_anchor;
|
|
4442
|
-
let current;
|
|
4443
|
-
let if_block0 = (
|
|
4440
|
+
let show_if = (
|
|
4444
4441
|
/*correctAnswersLength*/
|
|
4445
4442
|
ctx[6] === 1 && /*isFinished*/
|
|
4446
4443
|
ctx[1] && (!/*isPreviewMode*/
|
|
4447
4444
|
ctx[2] || /*isPreviewMode*/
|
|
4448
4445
|
ctx[2] && /*isPreviewModeInteractive*/
|
|
4449
|
-
ctx[3]) &&
|
|
4446
|
+
ctx[3]) && !/*selectedOptions*/
|
|
4447
|
+
(ctx[4].length === 1 && /*correctAnswerIds*/
|
|
4448
|
+
ctx[7].includes(
|
|
4449
|
+
/*selectedOptions*/
|
|
4450
|
+
ctx[4][0]
|
|
4451
|
+
))
|
|
4450
4452
|
);
|
|
4453
|
+
let t2;
|
|
4454
|
+
let if_block1_anchor;
|
|
4455
|
+
let current;
|
|
4456
|
+
let if_block0 = show_if && create_if_block_82(ctx);
|
|
4451
4457
|
let if_block1 = (
|
|
4452
4458
|
/*options*/
|
|
4453
4459
|
ctx[11] && create_if_block5(ctx)
|
|
@@ -4471,18 +4477,24 @@
|
|
|
4471
4477
|
current = true;
|
|
4472
4478
|
},
|
|
4473
4479
|
p(ctx2, dirty) {
|
|
4474
|
-
if (
|
|
4475
|
-
|
|
4480
|
+
if (dirty & /*correctAnswersLength, isFinished, isPreviewMode, isPreviewModeInteractive, selectedOptions, correctAnswerIds*/
|
|
4481
|
+
222)
|
|
4482
|
+
show_if = /*correctAnswersLength*/
|
|
4476
4483
|
ctx2[6] === 1 && /*isFinished*/
|
|
4477
4484
|
ctx2[1] && (!/*isPreviewMode*/
|
|
4478
4485
|
ctx2[2] || /*isPreviewMode*/
|
|
4479
4486
|
ctx2[2] && /*isPreviewModeInteractive*/
|
|
4480
|
-
ctx2[3])
|
|
4481
|
-
|
|
4487
|
+
ctx2[3]) && !/*selectedOptions*/
|
|
4488
|
+
(ctx2[4].length === 1 && /*correctAnswerIds*/
|
|
4489
|
+
ctx2[7].includes(
|
|
4490
|
+
/*selectedOptions*/
|
|
4491
|
+
ctx2[4][0]
|
|
4492
|
+
));
|
|
4493
|
+
if (show_if) {
|
|
4482
4494
|
if (if_block0) {
|
|
4483
4495
|
if_block0.p(ctx2, dirty);
|
|
4484
|
-
if (dirty & /*correctAnswersLength, isFinished, isPreviewMode, isPreviewModeInteractive*/
|
|
4485
|
-
|
|
4496
|
+
if (dirty & /*correctAnswersLength, isFinished, isPreviewMode, isPreviewModeInteractive, selectedOptions, correctAnswerIds*/
|
|
4497
|
+
222) {
|
|
4486
4498
|
transition_in(if_block0, 1);
|
|
4487
4499
|
}
|
|
4488
4500
|
} else {
|