@citolab/qti-components 7.0.6-next.0 → 7.0.6-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunk-2F5323DC.js +8 -0
- package/cdn/chunk-2WPNLHGH.js +43 -0
- package/cdn/chunk-3M77CJJH.js +8 -0
- package/cdn/chunk-4DFVJE2A.js +48 -0
- package/cdn/chunk-4HKDXRGE.js +5 -0
- package/cdn/chunk-5WCOPF7O.js +73 -0
- package/cdn/chunk-D4K2EXYX.js +8 -0
- package/cdn/chunk-II7AGB2E.js +11 -0
- package/cdn/chunk-KUOLGIA5.js +1 -0
- package/cdn/chunk-KXRA4DBZ.js +8 -0
- package/cdn/chunk-L4TDHAKL.js +24 -0
- package/cdn/chunk-LY27H7YF.js +1 -0
- package/cdn/chunk-M6AATWPS.js +59 -0
- package/cdn/{chunk-L26FOTPN.js → chunk-MFWSHIPH.js} +1 -1
- package/cdn/chunk-NAARXANC.js +11 -0
- package/cdn/chunk-OEBYNBRS.js +129 -0
- package/cdn/chunk-RBATSYIS.js +43 -0
- package/cdn/chunk-RM352RXQ.js +5 -0
- package/cdn/{chunk-Y63VPWCG.js → chunk-SQDSHH6N.js} +18 -2
- package/cdn/chunk-V2RMP73O.js +1 -0
- package/cdn/chunk-WI7KK7NI.js +8 -0
- package/cdn/chunk-YHB534QY.js +8 -0
- package/cdn/chunk-YXST4IEX.js +5 -0
- package/cdn/qti-components/index.js +939 -1
- package/cdn/qti-item/core/index.global.js +149 -0
- package/cdn/qti-item/core/index.js +5 -0
- package/cdn/qti-loader/index.js +1 -1
- package/cdn/qti-test/components/index.global.js +1 -36
- package/cdn/qti-test/components/index.js +1 -1
- package/cdn/qti-test/components/styles.js +1 -1
- package/cdn/qti-test/components/test-component.abstract.js +1 -1
- package/cdn/qti-test/components/test-item-link.js +1 -1
- package/cdn/qti-test/components/test-next.js +1 -1
- package/cdn/qti-test/components/test-next.spec.global.js +25 -60
- package/cdn/qti-test/components/test-next.spec.js +212 -212
- package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -1
- package/cdn/qti-test/components/test-prev.js +1 -1
- package/cdn/qti-test/components/test-view.js +1 -1
- package/cdn/qti-test/core/index.global.js +205 -0
- package/cdn/qti-test/core/index.js +1 -0
- package/dist/{chunk-3WLCQQN7.js → chunk-2CHF3TMY.js} +2 -2
- package/dist/chunk-2CHF3TMY.js.map +1 -0
- package/dist/{chunk-JDHBXMKF.js → chunk-2GKDJDI5.js} +2 -2
- package/dist/{chunk-L7MBIXEX.js → chunk-3F3DCHHM.js} +2 -2
- package/dist/chunk-4YR7ZPE3.js +72 -0
- package/dist/{chunk-R4HSV7U7.js → chunk-E3656TSN.js} +2 -2
- package/dist/chunk-E3656TSN.js.map +1 -0
- package/dist/{chunk-TXRSYXG3.js → chunk-ERLGA6TC.js} +2 -2
- package/dist/{chunk-GTYLWGDG.js → chunk-EXJQ3ZUE.js} +2 -2
- package/dist/chunk-KI3A6ZT6.js +50 -0
- package/dist/chunk-KI3A6ZT6.js.map +1 -0
- package/dist/{chunk-ENVUIH2A.js → chunk-KVFH5VBC.js} +5 -5
- package/dist/chunk-KVFH5VBC.js.map +1 -0
- package/dist/chunk-LJU3MHXE.js +43 -0
- package/dist/chunk-LJU3MHXE.js.map +1 -0
- package/dist/chunk-MAC76UNI.js +1 -0
- package/dist/chunk-NUXEGEMP.js +65 -0
- package/dist/chunk-NUXEGEMP.js.map +1 -0
- package/dist/chunk-O3GIZH57.js +121 -0
- package/dist/chunk-O3GIZH57.js.map +1 -0
- package/dist/chunk-QNR4WQAC.js +568 -0
- package/dist/chunk-QNR4WQAC.js.map +1 -0
- package/dist/chunk-SLMQZKDH.js +568 -0
- package/dist/chunk-SLMQZKDH.js.map +1 -0
- package/dist/{chunk-VODOQFTJ.js → chunk-TAQAVEQ2.js} +2 -2
- package/dist/chunk-TAQAVEQ2.js.map +1 -0
- package/dist/chunk-TLPISJ3Z.js +78 -0
- package/dist/chunk-TLPISJ3Z.js.map +1 -0
- package/dist/chunk-UDWEOEOS.js +50 -0
- package/dist/chunk-UDWEOEOS.js.map +1 -0
- package/dist/qti-components/index.d.ts +2 -2
- package/dist/qti-components/index.js +6157 -94
- package/dist/qti-components/index.js.map +1 -1
- package/dist/qti-components-jsx.d.ts +83 -83
- package/dist/qti-item/{components/item-container.d.ts → core/index.d.ts} +22 -1
- package/dist/{chunk-XNBWN7N2.js → qti-item/core/index.js} +20 -9
- package/dist/qti-item/core/index.js.map +1 -0
- package/dist/qti-loader/index.d.ts +1 -1
- package/dist/qti-loader/index.js +22 -4
- package/dist/qti-loader/index.js.map +1 -1
- package/dist/{qti-simple-choice-DxWcdKHi.d.ts → qti-simple-choice-DB7hqAMS.d.ts} +1 -1
- package/dist/qti-test/components/index.d.ts +2 -4
- package/dist/qti-test/components/index.js +10 -17
- package/dist/qti-test/components/test-component.abstract.d.ts +2 -3
- package/dist/qti-test/components/test-component.abstract.js +2 -3
- package/dist/qti-test/components/test-item-link.d.ts +2 -3
- package/dist/qti-test/components/test-item-link.js +3 -4
- package/dist/qti-test/components/test-next.d.ts +2 -3
- package/dist/qti-test/components/test-next.js +3 -4
- package/dist/qti-test/components/test-next.spec.d.ts +3 -7
- package/dist/qti-test/components/test-next.spec.js +11 -31
- package/dist/qti-test/components/test-next.spec.js.map +1 -1
- package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +2 -3
- package/dist/qti-test/components/test-paging-buttons-stamp.js +3 -4
- package/dist/qti-test/components/test-prev.d.ts +2 -3
- package/dist/qti-test/components/test-prev.js +3 -4
- package/dist/qti-test/components/test-view.d.ts +2 -3
- package/dist/qti-test/components/test-view.js +3 -4
- package/dist/qti-test/core/index.d.ts +121 -0
- package/dist/qti-test/core/index.js +25 -0
- package/dist/test-component.abstract-DWJ0XNiI.d.ts +108 -0
- package/dist/test.context-DKSpQHyg.d.ts +93 -0
- package/dist/{test-base-BJwG9Ie8.d.ts → test.context-K2w-1mWi.d.ts} +19 -29
- package/dist/vscode.html-custom-data.json +21 -21
- package/package.json +70 -74
- package/cdn/chunk-25BMUTLC.js +0 -1
- package/cdn/chunk-3DWLPGTE.js +0 -1
- package/cdn/chunk-7BKWTY4S.js +0 -1
- package/cdn/chunk-7CQ4ETXL.js +0 -1
- package/cdn/chunk-7ENNZNJ4.js +0 -1
- package/cdn/chunk-7LGM2TQA.js +0 -1
- package/cdn/chunk-DLMFCDQX.js +0 -1
- package/cdn/chunk-DPR6SGCZ.js +0 -1
- package/cdn/chunk-EQGXFSYL.js +0 -8
- package/cdn/chunk-F5VW77RE.js +0 -1
- package/cdn/chunk-FNVXN5CO.js +0 -1
- package/cdn/chunk-GB7DLBFM.js +0 -0
- package/cdn/chunk-GBB54IPA.js +0 -8
- package/cdn/chunk-H4A34YRT.js +0 -0
- package/cdn/chunk-ITXNNGVQ.js +0 -0
- package/cdn/chunk-IV7UP34N.js +0 -5
- package/cdn/chunk-IZZ36JQV.js +0 -0
- package/cdn/chunk-JNT54FPI.js +0 -1
- package/cdn/chunk-JS4S7ZI7.js +0 -1
- package/cdn/chunk-LA7TBIPQ.js +0 -0
- package/cdn/chunk-POT65ZY7.js +0 -1
- package/cdn/chunk-Q7PVZA43.js +0 -5
- package/cdn/chunk-QJPHXAUE.js +0 -1
- package/cdn/chunk-QP57JHGY.js +0 -11
- package/cdn/chunk-RB6CONZW.js +0 -3
- package/cdn/chunk-RSRX5JYB.js +0 -1
- package/cdn/chunk-TG6AE3DB.js +0 -0
- package/cdn/chunk-V6YPUNZC.js +0 -0
- package/cdn/chunk-W7X6GNEX.js +0 -902
- package/cdn/chunk-ZEX7TYC7.js +0 -8
- package/cdn/index.global.js +0 -277
- package/cdn/index.js +0 -1
- package/cdn/qti-item/components/index.global.js +0 -149
- package/cdn/qti-item/components/index.js +0 -1
- package/cdn/qti-item/components/item-container.global.js +0 -149
- package/cdn/qti-item/components/item-container.js +0 -1
- package/cdn/qti-item/index.global.js +0 -149
- package/cdn/qti-item/index.js +0 -1
- package/cdn/qti-item/qti-item.global.js +0 -114
- package/cdn/qti-item/qti-item.js +0 -1
- package/cdn/qti-test/components/test-container.global.js +0 -149
- package/cdn/qti-test/components/test-container.js +0 -1
- package/cdn/qti-test/context/index.global.js +0 -58
- package/cdn/qti-test/context/index.js +0 -1
- package/cdn/qti-test/context/test.context.global.js +0 -58
- package/cdn/qti-test/context/test.context.js +0 -1
- package/cdn/qti-test/index.global.js +0 -242
- package/cdn/qti-test/index.js +0 -1
- package/cdn/qti-test/mixins/index.global.js +0 -1
- package/cdn/qti-test/mixins/index.js +0 -1
- package/cdn/qti-test/mixins/test-loader.mixin.global.js +0 -1
- package/cdn/qti-test/mixins/test-loader.mixin.js +0 -1
- package/cdn/qti-test/mixins/test-navigation.mixin.global.js +0 -1
- package/cdn/qti-test/mixins/test-navigation.mixin.js +0 -1
- package/cdn/qti-test/mixins/test-view.mixin.global.js +0 -1
- package/cdn/qti-test/mixins/test-view.mixin.js +0 -1
- package/cdn/qti-test/qti-assessment-test/index.global.js +0 -170
- package/cdn/qti-test/qti-assessment-test/index.js +0 -1
- package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.global.js +0 -170
- package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.js +0 -1
- package/cdn/qti-test/qti-assessment-test/qti-assessment-section.global.js +0 -170
- package/cdn/qti-test/qti-assessment-test/qti-assessment-section.js +0 -1
- package/cdn/qti-test/qti-assessment-test/qti-assessment-test.global.js +0 -170
- package/cdn/qti-test/qti-assessment-test/qti-assessment-test.js +0 -1
- package/cdn/qti-test/qti-assessment-test/qti-test-part.global.js +0 -114
- package/cdn/qti-test/qti-assessment-test/qti-test-part.js +0 -1
- package/cdn/qti-test/qti-test.global.js +0 -170
- package/cdn/qti-test/qti-test.js +0 -1
- package/cdn/qti-test/test-base.global.js +0 -170
- package/cdn/qti-test/test-base.js +0 -1
- package/dist/chunk-37X6KZO3.js +0 -1
- package/dist/chunk-3WLCQQN7.js.map +0 -1
- package/dist/chunk-3YVIK6LO.js +0 -1
- package/dist/chunk-3YVIK6LO.js.map +0 -1
- package/dist/chunk-7A6KCSAU.js +0 -44
- package/dist/chunk-7A6KCSAU.js.map +0 -1
- package/dist/chunk-ENVUIH2A.js.map +0 -1
- package/dist/chunk-ENZVY5X6.js +0 -20
- package/dist/chunk-ENZVY5X6.js.map +0 -1
- package/dist/chunk-EUCEENQQ.js +0 -6253
- package/dist/chunk-EUCEENQQ.js.map +0 -1
- package/dist/chunk-FNFNAV3G.js +0 -56
- package/dist/chunk-FNFNAV3G.js.map +0 -1
- package/dist/chunk-GSFDTSLL.js +0 -1
- package/dist/chunk-GSFDTSLL.js.map +0 -1
- package/dist/chunk-IAFQ5ZPI.js +0 -29
- package/dist/chunk-IAFQ5ZPI.js.map +0 -1
- package/dist/chunk-LYFMLDNV.js +0 -1
- package/dist/chunk-LYFMLDNV.js.map +0 -1
- package/dist/chunk-NNPTSZGC.js +0 -1
- package/dist/chunk-NNPTSZGC.js.map +0 -1
- package/dist/chunk-NQM35JUI.js +0 -1
- package/dist/chunk-NQM35JUI.js.map +0 -1
- package/dist/chunk-ODUHPWTX.js +0 -65
- package/dist/chunk-ODUHPWTX.js.map +0 -1
- package/dist/chunk-OGHHCP23.js +0 -36
- package/dist/chunk-OGHHCP23.js.map +0 -1
- package/dist/chunk-OQZW2B47.js +0 -75
- package/dist/chunk-OQZW2B47.js.map +0 -1
- package/dist/chunk-OXDOQVRL.js +0 -63
- package/dist/chunk-OXDOQVRL.js.map +0 -1
- package/dist/chunk-PBSMP6VF.js +0 -128
- package/dist/chunk-PBSMP6VF.js.map +0 -1
- package/dist/chunk-Q7OPFS4A.js +0 -1
- package/dist/chunk-Q7OPFS4A.js.map +0 -1
- package/dist/chunk-R4HSV7U7.js.map +0 -1
- package/dist/chunk-U3RLYKL5.js +0 -51
- package/dist/chunk-U3RLYKL5.js.map +0 -1
- package/dist/chunk-VW7VIQBE.js +0 -34
- package/dist/chunk-VW7VIQBE.js.map +0 -1
- package/dist/chunk-X4ZBUCOD.js +0 -94
- package/dist/chunk-X4ZBUCOD.js.map +0 -1
- package/dist/chunk-XFHB6KQW.js +0 -1
- package/dist/chunk-XFHB6KQW.js.map +0 -1
- package/dist/chunk-XNBWN7N2.js.map +0 -1
- package/dist/index.d.ts +0 -19
- package/dist/index.js +0 -278
- package/dist/qti-item/components/index.d.ts +0 -3
- package/dist/qti-item/components/index.js +0 -12
- package/dist/qti-item/components/index.js.map +0 -1
- package/dist/qti-item/components/item-container.js +0 -11
- package/dist/qti-item/components/item-container.js.map +0 -1
- package/dist/qti-item/index.d.ts +0 -4
- package/dist/qti-item/index.js +0 -17
- package/dist/qti-item/index.js.map +0 -1
- package/dist/qti-item/qti-item.d.ts +0 -25
- package/dist/qti-item/qti-item.js +0 -8
- package/dist/qti-item/qti-item.js.map +0 -1
- package/dist/qti-test/components/test-container.d.ts +0 -37
- package/dist/qti-test/components/test-container.js +0 -11
- package/dist/qti-test/components/test-container.js.map +0 -1
- package/dist/qti-test/context/index.d.ts +0 -6
- package/dist/qti-test/context/index.js +0 -11
- package/dist/qti-test/context/index.js.map +0 -1
- package/dist/qti-test/context/test.context.d.ts +0 -6
- package/dist/qti-test/context/test.context.js +0 -10
- package/dist/qti-test/context/test.context.js.map +0 -1
- package/dist/qti-test/index.d.ts +0 -14
- package/dist/qti-test/index.js +0 -72
- package/dist/qti-test/index.js.map +0 -1
- package/dist/qti-test/mixins/index.d.ts +0 -8
- package/dist/qti-test/mixins/index.js +0 -18
- package/dist/qti-test/mixins/index.js.map +0 -1
- package/dist/qti-test/mixins/test-loader.mixin.d.ts +0 -8
- package/dist/qti-test/mixins/test-loader.mixin.js +0 -9
- package/dist/qti-test/mixins/test-loader.mixin.js.map +0 -1
- package/dist/qti-test/mixins/test-navigation.mixin.d.ts +0 -22
- package/dist/qti-test/mixins/test-navigation.mixin.js +0 -8
- package/dist/qti-test/mixins/test-navigation.mixin.js.map +0 -1
- package/dist/qti-test/mixins/test-view.mixin.d.ts +0 -6
- package/dist/qti-test/mixins/test-view.mixin.js +0 -8
- package/dist/qti-test/mixins/test-view.mixin.js.map +0 -1
- package/dist/qti-test/qti-assessment-test/index.d.ts +0 -6
- package/dist/qti-test/qti-assessment-test/index.js +0 -23
- package/dist/qti-test/qti-assessment-test/index.js.map +0 -1
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.d.ts +0 -6
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js +0 -10
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js.map +0 -1
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.d.ts +0 -6
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.js +0 -10
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.js.map +0 -1
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.d.ts +0 -6
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.js +0 -10
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.js.map +0 -1
- package/dist/qti-test/qti-assessment-test/qti-test-part.d.ts +0 -19
- package/dist/qti-test/qti-assessment-test/qti-test-part.js +0 -8
- package/dist/qti-test/qti-assessment-test/qti-test-part.js.map +0 -1
- package/dist/qti-test/qti-test.d.ts +0 -68
- package/dist/qti-test/qti-test.js +0 -16
- package/dist/qti-test/qti-test.js.map +0 -1
- package/dist/qti-test/test-base.d.ts +0 -6
- package/dist/qti-test/test-base.js +0 -10
- package/dist/qti-test/test-base.js.map +0 -1
- /package/cdn/{chunk-CYJMNT76.js → chunk-22HAPLRD.js} +0 -0
- /package/dist/{chunk-JDHBXMKF.js.map → chunk-2GKDJDI5.js.map} +0 -0
- /package/dist/{chunk-L7MBIXEX.js.map → chunk-3F3DCHHM.js.map} +0 -0
- /package/dist/{chunk-VODOQFTJ.js.map → chunk-4YR7ZPE3.js.map} +0 -0
- /package/dist/{chunk-TXRSYXG3.js.map → chunk-ERLGA6TC.js.map} +0 -0
- /package/dist/{chunk-GTYLWGDG.js.map → chunk-EXJQ3ZUE.js.map} +0 -0
- /package/dist/{chunk-37X6KZO3.js.map → chunk-MAC76UNI.js.map} +0 -0
- /package/dist/{index.js.map → qti-test/core/index.js.map} +0 -0
|
@@ -989,8 +989,6 @@ export type TestElementProps = {
|
|
|
989
989
|
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
990
990
|
};
|
|
991
991
|
|
|
992
|
-
export type QtiItemProps = {};
|
|
993
|
-
|
|
994
992
|
export type ItemContainerProps = {
|
|
995
993
|
/** URL of the item to load */
|
|
996
994
|
"item-url"?: string;
|
|
@@ -1000,6 +998,8 @@ export type ItemContainerProps = {
|
|
|
1000
998
|
itemXML?: string;
|
|
1001
999
|
};
|
|
1002
1000
|
|
|
1001
|
+
export type QtiItemProps = {};
|
|
1002
|
+
|
|
1003
1003
|
export type QtiAssessmentItemRefProps = {
|
|
1004
1004
|
/** */
|
|
1005
1005
|
category?: string | undefined;
|
|
@@ -1069,11 +1069,6 @@ export type QtiTestPartProps = {
|
|
|
1069
1069
|
"onqti-test-part-connected"?: (e: CustomEvent<Event>) => void;
|
|
1070
1070
|
};
|
|
1071
1071
|
|
|
1072
|
-
export type QtiTestProps = {
|
|
1073
|
-
/** */
|
|
1074
|
-
context?: TestContext;
|
|
1075
|
-
};
|
|
1076
|
-
|
|
1077
1072
|
export type TestNextProps = {
|
|
1078
1073
|
/** */
|
|
1079
1074
|
role?: string;
|
|
@@ -1124,15 +1119,6 @@ export type TestItemLinkProps = {
|
|
|
1124
1119
|
"onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1125
1120
|
};
|
|
1126
1121
|
|
|
1127
|
-
export type TestContainerProps = {
|
|
1128
|
-
/** URL of the item to load */
|
|
1129
|
-
"test-url"?: string;
|
|
1130
|
-
/** A parsed HTML document */
|
|
1131
|
-
testDoc?: DocumentFragment;
|
|
1132
|
-
/** The raw XML string */
|
|
1133
|
-
testXML?: string;
|
|
1134
|
-
};
|
|
1135
|
-
|
|
1136
1122
|
export type TestPagingButtonsStampProps = {
|
|
1137
1123
|
/** */
|
|
1138
1124
|
"max-displayed-items"?: number;
|
|
@@ -1148,6 +1134,20 @@ export type TestPagingButtonsStampProps = {
|
|
|
1148
1134
|
"onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1149
1135
|
};
|
|
1150
1136
|
|
|
1137
|
+
export type QtiTestProps = {
|
|
1138
|
+
/** */
|
|
1139
|
+
context?: TestContext;
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
export type TestContainerProps = {
|
|
1143
|
+
/** URL of the item to load */
|
|
1144
|
+
"test-url"?: string;
|
|
1145
|
+
/** A parsed HTML document */
|
|
1146
|
+
testDoc?: DocumentFragment;
|
|
1147
|
+
/** The raw XML string */
|
|
1148
|
+
testXML?: string;
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
1151
|
export type CustomElements = {
|
|
1152
1152
|
/**
|
|
1153
1153
|
*
|
|
@@ -1923,10 +1923,12 @@ export type CustomElements = {
|
|
|
1923
1923
|
"test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
|
|
1924
1924
|
|
|
1925
1925
|
/**
|
|
1926
|
-
* `<
|
|
1927
|
-
*
|
|
1928
|
-
*
|
|
1929
|
-
*
|
|
1926
|
+
* `<item-container>` is a custom element designed for hosting the qti-assessment-item.
|
|
1927
|
+
* The `qti-assessment-item` will be placed inside the shadow DOM of this element.
|
|
1928
|
+
* The element loads the item from the provided URL and renders it inside the shadow DOM.
|
|
1929
|
+
*
|
|
1930
|
+
* ### Styling
|
|
1931
|
+
* Add a class to the element for styling.
|
|
1930
1932
|
*
|
|
1931
1933
|
* ```html
|
|
1932
1934
|
* <qti-item>
|
|
@@ -1936,15 +1938,13 @@ export type CustomElements = {
|
|
|
1936
1938
|
* ---
|
|
1937
1939
|
*
|
|
1938
1940
|
*/
|
|
1939
|
-
"
|
|
1941
|
+
"item-container": Partial<ItemContainerProps & BaseProps & BaseEvents>;
|
|
1940
1942
|
|
|
1941
1943
|
/**
|
|
1942
|
-
* `<item
|
|
1943
|
-
*
|
|
1944
|
-
*
|
|
1945
|
-
*
|
|
1946
|
-
* ### Styling
|
|
1947
|
-
* Add a class to the element for styling.
|
|
1944
|
+
* `<qti-item>` is a custom element designed for rendering a single `qti-assessment-item`.
|
|
1945
|
+
* It can also host some functionalities to interact with the item like scoring, showing feedback, etc.
|
|
1946
|
+
* Placing a mandatory `<item-container>` inside '<qti-item>' will load or parse the item and render it.
|
|
1947
|
+
* See `<item-container>` for more details.
|
|
1948
1948
|
*
|
|
1949
1949
|
* ```html
|
|
1950
1950
|
* <qti-item>
|
|
@@ -1954,7 +1954,7 @@ export type CustomElements = {
|
|
|
1954
1954
|
* ---
|
|
1955
1955
|
*
|
|
1956
1956
|
*/
|
|
1957
|
-
"item
|
|
1957
|
+
"qti-item": Partial<QtiItemProps & BaseProps & BaseEvents>;
|
|
1958
1958
|
|
|
1959
1959
|
/**
|
|
1960
1960
|
*
|
|
@@ -1996,6 +1996,61 @@ export type CustomElements = {
|
|
|
1996
1996
|
*/
|
|
1997
1997
|
"qti-test-part": Partial<QtiTestPartProps & BaseProps & BaseEvents>;
|
|
1998
1998
|
|
|
1999
|
+
/**
|
|
2000
|
+
* Represents a custom element for navigating to the next test item.
|
|
2001
|
+
* ---
|
|
2002
|
+
*
|
|
2003
|
+
*
|
|
2004
|
+
* ### **Events:**
|
|
2005
|
+
* - **on-test-switch-view**
|
|
2006
|
+
* - **qti-request-test-item**
|
|
2007
|
+
*/
|
|
2008
|
+
"test-next": Partial<TestNextProps & BaseProps & BaseEvents>;
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* Represents a custom element for navigating to the previous test item.
|
|
2012
|
+
* ---
|
|
2013
|
+
*
|
|
2014
|
+
*
|
|
2015
|
+
* ### **Events:**
|
|
2016
|
+
* - **on-test-switch-view**
|
|
2017
|
+
* - **qti-request-test-item**
|
|
2018
|
+
*/
|
|
2019
|
+
"test-prev": Partial<TestPrevProps & BaseProps & BaseEvents>;
|
|
2020
|
+
|
|
2021
|
+
/**
|
|
2022
|
+
*
|
|
2023
|
+
* ---
|
|
2024
|
+
*
|
|
2025
|
+
*
|
|
2026
|
+
* ### **Events:**
|
|
2027
|
+
* - **on-test-switch-view**
|
|
2028
|
+
* - **qti-request-test-item**
|
|
2029
|
+
*/
|
|
2030
|
+
"test-view": Partial<TestViewProps & BaseProps & BaseEvents>;
|
|
2031
|
+
|
|
2032
|
+
/**
|
|
2033
|
+
*
|
|
2034
|
+
* ---
|
|
2035
|
+
*
|
|
2036
|
+
*
|
|
2037
|
+
* ### **Events:**
|
|
2038
|
+
* - **on-test-switch-view**
|
|
2039
|
+
* - **qti-request-test-item**
|
|
2040
|
+
*/
|
|
2041
|
+
"test-item-link": Partial<TestItemLinkProps & BaseProps & BaseEvents>;
|
|
2042
|
+
|
|
2043
|
+
/**
|
|
2044
|
+
*
|
|
2045
|
+
* ---
|
|
2046
|
+
*
|
|
2047
|
+
*
|
|
2048
|
+
* ### **Events:**
|
|
2049
|
+
* - **on-test-switch-view**
|
|
2050
|
+
* - **qti-request-test-item**
|
|
2051
|
+
*/
|
|
2052
|
+
"test-paging-buttons-stamp": Partial<TestPagingButtonsStampProps & BaseProps & BaseEvents>;
|
|
2053
|
+
|
|
1999
2054
|
/**
|
|
2000
2055
|
* `<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.
|
|
2001
2056
|
*
|
|
@@ -2045,50 +2100,6 @@ export type CustomElements = {
|
|
|
2045
2100
|
*/
|
|
2046
2101
|
"qti-test": Partial<QtiTestProps & BaseProps & BaseEvents>;
|
|
2047
2102
|
|
|
2048
|
-
/**
|
|
2049
|
-
* Represents a custom element for navigating to the next test item.
|
|
2050
|
-
* ---
|
|
2051
|
-
*
|
|
2052
|
-
*
|
|
2053
|
-
* ### **Events:**
|
|
2054
|
-
* - **on-test-switch-view**
|
|
2055
|
-
* - **qti-request-test-item**
|
|
2056
|
-
*/
|
|
2057
|
-
"test-next": Partial<TestNextProps & BaseProps & BaseEvents>;
|
|
2058
|
-
|
|
2059
|
-
/**
|
|
2060
|
-
* Represents a custom element for navigating to the previous test item.
|
|
2061
|
-
* ---
|
|
2062
|
-
*
|
|
2063
|
-
*
|
|
2064
|
-
* ### **Events:**
|
|
2065
|
-
* - **on-test-switch-view**
|
|
2066
|
-
* - **qti-request-test-item**
|
|
2067
|
-
*/
|
|
2068
|
-
"test-prev": Partial<TestPrevProps & BaseProps & BaseEvents>;
|
|
2069
|
-
|
|
2070
|
-
/**
|
|
2071
|
-
*
|
|
2072
|
-
* ---
|
|
2073
|
-
*
|
|
2074
|
-
*
|
|
2075
|
-
* ### **Events:**
|
|
2076
|
-
* - **on-test-switch-view**
|
|
2077
|
-
* - **qti-request-test-item**
|
|
2078
|
-
*/
|
|
2079
|
-
"test-view": Partial<TestViewProps & BaseProps & BaseEvents>;
|
|
2080
|
-
|
|
2081
|
-
/**
|
|
2082
|
-
*
|
|
2083
|
-
* ---
|
|
2084
|
-
*
|
|
2085
|
-
*
|
|
2086
|
-
* ### **Events:**
|
|
2087
|
-
* - **on-test-switch-view**
|
|
2088
|
-
* - **qti-request-test-item**
|
|
2089
|
-
*/
|
|
2090
|
-
"test-item-link": Partial<TestItemLinkProps & BaseProps & BaseEvents>;
|
|
2091
|
-
|
|
2092
2103
|
/**
|
|
2093
2104
|
* `<test-container>` is a custom element designed for hosting the qti-assessment-item.
|
|
2094
2105
|
* The `qti-assessment-test` will be placed inside the shadow DOM of this element.
|
|
@@ -2103,15 +2114,4 @@ export type CustomElements = {
|
|
|
2103
2114
|
*
|
|
2104
2115
|
*/
|
|
2105
2116
|
"test-container": Partial<TestContainerProps & BaseProps & BaseEvents>;
|
|
2106
|
-
|
|
2107
|
-
/**
|
|
2108
|
-
*
|
|
2109
|
-
* ---
|
|
2110
|
-
*
|
|
2111
|
-
*
|
|
2112
|
-
* ### **Events:**
|
|
2113
|
-
* - **on-test-switch-view**
|
|
2114
|
-
* - **qti-request-test-item**
|
|
2115
|
-
*/
|
|
2116
|
-
"test-paging-buttons-stamp": Partial<TestPagingButtonsStampProps & BaseProps & BaseEvents>;
|
|
2117
2117
|
};
|
|
@@ -37,4 +37,25 @@ declare global {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
/**
|
|
41
|
+
* `<qti-item>` is a custom element designed for rendering a single `qti-assessment-item`.
|
|
42
|
+
* It can also host some functionalities to interact with the item like scoring, showing feedback, etc.
|
|
43
|
+
* Placing a mandatory `<item-container>` inside '<qti-item>' will load or parse the item and render it.
|
|
44
|
+
* See `<item-container>` for more details.
|
|
45
|
+
*
|
|
46
|
+
* ```html
|
|
47
|
+
* <qti-item>
|
|
48
|
+
* <item-container class="m-4 bg-white" item-url="./path/to/item.xml"></item-container>
|
|
49
|
+
* </qti-item>
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
declare class QtiItem extends LitElement {
|
|
53
|
+
render(): lit_html.TemplateResult<1>;
|
|
54
|
+
}
|
|
55
|
+
declare global {
|
|
56
|
+
interface HTMLElementTagNameMap {
|
|
57
|
+
'qti-item': QtiItem;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { QtiItem };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
item_default
|
|
3
|
-
} from "
|
|
4
|
-
import {
|
|
5
|
-
watch
|
|
6
|
-
} from "./chunk-4YG2FPKK.js";
|
|
3
|
+
} from "../../chunk-2CHF3TMY.js";
|
|
7
4
|
import {
|
|
8
5
|
qtiTransformItem
|
|
9
|
-
} from "
|
|
6
|
+
} from "../../chunk-2OA7E3E7.js";
|
|
7
|
+
import {
|
|
8
|
+
watch
|
|
9
|
+
} from "../../chunk-4YG2FPKK.js";
|
|
10
10
|
import {
|
|
11
11
|
__decorateClass
|
|
12
|
-
} from "
|
|
12
|
+
} from "../../chunk-44VE5POH.js";
|
|
13
13
|
|
|
14
|
-
// src/lib/qti-item/components/item-container.ts
|
|
14
|
+
// src/lib/qti-item/core/components/item-container.ts
|
|
15
15
|
import { LitElement, html } from "lit";
|
|
16
16
|
import { customElement, property, state } from "lit/decorators.js";
|
|
17
17
|
import { until } from "lit/directives/until.js";
|
|
@@ -88,7 +88,18 @@ ItemContainer = __decorateClass([
|
|
|
88
88
|
customElement("item-container")
|
|
89
89
|
], ItemContainer);
|
|
90
90
|
|
|
91
|
+
// src/lib/qti-item/core/qti-item.ts
|
|
92
|
+
import { html as html2, LitElement as LitElement2 } from "lit";
|
|
93
|
+
import { customElement as customElement2 } from "lit/decorators.js";
|
|
94
|
+
var QtiItem = class extends LitElement2 {
|
|
95
|
+
render() {
|
|
96
|
+
return html2`<slot></slot>`;
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
QtiItem = __decorateClass([
|
|
100
|
+
customElement2("qti-item")
|
|
101
|
+
], QtiItem);
|
|
91
102
|
export {
|
|
92
|
-
|
|
103
|
+
QtiItem
|
|
93
104
|
};
|
|
94
|
-
//# sourceMappingURL=
|
|
105
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/lib/qti-item/core/components/item-container.ts","../../../src/lib/qti-item/core/qti-item.ts"],"sourcesContent":["import { LitElement, html } from 'lit';\nimport { customElement, property, state } from 'lit/decorators.js';\nimport { until } from 'lit/directives/until.js';\nimport { watch } from '../../../decorators/watch';\nimport itemCss from '../../../../item.css?inline';\nimport { qtiTransformItem } from '../../../qti-transformers';\n\n/**\n * `<item-container>` is a custom element designed for hosting the qti-assessment-item.\n * The `qti-assessment-item` will be placed inside the shadow DOM of this element.\n * The element loads the item from the provided URL and renders it inside the shadow DOM.\n *\n * ### Styling\n * Add 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@customElement('item-container')\nexport class ItemContainer extends LitElement {\n /** URL of the item to load */\n @property({ type: String, attribute: 'item-url' })\n itemURL: string = null;\n\n /** A parsed HTML document */\n @state()\n itemDoc: DocumentFragment = null;\n\n /** The raw XML string */\n @state()\n itemXML: string = null;\n\n /** Template content if provided */\n private templateContent = null;\n\n @watch('itemURL', { waitUntilFirstUpdate: true })\n protected async handleItemURLChange() {\n if (!this.itemURL) return;\n try {\n const api = await qtiTransformItem().load(this.itemURL);\n this.itemDoc = api.htmlDoc();\n } catch (error) {\n console.error('Error loading or parsing XML:', error);\n }\n }\n\n @watch('itemXML', { waitUntilFirstUpdate: true })\n protected handleItemXMLChange() {\n if (!this.itemXML) return;\n try {\n this.itemDoc = qtiTransformItem().parse(this.itemXML).htmlDoc();\n } catch (error) {\n console.error('Error parsing XML:', error);\n }\n }\n\n async connectedCallback(): Promise<void> {\n super.connectedCallback();\n this.initializeTemplateContent();\n this.applyStyles();\n if (this.itemURL) {\n this.handleItemURLChange();\n }\n if (this.itemXML) {\n this.handleItemXMLChange();\n }\n }\n\n private initializeTemplateContent() {\n const template = this.querySelector('template') as HTMLTemplateElement;\n this.templateContent = template ? template.content : html``;\n }\n\n private applyStyles() {\n const sheet = new CSSStyleSheet();\n sheet.replaceSync(itemCss);\n this.shadowRoot.adoptedStyleSheets = [sheet];\n }\n\n render() {\n return html`\n ${this.templateContent}\n <slot></slot>\n ${until(this.itemDoc, html`<span>Loading...</span>`)}\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'item-container': ItemContainer;\n }\n}\n","import { html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\n\n/**\n * `<qti-item>` is a custom element designed for rendering a single `qti-assessment-item`.\n * It can also host some functionalities to interact with the item like scoring, showing feedback, etc.\n * Placing a mandatory `<item-container>` inside '<qti-item>' will load or parse the item and render it.\n * See `<item-container>` for more details.\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@customElement('qti-item')\nexport class QtiItem extends LitElement {\n render() {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'qti-item': QtiItem;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA,SAAS,YAAY,YAAY;AACjC,SAAS,eAAe,UAAU,aAAa;AAC/C,SAAS,aAAa;AAoBf,IAAM,gBAAN,cAA4B,WAAW;AAAA,EAAvC;AAAA;AAGL,mBAAkB;AAIlB,mBAA4B;AAI5B,mBAAkB;AAGlB;AAAA,SAAQ,kBAAkB;AAAA;AAAA,EAG1B,MAAgB,sBAAsB;AACpC,QAAI,CAAC,KAAK,QAAS;AACnB,QAAI;AACF,YAAM,MAAM,MAAM,iBAAiB,EAAE,KAAK,KAAK,OAAO;AACtD,WAAK,UAAU,IAAI,QAAQ;AAAA,IAC7B,SAAS,OAAO;AACd,cAAQ,MAAM,iCAAiC,KAAK;AAAA,IACtD;AAAA,EACF;AAAA,EAGU,sBAAsB;AAC9B,QAAI,CAAC,KAAK,QAAS;AACnB,QAAI;AACF,WAAK,UAAU,iBAAiB,EAAE,MAAM,KAAK,OAAO,EAAE,QAAQ;AAAA,IAChE,SAAS,OAAO;AACd,cAAQ,MAAM,sBAAsB,KAAK;AAAA,IAC3C;AAAA,EACF;AAAA,EAEA,MAAM,oBAAmC;AACvC,UAAM,kBAAkB;AACxB,SAAK,0BAA0B;AAC/B,SAAK,YAAY;AACjB,QAAI,KAAK,SAAS;AAChB,WAAK,oBAAoB;AAAA,IAC3B;AACA,QAAI,KAAK,SAAS;AAChB,WAAK,oBAAoB;AAAA,IAC3B;AAAA,EACF;AAAA,EAEQ,4BAA4B;AAClC,UAAM,WAAW,KAAK,cAAc,UAAU;AAC9C,SAAK,kBAAkB,WAAW,SAAS,UAAU;AAAA,EACvD;AAAA,EAEQ,cAAc;AACpB,UAAM,QAAQ,IAAI,cAAc;AAChC,UAAM,YAAY,YAAO;AACzB,SAAK,WAAW,qBAAqB,CAAC,KAAK;AAAA,EAC7C;AAAA,EAEA,SAAS;AACP,WAAO;AAAA,QACH,KAAK,eAAe;AAAA;AAAA,QAEpB,MAAM,KAAK,SAAS,6BAA6B,CAAC;AAAA;AAAA,EAExD;AACF;AAhEE;AAAA,EADC,SAAS,EAAE,MAAM,QAAQ,WAAW,WAAW,CAAC;AAAA,GAFtC,cAGX;AAIA;AAAA,EADC,MAAM;AAAA,GANI,cAOX;AAIA;AAAA,EADC,MAAM;AAAA,GAVI,cAWX;AAMgB;AAAA,EADf,MAAM,WAAW,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAhBrC,cAiBK;AAWN;AAAA,EADT,MAAM,WAAW,EAAE,sBAAsB,KAAK,CAAC;AAAA,GA3BrC,cA4BD;AA5BC,gBAAN;AAAA,EADN,cAAc,gBAAgB;AAAA,GAClB;;;ACtBb,SAAS,QAAAA,OAAM,cAAAC,mBAAkB;AACjC,SAAS,iBAAAC,sBAAqB;AAevB,IAAM,UAAN,cAAsBC,YAAW;AAAA,EACtC,SAAS;AACP,WAAOC;AAAA,EACT;AACF;AAJa,UAAN;AAAA,EADNC,eAAc,UAAU;AAAA,GACZ;","names":["html","LitElement","customElement","LitElement","html","customElement"]}
|
package/dist/qti-loader/index.js
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
qtiTransformItem,
|
|
3
|
+
qtiTransformManifest,
|
|
4
|
+
qtiTransformTest
|
|
5
|
+
} from "../chunk-2OA7E3E7.js";
|
|
6
6
|
import "../chunk-44VE5POH.js";
|
|
7
|
+
|
|
8
|
+
// src/lib/qti-loader/qti-loader.ts
|
|
9
|
+
var getManifestInfo = async (manifestURL) => {
|
|
10
|
+
const baseURI = manifestURL.substring(0, manifestURL.lastIndexOf("/"));
|
|
11
|
+
const test = await qtiTransformManifest().load(`${manifestURL}`).then((api) => api.assessmentTest());
|
|
12
|
+
const testHTMLDoc = await qtiTransformTest().load(`${baseURI}/${test.href}`).then((api) => api.htmlDoc());
|
|
13
|
+
const items = await qtiTransformTest().load(`${baseURI}/${test.href}`).then((api) => api.items());
|
|
14
|
+
const testURL = `${baseURI}/${test.href}`;
|
|
15
|
+
const testURI = `${baseURI}/${test.href.substring(0, test.href.lastIndexOf("/"))}`;
|
|
16
|
+
return {
|
|
17
|
+
testHTMLDoc,
|
|
18
|
+
testURI,
|
|
19
|
+
testURL,
|
|
20
|
+
items,
|
|
21
|
+
testIdentifier: test.identifier
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
var getItemByUri = async (itemUri) => qtiTransformItem().load(itemUri).then((api) => api.htmlDoc().firstElementChild);
|
|
7
25
|
export {
|
|
8
26
|
getItemByUri,
|
|
9
27
|
getManifestInfo
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/lib/qti-loader/qti-loader.ts"],"sourcesContent":["import { QtiAssessmentItem } from '../qti-components';\nimport { qtiTransformItem, qtiTransformTest } from '../qti-transformers';\nimport { qtiTransformManifest } from '../qti-transformers/qti-transform-manifest';\n\nexport type ManifestInfo = {\n testIdentifier: string;\n testHTMLDoc: DocumentFragment;\n testURI: string;\n testURL: string;\n items: {\n identifier: string;\n href: string;\n category: string;\n }[];\n};\n\n// Utility function to ensure package URIs end with a '/'\n// const normalizeUri = (uri: string) => (uri.endsWith('/') ? uri : `${uri}/`);\n\n// Fetches assessment data from the manifest\nexport const getManifestInfo = async (manifestURL: string): Promise<ManifestInfo> => {\n const baseURI = manifestURL.substring(0, manifestURL.lastIndexOf('/'));\n\n const test = await qtiTransformManifest()\n .load(`${manifestURL}`)\n .then(api => api.assessmentTest());\n\n const testHTMLDoc = await qtiTransformTest()\n .load(`${baseURI}/${test.href}`)\n .then(api => api.htmlDoc());\n\n const items = await qtiTransformTest()\n .load(`${baseURI}/${test.href}`)\n .then(api => api.items());\n\n const testURL = `${baseURI}/${test.href}`;\n const testURI = `${baseURI}/${test.href.substring(0, test.href.lastIndexOf('/'))}`;\n\n return {\n testHTMLDoc,\n testURI,\n testURL,\n items,\n testIdentifier: test.identifier\n };\n};\n\n// Fetches a single item by URI\nexport const getItemByUri = async (itemUri: string): Promise<QtiAssessmentItem> =>\n qtiTransformItem()\n .load(itemUri)\n .then(api => api.htmlDoc().firstElementChild as QtiAssessmentItem);\n"],"mappings":";;;;;;;;AAoBO,IAAM,kBAAkB,OAAO,gBAA+C;AACnF,QAAM,UAAU,YAAY,UAAU,GAAG,YAAY,YAAY,GAAG,CAAC;AAErE,QAAM,OAAO,MAAM,qBAAqB,EACrC,KAAK,GAAG,WAAW,EAAE,EACrB,KAAK,SAAO,IAAI,eAAe,CAAC;AAEnC,QAAM,cAAc,MAAM,iBAAiB,EACxC,KAAK,GAAG,OAAO,IAAI,KAAK,IAAI,EAAE,EAC9B,KAAK,SAAO,IAAI,QAAQ,CAAC;AAE5B,QAAM,QAAQ,MAAM,iBAAiB,EAClC,KAAK,GAAG,OAAO,IAAI,KAAK,IAAI,EAAE,EAC9B,KAAK,SAAO,IAAI,MAAM,CAAC;AAE1B,QAAM,UAAU,GAAG,OAAO,IAAI,KAAK,IAAI;AACvC,QAAM,UAAU,GAAG,OAAO,IAAI,KAAK,KAAK,UAAU,GAAG,KAAK,KAAK,YAAY,GAAG,CAAC,CAAC;AAEhF,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,gBAAgB,KAAK;AAAA,EACvB;AACF;AAGO,IAAM,eAAe,OAAO,YACjC,iBAAiB,EACd,KAAK,OAAO,EACZ,KAAK,SAAO,IAAI,QAAQ,EAAE,iBAAsC;","names":[]}
|
|
@@ -1155,4 +1155,4 @@ declare global {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
1157
|
|
|
1158
|
-
export {
|
|
1158
|
+
export { QtiSubtract as $, type ActiveElementMixinInterface as A, type BaseType as B, type Calculate as C, QtiRubricBlock as D, QtiFeedbackBlock as E, QtiFeedbackInline as F, QtiModalFeedback as G, QtiExtendedTextInteraction as H, type ItemContext as I, QtiTextEntryInteraction as J, QtiHottextInteraction as K, QtiInlineChoiceInteraction as L, type Multiple as M, type Orientation as N, type OutcomeChangedDetails as O, QtiChoiceInteraction as P, QtiAssessmentItem as Q, type ResponseVariable as R, QtiUploadInteraction as S, QtiOutcomeProcessing as T, QtiOutcomeProcessingProcessor as U, type VariableDeclaration as V, QtiResponseProcessing as W, QtiLookupOutcomeValue as X, QtiAnd as Y, qtiAndMixin as Z, QtiMapping as _, QtiRule as a, qtiSubtractMixin as a0, QtiPortableCustomInteraction as a1, QtiAssociateInteraction as a2, QtiCustomInteraction as a3, QtiEndAttemptInteraction as a4, QtiGapMatchInteraction as a5, QtiGraphicAssociateInteraction as a6, QtiGraphicGapMatchInteraction as a7, QtiGraphicOrderInteraction as a8, QtiHotspotInteraction as a9, QtiMatchInteraction as aa, QtiMediaInteraction as ab, QtiOrderInteraction as ac, QtiPositionObjectStage as ad, QtiSelectPointInteraction as ae, QtiSliderInteraction as af, itemContextVariables as ag, itemContext as ah, QtiCustomOperator as ai, Interaction as aj, QtiAssociableHotspot as ak, QtiGap as al, QtiGapImg as am, QtiGapText as an, QtiHotspotChoice as ao, QtiHottext as ap, QtiInlineChoice as aq, QtiSimpleAssociableChoice as ar, QtiSimpleChoice as as, type QtiRuleBase as b, type QtiExpressionBase as c, QtiExpression as d, QtiConditionExpression as e, type InteractionChangedDetails as f, type QtiInteractionChanged as g, type QtiOutcomeChanged as h, type directedPair as i, type ResponseInteraction as j, type float as k, type integer as l, type Ordered as m, type Cardinality as n, type VariableValue as o, type OutcomeVariable as p, QtiAssessmentStimulusRef as q, type ChoiceInterface as r, ActiveElementMixin as s, QtiItemBody as t, QtiPrompt as u, QtiStylesheet as v, QtiOutcomeDeclaration as w, QtiResponseDeclaration as x, QtiCompanionMaterialsInfo as y, QtiContentBody as z };
|
|
@@ -3,11 +3,9 @@ export { TestNext } from './test-next.js';
|
|
|
3
3
|
export { TestPrev } from './test-prev.js';
|
|
4
4
|
export { TestView } from './test-view.js';
|
|
5
5
|
export { TestItemLink } from './test-item-link.js';
|
|
6
|
-
export { TestContainer } from './test-container.js';
|
|
7
6
|
export { TestPagingButtonsStamp } from './test-paging-buttons-stamp.js';
|
|
8
7
|
import 'lit';
|
|
9
|
-
import '../../test-
|
|
10
|
-
import '../qti-assessment-test/qti-test-part.js';
|
|
8
|
+
import '../../test.context-K2w-1mWi.js';
|
|
11
9
|
import 'lit-html';
|
|
12
|
-
import '../../qti-simple-choice-
|
|
10
|
+
import '../../qti-simple-choice-DB7hqAMS.js';
|
|
13
11
|
import 'lit-html/directives/ref.js';
|
|
@@ -1,36 +1,29 @@
|
|
|
1
|
-
import "../../chunk-
|
|
2
|
-
import {
|
|
3
|
-
TestContainer
|
|
4
|
-
} from "../../chunk-X4ZBUCOD.js";
|
|
5
|
-
import {
|
|
6
|
-
TestItemLink
|
|
7
|
-
} from "../../chunk-GTYLWGDG.js";
|
|
1
|
+
import "../../chunk-MAC76UNI.js";
|
|
8
2
|
import {
|
|
9
3
|
TestNext
|
|
10
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-KI3A6ZT6.js";
|
|
11
5
|
import {
|
|
12
6
|
TestPagingButtonsStamp
|
|
13
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-2GKDJDI5.js";
|
|
14
8
|
import {
|
|
15
9
|
TestPrev
|
|
16
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-ERLGA6TC.js";
|
|
17
11
|
import {
|
|
18
12
|
TestView
|
|
19
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-TAQAVEQ2.js";
|
|
14
|
+
import {
|
|
15
|
+
TestItemLink
|
|
16
|
+
} from "../../chunk-EXJQ3ZUE.js";
|
|
20
17
|
import "../../chunk-UB5K44DB.js";
|
|
21
18
|
import {
|
|
22
19
|
TestComponent
|
|
23
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-KVFH5VBC.js";
|
|
21
|
+
import "../../chunk-E3656TSN.js";
|
|
24
22
|
import "../../chunk-4CSM2PCC.js";
|
|
25
|
-
import "../../chunk-3WLCQQN7.js";
|
|
26
23
|
import "../../chunk-4YG2FPKK.js";
|
|
27
|
-
import "../../chunk-2OA7E3E7.js";
|
|
28
|
-
import "../../chunk-XFHB6KQW.js";
|
|
29
|
-
import "../../chunk-R4HSV7U7.js";
|
|
30
24
|
import "../../chunk-44VE5POH.js";
|
|
31
25
|
export {
|
|
32
26
|
TestComponent,
|
|
33
|
-
TestContainer,
|
|
34
27
|
TestItemLink,
|
|
35
28
|
TestNext,
|
|
36
29
|
TestPagingButtonsStamp,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
-
import { T as TestContext,
|
|
3
|
-
import '../qti-assessment-test/qti-test-part.js';
|
|
2
|
+
import { T as TestContext, a as TestElement } from '../../test.context-K2w-1mWi.js';
|
|
4
3
|
import 'lit-html';
|
|
5
|
-
import '../../qti-simple-choice-
|
|
4
|
+
import '../../qti-simple-choice-DB7hqAMS.js';
|
|
6
5
|
import 'lit-html/directives/ref.js';
|
|
7
6
|
|
|
8
7
|
declare abstract class TestComponent extends LitElement {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestComponent
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-KVFH5VBC.js";
|
|
4
|
+
import "../../chunk-E3656TSN.js";
|
|
4
5
|
import "../../chunk-4CSM2PCC.js";
|
|
5
6
|
import "../../chunk-4YG2FPKK.js";
|
|
6
|
-
import "../../chunk-XFHB6KQW.js";
|
|
7
|
-
import "../../chunk-R4HSV7U7.js";
|
|
8
7
|
import "../../chunk-44VE5POH.js";
|
|
9
8
|
export {
|
|
10
9
|
TestComponent
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as lit_html from 'lit-html';
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { TestComponent } from './test-component.abstract.js';
|
|
4
|
-
import '../../test-
|
|
5
|
-
import '
|
|
6
|
-
import '../../qti-simple-choice-DxWcdKHi.js';
|
|
4
|
+
import '../../test.context-K2w-1mWi.js';
|
|
5
|
+
import '../../qti-simple-choice-DB7hqAMS.js';
|
|
7
6
|
import 'lit-html/directives/ref.js';
|
|
8
7
|
|
|
9
8
|
declare class TestItemLink extends TestComponent {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestItemLink
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-EXJQ3ZUE.js";
|
|
4
4
|
import "../../chunk-UB5K44DB.js";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-KVFH5VBC.js";
|
|
6
|
+
import "../../chunk-E3656TSN.js";
|
|
6
7
|
import "../../chunk-4CSM2PCC.js";
|
|
7
8
|
import "../../chunk-4YG2FPKK.js";
|
|
8
|
-
import "../../chunk-XFHB6KQW.js";
|
|
9
|
-
import "../../chunk-R4HSV7U7.js";
|
|
10
9
|
import "../../chunk-44VE5POH.js";
|
|
11
10
|
export {
|
|
12
11
|
TestItemLink
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as lit_html from 'lit-html';
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { TestComponent } from './test-component.abstract.js';
|
|
4
|
-
import '../../test-
|
|
5
|
-
import '
|
|
6
|
-
import '../../qti-simple-choice-DxWcdKHi.js';
|
|
4
|
+
import '../../test.context-K2w-1mWi.js';
|
|
5
|
+
import '../../qti-simple-choice-DB7hqAMS.js';
|
|
7
6
|
import 'lit-html/directives/ref.js';
|
|
8
7
|
|
|
9
8
|
/**
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestNext
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-KI3A6ZT6.js";
|
|
4
4
|
import "../../chunk-UB5K44DB.js";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-KVFH5VBC.js";
|
|
6
|
+
import "../../chunk-E3656TSN.js";
|
|
6
7
|
import "../../chunk-4CSM2PCC.js";
|
|
7
8
|
import "../../chunk-4YG2FPKK.js";
|
|
8
|
-
import "../../chunk-XFHB6KQW.js";
|
|
9
|
-
import "../../chunk-R4HSV7U7.js";
|
|
10
9
|
import "../../chunk-44VE5POH.js";
|
|
11
10
|
export {
|
|
12
11
|
TestNext
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import '../
|
|
2
|
-
import '../../test-
|
|
3
|
-
import '
|
|
4
|
-
import '../../qti-simple-choice-DxWcdKHi.js';
|
|
1
|
+
import '../core/index.js';
|
|
2
|
+
import '../../test.context-K2w-1mWi.js';
|
|
3
|
+
import '../../qti-simple-choice-DB7hqAMS.js';
|
|
5
4
|
import './test-next.js';
|
|
6
5
|
import './test-prev.js';
|
|
7
6
|
import './test-view.js';
|
|
8
7
|
import './test-item-link.js';
|
|
9
|
-
import './test-container.js';
|
|
10
8
|
import './test-paging-buttons-stamp.js';
|
|
11
|
-
import '../../qti-item/qti-item.js';
|
|
12
|
-
import '../../qti-item/components/item-container.js';
|
|
13
9
|
import 'lit-html';
|
|
14
10
|
import 'lit';
|
|
15
11
|
import 'lit-html/directives/ref.js';
|
|
@@ -1,37 +1,17 @@
|
|
|
1
|
-
import "../../chunk-
|
|
2
|
-
import "../../chunk-
|
|
3
|
-
import "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-OQZW2B47.js";
|
|
11
|
-
import "../../chunk-OXDOQVRL.js";
|
|
12
|
-
import "../../chunk-7A6KCSAU.js";
|
|
13
|
-
import "../../chunk-FNFNAV3G.js";
|
|
14
|
-
import "../../chunk-GSFDTSLL.js";
|
|
15
|
-
import "../../chunk-X4ZBUCOD.js";
|
|
16
|
-
import "../../chunk-GTYLWGDG.js";
|
|
17
|
-
import "../../chunk-L7MBIXEX.js";
|
|
18
|
-
import "../../chunk-JDHBXMKF.js";
|
|
19
|
-
import "../../chunk-TXRSYXG3.js";
|
|
20
|
-
import "../../chunk-VODOQFTJ.js";
|
|
1
|
+
import "../../chunk-SLMQZKDH.js";
|
|
2
|
+
import "../../chunk-2CHF3TMY.js";
|
|
3
|
+
import "../../chunk-2OA7E3E7.js";
|
|
4
|
+
import "../../chunk-MAC76UNI.js";
|
|
5
|
+
import "../../chunk-KI3A6ZT6.js";
|
|
6
|
+
import "../../chunk-2GKDJDI5.js";
|
|
7
|
+
import "../../chunk-ERLGA6TC.js";
|
|
8
|
+
import "../../chunk-TAQAVEQ2.js";
|
|
9
|
+
import "../../chunk-EXJQ3ZUE.js";
|
|
21
10
|
import "../../chunk-UB5K44DB.js";
|
|
22
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-KVFH5VBC.js";
|
|
12
|
+
import "../../chunk-E3656TSN.js";
|
|
23
13
|
import "../../chunk-4CSM2PCC.js";
|
|
24
|
-
import "../../chunk-3WLCQQN7.js";
|
|
25
14
|
import "../../chunk-4YG2FPKK.js";
|
|
26
|
-
import "../../chunk-OGHHCP23.js";
|
|
27
|
-
import "../../chunk-37X6KZO3.js";
|
|
28
|
-
import "../../chunk-VW7VIQBE.js";
|
|
29
|
-
import "../../chunk-ODUHPWTX.js";
|
|
30
|
-
import "../../chunk-U3RLYKL5.js";
|
|
31
|
-
import "../../chunk-2OA7E3E7.js";
|
|
32
|
-
import "../../chunk-PBSMP6VF.js";
|
|
33
|
-
import "../../chunk-XFHB6KQW.js";
|
|
34
|
-
import "../../chunk-R4HSV7U7.js";
|
|
35
15
|
import {
|
|
36
16
|
__commonJS as __commonJS2,
|
|
37
17
|
__export as __export2,
|