@citolab/qti-components 7.0.6 → 7.0.8

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.js CHANGED
@@ -1 +1 @@
1
- import{a as Io,b as Lo,c as Mo,d as No,e as Oo,f as Po}from"./chunks/chunk-J3JSSCM6.js";import{$ as eo,A as D,Aa as Eo,B as E,Ba as Fo,C as F,Ca as Go,D as G,Da as Ho,E as H,F as I,G as J,H as K,I as L,J as M,K as N,L as O,M as P,N as Q,O as R,P as S,Q as T,R as U,S as V,T as W,U as X,V as Y,W as Z,X as _,Y as $,Z as oo,_ as ro,a as o,aa as fo,b as m,ba as mo,c as p,ca as po,d as t,da as to,e as x,ea as xo,f as a,fa as ao,g as b,ga as bo,h as c,ha as co,i as d,ia as go,j as g,ja as ho,k as h,ka as io,l as i,la as jo,m as j,ma as ko,n as k,na as lo,o as l,oa as no,p as n,pa as qo,q,qa as so,r as s,ra as uo,s as u,sa as vo,t as v,ta as wo,u as w,ua as yo,v as y,va as zo,w as z,wa as Ao,x as A,xa as Bo,y as B,ya as Co,z as C,za as Do}from"./chunks/chunk-T2KKTMAT.js";import{a as _o,b as $o}from"./chunks/chunk-4UJBK6JO.js";import{a as Yo,b as Zo}from"./chunks/chunk-YWH4TGMA.js";import"./chunks/chunk-4ILXLVT5.js";import"./chunks/chunk-5BR5CJFH.js";import{a as r,b as e,c as f}from"./chunks/chunk-5FCXUJAG.js";import"./chunks/chunk-6PW2L463.js";import{a as Vo}from"./chunks/chunk-EFU4L43Q.js";import{a as Uo}from"./chunks/chunk-ROZIP5LG.js";import{a as Ro}from"./chunks/chunk-RPZVSBLM.js";import{a as Xo}from"./chunks/chunk-YHWMZAZD.js";import{a as So}from"./chunks/chunk-TEYXRLTI.js";import{a as Wo}from"./chunks/chunk-RIXTWE2H.js";import{a as To}from"./chunks/chunk-H2V2RXUW.js";import"./chunks/chunk-L4CUWIE6.js";import{a as Qo}from"./chunks/chunk-PPWEIKLT.js";import{a as Jo,b as Ko}from"./chunks/chunk-6MCYE7P5.js";import"./chunks/chunk-EHK76KRT.js";import"./chunks/chunk-XUJ7TXHW.js";import"./chunks/chunk-UJP4TGD3.js";import"./chunks/chunk-KWPDTFYH.js";import"./chunks/chunk-RXKI3AO4.js";import"./chunks/chunk-X2KBNXRO.js";import"./chunks/chunk-5GCSZ3CH.js";import"./chunks/chunk-LZZB4VGC.js";import"./chunks/chunk-QQCGUVEV.js";import"./chunks/chunk-FRS2J3OS.js";import"./chunks/chunk-IAP2CEE7.js";export{Yo as ItemContainer,oo as QtiAnd,o as QtiAssessmentItem,Mo as QtiAssessmentItemRef,No as QtiAssessmentSection,m as QtiAssessmentStimulusRef,Oo as QtiAssessmentTest,c as QtiAssociableHotspot,d as QtiAssociateInteraction,eo as QtiBaseValue,g as QtiChoiceInteraction,p as QtiCompanionMaterialsInfo,fo as QtiContains,Do as QtiContentBody,mo as QtiCorrect,h as QtiCustomInteraction,t as QtiCustomOperator,i as QtiEndAttemptInteraction,to as QtiEqual,po as QtiEqualRounded,j as QtiExtendedTextInteraction,x as QtiFeedbackBlock,a as QtiFeedbackInline,q as QtiGap,k as QtiGapImg,l as QtiGapMatchInteraction,n as QtiGapText,s as QtiGraphicAssociateInteraction,u as QtiGraphicGapMatchInteraction,v as QtiGraphicOrderInteraction,xo as QtiGt,ao as QtiGte,w as QtiHotspotChoice,y as QtiHotspotInteraction,A as QtiHottext,z as QtiHottextInteraction,C as QtiInlineChoice,B as QtiInlineChoiceInteraction,bo as QtiIsNull,Zo as QtiItem,P as QtiItemBody,V as QtiLookupOutcomeValue,co as QtiLt,go as QtiLte,ho as QtiMapResponse,io as QtiMapping,jo as QtiMatch,E as QtiMatchInteraction,F as QtiMediaInteraction,ko as QtiMember,b as QtiModalFeedback,lo as QtiMultiple,no as QtiNot,qo as QtiOr,G as QtiOrderInteraction,so as QtiOrdered,Go as QtiOutcomeDeclaration,Q as QtiOutcomeProcessing,R as QtiOutcomeProcessingProcessor,H as QtiPortableCustomInteraction,I as QtiPositionObjectInteraction,J as QtiPositionObjectStage,uo as QtiPrintedVariable,vo as QtiProduct,S as QtiPrompt,W as QtiResponseCondition,Ho as QtiResponseDeclaration,Z as QtiResponseElse,$ as QtiResponseElseIf,_ as QtiResponseIf,T as QtiResponseProcessing,Eo as QtiRubricBlock,U as QtiRule,K as QtiSelectPointInteraction,X as QtiSetOutcomeValue,Y as QtiSetOutcomeValueRule,D as QtiSimpleAssociableChoice,L as QtiSimpleChoice,M as QtiSliderInteraction,zo as QtiStringMatch,Fo as QtiStylesheet,wo as QtiSubtract,Ao as QtiSum,Bo as QtiSumExpression,Lo as QtiTest,Po as QtiTestPart,N as QtiTextEntryInteraction,O as QtiUploadInteraction,Co as QtiVariable,Qo as TestComponent,Io as TestContainer,Vo as TestEndAttempt,Uo as TestItemLink,Ro as TestNext,Xo as TestPagingButtonsStamp,So as TestPrev,Wo as TestShowCorrectResponse,To as TestView,$o as getItemByUri,_o as getManifestInfo,ro as qtiAndMixin,yo as qtiSubtractMixin,r as qtiTransformItem,e as qtiTransformManifest,f as qtiTransformTest,Jo as testContext,Ko as testElement};
1
+ import{a as Io,b as Lo,c as Mo,d as No,e as Oo,f as Po}from"./chunks/chunk-J3JSSCM6.js";import{a as Yo,b as Zo}from"./chunks/chunk-YWH4TGMA.js";import"./chunks/chunk-4ILXLVT5.js";import{a as _o,b as $o}from"./chunks/chunk-4UJBK6JO.js";import{$ as eo,A as D,Aa as Eo,B as E,Ba as Fo,C as F,Ca as Go,D as G,Da as Ho,E as H,F as I,G as J,H as K,I as L,J as M,K as N,L as O,M as P,N as Q,O as R,P as S,Q as T,R as U,S as V,T as W,U as X,V as Y,W as Z,X as _,Y as $,Z as oo,_ as ro,a as o,aa as fo,b as m,ba as mo,c as p,ca as po,d as t,da as to,e as x,ea as xo,f as a,fa as ao,g as b,ga as bo,h as c,ha as co,i as d,ia as go,j as g,ja as ho,k as h,ka as io,l as i,la as jo,m as j,ma as ko,n as k,na as lo,o as l,oa as no,p as n,pa as qo,q,qa as so,r as s,ra as uo,s as u,sa as vo,t as v,ta as wo,u as w,ua as yo,v as y,va as zo,w as z,wa as Ao,x as A,xa as Bo,y as B,ya as Co,z as C,za as Do}from"./chunks/chunk-T2KKTMAT.js";import"./chunks/chunk-5BR5CJFH.js";import{a as r,b as e,c as f}from"./chunks/chunk-5FCXUJAG.js";import"./chunks/chunk-6PW2L463.js";import{a as Uo}from"./chunks/chunk-ROZIP5LG.js";import{a as Ro}from"./chunks/chunk-RPZVSBLM.js";import{a as Xo}from"./chunks/chunk-YHWMZAZD.js";import{a as So}from"./chunks/chunk-TEYXRLTI.js";import{a as Wo}from"./chunks/chunk-RIXTWE2H.js";import{a as To}from"./chunks/chunk-H2V2RXUW.js";import{a as Vo}from"./chunks/chunk-EFU4L43Q.js";import"./chunks/chunk-L4CUWIE6.js";import{a as Qo}from"./chunks/chunk-PPWEIKLT.js";import{a as Jo,b as Ko}from"./chunks/chunk-6MCYE7P5.js";import"./chunks/chunk-EHK76KRT.js";import"./chunks/chunk-XUJ7TXHW.js";import"./chunks/chunk-UJP4TGD3.js";import"./chunks/chunk-KWPDTFYH.js";import"./chunks/chunk-RXKI3AO4.js";import"./chunks/chunk-X2KBNXRO.js";import"./chunks/chunk-5GCSZ3CH.js";import"./chunks/chunk-LZZB4VGC.js";import"./chunks/chunk-QQCGUVEV.js";import"./chunks/chunk-FRS2J3OS.js";import"./chunks/chunk-IAP2CEE7.js";export{Yo as ItemContainer,oo as QtiAnd,o as QtiAssessmentItem,Mo as QtiAssessmentItemRef,No as QtiAssessmentSection,m as QtiAssessmentStimulusRef,Oo as QtiAssessmentTest,c as QtiAssociableHotspot,d as QtiAssociateInteraction,eo as QtiBaseValue,g as QtiChoiceInteraction,p as QtiCompanionMaterialsInfo,fo as QtiContains,Do as QtiContentBody,mo as QtiCorrect,h as QtiCustomInteraction,t as QtiCustomOperator,i as QtiEndAttemptInteraction,to as QtiEqual,po as QtiEqualRounded,j as QtiExtendedTextInteraction,x as QtiFeedbackBlock,a as QtiFeedbackInline,q as QtiGap,k as QtiGapImg,l as QtiGapMatchInteraction,n as QtiGapText,s as QtiGraphicAssociateInteraction,u as QtiGraphicGapMatchInteraction,v as QtiGraphicOrderInteraction,xo as QtiGt,ao as QtiGte,w as QtiHotspotChoice,y as QtiHotspotInteraction,A as QtiHottext,z as QtiHottextInteraction,C as QtiInlineChoice,B as QtiInlineChoiceInteraction,bo as QtiIsNull,Zo as QtiItem,P as QtiItemBody,V as QtiLookupOutcomeValue,co as QtiLt,go as QtiLte,ho as QtiMapResponse,io as QtiMapping,jo as QtiMatch,E as QtiMatchInteraction,F as QtiMediaInteraction,ko as QtiMember,b as QtiModalFeedback,lo as QtiMultiple,no as QtiNot,qo as QtiOr,G as QtiOrderInteraction,so as QtiOrdered,Go as QtiOutcomeDeclaration,Q as QtiOutcomeProcessing,R as QtiOutcomeProcessingProcessor,H as QtiPortableCustomInteraction,I as QtiPositionObjectInteraction,J as QtiPositionObjectStage,uo as QtiPrintedVariable,vo as QtiProduct,S as QtiPrompt,W as QtiResponseCondition,Ho as QtiResponseDeclaration,Z as QtiResponseElse,$ as QtiResponseElseIf,_ as QtiResponseIf,T as QtiResponseProcessing,Eo as QtiRubricBlock,U as QtiRule,K as QtiSelectPointInteraction,X as QtiSetOutcomeValue,Y as QtiSetOutcomeValueRule,D as QtiSimpleAssociableChoice,L as QtiSimpleChoice,M as QtiSliderInteraction,zo as QtiStringMatch,Fo as QtiStylesheet,wo as QtiSubtract,Ao as QtiSum,Bo as QtiSumExpression,Lo as QtiTest,Po as QtiTestPart,N as QtiTextEntryInteraction,O as QtiUploadInteraction,Co as QtiVariable,Qo as TestComponent,Io as TestContainer,Vo as TestEndAttempt,Uo as TestItemLink,Ro as TestNext,Xo as TestPagingButtonsStamp,So as TestPrev,Wo as TestShowCorrectResponse,To as TestView,$o as getItemByUri,_o as getManifestInfo,ro as qtiAndMixin,yo as qtiSubtractMixin,r as qtiTransformItem,e as qtiTransformManifest,f as qtiTransformTest,Jo as testContext,Ko as testElement};
@@ -1 +1 @@
1
- import"../../chunks/chunk-6PW2L463.js";import{a as f}from"../../chunks/chunk-EFU4L43Q.js";import{a as e}from"../../chunks/chunk-ROZIP5LG.js";import{a as b}from"../../chunks/chunk-RPZVSBLM.js";import{a as h}from"../../chunks/chunk-YHWMZAZD.js";import{a as c}from"../../chunks/chunk-TEYXRLTI.js";import{a as g}from"../../chunks/chunk-RIXTWE2H.js";import{a as d}from"../../chunks/chunk-H2V2RXUW.js";import"../../chunks/chunk-L4CUWIE6.js";import{a}from"../../chunks/chunk-PPWEIKLT.js";import"../../chunks/chunk-6MCYE7P5.js";import"../../chunks/chunk-EHK76KRT.js";import"../../chunks/chunk-XUJ7TXHW.js";import"../../chunks/chunk-5GCSZ3CH.js";import"../../chunks/chunk-LZZB4VGC.js";import"../../chunks/chunk-FRS2J3OS.js";import"../../chunks/chunk-IAP2CEE7.js";export{a as TestComponent,f as TestEndAttempt,e as TestItemLink,b as TestNext,h as TestPagingButtonsStamp,c as TestPrev,g as TestShowCorrectResponse,d as TestView};
1
+ import"../../chunks/chunk-6PW2L463.js";import{a as e}from"../../chunks/chunk-ROZIP5LG.js";import{a as b}from"../../chunks/chunk-RPZVSBLM.js";import{a as h}from"../../chunks/chunk-YHWMZAZD.js";import{a as c}from"../../chunks/chunk-TEYXRLTI.js";import{a as g}from"../../chunks/chunk-RIXTWE2H.js";import{a as d}from"../../chunks/chunk-H2V2RXUW.js";import{a as f}from"../../chunks/chunk-EFU4L43Q.js";import"../../chunks/chunk-L4CUWIE6.js";import{a}from"../../chunks/chunk-PPWEIKLT.js";import"../../chunks/chunk-6MCYE7P5.js";import"../../chunks/chunk-EHK76KRT.js";import"../../chunks/chunk-XUJ7TXHW.js";import"../../chunks/chunk-5GCSZ3CH.js";import"../../chunks/chunk-LZZB4VGC.js";import"../../chunks/chunk-FRS2J3OS.js";import"../../chunks/chunk-IAP2CEE7.js";export{a as TestComponent,f as TestEndAttempt,e as TestItemLink,b as TestNext,h as TestPagingButtonsStamp,c as TestPrev,g as TestShowCorrectResponse,d as TestView};
@@ -762,15 +762,6 @@ export type ItemContainerProps = {
762
762
 
763
763
  export type QtiItemProps = {};
764
764
 
765
- export type TestContainerProps = {
766
- /** URL of the item to load */
767
- "test-url"?: string;
768
- /** A parsed HTML document */
769
- testDoc?: DocumentFragment;
770
- /** The raw XML string */
771
- testXML?: string;
772
- };
773
-
774
765
  export type QtiAssessmentItemRefProps = {
775
766
  /** */
776
767
  category?: string | undefined;
@@ -840,17 +831,6 @@ export type QtiTestPartProps = {
840
831
  "onqti-test-part-connected"?: (e: CustomEvent<Event>) => void;
841
832
  };
842
833
 
843
- export type QtiTestProps = {
844
- /** Items will be scored on everyinteraction when `qti-assessment-item` is not set to adaptive, and the `SCORE` outcome identifier is not set to be "human" | "externalMachine" */
845
- "auto-score-items"?: boolean;
846
- /** */
847
- "auto-store-restore"?: boolean;
848
- /** */
849
- context?: TestContext;
850
- /** */
851
- "onqti-test-connected"?: (e: CustomEvent<CustomEvent>) => void;
852
- };
853
-
854
834
  export type TestNextProps = {
855
835
  /** */
856
836
  role?: string;
@@ -893,6 +873,26 @@ export type TestItemLinkProps = {
893
873
  "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
894
874
  };
895
875
 
876
+ export type TestContainerProps = {
877
+ /** URL of the item to load */
878
+ "test-url"?: string;
879
+ /** A parsed HTML document */
880
+ testDoc?: DocumentFragment;
881
+ /** The raw XML string */
882
+ testXML?: string;
883
+ };
884
+
885
+ export type QtiTestProps = {
886
+ /** Items will be scored on everyinteraction when `qti-assessment-item` is not set to adaptive, and the `SCORE` outcome identifier is not set to be "human" | "externalMachine" */
887
+ "auto-score-items"?: boolean;
888
+ /** */
889
+ "auto-store-restore"?: boolean;
890
+ /** */
891
+ context?: TestContext;
892
+ /** */
893
+ "onqti-test-connected"?: (e: CustomEvent<CustomEvent>) => void;
894
+ };
895
+
896
896
  export type TestEndAttemptProps = {
897
897
  /** */
898
898
  disabled?: boolean;
@@ -1661,21 +1661,6 @@ export type CustomElements = {
1661
1661
  */
1662
1662
  "qti-item": Partial<QtiItemProps & BaseProps & BaseEvents>;
1663
1663
 
1664
- /**
1665
- * `<test-container>` is a custom element designed for hosting the qti-assessment-item.
1666
- * The `qti-assessment-test` will be placed inside the shadow DOM of this element.
1667
- * The element loads the test from the provided URL and renders it inside the shadow DOM.
1668
- *
1669
- * ```html
1670
- * <qti-test>
1671
- * <test-container class="m-4 bg-white" test-url="./path/to/assessmenttest.xml"></test-container>
1672
- * </qti-test>
1673
- * ```
1674
- * ---
1675
- *
1676
- */
1677
- "test-container": Partial<TestContainerProps & BaseProps & BaseEvents>;
1678
-
1679
1664
  /**
1680
1665
  *
1681
1666
  * ---
@@ -1716,6 +1701,61 @@ export type CustomElements = {
1716
1701
  */
1717
1702
  "qti-test-part": Partial<QtiTestPartProps & BaseProps & BaseEvents>;
1718
1703
 
1704
+ /**
1705
+ * Represents a custom element for navigating to the next test item.
1706
+ * ---
1707
+ *
1708
+ *
1709
+ * ### **Events:**
1710
+ * - **qti-request-test-item**
1711
+ */
1712
+ "test-next": Partial<TestNextProps & BaseProps & BaseEvents>;
1713
+
1714
+ /**
1715
+ * Represents a custom element for navigating to the previous test item.
1716
+ * ---
1717
+ *
1718
+ *
1719
+ * ### **Events:**
1720
+ * - **qti-request-test-item**
1721
+ */
1722
+ "test-prev": Partial<TestPrevProps & BaseProps & BaseEvents>;
1723
+
1724
+ /**
1725
+ *
1726
+ * ---
1727
+ *
1728
+ *
1729
+ * ### **Events:**
1730
+ * - **on-test-switch-view**
1731
+ */
1732
+ "test-view": Partial<TestViewProps & BaseProps & BaseEvents>;
1733
+
1734
+ /**
1735
+ *
1736
+ * ---
1737
+ *
1738
+ *
1739
+ * ### **Events:**
1740
+ * - **qti-request-test-item**
1741
+ */
1742
+ "test-item-link": Partial<TestItemLinkProps & BaseProps & BaseEvents>;
1743
+
1744
+ /**
1745
+ * `<test-container>` is a custom element designed for hosting the qti-assessment-item.
1746
+ * The `qti-assessment-test` will be placed inside the shadow DOM of this element.
1747
+ * The element loads the test from the provided URL and renders it inside the shadow DOM.
1748
+ *
1749
+ * ```html
1750
+ * <qti-test>
1751
+ * <test-container class="m-4 bg-white" test-url="./path/to/assessmenttest.xml"></test-container>
1752
+ * </qti-test>
1753
+ * ```
1754
+ * ---
1755
+ *
1756
+ */
1757
+ "test-container": Partial<TestContainerProps & BaseProps & BaseEvents>;
1758
+
1719
1759
  /**
1720
1760
  * `<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.
1721
1761
  *
@@ -1768,46 +1808,6 @@ export type CustomElements = {
1768
1808
  */
1769
1809
  "qti-test": Partial<QtiTestProps & BaseProps & BaseEvents>;
1770
1810
 
1771
- /**
1772
- * Represents a custom element for navigating to the next test item.
1773
- * ---
1774
- *
1775
- *
1776
- * ### **Events:**
1777
- * - **qti-request-test-item**
1778
- */
1779
- "test-next": Partial<TestNextProps & BaseProps & BaseEvents>;
1780
-
1781
- /**
1782
- * Represents a custom element for navigating to the previous test item.
1783
- * ---
1784
- *
1785
- *
1786
- * ### **Events:**
1787
- * - **qti-request-test-item**
1788
- */
1789
- "test-prev": Partial<TestPrevProps & BaseProps & BaseEvents>;
1790
-
1791
- /**
1792
- *
1793
- * ---
1794
- *
1795
- *
1796
- * ### **Events:**
1797
- * - **on-test-switch-view**
1798
- */
1799
- "test-view": Partial<TestViewProps & BaseProps & BaseEvents>;
1800
-
1801
- /**
1802
- *
1803
- * ---
1804
- *
1805
- *
1806
- * ### **Events:**
1807
- * - **qti-request-test-item**
1808
- */
1809
- "test-item-link": Partial<TestItemLinkProps & BaseProps & BaseEvents>;
1810
-
1811
1811
  /**
1812
1812
  *
1813
1813
  * ---
@@ -752,18 +752,6 @@
752
752
  "attributes": [],
753
753
  "references": []
754
754
  },
755
- {
756
- "name": "test-container",
757
- "description": "`<test-container>` is a custom element designed for hosting the qti-assessment-item.\nThe `qti-assessment-test` will be placed inside the shadow DOM of this element.\nThe element loads the test from the provided URL and renders it inside the shadow DOM.\n\n```html\n<qti-test>\n <test-container class=\"m-4 bg-white\" test-url=\"./path/to/assessmenttest.xml\"></test-container>\n</qti-test>\n```\n---\n",
758
- "attributes": [
759
- {
760
- "name": "test-url",
761
- "description": "URL of the item to load",
762
- "values": []
763
- }
764
- ],
765
- "references": []
766
- },
767
755
  {
768
756
  "name": "qti-assessment-item-ref",
769
757
  "description": "\n---\n\n\n### **Events:**\n - **qti-assessment-item-ref-connected**",
@@ -816,19 +804,6 @@
816
804
  ],
817
805
  "references": []
818
806
  },
819
- {
820
- "name": "qti-test",
821
- "description": "`<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.\n\nThis component leverages several mixins to provide functionality for loading, navigating, processing, and displaying QTI test assessments.\n\n### Example Usage\n\nMinimal example including navigation:\n\n```html\n<qti-test>\n <test-container test-url=\"./path/to/assessment.xml\"></test-container>\n <nav class=\"flex\">\n <test-prev></test-prev>\n <test-next></test-next>\n </nav>\n</qti-test>\n```\n\nUse the following file structure\nA qti-test loads a QTI3.0 assessmenttest.xml file from a package folder.\n\n```plaintext\nRoot/\n├── index.html\n└── /assets/api/examples/\n ├── assessmenttest.xml\n └── imsmanifest.xml\n\n```\n\n### Test components\n\nUse test components inside the qti-test component for added functionality.\n### Test next\n`<test-next> | TestNext`\n\n### Test prev\n\n`<test-prev> | TestPrev`\n### Test components\n\nYou can use normal class names to style the elements.\nAnd you can use the `test-prev` and `test-next` elements to navigate through the test.\n---\n\n\n### **Events:**\n - **qti-test-connected**",
822
- "attributes": [
823
- {
824
- "name": "auto-score-items",
825
- "description": "Items will be scored on everyinteraction when `qti-assessment-item` is not set to adaptive, and the `SCORE` outcome identifier is not set to be \"human\" | \"externalMachine\"",
826
- "values": []
827
- },
828
- { "name": "auto-store-restore", "values": [] }
829
- ],
830
- "references": []
831
- },
832
807
  {
833
808
  "name": "test-next",
834
809
  "description": "Represents a custom element for navigating to the next test item.\n---\n\n\n### **Events:**\n - **qti-request-test-item**",
@@ -864,6 +839,31 @@
864
839
  "attributes": [{ "name": "item-id", "values": [] }],
865
840
  "references": []
866
841
  },
842
+ {
843
+ "name": "test-container",
844
+ "description": "`<test-container>` is a custom element designed for hosting the qti-assessment-item.\nThe `qti-assessment-test` will be placed inside the shadow DOM of this element.\nThe element loads the test from the provided URL and renders it inside the shadow DOM.\n\n```html\n<qti-test>\n <test-container class=\"m-4 bg-white\" test-url=\"./path/to/assessmenttest.xml\"></test-container>\n</qti-test>\n```\n---\n",
845
+ "attributes": [
846
+ {
847
+ "name": "test-url",
848
+ "description": "URL of the item to load",
849
+ "values": []
850
+ }
851
+ ],
852
+ "references": []
853
+ },
854
+ {
855
+ "name": "qti-test",
856
+ "description": "`<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.\n\nThis component leverages several mixins to provide functionality for loading, navigating, processing, and displaying QTI test assessments.\n\n### Example Usage\n\nMinimal example including navigation:\n\n```html\n<qti-test>\n <test-container test-url=\"./path/to/assessment.xml\"></test-container>\n <nav class=\"flex\">\n <test-prev></test-prev>\n <test-next></test-next>\n </nav>\n</qti-test>\n```\n\nUse the following file structure\nA qti-test loads a QTI3.0 assessmenttest.xml file from a package folder.\n\n```plaintext\nRoot/\n├── index.html\n└── /assets/api/examples/\n ├── assessmenttest.xml\n └── imsmanifest.xml\n\n```\n\n### Test components\n\nUse test components inside the qti-test component for added functionality.\n### Test next\n`<test-next> | TestNext`\n\n### Test prev\n\n`<test-prev> | TestPrev`\n### Test components\n\nYou can use normal class names to style the elements.\nAnd you can use the `test-prev` and `test-next` elements to navigate through the test.\n---\n\n\n### **Events:**\n - **qti-test-connected**",
857
+ "attributes": [
858
+ {
859
+ "name": "auto-score-items",
860
+ "description": "Items will be scored on everyinteraction when `qti-assessment-item` is not set to adaptive, and the `SCORE` outcome identifier is not set to be \"human\" | \"externalMachine\"",
861
+ "values": []
862
+ },
863
+ { "name": "auto-store-restore", "values": [] }
864
+ ],
865
+ "references": []
866
+ },
867
867
  {
868
868
  "name": "test-end-attempt",
869
869
  "description": "\n---\n",
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "engines": {
22
22
  "node": ">=20.0.0"
23
23
  },
24
- "version": "7.0.6",
24
+ "version": "7.0.8",
25
25
  "type": "module",
26
26
  "main": "dist/index.js",
27
27
  "exports": {