@citolab/qti-components 8.0.0 → 8.0.1
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 +591 -217
- package/dist/base.d.ts +135 -9
- package/dist/{chunk-MJVPNN7W.js → chunk-3AJOQCDU.js} +2 -2
- package/dist/chunk-7HC5SMCU.js +102 -0
- package/dist/chunk-7HC5SMCU.js.map +1 -0
- package/dist/{chunk-MGF5F3S2.js → chunk-CAO4JRLY.js} +2 -2
- package/dist/{chunk-5SJS36BI.js → chunk-F4BNJWYN.js} +1 -1
- package/dist/{chunk-5SJS36BI.js.map → chunk-F4BNJWYN.js.map} +1 -1
- package/dist/{chunk-5QYII4OZ.js → chunk-LVBIQDPM.js} +2 -2
- package/dist/{chunk-W4QZPCNC.js → chunk-QECOPVPO.js} +2 -2
- package/dist/{chunk-LZJHHZQ2.js → chunk-RXGDQDOV.js} +177 -173
- package/dist/chunk-RXGDQDOV.js.map +1 -0
- package/dist/{chunk-KYEZRYO6.js → chunk-XU7HNT4F.js} +4 -4
- package/dist/computed-item.types.d-BKZdSLLJ.d.ts +19 -0
- package/dist/computed.types.d-rKLSPvVG.d.ts +42 -0
- package/dist/config.context.d-BvU9r-Mg.d.ts +91 -0
- package/dist/corrections.d.ts +432 -1
- package/dist/corrections.js +5 -5
- package/dist/elements.d.ts +393 -1
- package/dist/index.d.ts +58 -9
- package/dist/index.js +16 -8
- package/dist/interaction.d-D4MstYRz.d.ts +115 -0
- package/dist/interaction.interface.d-CvjHM2bi.d.ts +46 -0
- package/dist/interactions.d.ts +1569 -1
- package/dist/interactions.js +2 -2
- package/dist/item.css +588 -214
- package/dist/item.d.ts +92 -1
- package/dist/item.js +3 -3
- package/dist/item.types.d-QU7LljEK.d.ts +82 -0
- package/dist/loader.d.ts +22 -1
- package/dist/processing.d.ts +730 -1
- package/dist/qti-components-jsx.d.ts +221 -231
- package/dist/qti-components-jsx.js +1 -0
- package/dist/qti-condition-expression.d-aMvBvpc6.d.ts +8 -0
- package/dist/qti-expression.d-BietT_8b.d.ts +31 -0
- package/dist/qti-feedback.d-DZbad0RN.d.ts +21 -0
- package/dist/qti-rule-base.d-ajOnfGXY.d.ts +16 -0
- package/dist/qti-transform-test.d-BL7GGFJj.d.ts +70 -0
- package/dist/qti.context.d-CejJMlfZ.d.ts +50 -0
- package/dist/response.d-_8y4kjGP.d.ts +106 -0
- package/dist/test.d.ts +699 -1
- package/dist/test.js +11 -3
- package/dist/transformers.d.ts +18 -1
- package/package.json +11 -8
- package/dist/chunk-LZJHHZQ2.js.map +0 -1
- package/dist/chunk-WCQ26LV7.js +0 -102
- package/dist/chunk-WCQ26LV7.js.map +0 -1
- /package/dist/{chunk-MJVPNN7W.js.map → chunk-3AJOQCDU.js.map} +0 -0
- /package/dist/{chunk-MGF5F3S2.js.map → chunk-CAO4JRLY.js.map} +0 -0
- /package/dist/{chunk-5QYII4OZ.js.map → chunk-LVBIQDPM.js.map} +0 -0
- /package/dist/{chunk-W4QZPCNC.js.map → chunk-QECOPVPO.js.map} +0 -0
- /package/dist/{chunk-KYEZRYO6.js.map → chunk-XU7HNT4F.js.map} +0 -0
package/dist/test.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-CAO4JRLY.js";
|
|
2
2
|
import {
|
|
3
3
|
QtiAssessmentItemRef,
|
|
4
4
|
QtiAssessmentSection,
|
|
5
5
|
QtiAssessmentTest,
|
|
6
|
+
QtiOutcomeProcessing,
|
|
7
|
+
QtiOutcomeProcessingProcessor,
|
|
6
8
|
QtiTest,
|
|
7
9
|
QtiTestFeedback,
|
|
8
10
|
QtiTestPart,
|
|
11
|
+
QtiTestVariables,
|
|
12
|
+
QtiTestVariablesExpression,
|
|
9
13
|
TestCheckItem,
|
|
10
14
|
TestContainer,
|
|
11
15
|
TestEndAttempt,
|
|
@@ -31,10 +35,10 @@ import {
|
|
|
31
35
|
TestView,
|
|
32
36
|
TestViewToggle,
|
|
33
37
|
ttsContext
|
|
34
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-RXGDQDOV.js";
|
|
35
39
|
import "./chunk-WVVMNF74.js";
|
|
36
40
|
import "./chunk-X3E5HXG2.js";
|
|
37
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-7HC5SMCU.js";
|
|
38
42
|
import "./chunk-64XSIBGO.js";
|
|
39
43
|
import "./chunk-IJD53WY6.js";
|
|
40
44
|
import "./chunk-H3J7LFRO.js";
|
|
@@ -42,9 +46,13 @@ export {
|
|
|
42
46
|
QtiAssessmentItemRef,
|
|
43
47
|
QtiAssessmentSection,
|
|
44
48
|
QtiAssessmentTest,
|
|
49
|
+
QtiOutcomeProcessing,
|
|
50
|
+
QtiOutcomeProcessingProcessor,
|
|
45
51
|
QtiTest,
|
|
46
52
|
QtiTestFeedback,
|
|
47
53
|
QtiTestPart,
|
|
54
|
+
QtiTestVariables,
|
|
55
|
+
QtiTestVariablesExpression,
|
|
48
56
|
TestCheckItem,
|
|
49
57
|
TestContainer,
|
|
50
58
|
TestEndAttempt,
|
package/dist/transformers.d.ts
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test.d-BL7GGFJj.js';
|
|
2
|
+
|
|
3
|
+
declare const qtiTransformManifest: () => {
|
|
4
|
+
load: (uri: string, signal?: AbortSignal) => Promise<{
|
|
5
|
+
load(uri: string, signal: AbortSignal): Promise</*elided*/ any>;
|
|
6
|
+
parse(xmlString: string): void;
|
|
7
|
+
assessmentTest(): {
|
|
8
|
+
href: string;
|
|
9
|
+
identifier: string;
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
12
|
+
assessmentTest: () => {
|
|
13
|
+
href: string;
|
|
14
|
+
identifier: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { qtiTransformManifest };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citolab/qti-components",
|
|
3
3
|
"description": "QTI component utilities",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.1",
|
|
5
5
|
"author": "",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@heximal/templates": "^0.1.5",
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@qti-components/corrections": "^0.2.0",
|
|
13
13
|
"@qti-components/elements": "^1.6.4",
|
|
14
|
-
"@qti-components/base": "^2.0.0",
|
|
15
|
-
"@qti-components/interactions": "^1.10.4",
|
|
16
14
|
"@qti-components/item": "^1.4.2",
|
|
15
|
+
"@qti-components/interactions": "^1.10.4",
|
|
16
|
+
"@qti-components/base": "^2.0.0",
|
|
17
17
|
"@qti-components/loader": "^1.3.3",
|
|
18
18
|
"@qti-components/processing": "^1.3.4",
|
|
19
|
-
"@qti-components/test": "^1.5.
|
|
20
|
-
"@qti-components/theme": "^2.0.
|
|
19
|
+
"@qti-components/test": "^1.5.3",
|
|
20
|
+
"@qti-components/theme": "^2.0.1",
|
|
21
21
|
"@qti-components/transformers": "^1.7.1"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
@@ -64,7 +64,10 @@
|
|
|
64
64
|
"./item.css": "./dist/item.css",
|
|
65
65
|
"./cdn/*": "./cdn/*",
|
|
66
66
|
"./package.json": "./package.json",
|
|
67
|
-
"./react":
|
|
67
|
+
"./react": {
|
|
68
|
+
"types": "./dist/qti-components-jsx.d.ts",
|
|
69
|
+
"default": "./dist/qti-components-jsx.js"
|
|
70
|
+
}
|
|
68
71
|
},
|
|
69
72
|
"files": [
|
|
70
73
|
"dist",
|
|
@@ -91,11 +94,11 @@
|
|
|
91
94
|
"attw": "attw --pack --profile esm-only --format table",
|
|
92
95
|
"build": "run-s cem:react-types build:bundle",
|
|
93
96
|
"build:bundle": "run-p tsup css",
|
|
94
|
-
"cem:react-types": "CEM_OUTDIR=packages/qti-components/ pnpm -C ../.. run cem:core",
|
|
97
|
+
"cem:react-types": "CEM_OUTDIR=packages/qti-components/ pnpm -C ../.. run cem:core && node -e \"require('fs').writeFileSync('dist/qti-components-jsx.js','export {};\\n')\"",
|
|
95
98
|
"clean": "rm -rf dist cdn",
|
|
96
99
|
"css": "postcss ../qti-theme/src/item.css -d dist -m",
|
|
97
100
|
"publint": "publint",
|
|
98
|
-
"tsup": "tsup",
|
|
101
|
+
"tsup": "NODE_OPTIONS=--max-old-space-size=8192 tsup",
|
|
99
102
|
"yalc": "yalc publish",
|
|
100
103
|
"yalc:push": "yalc push",
|
|
101
104
|
"deploy": "cd ../interactions/core && pnpm run build && cd ../../qti-components && pnpm run build && yalc push"
|