@citolab/qti-components 7.14.2 → 7.14.3
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 +86 -78
- package/custom-elements.json +417 -1
- package/dist/chunks/{chunk-YD7FVKDP.js → chunk-AGV5GOTF.js} +3 -5
- package/dist/chunks/chunk-AGV5GOTF.js.map +1 -0
- package/dist/chunks/{chunk-2X2C5WI5.js → chunk-C4ELTNV7.js} +92 -33
- package/dist/chunks/chunk-C4ELTNV7.js.map +1 -0
- package/dist/chunks/{chunk-7567ZPN6.js → chunk-DGBI4IU5.js} +2 -2
- package/dist/chunks/{chunk-Z2FFXTKX.js → chunk-E4GR4K26.js} +15 -16
- package/dist/chunks/{chunk-Z2FFXTKX.js.map → chunk-E4GR4K26.js.map} +1 -1
- package/dist/chunks/{chunk-PT5ASWGQ.js → chunk-TN75CWLX.js} +9 -1
- package/dist/chunks/{chunk-PT5ASWGQ.js.map → chunk-TN75CWLX.js.map} +1 -1
- package/dist/exports/qti-test.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +30 -28
- package/dist/index.js.map +1 -1
- package/dist/item.css +8 -0
- package/dist/qti-components/index.d.ts +5 -3
- package/dist/qti-components/index.js +11 -9
- package/dist/qti-components-jsx.d.ts +65 -64
- package/dist/qti-item/index.js +2 -2
- package/dist/{qti-modal-feedback-PKbhO-3w.d.ts → qti-modal-feedback-Cp3CHVKw.d.ts} +1 -1
- package/dist/qti-test/index.d.ts +3 -3
- package/dist/qti-test/index.js +7 -7
- package/dist/{qti-test-Db7oNIWY.d.ts → qti-test-mmY8zNIj.d.ts} +1 -1
- package/dist/vscode.html-custom-data.json +18 -18
- package/package.json +10 -10
- package/dist/chunks/chunk-2X2C5WI5.js.map +0 -1
- package/dist/chunks/chunk-YD7FVKDP.js.map +0 -1
- /package/dist/chunks/{chunk-7567ZPN6.js.map → chunk-DGBI4IU5.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ItemContainer,
|
|
3
|
-
ItemShowCorrectResponse,
|
|
4
|
-
PrintItemVariables,
|
|
5
|
-
QtiItem
|
|
6
|
-
} from "./chunks/chunk-7567ZPN6.js";
|
|
7
1
|
import {
|
|
8
2
|
QtiAnd,
|
|
9
3
|
QtiAssessmentItem,
|
|
@@ -102,11 +96,13 @@ import {
|
|
|
102
96
|
QtiVariable,
|
|
103
97
|
qtiAndMixin,
|
|
104
98
|
qtiSubtractMixin
|
|
105
|
-
} from "./chunks/chunk-
|
|
106
|
-
import
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
99
|
+
} from "./chunks/chunk-C4ELTNV7.js";
|
|
100
|
+
import {
|
|
101
|
+
ItemContainer,
|
|
102
|
+
ItemShowCorrectResponse,
|
|
103
|
+
PrintItemVariables,
|
|
104
|
+
QtiItem
|
|
105
|
+
} from "./chunks/chunk-DGBI4IU5.js";
|
|
110
106
|
import {
|
|
111
107
|
QtiAssessmentItemRef,
|
|
112
108
|
QtiAssessmentSection,
|
|
@@ -132,23 +128,28 @@ import {
|
|
|
132
128
|
TestStamp,
|
|
133
129
|
TestView,
|
|
134
130
|
TestViewToggle
|
|
135
|
-
} from "./chunks/chunk-
|
|
136
|
-
import "./chunks/chunk-C5RLRG3L.js";
|
|
137
|
-
import "./chunks/chunk-PT5ASWGQ.js";
|
|
131
|
+
} from "./chunks/chunk-E4GR4K26.js";
|
|
138
132
|
import {
|
|
133
|
+
QtiFeedback,
|
|
139
134
|
QtiModalFeedback
|
|
140
|
-
} from "./chunks/chunk-
|
|
135
|
+
} from "./chunks/chunk-AGV5GOTF.js";
|
|
136
|
+
import "./chunks/chunk-TN75CWLX.js";
|
|
137
|
+
import "./chunks/chunk-ELDMXTUQ.js";
|
|
138
|
+
import "./chunks/chunk-XBPO6E25.js";
|
|
139
|
+
import "./chunks/chunk-SV4K25ZI.js";
|
|
140
|
+
import "./chunks/chunk-GAAFN7QF.js";
|
|
141
|
+
import "./chunks/chunk-H6KHXSIO.js";
|
|
142
|
+
import "./chunks/chunk-C5RLRG3L.js";
|
|
141
143
|
import {
|
|
142
144
|
INITIAL_TEST_CONTEXT,
|
|
143
145
|
testContext
|
|
144
146
|
} from "./chunks/chunk-CJADUWEC.js";
|
|
145
|
-
import "./chunks/chunk-H6KHXSIO.js";
|
|
146
|
-
import "./chunks/chunk-NJNQOQUU.js";
|
|
147
|
-
import "./chunks/chunk-ELDMXTUQ.js";
|
|
148
|
-
import "./chunks/chunk-XBPO6E25.js";
|
|
149
147
|
import "./chunks/chunk-4OGJBG35.js";
|
|
150
148
|
import "./chunks/chunk-DVQQ7I6Y.js";
|
|
149
|
+
import "./chunks/chunk-P4QBOVQ2.js";
|
|
150
|
+
import "./chunks/chunk-NJNQOQUU.js";
|
|
151
151
|
import "./chunks/chunk-BHJSX3Q6.js";
|
|
152
|
+
import "./chunks/chunk-JQ6HWGRY.js";
|
|
152
153
|
import "./chunks/chunk-H2JE6IVU.js";
|
|
153
154
|
|
|
154
155
|
// package.json
|
|
@@ -175,7 +176,7 @@ var package_default = {
|
|
|
175
176
|
engines: {
|
|
176
177
|
node: ">=22.0.0"
|
|
177
178
|
},
|
|
178
|
-
version: "7.14.
|
|
179
|
+
version: "7.14.3",
|
|
179
180
|
type: "module",
|
|
180
181
|
main: "./dist/index.js",
|
|
181
182
|
types: "./dist/index.d.ts",
|
|
@@ -228,7 +229,7 @@ var package_default = {
|
|
|
228
229
|
"build-storybook": "npm run cem && storybook build",
|
|
229
230
|
"-----------------------scripts--": "-",
|
|
230
231
|
build: "run-p cem css tsup",
|
|
231
|
-
"storybook:dev": "storybook dev -p 6006",
|
|
232
|
+
"storybook:dev": "storybook dev -p 6006 --no-open",
|
|
232
233
|
cem: "cem analyze",
|
|
233
234
|
"cem:watch": "cem analyze --watch",
|
|
234
235
|
css: "postcss src/item.css -d dist -m",
|
|
@@ -244,7 +245,7 @@ var package_default = {
|
|
|
244
245
|
madge: "madge --circular --extensions ts src",
|
|
245
246
|
commitlint: "commitlint --edit",
|
|
246
247
|
"-----------------------npm--": "-",
|
|
247
|
-
prepare: "husky"
|
|
248
|
+
prepare: "husky && npm run build"
|
|
248
249
|
},
|
|
249
250
|
peerDependencies: {
|
|
250
251
|
"@heximal/templates": "^0.1.5",
|
|
@@ -274,13 +275,13 @@ var package_default = {
|
|
|
274
275
|
"@vitest/browser": "^3.2.4",
|
|
275
276
|
"@vitest/coverage-v8": "^3.2.4",
|
|
276
277
|
"@vitest/ui": "^3.2.4",
|
|
277
|
-
"@wc-toolkit/cem-inheritance": "^1.
|
|
278
|
+
"@wc-toolkit/cem-inheritance": "^1.2.2",
|
|
278
279
|
"@wc-toolkit/cem-sorter": "^1.0.1",
|
|
279
|
-
"@wc-toolkit/cem-utilities": "^1.
|
|
280
|
-
"@wc-toolkit/changelog": "^1.0.
|
|
281
|
-
"@wc-toolkit/jsx-types": "^1.
|
|
282
|
-
"@wc-toolkit/storybook-helpers": "^9.0.
|
|
283
|
-
"@wc-toolkit/type-parser": "^1.
|
|
280
|
+
"@wc-toolkit/cem-utilities": "^1.5.0",
|
|
281
|
+
"@wc-toolkit/changelog": "^1.0.2",
|
|
282
|
+
"@wc-toolkit/jsx-types": "^1.4.3",
|
|
283
|
+
"@wc-toolkit/storybook-helpers": "^9.0.1",
|
|
284
|
+
"@wc-toolkit/type-parser": "^1.2.0",
|
|
284
285
|
autoprefixer: "^10.4.21",
|
|
285
286
|
chromatic: "^13.0.0",
|
|
286
287
|
"custom-element-vs-code-integration": "^1.5.0",
|
|
@@ -390,6 +391,7 @@ export {
|
|
|
390
391
|
QtiEqual,
|
|
391
392
|
QtiEqualRounded,
|
|
392
393
|
QtiExtendedTextInteraction,
|
|
394
|
+
QtiFeedback,
|
|
393
395
|
QtiFeedbackBlock,
|
|
394
396
|
QtiFeedbackInline,
|
|
395
397
|
QtiFieldValue,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../package.json","../src/lib/index.ts"],"sourcesContent":["{\n \"name\": \"@citolab/qti-components\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/Citolab/qti-components.git\"\n },\n \"description\": \"QTI webcomponents\",\n \"author\": {\n \"name\": \"Patrick de Klein\"\n },\n \"contributors\": [\n {\n \"name\": \"Sander Looise\"\n },\n {\n \"name\": \"Marcel Hoekstra\"\n }\n ],\n \"license\": \"GPLv3\",\n \"private\": false,\n \"engines\": {\n \"node\": \">=22.0.0\"\n },\n \"version\": \"7.14.2\",\n \"type\": \"module\",\n \"main\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"sideEffects\": true,\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\"\n },\n \"./exports/*\": {\n \"import\": \"./dist/exports/*\"\n },\n \"./qti-components\": {\n \"types\": \"./dist/qti-components/index.d.ts\",\n \"import\": \"./dist/qti-components/index.js\"\n },\n \"./qti-item\": {\n \"types\": \"./dist/qti-item/index.d.ts\",\n \"import\": \"./dist/qti-item/index.js\"\n },\n \"./qti-test\": {\n \"types\": \"./dist/qti-test/index.d.ts\",\n \"import\": \"./dist/qti-test/index.js\"\n },\n \"./qti-loader\": {\n \"types\": \"./dist/qti-loader/index.d.ts\",\n \"import\": \"./dist/qti-loader/index.js\"\n },\n \"./qti-transformers\": {\n \"types\": \"./dist/qti-transformers/index.d.ts\",\n \"import\": \"./dist/qti-transformers/index.js\"\n },\n \"./customElements\": \"./custom-elements.json\",\n \"./react\": \"./dist/qti-components-jsx.d.ts\",\n \"./item.css\": \"./dist/item.css\",\n \"./cdn/*\": \"./cdn/*\",\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"cdn\",\n \"custom-elements.json\"\n ],\n \"scripts\": {\n \"storybook\": \"run-p storybook:dev cem:watch\",\n \"watch\": \"nodemon --watch src --ext ts,css --exec \\\"run-s tsup cem css && yalc push\\\"\",\n \"-----------------------cmds--\": \"-\",\n \"pre-commit\": \"run-s lint stylelint madge\",\n \"commit-msg\": \"commitlint --edit\",\n \"build-storybook\": \"npm run cem && storybook build\",\n \"-----------------------scripts--\": \"-\",\n \"build\": \"run-p cem css tsup\",\n \"storybook:dev\": \"storybook dev -p 6006\",\n \"cem\": \"cem analyze\",\n \"cem:watch\": \"cem analyze --watch\",\n \"css\": \"postcss src/item.css -d dist -m\",\n \"ci\": \"npm ci\",\n \"tsup\": \"tsup\",\n \"publint\": \"publint\",\n \"lint\": \"eslint src/**/*.ts\",\n \"stylelint\": \"stylelint \\\"src/**/*.css\\\"\",\n \"test\": \"vitest run\",\n \"attw\": \"attw --profile esm-only --pack --exclude-entrypoints ./item.css ./react\",\n \"chromatic\": \"node chromatic-runner.cjs\",\n \"clean\": \"rm -rf dist cdn\",\n \"madge\": \"madge --circular --extensions ts src\",\n \"commitlint\": \"commitlint --edit\",\n \"-----------------------npm--\": \"-\",\n \"prepare\": \"husky\"\n },\n \"peerDependencies\": {\n \"@heximal/templates\": \"^0.1.5\",\n \"@lit/context\": \"^1.1.3\",\n \"lit\": \"^3.2.1\"\n },\n \"devDependencies\": {\n \"@arethetypeswrong/cli\": \"^0.18.2\",\n \"@chromatic-com/storybook\": \"^4.1.1\",\n \"@commitlint/cli\": \"^19.8.1\",\n \"@commitlint/config-conventional\": \"^19.8.1\",\n \"@custom-elements-manifest/analyzer\": \"^0.10.4\",\n \"@eslint/js\": \"^9.29.0\",\n \"@heximal/templates\": \"0.1.5\",\n \"@lit/context\": \"^1.1.5\",\n \"@open-wc/lit-helpers\": \"^0.7.0\",\n \"@storybook/addon-a11y\": \"^9.1.5\",\n \"@storybook/addon-docs\": \"^9.1.5\",\n \"@storybook/addon-links\": \"^9.1.5\",\n \"@storybook/addon-themes\": \"^9.1.5\",\n \"@storybook/addon-vitest\": \"^9.1.5\",\n \"@storybook/web-components-vite\": \"^9.1.5\",\n \"@swc/core\": \"^1.12.1\",\n \"@testing-library/dom\": \"^10.4.0\",\n \"@types/dom-view-transitions\": \"^1.0.6\",\n \"@types/node\": \"^24.0.3\",\n \"@vitest/browser\": \"^3.2.4\",\n \"@vitest/coverage-v8\": \"^3.2.4\",\n \"@vitest/ui\": \"^3.2.4\",\n \"@wc-toolkit/cem-inheritance\": \"^1.1.0\",\n \"@wc-toolkit/cem-sorter\": \"^1.0.1\",\n \"@wc-toolkit/cem-utilities\": \"^1.3.0\",\n \"@wc-toolkit/changelog\": \"^1.0.1\",\n \"@wc-toolkit/jsx-types\": \"^1.2.2\",\n \"@wc-toolkit/storybook-helpers\": \"^9.0.0\",\n \"@wc-toolkit/type-parser\": \"^1.1.0\",\n \"autoprefixer\": \"^10.4.21\",\n \"chromatic\": \"^13.0.0\",\n \"custom-element-vs-code-integration\": \"^1.5.0\",\n \"custom-elements-manifest-deprecator\": \"^1.2.0\",\n \"dotenv\": \"^16.5.0\",\n \"eslint\": \"^9.29.0\",\n \"eslint-import-resolver-typescript\": \"^4.4.3\",\n \"eslint-plugin-import\": \"^2.31.0\",\n \"eslint-plugin-lit\": \"^2.1.1\",\n \"eslint-plugin-lit-a11y\": \"^5.0.1\",\n \"eslint-plugin-react\": \"^7.37.5\",\n \"eslint-plugin-sort-imports-es6-autofix\": \"^0.6.0\",\n \"eslint-plugin-storybook\": \"^9.1.5\",\n \"eslint-plugin-wc\": \"^3.0.1\",\n \"fast-xml-parser\": \"^5.2.5\",\n \"globals\": \"^16.2.0\",\n \"globby\": \"^14.1.0\",\n \"husky\": \"^9.1.7\",\n \"lit\": \"^3.3.0\",\n \"madge\": \"^8.0.0\",\n \"mdx-mermaid\": \"^2.0.3\",\n \"mermaid\": \"^11.12.0\",\n \"msw\": \"^2.11.5\",\n \"msw-storybook-addon\": \"^2.0.5\",\n \"nodemon\": \"^3.1.10\",\n \"npm-run-all\": \"^4.1.5\",\n \"path-browserify\": \"^1.0.1\",\n \"pkg-pr-new\": \"^0.0.51\",\n \"playwright\": \"^1.53.0\",\n \"postcss\": \"^8.5.6\",\n \"postcss-class-apply\": \"^4.0.1\",\n \"postcss-cli\": \"^11.0.1\",\n \"postcss-import\": \"^16.1.1\",\n \"postcss-nesting\": \"^13.0.2\",\n \"prettier\": \"3.5.3\",\n \"prettier-v2\": \"npm:prettier@2.8.8\",\n \"publint\": \"^0.3.12\",\n \"remark-gfm\": \"^4.0.1\",\n \"shadow-dom-testing-library\": \"^1.12.0\",\n \"storybook\": \"^9.1.5\",\n \"storybook-addon-tag-badges\": \"^2.0.1\",\n \"stylelint\": \"^16.20.0\",\n \"stylelint-config-standard\": \"^38.0.0\",\n \"stylelint-prettier\": \"^5.0.3\",\n \"tsup\": \"^8.5.0\",\n \"typescript\": \"^5.8.3\",\n \"typescript-eslint\": \"^8.34.1\",\n \"vite\": \"^6.3.5\",\n \"vite-tsconfig-paths\": \"^5.1.4\",\n \"vitest\": \"^3.2.4\",\n \"yalc\": \"^1.0.0-pre.53\"\n },\n \"optionalDependencies\": {\n \"@rollup/rollup-linux-x64-gnu\": \"^4.43.0\"\n },\n \"customElements\": \"custom-elements.json\",\n \"bugs\": {\n \"url\": \"https://github.com/Citolab/qti-components/issues\"\n },\n \"homepage\": \"https://github.com/Citolab/qti-components#readme\",\n \"overrides\": {\n \"storybook\": \"$storybook\"\n },\n \"msw\": {\n \"workerDirectory\": [\n \"public\"\n ]\n }\n}\n","export * from './qti-components';\nexport * from './qti-test';\nexport * from './qti-item';\n\n// Import version from package.json\nimport packageJson from '../../package.json' assert { type: 'json' };\n\nconsole.info(\n '%cC¿TO%cLab%c: qti-components v%c%s%c loaded',\n 'font-family: \"PT Sans\", font-weight:bold; color:green; font-size: smaller;vertical-align: sub',\n 'font-weight:bold; color:green',\n 'font-weight:unset',\n 'font-weight:bold; color:#2563eb',\n packageJson.version,\n 'font-weight:unset'\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ts"],"sourcesContent":["{\n \"name\": \"@citolab/qti-components\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/Citolab/qti-components.git\"\n },\n \"description\": \"QTI webcomponents\",\n \"author\": {\n \"name\": \"Patrick de Klein\"\n },\n \"contributors\": [\n {\n \"name\": \"Sander Looise\"\n },\n {\n \"name\": \"Marcel Hoekstra\"\n }\n ],\n \"license\": \"GPLv3\",\n \"private\": false,\n \"engines\": {\n \"node\": \">=22.0.0\"\n },\n \"version\": \"7.14.3\",\n \"type\": \"module\",\n \"main\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"sideEffects\": true,\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\"\n },\n \"./exports/*\": {\n \"import\": \"./dist/exports/*\"\n },\n \"./qti-components\": {\n \"types\": \"./dist/qti-components/index.d.ts\",\n \"import\": \"./dist/qti-components/index.js\"\n },\n \"./qti-item\": {\n \"types\": \"./dist/qti-item/index.d.ts\",\n \"import\": \"./dist/qti-item/index.js\"\n },\n \"./qti-test\": {\n \"types\": \"./dist/qti-test/index.d.ts\",\n \"import\": \"./dist/qti-test/index.js\"\n },\n \"./qti-loader\": {\n \"types\": \"./dist/qti-loader/index.d.ts\",\n \"import\": \"./dist/qti-loader/index.js\"\n },\n \"./qti-transformers\": {\n \"types\": \"./dist/qti-transformers/index.d.ts\",\n \"import\": \"./dist/qti-transformers/index.js\"\n },\n \"./customElements\": \"./custom-elements.json\",\n \"./react\": \"./dist/qti-components-jsx.d.ts\",\n \"./item.css\": \"./dist/item.css\",\n \"./cdn/*\": \"./cdn/*\",\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"cdn\",\n \"custom-elements.json\"\n ],\n \"scripts\": {\n \"storybook\": \"run-p storybook:dev cem:watch\",\n \"watch\": \"nodemon --watch src --ext ts,css --exec \\\"run-s tsup cem css && yalc push\\\"\",\n \"-----------------------cmds--\": \"-\",\n \"pre-commit\": \"run-s lint stylelint madge\",\n \"commit-msg\": \"commitlint --edit\",\n \"build-storybook\": \"npm run cem && storybook build\",\n \"-----------------------scripts--\": \"-\",\n \"build\": \"run-p cem css tsup\",\n \"storybook:dev\": \"storybook dev -p 6006 --no-open\",\n \"cem\": \"cem analyze\",\n \"cem:watch\": \"cem analyze --watch\",\n \"css\": \"postcss src/item.css -d dist -m\",\n \"ci\": \"npm ci\",\n \"tsup\": \"tsup\",\n \"publint\": \"publint\",\n \"lint\": \"eslint src/**/*.ts\",\n \"stylelint\": \"stylelint \\\"src/**/*.css\\\"\",\n \"test\": \"vitest run\",\n \"attw\": \"attw --profile esm-only --pack --exclude-entrypoints ./item.css ./react\",\n \"chromatic\": \"node chromatic-runner.cjs\",\n \"clean\": \"rm -rf dist cdn\",\n \"madge\": \"madge --circular --extensions ts src\",\n \"commitlint\": \"commitlint --edit\",\n \"-----------------------npm--\": \"-\",\n \"prepare\": \"husky && npm run build\"\n },\n \"peerDependencies\": {\n \"@heximal/templates\": \"^0.1.5\",\n \"@lit/context\": \"^1.1.3\",\n \"lit\": \"^3.2.1\"\n },\n \"devDependencies\": {\n \"@arethetypeswrong/cli\": \"^0.18.2\",\n \"@chromatic-com/storybook\": \"^4.1.1\",\n \"@commitlint/cli\": \"^19.8.1\",\n \"@commitlint/config-conventional\": \"^19.8.1\",\n \"@custom-elements-manifest/analyzer\": \"^0.10.4\",\n \"@eslint/js\": \"^9.29.0\",\n \"@heximal/templates\": \"0.1.5\",\n \"@lit/context\": \"^1.1.5\",\n \"@open-wc/lit-helpers\": \"^0.7.0\",\n \"@storybook/addon-a11y\": \"^9.1.5\",\n \"@storybook/addon-docs\": \"^9.1.5\",\n \"@storybook/addon-links\": \"^9.1.5\",\n \"@storybook/addon-themes\": \"^9.1.5\",\n \"@storybook/addon-vitest\": \"^9.1.5\",\n \"@storybook/web-components-vite\": \"^9.1.5\",\n \"@swc/core\": \"^1.12.1\",\n \"@testing-library/dom\": \"^10.4.0\",\n \"@types/dom-view-transitions\": \"^1.0.6\",\n \"@types/node\": \"^24.0.3\",\n \"@vitest/browser\": \"^3.2.4\",\n \"@vitest/coverage-v8\": \"^3.2.4\",\n \"@vitest/ui\": \"^3.2.4\",\n \"@wc-toolkit/cem-inheritance\": \"^1.2.2\",\n \"@wc-toolkit/cem-sorter\": \"^1.0.1\",\n \"@wc-toolkit/cem-utilities\": \"^1.5.0\",\n \"@wc-toolkit/changelog\": \"^1.0.2\",\n \"@wc-toolkit/jsx-types\": \"^1.4.3\",\n \"@wc-toolkit/storybook-helpers\": \"^9.0.1\",\n \"@wc-toolkit/type-parser\": \"^1.2.0\",\n \"autoprefixer\": \"^10.4.21\",\n \"chromatic\": \"^13.0.0\",\n \"custom-element-vs-code-integration\": \"^1.5.0\",\n \"custom-elements-manifest-deprecator\": \"^1.2.0\",\n \"dotenv\": \"^16.5.0\",\n \"eslint\": \"^9.29.0\",\n \"eslint-import-resolver-typescript\": \"^4.4.3\",\n \"eslint-plugin-import\": \"^2.31.0\",\n \"eslint-plugin-lit\": \"^2.1.1\",\n \"eslint-plugin-lit-a11y\": \"^5.0.1\",\n \"eslint-plugin-react\": \"^7.37.5\",\n \"eslint-plugin-sort-imports-es6-autofix\": \"^0.6.0\",\n \"eslint-plugin-storybook\": \"^9.1.5\",\n \"eslint-plugin-wc\": \"^3.0.1\",\n \"fast-xml-parser\": \"^5.2.5\",\n \"globals\": \"^16.2.0\",\n \"globby\": \"^14.1.0\",\n \"husky\": \"^9.1.7\",\n \"lit\": \"^3.3.0\",\n \"madge\": \"^8.0.0\",\n \"mdx-mermaid\": \"^2.0.3\",\n \"mermaid\": \"^11.12.0\",\n \"msw\": \"^2.11.5\",\n \"msw-storybook-addon\": \"^2.0.5\",\n \"nodemon\": \"^3.1.10\",\n \"npm-run-all\": \"^4.1.5\",\n \"path-browserify\": \"^1.0.1\",\n \"pkg-pr-new\": \"^0.0.51\",\n \"playwright\": \"^1.53.0\",\n \"postcss\": \"^8.5.6\",\n \"postcss-class-apply\": \"^4.0.1\",\n \"postcss-cli\": \"^11.0.1\",\n \"postcss-import\": \"^16.1.1\",\n \"postcss-nesting\": \"^13.0.2\",\n \"prettier\": \"3.5.3\",\n \"prettier-v2\": \"npm:prettier@2.8.8\",\n \"publint\": \"^0.3.12\",\n \"remark-gfm\": \"^4.0.1\",\n \"shadow-dom-testing-library\": \"^1.12.0\",\n \"storybook\": \"^9.1.5\",\n \"storybook-addon-tag-badges\": \"^2.0.1\",\n \"stylelint\": \"^16.20.0\",\n \"stylelint-config-standard\": \"^38.0.0\",\n \"stylelint-prettier\": \"^5.0.3\",\n \"tsup\": \"^8.5.0\",\n \"typescript\": \"^5.8.3\",\n \"typescript-eslint\": \"^8.34.1\",\n \"vite\": \"^6.3.5\",\n \"vite-tsconfig-paths\": \"^5.1.4\",\n \"vitest\": \"^3.2.4\",\n \"yalc\": \"^1.0.0-pre.53\"\n },\n \"optionalDependencies\": {\n \"@rollup/rollup-linux-x64-gnu\": \"^4.43.0\"\n },\n \"customElements\": \"custom-elements.json\",\n \"bugs\": {\n \"url\": \"https://github.com/Citolab/qti-components/issues\"\n },\n \"homepage\": \"https://github.com/Citolab/qti-components#readme\",\n \"overrides\": {\n \"storybook\": \"$storybook\"\n },\n \"msw\": {\n \"workerDirectory\": [\n \"public\"\n ]\n }\n}","export * from './qti-components';\nexport * from './qti-test';\nexport * from './qti-item';\n\n// Import version from package.json\nimport packageJson from '../../package.json' assert { type: 'json' };\n\nconsole.info(\n '%cC¿TO%cLab%c: qti-components v%c%s%c loaded',\n 'font-family: \"PT Sans\", font-weight:bold; color:green; font-size: smaller;vertical-align: sub',\n 'font-weight:bold; color:green',\n 'font-weight:unset',\n 'font-weight:bold; color:#2563eb',\n packageJson.version,\n 'font-weight:unset'\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA,IAC1B,uBAAuB;AAAA,IACvB,0CAA0C;AAAA,IAC1C,2BAA2B;AAAA,IAC3B,oBAAoB;AAAA,IACpB,mBAAmB;AAAA,IACnB,SAAW;AAAA,IACX,QAAU;AAAA,IACV,OAAS;AAAA,IACT,KAAO;AAAA,IACP,OAAS;AAAA,IACT,eAAe;AAAA,IACf,SAAW;AAAA,IACX,KAAO;AAAA,IACP,uBAAuB;AAAA,IACvB,SAAW;AAAA,IACX,eAAe;AAAA,IACf,mBAAmB;AAAA,IACnB,cAAc;AAAA,IACd,YAAc;AAAA,IACd,SAAW;AAAA,IACX,uBAAuB;AAAA,IACvB,eAAe;AAAA,IACf,kBAAkB;AAAA,IAClB,mBAAmB;AAAA,IACnB,UAAY;AAAA,IACZ,eAAe;AAAA,IACf,SAAW;AAAA,IACX,cAAc;AAAA,IACd,8BAA8B;AAAA,IAC9B,WAAa;AAAA,IACb,8BAA8B;AAAA,IAC9B,WAAa;AAAA,IACb,6BAA6B;AAAA,IAC7B,sBAAsB;AAAA,IACtB,MAAQ;AAAA,IACR,YAAc;AAAA,IACd,qBAAqB;AAAA,IACrB,MAAQ;AAAA,IACR,uBAAuB;AAAA,IACvB,QAAU;AAAA,IACV,MAAQ;AAAA,EACV;AAAA,EACA,sBAAwB;AAAA,IACtB,gCAAgC;AAAA,EAClC;AAAA,EACA,gBAAkB;AAAA,EAClB,MAAQ;AAAA,IACN,KAAO;AAAA,EACT;AAAA,EACA,UAAY;AAAA,EACZ,WAAa;AAAA,IACX,WAAa;AAAA,EACf;AAAA,EACA,KAAO;AAAA,IACL,iBAAmB;AAAA,MACjB;AAAA,IACF;AAAA,EACF;AACF;;;AC9LA,QAAQ;AAAA,EACN;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,gBAAY;AAAA,EACZ;AACF;","names":[]}
|
package/dist/item.css
CHANGED
|
@@ -2367,6 +2367,14 @@ qti-response-declaration {
|
|
|
2367
2367
|
&:focus {
|
|
2368
2368
|
box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
|
|
2369
2369
|
}
|
|
2370
|
+
|
|
2371
|
+
&:state(candidate-correct) {
|
|
2372
|
+
background-color: var(--qti-correct);
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
&:state(candidate-incorrect) {
|
|
2376
|
+
background-color: var(--qti-incorrect);
|
|
2377
|
+
}
|
|
2370
2378
|
|
|
2371
2379
|
box-sizing: border-box;
|
|
2372
2380
|
|
|
@@ -3,8 +3,8 @@ import * as lit from 'lit';
|
|
|
3
3
|
import { LitElement, CSSResultGroup, PropertyValues, PropertyValueMap, nothing } from 'lit';
|
|
4
4
|
import * as lit_html from 'lit-html';
|
|
5
5
|
import { Calculate, Cardinality, BaseType } from '../exports/expression-result.js';
|
|
6
|
-
import {
|
|
7
|
-
export {
|
|
6
|
+
import { Q as QtiFeedback } from '../qti-modal-feedback-Cp3CHVKw.js';
|
|
7
|
+
export { a as QtiModalFeedback } from '../qti-modal-feedback-Cp3CHVKw.js';
|
|
8
8
|
import { IInteraction } from '../exports/interaction.interface.js';
|
|
9
9
|
import { Interaction, Correctness } from '../exports/interaction.js';
|
|
10
10
|
import { ConfigContext } from '../exports/config.context.js';
|
|
@@ -266,6 +266,8 @@ declare class QtiGapMatchInteraction extends QtiGapMatchInteraction_base {
|
|
|
266
266
|
static styles: CSSResultGroup;
|
|
267
267
|
render(): lit_html.TemplateResult<1>;
|
|
268
268
|
toggleCorrectResponse(show: boolean): void;
|
|
269
|
+
private getMatches;
|
|
270
|
+
toggleCandidateCorrection(show: boolean): void;
|
|
269
271
|
}
|
|
270
272
|
declare global {
|
|
271
273
|
interface HTMLElementTagNameMap {
|
|
@@ -1519,4 +1521,4 @@ declare global {
|
|
|
1519
1521
|
}
|
|
1520
1522
|
}
|
|
1521
1523
|
|
|
1522
|
-
export { type Orientation, QtiAnd, QtiAssessmentItem, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiContainerSize, QtiContains, QtiContentBody, QtiCorrect, QtiCustomInteraction, QtiCustomOperator, QtiDefault, QtiDelete, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiFieldValue, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGcd, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiIndex, QtiInlineChoice, QtiInlineChoiceInteraction, QtiIsNull, QtiItemBody, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMatchInteraction, QtiMathOperator, QtiMediaInteraction, QtiMember, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeDeclaration, QtiOutcomeProcessing, QtiOutcomeProcessingProcessor, QtiPortableCustomInteraction, QtiPositionObjectInteraction, QtiPositionObjectStage, QtiPower, QtiPrintedVariable, QtiProduct, QtiPrompt, QtiRandom, QtiRandomInteger, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRound, QtiRoundTo, QtiRubricBlock, QtiRule, type QtiRuleBase, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSubtract, QtiSum, QtiSumExpression, QtiTextEntryInteraction, QtiUploadInteraction, QtiVariable, qtiAndMixin, qtiSubtractMixin };
|
|
1524
|
+
export { type Orientation, QtiAnd, QtiAssessmentItem, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiContainerSize, QtiContains, QtiContentBody, QtiCorrect, QtiCustomInteraction, QtiCustomOperator, QtiDefault, QtiDelete, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExtendedTextInteraction, QtiFeedback, QtiFeedbackBlock, QtiFeedbackInline, QtiFieldValue, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGcd, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiIndex, QtiInlineChoice, QtiInlineChoiceInteraction, QtiIsNull, QtiItemBody, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMatchInteraction, QtiMathOperator, QtiMediaInteraction, QtiMember, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeDeclaration, QtiOutcomeProcessing, QtiOutcomeProcessingProcessor, QtiPortableCustomInteraction, QtiPositionObjectInteraction, QtiPositionObjectStage, QtiPower, QtiPrintedVariable, QtiProduct, QtiPrompt, QtiRandom, QtiRandomInteger, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRound, QtiRoundTo, QtiRubricBlock, QtiRule, type QtiRuleBase, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSubtract, QtiSum, QtiSumExpression, QtiTextEntryInteraction, QtiUploadInteraction, QtiVariable, qtiAndMixin, qtiSubtractMixin };
|
|
@@ -96,20 +96,21 @@ import {
|
|
|
96
96
|
QtiVariable,
|
|
97
97
|
qtiAndMixin,
|
|
98
98
|
qtiSubtractMixin
|
|
99
|
-
} from "../chunks/chunk-
|
|
100
|
-
import "../chunks/chunk-P4QBOVQ2.js";
|
|
101
|
-
import "../chunks/chunk-JQ6HWGRY.js";
|
|
102
|
-
import "../chunks/chunk-SV4K25ZI.js";
|
|
103
|
-
import "../chunks/chunk-GAAFN7QF.js";
|
|
99
|
+
} from "../chunks/chunk-C4ELTNV7.js";
|
|
104
100
|
import {
|
|
101
|
+
QtiFeedback,
|
|
105
102
|
QtiModalFeedback
|
|
106
|
-
} from "../chunks/chunk-
|
|
107
|
-
import "../chunks/chunk-CJADUWEC.js";
|
|
108
|
-
import "../chunks/chunk-H6KHXSIO.js";
|
|
109
|
-
import "../chunks/chunk-NJNQOQUU.js";
|
|
103
|
+
} from "../chunks/chunk-AGV5GOTF.js";
|
|
110
104
|
import "../chunks/chunk-ELDMXTUQ.js";
|
|
111
105
|
import "../chunks/chunk-XBPO6E25.js";
|
|
106
|
+
import "../chunks/chunk-SV4K25ZI.js";
|
|
107
|
+
import "../chunks/chunk-GAAFN7QF.js";
|
|
108
|
+
import "../chunks/chunk-H6KHXSIO.js";
|
|
109
|
+
import "../chunks/chunk-CJADUWEC.js";
|
|
110
|
+
import "../chunks/chunk-P4QBOVQ2.js";
|
|
111
|
+
import "../chunks/chunk-NJNQOQUU.js";
|
|
112
112
|
import "../chunks/chunk-BHJSX3Q6.js";
|
|
113
|
+
import "../chunks/chunk-JQ6HWGRY.js";
|
|
113
114
|
import "../chunks/chunk-H2JE6IVU.js";
|
|
114
115
|
export {
|
|
115
116
|
QtiAnd,
|
|
@@ -133,6 +134,7 @@ export {
|
|
|
133
134
|
QtiEqual,
|
|
134
135
|
QtiEqualRounded,
|
|
135
136
|
QtiExtendedTextInteraction,
|
|
137
|
+
QtiFeedback,
|
|
136
138
|
QtiFeedbackBlock,
|
|
137
139
|
QtiFeedbackInline,
|
|
138
140
|
QtiFieldValue,
|
|
@@ -66,9 +66,9 @@ import type { QtiCustomInteraction } from "src/lib/qti-components/qti-interactio
|
|
|
66
66
|
import type { QtiEndAttemptInteraction } from "src/lib/qti-components/qti-interaction/qti-end-attempt-interaction/qti-end-attempt-interaction.ts";
|
|
67
67
|
import type { QtiExtendedTextInteraction } from "src/lib/qti-components/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.ts";
|
|
68
68
|
import type { QtiGapImg } from "src/lib/qti-components/qti-interaction/qti-gap-img.ts";
|
|
69
|
+
import type { QtiGap } from "src/lib/qti-components/qti-interaction/qti-gap.ts";
|
|
69
70
|
import type { QtiGapMatchInteraction } from "src/lib/qti-components/qti-interaction/qti-gap-match-interaction/qti-gap-match-interaction.ts";
|
|
70
71
|
import type { QtiGapText } from "src/lib/qti-components/qti-interaction/qti-gap-text.ts";
|
|
71
|
-
import type { QtiGap } from "src/lib/qti-components/qti-interaction/qti-gap.ts";
|
|
72
72
|
import type { QtiHotspotChoice } from "src/lib/qti-components/qti-interaction/qti-hotspot-choice.ts";
|
|
73
73
|
import type { QtiGraphicAssociateInteraction } from "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/qti-graphic-associate-interaction.ts";
|
|
74
74
|
import type { QtiGraphicGapMatchInteraction } from "src/lib/qti-components/qti-interaction/qti-graphic-gap-match-interaction/qti-graphic-gap-match-interaction.ts";
|
|
@@ -98,8 +98,8 @@ import type { QtiVariableDeclaration } from "src/lib/qti-components/qti-variable
|
|
|
98
98
|
import type { QtiOutcomeDeclaration } from "src/lib/qti-components/qti-variable-declaration/qti-outcome-declaration/qti-outcome-declaration.ts";
|
|
99
99
|
import type { QtiResponseDeclaration } from "src/lib/qti-components/qti-variable-declaration/qti-response-declaration/qti-response-declaration.ts";
|
|
100
100
|
import type { QtiPortableCustomInteractionTest } from "src/lib/qti-components/qti-interaction/qti-portable-custom-interaction/qti-portable-custom-test-interaction.ts";
|
|
101
|
-
import type { TestElement } from "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts";
|
|
102
101
|
import type { QtiTemplateDeclaration } from "src/lib/qti-components/qti-template-processing/qti-template-declaration/qti-template-declaration.ts";
|
|
102
|
+
import type { TestElement } from "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts";
|
|
103
103
|
import type { ItemContainer } from "src/lib/qti-item/components/item-container.ts";
|
|
104
104
|
import type { PrintItemVariables } from "src/lib/qti-item/components/print-item-variables.ts";
|
|
105
105
|
import type { QtiItem } from "src/lib/qti-item/core/qti-item.ts";
|
|
@@ -884,6 +884,14 @@ export type QtiGapImgProps = {
|
|
|
884
884
|
}
|
|
885
885
|
|
|
886
886
|
|
|
887
|
+
export type QtiGapProps = {
|
|
888
|
+
/** */
|
|
889
|
+
"tabindex"?: QtiGap['tabindex'];
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
|
|
887
895
|
export type QtiGapMatchInteractionProps = {
|
|
888
896
|
/** */
|
|
889
897
|
"min-associations"?: QtiGapMatchInteraction['minAssociations'];
|
|
@@ -924,14 +932,6 @@ export type QtiGapTextProps = {
|
|
|
924
932
|
}
|
|
925
933
|
|
|
926
934
|
|
|
927
|
-
export type QtiGapProps = {
|
|
928
|
-
/** */
|
|
929
|
-
"tabindex"?: QtiGap['tabindex'];
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
|
|
935
935
|
export type QtiHotspotChoiceProps = {
|
|
936
936
|
/** */
|
|
937
937
|
"aria-ordervalue"?: QtiHotspotChoice['order'];
|
|
@@ -1432,24 +1432,6 @@ export type QtiPortableCustomInteractionTestProps = {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
|
|
1434
1434
|
|
|
1435
|
-
export type TestElementProps = {
|
|
1436
|
-
/** */
|
|
1437
|
-
"class"?: TestElement['class'];
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
export type TestElementProps = {
|
|
1444
|
-
/** */
|
|
1445
|
-
"class"?: TestElement['class'];
|
|
1446
|
-
/** */
|
|
1447
|
-
"shuffle"?: TestElement['shuffle'];
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
1435
|
export type QtiTemplateDeclarationProps = {
|
|
1454
1436
|
/** */
|
|
1455
1437
|
"identifier"?: QtiTemplateDeclaration['identifier'];
|
|
@@ -1473,6 +1455,24 @@ export type QtiTemplateDeclarationProps = {
|
|
|
1473
1455
|
}
|
|
1474
1456
|
|
|
1475
1457
|
|
|
1458
|
+
export type TestElementProps = {
|
|
1459
|
+
/** */
|
|
1460
|
+
"class"?: TestElement['class'];
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
export type TestElementProps = {
|
|
1467
|
+
/** */
|
|
1468
|
+
"class"?: TestElement['class'];
|
|
1469
|
+
/** */
|
|
1470
|
+
"shuffle"?: TestElement['shuffle'];
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
1476
|
export type ItemContainerProps = {
|
|
1477
1477
|
/** URL of the item to load */
|
|
1478
1478
|
"item-url"?: ItemContainer['itemURL'];
|
|
@@ -3015,6 +3015,18 @@ export type QtiTestVariablesProps = {
|
|
|
3015
3015
|
"qti-gap-img": Partial<QtiGapImgProps & BaseProps<QtiGapImg> & BaseEvents>;
|
|
3016
3016
|
|
|
3017
3017
|
|
|
3018
|
+
/**
|
|
3019
|
+
*
|
|
3020
|
+
*
|
|
3021
|
+
* ## Attributes & Properties
|
|
3022
|
+
*
|
|
3023
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3024
|
+
*
|
|
3025
|
+
* - `tabindex`: undefined
|
|
3026
|
+
*/
|
|
3027
|
+
"qti-gap": Partial<QtiGapProps & BaseProps<QtiGap> & BaseEvents>;
|
|
3028
|
+
|
|
3029
|
+
|
|
3018
3030
|
/**
|
|
3019
3031
|
*
|
|
3020
3032
|
*
|
|
@@ -3037,6 +3049,7 @@ export type QtiTestVariablesProps = {
|
|
|
3037
3049
|
* Methods that can be called to access component functionality.
|
|
3038
3050
|
*
|
|
3039
3051
|
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
3052
|
+
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
3040
3053
|
* - `handleDraggableContainerChange(dragContainersAdded: HTMLElement[], dragContainersRemoved: HTMLElement[]) => void`: undefined
|
|
3041
3054
|
* - `dragContainersModified(addedDragContainers: HTMLElement[], removedDragContainers: HTMLElement[]) => void`: undefined
|
|
3042
3055
|
* - `handleDraggablesChange(dragsAdded: HTMLElement[], dragsRemoved: HTMLElement[]) => void`: undefined
|
|
@@ -3078,18 +3091,6 @@ export type QtiTestVariablesProps = {
|
|
|
3078
3091
|
"qti-gap-text": Partial<QtiGapTextProps & BaseProps<QtiGapText> & BaseEvents>;
|
|
3079
3092
|
|
|
3080
3093
|
|
|
3081
|
-
/**
|
|
3082
|
-
*
|
|
3083
|
-
*
|
|
3084
|
-
* ## Attributes & Properties
|
|
3085
|
-
*
|
|
3086
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3087
|
-
*
|
|
3088
|
-
* - `tabindex`: undefined
|
|
3089
|
-
*/
|
|
3090
|
-
"qti-gap": Partial<QtiGapProps & BaseProps<QtiGap> & BaseEvents>;
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
3094
|
/**
|
|
3094
3095
|
*
|
|
3095
3096
|
*
|
|
@@ -3754,9 +3755,25 @@ export type QtiTestVariablesProps = {
|
|
|
3754
3755
|
*
|
|
3755
3756
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3756
3757
|
*
|
|
3757
|
-
* - `
|
|
3758
|
+
* - `identifier`: undefined
|
|
3759
|
+
* - `cardinality`: undefined
|
|
3760
|
+
* - `base-type`/`baseType`: undefined
|
|
3761
|
+
* - `math-variable`/`mathVariable`: undefined
|
|
3762
|
+
* - `param-variable`/`paramVariable`: undefined
|
|
3763
|
+
*
|
|
3764
|
+
* ## Events
|
|
3765
|
+
*
|
|
3766
|
+
* Events that will be emitted by the component.
|
|
3767
|
+
*
|
|
3768
|
+
* - `qti-register-variable`: undefined
|
|
3769
|
+
*
|
|
3770
|
+
* ## Methods
|
|
3771
|
+
*
|
|
3772
|
+
* Methods that can be called to access component functionality.
|
|
3773
|
+
*
|
|
3774
|
+
* - `getTemplateVariable() => TemplateVariable`: Get the template variable definition
|
|
3758
3775
|
*/
|
|
3759
|
-
"
|
|
3776
|
+
"qti-template-declaration": Partial<QtiTemplateDeclarationProps & BaseProps<QtiTemplateDeclaration> & BaseEvents>;
|
|
3760
3777
|
|
|
3761
3778
|
|
|
3762
3779
|
/**
|
|
@@ -3767,14 +3784,6 @@ export type QtiTestVariablesProps = {
|
|
|
3767
3784
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3768
3785
|
*
|
|
3769
3786
|
* - `class`: undefined
|
|
3770
|
-
* - `shuffle`: undefined (property only)
|
|
3771
|
-
* - `value`: undefined (property only) (readonly)
|
|
3772
|
-
*
|
|
3773
|
-
* ## Methods
|
|
3774
|
-
*
|
|
3775
|
-
* Methods that can be called to access component functionality.
|
|
3776
|
-
*
|
|
3777
|
-
* - `validate() => boolean`: undefined
|
|
3778
3787
|
*/
|
|
3779
3788
|
"test-element": Partial<TestElementProps & BaseProps<TestElement> & BaseEvents>;
|
|
3780
3789
|
|
|
@@ -3786,25 +3795,17 @@ export type QtiTestVariablesProps = {
|
|
|
3786
3795
|
*
|
|
3787
3796
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3788
3797
|
*
|
|
3789
|
-
* - `
|
|
3790
|
-
* - `
|
|
3791
|
-
* - `
|
|
3792
|
-
* - `math-variable`/`mathVariable`: undefined
|
|
3793
|
-
* - `param-variable`/`paramVariable`: undefined
|
|
3794
|
-
*
|
|
3795
|
-
* ## Events
|
|
3796
|
-
*
|
|
3797
|
-
* Events that will be emitted by the component.
|
|
3798
|
-
*
|
|
3799
|
-
* - `qti-register-variable`: undefined
|
|
3798
|
+
* - `class`: undefined
|
|
3799
|
+
* - `shuffle`: undefined (property only)
|
|
3800
|
+
* - `value`: undefined (property only) (readonly)
|
|
3800
3801
|
*
|
|
3801
3802
|
* ## Methods
|
|
3802
3803
|
*
|
|
3803
3804
|
* Methods that can be called to access component functionality.
|
|
3804
3805
|
*
|
|
3805
|
-
* - `
|
|
3806
|
+
* - `validate() => boolean`: undefined
|
|
3806
3807
|
*/
|
|
3807
|
-
"
|
|
3808
|
+
"test-element": Partial<TestElementProps & BaseProps<TestElement> & BaseEvents>;
|
|
3808
3809
|
|
|
3809
3810
|
|
|
3810
3811
|
/**
|
|
@@ -4463,7 +4464,7 @@ declare module '@stencil/core' {
|
|
|
4463
4464
|
export interface CSSProperties extends CustomCssProperties {}
|
|
4464
4465
|
}
|
|
4465
4466
|
|
|
4466
|
-
declare module 'hono' {
|
|
4467
|
+
declare module 'hono/jsx' {
|
|
4467
4468
|
namespace JSX {
|
|
4468
4469
|
interface IntrinsicElements extends CustomElements {}
|
|
4469
4470
|
}
|
package/dist/qti-item/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
ItemShowCorrectResponse,
|
|
4
4
|
PrintItemVariables,
|
|
5
5
|
QtiItem
|
|
6
|
-
} from "../chunks/chunk-
|
|
7
|
-
import "../chunks/chunk-
|
|
6
|
+
} from "../chunks/chunk-DGBI4IU5.js";
|
|
7
|
+
import "../chunks/chunk-TN75CWLX.js";
|
|
8
8
|
import "../chunks/chunk-ELDMXTUQ.js";
|
|
9
9
|
import "../chunks/chunk-XBPO6E25.js";
|
|
10
10
|
import "../chunks/chunk-4OGJBG35.js";
|
package/dist/qti-test/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { e as VariableValue, O as OutcomeVariable, V as VariableDeclaration } fr
|
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { LitElement, PropertyValues, nothing } from 'lit';
|
|
5
5
|
import { SessionContext, View } from '../exports/session.context.js';
|
|
6
|
-
import { b as QtiAssessmentTest, I as IQtiTest } from '../qti-test-
|
|
7
|
-
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, d as QtiTestFeedback, c as QtiTestPart } from '../qti-test-
|
|
6
|
+
import { b as QtiAssessmentTest, I as IQtiTest } from '../qti-test-mmY8zNIj.js';
|
|
7
|
+
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, d as QtiTestFeedback, c as QtiTestPart } from '../qti-test-mmY8zNIj.js';
|
|
8
8
|
import { TestContext } from '../exports/test.context.js';
|
|
9
9
|
export { INITIAL_TEST_CONTEXT, testContext } from '../exports/test.context.js';
|
|
10
10
|
import { QtiContext } from '../exports/qti.context.js';
|
|
@@ -14,7 +14,7 @@ import { TemplateFunction } from '@heximal/templates';
|
|
|
14
14
|
import '../exports/expression-result.js';
|
|
15
15
|
import '../qti-transform-test-Bz9A3hmD.js';
|
|
16
16
|
import '../qti-assessment-item-l-mN3teH.js';
|
|
17
|
-
import '../qti-modal-feedback-
|
|
17
|
+
import '../qti-modal-feedback-Cp3CHVKw.js';
|
|
18
18
|
import '../exports/item.context.js';
|
|
19
19
|
import '../exports/computed-item.context.js';
|
|
20
20
|
|
package/dist/qti-test/index.js
CHANGED
|
@@ -23,19 +23,19 @@ import {
|
|
|
23
23
|
TestStamp,
|
|
24
24
|
TestView,
|
|
25
25
|
TestViewToggle
|
|
26
|
-
} from "../chunks/chunk-
|
|
26
|
+
} from "../chunks/chunk-E4GR4K26.js";
|
|
27
|
+
import "../chunks/chunk-AGV5GOTF.js";
|
|
28
|
+
import "../chunks/chunk-TN75CWLX.js";
|
|
29
|
+
import "../chunks/chunk-ELDMXTUQ.js";
|
|
30
|
+
import "../chunks/chunk-XBPO6E25.js";
|
|
31
|
+
import "../chunks/chunk-H6KHXSIO.js";
|
|
27
32
|
import "../chunks/chunk-C5RLRG3L.js";
|
|
28
|
-
import "../chunks/chunk-PT5ASWGQ.js";
|
|
29
|
-
import "../chunks/chunk-YD7FVKDP.js";
|
|
30
33
|
import {
|
|
31
34
|
INITIAL_TEST_CONTEXT,
|
|
32
35
|
testContext
|
|
33
36
|
} from "../chunks/chunk-CJADUWEC.js";
|
|
34
|
-
import "../chunks/chunk-H6KHXSIO.js";
|
|
35
|
-
import "../chunks/chunk-NJNQOQUU.js";
|
|
36
|
-
import "../chunks/chunk-ELDMXTUQ.js";
|
|
37
|
-
import "../chunks/chunk-XBPO6E25.js";
|
|
38
37
|
import "../chunks/chunk-DVQQ7I6Y.js";
|
|
38
|
+
import "../chunks/chunk-NJNQOQUU.js";
|
|
39
39
|
import "../chunks/chunk-BHJSX3Q6.js";
|
|
40
40
|
import "../chunks/chunk-H2JE6IVU.js";
|
|
41
41
|
export {
|
|
@@ -5,7 +5,7 @@ import { Q as QtiAssessmentItem } from './qti-assessment-item-l-mN3teH.js';
|
|
|
5
5
|
import { TemplateFunction } from '@heximal/templates';
|
|
6
6
|
import * as lit_html from 'lit-html';
|
|
7
7
|
import { TestContext } from './exports/test.context.js';
|
|
8
|
-
import {
|
|
8
|
+
import { a as QtiModalFeedback } from './qti-modal-feedback-Cp3CHVKw.js';
|
|
9
9
|
import { SessionContext } from './exports/session.context.js';
|
|
10
10
|
import { e as VariableValue, O as OutcomeVariable, V as VariableDeclaration } from './variables-BCkyLoXK.js';
|
|
11
11
|
|
|
@@ -530,6 +530,12 @@
|
|
|
530
530
|
"attributes": [{ "name": "tabindex", "values": [] }],
|
|
531
531
|
"references": []
|
|
532
532
|
},
|
|
533
|
+
{
|
|
534
|
+
"name": "qti-gap",
|
|
535
|
+
"description": "\n---\n",
|
|
536
|
+
"attributes": [{ "name": "tabindex", "values": [] }],
|
|
537
|
+
"references": []
|
|
538
|
+
},
|
|
533
539
|
{
|
|
534
540
|
"name": "qti-gap-match-interaction",
|
|
535
541
|
"description": "\n---\n\n\n### **Events:**\n - **qti-interaction-response**",
|
|
@@ -550,12 +556,6 @@
|
|
|
550
556
|
],
|
|
551
557
|
"references": []
|
|
552
558
|
},
|
|
553
|
-
{
|
|
554
|
-
"name": "qti-gap",
|
|
555
|
-
"description": "\n---\n",
|
|
556
|
-
"attributes": [{ "name": "tabindex", "values": [] }],
|
|
557
|
-
"references": []
|
|
558
|
-
},
|
|
559
559
|
{
|
|
560
560
|
"name": "qti-hotspot-choice",
|
|
561
561
|
"description": "\n---\n\n\n### **Events:**\n ",
|
|
@@ -834,18 +834,6 @@
|
|
|
834
834
|
],
|
|
835
835
|
"references": []
|
|
836
836
|
},
|
|
837
|
-
{
|
|
838
|
-
"name": "test-element",
|
|
839
|
-
"description": "\n---\n",
|
|
840
|
-
"attributes": [{ "name": "class", "values": [] }],
|
|
841
|
-
"references": []
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
"name": "test-element",
|
|
845
|
-
"description": "\n---\n",
|
|
846
|
-
"attributes": [{ "name": "class", "values": [] }],
|
|
847
|
-
"references": []
|
|
848
|
-
},
|
|
849
837
|
{
|
|
850
838
|
"name": "qti-template-declaration",
|
|
851
839
|
"description": "The qti-template-declaration element declares template variables for item cloning.\n---\n\n\n### **Events:**\n - **qti-register-variable**\n\n### **Methods:**\n - **getTemplateVariable(): _TemplateVariable_** - Get the template variable definition",
|
|
@@ -866,6 +854,18 @@
|
|
|
866
854
|
],
|
|
867
855
|
"references": []
|
|
868
856
|
},
|
|
857
|
+
{
|
|
858
|
+
"name": "test-element",
|
|
859
|
+
"description": "\n---\n",
|
|
860
|
+
"attributes": [{ "name": "class", "values": [] }],
|
|
861
|
+
"references": []
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"name": "test-element",
|
|
865
|
+
"description": "\n---\n",
|
|
866
|
+
"attributes": [{ "name": "class", "values": [] }],
|
|
867
|
+
"references": []
|
|
868
|
+
},
|
|
869
869
|
{
|
|
870
870
|
"name": "item-container",
|
|
871
871
|
"description": "`<item-container>` is a custom element designed for hosting the qti-assessment-item.\nThe `qti-assessment-item` will be placed inside the shadow DOM of this element.\nThe element loads the item from the provided URL and renders it inside the shadow DOM.\n\n### Styling\nAdd a class to the element for styling.\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",
|