@citolab/qti-components 7.14.1 → 7.14.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 +1 -1
- package/custom-elements.json +10 -4
- package/dist/chunks/{chunk-TISKSGJE.js → chunk-2X2C5WI5.js} +17 -17
- package/dist/chunks/{chunk-XEKFVRIO.js → chunk-Z2FFXTKX.js} +14 -14
- package/dist/chunks/{chunk-XEKFVRIO.js.map → chunk-Z2FFXTKX.js.map} +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/dist/qti-components/index.js +8 -8
- package/dist/qti-components-jsx.d.ts +42 -42
- package/dist/qti-test/index.d.ts +2 -3
- package/dist/qti-test/index.js +7 -7
- package/dist/vscode.html-custom-data.json +13 -13
- package/package.json +1 -1
- /package/dist/chunks/{chunk-TISKSGJE.js.map → chunk-2X2C5WI5.js.map} +0 -0
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ItemContainer,
|
|
3
|
+
ItemShowCorrectResponse,
|
|
4
|
+
PrintItemVariables,
|
|
5
|
+
QtiItem
|
|
6
|
+
} from "./chunks/chunk-7567ZPN6.js";
|
|
1
7
|
import {
|
|
2
8
|
QtiAnd,
|
|
3
9
|
QtiAssessmentItem,
|
|
@@ -96,13 +102,11 @@ import {
|
|
|
96
102
|
QtiVariable,
|
|
97
103
|
qtiAndMixin,
|
|
98
104
|
qtiSubtractMixin
|
|
99
|
-
} from "./chunks/chunk-
|
|
100
|
-
import
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
QtiItem
|
|
105
|
-
} from "./chunks/chunk-7567ZPN6.js";
|
|
105
|
+
} from "./chunks/chunk-2X2C5WI5.js";
|
|
106
|
+
import "./chunks/chunk-P4QBOVQ2.js";
|
|
107
|
+
import "./chunks/chunk-JQ6HWGRY.js";
|
|
108
|
+
import "./chunks/chunk-SV4K25ZI.js";
|
|
109
|
+
import "./chunks/chunk-GAAFN7QF.js";
|
|
106
110
|
import {
|
|
107
111
|
QtiAssessmentItemRef,
|
|
108
112
|
QtiAssessmentSection,
|
|
@@ -128,27 +132,23 @@ import {
|
|
|
128
132
|
TestStamp,
|
|
129
133
|
TestView,
|
|
130
134
|
TestViewToggle
|
|
131
|
-
} from "./chunks/chunk-
|
|
135
|
+
} from "./chunks/chunk-Z2FFXTKX.js";
|
|
136
|
+
import "./chunks/chunk-C5RLRG3L.js";
|
|
137
|
+
import "./chunks/chunk-PT5ASWGQ.js";
|
|
132
138
|
import {
|
|
133
139
|
QtiModalFeedback
|
|
134
140
|
} from "./chunks/chunk-YD7FVKDP.js";
|
|
135
|
-
import "./chunks/chunk-PT5ASWGQ.js";
|
|
136
|
-
import "./chunks/chunk-ELDMXTUQ.js";
|
|
137
|
-
import "./chunks/chunk-XBPO6E25.js";
|
|
138
|
-
import "./chunks/chunk-SV4K25ZI.js";
|
|
139
|
-
import "./chunks/chunk-GAAFN7QF.js";
|
|
140
|
-
import "./chunks/chunk-H6KHXSIO.js";
|
|
141
|
-
import "./chunks/chunk-C5RLRG3L.js";
|
|
142
141
|
import {
|
|
143
142
|
INITIAL_TEST_CONTEXT,
|
|
144
143
|
testContext
|
|
145
144
|
} 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";
|
|
146
149
|
import "./chunks/chunk-4OGJBG35.js";
|
|
147
150
|
import "./chunks/chunk-DVQQ7I6Y.js";
|
|
148
|
-
import "./chunks/chunk-P4QBOVQ2.js";
|
|
149
|
-
import "./chunks/chunk-NJNQOQUU.js";
|
|
150
151
|
import "./chunks/chunk-BHJSX3Q6.js";
|
|
151
|
-
import "./chunks/chunk-JQ6HWGRY.js";
|
|
152
152
|
import "./chunks/chunk-H2JE6IVU.js";
|
|
153
153
|
|
|
154
154
|
// package.json
|
|
@@ -175,7 +175,7 @@ var package_default = {
|
|
|
175
175
|
engines: {
|
|
176
176
|
node: ">=22.0.0"
|
|
177
177
|
},
|
|
178
|
-
version: "7.14.
|
|
178
|
+
version: "7.14.2",
|
|
179
179
|
type: "module",
|
|
180
180
|
main: "./dist/index.js",
|
|
181
181
|
types: "./dist/index.d.ts",
|
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.1\",\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,EACE,MAAQ;AAAA,EACR,YAAc;AAAA,IACZ,MAAQ;AAAA,IACR,KAAO;AAAA,EACT;AAAA,EACA,aAAe;AAAA,EACf,QAAU;AAAA,IACR,MAAQ;AAAA,EACV;AAAA,EACA,cAAgB;AAAA,IACd;AAAA,MACE,MAAQ;AAAA,IACV;AAAA,IACA;AAAA,MACE,MAAQ;AAAA,IACV;AAAA,EACF;AAAA,EACA,SAAW;AAAA,EACX,SAAW;AAAA,EACX,SAAW;AAAA,IACT,MAAQ;AAAA,EACV;AAAA,EACA,SAAW;AAAA,EACX,MAAQ;AAAA,EACR,MAAQ;AAAA,EACR,OAAS;AAAA,EACT,aAAe;AAAA,EACf,SAAW;AAAA,IACT,KAAK;AAAA,MACH,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,eAAe;AAAA,MACb,QAAU;AAAA,IACZ;AAAA,IACA,oBAAoB;AAAA,MAClB,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,cAAc;AAAA,MACZ,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,cAAc;AAAA,MACZ,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,gBAA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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":[]}
|
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,EACE,MAAQ;AAAA,EACR,YAAc;AAAA,IACZ,MAAQ;AAAA,IACR,KAAO;AAAA,EACT;AAAA,EACA,aAAe;AAAA,EACf,QAAU;AAAA,IACR,MAAQ;AAAA,EACV;AAAA,EACA,cAAgB;AAAA,IACd;AAAA,MACE,MAAQ;AAAA,IACV;AAAA,IACA;AAAA,MACE,MAAQ;AAAA,IACV;AAAA,EACF;AAAA,EACA,SAAW;AAAA,EACX,SAAW;AAAA,EACX,SAAW;AAAA,IACT,MAAQ;AAAA,EACV;AAAA,EACA,SAAW;AAAA,EACX,MAAQ;AAAA,EACR,MAAQ;AAAA,EACR,OAAS;AAAA,EACT,aAAe;AAAA,EACf,SAAW;AAAA,IACT,KAAK;AAAA,MACH,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,eAAe;AAAA,MACb,QAAU;AAAA,IACZ;AAAA,IACA,oBAAoB;AAAA,MAClB,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,cAAc;AAAA,MACZ,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,cAAc;AAAA,MACZ,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,gBAAgB;AAAA,MACd,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,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,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":[]}
|
|
@@ -96,20 +96,20 @@ import {
|
|
|
96
96
|
QtiVariable,
|
|
97
97
|
qtiAndMixin,
|
|
98
98
|
qtiSubtractMixin
|
|
99
|
-
} from "../chunks/chunk-
|
|
99
|
+
} from "../chunks/chunk-2X2C5WI5.js";
|
|
100
|
+
import "../chunks/chunk-P4QBOVQ2.js";
|
|
101
|
+
import "../chunks/chunk-JQ6HWGRY.js";
|
|
102
|
+
import "../chunks/chunk-SV4K25ZI.js";
|
|
103
|
+
import "../chunks/chunk-GAAFN7QF.js";
|
|
100
104
|
import {
|
|
101
105
|
QtiModalFeedback
|
|
102
106
|
} from "../chunks/chunk-YD7FVKDP.js";
|
|
103
|
-
import "../chunks/chunk-ELDMXTUQ.js";
|
|
104
|
-
import "../chunks/chunk-XBPO6E25.js";
|
|
105
|
-
import "../chunks/chunk-SV4K25ZI.js";
|
|
106
|
-
import "../chunks/chunk-GAAFN7QF.js";
|
|
107
|
-
import "../chunks/chunk-H6KHXSIO.js";
|
|
108
107
|
import "../chunks/chunk-CJADUWEC.js";
|
|
109
|
-
import "../chunks/chunk-
|
|
108
|
+
import "../chunks/chunk-H6KHXSIO.js";
|
|
110
109
|
import "../chunks/chunk-NJNQOQUU.js";
|
|
110
|
+
import "../chunks/chunk-ELDMXTUQ.js";
|
|
111
|
+
import "../chunks/chunk-XBPO6E25.js";
|
|
111
112
|
import "../chunks/chunk-BHJSX3Q6.js";
|
|
112
|
-
import "../chunks/chunk-JQ6HWGRY.js";
|
|
113
113
|
import "../chunks/chunk-H2JE6IVU.js";
|
|
114
114
|
export {
|
|
115
115
|
QtiAnd,
|
|
@@ -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 { QtiTemplateDeclaration } from "src/lib/qti-components/qti-template-processing/qti-template-declaration/qti-template-declaration.ts";
|
|
102
101
|
import type { TestElement } from "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts";
|
|
102
|
+
import type { QtiTemplateDeclaration } from "src/lib/qti-components/qti-template-processing/qti-template-declaration/qti-template-declaration.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";
|
|
@@ -1432,6 +1432,24 @@ 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
|
+
|
|
1435
1453
|
export type QtiTemplateDeclarationProps = {
|
|
1436
1454
|
/** */
|
|
1437
1455
|
"identifier"?: QtiTemplateDeclaration['identifier'];
|
|
@@ -1455,24 +1473,6 @@ export type QtiTemplateDeclarationProps = {
|
|
|
1455
1473
|
}
|
|
1456
1474
|
|
|
1457
1475
|
|
|
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'];
|
|
@@ -3754,25 +3754,9 @@ export type QtiTestVariablesProps = {
|
|
|
3754
3754
|
*
|
|
3755
3755
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3756
3756
|
*
|
|
3757
|
-
* - `
|
|
3758
|
-
* - `cardinality`: undefined
|
|
3759
|
-
* - `base-type`/`baseType`: undefined
|
|
3760
|
-
* - `math-variable`/`mathVariable`: undefined
|
|
3761
|
-
* - `param-variable`/`paramVariable`: undefined
|
|
3762
|
-
*
|
|
3763
|
-
* ## Events
|
|
3764
|
-
*
|
|
3765
|
-
* Events that will be emitted by the component.
|
|
3766
|
-
*
|
|
3767
|
-
* - `qti-register-variable`: undefined
|
|
3768
|
-
*
|
|
3769
|
-
* ## Methods
|
|
3770
|
-
*
|
|
3771
|
-
* Methods that can be called to access component functionality.
|
|
3772
|
-
*
|
|
3773
|
-
* - `getTemplateVariable() => TemplateVariable`: Get the template variable definition
|
|
3757
|
+
* - `class`: undefined
|
|
3774
3758
|
*/
|
|
3775
|
-
"
|
|
3759
|
+
"test-element": Partial<TestElementProps & BaseProps<TestElement> & BaseEvents>;
|
|
3776
3760
|
|
|
3777
3761
|
|
|
3778
3762
|
/**
|
|
@@ -3783,6 +3767,14 @@ export type QtiTestVariablesProps = {
|
|
|
3783
3767
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3784
3768
|
*
|
|
3785
3769
|
* - `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
|
|
3786
3778
|
*/
|
|
3787
3779
|
"test-element": Partial<TestElementProps & BaseProps<TestElement> & BaseEvents>;
|
|
3788
3780
|
|
|
@@ -3794,17 +3786,25 @@ export type QtiTestVariablesProps = {
|
|
|
3794
3786
|
*
|
|
3795
3787
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3796
3788
|
*
|
|
3797
|
-
* - `
|
|
3798
|
-
* - `
|
|
3799
|
-
* - `
|
|
3789
|
+
* - `identifier`: undefined
|
|
3790
|
+
* - `cardinality`: undefined
|
|
3791
|
+
* - `base-type`/`baseType`: undefined
|
|
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
|
|
3800
3800
|
*
|
|
3801
3801
|
* ## Methods
|
|
3802
3802
|
*
|
|
3803
3803
|
* Methods that can be called to access component functionality.
|
|
3804
3804
|
*
|
|
3805
|
-
* - `
|
|
3805
|
+
* - `getTemplateVariable() => TemplateVariable`: Get the template variable definition
|
|
3806
3806
|
*/
|
|
3807
|
-
"
|
|
3807
|
+
"qti-template-declaration": Partial<QtiTemplateDeclarationProps & BaseProps<QtiTemplateDeclaration> & BaseEvents>;
|
|
3808
3808
|
|
|
3809
3809
|
|
|
3810
3810
|
/**
|
package/dist/qti-test/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as lit_html from 'lit-html';
|
|
|
2
2
|
import { e as VariableValue, O as OutcomeVariable, V as VariableDeclaration } from '../variables-BCkyLoXK.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { LitElement, PropertyValues, nothing } from 'lit';
|
|
5
|
-
import { SessionContext } from '../exports/session.context.js';
|
|
5
|
+
import { SessionContext, View } from '../exports/session.context.js';
|
|
6
6
|
import { b as QtiAssessmentTest, I as IQtiTest } from '../qti-test-Db7oNIWY.js';
|
|
7
7
|
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, d as QtiTestFeedback, c as QtiTestPart } from '../qti-test-Db7oNIWY.js';
|
|
8
8
|
import { TestContext } from '../exports/test.context.js';
|
|
@@ -11,7 +11,6 @@ import { QtiContext } from '../exports/qti.context.js';
|
|
|
11
11
|
import { ComputedContext, ComputedItem } from '../exports/computed.context.js';
|
|
12
12
|
import { ConfigContext } from '../exports/config.context.js';
|
|
13
13
|
import { TemplateFunction } from '@heximal/templates';
|
|
14
|
-
import { ViewMode } from 'storybook/internal/types';
|
|
15
14
|
import '../exports/expression-result.js';
|
|
16
15
|
import '../qti-transform-test-Bz9A3hmD.js';
|
|
17
16
|
import '../qti-assessment-item-l-mN3teH.js';
|
|
@@ -458,7 +457,7 @@ declare global {
|
|
|
458
457
|
|
|
459
458
|
declare class TestScoringFeedback extends LitElement {
|
|
460
459
|
protected computedContext?: ComputedContext;
|
|
461
|
-
view:
|
|
460
|
+
view: View;
|
|
462
461
|
render(): lit_html.TemplateResult<1>;
|
|
463
462
|
}
|
|
464
463
|
declare global {
|
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-
|
|
27
|
-
import "../chunks/chunk-YD7FVKDP.js";
|
|
28
|
-
import "../chunks/chunk-PT5ASWGQ.js";
|
|
29
|
-
import "../chunks/chunk-ELDMXTUQ.js";
|
|
30
|
-
import "../chunks/chunk-XBPO6E25.js";
|
|
31
|
-
import "../chunks/chunk-H6KHXSIO.js";
|
|
26
|
+
} from "../chunks/chunk-Z2FFXTKX.js";
|
|
32
27
|
import "../chunks/chunk-C5RLRG3L.js";
|
|
28
|
+
import "../chunks/chunk-PT5ASWGQ.js";
|
|
29
|
+
import "../chunks/chunk-YD7FVKDP.js";
|
|
33
30
|
import {
|
|
34
31
|
INITIAL_TEST_CONTEXT,
|
|
35
32
|
testContext
|
|
36
33
|
} from "../chunks/chunk-CJADUWEC.js";
|
|
37
|
-
import "../chunks/chunk-
|
|
34
|
+
import "../chunks/chunk-H6KHXSIO.js";
|
|
38
35
|
import "../chunks/chunk-NJNQOQUU.js";
|
|
36
|
+
import "../chunks/chunk-ELDMXTUQ.js";
|
|
37
|
+
import "../chunks/chunk-XBPO6E25.js";
|
|
38
|
+
import "../chunks/chunk-DVQQ7I6Y.js";
|
|
39
39
|
import "../chunks/chunk-BHJSX3Q6.js";
|
|
40
40
|
import "../chunks/chunk-H2JE6IVU.js";
|
|
41
41
|
export {
|
|
@@ -834,6 +834,18 @@
|
|
|
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
|
+
},
|
|
837
849
|
{
|
|
838
850
|
"name": "qti-template-declaration",
|
|
839
851
|
"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",
|
|
@@ -854,18 +866,6 @@
|
|
|
854
866
|
],
|
|
855
867
|
"references": []
|
|
856
868
|
},
|
|
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",
|
|
@@ -1103,7 +1103,7 @@
|
|
|
1103
1103
|
{
|
|
1104
1104
|
"name": "test-scoring-feedback",
|
|
1105
1105
|
"description": "\n---\n",
|
|
1106
|
-
"attributes": [{ "name": "view", "values": [{ "name": "
|
|
1106
|
+
"attributes": [{ "name": "view", "values": [{ "name": "View" }] }],
|
|
1107
1107
|
"references": []
|
|
1108
1108
|
},
|
|
1109
1109
|
{
|
package/package.json
CHANGED
|
File without changes
|