@citolab/qti-components 9.6.0 → 9.6.2
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/index.global.js +1 -1
- package/cdn/index.js +137 -134
- package/dist/{chunk-LOKULHVY.js → chunk-4HQML3K4.js} +5 -3
- package/dist/{chunk-LOKULHVY.js.map → chunk-4HQML3K4.js.map} +1 -1
- package/dist/{chunk-YS6CBO45.js → chunk-DG5PMMTM.js} +2 -2
- package/dist/{chunk-TC4257SG.js → chunk-FOXXE5BU.js} +3 -3
- package/dist/{chunk-EAQOUBXA.js → chunk-RGBQ65Y2.js} +15 -3
- package/dist/{chunk-EAQOUBXA.js.map → chunk-RGBQ65Y2.js.map} +1 -1
- package/dist/{chunk-TBJT7AGB.js → chunk-SUMSMTZJ.js} +2 -2
- package/dist/corrections.d.ts +1 -1
- package/dist/corrections.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -5
- package/dist/interactions.js +2 -2
- package/dist/qti-components-jsx.d.ts +1 -0
- package/dist/{qti-test.d-DOWT6YNa.d.ts → qti-test.d-ClQtDdgx.d.ts} +6 -1
- package/dist/test.d.ts +2 -2
- package/dist/test.js +4 -2
- package/package.json +2 -2
- /package/dist/{chunk-YS6CBO45.js.map → chunk-DG5PMMTM.js.map} +0 -0
- /package/dist/{chunk-TC4257SG.js.map → chunk-FOXXE5BU.js.map} +0 -0
- /package/dist/{chunk-TBJT7AGB.js.map → chunk-SUMSMTZJ.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
qtiTestElements
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RGBQ65Y2.js";
|
|
4
4
|
|
|
5
5
|
// ../qti-test/dist/register.js
|
|
6
6
|
for (const { tag, ctor } of qtiTestElements) {
|
|
@@ -8,4 +8,4 @@ for (const { tag, ctor } of qtiTestElements) {
|
|
|
8
8
|
customElements.define(tag, ctor);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
11
|
+
//# sourceMappingURL=chunk-SUMSMTZJ.js.map
|
package/dist/corrections.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, v as QtiSimple
|
|
|
6
6
|
import { QtiAssessmentItem } from './elements.js';
|
|
7
7
|
import { Q as QtiItem } from './qti-item.d-DjWvKbfL.js';
|
|
8
8
|
import { V as View, C as ComputedItemContext } from './session.context.d-Cw8GcziG.js';
|
|
9
|
-
import { l as QtiTest, T as TestCheckItem, u as TestNavigation } from './qti-test.d-
|
|
9
|
+
import { l as QtiTest, T as TestCheckItem, u as TestNavigation } from './qti-test.d-ClQtDdgx.js';
|
|
10
10
|
import { a as ComputedItem, C as ComputedContext } from './computed.types.d-SsTm3ieP.js';
|
|
11
11
|
import './config.context.d-BvU9r-Mg.js';
|
|
12
12
|
import './interaction.interface.d-CvjHM2bi.js';
|
package/dist/corrections.js
CHANGED
|
@@ -34,16 +34,16 @@ import {
|
|
|
34
34
|
TestNavigationCorrection,
|
|
35
35
|
TestShowCorrectResponse,
|
|
36
36
|
correctionPart
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FOXXE5BU.js";
|
|
38
38
|
import {
|
|
39
39
|
qtiTestElements
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-RGBQ65Y2.js";
|
|
41
41
|
import {
|
|
42
42
|
qtiContentElements
|
|
43
43
|
} from "./chunk-TFQAUWCM.js";
|
|
44
44
|
import {
|
|
45
45
|
qtiInteractionElements
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-4HQML3K4.js";
|
|
47
47
|
import {
|
|
48
48
|
qtiItemElements
|
|
49
49
|
} from "./chunk-I7ACMH74.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as ITestNavigationMixin, a as ITestStateMixin, b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as QtiBranchRule, f as QtiItemSessionControl, g as QtiNumberPresented, h as QtiNumberSelected, i as QtiOutcomeProcessing, j as QtiOutcomeProcessingProcessor, k as QtiPreCondition, l as QtiTest, m as QtiTestFeedback, n as QtiTestPart, o as QtiTestVariables, p as QtiTestVariablesExpression, S as SpeechState, T as TestCheckItem, q as TestContainer, r as TestEndAttempt, s as TestItemLink, t as TestItemToSpeech, u as TestNavigation, v as TestNext, w as TestPagingButtonsStamp, x as TestPrev, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, C as TestSectionButtonsStamp, D as TestSectionLink, E as TestStamp, F as TestTtsNext, G as TestTtsPause, H as TestTtsPick, J as TestTtsPlay, K as TestTtsPrev, L as TestTtsResume, M as TestTtsStop, N as TestView, O as TestViewToggle, P as TtsContext, R as ttsContext } from './qti-test.d-
|
|
1
|
+
export { I as ITestNavigationMixin, a as ITestStateMixin, b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as QtiBranchRule, f as QtiItemSessionControl, g as QtiNumberPresented, h as QtiNumberSelected, i as QtiOutcomeProcessing, j as QtiOutcomeProcessingProcessor, k as QtiPreCondition, l as QtiTest, m as QtiTestFeedback, n as QtiTestPart, o as QtiTestVariables, p as QtiTestVariablesExpression, S as SpeechState, T as TestCheckItem, q as TestContainer, r as TestEndAttempt, s as TestItemLink, t as TestItemToSpeech, u as TestNavigation, v as TestNext, w as TestPagingButtonsStamp, x as TestPrev, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, C as TestSectionButtonsStamp, D as TestSectionLink, E as TestStamp, F as TestTtsNext, G as TestTtsPause, H as TestTtsPick, J as TestTtsPlay, K as TestTtsPrev, L as TestTtsResume, M as TestTtsStop, N as TestView, O as TestViewToggle, P as TtsContext, R as formatVariableValue, U as ttsContext } from './qti-test.d-ClQtDdgx.js';
|
|
2
2
|
export { IMyQtiTest, IQtiTest, ITestProcessingMixin, QTI_TEST_STATE_VERSION, QtiTestState, QtiTestStateItem, QtiTestStateSession, QtiTestStateValue } from './test.js';
|
|
3
3
|
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-DjWvKbfL.js';
|
|
4
4
|
export { ItemViewMixin } from './item.js';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-SUMSMTZJ.js";
|
|
2
2
|
import {
|
|
3
3
|
CandidateCorrectionMixin,
|
|
4
4
|
ChoiceCorrectionMixin,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
TestNavigationCorrection,
|
|
36
36
|
TestShowCorrectResponse,
|
|
37
37
|
correctionPart
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FOXXE5BU.js";
|
|
39
39
|
import {
|
|
40
40
|
QTI_TEST_STATE_VERSION,
|
|
41
41
|
QtiAssessmentItemRef,
|
|
@@ -78,8 +78,9 @@ import {
|
|
|
78
78
|
TestTtsStop,
|
|
79
79
|
TestView,
|
|
80
80
|
TestViewToggle,
|
|
81
|
+
formatVariableValue,
|
|
81
82
|
ttsContext
|
|
82
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-RGBQ65Y2.js";
|
|
83
84
|
import "./chunk-H72OXVRF.js";
|
|
84
85
|
import {
|
|
85
86
|
PUBLIC_ITEM_EVENTS,
|
|
@@ -108,7 +109,7 @@ import {
|
|
|
108
109
|
listenDeclared,
|
|
109
110
|
listenPublic
|
|
110
111
|
} from "./chunk-TFQAUWCM.js";
|
|
111
|
-
import "./chunk-
|
|
112
|
+
import "./chunk-DG5PMMTM.js";
|
|
112
113
|
import {
|
|
113
114
|
QtiAssociableHotspot,
|
|
114
115
|
QtiAssociateInteraction,
|
|
@@ -145,7 +146,7 @@ import {
|
|
|
145
146
|
inlineScriptText,
|
|
146
147
|
inlineStyleText,
|
|
147
148
|
qtiInteractionElements
|
|
148
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-4HQML3K4.js";
|
|
149
150
|
import "./chunk-RV7ADJ33.js";
|
|
150
151
|
import {
|
|
151
152
|
ItemContainer,
|
|
@@ -523,6 +524,7 @@ export {
|
|
|
523
524
|
dispatchDeclared,
|
|
524
525
|
dispatchPublic,
|
|
525
526
|
dropRegion,
|
|
527
|
+
formatVariableValue,
|
|
526
528
|
getCustomOperator,
|
|
527
529
|
getItemByUri,
|
|
528
530
|
getManifestInfo,
|
package/dist/interactions.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-DG5PMMTM.js";
|
|
2
2
|
import {
|
|
3
3
|
QtiAssociableHotspot,
|
|
4
4
|
QtiAssociateInteraction,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
inlineScriptText,
|
|
36
36
|
inlineStyleText,
|
|
37
37
|
qtiInteractionElements
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-4HQML3K4.js";
|
|
39
39
|
import "./chunk-4DB4SC5K.js";
|
|
40
40
|
import "./chunk-QUTM5TT6.js";
|
|
41
41
|
export {
|
|
@@ -655,6 +655,11 @@ declare global {
|
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
|
|
658
|
+
/**
|
|
659
|
+
* A variable value as text: a list as `a, b`, a record (e.g. the response of a PCI) as `time: 3.6, point: 455 250`.
|
|
660
|
+
* Without this a record printed as "[object Object]".
|
|
661
|
+
*/
|
|
662
|
+
declare const formatVariableValue: (value: unknown) => string;
|
|
658
663
|
declare class TestPrintVariables extends LitElement {
|
|
659
664
|
computedContext?: ComputedContext;
|
|
660
665
|
static styles: lit.CSSResult;
|
|
@@ -1123,4 +1128,4 @@ declare global {
|
|
|
1123
1128
|
}
|
|
1124
1129
|
}
|
|
1125
1130
|
|
|
1126
|
-
export { TestScoringButtons as A, TestScoringFeedback as B, TestSectionButtonsStamp as C, TestSectionLink as D, TestStamp as E, TestTtsNext as F, TestTtsPause as G, TestTtsPick as H, type ITestNavigationMixin as I, TestTtsPlay as J, TestTtsPrev as K, TestTtsResume as L, TestTtsStop as M, TestView as N, TestViewToggle as O, type TtsContext as P, QtiAssessmentItemRef as Q,
|
|
1131
|
+
export { TestScoringButtons as A, TestScoringFeedback as B, TestSectionButtonsStamp as C, TestSectionLink as D, TestStamp as E, TestTtsNext as F, TestTtsPause as G, TestTtsPick as H, type ITestNavigationMixin as I, TestTtsPlay as J, TestTtsPrev as K, TestTtsResume as L, TestTtsStop as M, TestView as N, TestViewToggle as O, type TtsContext as P, QtiAssessmentItemRef as Q, formatVariableValue as R, type SpeechState as S, TestCheckItem as T, ttsContext as U, type ItemVariableValue as V, type ITestStateMixin as a, type ItemRefTemplateModel as b, QtiAssessmentSection as c, QtiAssessmentTest as d, QtiBranchRule as e, QtiItemSessionControl as f, QtiNumberPresented as g, QtiNumberSelected as h, QtiOutcomeProcessing as i, QtiOutcomeProcessingProcessor as j, QtiPreCondition as k, QtiTest as l, QtiTestFeedback as m, QtiTestPart as n, QtiTestVariables as o, QtiTestVariablesExpression as p, TestContainer as q, TestEndAttempt as r, TestItemLink as s, TestItemToSpeech as t, TestNavigation as u, TestNext as v, TestPagingButtonsStamp as w, TestPrev as x, TestPrintContext as y, TestPrintVariables as z };
|
package/dist/test.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as QtiBranchRule, f as QtiItemSessionControl, g as QtiNumberPresented, h as QtiNumberSelected, i as QtiOutcomeProcessing, j as QtiOutcomeProcessingProcessor, k as QtiPreCondition, l as QtiTest, m as QtiTestFeedback, n as QtiTestPart, o as QtiTestVariables, p as QtiTestVariablesExpression, S as SpeechState, T as TestCheckItem, q as TestContainer, r as TestEndAttempt, s as TestItemLink, t as TestItemToSpeech, u as TestNavigation, v as TestNext, w as TestPagingButtonsStamp, x as TestPrev, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, C as TestSectionButtonsStamp, D as TestSectionLink, E as TestStamp, F as TestTtsNext, G as TestTtsPause, H as TestTtsPick, J as TestTtsPlay, K as TestTtsPrev, L as TestTtsResume, M as TestTtsStop, N as TestView, O as TestViewToggle, P as TtsContext, R as ttsContext } from './qti-test.d-
|
|
1
|
+
import { V as ItemVariableValue, I as ITestNavigationMixin, a as ITestStateMixin } from './qti-test.d-ClQtDdgx.js';
|
|
2
|
+
export { b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as QtiBranchRule, f as QtiItemSessionControl, g as QtiNumberPresented, h as QtiNumberSelected, i as QtiOutcomeProcessing, j as QtiOutcomeProcessingProcessor, k as QtiPreCondition, l as QtiTest, m as QtiTestFeedback, n as QtiTestPart, o as QtiTestVariables, p as QtiTestVariablesExpression, S as SpeechState, T as TestCheckItem, q as TestContainer, r as TestEndAttempt, s as TestItemLink, t as TestItemToSpeech, u as TestNavigation, v as TestNext, w as TestPagingButtonsStamp, x as TestPrev, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, C as TestSectionButtonsStamp, D as TestSectionLink, E as TestStamp, F as TestTtsNext, G as TestTtsPause, H as TestTtsPick, J as TestTtsPlay, K as TestTtsPrev, L as TestTtsResume, M as TestTtsStop, N as TestView, O as TestViewToggle, P as TtsContext, R as formatVariableValue, U as ttsContext } from './qti-test.d-ClQtDdgx.js';
|
|
3
3
|
import { LitElement } from 'lit';
|
|
4
4
|
import { b as ItemContext, c as OutcomeVariable, V as VariableDeclaration } from './item.types.d-DuVR0ZVK.js';
|
|
5
5
|
import { S as SessionContext } from './session.context.d-Cw8GcziG.js';
|
package/dist/test.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-SUMSMTZJ.js";
|
|
2
2
|
import {
|
|
3
3
|
QTI_TEST_STATE_VERSION,
|
|
4
4
|
QtiAssessmentItemRef,
|
|
@@ -41,8 +41,9 @@ import {
|
|
|
41
41
|
TestTtsStop,
|
|
42
42
|
TestView,
|
|
43
43
|
TestViewToggle,
|
|
44
|
+
formatVariableValue,
|
|
44
45
|
ttsContext
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RGBQ65Y2.js";
|
|
46
47
|
import "./chunk-TFQAUWCM.js";
|
|
47
48
|
import "./chunk-QVZLJY75.js";
|
|
48
49
|
import "./chunk-4DB4SC5K.js";
|
|
@@ -90,6 +91,7 @@ export {
|
|
|
90
91
|
TestTtsStop,
|
|
91
92
|
TestView,
|
|
92
93
|
TestViewToggle,
|
|
94
|
+
formatVariableValue,
|
|
93
95
|
ttsContext
|
|
94
96
|
};
|
|
95
97
|
//# sourceMappingURL=test.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citolab/qti-components",
|
|
3
3
|
"description": "QTI component utilities",
|
|
4
|
-
"version": "9.6.
|
|
4
|
+
"version": "9.6.2",
|
|
5
5
|
"author": "",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@heximal/templates": "^0.1.5",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@qti-components/item": "^1.5.0",
|
|
18
18
|
"@qti-components/loader": "^1.3.3",
|
|
19
19
|
"@qti-components/processing": "^1.6.1",
|
|
20
|
-
"@qti-components/test": "^1.10.
|
|
20
|
+
"@qti-components/test": "^1.10.1",
|
|
21
21
|
"@qti-components/theme": "^2.3.0",
|
|
22
22
|
"@qti-components/transformers": "^1.7.3"
|
|
23
23
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|