@citolab/qti-components 6.5.0 → 6.5.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/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as lit from 'lit';
2
- import { LitElement, PropertyValueMap, CSSResultGroup } from 'lit';
2
+ import { LitElement, CSSResultGroup, PropertyValueMap } from 'lit';
3
3
  import * as lit_html from 'lit-html';
4
4
  import * as lit_html_directives_ref from 'lit-html/directives/ref';
5
5
 
@@ -30,32 +30,6 @@ type InteractionChangedDetails = ResponseInteraction & {
30
30
  item: string;
31
31
  };
32
32
 
33
- declare class QtiMapping extends LitElement {
34
- defaultValue: number;
35
- lowerBound: number;
36
- upperBound: number;
37
- get mapEntries(): {
38
- mapKey: string;
39
- mappedValue: number;
40
- }[];
41
- }
42
-
43
- interface VariableDeclaration<T> {
44
- identifier: string;
45
- cardinality: Cardinality;
46
- baseType: BaseType;
47
- value: Readonly<T>;
48
- type: 'outcome' | 'response';
49
- }
50
- interface OutcomeVariable extends VariableDeclaration<string | string[] | null> {
51
- interpolationTable?: Map<number, number>;
52
- }
53
- interface ResponseVariable extends VariableDeclaration<string | string[] | null> {
54
- candidateResponse?: string | string[] | null;
55
- mapping?: QtiMapping;
56
- correctResponse?: string | string[] | null;
57
- }
58
-
59
33
  type QtiChoiceElementSelected = CustomEvent<{
60
34
  identifier: string;
61
35
  checked: boolean;
@@ -108,6 +82,34 @@ declare global {
108
82
  }
109
83
  }
110
84
 
85
+ declare class QtiMapping extends LitElement {
86
+ defaultValue: number;
87
+ lowerBound: number;
88
+ upperBound: number;
89
+ get mapEntries(): {
90
+ mapKey: string;
91
+ mappedValue: number;
92
+ }[];
93
+ }
94
+
95
+ interface VariableValue<T> {
96
+ identifier: string;
97
+ value: Readonly<T>;
98
+ type: 'outcome' | 'response';
99
+ }
100
+ interface VariableDeclaration<T> extends VariableValue<T> {
101
+ cardinality: Cardinality;
102
+ baseType: BaseType;
103
+ }
104
+ interface OutcomeVariable extends VariableDeclaration<string | string[] | null> {
105
+ interpolationTable?: Map<number, number>;
106
+ }
107
+ interface ResponseVariable extends VariableDeclaration<string | string[] | null> {
108
+ candidateResponse?: string | string[] | null;
109
+ mapping?: QtiMapping;
110
+ correctResponse?: string | string[] | null;
111
+ }
112
+
111
113
  type QtiRegisterVariable = CustomEvent<{
112
114
  variable: VariableDeclaration<string | string[]>;
113
115
  }>;
@@ -124,15 +126,6 @@ declare global {
124
126
  }
125
127
  }
126
128
 
127
- interface ItemContext {
128
- href?: string;
129
- identifier: string;
130
- variables: ReadonlyArray<VariableDeclaration<string | string[]>>;
131
- }
132
- declare const itemContext: {
133
- __context__: ItemContext;
134
- };
135
-
136
129
  /**
137
130
  * @summary The qti-assessment-item element contains all the other QTI 3 item structures.
138
131
  * @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.dltnnj87l0yj
@@ -151,7 +144,7 @@ declare const itemContext: {
151
144
  */
152
145
  declare class QtiAssessmentItem extends LitElement {
153
146
  title: string;
154
- identifier: string | undefined;
147
+ identifier: string;
155
148
  adaptive: 'true' | 'false';
156
149
  timeDependent: 'true' | 'false';
157
150
  disabled: boolean;
@@ -159,8 +152,8 @@ declare class QtiAssessmentItem extends LitElement {
159
152
  readonly: boolean;
160
153
  _handleReadonlyChange: (_: boolean, readonly: boolean) => void;
161
154
  private _context;
162
- get context(): ItemContext;
163
- set variables(value: VariableDeclaration<string | string[] | null>[]);
155
+ get variables(): VariableValue<string | string[] | null>[];
156
+ set variables(value: VariableValue<string | string[] | null>[]);
164
157
  private _initialContext;
165
158
  private _feedbackElements;
166
159
  private _interactionElements;
@@ -188,38 +181,6 @@ declare global {
188
181
  }
189
182
  }
190
183
 
191
- declare class QtiStylesheet extends LitElement {
192
- private styleLink;
193
- constructor();
194
- protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
195
- disconnectedCallback(): void;
196
- }
197
-
198
- /**
199
- * @summary 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.
200
- * @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.sphpo6lu6zqi
201
- * @status stable
202
- * @since 4.0
203
- *
204
- * @slot - item body content.
205
- * @slot qti-rubric-block - the qti rubric block is placed above the item
206
- *
207
- */
208
- declare class QtiItemBody extends LitElement {
209
- static styles: CSSResultGroup;
210
- render(): lit_html.TemplateResult<1>;
211
- }
212
- declare global {
213
- interface HTMLElementTagNameMap {
214
- 'qti-item-body': QtiItemBody;
215
- }
216
- }
217
-
218
- declare class QtiPrompt extends LitElement {
219
- render(): lit_html.TemplateResult<1>;
220
- connectedCallback(): void;
221
- }
222
-
223
184
  /**
224
185
  * @summary qti-choice is used by qti-simple-choice, qti-inline-choice, qti-hottext, qti-hotspot-choice.
225
186
  *
@@ -254,32 +215,82 @@ declare global {
254
215
  }
255
216
  }
256
217
 
218
+ /**
219
+ * @summary 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.
220
+ * @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.sphpo6lu6zqi
221
+ * @status stable
222
+ * @since 4.0
223
+ *
224
+ * @slot - item body content.
225
+ * @slot qti-rubric-block - the qti rubric block is placed above the item
226
+ *
227
+ */
228
+ declare class QtiItemBody extends LitElement {
229
+ static styles: CSSResultGroup;
230
+ render(): lit_html.TemplateResult<1>;
231
+ }
232
+ declare global {
233
+ interface HTMLElementTagNameMap {
234
+ 'qti-item-body': QtiItemBody;
235
+ }
236
+ }
237
+
238
+ declare class QtiPrompt extends LitElement {
239
+ render(): lit_html.TemplateResult<1>;
240
+ connectedCallback(): void;
241
+ }
242
+
243
+ declare class QtiStylesheet extends LitElement {
244
+ private styleLink;
245
+ constructor();
246
+ protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
247
+ disconnectedCallback(): void;
248
+ }
249
+
250
+ interface ItemContext {
251
+ href?: string;
252
+ identifier: string;
253
+ variables: ReadonlyArray<VariableDeclaration<string | string[]>>;
254
+ }
255
+ declare const itemContext: {
256
+ __context__: ItemContext;
257
+ };
258
+
257
259
  declare class QtiVariableDeclaration extends LitElement {
258
260
  render(): lit_html.TemplateResult<1>;
259
261
  protected defaultValues(variable: VariableDeclaration<string | string[] | null>): string | string[];
260
262
  }
261
263
 
262
- declare class QtiResponseDeclaration extends QtiVariableDeclaration {
264
+ declare class QtiOutcomeDeclaration extends QtiVariableDeclaration {
263
265
  baseType: BaseType;
264
266
  identifier: string;
265
267
  cardinality: Cardinality;
268
+ itemContext?: ItemContext;
269
+ static styles: lit.CSSResult[];
270
+ render(): lit_html.TemplateResult<1>;
271
+ get interpolationTable(): Map<number, number> | null;
266
272
  connectedCallback(): void;
267
- private get correctResponse();
268
- private get mapping();
269
273
  }
270
274
 
271
- declare class QtiOutcomeDeclaration extends QtiVariableDeclaration {
275
+ declare class QtiResponseDeclaration extends QtiVariableDeclaration {
272
276
  baseType: BaseType;
273
277
  identifier: string;
274
278
  cardinality: Cardinality;
275
- get interpolationTable(): Map<number, number> | null;
276
- constructor();
279
+ itemContext?: ItemContext;
280
+ static styles: lit.CSSResult[];
281
+ render(): lit_html.TemplateResult<1>;
277
282
  connectedCallback(): void;
283
+ private get correctResponse();
284
+ private get mapping();
278
285
  }
279
286
 
280
287
  declare class QtiCompanionMaterialsInfo extends LitElement {
281
288
  }
282
289
 
290
+ declare class qtiContentBody extends LitElement {
291
+ render(): lit_html.TemplateResult<1>;
292
+ }
293
+
283
294
  declare class qtiRubricBlock extends LitElement {
284
295
  id: any;
285
296
  use: 'instructions' | 'scoring' | 'navigation';
@@ -291,10 +302,6 @@ declare class qtiRubricBlock extends LitElement {
291
302
  connectedCallback(): void;
292
303
  }
293
304
 
294
- declare class qtiContentBody extends LitElement {
295
- render(): lit_html.TemplateResult<1>;
296
- }
297
-
298
305
  declare abstract class QtiFeedback extends LitElement {
299
306
  protected showHide: string;
300
307
  outcomeIdentifier: string;
@@ -305,20 +312,20 @@ declare abstract class QtiFeedback extends LitElement {
305
312
  private showFeedback;
306
313
  }
307
314
 
308
- declare class QtiFeedbackInline extends QtiFeedback {
315
+ declare class QtiFeedbackBlock extends QtiFeedback {
309
316
  static styles: lit.CSSResult;
310
- render: () => lit_html.TemplateResult<1>;
317
+ render(): lit_html.TemplateResult<1>;
318
+ protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
311
319
  }
312
320
 
313
- declare class QtiModalFeedback extends QtiFeedback {
321
+ declare class QtiFeedbackInline extends QtiFeedback {
314
322
  static styles: lit.CSSResult;
315
323
  render: () => lit_html.TemplateResult<1>;
316
324
  }
317
325
 
318
- declare class QtiFeedbackBlock extends QtiFeedback {
326
+ declare class QtiModalFeedback extends QtiFeedback {
319
327
  static styles: lit.CSSResult;
320
- render(): lit_html.TemplateResult<1>;
321
- protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
328
+ render: () => lit_html.TemplateResult<1>;
322
329
  }
323
330
 
324
331
  declare abstract class Interaction extends LitElement {
@@ -334,16 +341,17 @@ declare abstract class Interaction extends LitElement {
334
341
  saveResponse(value: string | string[]): void;
335
342
  }
336
343
 
337
- declare class QtiTextEntryInteraction extends Interaction {
344
+ declare class QtiExtendedTextInteraction extends Interaction {
345
+ textareaRef: lit_html_directives_ref.Ref<HTMLTextAreaElement>;
346
+ /** expected length is mapped to the property maxlength on the textarea */
338
347
  expectedLength: number;
339
348
  patternMask: string;
349
+ /** text appearing in the extended-text-nteraction if it is empty */
340
350
  placeholderText: string;
341
351
  private _value;
342
- private _size;
343
- inputRef: lit_html_directives_ref.Ref<HTMLInputElement>;
344
352
  classNames: any;
345
- handleclassNamesChange(old: any, classes: string): void;
346
- set response(value: string | undefined);
353
+ handleclassNamesChange(old: any, disabled: boolean): void;
354
+ set response(value: string);
347
355
  validate(): boolean;
348
356
  static get styles(): lit.CSSResult[];
349
357
  render(): lit_html.TemplateResult<1>;
@@ -353,21 +361,20 @@ declare class QtiTextEntryInteraction extends Interaction {
353
361
  }
354
362
  declare global {
355
363
  interface HTMLElementTagNameMap {
356
- 'qti-text-entry-interaction': QtiTextEntryInteraction;
364
+ 'qti-extended-text-interaction': QtiExtendedTextInteraction;
357
365
  }
358
366
  }
359
367
 
360
- declare class QtiExtendedTextInteraction extends Interaction {
361
- textareaRef: lit_html_directives_ref.Ref<HTMLTextAreaElement>;
362
- /** expected length is mapped to the property maxlength on the textarea */
368
+ declare class QtiTextEntryInteraction extends Interaction {
363
369
  expectedLength: number;
364
370
  patternMask: string;
365
- /** text appearing in the extended-text-nteraction if it is empty */
366
371
  placeholderText: string;
367
372
  private _value;
373
+ private _size;
374
+ inputRef: lit_html_directives_ref.Ref<HTMLInputElement>;
368
375
  classNames: any;
369
- handleclassNamesChange(old: any, disabled: boolean): void;
370
- set response(value: string);
376
+ handleclassNamesChange(old: any, classes: string): void;
377
+ set response(value: string | undefined);
371
378
  validate(): boolean;
372
379
  static get styles(): lit.CSSResult[];
373
380
  render(): lit_html.TemplateResult<1>;
@@ -377,7 +384,7 @@ declare class QtiExtendedTextInteraction extends Interaction {
377
384
  }
378
385
  declare global {
379
386
  interface HTMLElementTagNameMap {
380
- 'qti-extended-text-interaction': QtiExtendedTextInteraction;
387
+ 'qti-text-entry-interaction': QtiTextEntryInteraction;
381
388
  }
382
389
  }
383
390
 
@@ -460,22 +467,21 @@ declare class QtiResponseProcessing extends LitElement {
460
467
  render(): lit_html.TemplateResult<1>;
461
468
  static get observedAttributes(): string[];
462
469
  process(): void;
470
+ firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
463
471
  private fragmentFromString;
464
472
  }
465
473
  declare global {
466
474
  interface HTMLElementTagNameMap {
467
- 'qti-response-processed': QtiResponseProcessing;
475
+ 'qti-response-processing': QtiResponseProcessing;
468
476
  }
469
477
  }
470
478
 
471
479
  declare abstract class QtiExpression<T> extends LitElement {
472
- protected _result: any;
473
- protected _error: any[];
474
- private _debug;
475
- protected set error(val: string);
480
+ protected result: any;
476
481
  static styles: lit.CSSResult;
477
482
  render(): lit_html.TemplateResult<1>;
478
483
  calculate(): Readonly<T>;
484
+ protected getResult(): Readonly<T>;
479
485
  protected get assessmentItem(): QtiAssessmentItem;
480
486
  protected getVariables: () => VariableDeclaration<number | string | (number | string)[] | null>[];
481
487
  }
@@ -516,11 +522,6 @@ declare class QtiSetOutcomeValue extends QtiRule {
516
522
  }
517
523
 
518
524
  declare class QtiResponseElse extends LitElement {
519
- static get properties(): {
520
- debugCalculateResult: {
521
- type: ObjectConstructor;
522
- };
523
- };
524
525
  render(): lit_html.TemplateResult<1>;
525
526
  calculate(): boolean;
526
527
  getSubRules(): QtiRule[];
@@ -528,7 +529,6 @@ declare class QtiResponseElse extends LitElement {
528
529
  }
529
530
 
530
531
  declare class QtiResponseIf extends QtiResponseElse {
531
- render(): lit_html.TemplateResult<1>;
532
532
  calculate(): boolean;
533
533
  getSubRules(): QtiRule[];
534
534
  }
@@ -538,7 +538,8 @@ declare class QtiResponseElseIf extends QtiResponseIf {
538
538
  }
539
539
 
540
540
  declare abstract class QtiConditionExpression extends QtiExpression<boolean> {
541
- calculate(): boolean;
541
+ calculate(): Readonly<boolean>;
542
+ getResult(): Readonly<boolean>;
542
543
  }
543
544
 
544
545
  type Constructor<T> = new (...args: any[]) => T;
@@ -568,104 +569,102 @@ declare global {
568
569
 
569
570
  declare class QtiBaseValue extends QtiExpression<string> {
570
571
  baseType: BaseType;
571
- calculate(): string;
572
+ getResult(): string;
572
573
  }
573
574
 
574
575
  declare class QtiContains extends QtiConditionExpression {
575
- calculate(): boolean;
576
+ getResult(): boolean;
576
577
  }
577
578
 
578
579
  declare class QtiCorrect extends QtiExpression<string | string[]> {
579
580
  get interpretation(): string;
580
- calculate(): string | string[];
581
+ getResult(): string | string[];
581
582
  }
582
583
 
583
584
  declare class QtiEqualRounded extends QtiExpression<boolean> {
584
585
  roundingMode: 'decimalPlaces' | 'significantFigures';
585
586
  get figures(): number;
586
- calculate(): boolean;
587
+ getResult(): boolean;
587
588
  }
588
589
 
589
590
  declare class QtiEqual extends QtiExpression<boolean> {
590
591
  toleranceMode: 'exact' | 'relative' | 'absolute';
591
- calculate(): boolean;
592
+ getResult(): boolean;
592
593
  }
593
594
 
594
595
  declare class QtiGt extends QtiExpression<boolean> {
595
- calculate(): boolean;
596
+ getResult(): boolean;
596
597
  }
597
598
 
598
599
  declare class QtiGte extends QtiConditionExpression {
599
- calculate(): boolean;
600
+ getResult(): boolean;
600
601
  }
601
602
 
602
603
  declare class QtiIsNull extends QtiExpression<boolean> {
603
- calculate(): boolean;
604
+ getResult(): boolean;
604
605
  }
605
606
 
606
607
  declare class QtiLt extends QtiExpression<boolean> {
607
- calculate(): boolean;
608
+ getResult(): boolean;
608
609
  }
609
610
 
610
611
  declare class QtiLte extends QtiConditionExpression {
611
- calculate(): boolean;
612
+ getResult(): boolean;
612
613
  }
613
614
 
614
615
  declare class QtiMapResponse extends QtiExpression<number> {
615
616
  identifier: string;
616
- calculate(): number;
617
+ getResult(): number;
617
618
  }
618
619
 
619
620
  declare class QtiMatch extends QtiExpression<boolean> {
620
- calculate(): any;
621
+ getResult(): boolean;
621
622
  static match(valueToMap: ResponseVariable, correctValueInfo: ResponseVariable): boolean;
622
623
  }
623
624
 
624
625
  declare class QtiMember extends QtiExpression<boolean | null> {
625
- calculate(): boolean;
626
+ getResult(): boolean;
626
627
  }
627
628
 
628
629
  declare class QtiMultiple extends QtiExpression<VariableDeclaration<string | string[]>[]> {
629
- calculate(): ResponseVariable[];
630
+ getResult(): ResponseVariable[];
630
631
  }
631
632
 
632
633
  declare class QtiNot extends QtiExpression<boolean> {
633
634
  render(): lit_html.TemplateResult<1>;
634
- calculate(): boolean;
635
+ getResult(): boolean;
635
636
  }
636
637
 
637
638
  declare class QtiOr extends QtiConditionExpression {
638
- render(): lit_html.TemplateResult<1>;
639
- calculate(): boolean;
639
+ getResult(): boolean;
640
640
  }
641
641
 
642
642
  declare class QtiOrdered extends QtiExpression<ResponseVariable[]> {
643
- calculate(): ResponseVariable[];
643
+ getResult(): ResponseVariable[];
644
644
  }
645
645
 
646
646
  declare class QtPrintedVariable extends LitElement {
647
647
  identifier: string;
648
- value: string | string[];
648
+ itemContext?: ItemContext;
649
649
  render(): lit_html.TemplateResult<1>;
650
- constructor();
651
650
  calculate(): Readonly<string | string[]>;
652
651
  }
653
652
 
654
653
  declare class QtiProduct extends QtiExpression<number> {
655
- calculate(): number;
654
+ getResult(): number;
656
655
  }
657
656
 
658
657
  declare class QtiStringMatch extends QtiExpression<boolean> {
659
658
  caseSensitive: string;
660
- calculate(): boolean;
659
+ getResult(): boolean;
661
660
  }
662
661
 
663
662
  declare class QtiSum extends QtiExpression<number> {
664
- calculate(): number;
663
+ getResult(): number;
665
664
  }
666
665
 
667
666
  declare class QtiVariable extends QtiExpression<string | string[]> {
668
- calculate(): Readonly<string | string[]>;
667
+ getResult(): Readonly<string | string[]>;
669
668
  }
670
669
 
671
670
  declare class QtiPortableCustomInteraction extends LitElement {
@@ -928,19 +927,19 @@ declare class QtiAssociableHotspot extends LitElement {
928
927
  render(): lit_html.TemplateResult<1>;
929
928
  }
930
929
 
931
- declare class QtiGapImg extends LitElement {
930
+ declare class QtiGap extends LitElement {
932
931
  tabindex: number | undefined;
933
- connectedCallback(): void;
932
+ render(): lit_html.TemplateResult<1>;
934
933
  }
935
934
 
936
- declare class QtiGapText extends LitElement {
935
+ declare class QtiGapImg extends LitElement {
937
936
  tabindex: number | undefined;
938
937
  connectedCallback(): void;
939
- render(): lit_html.TemplateResult<1>;
940
938
  }
941
939
 
942
- declare class QtiGap extends LitElement {
940
+ declare class QtiGapText extends LitElement {
943
941
  tabindex: number | undefined;
942
+ connectedCallback(): void;
944
943
  render(): lit_html.TemplateResult<1>;
945
944
  }
946
945
 
@@ -983,4 +982,4 @@ declare global {
983
982
  }
984
983
  }
985
984
 
986
- export { BaseType, Calculate, Cardinality, Interaction, InteractionChangedDetails, ItemContext, MockQtiExpression, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiConditionExpression, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, QtiInteractionChanged, QtiIsNull, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSum, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, VariableDeclaration, directedPair, float, integer, itemContext, qtiAndMixin, qtiContentBody, qtiRubricBlock };
985
+ export { BaseType, Calculate, Cardinality, Interaction, InteractionChangedDetails, ItemContext, MockQtiExpression, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiConditionExpression, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, QtiInteractionChanged, QtiIsNull, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSum, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, VariableDeclaration, VariableValue, directedPair, float, integer, itemContext, qtiAndMixin, qtiContentBody, qtiRubricBlock };