@examplary/qti 1.0.0 → 1.1.0
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/ims/ims-manifest.js +15 -7
- package/dist/ims/ims-package.js +14 -6
- package/dist/index.js +23 -8
- package/dist/qti/interactions/associate-interaction.js +10 -7
- package/dist/qti/interactions/choice-interaction.js +10 -7
- package/dist/qti/interactions/drawing-interaction.js +8 -5
- package/dist/qti/interactions/end-attempt-interaction.js +8 -5
- package/dist/qti/interactions/extended-text-interaction.js +8 -5
- package/dist/qti/interactions/gap-match-interaction.js +11 -8
- package/dist/qti/interactions/graphic-associate-interaction.js +8 -5
- package/dist/qti/interactions/graphic-gap-match-interaction.js +8 -5
- package/dist/qti/interactions/graphic-order-interaction.js +8 -5
- package/dist/qti/interactions/hotspot-interaction.js +8 -5
- package/dist/qti/interactions/hottext-interaction.js +10 -7
- package/dist/qti/interactions/index.js +79 -63
- package/dist/qti/interactions/inline-choice-interaction.js +10 -7
- package/dist/qti/interactions/interaction.js +12 -5
- package/dist/qti/interactions/match-interaction.js +11 -8
- package/dist/qti/interactions/media-interaction.js +8 -5
- package/dist/qti/interactions/order-interaction.js +10 -7
- package/dist/qti/interactions/position-object-interaction.js +8 -5
- package/dist/qti/interactions/select-point-interaction.js +8 -5
- package/dist/qti/interactions/slider-interaction.js +8 -5
- package/dist/qti/interactions/text-entry-interaction.js +8 -5
- package/dist/qti/interactions/upload-interaction.js +8 -5
- package/dist/qti/qti-element.d.ts +1 -1
- package/dist/qti/qti-element.js +5 -2
- package/dist/qti/qti-item.js +25 -12
- package/dist/qti/qti-test.js +19 -7
- package/dist/qti/types.js +2 -2
- package/dist/utils/html.js +7 -4
- package/package.json +3 -3
- package/dist/ims/ims-manifest.js.map +0 -1
- package/dist/ims/ims-package.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/qti/interactions/associate-interaction.js.map +0 -1
- package/dist/qti/interactions/choice-interaction.js.map +0 -1
- package/dist/qti/interactions/drawing-interaction.js.map +0 -1
- package/dist/qti/interactions/end-attempt-interaction.js.map +0 -1
- package/dist/qti/interactions/extended-text-interaction.js.map +0 -1
- package/dist/qti/interactions/gap-match-interaction.js.map +0 -1
- package/dist/qti/interactions/graphic-associate-interaction.js.map +0 -1
- package/dist/qti/interactions/graphic-gap-match-interaction.js.map +0 -1
- package/dist/qti/interactions/graphic-order-interaction.js.map +0 -1
- package/dist/qti/interactions/hotspot-interaction.js.map +0 -1
- package/dist/qti/interactions/hottext-interaction.js.map +0 -1
- package/dist/qti/interactions/index.js.map +0 -1
- package/dist/qti/interactions/inline-choice-interaction.js.map +0 -1
- package/dist/qti/interactions/interaction.js.map +0 -1
- package/dist/qti/interactions/match-interaction.js.map +0 -1
- package/dist/qti/interactions/media-interaction.js.map +0 -1
- package/dist/qti/interactions/order-interaction.js.map +0 -1
- package/dist/qti/interactions/position-object-interaction.js.map +0 -1
- package/dist/qti/interactions/select-point-interaction.js.map +0 -1
- package/dist/qti/interactions/slider-interaction.js.map +0 -1
- package/dist/qti/interactions/text-entry-interaction.js.map +0 -1
- package/dist/qti/interactions/upload-interaction.js.map +0 -1
- package/dist/qti/qti-element.js.map +0 -1
- package/dist/qti/qti-item.js.map +0 -1
- package/dist/qti/qti-test.js.map +0 -1
- package/dist/qti/types.js.map +0 -1
- package/dist/utils/html.js.map +0 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InlineChoiceInteraction = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
const interaction_1 = require("./interaction");
|
|
6
|
+
const html_1 = require("../../utils/html");
|
|
4
7
|
/**
|
|
5
8
|
* Presents a dropdown menu embedded within text content for candidates to select an option.
|
|
6
9
|
* Used for fill-in-the-blank style questions with predefined choices.
|
|
@@ -16,10 +19,10 @@ import { appendHtmlFragment } from "../../utils/html";
|
|
|
16
19
|
* ],
|
|
17
20
|
* });
|
|
18
21
|
*/
|
|
19
|
-
|
|
22
|
+
class InlineChoiceInteraction extends interaction_1.QtiInteraction {
|
|
20
23
|
constructor(options) {
|
|
21
24
|
super(options);
|
|
22
|
-
this.item = fragment().ele("qti-inline-choice-interaction", {
|
|
25
|
+
this.item = (0, xmlbuilder2_1.fragment)().ele("qti-inline-choice-interaction", {
|
|
23
26
|
"response-identifier": options.responseIdentifier,
|
|
24
27
|
label: options.label,
|
|
25
28
|
shuffle: options.shuffle ? "true" : "false",
|
|
@@ -32,9 +35,9 @@ export class InlineChoiceInteraction extends QtiInteraction {
|
|
|
32
35
|
"template-identifier": choice.templateIdentifier,
|
|
33
36
|
});
|
|
34
37
|
if (choice.content) {
|
|
35
|
-
appendHtmlFragment(choice.content, choiceEl);
|
|
38
|
+
(0, html_1.appendHtmlFragment)(choice.content, choiceEl);
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
|
-
|
|
43
|
+
exports.InlineChoiceInteraction = InlineChoiceInteraction;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QtiPromptInteraction = exports.QtiInteraction = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
class QtiInteraction {
|
|
6
|
+
responseIdentifier;
|
|
7
|
+
item;
|
|
3
8
|
constructor(options) {
|
|
4
9
|
this.responseIdentifier = options.responseIdentifier;
|
|
5
|
-
this.item = fragment();
|
|
10
|
+
this.item = (0, xmlbuilder2_1.fragment)();
|
|
6
11
|
}
|
|
7
12
|
buildXml() {
|
|
8
13
|
return this.item.end({ prettyPrint: true });
|
|
@@ -11,7 +16,9 @@ export class QtiInteraction {
|
|
|
11
16
|
return this.item;
|
|
12
17
|
}
|
|
13
18
|
}
|
|
14
|
-
|
|
19
|
+
exports.QtiInteraction = QtiInteraction;
|
|
20
|
+
class QtiPromptInteraction extends QtiInteraction {
|
|
21
|
+
prompt;
|
|
15
22
|
constructor(options) {
|
|
16
23
|
super({ responseIdentifier: options.responseIdentifier });
|
|
17
24
|
this.prompt = options.prompt || "";
|
|
@@ -21,4 +28,4 @@ export class QtiPromptInteraction extends QtiInteraction {
|
|
|
21
28
|
return super.buildXml();
|
|
22
29
|
}
|
|
23
30
|
}
|
|
24
|
-
|
|
31
|
+
exports.QtiPromptInteraction = QtiPromptInteraction;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MatchInteraction = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
const interaction_1 = require("./interaction");
|
|
6
|
+
const html_1 = require("../../utils/html");
|
|
4
7
|
/**
|
|
5
8
|
* Presents two sets of choices for candidates to match or associate with each other.
|
|
6
9
|
* Commonly used for matching terms with definitions or pairing related concepts.
|
|
@@ -20,10 +23,10 @@ import { appendHtmlFragment } from "../../utils/html";
|
|
|
20
23
|
* ],
|
|
21
24
|
* });
|
|
22
25
|
*/
|
|
23
|
-
|
|
26
|
+
class MatchInteraction extends interaction_1.QtiPromptInteraction {
|
|
24
27
|
constructor(options) {
|
|
25
28
|
super(options);
|
|
26
|
-
this.item = fragment().ele("qti-match-interaction", {
|
|
29
|
+
this.item = (0, xmlbuilder2_1.fragment)().ele("qti-match-interaction", {
|
|
27
30
|
"response-identifier": options.responseIdentifier,
|
|
28
31
|
label: options.label,
|
|
29
32
|
shuffle: options.shuffle ? "true" : "false",
|
|
@@ -41,7 +44,7 @@ export class MatchInteraction extends QtiPromptInteraction {
|
|
|
41
44
|
"template-identifier": choice.templateIdentifier,
|
|
42
45
|
});
|
|
43
46
|
if (choice.content) {
|
|
44
|
-
appendHtmlFragment(choice.content, choiceEl);
|
|
47
|
+
(0, html_1.appendHtmlFragment)(choice.content, choiceEl);
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
50
|
const targetSet = this.item.ele("qti-simple-match-set");
|
|
@@ -55,9 +58,9 @@ export class MatchInteraction extends QtiPromptInteraction {
|
|
|
55
58
|
"template-identifier": choice.templateIdentifier,
|
|
56
59
|
});
|
|
57
60
|
if (choice.content) {
|
|
58
|
-
appendHtmlFragment(choice.content, choiceEl);
|
|
61
|
+
(0, html_1.appendHtmlFragment)(choice.content, choiceEl);
|
|
59
62
|
}
|
|
60
63
|
}
|
|
61
64
|
}
|
|
62
65
|
}
|
|
63
|
-
|
|
66
|
+
exports.MatchInteraction = MatchInteraction;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaInteraction = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
const interaction_1 = require("./interaction");
|
|
3
6
|
/**
|
|
4
7
|
* Presents audio or video content that candidates must engage with before responding.
|
|
5
8
|
* Used for listening comprehension, video analysis, or multimedia-based questions.
|
|
@@ -14,10 +17,10 @@ import { QtiPromptInteraction, } from "./interaction";
|
|
|
14
17
|
* object: { data: "audio.mp3", type: "audio/mpeg" },
|
|
15
18
|
* });
|
|
16
19
|
*/
|
|
17
|
-
|
|
20
|
+
class MediaInteraction extends interaction_1.QtiPromptInteraction {
|
|
18
21
|
constructor(options) {
|
|
19
22
|
super(options);
|
|
20
|
-
this.item = fragment().ele("qti-media-interaction", {
|
|
23
|
+
this.item = (0, xmlbuilder2_1.fragment)().ele("qti-media-interaction", {
|
|
21
24
|
"response-identifier": options.responseIdentifier,
|
|
22
25
|
label: options.label,
|
|
23
26
|
autostart: options.autostart ? "true" : undefined,
|
|
@@ -33,4 +36,4 @@ export class MediaInteraction extends QtiPromptInteraction {
|
|
|
33
36
|
});
|
|
34
37
|
}
|
|
35
38
|
}
|
|
36
|
-
|
|
39
|
+
exports.MediaInteraction = MediaInteraction;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrderInteraction = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
const interaction_1 = require("./interaction");
|
|
6
|
+
const html_1 = require("../../utils/html");
|
|
4
7
|
/**
|
|
5
8
|
* Presents a set of choices for candidates to arrange in a specific order or sequence.
|
|
6
9
|
* Used for ranking, sequencing, or prioritization questions.
|
|
@@ -17,10 +20,10 @@ import { appendHtmlFragment } from "../../utils/html";
|
|
|
17
20
|
* ],
|
|
18
21
|
* });
|
|
19
22
|
*/
|
|
20
|
-
|
|
23
|
+
class OrderInteraction extends interaction_1.QtiPromptInteraction {
|
|
21
24
|
constructor(options) {
|
|
22
25
|
super(options);
|
|
23
|
-
this.item = fragment().ele("qti-order-interaction", {
|
|
26
|
+
this.item = (0, xmlbuilder2_1.fragment)().ele("qti-order-interaction", {
|
|
24
27
|
"response-identifier": options.responseIdentifier,
|
|
25
28
|
label: options.label,
|
|
26
29
|
shuffle: options.shuffle ? "true" : "false",
|
|
@@ -35,9 +38,9 @@ export class OrderInteraction extends QtiPromptInteraction {
|
|
|
35
38
|
"template-identifier": choice.templateIdentifier,
|
|
36
39
|
});
|
|
37
40
|
if (choice.content) {
|
|
38
|
-
appendHtmlFragment(choice.content, choiceEl);
|
|
41
|
+
(0, html_1.appendHtmlFragment)(choice.content, choiceEl);
|
|
39
42
|
}
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
|
-
|
|
46
|
+
exports.OrderInteraction = OrderInteraction;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PositionObjectInteraction = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
const interaction_1 = require("./interaction");
|
|
3
6
|
/**
|
|
4
7
|
* Presents a movable object that candidates must position on a background stage.
|
|
5
8
|
* Used for placing items at specific coordinates on a canvas or diagram.
|
|
@@ -13,10 +16,10 @@ import { QtiPromptInteraction, } from "./interaction";
|
|
|
13
16
|
* positionObjectStage: { data: "map.png", type: "image/png", width: 400, height: 300 },
|
|
14
17
|
* });
|
|
15
18
|
*/
|
|
16
|
-
|
|
19
|
+
class PositionObjectInteraction extends interaction_1.QtiPromptInteraction {
|
|
17
20
|
constructor(options) {
|
|
18
21
|
super(options);
|
|
19
|
-
this.item = fragment().ele("qti-position-object-interaction", {
|
|
22
|
+
this.item = (0, xmlbuilder2_1.fragment)().ele("qti-position-object-interaction", {
|
|
20
23
|
"response-identifier": options.responseIdentifier,
|
|
21
24
|
label: options.label,
|
|
22
25
|
"center-point": options.centerPoint,
|
|
@@ -40,4 +43,4 @@ export class PositionObjectInteraction extends QtiPromptInteraction {
|
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
|
-
|
|
46
|
+
exports.PositionObjectInteraction = PositionObjectInteraction;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectPointInteraction = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
const interaction_1 = require("./interaction");
|
|
3
6
|
/**
|
|
4
7
|
* Presents an image where candidates select specific coordinate points.
|
|
5
8
|
* Used for identifying precise locations on maps, graphs, or diagrams.
|
|
@@ -13,10 +16,10 @@ import { QtiPromptInteraction, } from "./interaction";
|
|
|
13
16
|
* object: { data: "graph.png", type: "image/png", width: 400, height: 300 },
|
|
14
17
|
* });
|
|
15
18
|
*/
|
|
16
|
-
|
|
19
|
+
class SelectPointInteraction extends interaction_1.QtiPromptInteraction {
|
|
17
20
|
constructor(options) {
|
|
18
21
|
super(options);
|
|
19
|
-
this.item = fragment().ele("qti-select-point-interaction", {
|
|
22
|
+
this.item = (0, xmlbuilder2_1.fragment)().ele("qti-select-point-interaction", {
|
|
20
23
|
"response-identifier": options.responseIdentifier,
|
|
21
24
|
label: options.label,
|
|
22
25
|
"min-choices": options.minChoices?.toString(),
|
|
@@ -30,4 +33,4 @@ export class SelectPointInteraction extends QtiPromptInteraction {
|
|
|
30
33
|
});
|
|
31
34
|
}
|
|
32
35
|
}
|
|
33
|
-
|
|
36
|
+
exports.SelectPointInteraction = SelectPointInteraction;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SliderInteraction = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
const interaction_1 = require("./interaction");
|
|
3
6
|
/**
|
|
4
7
|
* Presents a slider control for candidates to select a numeric value within a range.
|
|
5
8
|
* Used for questions requiring numeric input, ratings, or scale-based responses.
|
|
@@ -14,10 +17,10 @@ import { QtiPromptInteraction, } from "./interaction";
|
|
|
14
17
|
* step: 10,
|
|
15
18
|
* });
|
|
16
19
|
*/
|
|
17
|
-
|
|
20
|
+
class SliderInteraction extends interaction_1.QtiPromptInteraction {
|
|
18
21
|
constructor(options) {
|
|
19
22
|
super(options);
|
|
20
|
-
this.item = fragment().ele("qti-slider-interaction", {
|
|
23
|
+
this.item = (0, xmlbuilder2_1.fragment)().ele("qti-slider-interaction", {
|
|
21
24
|
"response-identifier": options.responseIdentifier,
|
|
22
25
|
label: options.label,
|
|
23
26
|
"lower-bound": options.lowerBound.toString(),
|
|
@@ -29,4 +32,4 @@ export class SliderInteraction extends QtiPromptInteraction {
|
|
|
29
32
|
});
|
|
30
33
|
}
|
|
31
34
|
}
|
|
32
|
-
|
|
35
|
+
exports.SliderInteraction = SliderInteraction;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TextEntryInteraction = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
const interaction_1 = require("./interaction");
|
|
3
6
|
/**
|
|
4
7
|
* Presents a text input field for candidates to enter a short text response.
|
|
5
8
|
* Used for fill-in-the-blank or short answer questions embedded inline.
|
|
@@ -13,10 +16,10 @@ import { QtiInteraction } from "./interaction";
|
|
|
13
16
|
* placeholderText: "Enter your answer",
|
|
14
17
|
* });
|
|
15
18
|
*/
|
|
16
|
-
|
|
19
|
+
class TextEntryInteraction extends interaction_1.QtiInteraction {
|
|
17
20
|
constructor(options) {
|
|
18
21
|
super(options);
|
|
19
|
-
this.item = fragment().ele("qti-text-entry-interaction", {
|
|
22
|
+
this.item = (0, xmlbuilder2_1.fragment)().ele("qti-text-entry-interaction", {
|
|
20
23
|
"response-identifier": options.responseIdentifier,
|
|
21
24
|
label: options.label,
|
|
22
25
|
"string-identifier": options.stringIdentifier,
|
|
@@ -28,4 +31,4 @@ export class TextEntryInteraction extends QtiInteraction {
|
|
|
28
31
|
});
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
|
-
|
|
34
|
+
exports.TextEntryInteraction = TextEntryInteraction;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UploadInteraction = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
const interaction_1 = require("./interaction");
|
|
3
6
|
/**
|
|
4
7
|
* Allows candidates to upload a file as their response.
|
|
5
8
|
* Used for submitting documents, images, or other file-based answers.
|
|
@@ -12,14 +15,14 @@ import { QtiPromptInteraction, } from "./interaction";
|
|
|
12
15
|
* type: "application/pdf",
|
|
13
16
|
* });
|
|
14
17
|
*/
|
|
15
|
-
|
|
18
|
+
class UploadInteraction extends interaction_1.QtiPromptInteraction {
|
|
16
19
|
constructor(options) {
|
|
17
20
|
super(options);
|
|
18
|
-
this.item = fragment().ele("qti-upload-interaction", {
|
|
21
|
+
this.item = (0, xmlbuilder2_1.fragment)().ele("qti-upload-interaction", {
|
|
19
22
|
"response-identifier": options.responseIdentifier,
|
|
20
23
|
label: options.label,
|
|
21
24
|
type: options.type,
|
|
22
25
|
});
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
|
-
|
|
28
|
+
exports.UploadInteraction = UploadInteraction;
|
|
@@ -6,6 +6,6 @@ export declare abstract class QtiElement {
|
|
|
6
6
|
protected abstract getRootElement(): XMLBuilder;
|
|
7
7
|
buildXml(): string;
|
|
8
8
|
registerNamespace(prefix: string, uri: string): void;
|
|
9
|
-
addNamespacedElement(namespace: string, elementName: string, content: NamespacedElementContent, attributes?: Record<string, string>): void;
|
|
9
|
+
addNamespacedElement(namespace: string, elementName: string, content: NamespacedElementContent, attributes?: Record<string, string | undefined>): void;
|
|
10
10
|
private appendContent;
|
|
11
11
|
}
|
package/dist/qti/qti-element.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QtiElement = void 0;
|
|
4
|
+
class QtiElement {
|
|
2
5
|
buildXml() {
|
|
3
6
|
return this.getRootElement().end({ prettyPrint: true });
|
|
4
7
|
}
|
|
@@ -26,4 +29,4 @@ export class QtiElement {
|
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
31
|
}
|
|
29
|
-
|
|
32
|
+
exports.QtiElement = QtiElement;
|
package/dist/qti/qti-item.js
CHANGED
|
@@ -1,24 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QtiItem = exports.ResponseProcessingTemplate = void 0;
|
|
4
|
+
const index_js_1 = require("xmlbuilder2/lib/index.js");
|
|
5
|
+
const qti_element_1 = require("./qti-element");
|
|
6
|
+
const ims_manifest_1 = require("../ims/ims-manifest");
|
|
7
|
+
const html_1 = require("../utils/html");
|
|
8
|
+
var ResponseProcessingTemplate;
|
|
6
9
|
(function (ResponseProcessingTemplate) {
|
|
7
10
|
ResponseProcessingTemplate["MatchCorrect"] = "https://purl.imsglobal.org/spec/qti/v3p0/rptemplates/match_correct.xml";
|
|
8
11
|
ResponseProcessingTemplate["MapResponse"] = "https://purl.imsglobal.org/spec/qti/v3p0/rptemplates/map_response.xml";
|
|
9
12
|
ResponseProcessingTemplate["MapResponsePoint"] = "https://purl.imsglobal.org/spec/qti/v3p0/rptemplates/map_response_point.xml";
|
|
10
|
-
})(ResponseProcessingTemplate || (ResponseProcessingTemplate = {}));
|
|
11
|
-
|
|
13
|
+
})(ResponseProcessingTemplate || (exports.ResponseProcessingTemplate = ResponseProcessingTemplate = {}));
|
|
14
|
+
class QtiItem extends qti_element_1.QtiElement {
|
|
15
|
+
identifier;
|
|
16
|
+
adaptive;
|
|
17
|
+
timeDependent;
|
|
18
|
+
title;
|
|
19
|
+
language;
|
|
20
|
+
label;
|
|
21
|
+
toolName;
|
|
22
|
+
toolVersion;
|
|
23
|
+
item;
|
|
24
|
+
itemBody;
|
|
25
|
+
responseDeclarations = new Map();
|
|
12
26
|
constructor(options) {
|
|
13
27
|
super();
|
|
14
|
-
this.responseDeclarations = new Map();
|
|
15
28
|
this.identifier = options?.identifier || "item-" + Date.now();
|
|
16
29
|
this.adaptive = options?.adaptive;
|
|
17
30
|
this.timeDependent = options?.timeDependent;
|
|
18
31
|
this.title = options?.title;
|
|
19
32
|
this.language = options?.language;
|
|
20
33
|
this.label = options?.label;
|
|
21
|
-
this.item = create({ version: "1.0", encoding: "UTF-8" }).ele("qti-assessment-item", {
|
|
34
|
+
this.item = (0, index_js_1.create)({ version: "1.0", encoding: "UTF-8" }).ele("qti-assessment-item", {
|
|
22
35
|
xmlns: "http://www.imsglobal.org/xsd/imsqtiasi_v3p0",
|
|
23
36
|
"xmlns:m": "http://www.w3.org/1998/Math/MathML",
|
|
24
37
|
"xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
|
@@ -37,7 +50,7 @@ export class QtiItem extends QtiElement {
|
|
|
37
50
|
async addToPackage(pkg) {
|
|
38
51
|
await pkg.addResource({
|
|
39
52
|
identifier: this.identifier,
|
|
40
|
-
type: ImsManifestResourceType.imsqti_item_xmlv3p0,
|
|
53
|
+
type: ims_manifest_1.ImsManifestResourceType.imsqti_item_xmlv3p0,
|
|
41
54
|
}, [
|
|
42
55
|
{
|
|
43
56
|
filename: `item-${this.identifier}.xml`,
|
|
@@ -56,7 +69,7 @@ export class QtiItem extends QtiElement {
|
|
|
56
69
|
}
|
|
57
70
|
addItemBodyFromHtml(html) {
|
|
58
71
|
const content = `${this.title ? `<h1>${this.title}</h1>` : ""}${html}`;
|
|
59
|
-
appendHtmlFragment(content, this.getOrCreateItemBody());
|
|
72
|
+
(0, html_1.appendHtmlFragment)(content, this.getOrCreateItemBody());
|
|
60
73
|
}
|
|
61
74
|
addInteraction(interaction) {
|
|
62
75
|
this.getOrCreateItemBody().import(interaction.getXmlBuilder());
|
|
@@ -143,4 +156,4 @@ export class QtiItem extends QtiElement {
|
|
|
143
156
|
return this.item;
|
|
144
157
|
}
|
|
145
158
|
}
|
|
146
|
-
|
|
159
|
+
exports.QtiItem = QtiItem;
|
package/dist/qti/qti-test.js
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QtiTest = void 0;
|
|
4
|
+
const index_js_1 = require("xmlbuilder2/lib/index.js");
|
|
5
|
+
const qti_element_1 = require("./qti-element");
|
|
6
|
+
const ims_manifest_1 = require("../ims/ims-manifest");
|
|
7
|
+
class QtiTest extends qti_element_1.QtiElement {
|
|
8
|
+
identifier;
|
|
9
|
+
title;
|
|
10
|
+
language;
|
|
11
|
+
toolName;
|
|
12
|
+
toolVersion;
|
|
13
|
+
test;
|
|
14
|
+
part; // currently, we only support one part per test
|
|
15
|
+
section; // currently, we only support one section per part
|
|
16
|
+
outcomeProcessing;
|
|
5
17
|
constructor(options) {
|
|
6
18
|
super();
|
|
7
19
|
this.identifier = options?.identifier || "test-" + Date.now();
|
|
@@ -9,7 +21,7 @@ export class QtiTest extends QtiElement {
|
|
|
9
21
|
this.language = options?.language;
|
|
10
22
|
this.toolName = options?.toolName || "Examplary QTI Module";
|
|
11
23
|
this.toolVersion = options?.toolVersion || "1.0.0";
|
|
12
|
-
this.test = create({ version: "1.0", encoding: "UTF-8" }).ele("qti-assessment-test", {
|
|
24
|
+
this.test = (0, index_js_1.create)({ version: "1.0", encoding: "UTF-8" }).ele("qti-assessment-test", {
|
|
13
25
|
xmlns: "http://www.imsglobal.org/xsd/imsqtiasi_v3p0",
|
|
14
26
|
"xmlns:m": "http://www.w3.org/1998/Math/MathML",
|
|
15
27
|
"xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
|
@@ -38,7 +50,7 @@ export class QtiTest extends QtiElement {
|
|
|
38
50
|
async addToPackage(pkg) {
|
|
39
51
|
await pkg.addResource({
|
|
40
52
|
identifier: this.identifier,
|
|
41
|
-
type: ImsManifestResourceType.imsqti_test_xmlv3p0,
|
|
53
|
+
type: ims_manifest_1.ImsManifestResourceType.imsqti_test_xmlv3p0,
|
|
42
54
|
}, [
|
|
43
55
|
{
|
|
44
56
|
filename: `test-${this.identifier}.xml`,
|
|
@@ -75,4 +87,4 @@ export class QtiTest extends QtiElement {
|
|
|
75
87
|
return this.test;
|
|
76
88
|
}
|
|
77
89
|
}
|
|
78
|
-
|
|
90
|
+
exports.QtiTest = QtiTest;
|
package/dist/qti/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/utils/html.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.appendHtmlFragment = void 0;
|
|
4
|
+
const xmlbuilder2_1 = require("xmlbuilder2");
|
|
5
|
+
const appendHtmlFragment = (html, toElement) => {
|
|
3
6
|
// TODO: support inline math -> MathML conversion
|
|
4
7
|
// https://www.imsglobal.org/spec/qti/v3p0/impl#h.z1siiqfxmyc5
|
|
5
8
|
// TODO: convert other custom web components to valid HTML5
|
|
6
9
|
// file-attachment
|
|
7
10
|
// page-clipping
|
|
8
|
-
const doc = fragment({
|
|
11
|
+
const doc = (0, xmlbuilder2_1.fragment)({
|
|
9
12
|
invalidCharReplacement: "�",
|
|
10
13
|
}, `<div>${html}</div>`);
|
|
11
14
|
doc.each((child) => {
|
|
12
15
|
toElement.import(child);
|
|
13
16
|
});
|
|
14
17
|
};
|
|
15
|
-
|
|
18
|
+
exports.appendHtmlFragment = appendHtmlFragment;
|
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"name": "@examplary/qti",
|
|
3
3
|
"description": "Utilities to generate QTI 3.0 assessment packages.",
|
|
4
4
|
"packageManager": "yarn@4.5.3",
|
|
5
|
-
"version": "1.
|
|
6
|
-
"type": "module",
|
|
5
|
+
"version": "1.1.0",
|
|
7
6
|
"main": "dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"start": "yarn build --watch",
|
|
13
13
|
"test": "vitest run",
|
|
14
14
|
"release": "semantic-release -e semantic-release-monorepo",
|
|
15
|
-
"build": "tsc
|
|
15
|
+
"build": "tsc"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"typescript": "^5.9.3",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ims-manifest.js","sourceRoot":"","sources":["../../src/ims/ims-manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,MAAM,CAAN,IAAY,uBAqDX;AArDD,WAAY,uBAAuB;IACjC,uBAAuB;IACvB,sEAA2C,CAAA;IAC3C,0BAA0B;IAC1B,4EAAiD,CAAA;IACjD,uBAAuB;IACvB,sEAA2C,CAAA;IAE3C,2BAA2B;IAC3B,8EAAmD,CAAA;IACnD,2BAA2B;IAC3B,kGAAuE,CAAA;IACvE,2BAA2B;IAC3B,8EAAmD,CAAA;IACnD,6BAA6B;IAC7B,8EAAmD,CAAA;IACnD,qCAAqC;IACrC,kFAAuD,CAAA;IAEvD,2FAA2F;IAC3F,mFAAmF;IACnF,oDAAyB,CAAA;IAEzB,2BAA2B;IAC3B,4DAAiC,CAAA;IACjC,2BAA2B;IAC3B,8DAAmC,CAAA;IAEnC,eAAe;IACf,wCAAa,CAAA;IACb,eAAe;IACf,wCAAa,CAAA;IACb,4EAA4E;IAC5E,sCAAW,CAAA;IACX,uCAAuC;IACvC,kDAAuB,CAAA;IAEvB,uFAAuF;IACvF,mHAAmH;IACnH,4GAA4G;IAC5G,2DAA2D;IAC3D,8HAAqG,CAAA;IAErG,uHAAuH;IACvH,sDAA6B,CAAA;IAE7B,wBAAwB;IACxB,wEAA+C,CAAA;IAC/C,4BAA4B;IAC5B,8EAAqD,CAAA;IAErD,sDAAsD;IACtD,gE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AQ,CAAC,EAAE,EAAE,CAAC;gBACjB,MAAM,IAAI,KAAK,CACb,iCAAiC,IAAI,CAAC,GAAG,KAAK,QAAQ,CAAC,UAAU,EAAE,CACpE,CAAC;YACJ,CAAC;YACD,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,WAAW,EAAE,CAAC;YAE1C,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QACrC,CAAC;QAED,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;YACnB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC;IAED;;OAEG;IACH,WAAW;QACT,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,iBAAiB,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;QAE3D,OAAO,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAC;IACzD,CAAC;CACF"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"associate-interaction.js","sourceRoot":"","sources":["../../../src/qti/interactions/associate-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EACL,oBAAoB,GAErB,MAAM,eAAe,CAAC;AACvB,OAAO,EAA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,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawing-interaction.js","sourceRoot":"","sources":["../../../src/qti/interactions/drawing-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EACL,oBAAoB,GAErB,MAAM,eAAe,CAAC;AAavB;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,kBAAmB,SAAQ,oBAAoB;IAC1D,YAAY,OAAkC;QAC5C,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,IAAI,GAAG,QAAQ,EAAE,CAAC,GAAG,CAAC,yBAAyB,EAAE;YACpD,qBAAqB,EAAE,OAAO,CAAC,kBAAkB;YACjD,KAAK,EAAE,OAAO,CAAC,KAAK;SACrB,CAAC,CAAC;QAEH,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE;YACtB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI;YACzB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI;YACzB,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,EAAE;YACvC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE;SAC1C,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"end-attempt-interaction.js","sourceRoot":"","sources":["../../../src/qti/interactions/end-attempt-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAyB,MAAM,eAAe,CAAC;AAOtE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,qBAAsB,SAAQ,cAAc;IACvD,YAAY,OAAqC;QAC/C,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAA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OAAO,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;YACjD,CAAC;QACH,CAAC;QAED,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACpB,kBAAkB,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphic-associate-interaction.js","sourceRoot":"","sources":["../../../src/qti/interactions/graphic-associate-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,OAAO,EACL,oBAAoB,GAErB,MAAM,eAAe,CAAC;AAqBvB;;;;;;;;;;;;;;;GAeG;AACH,MAAM,OAAO,2BAA4B,SAAQ,oBAAoB;IACnE,YAAY,OAA2C;QACrD,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,IAAI,GAAG,QAAQ,EAAE,CAAC,GAAG,CAAC,mCAAmC,EAAE;YAC9D,qBAAqB,EAAE,OAAO,CAAC,kBAAkB;YACjD,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,kBAAkB,EAAE,OAAO,CAAC,eAAe,EAAE,QAAQ,EAAE;YACvD,kBAAkB,EAAE,OAAO,CAAC,eAAe,EAAE,QAAQ,EAAE;SACxD,CAAC,CAAC;QAEH,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE;YACtB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI;YACzB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI;YACzB,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,EAAE;YACvC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE;SAC1C,CAAC,CAAC;QAEH,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,kBAAkB,IAAI,EAAE,EAAE,CAAC;YACvD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,wBAAwB,EAAE;gBACtC,UAAU,EAAE,OAAO,CAAC,UAAU;gBAC9B,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,WAAW,EAAE,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE;gBACzC,WAAW,EAAE,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE;gBACzC,aAAa,EAAE,OAAO,CAAC,UAAU;gBACjC,eAAe,EAAE,OAAO,CAAC,YAAY;aACtC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphic-gap-match-interaction.js","sourceRoot":"","sources":["../../../src/qti/interactions/graphic-gap-match-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIvC,OAAO,EACL,oBAAoB,GAErB,MAAM,eAAe,CAAC;AAsBvB;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,0BAA2B,SAAQ,oBAAoB;IAClE,YAAY,OAA0C;QACpD,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,IAAI,GAAG,QAAQ,EAAE,CAAC,GAAG,CAAC,mCAAmC,EAAE;YAC9D,qBAAqB,EAAE,OAAO,CAAC,kBAAkB;YACjD,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,kBAAkB,EAAE,OAAO,CAAC,eAAe,EAAE,QAAQ,EAAE;YACvD,kBAAkB,EAAE,OAAO,CAAC,eAAe,EAAE,QAAQ,EAAE;SACxD,CAAC,CAAC;QAEH,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE;YACtB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI;YACzB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI;YACzB,KAAK,EAAE,OAAO,CA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AC,GAAG,CAAC,oBAAoB,EAAE;gBAClC,UAAU,EAAE,OAAO,CAAC,UAAU;gBAC9B,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,eAAe,EAAE,OAAO,CAAC,YAAY;gBACrC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;gBACzC,qBAAqB,EAAE,OAAO,CAAC,kBAAkB;aAClD,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hottext-interaction.js","sourceRoot":"","sources":["../../../src/qti/interactions/hottext-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EACL,oBAAoB,GAErB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,kBAAmB,SAAQ,oBAAoB;IAC1D,YAAY,OAAkC;QAC5C,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,IAAI,GAAG,QAAQ,EAAE,CAAC,GAAG,CAAC,yBAAyB,EAAE;YACpD,qBAAqB,EAAE,OAAO,CAAC,kBAAkB;YACjD,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,aAAa,EAAE,OAAO,CAAC,UAAU,EAAE,QAAQ,EAAE;YAC7C,aAAa,EAAE,OAAO,CAAC,UAAU,EAAE,QAAQ,EAAE;SAC9C,CAAC,CAAC;QAEH,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACpB,kBAAkB,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.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