@citolab/qti-components 7.3.8 → 7.3.9

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 (40) hide show
  1. package/cdn/chunks/chunk-6HMBATJ5.js +5 -0
  2. package/cdn/chunks/chunk-IAWUN2QB.js +5 -0
  3. package/cdn/chunks/chunk-IXOHXGV7.js +1464 -0
  4. package/cdn/chunks/chunk-OITWX2VZ.js +1464 -0
  5. package/cdn/exports/qti-condition-expression.js +1 -1
  6. package/cdn/exports/qti-expression.js +1 -1
  7. package/cdn/index.global.js +1 -1
  8. package/cdn/index.js +1 -1
  9. package/cdn/qti-components/index.js +1 -1
  10. package/cdn/qti-item/components/item-container.js +1 -1
  11. package/cdn/qti-item/components/item-show-correct-response.js +1 -1
  12. package/cdn/qti-item/components/print-item-variables.js +1 -1
  13. package/cdn/qti-item/core/index.js +1 -1
  14. package/cdn/qti-test/components/index.js +1 -1
  15. package/cdn/qti-test/components/test-container.js +1 -1
  16. package/cdn/qti-test/components/test-navigation.js +1 -1
  17. package/cdn/qti-test/components/test-next.js +1 -1
  18. package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -1
  19. package/cdn/qti-test/components/test-prev.js +1 -1
  20. package/cdn/qti-test/components/test-print-context.js +1 -1
  21. package/cdn/qti-test/components/test-print-item-variables.js +1 -1
  22. package/cdn/qti-test/components/test-scoring-buttons.js +1 -1
  23. package/cdn/qti-test/components/test-scoring-feedback.js +1 -1
  24. package/cdn/qti-test/components/test-section-buttons-stamp.js +1 -1
  25. package/cdn/qti-test/components/test-show-correct-response.js +1 -1
  26. package/cdn/qti-test/components/test-stamp.js +1 -1
  27. package/cdn/qti-test/components/test-view-toggle.js +1 -1
  28. package/cdn/qti-test/components/test-view.js +1 -1
  29. package/cdn/qti-test/core/index.js +1 -1
  30. package/dist/chunks/chunk-B6J55LEH.js +887 -0
  31. package/dist/chunks/chunk-B6J55LEH.js.map +1 -0
  32. package/dist/chunks/chunk-JSFSSO4N.js +7968 -0
  33. package/dist/chunks/chunk-JSFSSO4N.js.map +1 -0
  34. package/dist/index.js +17 -17
  35. package/dist/qti-components/index.js +1 -1
  36. package/dist/qti-components-jsx.d.ts +7 -7
  37. package/dist/qti-test/components/index.js +8 -8
  38. package/dist/qti-test/core/index.js +2 -2
  39. package/dist/vscode.html-custom-data.json +6 -6
  40. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,3 +1,11 @@
1
+ import {
2
+ QtiAssessmentItemRef,
3
+ QtiAssessmentSection,
4
+ QtiAssessmentTest,
5
+ QtiTest,
6
+ QtiTestFeedback,
7
+ QtiTestPart
8
+ } from "./chunks/chunk-B6J55LEH.js";
1
9
  import {
2
10
  QtiItem
3
11
  } from "./chunks/chunk-X7TJEF7P.js";
@@ -11,27 +19,13 @@ import {
11
19
  PrintItemVariables
12
20
  } from "./chunks/chunk-EJZQSOHU.js";
13
21
  import "./chunks/chunk-DZAMXOSC.js";
14
- import {
15
- QtiAssessmentItemRef,
16
- QtiAssessmentSection,
17
- QtiAssessmentTest,
18
- QtiTest,
19
- QtiTestFeedback,
20
- QtiTestPart
21
- } from "./chunks/chunk-JCD6FX42.js";
22
22
  import "./chunks/chunk-ZGSNDSK3.js";
23
- import {
24
- TestStamp
25
- } from "./chunks/chunk-GAHXUFMQ.js";
26
23
  import {
27
24
  TestViewToggle
28
25
  } from "./chunks/chunk-TUKEQ36K.js";
29
26
  import {
30
27
  TestView
31
28
  } from "./chunks/chunk-YS4T2ORC.js";
32
- import {
33
- TestPrev
34
- } from "./chunks/chunk-EMVOKXSA.js";
35
29
  import {
36
30
  TestPrintContext
37
31
  } from "./chunks/chunk-WFFIUFJJ.js";
@@ -53,6 +47,9 @@ import {
53
47
  import {
54
48
  TestShowCorrectResponse
55
49
  } from "./chunks/chunk-TWYN56XO.js";
50
+ import {
51
+ TestStamp
52
+ } from "./chunks/chunk-GAHXUFMQ.js";
56
53
  import {
57
54
  TestCheckItem
58
55
  } from "./chunks/chunk-7OMJMXHK.js";
@@ -71,12 +68,15 @@ import {
71
68
  import {
72
69
  TestNext
73
70
  } from "./chunks/chunk-7K44TDQO.js";
74
- import "./chunks/chunk-BV2QSR2N.js";
75
- import "./chunks/chunk-5ZHHNEDA.js";
76
71
  import {
77
72
  TestPagingButtonsStamp
78
73
  } from "./chunks/chunk-CP34TICQ.js";
74
+ import {
75
+ TestPrev
76
+ } from "./chunks/chunk-EMVOKXSA.js";
77
+ import "./chunks/chunk-BV2QSR2N.js";
79
78
  import "./chunks/chunk-NJ26K2SA.js";
79
+ import "./chunks/chunk-5ZHHNEDA.js";
80
80
  import "./chunks/chunk-22IRJWWY.js";
81
81
  import {
82
82
  INITIAL_TEST_CONTEXT,
@@ -169,7 +169,7 @@ import {
169
169
  QtiVariable,
170
170
  qtiAndMixin,
171
171
  qtiSubtractMixin
172
- } from "./chunks/chunk-JJOLQOBD.js";
172
+ } from "./chunks/chunk-JSFSSO4N.js";
173
173
  import "./chunks/chunk-D3RGDWKP.js";
174
174
  import "./chunks/chunk-ELDMXTUQ.js";
175
175
  import "./chunks/chunk-OOQLWOYU.js";
@@ -85,7 +85,7 @@ import {
85
85
  QtiVariable,
86
86
  qtiAndMixin,
87
87
  qtiSubtractMixin
88
- } from "../chunks/chunk-JJOLQOBD.js";
88
+ } from "../chunks/chunk-JSFSSO4N.js";
89
89
  import "../chunks/chunk-D3RGDWKP.js";
90
90
  import "../chunks/chunk-ELDMXTUQ.js";
91
91
  import "../chunks/chunk-OOQLWOYU.js";
@@ -804,8 +804,6 @@ export type ItemContainerProps = {
804
804
  itemXML?: string;
805
805
  };
806
806
 
807
- export type PrintItemVariablesProps = {};
808
-
809
807
  export type ItemShowCorrectResponseProps = {
810
808
  /** */
811
809
  shown?: boolean;
@@ -823,6 +821,8 @@ export type ItemShowCorrectResponseProps = {
823
821
  "onitem-show-correct-response"?: (e: CustomEvent<CustomEvent>) => void;
824
822
  };
825
823
 
824
+ export type PrintItemVariablesProps = {};
825
+
826
826
  export type QtiItemProps = {
827
827
  /** */
828
828
  computedContext?: ComputedItemContext;
@@ -1863,18 +1863,18 @@ export type CustomElements = {
1863
1863
  *
1864
1864
  * ---
1865
1865
  *
1866
+ *
1867
+ * ### **Events:**
1868
+ * - **item-show-correct-response**
1866
1869
  */
1867
- "print-item-variables": Partial<PrintItemVariablesProps & BaseProps & BaseEvents>;
1870
+ "item-show-correct-response": Partial<ItemShowCorrectResponseProps & BaseProps & BaseEvents>;
1868
1871
 
1869
1872
  /**
1870
1873
  *
1871
1874
  * ---
1872
1875
  *
1873
- *
1874
- * ### **Events:**
1875
- * - **item-show-correct-response**
1876
1876
  */
1877
- "item-show-correct-response": Partial<ItemShowCorrectResponseProps & BaseProps & BaseEvents>;
1877
+ "print-item-variables": Partial<PrintItemVariablesProps & BaseProps & BaseEvents>;
1878
1878
 
1879
1879
  /**
1880
1880
  * `<qti-item>` is a custom element designed for rendering a single `qti-assessment-item`.
@@ -1,16 +1,10 @@
1
1
  import "../../chunks/chunk-ZGSNDSK3.js";
2
- import {
3
- TestStamp
4
- } from "../../chunks/chunk-GAHXUFMQ.js";
5
2
  import {
6
3
  TestViewToggle
7
4
  } from "../../chunks/chunk-TUKEQ36K.js";
8
5
  import {
9
6
  TestView
10
7
  } from "../../chunks/chunk-YS4T2ORC.js";
11
- import {
12
- TestPrev
13
- } from "../../chunks/chunk-EMVOKXSA.js";
14
8
  import {
15
9
  TestPrintContext
16
10
  } from "../../chunks/chunk-WFFIUFJJ.js";
@@ -32,6 +26,9 @@ import {
32
26
  import {
33
27
  TestShowCorrectResponse
34
28
  } from "../../chunks/chunk-TWYN56XO.js";
29
+ import {
30
+ TestStamp
31
+ } from "../../chunks/chunk-GAHXUFMQ.js";
35
32
  import {
36
33
  TestCheckItem
37
34
  } from "../../chunks/chunk-7OMJMXHK.js";
@@ -50,12 +47,15 @@ import {
50
47
  import {
51
48
  TestNext
52
49
  } from "../../chunks/chunk-7K44TDQO.js";
53
- import "../../chunks/chunk-BV2QSR2N.js";
54
- import "../../chunks/chunk-5ZHHNEDA.js";
55
50
  import {
56
51
  TestPagingButtonsStamp
57
52
  } from "../../chunks/chunk-CP34TICQ.js";
53
+ import {
54
+ TestPrev
55
+ } from "../../chunks/chunk-EMVOKXSA.js";
56
+ import "../../chunks/chunk-BV2QSR2N.js";
58
57
  import "../../chunks/chunk-NJ26K2SA.js";
58
+ import "../../chunks/chunk-5ZHHNEDA.js";
59
59
  import "../../chunks/chunk-22IRJWWY.js";
60
60
  import "../../chunks/chunk-CJADUWEC.js";
61
61
  import "../../chunks/chunk-D3RGDWKP.js";
@@ -5,13 +5,13 @@ import {
5
5
  QtiTest,
6
6
  QtiTestFeedback,
7
7
  QtiTestPart
8
- } from "../../chunks/chunk-JCD6FX42.js";
8
+ } from "../../chunks/chunk-B6J55LEH.js";
9
9
  import "../../chunks/chunk-22IRJWWY.js";
10
10
  import {
11
11
  INITIAL_TEST_CONTEXT,
12
12
  testContext
13
13
  } from "../../chunks/chunk-CJADUWEC.js";
14
- import "../../chunks/chunk-JJOLQOBD.js";
14
+ import "../../chunks/chunk-JSFSSO4N.js";
15
15
  import "../../chunks/chunk-D3RGDWKP.js";
16
16
  import "../../chunks/chunk-ELDMXTUQ.js";
17
17
  import "../../chunks/chunk-OOQLWOYU.js";
@@ -750,12 +750,6 @@
750
750
  ],
751
751
  "references": []
752
752
  },
753
- {
754
- "name": "print-item-variables",
755
- "description": "\n---\n",
756
- "attributes": [],
757
- "references": []
758
- },
759
753
  {
760
754
  "name": "item-show-correct-response",
761
755
  "description": "\n---\n\n\n### **Events:**\n - **item-show-correct-response**",
@@ -768,6 +762,12 @@
768
762
  ],
769
763
  "references": []
770
764
  },
765
+ {
766
+ "name": "print-item-variables",
767
+ "description": "\n---\n",
768
+ "attributes": [],
769
+ "references": []
770
+ },
771
771
  {
772
772
  "name": "qti-item",
773
773
  "description": "`<qti-item>` is a custom element designed for rendering a single `qti-assessment-item`.\nIt can also host some functionalities to interact with the item like scoring, showing feedback, etc.\nPlacing a mandatory `<item-container>` inside '<qti-item>' will load or parse the item and render it.\nSee `<item-container>` for more details.\n\n```html\n<qti-item>\n <item-container class=\"m-4 bg-white\" item-url=\"./path/to/item.xml\"></item-container>\n</qti-item>\n```\n---\n",
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "engines": {
22
22
  "node": ">=20.0.0"
23
23
  },
24
- "version": "7.3.8",
24
+ "version": "7.3.9",
25
25
  "type": "module",
26
26
  "main": "dist/index.js",
27
27
  "exports": {