@citolab/qti-components 6.9.1-beta.76 → 6.9.1-beta.78

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.
@@ -60,6 +60,169 @@ type BaseProps = {
60
60
 
61
61
  type BaseEvents = {};
62
62
 
63
+ export type QtiMappingProps = {
64
+ /** */
65
+ "default-value"?: number;
66
+ /** */
67
+ "lower-bound"?: number;
68
+ /** */
69
+ "upper-bound"?: number;
70
+ /** */
71
+ mapEntries?: string;
72
+ };
73
+
74
+ export type QtiRuleProps = {};
75
+
76
+ export type QtiResponseProcessingProps = {};
77
+
78
+ export type QtiMultipleProps = {
79
+ /** */
80
+ getVariables?: string;
81
+ };
82
+
83
+ export type QtiLookupOutcomeValueProps = {
84
+ /** */
85
+ identifier?: string;
86
+ /** */
87
+ childExpression?: QtiExpression<string>;
88
+ /** */
89
+ "onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
90
+ };
91
+
92
+ export type QtiResponseConditionProps = {};
93
+
94
+ export type QtiSetOutcomeValueProps = {
95
+ /** */
96
+ "onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
97
+ };
98
+
99
+ export type QtiResponseElseProps = {};
100
+
101
+ export type QtiResponseIfProps = {};
102
+
103
+ export type QtiResponseElseIfProps = {};
104
+
105
+ export type QtiAndProps = {};
106
+
107
+ export type QtiBaseValueProps = {
108
+ /** */
109
+ "base-type"?: BaseType;
110
+ /** */
111
+ getVariables?: string;
112
+ };
113
+
114
+ export type QtiContainsProps = {
115
+ /** */
116
+ getVariables?: string;
117
+ };
118
+
119
+ export type QtiCorrectProps = {
120
+ /** */
121
+ interpretation?: string;
122
+ /** */
123
+ getVariables?: string;
124
+ };
125
+
126
+ export type QtiEqualRoundedProps = {
127
+ /** */
128
+ roundingMode?: "decimalPlaces" | "significantFigures";
129
+ /** */
130
+ figures?: string;
131
+ /** */
132
+ getVariables?: string;
133
+ };
134
+
135
+ export type QtiEqualProps = {
136
+ /** */
137
+ toleranceMode?: "exact" | "relative" | "absolute";
138
+ /** */
139
+ getVariables?: string;
140
+ };
141
+
142
+ export type QtiGtProps = {
143
+ /** */
144
+ getVariables?: string;
145
+ };
146
+
147
+ export type QtiGteProps = {
148
+ /** */
149
+ getVariables?: string;
150
+ };
151
+
152
+ export type QtiIsNullProps = {
153
+ /** */
154
+ getVariables?: string;
155
+ };
156
+
157
+ export type QtiLtProps = {
158
+ /** */
159
+ getVariables?: string;
160
+ };
161
+
162
+ export type QtiLteProps = {
163
+ /** */
164
+ getVariables?: string;
165
+ };
166
+
167
+ export type QtiMapResponseProps = {
168
+ /** */
169
+ identifier?: string;
170
+ /** */
171
+ getVariables?: string;
172
+ };
173
+
174
+ export type QtiMatchProps = {
175
+ /** */
176
+ getVariables?: string;
177
+ };
178
+
179
+ export type QtiMemberProps = {
180
+ /** */
181
+ getVariables?: string;
182
+ };
183
+
184
+ export type QtiNotProps = {
185
+ /** */
186
+ getVariables?: string;
187
+ };
188
+
189
+ export type QtiOrProps = {
190
+ /** */
191
+ getVariables?: string;
192
+ };
193
+
194
+ export type QtiOrderedProps = {
195
+ /** */
196
+ getVariables?: string;
197
+ };
198
+
199
+ export type QtiPrintedVariableProps = {
200
+ /** */
201
+ identifier?: string;
202
+ };
203
+
204
+ export type QtiProductProps = {
205
+ /** */
206
+ getVariables?: string;
207
+ };
208
+
209
+ export type QtiStringMatchProps = {
210
+ /** */
211
+ "case-sensitive"?: string;
212
+ /** */
213
+ getVariables?: string;
214
+ };
215
+
216
+ export type QtiSumProps = {
217
+ /** */
218
+ getVariables?: string;
219
+ };
220
+
221
+ export type QtiVariableProps = {
222
+ /** */
223
+ getVariables?: string;
224
+ };
225
+
63
226
  export type QtiAssessmentItemProps = {
64
227
  /** */
65
228
  title?: string;
@@ -98,106 +261,194 @@ export type QtiAssessmentStimulusRefProps = {
98
261
  href?: string;
99
262
  };
100
263
 
101
- export type QtiCompanionMaterialsInfoProps = {};
264
+ export type QtiItemBodyProps = {};
102
265
 
103
- export type QtiCustomOperatorProps = {
266
+ export type QtiPromptProps = {};
267
+
268
+ export type QtiStylesheetProps = {};
269
+
270
+ export type QtiVariableDeclarationProps = {};
271
+
272
+ export type QtiOutcomeDeclarationProps = {
104
273
  /** */
105
- "onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
274
+ "base-type"?: BaseType;
106
275
  /** */
107
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
276
+ "external-scored"?: "human" | "externalMachine" | null;
277
+ /** */
278
+ identifier?: string;
279
+ /** */
280
+ cardinality?: Cardinality;
281
+ /** */
282
+ itemContext?: ItemContext | undefined;
283
+ /** */
284
+ interpolationTable?: Map<number, number> | null;
285
+ /** */
286
+ "onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
108
287
  };
109
288
 
110
- export type QtiAssociableHotspotProps = {
289
+ export type QtiResponseDeclarationProps = {
111
290
  /** */
112
- "onqti-register-hotspot"?: (e: CustomEvent<CustomEvent>) => void;
291
+ "base-type"?: BaseType;
292
+ /** */
293
+ identifier?: string;
294
+ /** */
295
+ cardinality?: Cardinality;
296
+ /** */
297
+ itemContext?: ItemContext | undefined;
298
+ /** */
299
+ "onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
113
300
  };
114
301
 
115
- export type QtiGapImgProps = {
302
+ export type QtiCompanionMaterialsInfoProps = {};
303
+
304
+ export type QtiContentBodyProps = {};
305
+
306
+ export type QtiRubricBlockProps = {
116
307
  /** */
117
- tabindex?: number | undefined;
308
+ id?: string;
309
+ /** */
310
+ use?: "instructions" | "scoring" | "navigation";
311
+ /** */
312
+ view?: "author" | "candidate" | "proctor" | "scorer" | "testConstructor" | "tutor";
313
+ /** */
314
+ class?: string;
118
315
  };
119
316
 
120
- export type QtiGapTextProps = {
317
+ export type QtiFeedbackBlockProps = {
121
318
  /** */
122
- tabindex?: number;
319
+ "show-hide"?: string;
320
+ /** */
321
+ "outcome-identifier"?: string;
123
322
  /** */
124
323
  identifier?: string;
125
324
  /** */
126
- "aria-disabled"?: boolean;
325
+ showStatus?: string;
127
326
  /** */
128
- "aria-readonly"?: boolean;
327
+ "onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
328
+ };
329
+
330
+ export type QtiFeedbackInlineProps = {
129
331
  /** */
130
- internals?: ElementInternals;
332
+ "show-hide"?: string;
131
333
  /** */
132
- onundefined?: (e: CustomEvent<CustomEvent>) => void;
334
+ "outcome-identifier"?: string;
335
+ /** */
336
+ identifier?: string;
337
+ /** */
338
+ showStatus?: string;
339
+ /** */
340
+ "onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
133
341
  };
134
342
 
135
- export type QtiGapProps = {
343
+ export type QtiModalFeedbackProps = {
136
344
  /** */
137
- tabindex?: number | undefined;
345
+ "show-hide"?: string;
346
+ /** */
347
+ "outcome-identifier"?: string;
348
+ /** */
349
+ identifier?: string;
350
+ /** */
351
+ showStatus?: string;
352
+ /** */
353
+ "onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
138
354
  };
139
355
 
140
- export type QtiHotspotChoiceProps = {
356
+ export type QtiExtendedTextInteractionProps = {
357
+ /** expected length is mapped to the property maxlength on the textarea */
358
+ "expected-length"?: number;
141
359
  /** */
142
- "aria-ordervalue"?: number;
360
+ "pattern-mask"?: string;
361
+ /** text appearing in the extended-text-nteraction if it is empty */
362
+ "placeholder-text"?: string;
143
363
  /** */
144
- identifier?: string;
364
+ "data-patternmask-message"?: string;
145
365
  /** */
146
- tabindex?: number;
366
+ class?: string;
147
367
  /** */
148
- "aria-disabled"?: boolean;
368
+ "response-identifier"?: string;
369
+ /** disabled should be exposed to the attributes and accessible as property */
370
+ disabled?: boolean;
371
+ /** readonly should be exposed to the attributes and accessible as property */
372
+ readonly?: boolean;
149
373
  /** */
150
- "aria-readonly"?: boolean;
374
+ value?: string | string[];
151
375
  /** */
152
- internals?: ElementInternals;
376
+ correctResponse?: string | string[];
153
377
  /** */
154
- onundefined?: (e: CustomEvent<CustomEvent>) => void;
378
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
379
+ /** */
380
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
155
381
  };
156
382
 
157
- export type QtiHottextProps = {
383
+ export type QtiTextEntryInteractionProps = {
158
384
  /** */
159
- identifier?: string;
385
+ "expected-length"?: number;
160
386
  /** */
161
- tabindex?: number;
387
+ "pattern-mask"?: string;
162
388
  /** */
163
- "aria-disabled"?: boolean;
389
+ "placeholder-text"?: string;
164
390
  /** */
165
- "aria-readonly"?: boolean;
391
+ "data-patternmask-message"?: string;
166
392
  /** */
167
- internals?: ElementInternals;
393
+ "response-identifier"?: string;
394
+ /** disabled should be exposed to the attributes and accessible as property */
395
+ disabled?: boolean;
396
+ /** readonly should be exposed to the attributes and accessible as property */
397
+ readonly?: boolean;
168
398
  /** */
169
- onundefined?: (e: CustomEvent<CustomEvent>) => void;
399
+ inputRef?: string;
400
+ /** */
401
+ value?: string | string[];
402
+ /** */
403
+ correctResponse?: string | string[];
404
+ /** */
405
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
406
+ /** */
407
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
170
408
  };
171
409
 
172
- export type QtiInlineChoiceProps = {
410
+ export type QtiHottextInteractionProps = {
173
411
  /** */
174
- identifier?: string;
175
-
412
+ "min-choices"?: number;
176
413
  /** */
177
- "onqti-inline-choice-register"?: (e: CustomEvent<CustomEvent>) => void;
414
+ "max-choices"?: number;
178
415
  /** */
179
- "onqti-inline-choice-select"?: (e: CustomEvent<CustomEvent>) => void;
416
+ "response-identifier"?: string;
417
+ /** disabled should be exposed to the attributes and accessible as property */
418
+ disabled?: boolean;
419
+ /** readonly should be exposed to the attributes and accessible as property */
420
+ readonly?: boolean;
421
+ /** */
422
+ value?: string | string[];
423
+ /** */
424
+ correctResponse?: string | string[];
425
+ /** */
426
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
427
+ /** */
428
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
180
429
  };
181
430
 
182
- export type QtiSimpleAssociableChoiceProps = {
183
- /** the minimal number of selections a candidate must make */
184
- "match-min"?: number;
185
- /** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
186
- "match-max"?: number;
431
+ export type QtiInlineChoiceInteractionProps = {
187
432
  /** */
188
- fixed?: boolean;
433
+ "data-prompt"?: string;
189
434
  /** */
190
- identifier?: string;
435
+ "response-identifier"?: string;
436
+ /** disabled should be exposed to the attributes and accessible as property */
437
+ disabled?: boolean;
438
+ /** readonly should be exposed to the attributes and accessible as property */
439
+ readonly?: boolean;
191
440
  /** */
192
- tabindex?: number;
441
+ options?: OptionType[];
193
442
  /** */
194
- "aria-disabled"?: boolean;
443
+ correctOption?: string;
195
444
  /** */
196
- "aria-readonly"?: boolean;
445
+ value?: string | string[];
197
446
  /** */
198
- internals?: ElementInternals;
447
+ correctResponse?: string | string[];
199
448
  /** */
200
- onundefined?: (e: CustomEvent<CustomEvent>) => void;
449
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
450
+ /** */
451
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
201
452
  };
202
453
 
203
454
  export type QtiSimpleChoiceProps = {
@@ -219,85 +470,56 @@ export type QtiSimpleChoiceProps = {
219
470
  onundefined?: (e: CustomEvent<CustomEvent>) => void;
220
471
  };
221
472
 
222
- export type QtiItemBodyProps = {};
223
-
224
- export type QtiOutcomeProcessingProps = {};
225
-
226
- export type QtiPromptProps = {};
227
-
228
- export type QtiContentBodyProps = {};
229
-
230
- export type QtiRubricBlockProps = {
231
- /** */
232
- id?: string;
233
- /** */
234
- use?: "instructions" | "scoring" | "navigation";
235
- /** */
236
- view?: "author" | "candidate" | "proctor" | "scorer" | "testConstructor" | "tutor";
473
+ export type QtiChoiceInteractionProps = {
474
+ /** orientation of choices */
475
+ orientation?: Orientation;
237
476
  /** */
238
477
  class?: string;
239
- };
240
-
241
- export type QtiStylesheetProps = {};
242
-
243
- export type QtiVariableDeclarationProps = {};
244
-
245
- export type QtiFeedbackBlockProps = {
246
- /** */
247
- "show-hide"?: string;
248
478
  /** */
249
- "outcome-identifier"?: string;
479
+ shuffle?: boolean;
250
480
  /** */
251
- identifier?: string;
481
+ "min-choices"?: number;
252
482
  /** */
253
- showStatus?: string;
483
+ "max-choices"?: number;
254
484
  /** */
255
- "onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
256
- };
257
-
258
- export type QtiFeedbackInlineProps = {
485
+ "response-identifier"?: string;
486
+ /** disabled should be exposed to the attributes and accessible as property */
487
+ disabled?: boolean;
488
+ /** readonly should be exposed to the attributes and accessible as property */
489
+ readonly?: boolean;
259
490
  /** */
260
- "show-hide"?: string;
491
+ role?: string;
261
492
  /** */
262
- "outcome-identifier"?: string;
493
+ value?: string | string[];
263
494
  /** */
264
- identifier?: string;
495
+ correctResponse?: string | string[];
265
496
  /** */
266
- showStatus?: string;
497
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
267
498
  /** */
268
- "onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
499
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
269
500
  };
270
501
 
271
- export type QtiModalFeedbackProps = {
272
- /** */
273
- "show-hide"?: string;
274
- /** */
275
- "outcome-identifier"?: string;
276
- /** */
277
- identifier?: string;
278
- /** */
279
- showStatus?: string;
280
- /** */
281
- "onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
282
- };
502
+ export type QtiOutcomeProcessingProps = {};
283
503
 
284
- export type QtiAssociateInteractionProps = {
504
+ export type QtiPortableCustomInteractionProps = {
285
505
  /** */
286
- "min-associations"?: number;
506
+ module?: string;
287
507
  /** */
288
- "max-associations"?: number;
289
- /** disabled should be exposed to the attributes and accessible as property */
290
- disabled?: boolean;
508
+ "custom-interaction-type-identifier"?: string;
291
509
  /** */
292
510
  "response-identifier"?: string;
511
+ /** disabled should be exposed to the attributes and accessible as property */
512
+ disabled?: boolean;
293
513
  /** readonly should be exposed to the attributes and accessible as property */
294
514
  readonly?: boolean;
295
515
  /** */
296
- dragDropApi?: TouchDragAndDrop;
516
+ value?: string | string[];
297
517
  /** */
298
- configuration?: InteractionConfiguration;
518
+ loadConfig?: string;
299
519
  /** */
300
- value?: string | string[];
520
+ getResolvablePathString?: string;
521
+ /** */
522
+ getResolvablePath?: string;
301
523
  /** */
302
524
  correctResponse?: string | string[];
303
525
  /** */
@@ -306,29 +528,42 @@ export type QtiAssociateInteractionProps = {
306
528
  "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
307
529
  };
308
530
 
309
- export type QtiChoiceInteractionProps = {
310
- /** orientation of choices */
311
- orientation?: "horizontal" | "vertical";
531
+ export type QtiSimpleAssociableChoiceProps = {
532
+ /** the minimal number of selections a candidate must make */
533
+ "match-min"?: number;
534
+ /** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
535
+ "match-max"?: number;
312
536
  /** */
313
- class?: string;
537
+ fixed?: boolean;
314
538
  /** */
315
- shuffle?: boolean;
539
+ identifier?: string;
316
540
  /** */
317
- "min-choices"?: number;
541
+ tabindex?: number;
318
542
  /** */
319
- "max-choices"?: number;
543
+ "aria-disabled"?: boolean;
320
544
  /** */
321
- "response-identifier"?: string;
545
+ "aria-readonly"?: boolean;
546
+ /** */
547
+ internals?: ElementInternals;
548
+ /** */
549
+ onundefined?: (e: CustomEvent<CustomEvent>) => void;
550
+ };
551
+
552
+ export type QtiAssociateInteractionProps = {
553
+ /** */
554
+ "min-associations"?: number;
555
+ /** */
556
+ "max-associations"?: number;
322
557
  /** disabled should be exposed to the attributes and accessible as property */
323
558
  disabled?: boolean;
559
+ /** */
560
+ "response-identifier"?: string;
324
561
  /** readonly should be exposed to the attributes and accessible as property */
325
562
  readonly?: boolean;
326
563
  /** */
327
- _choiceElements?: Choice[];
328
- /** */
329
- _handleDisabledChange?: string;
564
+ dragDropApi?: TouchDragAndDrop;
330
565
  /** */
331
- _handleReadonlyChange?: string;
566
+ configuration?: InteractionConfiguration;
332
567
  /** */
333
568
  value?: string | string[];
334
569
  /** */
@@ -393,33 +628,6 @@ export type QtiEndAttemptInteractionProps = {
393
628
  "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
394
629
  };
395
630
 
396
- export type QtiExtendedTextInteractionProps = {
397
- /** expected length is mapped to the property maxlength on the textarea */
398
- "expected-length"?: number;
399
- /** */
400
- "pattern-mask"?: string;
401
- /** text appearing in the extended-text-nteraction if it is empty */
402
- "placeholder-text"?: string;
403
- /** */
404
- "data-patternmask-message"?: string;
405
- /** */
406
- class?: string;
407
- /** */
408
- "response-identifier"?: string;
409
- /** disabled should be exposed to the attributes and accessible as property */
410
- disabled?: boolean;
411
- /** readonly should be exposed to the attributes and accessible as property */
412
- readonly?: boolean;
413
- /** */
414
- value?: string | string[];
415
- /** */
416
- correctResponse?: string | string[];
417
- /** */
418
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
419
- /** */
420
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
421
- };
422
-
423
631
  export type QtiGapMatchInteractionProps = {
424
632
  /** */
425
633
  "min-associations"?: number;
@@ -445,6 +653,23 @@ export type QtiGapMatchInteractionProps = {
445
653
  "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
446
654
  };
447
655
 
656
+ export type QtiHotspotChoiceProps = {
657
+ /** */
658
+ "aria-ordervalue"?: number;
659
+ /** */
660
+ identifier?: string;
661
+ /** */
662
+ tabindex?: number;
663
+ /** */
664
+ "aria-disabled"?: boolean;
665
+ /** */
666
+ "aria-readonly"?: boolean;
667
+ /** */
668
+ internals?: ElementInternals;
669
+ /** */
670
+ onundefined?: (e: CustomEvent<CustomEvent>) => void;
671
+ };
672
+
448
673
  export type QtiGraphicAssociateInteractionProps = {
449
674
  /** */
450
675
  "response-identifier"?: string;
@@ -521,12 +746,6 @@ export type QtiGraphicOrderInteractionProps = {
521
746
  /** */
522
747
  choiceOrdering?: boolean;
523
748
  /** */
524
- _choiceElements?: Choice[];
525
- /** */
526
- _handleDisabledChange?: string;
527
- /** */
528
- _handleReadonlyChange?: string;
529
- /** */
530
749
  value?: string | string[];
531
750
  /** */
532
751
  correctResponse?: string | string[];
@@ -548,62 +767,6 @@ export type QtiHotspotInteractionProps = {
548
767
  /** readonly should be exposed to the attributes and accessible as property */
549
768
  readonly?: boolean;
550
769
  /** */
551
- _choiceElements?: Choice[];
552
- /** */
553
- _handleDisabledChange?: string;
554
- /** */
555
- _handleReadonlyChange?: string;
556
- /** */
557
- value?: string | string[];
558
- /** */
559
- correctResponse?: string | string[];
560
- /** */
561
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
562
- /** */
563
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
564
- };
565
-
566
- export type QtiHottextInteractionProps = {
567
- /** */
568
- "min-choices"?: number;
569
- /** */
570
- "max-choices"?: number;
571
- /** */
572
- "response-identifier"?: string;
573
- /** disabled should be exposed to the attributes and accessible as property */
574
- disabled?: boolean;
575
- /** readonly should be exposed to the attributes and accessible as property */
576
- readonly?: boolean;
577
- /** */
578
- _choiceElements?: Choice[];
579
- /** */
580
- _handleDisabledChange?: string;
581
- /** */
582
- _handleReadonlyChange?: string;
583
- /** */
584
- value?: string | string[];
585
- /** */
586
- correctResponse?: string | string[];
587
- /** */
588
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
589
- /** */
590
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
591
- };
592
-
593
- export type QtiInlineChoiceInteractionProps = {
594
- /** */
595
- "data-prompt"?: string;
596
- /** */
597
- "response-identifier"?: string;
598
- /** disabled should be exposed to the attributes and accessible as property */
599
- disabled?: boolean;
600
- /** readonly should be exposed to the attributes and accessible as property */
601
- readonly?: boolean;
602
- /** */
603
- options?: OptionType[];
604
- /** */
605
- correctOption?: string;
606
- /** */
607
770
  value?: string | string[];
608
771
  /** */
609
772
  correctResponse?: string | string[];
@@ -675,59 +838,32 @@ export type QtiOrderInteractionProps = {
675
838
  /** */
676
839
  shuffle?: boolean;
677
840
  /** */
678
- "min-associations"?: number;
679
- /** */
680
- "max-associations"?: number;
681
- /** disabled should be exposed to the attributes and accessible as property */
682
- disabled?: boolean;
683
- /** */
684
- "response-identifier"?: string;
685
- /** readonly should be exposed to the attributes and accessible as property */
686
- readonly?: boolean;
687
- /** */
688
- childrenMap?: Element[];
689
- /** */
690
- nrChoices?: number;
691
- /** */
692
- correctResponses?: string[];
693
- /** */
694
- showCorrectResponses?: boolean;
695
- /** */
696
- correctResponse?: string | string[];
697
- /** */
698
- dragDropApi?: TouchDragAndDrop;
699
- /** */
700
- configuration?: InteractionConfiguration;
701
- /** */
702
- value?: string | string[];
703
- /** */
704
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
705
- /** */
706
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
707
- };
708
-
709
- export type QtiPortableCustomInteractionProps = {
710
- /** */
711
- module?: string;
712
- /** */
713
- "custom-interaction-type-identifier"?: string;
841
+ "min-associations"?: number;
714
842
  /** */
715
- "response-identifier"?: string;
843
+ "max-associations"?: number;
716
844
  /** disabled should be exposed to the attributes and accessible as property */
717
845
  disabled?: boolean;
846
+ /** */
847
+ "response-identifier"?: string;
718
848
  /** readonly should be exposed to the attributes and accessible as property */
719
849
  readonly?: boolean;
720
850
  /** */
721
- value?: string | string[];
851
+ childrenMap?: Element[];
722
852
  /** */
723
- loadConfig?: string;
853
+ nrChoices?: number;
724
854
  /** */
725
- getResolvablePathString?: string;
855
+ correctResponses?: string[];
726
856
  /** */
727
- getResolvablePath?: string;
857
+ showCorrectResponses?: boolean;
728
858
  /** */
729
859
  correctResponse?: string | string[];
730
860
  /** */
861
+ dragDropApi?: TouchDragAndDrop;
862
+ /** */
863
+ configuration?: InteractionConfiguration;
864
+ /** */
865
+ value?: string | string[];
866
+ /** */
731
867
  "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
732
868
  /** */
733
869
  "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
@@ -802,88 +938,66 @@ export type QtiSliderInteractionProps = {
802
938
  "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
803
939
  };
804
940
 
805
- export type QtiTextEntryInteractionProps = {
806
- /** */
807
- "expected-length"?: number;
808
- /** */
809
- "pattern-mask"?: string;
810
- /** */
811
- "placeholder-text"?: string;
812
- /** */
813
- "data-patternmask-message"?: string;
814
- /** */
815
- "response-identifier"?: string;
816
- /** disabled should be exposed to the attributes and accessible as property */
817
- disabled?: boolean;
818
- /** readonly should be exposed to the attributes and accessible as property */
819
- readonly?: boolean;
820
- /** */
821
- inputRef?: string;
822
- /** */
823
- value?: string | string[];
824
- /** */
825
- correctResponse?: string | string[];
941
+ export type QtiCustomOperatorProps = {
826
942
  /** */
827
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
943
+ "onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
828
944
  /** */
829
945
  "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
830
946
  };
831
947
 
832
- export type QtiResponseElseProps = {};
833
-
834
- export type QtiResponseProcessingProps = {};
948
+ export type QtiAssociableHotspotProps = {
949
+ /** */
950
+ "onqti-register-hotspot"?: (e: CustomEvent<CustomEvent>) => void;
951
+ };
835
952
 
836
- export type QtiRuleProps = {};
953
+ export type QtiGapProps = {
954
+ /** */
955
+ tabindex?: number | undefined;
956
+ };
837
957
 
838
- export type QtiOutcomeDeclarationProps = {
958
+ export type QtiGapImgProps = {
839
959
  /** */
840
- "base-type"?: BaseType;
960
+ tabindex?: number | undefined;
961
+ };
962
+
963
+ export type QtiGapTextProps = {
841
964
  /** */
842
- "external-scored"?: "human" | "externalMachine" | null;
965
+ tabindex?: number;
843
966
  /** */
844
967
  identifier?: string;
845
968
  /** */
846
- cardinality?: Cardinality;
969
+ "aria-disabled"?: boolean;
847
970
  /** */
848
- itemContext?: ItemContext | undefined;
971
+ "aria-readonly"?: boolean;
849
972
  /** */
850
- interpolationTable?: Map<number, number> | null;
973
+ internals?: ElementInternals;
851
974
  /** */
852
- "onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
975
+ onundefined?: (e: CustomEvent<CustomEvent>) => void;
853
976
  };
854
977
 
855
- export type QtiResponseDeclarationProps = {
856
- /** */
857
- "base-type"?: BaseType;
978
+ export type QtiHottextProps = {
858
979
  /** */
859
980
  identifier?: string;
860
981
  /** */
861
- cardinality?: Cardinality;
862
- /** */
863
- itemContext?: ItemContext | undefined;
864
- /** */
865
- "onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
866
- };
867
-
868
- export type TestElementProps = {
982
+ tabindex?: number;
869
983
  /** */
870
- class?: string;
984
+ "aria-disabled"?: boolean;
871
985
  /** */
872
- shuffle?: boolean;
986
+ "aria-readonly"?: boolean;
873
987
  /** */
874
- "response-identifier"?: string;
875
- /** disabled should be exposed to the attributes and accessible as property */
876
- disabled?: boolean;
877
- /** readonly should be exposed to the attributes and accessible as property */
878
- readonly?: boolean;
988
+ internals?: ElementInternals;
879
989
  /** */
880
- value?: string | string[];
990
+ onundefined?: (e: CustomEvent<CustomEvent>) => void;
991
+ };
992
+
993
+ export type QtiInlineChoiceProps = {
881
994
  /** */
882
- correctResponse?: string | string[];
995
+ identifier?: string;
996
+
883
997
  /** */
884
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
998
+ "onqti-inline-choice-register"?: (e: CustomEvent<CustomEvent>) => void;
885
999
  /** */
886
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
1000
+ "onqti-inline-choice-select"?: (e: CustomEvent<CustomEvent>) => void;
887
1001
  };
888
1002
 
889
1003
  export type TestElementProps = {
@@ -923,168 +1037,32 @@ export type TestElementProps = {
923
1037
  /** */
924
1038
  correctResponse?: string | string[];
925
1039
  /** */
926
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
927
- /** */
928
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
929
- };
930
-
931
- export type QtiAndProps = {};
932
-
933
- export type QtiBaseValueProps = {
934
- /** */
935
- "base-type"?: BaseType;
936
- /** */
937
- getVariables?: string;
938
- };
939
-
940
- export type QtiContainsProps = {
941
- /** */
942
- getVariables?: string;
943
- };
944
-
945
- export type QtiCorrectProps = {
946
- /** */
947
- interpretation?: string;
948
- /** */
949
- getVariables?: string;
950
- };
951
-
952
- export type QtiEqualProps = {
953
- /** */
954
- toleranceMode?: "exact" | "relative" | "absolute";
955
- /** */
956
- getVariables?: string;
957
- };
958
-
959
- export type QtiEqualRoundedProps = {
960
- /** */
961
- roundingMode?: "decimalPlaces" | "significantFigures";
962
- /** */
963
- figures?: string;
964
- /** */
965
- getVariables?: string;
966
- };
967
-
968
- export type QtiGtProps = {
969
- /** */
970
- getVariables?: string;
971
- };
972
-
973
- export type QtiGteProps = {
974
- /** */
975
- getVariables?: string;
976
- };
977
-
978
- export type QtiIsNullProps = {
979
- /** */
980
- getVariables?: string;
981
- };
982
-
983
- export type QtiLtProps = {
984
- /** */
985
- getVariables?: string;
986
- };
987
-
988
- export type QtiLteProps = {
989
- /** */
990
- getVariables?: string;
991
- };
992
-
993
- export type QtiMapResponseProps = {
994
- /** */
995
- identifier?: string;
996
- /** */
997
- getVariables?: string;
998
- };
999
-
1000
- export type QtiMappingProps = {
1001
- /** */
1002
- "default-value"?: number;
1003
- /** */
1004
- "lower-bound"?: number;
1005
- /** */
1006
- "upper-bound"?: number;
1007
- /** */
1008
- mapEntries?: string;
1009
- };
1010
-
1011
- export type QtiMatchProps = {
1012
- /** */
1013
- getVariables?: string;
1014
- };
1015
-
1016
- export type QtiMemberProps = {
1017
- /** */
1018
- getVariables?: string;
1019
- };
1020
-
1021
- export type QtiMultipleProps = {
1022
- /** */
1023
- getVariables?: string;
1024
- };
1025
-
1026
- export type QtiNotProps = {
1027
- /** */
1028
- getVariables?: string;
1029
- };
1030
-
1031
- export type QtiOrProps = {
1032
- /** */
1033
- getVariables?: string;
1034
- };
1035
-
1036
- export type QtiOrderedProps = {
1037
- /** */
1038
- getVariables?: string;
1039
- };
1040
-
1041
- export type QtiPrintedVariableProps = {
1042
- /** */
1043
- identifier?: string;
1044
- };
1045
-
1046
- export type QtiProductProps = {
1047
- /** */
1048
- getVariables?: string;
1049
- };
1050
-
1051
- export type QtiStringMatchProps = {
1052
- /** */
1053
- "case-sensitive"?: string;
1054
- /** */
1055
- getVariables?: string;
1056
- };
1057
-
1058
- export type QtiSumProps = {
1059
- /** */
1060
- getVariables?: string;
1061
- };
1062
-
1063
- export type QtiVariableProps = {
1064
- /** */
1065
- getVariables?: string;
1066
- };
1067
-
1068
- export type QtiResponseIfProps = {};
1069
-
1070
- export type QtiLookupOutcomeValueProps = {
1071
- /** */
1072
- identifier?: string;
1073
- /** */
1074
- childExpression?: QtiExpression<string>;
1040
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
1075
1041
  /** */
1076
- "onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
1042
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
1077
1043
  };
1078
1044
 
1079
- export type QtiResponseConditionProps = {};
1080
-
1081
- export type QtiSetOutcomeValueProps = {
1045
+ export type TestElementProps = {
1082
1046
  /** */
1083
- "onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
1047
+ class?: string;
1048
+ /** */
1049
+ shuffle?: boolean;
1050
+ /** */
1051
+ "response-identifier"?: string;
1052
+ /** disabled should be exposed to the attributes and accessible as property */
1053
+ disabled?: boolean;
1054
+ /** readonly should be exposed to the attributes and accessible as property */
1055
+ readonly?: boolean;
1056
+ /** */
1057
+ value?: string | string[];
1058
+ /** */
1059
+ correctResponse?: string | string[];
1060
+ /** */
1061
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
1062
+ /** */
1063
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
1084
1064
  };
1085
1065
 
1086
- export type QtiResponseElseIfProps = {};
1087
-
1088
1066
  export type QtiItemProps = {
1089
1067
  /** */
1090
1068
  identifier?: string | undefined;
@@ -1100,56 +1078,51 @@ export type QtiItemProps = {
1100
1078
 
1101
1079
  export type CustomElements = {
1102
1080
  /**
1103
- * The qti-assessment-item element contains all the other QTI 3 item structures.
1081
+ *
1104
1082
  * ---
1105
1083
  *
1084
+ */
1085
+ "qti-mapping": Partial<QtiMappingProps & BaseProps & BaseEvents>;
1086
+
1087
+ /**
1106
1088
  *
1107
- * ### **Events:**
1108
- * - **name**
1109
- * - **qti-interaction-changed** - Emitted when an interaction is changed.
1110
- * - **qti-outcome-changed** - Emitted when an outcome has changed.
1111
- * - **qti-response-processing** - Emitted when response-processing is called.
1089
+ * ---
1112
1090
  *
1113
- * ### **Slots:**
1114
- * - _default_ - The default slot where all the other QTI 3 item structures go.
1115
1091
  */
1116
- "qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps & BaseEvents>;
1092
+ "qti-rule": Partial<QtiRuleProps & BaseProps & BaseEvents>;
1117
1093
 
1118
1094
  /**
1119
- * Represents a custom element for referencing an assessment stimulus.
1120
- * ---
1121
1095
  *
1096
+ * ---
1122
1097
  *
1123
- * ### **Methods:**
1124
- * - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
1125
1098
  */
1126
- "qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
1099
+ "qti-response-processing": Partial<QtiResponseProcessingProps & BaseProps & BaseEvents>;
1127
1100
 
1128
1101
  /**
1129
1102
  *
1130
1103
  * ---
1131
1104
  *
1132
1105
  */
1133
- "qti-companion-materials-info": Partial<QtiCompanionMaterialsInfoProps & BaseProps & BaseEvents>;
1106
+ "qti-multiple": Partial<QtiMultipleProps & BaseProps & BaseEvents>;
1134
1107
 
1135
1108
  /**
1136
- * https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
1137
- * <qti-custom-operator class="js.org">
1138
- * <qti-base-value base-type="string"><![CDATA[
1139
- * console.log(context.variables);
1140
- * return 'B'
1141
- * document.querySelector('qti-end-attempt-interaction').disabled = true;
1142
- * ]]></qti-base-value>
1143
- * </qti-custom-operator>
1144
- * </qti-set-outcome-value>
1109
+ * The lookupOutcomeValue rule sets the value of an outcome variable to the value obtained
1110
+ * by looking up the value of the associated expression in the lookupTable associated
1111
+ * with the outcome's declaration.
1145
1112
  * ---
1146
1113
  *
1147
1114
  *
1148
1115
  * ### **Events:**
1149
1116
  * - **qti-set-outcome-value**
1150
- * - **qti-interaction-response**
1151
1117
  */
1152
- "qti-custom-operator": Partial<QtiCustomOperatorProps & BaseProps & BaseEvents>;
1118
+ "qti-lookup-outcome-value": Partial<QtiLookupOutcomeValueProps & BaseProps & BaseEvents>;
1119
+
1120
+ /**
1121
+ *
1122
+ * ---
1123
+ *
1124
+ */
1125
+ "qti-response-condition": Partial<QtiResponseConditionProps & BaseProps & BaseEvents>;
1153
1126
 
1154
1127
  /**
1155
1128
  *
@@ -1157,246 +1130,242 @@ export type CustomElements = {
1157
1130
  *
1158
1131
  *
1159
1132
  * ### **Events:**
1160
- * - **qti-register-hotspot**
1133
+ * - **qti-set-outcome-value**
1161
1134
  */
1162
- "qti-associable-hotspot": Partial<QtiAssociableHotspotProps & BaseProps & BaseEvents>;
1135
+ "qti-set-outcome-value": Partial<QtiSetOutcomeValueProps & BaseProps & BaseEvents>;
1163
1136
 
1164
1137
  /**
1165
1138
  *
1166
1139
  * ---
1167
1140
  *
1168
1141
  */
1169
- "qti-gap-img": Partial<QtiGapImgProps & BaseProps & BaseEvents>;
1142
+ "qti-response-else": Partial<QtiResponseElseProps & BaseProps & BaseEvents>;
1170
1143
 
1171
1144
  /**
1172
1145
  *
1173
1146
  * ---
1174
1147
  *
1148
+ */
1149
+ "qti-response-if": Partial<QtiResponseIfProps & BaseProps & BaseEvents>;
1150
+
1151
+ /**
1175
1152
  *
1176
- * ### **Events:**
1153
+ * ---
1177
1154
  *
1178
1155
  */
1179
- "qti-gap-text": Partial<QtiGapTextProps & BaseProps & BaseEvents>;
1156
+ "qti-response-else-if": Partial<QtiResponseElseIfProps & BaseProps & BaseEvents>;
1180
1157
 
1181
1158
  /**
1182
1159
  *
1183
1160
  * ---
1184
1161
  *
1185
1162
  */
1186
- "qti-gap": Partial<QtiGapProps & BaseProps & BaseEvents>;
1163
+ "qti-and": Partial<QtiAndProps & BaseProps & BaseEvents>;
1187
1164
 
1188
1165
  /**
1189
1166
  *
1190
1167
  * ---
1191
1168
  *
1169
+ */
1170
+ "qti-base-value": Partial<QtiBaseValueProps & BaseProps & BaseEvents>;
1171
+
1172
+ /**
1192
1173
  *
1193
- * ### **Events:**
1174
+ * ---
1194
1175
  *
1195
1176
  */
1196
- "qti-hotspot-choice": Partial<QtiHotspotChoiceProps & BaseProps & BaseEvents>;
1177
+ "qti-contains": Partial<QtiContainsProps & BaseProps & BaseEvents>;
1197
1178
 
1198
1179
  /**
1199
1180
  *
1200
1181
  * ---
1201
1182
  *
1183
+ */
1184
+ "qti-correct": Partial<QtiCorrectProps & BaseProps & BaseEvents>;
1185
+
1186
+ /**
1202
1187
  *
1203
- * ### **Events:**
1188
+ * ---
1204
1189
  *
1205
1190
  */
1206
- "qti-hottext": Partial<QtiHottextProps & BaseProps & BaseEvents>;
1191
+ "qti-equal-rounded": Partial<QtiEqualRoundedProps & BaseProps & BaseEvents>;
1207
1192
 
1208
1193
  /**
1209
1194
  *
1210
1195
  * ---
1211
1196
  *
1212
- *
1213
- * ### **Events:**
1214
- * - **qti-inline-choice-register**
1215
- * - **qti-inline-choice-select**
1216
1197
  */
1217
- "qti-inline-choice": Partial<QtiInlineChoiceProps & BaseProps & BaseEvents>;
1198
+ "qti-equal": Partial<QtiEqualProps & BaseProps & BaseEvents>;
1218
1199
 
1219
1200
  /**
1220
1201
  *
1221
1202
  * ---
1222
1203
  *
1204
+ */
1205
+ "qti-gt": Partial<QtiGtProps & BaseProps & BaseEvents>;
1206
+
1207
+ /**
1223
1208
  *
1224
- * ### **Events:**
1209
+ * ---
1225
1210
  *
1226
1211
  */
1227
- "qti-simple-associable-choice": Partial<QtiSimpleAssociableChoiceProps & BaseProps & BaseEvents>;
1212
+ "qti-gte": Partial<QtiGteProps & BaseProps & BaseEvents>;
1228
1213
 
1229
1214
  /**
1230
- * qti-order-interaction
1231
- * qti-choice-interaction
1215
+ *
1232
1216
  * ---
1233
1217
  *
1218
+ */
1219
+ "qti-is-null": Partial<QtiIsNullProps & BaseProps & BaseEvents>;
1220
+
1221
+ /**
1234
1222
  *
1235
- * ### **Events:**
1223
+ * ---
1236
1224
  *
1237
1225
  */
1238
- "qti-simple-choice": Partial<QtiSimpleChoiceProps & BaseProps & BaseEvents>;
1226
+ "qti-lt": Partial<QtiLtProps & BaseProps & BaseEvents>;
1239
1227
 
1240
1228
  /**
1241
- * 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.
1242
- * ---
1243
1229
  *
1230
+ * ---
1244
1231
  *
1245
- * ### **Slots:**
1246
- * - _default_ - item body content.
1247
- * - **qti-rubric-block** - the qti rubric block is placed above the item
1248
1232
  */
1249
- "qti-item-body": Partial<QtiItemBodyProps & BaseProps & BaseEvents>;
1233
+ "qti-lte": Partial<QtiLteProps & BaseProps & BaseEvents>;
1250
1234
 
1251
1235
  /**
1252
1236
  *
1253
1237
  * ---
1254
1238
  *
1255
1239
  */
1256
- "qti-outcome-processing": Partial<QtiOutcomeProcessingProps & BaseProps & BaseEvents>;
1240
+ "qti-map-response": Partial<QtiMapResponseProps & BaseProps & BaseEvents>;
1257
1241
 
1258
1242
  /**
1259
1243
  *
1260
1244
  * ---
1261
1245
  *
1262
1246
  */
1263
- "qti-prompt": Partial<QtiPromptProps & BaseProps & BaseEvents>;
1247
+ "qti-match": Partial<QtiMatchProps & BaseProps & BaseEvents>;
1264
1248
 
1265
1249
  /**
1266
1250
  *
1267
1251
  * ---
1268
1252
  *
1269
1253
  */
1270
- "qti-content-body": Partial<QtiContentBodyProps & BaseProps & BaseEvents>;
1254
+ "qti-member": Partial<QtiMemberProps & BaseProps & BaseEvents>;
1271
1255
 
1272
1256
  /**
1273
1257
  *
1274
1258
  * ---
1275
1259
  *
1276
1260
  */
1277
- "qti-rubric-block": Partial<QtiRubricBlockProps & BaseProps & BaseEvents>;
1261
+ "qti-not": Partial<QtiNotProps & BaseProps & BaseEvents>;
1278
1262
 
1279
1263
  /**
1280
1264
  *
1281
1265
  * ---
1282
1266
  *
1283
1267
  */
1284
- "qti-stylesheet": Partial<QtiStylesheetProps & BaseProps & BaseEvents>;
1268
+ "qti-or": Partial<QtiOrProps & BaseProps & BaseEvents>;
1285
1269
 
1286
1270
  /**
1287
1271
  *
1288
1272
  * ---
1289
1273
  *
1290
1274
  */
1291
- "qti-variabledeclaration": Partial<QtiVariableDeclarationProps & BaseProps & BaseEvents>;
1275
+ "qti-ordered": Partial<QtiOrderedProps & BaseProps & BaseEvents>;
1292
1276
 
1293
1277
  /**
1294
1278
  *
1295
1279
  * ---
1296
1280
  *
1297
- *
1298
- * ### **Events:**
1299
- * - **qti-register-feedback**
1300
1281
  */
1301
- "qti-feedback-block": Partial<QtiFeedbackBlockProps & BaseProps & BaseEvents>;
1282
+ "qti-printed-variable": Partial<QtiPrintedVariableProps & BaseProps & BaseEvents>;
1302
1283
 
1303
1284
  /**
1304
1285
  *
1305
1286
  * ---
1306
1287
  *
1307
- *
1308
- * ### **Events:**
1309
- * - **qti-register-feedback**
1310
1288
  */
1311
- "qti-feedback-inline": Partial<QtiFeedbackInlineProps & BaseProps & BaseEvents>;
1289
+ "qti-product": Partial<QtiProductProps & BaseProps & BaseEvents>;
1312
1290
 
1313
1291
  /**
1314
1292
  *
1315
1293
  * ---
1316
1294
  *
1317
- *
1318
- * ### **Events:**
1319
- * - **qti-register-feedback**
1320
1295
  */
1321
- "qti-modal-feedback": Partial<QtiModalFeedbackProps & BaseProps & BaseEvents>;
1296
+ "qti-string-match": Partial<QtiStringMatchProps & BaseProps & BaseEvents>;
1322
1297
 
1323
1298
  /**
1324
1299
  *
1325
1300
  * ---
1326
1301
  *
1327
- *
1328
- * ### **Events:**
1329
- * - **qti-register-interaction**
1330
- * - **qti-interaction-response**
1331
1302
  */
1332
- "qti-associate-interaction": Partial<QtiAssociateInteractionProps & BaseProps & BaseEvents>;
1303
+ "qti-sum": Partial<QtiSumProps & BaseProps & BaseEvents>;
1333
1304
 
1334
1305
  /**
1335
1306
  *
1336
1307
  * ---
1337
1308
  *
1338
- *
1339
- * ### **Events:**
1340
- * - **qti-register-interaction**
1341
- * - **qti-interaction-response**
1342
1309
  */
1343
- "qti-choice-interaction": Partial<QtiChoiceInteractionProps & BaseProps & BaseEvents>;
1310
+ "qti-variable": Partial<QtiVariableProps & BaseProps & BaseEvents>;
1344
1311
 
1345
1312
  /**
1346
- *
1313
+ * The qti-assessment-item element contains all the other QTI 3 item structures.
1347
1314
  * ---
1348
1315
  *
1349
1316
  *
1350
1317
  * ### **Events:**
1351
- * - **qti-register-interaction**
1352
- * - **qti-interaction-response**
1318
+ * - **name**
1319
+ * - **qti-interaction-changed** - Emitted when an interaction is changed.
1320
+ * - **qti-outcome-changed** - Emitted when an outcome has changed.
1321
+ * - **qti-response-processing** - Emitted when response-processing is called.
1322
+ *
1323
+ * ### **Slots:**
1324
+ * - _default_ - The default slot where all the other QTI 3 item structures go.
1353
1325
  */
1354
- "qti-custom-interaction": Partial<QtiCustomInteractionProps & BaseProps & BaseEvents>;
1326
+ "qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps & BaseEvents>;
1355
1327
 
1356
1328
  /**
1357
- *
1329
+ * Represents a custom element for referencing an assessment stimulus.
1358
1330
  * ---
1359
1331
  *
1360
1332
  *
1361
- * ### **Events:**
1362
- * - **end-attempt**
1363
- * - **qti-register-interaction**
1364
- * - **qti-interaction-response**
1333
+ * ### **Methods:**
1334
+ * - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
1365
1335
  */
1366
- "qti-end-attempt-interaction": Partial<QtiEndAttemptInteractionProps & BaseProps & BaseEvents>;
1336
+ "qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
1367
1337
 
1368
1338
  /**
1369
- *
1339
+ * 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.
1370
1340
  * ---
1371
1341
  *
1372
1342
  *
1373
- * ### **Events:**
1374
- * - **qti-register-interaction**
1375
- * - **qti-interaction-response**
1343
+ * ### **Slots:**
1344
+ * - _default_ - item body content.
1345
+ * - **qti-rubric-block** - the qti rubric block is placed above the item
1376
1346
  */
1377
- "qti-extended-text-interaction": Partial<QtiExtendedTextInteractionProps & BaseProps & BaseEvents>;
1347
+ "qti-item-body": Partial<QtiItemBodyProps & BaseProps & BaseEvents>;
1378
1348
 
1379
1349
  /**
1380
1350
  *
1381
1351
  * ---
1382
1352
  *
1383
- *
1384
- * ### **Events:**
1385
- * - **qti-register-interaction**
1386
- * - **qti-interaction-response**
1387
1353
  */
1388
- "qti-gap-match-interaction": Partial<QtiGapMatchInteractionProps & BaseProps & BaseEvents>;
1354
+ "qti-prompt": Partial<QtiPromptProps & BaseProps & BaseEvents>;
1389
1355
 
1390
1356
  /**
1391
1357
  *
1392
1358
  * ---
1393
1359
  *
1360
+ */
1361
+ "qti-stylesheet": Partial<QtiStylesheetProps & BaseProps & BaseEvents>;
1362
+
1363
+ /**
1364
+ *
1365
+ * ---
1394
1366
  *
1395
- * ### **Events:**
1396
- * - **qti-register-interaction**
1397
- * - **qti-interaction-response**
1398
1367
  */
1399
- "qti-graphic-associate-interaction": Partial<QtiGraphicAssociateInteractionProps & BaseProps & BaseEvents>;
1368
+ "qti-variabledeclaration": Partial<QtiVariableDeclarationProps & BaseProps & BaseEvents>;
1400
1369
 
1401
1370
  /**
1402
1371
  *
@@ -1404,10 +1373,9 @@ export type CustomElements = {
1404
1373
  *
1405
1374
  *
1406
1375
  * ### **Events:**
1407
- * - **qti-register-interaction**
1408
- * - **qti-interaction-response**
1376
+ * - **qti-register-variable**
1409
1377
  */
1410
- "qti-graphic-gap-match-interaction": Partial<QtiGraphicGapMatchInteractionProps & BaseProps & BaseEvents>;
1378
+ "qti-outcome-declaration": Partial<QtiOutcomeDeclarationProps & BaseProps & BaseEvents>;
1411
1379
 
1412
1380
  /**
1413
1381
  *
@@ -1415,32 +1383,30 @@ export type CustomElements = {
1415
1383
  *
1416
1384
  *
1417
1385
  * ### **Events:**
1418
- * - **qti-register-interaction**
1419
- * - **qti-interaction-response**
1386
+ * - **qti-register-variable**
1420
1387
  */
1421
- "qti-graphic-order-interaction": Partial<QtiGraphicOrderInteractionProps & BaseProps & BaseEvents>;
1388
+ "qti-response-declaration": Partial<QtiResponseDeclarationProps & BaseProps & BaseEvents>;
1422
1389
 
1423
1390
  /**
1424
1391
  *
1425
1392
  * ---
1426
1393
  *
1427
- *
1428
- * ### **Events:**
1429
- * - **qti-register-interaction**
1430
- * - **qti-interaction-response**
1431
1394
  */
1432
- "qti-hotspot-interaction": Partial<QtiHotspotInteractionProps & BaseProps & BaseEvents>;
1395
+ "qti-companion-materials-info": Partial<QtiCompanionMaterialsInfoProps & BaseProps & BaseEvents>;
1433
1396
 
1434
1397
  /**
1435
1398
  *
1436
1399
  * ---
1437
1400
  *
1401
+ */
1402
+ "qti-content-body": Partial<QtiContentBodyProps & BaseProps & BaseEvents>;
1403
+
1404
+ /**
1405
+ *
1406
+ * ---
1438
1407
  *
1439
- * ### **Events:**
1440
- * - **qti-register-interaction**
1441
- * - **qti-interaction-response**
1442
1408
  */
1443
- "qti-hottext-interaction": Partial<QtiHottextInteractionProps & BaseProps & BaseEvents>;
1409
+ "qti-rubric-block": Partial<QtiRubricBlockProps & BaseProps & BaseEvents>;
1444
1410
 
1445
1411
  /**
1446
1412
  *
@@ -1448,10 +1414,9 @@ export type CustomElements = {
1448
1414
  *
1449
1415
  *
1450
1416
  * ### **Events:**
1451
- * - **qti-register-interaction**
1452
- * - **qti-interaction-response**
1417
+ * - **qti-register-feedback**
1453
1418
  */
1454
- "qti-inline-choice-interaction": Partial<QtiInlineChoiceInteractionProps & BaseProps & BaseEvents>;
1419
+ "qti-feedback-block": Partial<QtiFeedbackBlockProps & BaseProps & BaseEvents>;
1455
1420
 
1456
1421
  /**
1457
1422
  *
@@ -1459,10 +1424,9 @@ export type CustomElements = {
1459
1424
  *
1460
1425
  *
1461
1426
  * ### **Events:**
1462
- * - **qti-register-interaction**
1463
- * - **qti-interaction-response**
1427
+ * - **qti-register-feedback**
1464
1428
  */
1465
- "qti-match-interaction": Partial<QtiMatchInteractionProps & BaseProps & BaseEvents>;
1429
+ "qti-feedback-inline": Partial<QtiFeedbackInlineProps & BaseProps & BaseEvents>;
1466
1430
 
1467
1431
  /**
1468
1432
  *
@@ -1470,10 +1434,9 @@ export type CustomElements = {
1470
1434
  *
1471
1435
  *
1472
1436
  * ### **Events:**
1473
- * - **qti-register-interaction**
1474
- * - **qti-interaction-response**
1437
+ * - **qti-register-feedback**
1475
1438
  */
1476
- "qti-media-interaction": Partial<QtiMediaInteractionProps & BaseProps & BaseEvents>;
1439
+ "qti-modal-feedback": Partial<QtiModalFeedbackProps & BaseProps & BaseEvents>;
1477
1440
 
1478
1441
  /**
1479
1442
  *
@@ -1484,7 +1447,7 @@ export type CustomElements = {
1484
1447
  * - **qti-register-interaction**
1485
1448
  * - **qti-interaction-response**
1486
1449
  */
1487
- "qti-order-interaction": Partial<QtiOrderInteractionProps & BaseProps & BaseEvents>;
1450
+ "qti-extended-text-interaction": Partial<QtiExtendedTextInteractionProps & BaseProps & BaseEvents>;
1488
1451
 
1489
1452
  /**
1490
1453
  *
@@ -1495,21 +1458,18 @@ export type CustomElements = {
1495
1458
  * - **qti-register-interaction**
1496
1459
  * - **qti-interaction-response**
1497
1460
  */
1498
- "qti-portable-custom-interaction": Partial<QtiPortableCustomInteractionProps & BaseProps & BaseEvents>;
1461
+ "qti-text-entry-interaction": Partial<QtiTextEntryInteractionProps & BaseProps & BaseEvents>;
1499
1462
 
1500
1463
  /**
1501
1464
  *
1502
1465
  * ---
1503
1466
  *
1504
- */
1505
- "qti-position-object-interaction": Partial<QtiSPositionObjectInteractionProps & BaseProps & BaseEvents>;
1506
-
1507
- /**
1508
- *
1509
- * ---
1510
1467
  *
1468
+ * ### **Events:**
1469
+ * - **qti-register-interaction**
1470
+ * - **qti-interaction-response**
1511
1471
  */
1512
- "qti-position-object-stage": Partial<QtiPositionObjectStageProps & BaseProps & BaseEvents>;
1472
+ "qti-hottext-interaction": Partial<QtiHottextInteractionProps & BaseProps & BaseEvents>;
1513
1473
 
1514
1474
  /**
1515
1475
  *
@@ -1520,35 +1480,18 @@ export type CustomElements = {
1520
1480
  * - **qti-register-interaction**
1521
1481
  * - **qti-interaction-response**
1522
1482
  */
1523
- "qti-select-point-interaction": Partial<QtiSelectPointInteractionProps & BaseProps & BaseEvents>;
1483
+ "qti-inline-choice-interaction": Partial<QtiInlineChoiceInteractionProps & BaseProps & BaseEvents>;
1524
1484
 
1525
1485
  /**
1526
- * The SliderInteraction.Type (qti-slider-interaction) presents the candidate with a control for selecting a numerical value between a lower and upper bound.
1486
+ * qti-order-interaction
1487
+ * qti-choice-interaction
1527
1488
  * ---
1528
1489
  *
1529
1490
  *
1530
1491
  * ### **Events:**
1531
- * - **qti-register-interaction** - emitted when the interaction wants to register itself
1532
- * - **qti-interaction-response** - emitted when the interaction changes
1533
- *
1534
- * ### **Slots:**
1535
- * - _default_ - The default slot where <qti-simple-choice> must be placed.
1536
- * - **prompt** - slot where the prompt is placed.
1537
- *
1538
- * ### **CSS Properties:**
1539
- * - **--show-value** - shows the current value while sliding _(default: undefined)_
1540
- * - **--show-ticks** - shows the ticks according to steps _(default: undefined)_
1541
- * - **--show-bounds** - shows value for lower and upper boundary _(default: undefined)_
1542
1492
  *
1543
- * ### **CSS Parts:**
1544
- * - **slider** - -- slider inluding, bounds and ticks and value, use it for paddings and margins
1545
- * - **bounds** - -- div for bounds, containing two divs for with min, and max bounds value
1546
- * - **ticks** - -- div for ticks, use lineair gradient and exposed css variables for styling
1547
- * - **rail** - -- div for rail, style according to needs
1548
- * - **knob** - -- div, should be relative or absolute
1549
- * - **value** - -- div, containing value
1550
1493
  */
1551
- "qti-slider-interaction": Partial<QtiSliderInteractionProps & BaseProps & BaseEvents>;
1494
+ "qti-simple-choice": Partial<QtiSimpleChoiceProps & BaseProps & BaseEvents>;
1552
1495
 
1553
1496
  /**
1554
1497
  *
@@ -1559,28 +1502,25 @@ export type CustomElements = {
1559
1502
  * - **qti-register-interaction**
1560
1503
  * - **qti-interaction-response**
1561
1504
  */
1562
- "qti-text-entry-interaction": Partial<QtiTextEntryInteractionProps & BaseProps & BaseEvents>;
1505
+ "qti-choice-interaction": Partial<QtiChoiceInteractionProps & BaseProps & BaseEvents>;
1563
1506
 
1564
1507
  /**
1565
1508
  *
1566
1509
  * ---
1567
1510
  *
1568
1511
  */
1569
- "qti-response-else": Partial<QtiResponseElseProps & BaseProps & BaseEvents>;
1512
+ "qti-outcome-processing": Partial<QtiOutcomeProcessingProps & BaseProps & BaseEvents>;
1570
1513
 
1571
1514
  /**
1572
1515
  *
1573
1516
  * ---
1574
1517
  *
1575
- */
1576
- "qti-response-processing": Partial<QtiResponseProcessingProps & BaseProps & BaseEvents>;
1577
-
1578
- /**
1579
- *
1580
- * ---
1581
1518
  *
1519
+ * ### **Events:**
1520
+ * - **qti-register-interaction**
1521
+ * - **qti-interaction-response**
1582
1522
  */
1583
- "qti-rule": Partial<QtiRuleProps & BaseProps & BaseEvents>;
1523
+ "qti-portable-custom-interaction": Partial<QtiPortableCustomInteractionProps & BaseProps & BaseEvents>;
1584
1524
 
1585
1525
  /**
1586
1526
  *
@@ -1588,9 +1528,9 @@ export type CustomElements = {
1588
1528
  *
1589
1529
  *
1590
1530
  * ### **Events:**
1591
- * - **qti-register-variable**
1531
+ *
1592
1532
  */
1593
- "qti-outcome-declaration": Partial<QtiOutcomeDeclarationProps & BaseProps & BaseEvents>;
1533
+ "qti-simple-associable-choice": Partial<QtiSimpleAssociableChoiceProps & BaseProps & BaseEvents>;
1594
1534
 
1595
1535
  /**
1596
1536
  *
@@ -1598,9 +1538,10 @@ export type CustomElements = {
1598
1538
  *
1599
1539
  *
1600
1540
  * ### **Events:**
1601
- * - **qti-register-variable**
1541
+ * - **qti-register-interaction**
1542
+ * - **qti-interaction-response**
1602
1543
  */
1603
- "qti-response-declaration": Partial<QtiResponseDeclarationProps & BaseProps & BaseEvents>;
1544
+ "qti-associate-interaction": Partial<QtiAssociateInteractionProps & BaseProps & BaseEvents>;
1604
1545
 
1605
1546
  /**
1606
1547
  *
@@ -1611,7 +1552,7 @@ export type CustomElements = {
1611
1552
  * - **qti-register-interaction**
1612
1553
  * - **qti-interaction-response**
1613
1554
  */
1614
- "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1555
+ "qti-custom-interaction": Partial<QtiCustomInteractionProps & BaseProps & BaseEvents>;
1615
1556
 
1616
1557
  /**
1617
1558
  *
@@ -1619,10 +1560,11 @@ export type CustomElements = {
1619
1560
  *
1620
1561
  *
1621
1562
  * ### **Events:**
1622
- * - **qti-register-interaction**
1563
+ * - **end-attempt**
1564
+ * - **qti-register-interaction**
1623
1565
  * - **qti-interaction-response**
1624
1566
  */
1625
- "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1567
+ "qti-end-attempt-interaction": Partial<QtiEndAttemptInteractionProps & BaseProps & BaseEvents>;
1626
1568
 
1627
1569
  /**
1628
1570
  *
@@ -1633,201 +1575,232 @@ export type CustomElements = {
1633
1575
  * - **qti-register-interaction**
1634
1576
  * - **qti-interaction-response**
1635
1577
  */
1636
- "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1578
+ "qti-gap-match-interaction": Partial<QtiGapMatchInteractionProps & BaseProps & BaseEvents>;
1637
1579
 
1638
1580
  /**
1639
1581
  *
1640
1582
  * ---
1641
1583
  *
1642
- */
1643
- "qti-and": Partial<QtiAndProps & BaseProps & BaseEvents>;
1644
-
1645
- /**
1646
1584
  *
1647
- * ---
1585
+ * ### **Events:**
1648
1586
  *
1649
1587
  */
1650
- "qti-base-value": Partial<QtiBaseValueProps & BaseProps & BaseEvents>;
1588
+ "qti-hotspot-choice": Partial<QtiHotspotChoiceProps & BaseProps & BaseEvents>;
1651
1589
 
1652
1590
  /**
1653
1591
  *
1654
1592
  * ---
1655
1593
  *
1656
- */
1657
- "qti-contains": Partial<QtiContainsProps & BaseProps & BaseEvents>;
1658
-
1659
- /**
1660
- *
1661
- * ---
1662
1594
  *
1595
+ * ### **Events:**
1596
+ * - **qti-register-interaction**
1597
+ * - **qti-interaction-response**
1663
1598
  */
1664
- "qti-correct": Partial<QtiCorrectProps & BaseProps & BaseEvents>;
1599
+ "qti-graphic-associate-interaction": Partial<QtiGraphicAssociateInteractionProps & BaseProps & BaseEvents>;
1665
1600
 
1666
1601
  /**
1667
1602
  *
1668
1603
  * ---
1669
1604
  *
1670
- */
1671
- "qti-equal": Partial<QtiEqualProps & BaseProps & BaseEvents>;
1672
-
1673
- /**
1674
- *
1675
- * ---
1676
1605
  *
1606
+ * ### **Events:**
1607
+ * - **qti-register-interaction**
1608
+ * - **qti-interaction-response**
1677
1609
  */
1678
- "qti-equal-rounded": Partial<QtiEqualRoundedProps & BaseProps & BaseEvents>;
1610
+ "qti-graphic-gap-match-interaction": Partial<QtiGraphicGapMatchInteractionProps & BaseProps & BaseEvents>;
1679
1611
 
1680
1612
  /**
1681
1613
  *
1682
1614
  * ---
1683
1615
  *
1616
+ *
1617
+ * ### **Events:**
1618
+ * - **qti-register-interaction**
1619
+ * - **qti-interaction-response**
1684
1620
  */
1685
- "qti-gt": Partial<QtiGtProps & BaseProps & BaseEvents>;
1621
+ "qti-graphic-order-interaction": Partial<QtiGraphicOrderInteractionProps & BaseProps & BaseEvents>;
1686
1622
 
1687
1623
  /**
1688
1624
  *
1689
1625
  * ---
1690
1626
  *
1627
+ *
1628
+ * ### **Events:**
1629
+ * - **qti-register-interaction**
1630
+ * - **qti-interaction-response**
1691
1631
  */
1692
- "qti-gte": Partial<QtiGteProps & BaseProps & BaseEvents>;
1632
+ "qti-hotspot-interaction": Partial<QtiHotspotInteractionProps & BaseProps & BaseEvents>;
1693
1633
 
1694
1634
  /**
1695
1635
  *
1696
1636
  * ---
1697
1637
  *
1638
+ *
1639
+ * ### **Events:**
1640
+ * - **qti-register-interaction**
1641
+ * - **qti-interaction-response**
1698
1642
  */
1699
- "qti-is-null": Partial<QtiIsNullProps & BaseProps & BaseEvents>;
1643
+ "qti-match-interaction": Partial<QtiMatchInteractionProps & BaseProps & BaseEvents>;
1700
1644
 
1701
1645
  /**
1702
1646
  *
1703
1647
  * ---
1704
1648
  *
1649
+ *
1650
+ * ### **Events:**
1651
+ * - **qti-register-interaction**
1652
+ * - **qti-interaction-response**
1705
1653
  */
1706
- "qti-lt": Partial<QtiLtProps & BaseProps & BaseEvents>;
1654
+ "qti-media-interaction": Partial<QtiMediaInteractionProps & BaseProps & BaseEvents>;
1707
1655
 
1708
1656
  /**
1709
1657
  *
1710
1658
  * ---
1711
1659
  *
1660
+ *
1661
+ * ### **Events:**
1662
+ * - **qti-register-interaction**
1663
+ * - **qti-interaction-response**
1712
1664
  */
1713
- "qti-lte": Partial<QtiLteProps & BaseProps & BaseEvents>;
1665
+ "qti-order-interaction": Partial<QtiOrderInteractionProps & BaseProps & BaseEvents>;
1714
1666
 
1715
1667
  /**
1716
1668
  *
1717
1669
  * ---
1718
1670
  *
1719
1671
  */
1720
- "qti-map-response": Partial<QtiMapResponseProps & BaseProps & BaseEvents>;
1672
+ "qti-position-object-interaction": Partial<QtiSPositionObjectInteractionProps & BaseProps & BaseEvents>;
1721
1673
 
1722
1674
  /**
1723
1675
  *
1724
1676
  * ---
1725
1677
  *
1726
1678
  */
1727
- "qti-mapping": Partial<QtiMappingProps & BaseProps & BaseEvents>;
1679
+ "qti-position-object-stage": Partial<QtiPositionObjectStageProps & BaseProps & BaseEvents>;
1728
1680
 
1729
1681
  /**
1730
1682
  *
1731
1683
  * ---
1732
1684
  *
1685
+ *
1686
+ * ### **Events:**
1687
+ * - **qti-register-interaction**
1688
+ * - **qti-interaction-response**
1733
1689
  */
1734
- "qti-match": Partial<QtiMatchProps & BaseProps & BaseEvents>;
1690
+ "qti-select-point-interaction": Partial<QtiSelectPointInteractionProps & BaseProps & BaseEvents>;
1735
1691
 
1736
1692
  /**
1737
- *
1693
+ * The SliderInteraction.Type (qti-slider-interaction) presents the candidate with a control for selecting a numerical value between a lower and upper bound.
1738
1694
  * ---
1739
1695
  *
1740
- */
1741
- "qti-member": Partial<QtiMemberProps & BaseProps & BaseEvents>;
1742
-
1743
- /**
1744
1696
  *
1745
- * ---
1697
+ * ### **Events:**
1698
+ * - **qti-register-interaction** - emitted when the interaction wants to register itself
1699
+ * - **qti-interaction-response** - emitted when the interaction changes
1746
1700
  *
1747
- */
1748
- "qti-multiple": Partial<QtiMultipleProps & BaseProps & BaseEvents>;
1749
-
1750
- /**
1701
+ * ### **Slots:**
1702
+ * - _default_ - The default slot where <qti-simple-choice> must be placed.
1703
+ * - **prompt** - slot where the prompt is placed.
1751
1704
  *
1752
- * ---
1705
+ * ### **CSS Properties:**
1706
+ * - **--show-value** - shows the current value while sliding _(default: undefined)_
1707
+ * - **--show-ticks** - shows the ticks according to steps _(default: undefined)_
1708
+ * - **--show-bounds** - shows value for lower and upper boundary _(default: undefined)_
1753
1709
  *
1710
+ * ### **CSS Parts:**
1711
+ * - **slider** - -- slider inluding, bounds and ticks and value, use it for paddings and margins
1712
+ * - **bounds** - -- div for bounds, containing two divs for with min, and max bounds value
1713
+ * - **ticks** - -- div for ticks, use lineair gradient and exposed css variables for styling
1714
+ * - **rail** - -- div for rail, style according to needs
1715
+ * - **knob** - -- div, should be relative or absolute
1716
+ * - **value** - -- div, containing value
1754
1717
  */
1755
- "qti-not": Partial<QtiNotProps & BaseProps & BaseEvents>;
1718
+ "qti-slider-interaction": Partial<QtiSliderInteractionProps & BaseProps & BaseEvents>;
1756
1719
 
1757
1720
  /**
1758
- *
1721
+ * https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
1722
+ * <qti-custom-operator class="js.org">
1723
+ * <qti-base-value base-type="string"><![CDATA[
1724
+ * console.log(context.variables);
1725
+ * return 'B'
1726
+ * document.querySelector('qti-end-attempt-interaction').disabled = true;
1727
+ * ]]></qti-base-value>
1728
+ * </qti-custom-operator>
1729
+ * </qti-set-outcome-value>
1759
1730
  * ---
1760
1731
  *
1732
+ *
1733
+ * ### **Events:**
1734
+ * - **qti-set-outcome-value**
1735
+ * - **qti-interaction-response**
1761
1736
  */
1762
- "qti-or": Partial<QtiOrProps & BaseProps & BaseEvents>;
1737
+ "qti-custom-operator": Partial<QtiCustomOperatorProps & BaseProps & BaseEvents>;
1763
1738
 
1764
1739
  /**
1765
1740
  *
1766
1741
  * ---
1767
1742
  *
1743
+ *
1744
+ * ### **Events:**
1745
+ * - **qti-register-hotspot**
1768
1746
  */
1769
- "qti-ordered": Partial<QtiOrderedProps & BaseProps & BaseEvents>;
1747
+ "qti-associable-hotspot": Partial<QtiAssociableHotspotProps & BaseProps & BaseEvents>;
1770
1748
 
1771
1749
  /**
1772
1750
  *
1773
1751
  * ---
1774
1752
  *
1775
1753
  */
1776
- "qti-printed-variable": Partial<QtiPrintedVariableProps & BaseProps & BaseEvents>;
1754
+ "qti-gap": Partial<QtiGapProps & BaseProps & BaseEvents>;
1777
1755
 
1778
1756
  /**
1779
1757
  *
1780
1758
  * ---
1781
1759
  *
1782
1760
  */
1783
- "qti-product": Partial<QtiProductProps & BaseProps & BaseEvents>;
1761
+ "qti-gap-img": Partial<QtiGapImgProps & BaseProps & BaseEvents>;
1784
1762
 
1785
1763
  /**
1786
1764
  *
1787
1765
  * ---
1788
1766
  *
1789
- */
1790
- "qti-string-match": Partial<QtiStringMatchProps & BaseProps & BaseEvents>;
1791
-
1792
- /**
1793
1767
  *
1794
- * ---
1768
+ * ### **Events:**
1795
1769
  *
1796
1770
  */
1797
- "qti-sum": Partial<QtiSumProps & BaseProps & BaseEvents>;
1771
+ "qti-gap-text": Partial<QtiGapTextProps & BaseProps & BaseEvents>;
1798
1772
 
1799
1773
  /**
1800
1774
  *
1801
1775
  * ---
1802
1776
  *
1803
- */
1804
- "qti-variable": Partial<QtiVariableProps & BaseProps & BaseEvents>;
1805
-
1806
- /**
1807
1777
  *
1808
- * ---
1778
+ * ### **Events:**
1809
1779
  *
1810
1780
  */
1811
- "qti-response-if": Partial<QtiResponseIfProps & BaseProps & BaseEvents>;
1781
+ "qti-hottext": Partial<QtiHottextProps & BaseProps & BaseEvents>;
1812
1782
 
1813
1783
  /**
1814
- * The lookupOutcomeValue rule sets the value of an outcome variable to the value obtained
1815
- * by looking up the value of the associated expression in the lookupTable associated
1816
- * with the outcome's declaration.
1784
+ *
1817
1785
  * ---
1818
1786
  *
1819
1787
  *
1820
1788
  * ### **Events:**
1821
- * - **qti-set-outcome-value**
1789
+ * - **qti-inline-choice-register**
1790
+ * - **qti-inline-choice-select**
1822
1791
  */
1823
- "qti-lookup-outcome-value": Partial<QtiLookupOutcomeValueProps & BaseProps & BaseEvents>;
1792
+ "qti-inline-choice": Partial<QtiInlineChoiceProps & BaseProps & BaseEvents>;
1824
1793
 
1825
1794
  /**
1826
1795
  *
1827
1796
  * ---
1828
1797
  *
1798
+ *
1799
+ * ### **Events:**
1800
+ * - **qti-register-interaction**
1801
+ * - **qti-interaction-response**
1829
1802
  */
1830
- "qti-response-condition": Partial<QtiResponseConditionProps & BaseProps & BaseEvents>;
1803
+ "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1831
1804
 
1832
1805
  /**
1833
1806
  *
@@ -1835,16 +1808,21 @@ export type CustomElements = {
1835
1808
  *
1836
1809
  *
1837
1810
  * ### **Events:**
1838
- * - **qti-set-outcome-value**
1811
+ * - **qti-register-interaction**
1812
+ * - **qti-interaction-response**
1839
1813
  */
1840
- "qti-set-outcome-value": Partial<QtiSetOutcomeValueProps & BaseProps & BaseEvents>;
1814
+ "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1841
1815
 
1842
1816
  /**
1843
1817
  *
1844
1818
  * ---
1845
1819
  *
1820
+ *
1821
+ * ### **Events:**
1822
+ * - **qti-register-interaction**
1823
+ * - **qti-interaction-response**
1846
1824
  */
1847
- "qti-response-else-if": Partial<QtiResponseElseIfProps & BaseProps & BaseEvents>;
1825
+ "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1848
1826
 
1849
1827
  /**
1850
1828
  *