@citolab/qti-components 7.0.6-beta.0 → 7.0.6-beta.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-QGKK4T2J.js → chunks/chunk-3V6LA7B3.js} +1 -1
- package/cdn/chunks/chunk-4UJBK6JO.js +1 -0
- package/cdn/chunks/chunk-4WXQYE2P.js +8 -0
- package/cdn/{chunk-L4TDHAKL.js → chunks/chunk-5BR5CJFH.js} +5 -5
- package/cdn/chunks/chunk-5GCSZ3CH.js +73 -0
- package/cdn/{chunk-BLKKKK6C.js → chunks/chunk-5P7CTN7Q.js} +1 -1
- package/cdn/{chunk-A536ZOJJ.js → chunks/chunk-6S4CDN3T.js} +1 -1
- package/cdn/chunks/chunk-DZCKF45D.js +5 -0
- package/cdn/chunks/chunk-EHK76KRT.js +1 -0
- package/cdn/chunks/chunk-FTKONGII.js +934 -0
- package/cdn/chunks/chunk-IAP2CEE7.js +1 -0
- package/cdn/chunks/chunk-IMJOPCFR.js +1 -0
- package/cdn/chunks/chunk-KWPDTFYH.js +1 -0
- package/cdn/{chunk-MFWSHIPH.js → chunks/chunk-L4CUWIE6.js} +1 -1
- package/cdn/{chunk-4DFVJE2A.js → chunks/chunk-LZZB4VGC.js} +1 -1
- package/cdn/{chunk-SQDSHH6N.js → chunks/chunk-MJMONWKB.js} +1 -1
- package/cdn/{chunk-ROXN2HIJ.js → chunks/chunk-PKT2SJQD.js} +1 -1
- package/cdn/chunks/chunk-QQCGUVEV.js +1 -0
- package/cdn/chunks/chunk-R33OODNX.js +1 -0
- package/cdn/chunks/chunk-RXKI3AO4.js +1 -0
- package/cdn/chunks/chunk-TQBDBMWL.js +5 -0
- package/cdn/chunks/chunk-X2KBNXRO.js +6 -0
- package/cdn/chunks/chunk-XUJ7TXHW.js +1 -0
- package/cdn/exports/expression-result.js +0 -0
- package/cdn/exports/interaction.interface.js +0 -0
- package/cdn/exports/interaction.js +1 -0
- package/cdn/exports/item.context.js +1 -0
- package/cdn/exports/qti-assessment-item.context.js +1 -0
- package/cdn/exports/qti-condition-expression.js +1 -0
- package/cdn/exports/qti-expression.js +1 -0
- package/cdn/exports/variables.js +0 -0
- package/cdn/index.global.js +7 -58
- package/cdn/index.js +1 -1
- package/cdn/qti-components/index.js +1 -1
- package/cdn/qti-item/core/index.js +1 -1
- package/cdn/qti-loader/index.js +1 -1
- 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-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.js +1 -1
- package/cdn/qti-transformers/index.js +1 -1
- package/dist/{chunk-OO6JSYLP.js → chunks/chunk-2V6LQV2K.js} +6 -6
- package/dist/chunks/chunk-2V6LQV2K.js.map +1 -0
- package/dist/{chunk-ANLIJZBL.js → chunks/chunk-3EU75IUF.js} +4 -4
- package/dist/chunks/chunk-3EU75IUF.js.map +1 -0
- package/dist/{chunk-CNQYM52B.js → chunks/chunk-4GNVYCBN.js} +65 -7
- package/dist/chunks/chunk-4GNVYCBN.js.map +1 -0
- package/dist/{chunk-UB5K44DB.js → chunks/chunk-4O5F7WV7.js} +1 -1
- package/dist/chunks/chunk-4O5F7WV7.js.map +1 -0
- package/dist/{chunk-6SG3NMKU.js → chunks/chunk-4WVLWWYJ.js} +6 -6
- package/dist/chunks/chunk-4WVLWWYJ.js.map +1 -0
- package/dist/chunks/chunk-6JXR63MH.js +50 -0
- package/dist/chunks/chunk-6JXR63MH.js.map +1 -0
- package/dist/{chunk-4FH7P7YI.js → chunks/chunk-7QMCKYDR.js} +4 -4
- package/dist/chunks/chunk-7QMCKYDR.js.map +1 -0
- package/dist/{chunk-3TFUBCJW.js → chunks/chunk-A24F75DB.js} +4 -4
- package/dist/chunks/chunk-A24F75DB.js.map +1 -0
- package/dist/chunks/chunk-BPHQLJWE.js +102 -0
- package/dist/chunks/chunk-BPHQLJWE.js.map +1 -0
- package/dist/chunks/chunk-D3RGDWKP.js +37 -0
- package/dist/chunks/chunk-D3RGDWKP.js.map +1 -0
- package/dist/chunks/chunk-DLUJN2FW.js +22 -0
- package/dist/chunks/chunk-DLUJN2FW.js.map +1 -0
- package/dist/{chunk-UBZPSVSE.js → chunks/chunk-DU37U6PW.js} +5125 -5329
- package/dist/chunks/chunk-DU37U6PW.js.map +1 -0
- package/dist/{chunk-4YG2FPKK.js → chunks/chunk-ELDMXTUQ.js} +1 -1
- package/dist/chunks/chunk-ELDMXTUQ.js.map +1 -0
- package/dist/chunks/chunk-FV7HWK54.js +29 -0
- package/dist/chunks/chunk-FV7HWK54.js.map +1 -0
- package/dist/chunks/chunk-GSWZT6N2.js +50 -0
- package/dist/chunks/chunk-GSWZT6N2.js.map +1 -0
- package/dist/chunks/chunk-H2JE6IVU.js +15 -0
- package/dist/{chunk-QYN5S4EM.js → chunks/chunk-HHVRU3AJ.js} +5 -5
- package/dist/chunks/chunk-HHVRU3AJ.js.map +1 -0
- package/dist/{chunk-2CHF3TMY.js → chunks/chunk-J2SHENRN.js} +1 -1
- package/dist/chunks/chunk-KOEILLVS.js +8 -0
- package/dist/chunks/chunk-KOEILLVS.js.map +1 -0
- package/dist/{chunk-F7HTXGGH.js → chunks/chunk-KYAIMBP5.js} +3 -3
- package/dist/chunks/chunk-KYAIMBP5.js.map +1 -0
- package/dist/chunks/chunk-O6WEZVEM.js +43 -0
- package/dist/chunks/chunk-O6WEZVEM.js.map +1 -0
- package/dist/{chunk-F3NTI6TX.js → chunks/chunk-UFYWCLXF.js} +1 -1
- package/dist/chunks/chunk-UFYWCLXF.js.map +1 -0
- package/dist/chunks/chunk-UN2IFSGC.js +1 -0
- package/dist/{chunk-2OA7E3E7.js → chunks/chunk-XDMSEAYC.js} +1 -1
- package/dist/chunks/chunk-XDMSEAYC.js.map +1 -0
- package/dist/chunks/chunk-XSI6FXGD.js +19 -0
- package/dist/chunks/chunk-XSI6FXGD.js.map +1 -0
- package/dist/chunks/chunk-ZPNJ2HP5.js +71 -0
- package/dist/chunks/chunk-ZPNJ2HP5.js.map +1 -0
- package/dist/exports/expression-result.d.ts +19 -0
- package/dist/exports/expression-result.js +1 -0
- package/dist/exports/expression-result.js.map +1 -0
- package/dist/exports/interaction.d.ts +23 -0
- package/dist/exports/interaction.interface.d.ts +13 -0
- package/dist/exports/interaction.interface.js +1 -0
- package/dist/exports/interaction.interface.js.map +1 -0
- package/dist/exports/interaction.js +8 -0
- package/dist/exports/interaction.js.map +1 -0
- package/dist/exports/item.context.d.ts +12 -0
- package/dist/exports/item.context.js +8 -0
- package/dist/exports/item.context.js.map +1 -0
- package/dist/exports/qti-assessment-item.context.d.ts +10 -0
- package/dist/exports/qti-assessment-item.context.js +8 -0
- package/dist/exports/qti-assessment-item.context.js.map +1 -0
- package/dist/exports/qti-condition-expression.d.ts +13 -0
- package/dist/exports/qti-condition-expression.js +10 -0
- package/dist/exports/qti-condition-expression.js.map +1 -0
- package/dist/exports/qti-expression.d.ts +21 -0
- package/dist/exports/qti-expression.js +9 -0
- package/dist/exports/qti-expression.js.map +1 -0
- package/dist/exports/variables.d.ts +3 -0
- package/dist/exports/variables.js +1 -0
- package/dist/exports/variables.js.map +1 -0
- package/dist/index.d.ts +12 -3
- package/dist/index.js +35 -28
- package/dist/qti-components/index.d.ts +36 -9
- package/dist/qti-components/index.js +10 -16
- package/dist/qti-components-jsx.d.ts +328 -623
- package/dist/qti-item/core/index.js +5 -5
- package/dist/qti-loader/index.d.ts +7 -1
- package/dist/qti-loader/index.js +5 -23
- package/dist/qti-loader/index.js.map +1 -1
- package/dist/{qti-simple-choice-DxWcdKHi.d.ts → qti-response-declaration-DAeBp8HH.d.ts} +463 -613
- package/dist/qti-test/components/index.d.ts +8 -2
- package/dist/qti-test/components/index.js +12 -11
- package/dist/qti-test/components/styles.js +2 -2
- package/dist/qti-test/components/test-component.abstract.d.ts +8 -2
- package/dist/qti-test/components/test-component.abstract.js +5 -4
- package/dist/qti-test/components/test-item-link.d.ts +8 -2
- package/dist/qti-test/components/test-item-link.js +7 -6
- package/dist/qti-test/components/test-next.d.ts +8 -2
- package/dist/qti-test/components/test-next.js +7 -6
- package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +8 -2
- package/dist/qti-test/components/test-paging-buttons-stamp.js +6 -5
- package/dist/qti-test/components/test-prev.d.ts +8 -2
- package/dist/qti-test/components/test-prev.js +7 -6
- package/dist/qti-test/components/test-view.d.ts +8 -2
- package/dist/qti-test/components/test-view.js +6 -5
- package/dist/qti-test/core/index.d.ts +15 -4
- package/dist/qti-test/core/index.js +6 -6
- package/dist/qti-transformers/index.js +2 -2
- package/dist/{test.context-DbSTxKk_.d.ts → test.context-CaENAJNk.d.ts} +4 -2
- package/dist/variables-cO3DzqJy.d.ts +33 -0
- package/dist/vscode.html-custom-data.json +208 -275
- package/package.json +14 -20
- package/cdn/chunk-4I75QSIL.js +0 -8
- package/cdn/chunk-5WCOPF7O.js +0 -73
- package/cdn/chunk-DC2R556M.js +0 -5
- package/cdn/chunk-GALSGMIP.js +0 -5
- package/cdn/chunk-KYOTSBCX.js +0 -1
- package/cdn/chunk-T4A5AZCI.js +0 -939
- package/cdn/chunk-VI2WKTN4.js +0 -1
- package/cdn/qti-components/index.global.js +0 -226
- package/cdn/qti-item/core/index.global.js +0 -149
- package/cdn/qti-loader/index.global.js +0 -1
- package/cdn/qti-test/components/index.global.js +0 -207
- package/cdn/qti-test/components/styles.global.js +0 -44
- package/cdn/qti-test/components/test-component.abstract.global.js +0 -170
- package/cdn/qti-test/components/test-item-link.global.js +0 -170
- package/cdn/qti-test/components/test-next.global.js +0 -170
- package/cdn/qti-test/components/test-next.spec.css +0 -1
- package/cdn/qti-test/components/test-next.spec.global.js +0 -64
- package/cdn/qti-test/components/test-next.spec.js +0 -713
- package/cdn/qti-test/components/test-paging-buttons-stamp.global.js +0 -207
- package/cdn/qti-test/components/test-prev.global.js +0 -170
- package/cdn/qti-test/components/test-view.global.js +0 -170
- package/cdn/qti-test/core/index.global.js +0 -205
- package/cdn/qti-transformers/index.global.js +0 -1
- package/dist/chunk-2OA7E3E7.js.map +0 -1
- package/dist/chunk-3TFUBCJW.js.map +0 -1
- package/dist/chunk-44VE5POH.js +0 -55
- package/dist/chunk-4FH7P7YI.js.map +0 -1
- package/dist/chunk-4YG2FPKK.js.map +0 -1
- package/dist/chunk-6SG3NMKU.js.map +0 -1
- package/dist/chunk-ANLIJZBL.js.map +0 -1
- package/dist/chunk-CNQYM52B.js.map +0 -1
- package/dist/chunk-F3NTI6TX.js.map +0 -1
- package/dist/chunk-F7HTXGGH.js.map +0 -1
- package/dist/chunk-MAC76UNI.js +0 -1
- package/dist/chunk-OO6JSYLP.js.map +0 -1
- package/dist/chunk-QYN5S4EM.js.map +0 -1
- package/dist/chunk-UB5K44DB.js.map +0 -1
- package/dist/chunk-UBZPSVSE.js.map +0 -1
- package/dist/qti-test/components/test-next.spec.css +0 -2481
- package/dist/qti-test/components/test-next.spec.css.map +0 -1
- package/dist/qti-test/components/test-next.spec.d.ts +0 -13
- package/dist/qti-test/components/test-next.spec.js +0 -45904
- package/dist/qti-test/components/test-next.spec.js.map +0 -1
- /package/cdn/{chunk-22HAPLRD.js → chunks/chunk-3GO57DNP.js} +0 -0
- /package/cdn/{chunk-LVW3MHTI.js → chunks/chunk-5FCXUJAG.js} +0 -0
- /package/cdn/{chunk-IXSX4SJX.js → chunks/chunk-6MCYE7P5.js} +0 -0
- /package/cdn/{chunk-M6AATWPS.js → chunks/chunk-FRS2J3OS.js} +0 -0
- /package/dist/{chunk-44VE5POH.js.map → chunks/chunk-H2JE6IVU.js.map} +0 -0
- /package/dist/{chunk-2CHF3TMY.js.map → chunks/chunk-J2SHENRN.js.map} +0 -0
- /package/dist/{chunk-MAC76UNI.js.map → chunks/chunk-UN2IFSGC.js.map} +0 -0
|
@@ -102,8 +102,6 @@ export type QtiResponseIfProps = {};
|
|
|
102
102
|
|
|
103
103
|
export type QtiResponseElseIfProps = {};
|
|
104
104
|
|
|
105
|
-
export type QtiAndProps = {};
|
|
106
|
-
|
|
107
105
|
export type QtiBaseValueProps = {
|
|
108
106
|
/** */
|
|
109
107
|
"base-type"?: BaseType;
|
|
@@ -111,10 +109,7 @@ export type QtiBaseValueProps = {
|
|
|
111
109
|
getVariables?: string;
|
|
112
110
|
};
|
|
113
111
|
|
|
114
|
-
export type QtiContainsProps = {
|
|
115
|
-
/** */
|
|
116
|
-
getVariables?: string;
|
|
117
|
-
};
|
|
112
|
+
export type QtiContainsProps = {};
|
|
118
113
|
|
|
119
114
|
export type QtiCorrectProps = {
|
|
120
115
|
/** */
|
|
@@ -144,10 +139,7 @@ export type QtiGtProps = {
|
|
|
144
139
|
getVariables?: string;
|
|
145
140
|
};
|
|
146
141
|
|
|
147
|
-
export type QtiGteProps = {
|
|
148
|
-
/** */
|
|
149
|
-
getVariables?: string;
|
|
150
|
-
};
|
|
142
|
+
export type QtiGteProps = {};
|
|
151
143
|
|
|
152
144
|
export type QtiIsNullProps = {
|
|
153
145
|
/** */
|
|
@@ -159,10 +151,7 @@ export type QtiLtProps = {
|
|
|
159
151
|
getVariables?: string;
|
|
160
152
|
};
|
|
161
153
|
|
|
162
|
-
export type QtiLteProps = {
|
|
163
|
-
/** */
|
|
164
|
-
getVariables?: string;
|
|
165
|
-
};
|
|
154
|
+
export type QtiLteProps = {};
|
|
166
155
|
|
|
167
156
|
export type QtiMapResponseProps = {
|
|
168
157
|
/** */
|
|
@@ -186,10 +175,7 @@ export type QtiNotProps = {
|
|
|
186
175
|
getVariables?: string;
|
|
187
176
|
};
|
|
188
177
|
|
|
189
|
-
export type QtiOrProps = {
|
|
190
|
-
/** */
|
|
191
|
-
getVariables?: string;
|
|
192
|
-
};
|
|
178
|
+
export type QtiOrProps = {};
|
|
193
179
|
|
|
194
180
|
export type QtiOrderedProps = {
|
|
195
181
|
/** */
|
|
@@ -263,57 +249,13 @@ export type QtiAssessmentStimulusRefProps = {
|
|
|
263
249
|
href?: string;
|
|
264
250
|
};
|
|
265
251
|
|
|
266
|
-
export type QtiItemBodyProps = {};
|
|
267
|
-
|
|
268
|
-
export type QtiPromptProps = {};
|
|
269
|
-
|
|
270
|
-
export type QtiStylesheetProps = {};
|
|
271
|
-
|
|
272
|
-
export type QtiVariableDeclarationProps = {};
|
|
273
|
-
|
|
274
|
-
export type QtiOutcomeDeclarationProps = {
|
|
275
|
-
/** */
|
|
276
|
-
"base-type"?: BaseType;
|
|
277
|
-
/** */
|
|
278
|
-
"external-scored"?: "human" | "externalMachine" | null;
|
|
279
|
-
/** */
|
|
280
|
-
identifier?: string;
|
|
281
|
-
/** */
|
|
282
|
-
cardinality?: Cardinality;
|
|
283
|
-
/** */
|
|
284
|
-
itemContext?: ItemContext | undefined;
|
|
285
|
-
/** */
|
|
286
|
-
interpolationTable?: Map<number, number> | null;
|
|
287
|
-
/** */
|
|
288
|
-
"onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
|
|
289
|
-
};
|
|
290
|
-
|
|
291
|
-
export type QtiResponseDeclarationProps = {
|
|
292
|
-
/** */
|
|
293
|
-
"base-type"?: BaseType;
|
|
294
|
-
/** */
|
|
295
|
-
identifier?: string;
|
|
296
|
-
/** */
|
|
297
|
-
cardinality?: Cardinality;
|
|
298
|
-
/** */
|
|
299
|
-
itemContext?: ItemContext | undefined;
|
|
300
|
-
/** */
|
|
301
|
-
"onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
|
|
302
|
-
};
|
|
303
|
-
|
|
304
252
|
export type QtiCompanionMaterialsInfoProps = {};
|
|
305
253
|
|
|
306
|
-
export type
|
|
307
|
-
|
|
308
|
-
export type QtiRubricBlockProps = {
|
|
309
|
-
/** */
|
|
310
|
-
id?: string;
|
|
311
|
-
/** */
|
|
312
|
-
use?: "instructions" | "scoring" | "navigation";
|
|
254
|
+
export type QtiCustomOperatorProps = {
|
|
313
255
|
/** */
|
|
314
|
-
|
|
256
|
+
"onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
|
|
315
257
|
/** */
|
|
316
|
-
|
|
258
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
317
259
|
};
|
|
318
260
|
|
|
319
261
|
export type QtiFeedbackBlockProps = {
|
|
@@ -355,96 +297,39 @@ export type QtiModalFeedbackProps = {
|
|
|
355
297
|
"onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
|
|
356
298
|
};
|
|
357
299
|
|
|
358
|
-
export type
|
|
359
|
-
/** expected length is mapped to the property maxlength on the textarea */
|
|
360
|
-
"expected-length"?: number;
|
|
361
|
-
/** */
|
|
362
|
-
"pattern-mask"?: string;
|
|
363
|
-
/** text appearing in the extended-text-nteraction if it is empty */
|
|
364
|
-
"placeholder-text"?: string;
|
|
365
|
-
/** */
|
|
366
|
-
"data-patternmask-message"?: string;
|
|
367
|
-
/** */
|
|
368
|
-
class?: string;
|
|
369
|
-
/** */
|
|
370
|
-
"response-identifier"?: string;
|
|
371
|
-
/** */
|
|
372
|
-
disabled?: boolean;
|
|
373
|
-
/** */
|
|
374
|
-
readonly?: boolean;
|
|
375
|
-
/** */
|
|
376
|
-
value?: string | string[];
|
|
377
|
-
/** */
|
|
378
|
-
correctResponse?: string | string[];
|
|
379
|
-
/** */
|
|
380
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
381
|
-
/** */
|
|
382
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
383
|
-
};
|
|
384
|
-
|
|
385
|
-
export type QtiTextEntryInteractionProps = {
|
|
386
|
-
/** */
|
|
387
|
-
"expected-length"?: number;
|
|
388
|
-
/** */
|
|
389
|
-
"pattern-mask"?: string;
|
|
390
|
-
/** */
|
|
391
|
-
"placeholder-text"?: string;
|
|
392
|
-
/** */
|
|
393
|
-
"data-patternmask-message"?: string;
|
|
394
|
-
/** */
|
|
395
|
-
"response-identifier"?: string;
|
|
396
|
-
/** */
|
|
397
|
-
disabled?: boolean;
|
|
398
|
-
/** */
|
|
399
|
-
readonly?: boolean;
|
|
400
|
-
/** */
|
|
401
|
-
inputRef?: string;
|
|
402
|
-
/** */
|
|
403
|
-
value?: string | string[];
|
|
404
|
-
/** */
|
|
405
|
-
correctResponse?: string | string[];
|
|
406
|
-
/** */
|
|
407
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
300
|
+
export type QtiAssociableHotspotProps = {
|
|
408
301
|
/** */
|
|
409
|
-
"onqti-
|
|
302
|
+
"onqti-register-hotspot"?: (e: CustomEvent<CustomEvent>) => void;
|
|
410
303
|
};
|
|
411
304
|
|
|
412
|
-
export type
|
|
413
|
-
/**
|
|
414
|
-
"min
|
|
415
|
-
/**
|
|
416
|
-
"max
|
|
305
|
+
export type QtiSimpleAssociableChoiceProps = {
|
|
306
|
+
/** the minimal number of selections a candidate must make */
|
|
307
|
+
"match-min"?: number;
|
|
308
|
+
/** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
|
|
309
|
+
"match-max"?: number;
|
|
417
310
|
/** */
|
|
418
|
-
|
|
311
|
+
fixed?: boolean;
|
|
419
312
|
/** */
|
|
420
|
-
|
|
313
|
+
identifier?: string;
|
|
421
314
|
/** */
|
|
422
|
-
|
|
315
|
+
tabindex?: number;
|
|
423
316
|
/** */
|
|
424
|
-
|
|
317
|
+
"aria-disabled"?: boolean;
|
|
425
318
|
/** */
|
|
426
|
-
|
|
319
|
+
"aria-readonly"?: boolean;
|
|
427
320
|
/** */
|
|
428
|
-
|
|
321
|
+
internals?: ElementInternals;
|
|
429
322
|
/** */
|
|
430
|
-
|
|
323
|
+
onundefined?: (e: CustomEvent<CustomEvent>) => void;
|
|
431
324
|
};
|
|
432
325
|
|
|
433
|
-
export type
|
|
434
|
-
/** */
|
|
435
|
-
"data-prompt"?: string;
|
|
436
|
-
/** */
|
|
437
|
-
"response-identifier"?: string;
|
|
438
|
-
/** */
|
|
439
|
-
disabled?: boolean;
|
|
440
|
-
/** */
|
|
441
|
-
readonly?: boolean;
|
|
326
|
+
export type QtiAssociateInteractionProps = {
|
|
442
327
|
/** */
|
|
443
|
-
|
|
328
|
+
"min-associations"?: number;
|
|
444
329
|
/** */
|
|
445
|
-
|
|
330
|
+
"max-associations"?: number;
|
|
446
331
|
/** */
|
|
447
|
-
|
|
332
|
+
value?: string[];
|
|
448
333
|
/** */
|
|
449
334
|
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
450
335
|
};
|
|
@@ -480,109 +365,11 @@ export type QtiChoiceInteractionProps = {
|
|
|
480
365
|
/** */
|
|
481
366
|
"max-choices"?: number;
|
|
482
367
|
/** */
|
|
483
|
-
"response-identifier"?: string;
|
|
484
|
-
/** */
|
|
485
|
-
disabled?: boolean;
|
|
486
|
-
/** */
|
|
487
|
-
readonly?: boolean;
|
|
488
|
-
/** */
|
|
489
368
|
role?: string;
|
|
490
369
|
/** */
|
|
491
|
-
value?: string | string[];
|
|
492
|
-
/** */
|
|
493
|
-
correctResponse?: string | string[];
|
|
494
|
-
/** */
|
|
495
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
496
|
-
/** */
|
|
497
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
498
|
-
};
|
|
499
|
-
|
|
500
|
-
export type QtiUploadInteractionProps = {
|
|
501
|
-
/** */
|
|
502
|
-
"response-identifier"?: string;
|
|
503
|
-
/** */
|
|
504
|
-
disabled?: boolean;
|
|
505
|
-
/** */
|
|
506
|
-
readonly?: boolean;
|
|
507
|
-
/** */
|
|
508
|
-
value?: string | string[];
|
|
370
|
+
value?: string | string[] | null;
|
|
509
371
|
/** */
|
|
510
372
|
correctResponse?: string | string[];
|
|
511
|
-
/** */
|
|
512
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
513
|
-
/** */
|
|
514
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
515
|
-
};
|
|
516
|
-
|
|
517
|
-
export type QtiOutcomeProcessingProps = {};
|
|
518
|
-
|
|
519
|
-
export type QtiPortableCustomInteractionProps = {
|
|
520
|
-
/** */
|
|
521
|
-
module?: string;
|
|
522
|
-
/** */
|
|
523
|
-
"custom-interaction-type-identifier"?: string;
|
|
524
|
-
/** */
|
|
525
|
-
"response-identifier"?: string;
|
|
526
|
-
/** */
|
|
527
|
-
disabled?: boolean;
|
|
528
|
-
/** */
|
|
529
|
-
readonly?: boolean;
|
|
530
|
-
/** */
|
|
531
|
-
value?: string | string[];
|
|
532
|
-
/** */
|
|
533
|
-
loadConfig?: string;
|
|
534
|
-
/** */
|
|
535
|
-
getResolvablePathString?: string;
|
|
536
|
-
/** */
|
|
537
|
-
getResolvablePath?: string;
|
|
538
|
-
/** */
|
|
539
|
-
correctResponse?: string | string[];
|
|
540
|
-
/** */
|
|
541
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
542
|
-
/** */
|
|
543
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
export type QtiSimpleAssociableChoiceProps = {
|
|
547
|
-
/** the minimal number of selections a candidate must make */
|
|
548
|
-
"match-min"?: number;
|
|
549
|
-
/** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
|
|
550
|
-
"match-max"?: number;
|
|
551
|
-
/** */
|
|
552
|
-
fixed?: boolean;
|
|
553
|
-
/** */
|
|
554
|
-
identifier?: string;
|
|
555
|
-
/** */
|
|
556
|
-
tabindex?: number;
|
|
557
|
-
/** */
|
|
558
|
-
"aria-disabled"?: boolean;
|
|
559
|
-
/** */
|
|
560
|
-
"aria-readonly"?: boolean;
|
|
561
|
-
/** */
|
|
562
|
-
internals?: ElementInternals;
|
|
563
|
-
/** */
|
|
564
|
-
onundefined?: (e: CustomEvent<CustomEvent>) => void;
|
|
565
|
-
};
|
|
566
|
-
|
|
567
|
-
export type QtiAssociateInteractionProps = {
|
|
568
|
-
/** */
|
|
569
|
-
"min-associations"?: number;
|
|
570
|
-
/** */
|
|
571
|
-
"max-associations"?: number;
|
|
572
|
-
/** */
|
|
573
|
-
"response-identifier"?: string;
|
|
574
|
-
/** */
|
|
575
|
-
disabled?: boolean;
|
|
576
|
-
/** */
|
|
577
|
-
readonly?: boolean;
|
|
578
|
-
/** */
|
|
579
|
-
value?: string | string[];
|
|
580
|
-
/** */
|
|
581
|
-
correctResponse?: string | string[];
|
|
582
|
-
/** */
|
|
583
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
584
|
-
/** */
|
|
585
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
586
373
|
};
|
|
587
374
|
|
|
588
375
|
export type QtiCustomInteractionProps = {
|
|
@@ -595,12 +382,6 @@ export type QtiCustomInteractionProps = {
|
|
|
595
382
|
/** */
|
|
596
383
|
id?: string;
|
|
597
384
|
/** */
|
|
598
|
-
"response-identifier"?: string;
|
|
599
|
-
/** */
|
|
600
|
-
disabled?: boolean;
|
|
601
|
-
/** */
|
|
602
|
-
readonly?: boolean;
|
|
603
|
-
/** */
|
|
604
385
|
manifest?: {
|
|
605
386
|
script: string[];
|
|
606
387
|
style: string[];
|
|
@@ -608,12 +389,6 @@ export type QtiCustomInteractionProps = {
|
|
|
608
389
|
};
|
|
609
390
|
/** */
|
|
610
391
|
value?: string | string[];
|
|
611
|
-
/** */
|
|
612
|
-
correctResponse?: string | string[];
|
|
613
|
-
/** */
|
|
614
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
615
|
-
/** */
|
|
616
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
617
392
|
};
|
|
618
393
|
|
|
619
394
|
export type QtiEndAttemptInteractionProps = {
|
|
@@ -630,25 +405,57 @@ export type QtiEndAttemptInteractionProps = {
|
|
|
630
405
|
"onend-attempt"?: (e: CustomEvent<CustomEvent>) => void;
|
|
631
406
|
};
|
|
632
407
|
|
|
408
|
+
export type QtiExtendedTextInteractionProps = {
|
|
409
|
+
/** expected length is mapped to the property maxlength on the textarea */
|
|
410
|
+
"expected-length"?: number;
|
|
411
|
+
/** */
|
|
412
|
+
"pattern-mask"?: string;
|
|
413
|
+
/** text appearing in the extended-text-nteraction if it is empty */
|
|
414
|
+
"placeholder-text"?: string;
|
|
415
|
+
/** */
|
|
416
|
+
"data-patternmask-message"?: string;
|
|
417
|
+
/** */
|
|
418
|
+
class?: string;
|
|
419
|
+
/** */
|
|
420
|
+
value?: string | string[] | null;
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
export type QtiGapImgProps = {
|
|
424
|
+
/** */
|
|
425
|
+
tabindex?: number | undefined;
|
|
426
|
+
};
|
|
427
|
+
|
|
633
428
|
export type QtiGapMatchInteractionProps = {
|
|
634
429
|
/** */
|
|
635
430
|
"min-associations"?: number;
|
|
636
431
|
/** */
|
|
637
432
|
"max-associations"?: number;
|
|
638
433
|
/** */
|
|
639
|
-
|
|
434
|
+
correctResponse?: string;
|
|
640
435
|
/** */
|
|
641
|
-
|
|
436
|
+
value?: string[];
|
|
642
437
|
/** */
|
|
643
|
-
|
|
438
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
export type QtiGapTextProps = {
|
|
644
442
|
/** */
|
|
645
|
-
|
|
443
|
+
tabindex?: number;
|
|
646
444
|
/** */
|
|
647
|
-
|
|
445
|
+
identifier?: string;
|
|
648
446
|
/** */
|
|
649
|
-
"
|
|
447
|
+
"aria-disabled"?: boolean;
|
|
448
|
+
/** */
|
|
449
|
+
"aria-readonly"?: boolean;
|
|
650
450
|
/** */
|
|
651
|
-
|
|
451
|
+
internals?: ElementInternals;
|
|
452
|
+
/** */
|
|
453
|
+
onundefined?: (e: CustomEvent<CustomEvent>) => void;
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
export type QtiGapProps = {
|
|
457
|
+
/** */
|
|
458
|
+
tabindex?: number | undefined;
|
|
652
459
|
};
|
|
653
460
|
|
|
654
461
|
export type QtiHotspotChoiceProps = {
|
|
@@ -669,20 +476,8 @@ export type QtiHotspotChoiceProps = {
|
|
|
669
476
|
};
|
|
670
477
|
|
|
671
478
|
export type QtiGraphicAssociateInteractionProps = {
|
|
672
|
-
/** */
|
|
673
|
-
"response-identifier"?: string;
|
|
674
|
-
/** */
|
|
675
|
-
disabled?: boolean;
|
|
676
|
-
/** */
|
|
677
|
-
readonly?: boolean;
|
|
678
479
|
/** */
|
|
679
480
|
value?: string | string[];
|
|
680
|
-
/** */
|
|
681
|
-
correctResponse?: string | string[];
|
|
682
|
-
/** */
|
|
683
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
684
|
-
/** */
|
|
685
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
686
481
|
};
|
|
687
482
|
|
|
688
483
|
export type QtiGraphicGapMatchInteractionProps = {
|
|
@@ -691,19 +486,9 @@ export type QtiGraphicGapMatchInteractionProps = {
|
|
|
691
486
|
/** */
|
|
692
487
|
"max-associations"?: number;
|
|
693
488
|
/** */
|
|
694
|
-
|
|
695
|
-
/** */
|
|
696
|
-
disabled?: boolean;
|
|
697
|
-
/** */
|
|
698
|
-
readonly?: boolean;
|
|
699
|
-
/** */
|
|
700
|
-
value?: string | string[];
|
|
701
|
-
/** */
|
|
702
|
-
correctResponse?: string | string[];
|
|
489
|
+
value?: string[];
|
|
703
490
|
/** */
|
|
704
491
|
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
705
|
-
/** */
|
|
706
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
707
492
|
};
|
|
708
493
|
|
|
709
494
|
export type QtiGraphicOrderInteractionProps = {
|
|
@@ -712,40 +497,65 @@ export type QtiGraphicOrderInteractionProps = {
|
|
|
712
497
|
/** */
|
|
713
498
|
"max-choices"?: number;
|
|
714
499
|
/** */
|
|
715
|
-
|
|
500
|
+
value?: string | string[] | null;
|
|
716
501
|
/** */
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
502
|
+
correctResponse?: string | string[];
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
export type QtiHotspotInteractionProps = {
|
|
720
506
|
/** */
|
|
721
|
-
|
|
507
|
+
"min-choices"?: number;
|
|
722
508
|
/** */
|
|
723
|
-
|
|
509
|
+
"max-choices"?: number;
|
|
724
510
|
/** */
|
|
725
|
-
|
|
511
|
+
value?: string | string[] | null;
|
|
726
512
|
/** */
|
|
727
|
-
|
|
513
|
+
correctResponse?: string | string[];
|
|
728
514
|
};
|
|
729
515
|
|
|
730
|
-
export type
|
|
516
|
+
export type QtiHottextInteractionProps = {
|
|
731
517
|
/** */
|
|
732
518
|
"min-choices"?: number;
|
|
733
519
|
/** */
|
|
734
520
|
"max-choices"?: number;
|
|
735
521
|
/** */
|
|
736
|
-
|
|
522
|
+
value?: string | string[] | null;
|
|
737
523
|
/** */
|
|
738
|
-
|
|
524
|
+
correctResponse?: string | string[];
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
export type QtiHottextProps = {
|
|
739
528
|
/** */
|
|
740
|
-
|
|
529
|
+
identifier?: string;
|
|
741
530
|
/** */
|
|
742
|
-
|
|
531
|
+
tabindex?: number;
|
|
743
532
|
/** */
|
|
744
|
-
|
|
533
|
+
"aria-disabled"?: boolean;
|
|
534
|
+
/** */
|
|
535
|
+
"aria-readonly"?: boolean;
|
|
536
|
+
/** */
|
|
537
|
+
internals?: ElementInternals;
|
|
538
|
+
/** */
|
|
539
|
+
onundefined?: (e: CustomEvent<CustomEvent>) => void;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
export type QtiInlineChoiceInteractionProps = {
|
|
543
|
+
/** */
|
|
544
|
+
"data-prompt"?: string;
|
|
545
|
+
/** */
|
|
546
|
+
value?: string | null;
|
|
547
|
+
/** */
|
|
548
|
+
correctResponse?: string;
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
export type QtiInlineChoiceProps = {
|
|
552
|
+
/** */
|
|
553
|
+
identifier?: string;
|
|
554
|
+
|
|
745
555
|
/** */
|
|
746
|
-
"onqti-register
|
|
556
|
+
"onqti-inline-choice-register"?: (e: CustomEvent<CustomEvent>) => void;
|
|
747
557
|
/** */
|
|
748
|
-
"onqti-
|
|
558
|
+
"onqti-inline-choice-select"?: (e: CustomEvent<CustomEvent>) => void;
|
|
749
559
|
};
|
|
750
560
|
|
|
751
561
|
export type QtiMatchInteractionProps = {
|
|
@@ -758,34 +568,16 @@ export type QtiMatchInteractionProps = {
|
|
|
758
568
|
/** */
|
|
759
569
|
"max-associations"?: number;
|
|
760
570
|
/** */
|
|
761
|
-
|
|
762
|
-
/** */
|
|
763
|
-
readonly?: boolean;
|
|
764
|
-
/** */
|
|
765
|
-
value?: string | string[];
|
|
571
|
+
value?: string[];
|
|
766
572
|
/** */
|
|
767
|
-
correctResponse?: string
|
|
573
|
+
correctResponse?: string;
|
|
768
574
|
/** */
|
|
769
575
|
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
770
|
-
/** */
|
|
771
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
772
576
|
};
|
|
773
577
|
|
|
774
578
|
export type QtiMediaInteractionProps = {
|
|
775
|
-
/** */
|
|
776
|
-
"response-identifier"?: string;
|
|
777
|
-
/** */
|
|
778
|
-
disabled?: boolean;
|
|
779
|
-
/** */
|
|
780
|
-
readonly?: boolean;
|
|
781
579
|
/** */
|
|
782
580
|
value?: string | string[];
|
|
783
|
-
/** */
|
|
784
|
-
correctResponse?: string | string[];
|
|
785
|
-
/** */
|
|
786
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
787
|
-
/** */
|
|
788
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
789
581
|
};
|
|
790
582
|
|
|
791
583
|
export type QtiOrderInteractionProps = {
|
|
@@ -798,23 +590,30 @@ export type QtiOrderInteractionProps = {
|
|
|
798
590
|
/** */
|
|
799
591
|
"max-associations"?: number;
|
|
800
592
|
/** */
|
|
801
|
-
|
|
593
|
+
correctResponses?: string[];
|
|
802
594
|
/** */
|
|
803
|
-
|
|
595
|
+
showCorrectResponses?: boolean;
|
|
804
596
|
/** */
|
|
805
|
-
|
|
597
|
+
correctResponse?: string;
|
|
806
598
|
/** */
|
|
807
|
-
|
|
599
|
+
value?: string[];
|
|
808
600
|
/** */
|
|
809
|
-
|
|
601
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
export type QtiPortableCustomInteractionProps = {
|
|
810
605
|
/** */
|
|
811
|
-
|
|
606
|
+
module?: string;
|
|
607
|
+
/** */
|
|
608
|
+
"custom-interaction-type-identifier"?: string;
|
|
812
609
|
/** */
|
|
813
610
|
value?: string | string[];
|
|
814
611
|
/** */
|
|
815
|
-
|
|
612
|
+
loadConfig?: string;
|
|
613
|
+
/** */
|
|
614
|
+
getResolvablePathString?: string;
|
|
816
615
|
/** */
|
|
817
|
-
|
|
616
|
+
getResolvablePath?: string;
|
|
818
617
|
};
|
|
819
618
|
|
|
820
619
|
export type QtiPositionObjectInteractionProps = {};
|
|
@@ -836,19 +635,7 @@ export type QtiSelectPointInteractionProps = {
|
|
|
836
635
|
/** */
|
|
837
636
|
"min-choices"?: number;
|
|
838
637
|
/** */
|
|
839
|
-
"response-identifier"?: string;
|
|
840
|
-
/** */
|
|
841
|
-
disabled?: boolean;
|
|
842
|
-
/** */
|
|
843
|
-
readonly?: boolean;
|
|
844
|
-
/** */
|
|
845
638
|
value?: string | string[];
|
|
846
|
-
/** */
|
|
847
|
-
correctResponse?: string | string[];
|
|
848
|
-
/** */
|
|
849
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
850
|
-
/** */
|
|
851
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
852
639
|
};
|
|
853
640
|
|
|
854
641
|
export type QtiSliderInteractionProps = {
|
|
@@ -864,66 +651,79 @@ export type QtiSliderInteractionProps = {
|
|
|
864
651
|
onchange?: (e: CustomEvent<Event>) => void;
|
|
865
652
|
};
|
|
866
653
|
|
|
867
|
-
export type
|
|
654
|
+
export type QtiTextEntryInteractionProps = {
|
|
868
655
|
/** */
|
|
869
|
-
"
|
|
656
|
+
"expected-length"?: number;
|
|
870
657
|
/** */
|
|
871
|
-
"
|
|
872
|
-
};
|
|
873
|
-
|
|
874
|
-
export type QtiAssociableHotspotProps = {
|
|
658
|
+
"pattern-mask"?: string;
|
|
875
659
|
/** */
|
|
876
|
-
"
|
|
877
|
-
};
|
|
878
|
-
|
|
879
|
-
export type QtiGapProps = {
|
|
660
|
+
"placeholder-text"?: string;
|
|
880
661
|
/** */
|
|
881
|
-
|
|
882
|
-
};
|
|
883
|
-
|
|
884
|
-
export type QtiGapImgProps = {
|
|
662
|
+
"data-patternmask-message"?: string;
|
|
885
663
|
/** */
|
|
886
|
-
|
|
664
|
+
inputRef?: string;
|
|
665
|
+
/** */
|
|
666
|
+
value?: string | string[] | null;
|
|
887
667
|
};
|
|
888
668
|
|
|
889
|
-
export type
|
|
669
|
+
export type QtiUploadInteractionProps = {
|
|
890
670
|
/** */
|
|
891
|
-
|
|
671
|
+
value?: string | string[] | null;
|
|
892
672
|
/** */
|
|
893
|
-
|
|
673
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
674
|
+
};
|
|
675
|
+
|
|
676
|
+
export type QtiItemBodyProps = {};
|
|
677
|
+
|
|
678
|
+
export type QtiOutcomeProcessingProps = {};
|
|
679
|
+
|
|
680
|
+
export type QtiPromptProps = {};
|
|
681
|
+
|
|
682
|
+
export type QtiContentBodyProps = {};
|
|
683
|
+
|
|
684
|
+
export type QtiRubricBlockProps = {
|
|
894
685
|
/** */
|
|
895
|
-
|
|
686
|
+
id?: string;
|
|
896
687
|
/** */
|
|
897
|
-
"
|
|
688
|
+
use?: "instructions" | "scoring" | "navigation";
|
|
898
689
|
/** */
|
|
899
|
-
|
|
690
|
+
view?: "author" | "candidate" | "proctor" | "scorer" | "testConstructor" | "tutor";
|
|
900
691
|
/** */
|
|
901
|
-
|
|
692
|
+
class?: string;
|
|
902
693
|
};
|
|
903
694
|
|
|
904
|
-
export type
|
|
695
|
+
export type QtiStylesheetProps = {};
|
|
696
|
+
|
|
697
|
+
export type QtiVariableDeclarationProps = {};
|
|
698
|
+
|
|
699
|
+
export type QtiOutcomeDeclarationProps = {
|
|
905
700
|
/** */
|
|
906
|
-
|
|
701
|
+
"base-type"?: BaseType;
|
|
907
702
|
/** */
|
|
908
|
-
|
|
703
|
+
"external-scored"?: "human" | "externalMachine" | null;
|
|
909
704
|
/** */
|
|
910
|
-
|
|
705
|
+
identifier?: string;
|
|
911
706
|
/** */
|
|
912
|
-
|
|
707
|
+
cardinality?: Cardinality;
|
|
913
708
|
/** */
|
|
914
|
-
|
|
709
|
+
itemContext?: ItemContext | undefined;
|
|
915
710
|
/** */
|
|
916
|
-
|
|
711
|
+
interpolationTable?: Map<number, number> | null;
|
|
712
|
+
/** */
|
|
713
|
+
"onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
|
|
917
714
|
};
|
|
918
715
|
|
|
919
|
-
export type
|
|
716
|
+
export type QtiResponseDeclarationProps = {
|
|
717
|
+
/** */
|
|
718
|
+
"base-type"?: BaseType;
|
|
920
719
|
/** */
|
|
921
720
|
identifier?: string;
|
|
922
|
-
|
|
923
721
|
/** */
|
|
924
|
-
|
|
722
|
+
cardinality?: Cardinality;
|
|
925
723
|
/** */
|
|
926
|
-
|
|
724
|
+
itemContext?: ItemContext | undefined;
|
|
725
|
+
/** */
|
|
726
|
+
"onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
|
|
927
727
|
};
|
|
928
728
|
|
|
929
729
|
export type TestElementProps = {
|
|
@@ -931,20 +731,6 @@ export type TestElementProps = {
|
|
|
931
731
|
class?: string;
|
|
932
732
|
/** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
|
|
933
733
|
shuffle?: "true" | "false";
|
|
934
|
-
/** */
|
|
935
|
-
"response-identifier"?: string;
|
|
936
|
-
/** */
|
|
937
|
-
disabled?: boolean;
|
|
938
|
-
/** */
|
|
939
|
-
readonly?: boolean;
|
|
940
|
-
/** */
|
|
941
|
-
value?: string | string[];
|
|
942
|
-
/** */
|
|
943
|
-
correctResponse?: string | string[];
|
|
944
|
-
/** */
|
|
945
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
946
|
-
/** */
|
|
947
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
948
734
|
};
|
|
949
735
|
|
|
950
736
|
export type TestElementProps = {
|
|
@@ -953,19 +739,7 @@ export type TestElementProps = {
|
|
|
953
739
|
/** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
|
|
954
740
|
shuffle?: "true" | "false";
|
|
955
741
|
/** */
|
|
956
|
-
|
|
957
|
-
/** */
|
|
958
|
-
disabled?: boolean;
|
|
959
|
-
/** */
|
|
960
|
-
readonly?: boolean;
|
|
961
|
-
/** */
|
|
962
|
-
value?: string | string[];
|
|
963
|
-
/** */
|
|
964
|
-
correctResponse?: string | string[];
|
|
965
|
-
/** */
|
|
966
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
967
|
-
/** */
|
|
968
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
742
|
+
value?: string;
|
|
969
743
|
};
|
|
970
744
|
|
|
971
745
|
export type TestElementProps = {
|
|
@@ -974,19 +748,7 @@ export type TestElementProps = {
|
|
|
974
748
|
/** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
|
|
975
749
|
shuffle?: "true" | "false";
|
|
976
750
|
/** */
|
|
977
|
-
|
|
978
|
-
/** */
|
|
979
|
-
disabled?: boolean;
|
|
980
|
-
/** */
|
|
981
|
-
readonly?: boolean;
|
|
982
|
-
/** */
|
|
983
|
-
value?: string | string[];
|
|
984
|
-
/** */
|
|
985
|
-
correctResponse?: string | string[];
|
|
986
|
-
/** */
|
|
987
|
-
"onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
988
|
-
/** */
|
|
989
|
-
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
751
|
+
value?: string;
|
|
990
752
|
};
|
|
991
753
|
|
|
992
754
|
export type ItemContainerProps = {
|
|
@@ -1148,6 +910,15 @@ export type TestContainerProps = {
|
|
|
1148
910
|
testXML?: string;
|
|
1149
911
|
};
|
|
1150
912
|
|
|
913
|
+
export type QtiTestVariablesProps = {
|
|
914
|
+
/** */
|
|
915
|
+
_testContext?: TestContext | undefined;
|
|
916
|
+
/** */
|
|
917
|
+
_testElement?: TestElement | undefined;
|
|
918
|
+
/** */
|
|
919
|
+
getVariables?: string;
|
|
920
|
+
};
|
|
921
|
+
|
|
1151
922
|
export type CustomElements = {
|
|
1152
923
|
/**
|
|
1153
924
|
*
|
|
@@ -1227,13 +998,6 @@ export type CustomElements = {
|
|
|
1227
998
|
*/
|
|
1228
999
|
"qti-response-else-if": Partial<QtiResponseElseIfProps & BaseProps & BaseEvents>;
|
|
1229
1000
|
|
|
1230
|
-
/**
|
|
1231
|
-
*
|
|
1232
|
-
* ---
|
|
1233
|
-
*
|
|
1234
|
-
*/
|
|
1235
|
-
"qti-and": Partial<QtiAndProps & BaseProps & BaseEvents>;
|
|
1236
|
-
|
|
1237
1001
|
/**
|
|
1238
1002
|
*
|
|
1239
1003
|
* ---
|
|
@@ -1337,165 +1101,108 @@ export type CustomElements = {
|
|
|
1337
1101
|
* ---
|
|
1338
1102
|
*
|
|
1339
1103
|
*/
|
|
1340
|
-
"qti-or": Partial<QtiOrProps & BaseProps & BaseEvents>;
|
|
1341
|
-
|
|
1342
|
-
/**
|
|
1343
|
-
*
|
|
1344
|
-
* ---
|
|
1345
|
-
*
|
|
1346
|
-
*/
|
|
1347
|
-
"qti-ordered": Partial<QtiOrderedProps & BaseProps & BaseEvents>;
|
|
1348
|
-
|
|
1349
|
-
/**
|
|
1350
|
-
*
|
|
1351
|
-
* ---
|
|
1352
|
-
*
|
|
1353
|
-
*/
|
|
1354
|
-
"qti-printed-variable": Partial<QtiPrintedVariableProps & BaseProps & BaseEvents>;
|
|
1355
|
-
|
|
1356
|
-
/**
|
|
1357
|
-
*
|
|
1358
|
-
* ---
|
|
1359
|
-
*
|
|
1360
|
-
*/
|
|
1361
|
-
"qti-product": Partial<QtiProductProps & BaseProps & BaseEvents>;
|
|
1362
|
-
|
|
1363
|
-
/**
|
|
1364
|
-
*
|
|
1365
|
-
* ---
|
|
1366
|
-
*
|
|
1367
|
-
*/
|
|
1368
|
-
"qti-subtract": Partial<QtiSubtractProps & BaseProps & BaseEvents>;
|
|
1369
|
-
|
|
1370
|
-
/**
|
|
1371
|
-
*
|
|
1372
|
-
* ---
|
|
1373
|
-
*
|
|
1374
|
-
*/
|
|
1375
|
-
"qti-string-match": Partial<QtiStringMatchProps & BaseProps & BaseEvents>;
|
|
1376
|
-
|
|
1377
|
-
/**
|
|
1378
|
-
*
|
|
1379
|
-
* ---
|
|
1380
|
-
*
|
|
1381
|
-
*/
|
|
1382
|
-
"qti-sum": Partial<QtiSumProps & BaseProps & BaseEvents>;
|
|
1383
|
-
|
|
1384
|
-
/**
|
|
1385
|
-
*
|
|
1386
|
-
* ---
|
|
1387
|
-
*
|
|
1388
|
-
*/
|
|
1389
|
-
"qti-variable": Partial<QtiVariableProps & BaseProps & BaseEvents>;
|
|
1390
|
-
|
|
1391
|
-
/**
|
|
1392
|
-
* The qti-assessment-item element contains all the other QTI 3 item structures.
|
|
1393
|
-
* ---
|
|
1394
|
-
*
|
|
1395
|
-
*
|
|
1396
|
-
* ### **Events:**
|
|
1397
|
-
* - **name**
|
|
1398
|
-
* - **qti-interaction-changed** - Emitted when an interaction is changed.
|
|
1399
|
-
* - **qti-outcome-changed** - Emitted when an outcome has changed.
|
|
1400
|
-
* - **qti-response-processing** - Emitted when response-processing is called.
|
|
1401
|
-
*
|
|
1402
|
-
* ### **Slots:**
|
|
1403
|
-
* - _default_ - The default slot where all the other QTI 3 item structures go.
|
|
1404
|
-
*/
|
|
1405
|
-
"qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps & BaseEvents>;
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* Represents a custom element for referencing an assessment stimulus.
|
|
1409
|
-
* ---
|
|
1410
|
-
*
|
|
1411
|
-
*
|
|
1412
|
-
* ### **Methods:**
|
|
1413
|
-
* - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
|
|
1414
|
-
*/
|
|
1415
|
-
"qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
|
|
1104
|
+
"qti-or": Partial<QtiOrProps & BaseProps & BaseEvents>;
|
|
1416
1105
|
|
|
1417
1106
|
/**
|
|
1418
|
-
* The qti-item-body node contains the text, graphics, media objects and interactions that describe the item's content and information about how it is structured.
|
|
1419
|
-
* ---
|
|
1420
1107
|
*
|
|
1108
|
+
* ---
|
|
1421
1109
|
*
|
|
1422
|
-
* ### **Slots:**
|
|
1423
|
-
* - _default_ - item body content.
|
|
1424
|
-
* - **qti-rubric-block** - the qti rubric block is placed above the item
|
|
1425
1110
|
*/
|
|
1426
|
-
"qti-
|
|
1111
|
+
"qti-ordered": Partial<QtiOrderedProps & BaseProps & BaseEvents>;
|
|
1427
1112
|
|
|
1428
1113
|
/**
|
|
1429
1114
|
*
|
|
1430
1115
|
* ---
|
|
1431
1116
|
*
|
|
1432
1117
|
*/
|
|
1433
|
-
"qti-
|
|
1118
|
+
"qti-printed-variable": Partial<QtiPrintedVariableProps & BaseProps & BaseEvents>;
|
|
1434
1119
|
|
|
1435
1120
|
/**
|
|
1436
1121
|
*
|
|
1437
1122
|
* ---
|
|
1438
1123
|
*
|
|
1439
1124
|
*/
|
|
1440
|
-
"qti-
|
|
1125
|
+
"qti-product": Partial<QtiProductProps & BaseProps & BaseEvents>;
|
|
1441
1126
|
|
|
1442
1127
|
/**
|
|
1443
1128
|
*
|
|
1444
1129
|
* ---
|
|
1445
1130
|
*
|
|
1446
1131
|
*/
|
|
1447
|
-
"qti-
|
|
1132
|
+
"qti-subtract": Partial<QtiSubtractProps & BaseProps & BaseEvents>;
|
|
1448
1133
|
|
|
1449
1134
|
/**
|
|
1450
1135
|
*
|
|
1451
1136
|
* ---
|
|
1452
1137
|
*
|
|
1453
|
-
*
|
|
1454
|
-
* ### **Events:**
|
|
1455
|
-
* - **qti-register-variable**
|
|
1456
1138
|
*/
|
|
1457
|
-
"qti-
|
|
1139
|
+
"qti-string-match": Partial<QtiStringMatchProps & BaseProps & BaseEvents>;
|
|
1458
1140
|
|
|
1459
1141
|
/**
|
|
1460
1142
|
*
|
|
1461
1143
|
* ---
|
|
1462
1144
|
*
|
|
1463
|
-
*
|
|
1464
|
-
* ### **Events:**
|
|
1465
|
-
* - **qti-register-variable**
|
|
1466
1145
|
*/
|
|
1467
|
-
"qti-
|
|
1146
|
+
"qti-sum": Partial<QtiSumProps & BaseProps & BaseEvents>;
|
|
1468
1147
|
|
|
1469
1148
|
/**
|
|
1470
1149
|
*
|
|
1471
1150
|
* ---
|
|
1472
1151
|
*
|
|
1473
1152
|
*/
|
|
1474
|
-
"qti-
|
|
1153
|
+
"qti-variable": Partial<QtiVariableProps & BaseProps & BaseEvents>;
|
|
1475
1154
|
|
|
1476
1155
|
/**
|
|
1156
|
+
* The qti-assessment-item element contains all the other QTI 3 item structures.
|
|
1157
|
+
* ---
|
|
1158
|
+
*
|
|
1159
|
+
*
|
|
1160
|
+
* ### **Events:**
|
|
1161
|
+
* - **name**
|
|
1162
|
+
* - **qti-interaction-changed** - Emitted when an interaction is changed.
|
|
1163
|
+
* - **qti-outcome-changed** - Emitted when an outcome has changed.
|
|
1164
|
+
* - **qti-response-processing** - Emitted when response-processing is called.
|
|
1477
1165
|
*
|
|
1166
|
+
* ### **Slots:**
|
|
1167
|
+
* - _default_ - The default slot where all the other QTI 3 item structures go.
|
|
1168
|
+
*/
|
|
1169
|
+
"qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps & BaseEvents>;
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* Represents a custom element for referencing an assessment stimulus.
|
|
1478
1173
|
* ---
|
|
1479
1174
|
*
|
|
1175
|
+
*
|
|
1176
|
+
* ### **Methods:**
|
|
1177
|
+
* - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
|
|
1480
1178
|
*/
|
|
1481
|
-
"qti-
|
|
1179
|
+
"qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
|
|
1482
1180
|
|
|
1483
1181
|
/**
|
|
1484
1182
|
*
|
|
1485
1183
|
* ---
|
|
1486
1184
|
*
|
|
1487
1185
|
*/
|
|
1488
|
-
"qti-
|
|
1186
|
+
"qti-companion-materials-info": Partial<QtiCompanionMaterialsInfoProps & BaseProps & BaseEvents>;
|
|
1489
1187
|
|
|
1490
1188
|
/**
|
|
1491
|
-
*
|
|
1189
|
+
* https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
|
|
1190
|
+
* <qti-custom-operator class="js.org">
|
|
1191
|
+
* <qti-base-value base-type="string"><![CDATA[
|
|
1192
|
+
* console.log(context.variables);
|
|
1193
|
+
* return 'B'
|
|
1194
|
+
* document.querySelector('qti-end-attempt-interaction').disabled = true;
|
|
1195
|
+
* ]]></qti-base-value>
|
|
1196
|
+
* </qti-custom-operator>
|
|
1197
|
+
* </qti-set-outcome-value>
|
|
1492
1198
|
* ---
|
|
1493
1199
|
*
|
|
1494
1200
|
*
|
|
1495
1201
|
* ### **Events:**
|
|
1496
|
-
* - **qti-
|
|
1202
|
+
* - **qti-set-outcome-value**
|
|
1203
|
+
* - **qti-interaction-response**
|
|
1497
1204
|
*/
|
|
1498
|
-
"qti-
|
|
1205
|
+
"qti-custom-operator": Partial<QtiCustomOperatorProps & BaseProps & BaseEvents>;
|
|
1499
1206
|
|
|
1500
1207
|
/**
|
|
1501
1208
|
*
|
|
@@ -1505,7 +1212,7 @@ export type CustomElements = {
|
|
|
1505
1212
|
* ### **Events:**
|
|
1506
1213
|
* - **qti-register-feedback**
|
|
1507
1214
|
*/
|
|
1508
|
-
"qti-feedback-
|
|
1215
|
+
"qti-feedback-block": Partial<QtiFeedbackBlockProps & BaseProps & BaseEvents>;
|
|
1509
1216
|
|
|
1510
1217
|
/**
|
|
1511
1218
|
*
|
|
@@ -1515,7 +1222,7 @@ export type CustomElements = {
|
|
|
1515
1222
|
* ### **Events:**
|
|
1516
1223
|
* - **qti-register-feedback**
|
|
1517
1224
|
*/
|
|
1518
|
-
"qti-
|
|
1225
|
+
"qti-feedback-inline": Partial<QtiFeedbackInlineProps & BaseProps & BaseEvents>;
|
|
1519
1226
|
|
|
1520
1227
|
/**
|
|
1521
1228
|
*
|
|
@@ -1523,10 +1230,9 @@ export type CustomElements = {
|
|
|
1523
1230
|
*
|
|
1524
1231
|
*
|
|
1525
1232
|
* ### **Events:**
|
|
1526
|
-
* - **qti-register-
|
|
1527
|
-
* - **qti-interaction-response**
|
|
1233
|
+
* - **qti-register-feedback**
|
|
1528
1234
|
*/
|
|
1529
|
-
"qti-
|
|
1235
|
+
"qti-modal-feedback": Partial<QtiModalFeedbackProps & BaseProps & BaseEvents>;
|
|
1530
1236
|
|
|
1531
1237
|
/**
|
|
1532
1238
|
*
|
|
@@ -1534,10 +1240,9 @@ export type CustomElements = {
|
|
|
1534
1240
|
*
|
|
1535
1241
|
*
|
|
1536
1242
|
* ### **Events:**
|
|
1537
|
-
* - **qti-register-
|
|
1538
|
-
* - **qti-interaction-response**
|
|
1243
|
+
* - **qti-register-hotspot**
|
|
1539
1244
|
*/
|
|
1540
|
-
"qti-
|
|
1245
|
+
"qti-associable-hotspot": Partial<QtiAssociableHotspotProps & BaseProps & BaseEvents>;
|
|
1541
1246
|
|
|
1542
1247
|
/**
|
|
1543
1248
|
*
|
|
@@ -1545,13 +1250,9 @@ export type CustomElements = {
|
|
|
1545
1250
|
*
|
|
1546
1251
|
*
|
|
1547
1252
|
* ### **Events:**
|
|
1548
|
-
* - **qti-register-interaction**
|
|
1549
|
-
* - **qti-interaction-response**
|
|
1550
|
-
*
|
|
1551
|
-
* ### **Methods:**
|
|
1552
1253
|
*
|
|
1553
1254
|
*/
|
|
1554
|
-
"qti-
|
|
1255
|
+
"qti-simple-associable-choice": Partial<QtiSimpleAssociableChoiceProps & BaseProps & BaseEvents>;
|
|
1555
1256
|
|
|
1556
1257
|
/**
|
|
1557
1258
|
*
|
|
@@ -1559,10 +1260,9 @@ export type CustomElements = {
|
|
|
1559
1260
|
*
|
|
1560
1261
|
*
|
|
1561
1262
|
* ### **Events:**
|
|
1562
|
-
* - **qti-
|
|
1563
|
-
* - **qti-interaction-response**
|
|
1263
|
+
* - **qti-interaction-response**
|
|
1564
1264
|
*/
|
|
1565
|
-
"qti-
|
|
1265
|
+
"qti-associate-interaction": Partial<QtiAssociateInteractionProps & BaseProps & BaseEvents>;
|
|
1566
1266
|
|
|
1567
1267
|
/**
|
|
1568
1268
|
* qti-order-interaction
|
|
@@ -1580,10 +1280,6 @@ export type CustomElements = {
|
|
|
1580
1280
|
* ---
|
|
1581
1281
|
*
|
|
1582
1282
|
*
|
|
1583
|
-
* ### **Events:**
|
|
1584
|
-
* - **qti-register-interaction**
|
|
1585
|
-
* - **qti-interaction-response**
|
|
1586
|
-
*
|
|
1587
1283
|
* ### **Methods:**
|
|
1588
1284
|
*
|
|
1589
1285
|
*
|
|
@@ -1605,23 +1301,36 @@ export type CustomElements = {
|
|
|
1605
1301
|
*/
|
|
1606
1302
|
"qti-choice-interaction": Partial<QtiChoiceInteractionProps & BaseProps & BaseEvents>;
|
|
1607
1303
|
|
|
1304
|
+
/**
|
|
1305
|
+
*
|
|
1306
|
+
* ---
|
|
1307
|
+
*
|
|
1308
|
+
*/
|
|
1309
|
+
"qti-custom-interaction": Partial<QtiCustomInteractionProps & BaseProps & BaseEvents>;
|
|
1310
|
+
|
|
1608
1311
|
/**
|
|
1609
1312
|
*
|
|
1610
1313
|
* ---
|
|
1611
1314
|
*
|
|
1612
1315
|
*
|
|
1613
1316
|
* ### **Events:**
|
|
1614
|
-
* - **
|
|
1615
|
-
* - **qti-register-interaction**
|
|
1317
|
+
* - **end-attempt**
|
|
1616
1318
|
*/
|
|
1617
|
-
"qti-
|
|
1319
|
+
"qti-end-attempt-interaction": Partial<QtiEndAttemptInteractionProps & BaseProps & BaseEvents>;
|
|
1618
1320
|
|
|
1619
1321
|
/**
|
|
1620
1322
|
*
|
|
1621
1323
|
* ---
|
|
1622
1324
|
*
|
|
1623
1325
|
*/
|
|
1624
|
-
"qti-
|
|
1326
|
+
"qti-extended-text-interaction": Partial<QtiExtendedTextInteractionProps & BaseProps & BaseEvents>;
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
*
|
|
1330
|
+
* ---
|
|
1331
|
+
*
|
|
1332
|
+
*/
|
|
1333
|
+
"qti-gap-img": Partial<QtiGapImgProps & BaseProps & BaseEvents>;
|
|
1625
1334
|
|
|
1626
1335
|
/**
|
|
1627
1336
|
*
|
|
@@ -1629,10 +1338,9 @@ export type CustomElements = {
|
|
|
1629
1338
|
*
|
|
1630
1339
|
*
|
|
1631
1340
|
* ### **Events:**
|
|
1632
|
-
* - **qti-
|
|
1633
|
-
* - **qti-interaction-response**
|
|
1341
|
+
* - **qti-interaction-response**
|
|
1634
1342
|
*/
|
|
1635
|
-
"qti-
|
|
1343
|
+
"qti-gap-match-interaction": Partial<QtiGapMatchInteractionProps & BaseProps & BaseEvents>;
|
|
1636
1344
|
|
|
1637
1345
|
/**
|
|
1638
1346
|
*
|
|
@@ -1642,18 +1350,14 @@ export type CustomElements = {
|
|
|
1642
1350
|
* ### **Events:**
|
|
1643
1351
|
*
|
|
1644
1352
|
*/
|
|
1645
|
-
"qti-
|
|
1353
|
+
"qti-gap-text": Partial<QtiGapTextProps & BaseProps & BaseEvents>;
|
|
1646
1354
|
|
|
1647
1355
|
/**
|
|
1648
1356
|
*
|
|
1649
1357
|
* ---
|
|
1650
1358
|
*
|
|
1651
|
-
*
|
|
1652
|
-
* ### **Events:**
|
|
1653
|
-
* - **qti-interaction-response**
|
|
1654
|
-
* - **qti-register-interaction**
|
|
1655
1359
|
*/
|
|
1656
|
-
"qti-
|
|
1360
|
+
"qti-gap": Partial<QtiGapProps & BaseProps & BaseEvents>;
|
|
1657
1361
|
|
|
1658
1362
|
/**
|
|
1659
1363
|
*
|
|
@@ -1661,20 +1365,16 @@ export type CustomElements = {
|
|
|
1661
1365
|
*
|
|
1662
1366
|
*
|
|
1663
1367
|
* ### **Events:**
|
|
1664
|
-
*
|
|
1665
|
-
* - **qti-interaction-response**
|
|
1368
|
+
*
|
|
1666
1369
|
*/
|
|
1667
|
-
"qti-
|
|
1370
|
+
"qti-hotspot-choice": Partial<QtiHotspotChoiceProps & BaseProps & BaseEvents>;
|
|
1668
1371
|
|
|
1669
1372
|
/**
|
|
1670
1373
|
*
|
|
1671
1374
|
* ---
|
|
1672
1375
|
*
|
|
1673
|
-
*
|
|
1674
|
-
* ### **Events:**
|
|
1675
|
-
* - **end-attempt**
|
|
1676
1376
|
*/
|
|
1677
|
-
"qti-
|
|
1377
|
+
"qti-graphic-associate-interaction": Partial<QtiGraphicAssociateInteractionProps & BaseProps & BaseEvents>;
|
|
1678
1378
|
|
|
1679
1379
|
/**
|
|
1680
1380
|
*
|
|
@@ -1683,41 +1383,38 @@ export type CustomElements = {
|
|
|
1683
1383
|
*
|
|
1684
1384
|
* ### **Events:**
|
|
1685
1385
|
* - **qti-interaction-response**
|
|
1686
|
-
* - **qti-register-interaction**
|
|
1687
1386
|
*/
|
|
1688
|
-
"qti-gap-match-interaction": Partial<
|
|
1387
|
+
"qti-graphic-gap-match-interaction": Partial<QtiGraphicGapMatchInteractionProps & BaseProps & BaseEvents>;
|
|
1689
1388
|
|
|
1690
1389
|
/**
|
|
1691
1390
|
*
|
|
1692
1391
|
* ---
|
|
1693
1392
|
*
|
|
1694
1393
|
*
|
|
1695
|
-
* ### **
|
|
1394
|
+
* ### **Methods:**
|
|
1696
1395
|
*
|
|
1697
1396
|
*/
|
|
1698
|
-
"qti-
|
|
1397
|
+
"qti-graphic-order-interaction": Partial<QtiGraphicOrderInteractionProps & BaseProps & BaseEvents>;
|
|
1699
1398
|
|
|
1700
1399
|
/**
|
|
1701
1400
|
*
|
|
1702
1401
|
* ---
|
|
1703
1402
|
*
|
|
1704
1403
|
*
|
|
1705
|
-
* ### **
|
|
1706
|
-
*
|
|
1707
|
-
* - **qti-interaction-response**
|
|
1404
|
+
* ### **Methods:**
|
|
1405
|
+
*
|
|
1708
1406
|
*/
|
|
1709
|
-
"qti-
|
|
1407
|
+
"qti-hotspot-interaction": Partial<QtiHotspotInteractionProps & BaseProps & BaseEvents>;
|
|
1710
1408
|
|
|
1711
1409
|
/**
|
|
1712
1410
|
*
|
|
1713
1411
|
* ---
|
|
1714
1412
|
*
|
|
1715
1413
|
*
|
|
1716
|
-
* ### **
|
|
1717
|
-
*
|
|
1718
|
-
* - **qti-register-interaction**
|
|
1414
|
+
* ### **Methods:**
|
|
1415
|
+
*
|
|
1719
1416
|
*/
|
|
1720
|
-
"qti-
|
|
1417
|
+
"qti-hottext-interaction": Partial<QtiHottextInteractionProps & BaseProps & BaseEvents>;
|
|
1721
1418
|
|
|
1722
1419
|
/**
|
|
1723
1420
|
*
|
|
@@ -1725,27 +1422,27 @@ export type CustomElements = {
|
|
|
1725
1422
|
*
|
|
1726
1423
|
*
|
|
1727
1424
|
* ### **Events:**
|
|
1728
|
-
* - **qti-register-interaction**
|
|
1729
|
-
* - **qti-interaction-response**
|
|
1730
|
-
*
|
|
1731
|
-
* ### **Methods:**
|
|
1732
1425
|
*
|
|
1733
1426
|
*/
|
|
1734
|
-
"qti-
|
|
1427
|
+
"qti-hottext": Partial<QtiHottextProps & BaseProps & BaseEvents>;
|
|
1735
1428
|
|
|
1736
1429
|
/**
|
|
1737
1430
|
*
|
|
1738
1431
|
* ---
|
|
1739
1432
|
*
|
|
1433
|
+
*/
|
|
1434
|
+
"qti-inline-choice-interaction": Partial<QtiInlineChoiceInteractionProps & BaseProps & BaseEvents>;
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1740
1437
|
*
|
|
1741
|
-
*
|
|
1742
|
-
* - **qti-register-interaction**
|
|
1743
|
-
* - **qti-interaction-response**
|
|
1438
|
+
* ---
|
|
1744
1439
|
*
|
|
1745
|
-
* ### **Methods:**
|
|
1746
1440
|
*
|
|
1441
|
+
* ### **Events:**
|
|
1442
|
+
* - **qti-inline-choice-register**
|
|
1443
|
+
* - **qti-inline-choice-select**
|
|
1747
1444
|
*/
|
|
1748
|
-
"qti-
|
|
1445
|
+
"qti-inline-choice": Partial<QtiInlineChoiceProps & BaseProps & BaseEvents>;
|
|
1749
1446
|
|
|
1750
1447
|
/**
|
|
1751
1448
|
*
|
|
@@ -1754,7 +1451,6 @@ export type CustomElements = {
|
|
|
1754
1451
|
*
|
|
1755
1452
|
* ### **Events:**
|
|
1756
1453
|
* - **qti-interaction-response**
|
|
1757
|
-
* - **qti-register-interaction**
|
|
1758
1454
|
*/
|
|
1759
1455
|
"qti-match-interaction": Partial<QtiMatchInteractionProps & BaseProps & BaseEvents>;
|
|
1760
1456
|
|
|
@@ -1762,10 +1458,6 @@ export type CustomElements = {
|
|
|
1762
1458
|
*
|
|
1763
1459
|
* ---
|
|
1764
1460
|
*
|
|
1765
|
-
*
|
|
1766
|
-
* ### **Events:**
|
|
1767
|
-
* - **qti-register-interaction**
|
|
1768
|
-
* - **qti-interaction-response**
|
|
1769
1461
|
*/
|
|
1770
1462
|
"qti-media-interaction": Partial<QtiMediaInteractionProps & BaseProps & BaseEvents>;
|
|
1771
1463
|
|
|
@@ -1776,10 +1468,16 @@ export type CustomElements = {
|
|
|
1776
1468
|
*
|
|
1777
1469
|
* ### **Events:**
|
|
1778
1470
|
* - **qti-interaction-response**
|
|
1779
|
-
* - **qti-register-interaction**
|
|
1780
1471
|
*/
|
|
1781
1472
|
"qti-order-interaction": Partial<QtiOrderInteractionProps & BaseProps & BaseEvents>;
|
|
1782
1473
|
|
|
1474
|
+
/**
|
|
1475
|
+
*
|
|
1476
|
+
* ---
|
|
1477
|
+
*
|
|
1478
|
+
*/
|
|
1479
|
+
"qti-portable-custom-interaction": Partial<QtiPortableCustomInteractionProps & BaseProps & BaseEvents>;
|
|
1480
|
+
|
|
1783
1481
|
/**
|
|
1784
1482
|
*
|
|
1785
1483
|
* ---
|
|
@@ -1798,10 +1496,6 @@ export type CustomElements = {
|
|
|
1798
1496
|
*
|
|
1799
1497
|
* ---
|
|
1800
1498
|
*
|
|
1801
|
-
*
|
|
1802
|
-
* ### **Events:**
|
|
1803
|
-
* - **qti-register-interaction**
|
|
1804
|
-
* - **qti-interaction-response**
|
|
1805
1499
|
*/
|
|
1806
1500
|
"qti-select-point-interaction": Partial<QtiSelectPointInteractionProps & BaseProps & BaseEvents>;
|
|
1807
1501
|
|
|
@@ -1816,23 +1510,11 @@ export type CustomElements = {
|
|
|
1816
1510
|
"qti-slider-interaction": Partial<QtiSliderInteractionProps & BaseProps & BaseEvents>;
|
|
1817
1511
|
|
|
1818
1512
|
/**
|
|
1819
|
-
* https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
|
|
1820
|
-
* <qti-custom-operator class="js.org">
|
|
1821
|
-
* <qti-base-value base-type="string"><![CDATA[
|
|
1822
|
-
* console.log(context.variables);
|
|
1823
|
-
* return 'B'
|
|
1824
|
-
* document.querySelector('qti-end-attempt-interaction').disabled = true;
|
|
1825
|
-
* ]]></qti-base-value>
|
|
1826
|
-
* </qti-custom-operator>
|
|
1827
|
-
* </qti-set-outcome-value>
|
|
1828
|
-
* ---
|
|
1829
1513
|
*
|
|
1514
|
+
* ---
|
|
1830
1515
|
*
|
|
1831
|
-
* ### **Events:**
|
|
1832
|
-
* - **qti-set-outcome-value**
|
|
1833
|
-
* - **qti-interaction-response**
|
|
1834
1516
|
*/
|
|
1835
|
-
"qti-
|
|
1517
|
+
"qti-text-entry-interaction": Partial<QtiTextEntryInteractionProps & BaseProps & BaseEvents>;
|
|
1836
1518
|
|
|
1837
1519
|
/**
|
|
1838
1520
|
*
|
|
@@ -1840,43 +1522,62 @@ export type CustomElements = {
|
|
|
1840
1522
|
*
|
|
1841
1523
|
*
|
|
1842
1524
|
* ### **Events:**
|
|
1843
|
-
* - **qti-
|
|
1525
|
+
* - **qti-interaction-response**
|
|
1844
1526
|
*/
|
|
1845
|
-
"qti-
|
|
1527
|
+
"qti-upload-interaction": Partial<QtiUploadInteractionProps & BaseProps & BaseEvents>;
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* The qti-item-body node contains the text, graphics, media objects and interactions that describe the item's content and information about how it is structured.
|
|
1531
|
+
* ---
|
|
1532
|
+
*
|
|
1533
|
+
*
|
|
1534
|
+
* ### **Slots:**
|
|
1535
|
+
* - _default_ - item body content.
|
|
1536
|
+
* - **qti-rubric-block** - the qti rubric block is placed above the item
|
|
1537
|
+
*/
|
|
1538
|
+
"qti-item-body": Partial<QtiItemBodyProps & BaseProps & BaseEvents>;
|
|
1846
1539
|
|
|
1847
1540
|
/**
|
|
1848
1541
|
*
|
|
1849
1542
|
* ---
|
|
1850
1543
|
*
|
|
1851
1544
|
*/
|
|
1852
|
-
"qti-
|
|
1545
|
+
"qti-outcome-processing": Partial<QtiOutcomeProcessingProps & BaseProps & BaseEvents>;
|
|
1853
1546
|
|
|
1854
1547
|
/**
|
|
1855
1548
|
*
|
|
1856
1549
|
* ---
|
|
1857
1550
|
*
|
|
1858
1551
|
*/
|
|
1859
|
-
"qti-
|
|
1552
|
+
"qti-prompt": Partial<QtiPromptProps & BaseProps & BaseEvents>;
|
|
1860
1553
|
|
|
1861
1554
|
/**
|
|
1862
1555
|
*
|
|
1863
1556
|
* ---
|
|
1864
1557
|
*
|
|
1558
|
+
*/
|
|
1559
|
+
"qti-content-body": Partial<QtiContentBodyProps & BaseProps & BaseEvents>;
|
|
1560
|
+
|
|
1561
|
+
/**
|
|
1865
1562
|
*
|
|
1866
|
-
*
|
|
1563
|
+
* ---
|
|
1867
1564
|
*
|
|
1868
1565
|
*/
|
|
1869
|
-
"qti-
|
|
1566
|
+
"qti-rubric-block": Partial<QtiRubricBlockProps & BaseProps & BaseEvents>;
|
|
1870
1567
|
|
|
1871
1568
|
/**
|
|
1872
1569
|
*
|
|
1873
1570
|
* ---
|
|
1874
1571
|
*
|
|
1572
|
+
*/
|
|
1573
|
+
"qti-stylesheet": Partial<QtiStylesheetProps & BaseProps & BaseEvents>;
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1875
1576
|
*
|
|
1876
|
-
*
|
|
1577
|
+
* ---
|
|
1877
1578
|
*
|
|
1878
1579
|
*/
|
|
1879
|
-
"qti-
|
|
1580
|
+
"qti-variabledeclaration": Partial<QtiVariableDeclarationProps & BaseProps & BaseEvents>;
|
|
1880
1581
|
|
|
1881
1582
|
/**
|
|
1882
1583
|
*
|
|
@@ -1884,10 +1585,9 @@ export type CustomElements = {
|
|
|
1884
1585
|
*
|
|
1885
1586
|
*
|
|
1886
1587
|
* ### **Events:**
|
|
1887
|
-
* - **qti-
|
|
1888
|
-
* - **qti-inline-choice-select**
|
|
1588
|
+
* - **qti-register-variable**
|
|
1889
1589
|
*/
|
|
1890
|
-
"qti-
|
|
1590
|
+
"qti-outcome-declaration": Partial<QtiOutcomeDeclarationProps & BaseProps & BaseEvents>;
|
|
1891
1591
|
|
|
1892
1592
|
/**
|
|
1893
1593
|
*
|
|
@@ -1895,19 +1595,14 @@ export type CustomElements = {
|
|
|
1895
1595
|
*
|
|
1896
1596
|
*
|
|
1897
1597
|
* ### **Events:**
|
|
1898
|
-
* - **qti-register-
|
|
1899
|
-
* - **qti-interaction-response**
|
|
1598
|
+
* - **qti-register-variable**
|
|
1900
1599
|
*/
|
|
1901
|
-
"
|
|
1600
|
+
"qti-response-declaration": Partial<QtiResponseDeclarationProps & BaseProps & BaseEvents>;
|
|
1902
1601
|
|
|
1903
1602
|
/**
|
|
1904
1603
|
*
|
|
1905
1604
|
* ---
|
|
1906
1605
|
*
|
|
1907
|
-
*
|
|
1908
|
-
* ### **Events:**
|
|
1909
|
-
* - **qti-register-interaction**
|
|
1910
|
-
* - **qti-interaction-response**
|
|
1911
1606
|
*/
|
|
1912
1607
|
"test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
|
|
1913
1608
|
|
|
@@ -1915,10 +1610,13 @@ export type CustomElements = {
|
|
|
1915
1610
|
*
|
|
1916
1611
|
* ---
|
|
1917
1612
|
*
|
|
1613
|
+
*/
|
|
1614
|
+
"test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
*
|
|
1618
|
+
* ---
|
|
1918
1619
|
*
|
|
1919
|
-
* ### **Events:**
|
|
1920
|
-
* - **qti-register-interaction**
|
|
1921
|
-
* - **qti-interaction-response**
|
|
1922
1620
|
*/
|
|
1923
1621
|
"test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
|
|
1924
1622
|
|
|
@@ -2114,4 +1812,11 @@ export type CustomElements = {
|
|
|
2114
1812
|
*
|
|
2115
1813
|
*/
|
|
2116
1814
|
"test-container": Partial<TestContainerProps & BaseProps & BaseEvents>;
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
*
|
|
1818
|
+
* ---
|
|
1819
|
+
*
|
|
1820
|
+
*/
|
|
1821
|
+
"qti-test-variables": Partial<QtiTestVariablesProps & BaseProps & BaseEvents>;
|
|
2117
1822
|
};
|