@citolab/qti-components 10.0.0-next.19 → 10.0.0-next.20

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.
Files changed (52) hide show
  1. package/cdn/index.global.js +1 -1
  2. package/cdn/index.js +176 -176
  3. package/dist/base.d.ts +2 -2
  4. package/dist/base.js +1 -1
  5. package/dist/{chunk-4UO6AGJ6.js → chunk-2A52V5TQ.js} +3 -3
  6. package/dist/{chunk-Y7RSSGDY.js → chunk-5BP2A7BI.js} +2 -2
  7. package/dist/{chunk-WTGUKDVH.js → chunk-DAESCCLR.js} +2 -2
  8. package/dist/{chunk-QKCVC4HF.js → chunk-GJWA6LLT.js} +2 -2
  9. package/dist/{chunk-XBBTYGCX.js → chunk-GPC53O7P.js} +3 -3
  10. package/dist/{chunk-XBBTYGCX.js.map → chunk-GPC53O7P.js.map} +1 -1
  11. package/dist/{chunk-MFKH6BZM.js → chunk-H6DO5UHC.js} +3 -3
  12. package/dist/{chunk-HSOILZC6.js → chunk-KQ2LED4X.js} +2 -2
  13. package/dist/{chunk-3FQZRJFH.js → chunk-LPYZVKHX.js} +2 -2
  14. package/dist/{chunk-JE6X3IZT.js → chunk-ORQFZNJW.js} +192 -64
  15. package/dist/chunk-ORQFZNJW.js.map +1 -0
  16. package/dist/{chunk-QECECKEC.js → chunk-TSJGL6FI.js} +2 -2
  17. package/dist/{chunk-MXY66QOH.js → chunk-TZCOXFPB.js} +2 -2
  18. package/dist/{chunk-DAOLVUTR.js → chunk-XWRZP2RM.js} +2 -2
  19. package/dist/{chunk-YRXH3YMJ.js → chunk-Y6Q3F2S7.js} +7 -7
  20. package/dist/{chunk-YRXH3YMJ.js.map → chunk-Y6Q3F2S7.js.map} +1 -1
  21. package/dist/{chunk-LORYM4U2.js → chunk-ZRORBAHB.js} +3 -3
  22. package/dist/chunk-ZRORBAHB.js.map +1 -0
  23. package/dist/computed.types.d-6Ht-HNRx.d.ts +80 -0
  24. package/dist/corrections.d.ts +2 -2
  25. package/dist/corrections.js +8 -8
  26. package/dist/elements.js +4 -4
  27. package/dist/index.d.ts +3 -3
  28. package/dist/index.js +14 -14
  29. package/dist/interactions.js +3 -3
  30. package/dist/item.js +4 -4
  31. package/dist/loader.js +2 -2
  32. package/dist/processing.js +3 -3
  33. package/dist/{qti-test-state-BAf5AmJ2.d.ts → qti-test-state-CF9S8X9C.d.ts} +1 -1
  34. package/dist/{qti-test.d-CRqJF2DM.d.ts → qti-test.d-sskv-dEN.d.ts} +1 -1
  35. package/dist/test-plugin-api.d.ts +2 -2
  36. package/dist/test.d.ts +4 -4
  37. package/dist/test.js +5 -5
  38. package/dist/transformers.js +1 -1
  39. package/package.json +6 -5
  40. package/dist/chunk-JE6X3IZT.js.map +0 -1
  41. package/dist/chunk-LORYM4U2.js.map +0 -1
  42. package/dist/computed.types.d-D4wskgi0.d.ts +0 -51
  43. /package/dist/{chunk-4UO6AGJ6.js.map → chunk-2A52V5TQ.js.map} +0 -0
  44. /package/dist/{chunk-Y7RSSGDY.js.map → chunk-5BP2A7BI.js.map} +0 -0
  45. /package/dist/{chunk-WTGUKDVH.js.map → chunk-DAESCCLR.js.map} +0 -0
  46. /package/dist/{chunk-QKCVC4HF.js.map → chunk-GJWA6LLT.js.map} +0 -0
  47. /package/dist/{chunk-MFKH6BZM.js.map → chunk-H6DO5UHC.js.map} +0 -0
  48. /package/dist/{chunk-HSOILZC6.js.map → chunk-KQ2LED4X.js.map} +0 -0
  49. /package/dist/{chunk-3FQZRJFH.js.map → chunk-LPYZVKHX.js.map} +0 -0
  50. /package/dist/{chunk-QECECKEC.js.map → chunk-TSJGL6FI.js.map} +0 -0
  51. /package/dist/{chunk-MXY66QOH.js.map → chunk-TZCOXFPB.js.map} +0 -0
  52. /package/dist/{chunk-DAOLVUTR.js.map → chunk-XWRZP2RM.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  qtiContentElements
3
- } from "./chunk-MFKH6BZM.js";
3
+ } from "./chunk-H6DO5UHC.js";
4
4
 
5
5
  // ../qti-elements/dist/register.js
6
6
  for (const { tag, ctor } of qtiContentElements) {
@@ -8,4 +8,4 @@ for (const { tag, ctor } of qtiContentElements) {
8
8
  customElements.define(tag, ctor);
9
9
  }
10
10
  }
11
- //# sourceMappingURL=chunk-QECECKEC.js.map
11
+ //# sourceMappingURL=chunk-TSJGL6FI.js.map
@@ -19,7 +19,7 @@ import {
19
19
  serializeResponseAttribute,
20
20
  setState,
21
21
  validationMessage
22
- } from "./chunk-XBBTYGCX.js";
22
+ } from "./chunk-GPC53O7P.js";
23
23
 
24
24
  // ../interactions/core/dist/elements/qti-associable-hotspot/qti-associable-hotspot.js
25
25
  import { LitElement, html } from "lit";
@@ -12814,4 +12814,4 @@ export {
12814
12814
  elements31 as elements21,
12815
12815
  qtiInteractionElements
12816
12816
  };
12817
- //# sourceMappingURL=chunk-MXY66QOH.js.map
12817
+ //# sourceMappingURL=chunk-TZCOXFPB.js.map
@@ -2,7 +2,7 @@ import {
2
2
  qtiTransformItem,
3
3
  qtiTransformManifest,
4
4
  qtiTransformTest
5
- } from "./chunk-LORYM4U2.js";
5
+ } from "./chunk-ZRORBAHB.js";
6
6
 
7
7
  // ../qti-loader/dist/qti-loader.js
8
8
  var getManifestInfo = async (manifestURL) => {
@@ -28,4 +28,4 @@ export {
28
28
  getManifestInfo,
29
29
  getItemByUri
30
30
  };
31
- //# sourceMappingURL=chunk-DAOLVUTR.js.map
31
+ //# sourceMappingURL=chunk-XWRZP2RM.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  QtiTest,
3
3
  TestNavigation
4
- } from "./chunk-JE6X3IZT.js";
4
+ } from "./chunk-ORQFZNJW.js";
5
5
  import {
6
6
  QtiAssessmentItem
7
- } from "./chunk-MFKH6BZM.js";
7
+ } from "./chunk-H6DO5UHC.js";
8
8
  import {
9
9
  QtiAssociateInteraction,
10
10
  QtiChoiceInteraction,
@@ -27,10 +27,10 @@ import {
27
27
  QtiSimpleChoice,
28
28
  QtiSliderInteraction,
29
29
  QtiTextEntryInteraction
30
- } from "./chunk-MXY66QOH.js";
30
+ } from "./chunk-TZCOXFPB.js";
31
31
  import {
32
32
  QtiItem
33
- } from "./chunk-4UO6AGJ6.js";
33
+ } from "./chunk-2A52V5TQ.js";
34
34
  import {
35
35
  watch
36
36
  } from "./chunk-4DB4SC5K.js";
@@ -42,7 +42,7 @@ import {
42
42
  hasState,
43
43
  responseAttributeConverter,
44
44
  setState
45
- } from "./chunk-XBBTYGCX.js";
45
+ } from "./chunk-GPC53O7P.js";
46
46
 
47
47
  // ../qti-corrections/dist/components/item-correct-response-mode/item-correct-response-mode.js
48
48
  import { html, LitElement } from "lit";
@@ -1637,7 +1637,7 @@ var TestNavigationCorrection = class extends TestNavigation {
1637
1637
  * the candidate reached the optimal outcome, or ran out of attempts.
1638
1638
  */
1639
1639
  afterAttemptEnded(assessmentItem, computedItem, done) {
1640
- if (!assessmentItem || !computedItem?.showSolution)
1640
+ if (!assessmentItem || !computedItem?.sessionControl?.showSolution)
1641
1641
  return;
1642
1642
  const correctable = assessmentItem;
1643
1643
  correctable.showCandidateCorrection?.(true);
@@ -1686,4 +1686,4 @@ export {
1686
1686
  TestNavigationCorrection,
1687
1687
  QtiTestCorrection
1688
1688
  };
1689
- //# sourceMappingURL=chunk-YRXH3YMJ.js.map
1689
+ //# sourceMappingURL=chunk-Y6Q3F2S7.js.map