@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/cdn/index.js
CHANGED
|
@@ -5432,7 +5432,7 @@ div.full-correct-response-inline {
|
|
|
5432
5432
|
:host([disabled]) {
|
|
5433
5433
|
${Qo};
|
|
5434
5434
|
}
|
|
5435
|
-
`,c([_({context:kt,subscribe:!0})],te.prototype,"computedContext",2),c([u({type:Boolean,reflect:!0})],te.prototype,"shown",2),c([u({type:Boolean,reflect:!0})],te.prototype,"disabled",2),c([u({type:String})],te.prototype,"showCorrectText",2),c([u({type:String})],te.prototype,"hideCorrectText",2),c([u({type:String})],te.prototype,"noCorrectResponseText",2),te=c([g("item-show-correct-response")],te);var Rt=class extends v{constructor(){super();this.configContext={};this._onItemContextChanged=this._handleItemContextChanged.bind(this);this._onAssessmentItemConnected=this._handleAssessmentItemConnected.bind(this);this._onHandleShowCorrectResponse=this._handleShowCorrectResponse.bind(this);this._onHandleShowCandidateCorrection=this._handleShowCandidateCorrection.bind(this);this._onHandleSwitchCorrectResponseMode=this._handleSwitchCorrectResponseMode.bind(this);this.addEventListener("qti-item-context-updated",this._onItemContextChanged),this.addEventListener("qti-assessment-item-connected",this._onAssessmentItemConnected),this.addEventListener("item-show-correct-response",this._onHandleShowCorrectResponse),this.addEventListener("item-show-candidate-correction",this._onHandleShowCandidateCorrection),this.addEventListener("item-switch-correct-response-mode",this._onHandleSwitchCorrectResponseMode)}_handleItemContextChanged(e){this._updateItemVariablesInTestContext(e.detail.itemContext.identifier,e.detail?.itemContext?.variables||[])}_handleAssessmentItemConnected(e){let t=e.detail._context.variables;this._qtiAssessmentItem=e.detail,this.computedContext=this.computedContext?.identifier===this._qtiAssessmentItem.identifier?{...this.computedContext,title:this._qtiAssessmentItem.title}:{identifier:this._qtiAssessmentItem.identifier,title:this._qtiAssessmentItem.title,adaptive:this._qtiAssessmentItem.getAttribute("adaptive")?.toLowerCase()==="true"||!1,variables:t,correctResponseMode:"internal"},this._updateItemVariablesInTestContext(this._qtiAssessmentItem.identifier,t||[])}_handleShowCorrectResponse(e){this._qtiAssessmentItem&&this._qtiAssessmentItem.showCorrectResponse(e.detail)}_handleShowCandidateCorrection(e){this._qtiAssessmentItem&&this._qtiAssessmentItem.showCandidateCorrection(e.detail)}_handleSwitchCorrectResponseMode(e){this._handleShowCorrectResponse(new CustomEvent("item-show-correct-response",{detail:!1,bubbles:!0})),this.configContext={...this.configContext,correctResponseMode:e.detail}}_updateItemVariablesInTestContext(e,t){let i=t?.find(p=>p.identifier=="SCORE")?.value,s=parseFloat(i?.toString()),n=t?.find(p=>p.identifier==="completionStatus")?.value,a=s!==void 0&&!isNaN(s)&&s>0,l=s!==void 0&&!isNaN(s)&&s<=0,d=n==="completed";this.computedContext={...this.computedContext,identifier:e,correct:a,incorrect:l,completed:d,variables:t}}render(){return h`<slot></slot>`}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("qti-item-context-changed",this._onItemContextChanged),this.removeEventListener("qti-assessment-item-connected",this._onAssessmentItemConnected)}};c([C(),X({context:kt})],Rt.prototype,"computedContext",2),c([C(),X({context:oe})],Rt.prototype,"configContext",2),Rt=c([g("qti-item")],Rt);var en={name:"@citolab/qti-components",repository:{type:"git",url:"git+https://github.com/Citolab/qti-components.git"},description:"QTI webcomponents",author:{name:"Patrick de Klein"},contributors:[{name:"Sander Looise"},{name:"Marcel Hoekstra"}],license:"GPLv3",private:!1,engines:{node:">=22.0.0"},version:"7.14.1",type:"module",main:"./dist/index.js",types:"./dist/index.d.ts",sideEffects:!0,exports:{".":{types:"./dist/index.d.ts",import:"./dist/index.js"},"./exports/*":{import:"./dist/exports/*"},"./qti-components":{types:"./dist/qti-components/index.d.ts",import:"./dist/qti-components/index.js"},"./qti-item":{types:"./dist/qti-item/index.d.ts",import:"./dist/qti-item/index.js"},"./qti-test":{types:"./dist/qti-test/index.d.ts",import:"./dist/qti-test/index.js"},"./qti-loader":{types:"./dist/qti-loader/index.d.ts",import:"./dist/qti-loader/index.js"},"./qti-transformers":{types:"./dist/qti-transformers/index.d.ts",import:"./dist/qti-transformers/index.js"},"./customElements":"./custom-elements.json","./react":"./dist/qti-components-jsx.d.ts","./item.css":"./dist/item.css","./cdn/*":"./cdn/*","./package.json":"./package.json"},files:["dist","cdn","custom-elements.json"],scripts:{storybook:"run-p storybook:dev cem:watch",watch:'nodemon --watch src --ext ts,css --exec "run-s tsup cem css && yalc push"',"-----------------------cmds--":"-","pre-commit":"run-s lint stylelint madge","commit-msg":"commitlint --edit","build-storybook":"npm run cem && storybook build","-----------------------scripts--":"-",build:"run-p cem css tsup","storybook:dev":"storybook dev -p 6006",cem:"cem analyze","cem:watch":"cem analyze --watch",css:"postcss src/item.css -d dist -m",ci:"npm ci",tsup:"tsup",publint:"publint",lint:"eslint src/**/*.ts",stylelint:'stylelint "src/**/*.css"',test:"vitest run",attw:"attw --profile esm-only --pack --exclude-entrypoints ./item.css ./react",chromatic:"node chromatic-runner.cjs",clean:"rm -rf dist cdn",madge:"madge --circular --extensions ts src",commitlint:"commitlint --edit","-----------------------npm--":"-",prepare:"husky"},peerDependencies:{"@heximal/templates":"^0.1.5","@lit/context":"^1.1.3",lit:"^3.2.1"},devDependencies:{"@arethetypeswrong/cli":"^0.18.2","@chromatic-com/storybook":"^4.1.1","@commitlint/cli":"^19.8.1","@commitlint/config-conventional":"^19.8.1","@custom-elements-manifest/analyzer":"^0.10.4","@eslint/js":"^9.29.0","@heximal/templates":"0.1.5","@lit/context":"^1.1.5","@open-wc/lit-helpers":"^0.7.0","@storybook/addon-a11y":"^9.1.5","@storybook/addon-docs":"^9.1.5","@storybook/addon-links":"^9.1.5","@storybook/addon-themes":"^9.1.5","@storybook/addon-vitest":"^9.1.5","@storybook/web-components-vite":"^9.1.5","@swc/core":"^1.12.1","@testing-library/dom":"^10.4.0","@types/dom-view-transitions":"^1.0.6","@types/node":"^24.0.3","@vitest/browser":"^3.2.4","@vitest/coverage-v8":"^3.2.4","@vitest/ui":"^3.2.4","@wc-toolkit/cem-inheritance":"^1.1.0","@wc-toolkit/cem-sorter":"^1.0.1","@wc-toolkit/cem-utilities":"^1.3.0","@wc-toolkit/changelog":"^1.0.1","@wc-toolkit/jsx-types":"^1.2.2","@wc-toolkit/storybook-helpers":"^9.0.0","@wc-toolkit/type-parser":"^1.1.0",autoprefixer:"^10.4.21",chromatic:"^13.0.0","custom-element-vs-code-integration":"^1.5.0","custom-elements-manifest-deprecator":"^1.2.0",dotenv:"^16.5.0",eslint:"^9.29.0","eslint-import-resolver-typescript":"^4.4.3","eslint-plugin-import":"^2.31.0","eslint-plugin-lit":"^2.1.1","eslint-plugin-lit-a11y":"^5.0.1","eslint-plugin-react":"^7.37.5","eslint-plugin-sort-imports-es6-autofix":"^0.6.0","eslint-plugin-storybook":"^9.1.5","eslint-plugin-wc":"^3.0.1","fast-xml-parser":"^5.2.5",globals:"^16.2.0",globby:"^14.1.0",husky:"^9.1.7",lit:"^3.3.0",madge:"^8.0.0","mdx-mermaid":"^2.0.3",mermaid:"^11.12.0",msw:"^2.11.5","msw-storybook-addon":"^2.0.5",nodemon:"^3.1.10","npm-run-all":"^4.1.5","path-browserify":"^1.0.1","pkg-pr-new":"^0.0.51",playwright:"^1.53.0",postcss:"^8.5.6","postcss-class-apply":"^4.0.1","postcss-cli":"^11.0.1","postcss-import":"^16.1.1","postcss-nesting":"^13.0.2",prettier:"3.5.3","prettier-v2":"npm:prettier@2.8.8",publint:"^0.3.12","remark-gfm":"^4.0.1","shadow-dom-testing-library":"^1.12.0",storybook:"^9.1.5","storybook-addon-tag-badges":"^2.0.1",stylelint:"^16.20.0","stylelint-config-standard":"^38.0.0","stylelint-prettier":"^5.0.3",tsup:"^8.5.0",typescript:"^5.8.3","typescript-eslint":"^8.34.1",vite:"^6.3.5","vite-tsconfig-paths":"^5.1.4",vitest:"^3.2.4",yalc:"^1.0.0-pre.53"},optionalDependencies:{"@rollup/rollup-linux-x64-gnu":"^4.43.0"},customElements:"custom-elements.json",bugs:{url:"https://github.com/Citolab/qti-components/issues"},homepage:"https://github.com/Citolab/qti-components#readme",overrides:{storybook:"$storybook"},msw:{workerDirectory:["public"]}};console.info("%cC\xBFTO%cLab%c: qti-components v%c%s%c loaded",'font-family: "PT Sans", font-weight:bold; color:green; font-size: smaller;vertical-align: sub',"font-weight:bold; color:green","font-weight:unset","font-weight:bold; color:#2563eb",en.version,"font-weight:unset");export{Ki as INITIAL_TEST_CONTEXT,Se as ItemContainer,te as ItemShowCorrectResponse,St as PrintItemVariables,Jr as QtiAnd,G as QtiAssessmentItem,_e as QtiAssessmentItemRef,Te as QtiAssessmentSection,pt as QtiAssessmentStimulusRef,Oi as QtiAssessmentStimulusRefConnectedEvent,et as QtiAssessmentTest,Jt as QtiAssociableHotspot,ut as QtiAssociateInteraction,Kr as QtiBaseValue,mt as QtiChoiceInteraction,Br as QtiCompanionMaterialsInfo,Gi as QtiContainerSize,Yi as QtiContains,oi as QtiContentBody,Ji as QtiCorrect,ve as QtiCustomInteraction,Wt as QtiCustomOperator,qt as QtiDefault,ys as QtiDelete,Pe as QtiEndAttemptInteraction,Qr as QtiEqual,Zr as QtiEqualRounded,U as QtiExtendedTextInteraction,Gt as QtiFeedbackBlock,Yt as QtiFeedbackInline,ss as QtiFieldValue,gt as QtiGap,ht as QtiGapImg,Kt as QtiGapMatchInteraction,ft as QtiGapText,Qi as QtiGcd,le as QtiGraphicAssociateInteraction,Zt as QtiGraphicGapMatchInteraction,Qt as QtiGraphicOrderInteraction,es as QtiGt,ts as QtiGte,Qe as QtiHotspotChoice,er as QtiHotspotInteraction,rr as QtiHottext,tr as QtiHottextInteraction,br as QtiIndex,sr as QtiInlineChoice,ye as QtiInlineChoiceInteraction,is as QtiIsNull,Rt as QtiItem,cr as QtiItemBody,ur as QtiLookupOutcomeValue,os as QtiLt,ns as QtiLte,ei as QtiMapResponse,ti as QtiMapResponsePoint,as as QtiMatch,xe as QtiMatchInteraction,ri as QtiMathOperator,or as QtiMediaInteraction,ls as QtiMember,Ze as QtiModalFeedback,cs as QtiMultiple,ds as QtiNot,rs as QtiNull,ps as QtiOr,qe as QtiOrderInteraction,us as QtiOrdered,me as QtiOutcomeDeclaration,dr as QtiOutcomeProcessing,Ui as QtiOutcomeProcessingProcessor,z as QtiPortableCustomInteraction,Di as QtiPositionObjectInteraction,nr as QtiPositionObjectStage,ms as QtiPower,gr as QtiPrintedVariable,hs as QtiProduct,Gr as QtiPrompt,vs as QtiRandom,Ct as QtiRandomInteger,ji as QtiResponseCondition,we as QtiResponseDeclaration,mr as QtiResponseElse,Xi as QtiResponseElseIf,hr as QtiResponseIf,pr as QtiResponseProcessing,Zi as QtiRound,fr as QtiRoundTo,ue as QtiRubricBlock,de as QtiRule,ce as QtiSelectPointInteraction,Bi as QtiSetOutcomeValue,Wi as QtiSetOutcomeValueRule,De as QtiSimpleAssociableChoice,Ce as QtiSimpleChoice,Ee as QtiSliderInteraction,si as QtiStringMatch,ni as QtiStylesheet,ii as QtiSubtract,fs as QtiSum,gs as QtiSumExpression,ai as QtiTest,vr as QtiTestFeedback,Ae as QtiTestPart,J as QtiTextEntryInteraction,lr as QtiUploadInteraction,bs as QtiVariable,kr as TestCheckItem,ke as TestContainer,yr as TestEndAttempt,wt as TestItemLink,Z as TestNavigation,Fe as TestNext,wr as TestPagingButtonsStamp,Ue as TestPrev,Tr as TestPrintContext,_t as TestPrintVariables,it as TestScoringButtons,At as TestScoringFeedback,_r as TestSectionButtonsStamp,Tt as TestSectionLink,ee as TestShowCorrectResponse,rt as TestStamp,W as TestView,Ar as TestViewToggle,Mn as qtiAndMixin,In as qtiSubtractMixin,pe as testContext};
|
|
5435
|
+
`,c([_({context:kt,subscribe:!0})],te.prototype,"computedContext",2),c([u({type:Boolean,reflect:!0})],te.prototype,"shown",2),c([u({type:Boolean,reflect:!0})],te.prototype,"disabled",2),c([u({type:String})],te.prototype,"showCorrectText",2),c([u({type:String})],te.prototype,"hideCorrectText",2),c([u({type:String})],te.prototype,"noCorrectResponseText",2),te=c([g("item-show-correct-response")],te);var Rt=class extends v{constructor(){super();this.configContext={};this._onItemContextChanged=this._handleItemContextChanged.bind(this);this._onAssessmentItemConnected=this._handleAssessmentItemConnected.bind(this);this._onHandleShowCorrectResponse=this._handleShowCorrectResponse.bind(this);this._onHandleShowCandidateCorrection=this._handleShowCandidateCorrection.bind(this);this._onHandleSwitchCorrectResponseMode=this._handleSwitchCorrectResponseMode.bind(this);this.addEventListener("qti-item-context-updated",this._onItemContextChanged),this.addEventListener("qti-assessment-item-connected",this._onAssessmentItemConnected),this.addEventListener("item-show-correct-response",this._onHandleShowCorrectResponse),this.addEventListener("item-show-candidate-correction",this._onHandleShowCandidateCorrection),this.addEventListener("item-switch-correct-response-mode",this._onHandleSwitchCorrectResponseMode)}_handleItemContextChanged(e){this._updateItemVariablesInTestContext(e.detail.itemContext.identifier,e.detail?.itemContext?.variables||[])}_handleAssessmentItemConnected(e){let t=e.detail._context.variables;this._qtiAssessmentItem=e.detail,this.computedContext=this.computedContext?.identifier===this._qtiAssessmentItem.identifier?{...this.computedContext,title:this._qtiAssessmentItem.title}:{identifier:this._qtiAssessmentItem.identifier,title:this._qtiAssessmentItem.title,adaptive:this._qtiAssessmentItem.getAttribute("adaptive")?.toLowerCase()==="true"||!1,variables:t,correctResponseMode:"internal"},this._updateItemVariablesInTestContext(this._qtiAssessmentItem.identifier,t||[])}_handleShowCorrectResponse(e){this._qtiAssessmentItem&&this._qtiAssessmentItem.showCorrectResponse(e.detail)}_handleShowCandidateCorrection(e){this._qtiAssessmentItem&&this._qtiAssessmentItem.showCandidateCorrection(e.detail)}_handleSwitchCorrectResponseMode(e){this._handleShowCorrectResponse(new CustomEvent("item-show-correct-response",{detail:!1,bubbles:!0})),this.configContext={...this.configContext,correctResponseMode:e.detail}}_updateItemVariablesInTestContext(e,t){let i=t?.find(p=>p.identifier=="SCORE")?.value,s=parseFloat(i?.toString()),n=t?.find(p=>p.identifier==="completionStatus")?.value,a=s!==void 0&&!isNaN(s)&&s>0,l=s!==void 0&&!isNaN(s)&&s<=0,d=n==="completed";this.computedContext={...this.computedContext,identifier:e,correct:a,incorrect:l,completed:d,variables:t}}render(){return h`<slot></slot>`}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("qti-item-context-changed",this._onItemContextChanged),this.removeEventListener("qti-assessment-item-connected",this._onAssessmentItemConnected)}};c([C(),X({context:kt})],Rt.prototype,"computedContext",2),c([C(),X({context:oe})],Rt.prototype,"configContext",2),Rt=c([g("qti-item")],Rt);var en={name:"@citolab/qti-components",repository:{type:"git",url:"git+https://github.com/Citolab/qti-components.git"},description:"QTI webcomponents",author:{name:"Patrick de Klein"},contributors:[{name:"Sander Looise"},{name:"Marcel Hoekstra"}],license:"GPLv3",private:!1,engines:{node:">=22.0.0"},version:"7.14.2",type:"module",main:"./dist/index.js",types:"./dist/index.d.ts",sideEffects:!0,exports:{".":{types:"./dist/index.d.ts",import:"./dist/index.js"},"./exports/*":{import:"./dist/exports/*"},"./qti-components":{types:"./dist/qti-components/index.d.ts",import:"./dist/qti-components/index.js"},"./qti-item":{types:"./dist/qti-item/index.d.ts",import:"./dist/qti-item/index.js"},"./qti-test":{types:"./dist/qti-test/index.d.ts",import:"./dist/qti-test/index.js"},"./qti-loader":{types:"./dist/qti-loader/index.d.ts",import:"./dist/qti-loader/index.js"},"./qti-transformers":{types:"./dist/qti-transformers/index.d.ts",import:"./dist/qti-transformers/index.js"},"./customElements":"./custom-elements.json","./react":"./dist/qti-components-jsx.d.ts","./item.css":"./dist/item.css","./cdn/*":"./cdn/*","./package.json":"./package.json"},files:["dist","cdn","custom-elements.json"],scripts:{storybook:"run-p storybook:dev cem:watch",watch:'nodemon --watch src --ext ts,css --exec "run-s tsup cem css && yalc push"',"-----------------------cmds--":"-","pre-commit":"run-s lint stylelint madge","commit-msg":"commitlint --edit","build-storybook":"npm run cem && storybook build","-----------------------scripts--":"-",build:"run-p cem css tsup","storybook:dev":"storybook dev -p 6006",cem:"cem analyze","cem:watch":"cem analyze --watch",css:"postcss src/item.css -d dist -m",ci:"npm ci",tsup:"tsup",publint:"publint",lint:"eslint src/**/*.ts",stylelint:'stylelint "src/**/*.css"',test:"vitest run",attw:"attw --profile esm-only --pack --exclude-entrypoints ./item.css ./react",chromatic:"node chromatic-runner.cjs",clean:"rm -rf dist cdn",madge:"madge --circular --extensions ts src",commitlint:"commitlint --edit","-----------------------npm--":"-",prepare:"husky"},peerDependencies:{"@heximal/templates":"^0.1.5","@lit/context":"^1.1.3",lit:"^3.2.1"},devDependencies:{"@arethetypeswrong/cli":"^0.18.2","@chromatic-com/storybook":"^4.1.1","@commitlint/cli":"^19.8.1","@commitlint/config-conventional":"^19.8.1","@custom-elements-manifest/analyzer":"^0.10.4","@eslint/js":"^9.29.0","@heximal/templates":"0.1.5","@lit/context":"^1.1.5","@open-wc/lit-helpers":"^0.7.0","@storybook/addon-a11y":"^9.1.5","@storybook/addon-docs":"^9.1.5","@storybook/addon-links":"^9.1.5","@storybook/addon-themes":"^9.1.5","@storybook/addon-vitest":"^9.1.5","@storybook/web-components-vite":"^9.1.5","@swc/core":"^1.12.1","@testing-library/dom":"^10.4.0","@types/dom-view-transitions":"^1.0.6","@types/node":"^24.0.3","@vitest/browser":"^3.2.4","@vitest/coverage-v8":"^3.2.4","@vitest/ui":"^3.2.4","@wc-toolkit/cem-inheritance":"^1.1.0","@wc-toolkit/cem-sorter":"^1.0.1","@wc-toolkit/cem-utilities":"^1.3.0","@wc-toolkit/changelog":"^1.0.1","@wc-toolkit/jsx-types":"^1.2.2","@wc-toolkit/storybook-helpers":"^9.0.0","@wc-toolkit/type-parser":"^1.1.0",autoprefixer:"^10.4.21",chromatic:"^13.0.0","custom-element-vs-code-integration":"^1.5.0","custom-elements-manifest-deprecator":"^1.2.0",dotenv:"^16.5.0",eslint:"^9.29.0","eslint-import-resolver-typescript":"^4.4.3","eslint-plugin-import":"^2.31.0","eslint-plugin-lit":"^2.1.1","eslint-plugin-lit-a11y":"^5.0.1","eslint-plugin-react":"^7.37.5","eslint-plugin-sort-imports-es6-autofix":"^0.6.0","eslint-plugin-storybook":"^9.1.5","eslint-plugin-wc":"^3.0.1","fast-xml-parser":"^5.2.5",globals:"^16.2.0",globby:"^14.1.0",husky:"^9.1.7",lit:"^3.3.0",madge:"^8.0.0","mdx-mermaid":"^2.0.3",mermaid:"^11.12.0",msw:"^2.11.5","msw-storybook-addon":"^2.0.5",nodemon:"^3.1.10","npm-run-all":"^4.1.5","path-browserify":"^1.0.1","pkg-pr-new":"^0.0.51",playwright:"^1.53.0",postcss:"^8.5.6","postcss-class-apply":"^4.0.1","postcss-cli":"^11.0.1","postcss-import":"^16.1.1","postcss-nesting":"^13.0.2",prettier:"3.5.3","prettier-v2":"npm:prettier@2.8.8",publint:"^0.3.12","remark-gfm":"^4.0.1","shadow-dom-testing-library":"^1.12.0",storybook:"^9.1.5","storybook-addon-tag-badges":"^2.0.1",stylelint:"^16.20.0","stylelint-config-standard":"^38.0.0","stylelint-prettier":"^5.0.3",tsup:"^8.5.0",typescript:"^5.8.3","typescript-eslint":"^8.34.1",vite:"^6.3.5","vite-tsconfig-paths":"^5.1.4",vitest:"^3.2.4",yalc:"^1.0.0-pre.53"},optionalDependencies:{"@rollup/rollup-linux-x64-gnu":"^4.43.0"},customElements:"custom-elements.json",bugs:{url:"https://github.com/Citolab/qti-components/issues"},homepage:"https://github.com/Citolab/qti-components#readme",overrides:{storybook:"$storybook"},msw:{workerDirectory:["public"]}};console.info("%cC\xBFTO%cLab%c: qti-components v%c%s%c loaded",'font-family: "PT Sans", font-weight:bold; color:green; font-size: smaller;vertical-align: sub',"font-weight:bold; color:green","font-weight:unset","font-weight:bold; color:#2563eb",en.version,"font-weight:unset");export{Ki as INITIAL_TEST_CONTEXT,Se as ItemContainer,te as ItemShowCorrectResponse,St as PrintItemVariables,Jr as QtiAnd,G as QtiAssessmentItem,_e as QtiAssessmentItemRef,Te as QtiAssessmentSection,pt as QtiAssessmentStimulusRef,Oi as QtiAssessmentStimulusRefConnectedEvent,et as QtiAssessmentTest,Jt as QtiAssociableHotspot,ut as QtiAssociateInteraction,Kr as QtiBaseValue,mt as QtiChoiceInteraction,Br as QtiCompanionMaterialsInfo,Gi as QtiContainerSize,Yi as QtiContains,oi as QtiContentBody,Ji as QtiCorrect,ve as QtiCustomInteraction,Wt as QtiCustomOperator,qt as QtiDefault,ys as QtiDelete,Pe as QtiEndAttemptInteraction,Qr as QtiEqual,Zr as QtiEqualRounded,U as QtiExtendedTextInteraction,Gt as QtiFeedbackBlock,Yt as QtiFeedbackInline,ss as QtiFieldValue,gt as QtiGap,ht as QtiGapImg,Kt as QtiGapMatchInteraction,ft as QtiGapText,Qi as QtiGcd,le as QtiGraphicAssociateInteraction,Zt as QtiGraphicGapMatchInteraction,Qt as QtiGraphicOrderInteraction,es as QtiGt,ts as QtiGte,Qe as QtiHotspotChoice,er as QtiHotspotInteraction,rr as QtiHottext,tr as QtiHottextInteraction,br as QtiIndex,sr as QtiInlineChoice,ye as QtiInlineChoiceInteraction,is as QtiIsNull,Rt as QtiItem,cr as QtiItemBody,ur as QtiLookupOutcomeValue,os as QtiLt,ns as QtiLte,ei as QtiMapResponse,ti as QtiMapResponsePoint,as as QtiMatch,xe as QtiMatchInteraction,ri as QtiMathOperator,or as QtiMediaInteraction,ls as QtiMember,Ze as QtiModalFeedback,cs as QtiMultiple,ds as QtiNot,rs as QtiNull,ps as QtiOr,qe as QtiOrderInteraction,us as QtiOrdered,me as QtiOutcomeDeclaration,dr as QtiOutcomeProcessing,Ui as QtiOutcomeProcessingProcessor,z as QtiPortableCustomInteraction,Di as QtiPositionObjectInteraction,nr as QtiPositionObjectStage,ms as QtiPower,gr as QtiPrintedVariable,hs as QtiProduct,Gr as QtiPrompt,vs as QtiRandom,Ct as QtiRandomInteger,ji as QtiResponseCondition,we as QtiResponseDeclaration,mr as QtiResponseElse,Xi as QtiResponseElseIf,hr as QtiResponseIf,pr as QtiResponseProcessing,Zi as QtiRound,fr as QtiRoundTo,ue as QtiRubricBlock,de as QtiRule,ce as QtiSelectPointInteraction,Bi as QtiSetOutcomeValue,Wi as QtiSetOutcomeValueRule,De as QtiSimpleAssociableChoice,Ce as QtiSimpleChoice,Ee as QtiSliderInteraction,si as QtiStringMatch,ni as QtiStylesheet,ii as QtiSubtract,fs as QtiSum,gs as QtiSumExpression,ai as QtiTest,vr as QtiTestFeedback,Ae as QtiTestPart,J as QtiTextEntryInteraction,lr as QtiUploadInteraction,bs as QtiVariable,kr as TestCheckItem,ke as TestContainer,yr as TestEndAttempt,wt as TestItemLink,Z as TestNavigation,Fe as TestNext,wr as TestPagingButtonsStamp,Ue as TestPrev,Tr as TestPrintContext,_t as TestPrintVariables,it as TestScoringButtons,At as TestScoringFeedback,_r as TestSectionButtonsStamp,Tt as TestSectionLink,ee as TestShowCorrectResponse,rt as TestStamp,W as TestView,Ar as TestViewToggle,Mn as qtiAndMixin,In as qtiSubtractMixin,pe as testContext};
|
|
5436
5436
|
/*! Bundled license information:
|
|
5437
5437
|
|
|
5438
5438
|
@lit/context/lib/context-request-event.js:
|
package/custom-elements.json
CHANGED
|
@@ -26742,21 +26742,27 @@
|
|
|
26742
26742
|
"kind": "field",
|
|
26743
26743
|
"name": "view",
|
|
26744
26744
|
"type": {
|
|
26745
|
-
"text": "
|
|
26745
|
+
"text": "View"
|
|
26746
26746
|
},
|
|
26747
26747
|
"privacy": "public",
|
|
26748
26748
|
"default": "null",
|
|
26749
|
-
"attribute": "view"
|
|
26749
|
+
"attribute": "view",
|
|
26750
|
+
"parsedType": {
|
|
26751
|
+
"text": "'' | 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor'"
|
|
26752
|
+
}
|
|
26750
26753
|
}
|
|
26751
26754
|
],
|
|
26752
26755
|
"attributes": [
|
|
26753
26756
|
{
|
|
26754
26757
|
"name": "view",
|
|
26755
26758
|
"type": {
|
|
26756
|
-
"text": "
|
|
26759
|
+
"text": "View"
|
|
26757
26760
|
},
|
|
26758
26761
|
"default": "null",
|
|
26759
|
-
"fieldName": "view"
|
|
26762
|
+
"fieldName": "view",
|
|
26763
|
+
"parsedType": {
|
|
26764
|
+
"text": "'' | 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor'"
|
|
26765
|
+
}
|
|
26760
26766
|
}
|
|
26761
26767
|
],
|
|
26762
26768
|
"superclass": {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
liveQuery,
|
|
5
|
-
removeDoubleSlashes
|
|
6
|
-
} from "./chunk-YD7FVKDP.js";
|
|
7
|
-
import {
|
|
8
|
-
watch
|
|
9
|
-
} from "./chunk-ELDMXTUQ.js";
|
|
2
|
+
Interaction
|
|
3
|
+
} from "./chunk-P4QBOVQ2.js";
|
|
10
4
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./chunk-
|
|
5
|
+
itemContextVariables
|
|
6
|
+
} from "./chunk-JQ6HWGRY.js";
|
|
13
7
|
import {
|
|
14
8
|
QtiConditionExpression
|
|
15
9
|
} from "./chunk-SV4K25ZI.js";
|
|
16
10
|
import {
|
|
17
11
|
QtiExpression
|
|
18
12
|
} from "./chunk-GAAFN7QF.js";
|
|
13
|
+
import {
|
|
14
|
+
QtiFeedback,
|
|
15
|
+
convertNumberToUniversalFormat,
|
|
16
|
+
liveQuery,
|
|
17
|
+
removeDoubleSlashes
|
|
18
|
+
} from "./chunk-YD7FVKDP.js";
|
|
19
19
|
import {
|
|
20
20
|
testContext
|
|
21
21
|
} from "./chunk-CJADUWEC.js";
|
|
22
|
-
import {
|
|
23
|
-
Interaction
|
|
24
|
-
} from "./chunk-P4QBOVQ2.js";
|
|
25
22
|
import {
|
|
26
23
|
itemContext
|
|
27
24
|
} from "./chunk-NJNQOQUU.js";
|
|
25
|
+
import {
|
|
26
|
+
watch
|
|
27
|
+
} from "./chunk-ELDMXTUQ.js";
|
|
28
|
+
import {
|
|
29
|
+
qtiTransformItem
|
|
30
|
+
} from "./chunk-XBPO6E25.js";
|
|
28
31
|
import {
|
|
29
32
|
configContext
|
|
30
33
|
} from "./chunk-BHJSX3Q6.js";
|
|
31
|
-
import {
|
|
32
|
-
itemContextVariables
|
|
33
|
-
} from "./chunk-JQ6HWGRY.js";
|
|
34
34
|
import {
|
|
35
35
|
__decorateClass
|
|
36
36
|
} from "./chunk-H2JE6IVU.js";
|
|
@@ -8827,4 +8827,4 @@ export {
|
|
|
8827
8827
|
QtiOutcomeDeclaration,
|
|
8828
8828
|
QtiResponseDeclaration
|
|
8829
8829
|
};
|
|
8830
|
-
//# sourceMappingURL=chunk-
|
|
8830
|
+
//# sourceMappingURL=chunk-2X2C5WI5.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
INITIAL_SESSION_CONTEXT,
|
|
3
|
+
sessionContext
|
|
4
|
+
} from "./chunk-C5RLRG3L.js";
|
|
4
5
|
import {
|
|
5
6
|
item_default
|
|
6
7
|
} from "./chunk-PT5ASWGQ.js";
|
|
7
8
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
QtiModalFeedback
|
|
10
|
+
} from "./chunk-YD7FVKDP.js";
|
|
10
11
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
INITIAL_TEST_CONTEXT,
|
|
13
|
+
testContext
|
|
14
|
+
} from "./chunk-CJADUWEC.js";
|
|
14
15
|
import {
|
|
15
16
|
qtiContext
|
|
16
17
|
} from "./chunk-H6KHXSIO.js";
|
|
17
18
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./chunk-C5RLRG3L.js";
|
|
19
|
+
watch
|
|
20
|
+
} from "./chunk-ELDMXTUQ.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./chunk-
|
|
22
|
+
qtiTransformItem,
|
|
23
|
+
qtiTransformTest
|
|
24
|
+
} from "./chunk-XBPO6E25.js";
|
|
25
25
|
import {
|
|
26
26
|
computedContext
|
|
27
27
|
} from "./chunk-DVQQ7I6Y.js";
|
|
@@ -2289,4 +2289,4 @@ export {
|
|
|
2289
2289
|
TestScoringFeedback,
|
|
2290
2290
|
TestCheckItem
|
|
2291
2291
|
};
|
|
2292
|
-
//# sourceMappingURL=chunk-
|
|
2292
|
+
//# sourceMappingURL=chunk-Z2FFXTKX.js.map
|