@citolab/qti-components 7.3.4 → 7.3.5
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/cdn/chunks/chunk-4FRKMATD.js +5 -0
- package/cdn/chunks/chunk-O3LQ7TTC.js +1464 -0
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +1 -1
- package/cdn/qti-components/index.js +1 -1
- package/cdn/qti-test/components/index.js +1 -1
- package/cdn/qti-test/components/test-view.js +1 -1
- package/cdn/qti-test/core/index.js +1 -1
- package/dist/chunks/chunk-MEDZ5K5U.js +887 -0
- package/dist/chunks/chunk-MEDZ5K5U.js.map +1 -0
- package/dist/chunks/chunk-T5F2ZNHU.js +7990 -0
- package/dist/chunks/chunk-T5F2ZNHU.js.map +1 -0
- package/dist/index.js +20 -20
- package/dist/qti-components/index.js +1 -1
- package/dist/qti-components-jsx.d.ts +7 -7
- package/dist/qti-test/components/index.js +7 -7
- package/dist/qti-test/core/index.js +2 -2
- package/dist/vscode.html-custom-data.json +6 -6
- 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-MEDZ5K5U.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-WLQIWFWC.js";
|
|
22
22
|
import "./chunks/chunk-ZGSNDSK3.js";
|
|
23
|
-
import {
|
|
24
|
-
TestStamp
|
|
25
|
-
} from "./chunks/chunk-64JRMFTB.js";
|
|
26
23
|
import {
|
|
27
24
|
TestViewToggle
|
|
28
25
|
} from "./chunks/chunk-J3I5LKXH.js";
|
|
29
26
|
import {
|
|
30
27
|
TestView
|
|
31
28
|
} from "./chunks/chunk-YS4T2ORC.js";
|
|
32
|
-
import {
|
|
33
|
-
TestPrev
|
|
34
|
-
} from "./chunks/chunk-KZAEUKGI.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-64JRMFTB.js";
|
|
56
53
|
import {
|
|
57
54
|
TestCheckItem
|
|
58
55
|
} from "./chunks/chunk-7OMJMXHK.js";
|
|
@@ -71,20 +68,19 @@ import {
|
|
|
71
68
|
import {
|
|
72
69
|
TestNext
|
|
73
70
|
} from "./chunks/chunk-OLZSWYQO.js";
|
|
74
|
-
import "./chunks/chunk-5ZHHNEDA.js";
|
|
75
71
|
import {
|
|
76
72
|
TestPagingButtonsStamp
|
|
77
73
|
} from "./chunks/chunk-5QGG5BMS.js";
|
|
74
|
+
import {
|
|
75
|
+
TestPrev
|
|
76
|
+
} from "./chunks/chunk-KZAEUKGI.js";
|
|
78
77
|
import "./chunks/chunk-PRE62QDG.js";
|
|
78
|
+
import "./chunks/chunk-5ZHHNEDA.js";
|
|
79
79
|
import "./chunks/chunk-22IRJWWY.js";
|
|
80
80
|
import {
|
|
81
81
|
INITIAL_TEST_CONTEXT,
|
|
82
82
|
testContext
|
|
83
83
|
} from "./chunks/chunk-CJADUWEC.js";
|
|
84
|
-
import {
|
|
85
|
-
getItemByUri,
|
|
86
|
-
getManifestInfo
|
|
87
|
-
} from "./chunks/chunk-LVZHVB7F.js";
|
|
88
84
|
import {
|
|
89
85
|
QtiAnd,
|
|
90
86
|
QtiAssessmentItem,
|
|
@@ -172,11 +168,15 @@ import {
|
|
|
172
168
|
QtiVariable,
|
|
173
169
|
qtiAndMixin,
|
|
174
170
|
qtiSubtractMixin
|
|
175
|
-
} from "./chunks/chunk-
|
|
171
|
+
} from "./chunks/chunk-T5F2ZNHU.js";
|
|
176
172
|
import "./chunks/chunk-ELDMXTUQ.js";
|
|
177
173
|
import "./chunks/chunk-OOQLWOYU.js";
|
|
178
174
|
import "./chunks/chunk-I7HVKMDI.js";
|
|
179
175
|
import "./chunks/chunk-NJNQOQUU.js";
|
|
176
|
+
import {
|
|
177
|
+
getItemByUri,
|
|
178
|
+
getManifestInfo
|
|
179
|
+
} from "./chunks/chunk-LVZHVB7F.js";
|
|
180
180
|
import {
|
|
181
181
|
qtiTransformItem,
|
|
182
182
|
qtiTransformManifest,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
QtiVariable,
|
|
86
86
|
qtiAndMixin,
|
|
87
87
|
qtiSubtractMixin
|
|
88
|
-
} from "../chunks/chunk-
|
|
88
|
+
} from "../chunks/chunk-T5F2ZNHU.js";
|
|
89
89
|
import "../chunks/chunk-ELDMXTUQ.js";
|
|
90
90
|
import "../chunks/chunk-OOQLWOYU.js";
|
|
91
91
|
import "../chunks/chunk-I7HVKMDI.js";
|
|
@@ -804,6 +804,8 @@ export type ItemContainerProps = {
|
|
|
804
804
|
itemXML?: string;
|
|
805
805
|
};
|
|
806
806
|
|
|
807
|
+
export type PrintItemVariablesProps = {};
|
|
808
|
+
|
|
807
809
|
export type ItemShowCorrectResponseProps = {
|
|
808
810
|
/** */
|
|
809
811
|
shown?: boolean;
|
|
@@ -821,8 +823,6 @@ export type ItemShowCorrectResponseProps = {
|
|
|
821
823
|
"onitem-show-correct-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
822
824
|
};
|
|
823
825
|
|
|
824
|
-
export type PrintItemVariablesProps = {};
|
|
825
|
-
|
|
826
826
|
export type QtiItemProps = {
|
|
827
827
|
/** */
|
|
828
828
|
computedContext?: ComputedItemContext;
|
|
@@ -1867,18 +1867,18 @@ export type CustomElements = {
|
|
|
1867
1867
|
*
|
|
1868
1868
|
* ---
|
|
1869
1869
|
*
|
|
1870
|
-
*
|
|
1871
|
-
* ### **Events:**
|
|
1872
|
-
* - **item-show-correct-response**
|
|
1873
1870
|
*/
|
|
1874
|
-
"item-
|
|
1871
|
+
"print-item-variables": Partial<PrintItemVariablesProps & BaseProps & BaseEvents>;
|
|
1875
1872
|
|
|
1876
1873
|
/**
|
|
1877
1874
|
*
|
|
1878
1875
|
* ---
|
|
1879
1876
|
*
|
|
1877
|
+
*
|
|
1878
|
+
* ### **Events:**
|
|
1879
|
+
* - **item-show-correct-response**
|
|
1880
1880
|
*/
|
|
1881
|
-
"
|
|
1881
|
+
"item-show-correct-response": Partial<ItemShowCorrectResponseProps & BaseProps & BaseEvents>;
|
|
1882
1882
|
|
|
1883
1883
|
/**
|
|
1884
1884
|
* `<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-64JRMFTB.js";
|
|
5
2
|
import {
|
|
6
3
|
TestViewToggle
|
|
7
4
|
} from "../../chunks/chunk-J3I5LKXH.js";
|
|
8
5
|
import {
|
|
9
6
|
TestView
|
|
10
7
|
} from "../../chunks/chunk-YS4T2ORC.js";
|
|
11
|
-
import {
|
|
12
|
-
TestPrev
|
|
13
|
-
} from "../../chunks/chunk-KZAEUKGI.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-64JRMFTB.js";
|
|
35
32
|
import {
|
|
36
33
|
TestCheckItem
|
|
37
34
|
} from "../../chunks/chunk-7OMJMXHK.js";
|
|
@@ -50,11 +47,14 @@ import {
|
|
|
50
47
|
import {
|
|
51
48
|
TestNext
|
|
52
49
|
} from "../../chunks/chunk-OLZSWYQO.js";
|
|
53
|
-
import "../../chunks/chunk-5ZHHNEDA.js";
|
|
54
50
|
import {
|
|
55
51
|
TestPagingButtonsStamp
|
|
56
52
|
} from "../../chunks/chunk-5QGG5BMS.js";
|
|
53
|
+
import {
|
|
54
|
+
TestPrev
|
|
55
|
+
} from "../../chunks/chunk-KZAEUKGI.js";
|
|
57
56
|
import "../../chunks/chunk-PRE62QDG.js";
|
|
57
|
+
import "../../chunks/chunk-5ZHHNEDA.js";
|
|
58
58
|
import "../../chunks/chunk-22IRJWWY.js";
|
|
59
59
|
import "../../chunks/chunk-CJADUWEC.js";
|
|
60
60
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
QtiTest,
|
|
6
6
|
QtiTestFeedback,
|
|
7
7
|
QtiTestPart
|
|
8
|
-
} from "../../chunks/chunk-
|
|
8
|
+
} from "../../chunks/chunk-MEDZ5K5U.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-
|
|
14
|
+
import "../../chunks/chunk-T5F2ZNHU.js";
|
|
15
15
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
16
16
|
import "../../chunks/chunk-OOQLWOYU.js";
|
|
17
17
|
import "../../chunks/chunk-I7HVKMDI.js";
|
|
@@ -750,6 +750,12 @@
|
|
|
750
750
|
],
|
|
751
751
|
"references": []
|
|
752
752
|
},
|
|
753
|
+
{
|
|
754
|
+
"name": "print-item-variables",
|
|
755
|
+
"description": "\n---\n",
|
|
756
|
+
"attributes": [],
|
|
757
|
+
"references": []
|
|
758
|
+
},
|
|
753
759
|
{
|
|
754
760
|
"name": "item-show-correct-response",
|
|
755
761
|
"description": "\n---\n\n\n### **Events:**\n - **item-show-correct-response**",
|
|
@@ -762,12 +768,6 @@
|
|
|
762
768
|
],
|
|
763
769
|
"references": []
|
|
764
770
|
},
|
|
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",
|