@citolab/qti-components 6.9.1-beta.8 → 6.9.1-beta.81

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.
@@ -0,0 +1,1836 @@
1
+ /**
2
+ * This type can be used to create scoped tags for your components.
3
+ *
4
+ * Usage:
5
+ *
6
+ * ```ts
7
+ * import type { ScopedElements } from "path/to/library/jsx-integration";
8
+ *
9
+ * declare module "my-library" {
10
+ * namespace JSX {
11
+ * interface IntrinsicElements
12
+ * extends ScopedElements<'test-', ''> {}
13
+ * }
14
+ * }
15
+ * ```
16
+ *
17
+ */
18
+ export type ScopedElements<Prefix extends string = "", Suffix extends string = ""> = {
19
+ [Key in keyof CustomElements as `${Prefix}${Key}${Suffix}`]: CustomElements[Key];
20
+ };
21
+
22
+ type BaseProps = {
23
+ /** Content added between the opening and closing tags of the element */
24
+ children?: any;
25
+ /** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
26
+ class?: string;
27
+ /** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
28
+ className?: string;
29
+ /** Takes an object where the key is the class name(s) and the value is a boolean expression. When true, the class is applied, and when false, it is removed. */
30
+ classList?: Record<string, boolean | undefined>;
31
+ /** Specifies the text direction of the element. */
32
+ dir?: "ltr" | "rtl";
33
+ /** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
34
+ exportparts?: string;
35
+ /** For <label> and <output>, lets you associate the label with some control. */
36
+ htmlFor?: string;
37
+ /** Specifies whether the element should be hidden. */
38
+ hidden?: boolean | string;
39
+ /** A unique identifier for the element. */
40
+ id?: string;
41
+ /** Keys tell React which array item each component corresponds to */
42
+ key?: string | number;
43
+ /** Specifies the language of the element. */
44
+ lang?: string;
45
+ /** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
46
+ part?: string;
47
+ /** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
48
+ ref?: unknown | ((e: unknown) => void);
49
+ /** Adds a reference for a custom element slot */
50
+ slot?: string;
51
+ /** Prop for setting inline styles */
52
+ style?: Record<string, string | number>;
53
+ /** Overrides the default Tab button behavior. Avoid using values other than -1 and 0. */
54
+ tabIndex?: number;
55
+ /** Specifies the tooltip text for the element. */
56
+ title?: string;
57
+ /** Passing 'no' excludes the element content from being translated. */
58
+ translate?: "yes" | "no";
59
+ };
60
+
61
+ type BaseEvents = {};
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
+
226
+ export type QtiAssessmentItemProps = {
227
+ /** */
228
+ title?: string;
229
+ /** */
230
+ identifier?: string;
231
+ /** */
232
+ adaptive?: "true" | "false";
233
+ /** */
234
+ timeDependent?: "true" | "false" | null;
235
+ /** */
236
+ disabled?: boolean;
237
+ /** */
238
+ readonly?: boolean;
239
+ /** */
240
+ _handleDisabledChange?: string;
241
+ /** */
242
+ _handleReadonlyChange?: string;
243
+ /** */
244
+ variables?: VariableValue<string | string[] | null>[];
245
+ /** @deprecated use variables property instead */
246
+ responses?: string;
247
+ /** */
248
+ onname?: (e: CustomEvent<CustomEvent>) => void;
249
+ /** Emitted when an interaction is changed. */
250
+ "onqti-interaction-changed"?: (e: CustomEvent<never>) => void;
251
+ /** Emitted when an outcome has changed. */
252
+ "onqti-outcome-changed"?: (e: CustomEvent<never>) => void;
253
+ /** Emitted when response-processing is called. */
254
+ "onqti-response-processing"?: (e: CustomEvent<never>) => void;
255
+ };
256
+
257
+ export type QtiAssessmentStimulusRefProps = {
258
+ /** The identifier of the stimulus. */
259
+ identifier?: string;
260
+ /** The href of the stimulus. */
261
+ href?: string;
262
+ };
263
+
264
+ export type QtiItemBodyProps = {};
265
+
266
+ export type QtiPromptProps = {};
267
+
268
+ export type QtiStylesheetProps = {};
269
+
270
+ export type QtiVariableDeclarationProps = {};
271
+
272
+ export type QtiOutcomeDeclarationProps = {
273
+ /** */
274
+ "base-type"?: BaseType;
275
+ /** */
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;
287
+ };
288
+
289
+ export type QtiResponseDeclarationProps = {
290
+ /** */
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;
300
+ };
301
+
302
+ export type QtiCompanionMaterialsInfoProps = {};
303
+
304
+ export type QtiContentBodyProps = {};
305
+
306
+ export type QtiRubricBlockProps = {
307
+ /** */
308
+ id?: string;
309
+ /** */
310
+ use?: "instructions" | "scoring" | "navigation";
311
+ /** */
312
+ view?: "author" | "candidate" | "proctor" | "scorer" | "testConstructor" | "tutor";
313
+ /** */
314
+ class?: string;
315
+ };
316
+
317
+ export type QtiFeedbackBlockProps = {
318
+ /** */
319
+ "show-hide"?: string;
320
+ /** */
321
+ "outcome-identifier"?: string;
322
+ /** */
323
+ identifier?: string;
324
+ /** */
325
+ showStatus?: string;
326
+ /** */
327
+ "onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
328
+ };
329
+
330
+ export type QtiFeedbackInlineProps = {
331
+ /** */
332
+ "show-hide"?: string;
333
+ /** */
334
+ "outcome-identifier"?: string;
335
+ /** */
336
+ identifier?: string;
337
+ /** */
338
+ showStatus?: string;
339
+ /** */
340
+ "onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
341
+ };
342
+
343
+ export type QtiModalFeedbackProps = {
344
+ /** */
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;
354
+ };
355
+
356
+ export type QtiExtendedTextInteractionProps = {
357
+ /** expected length is mapped to the property maxlength on the textarea */
358
+ "expected-length"?: number;
359
+ /** */
360
+ "pattern-mask"?: string;
361
+ /** text appearing in the extended-text-nteraction if it is empty */
362
+ "placeholder-text"?: string;
363
+ /** */
364
+ "data-patternmask-message"?: string;
365
+ /** */
366
+ class?: string;
367
+ /** */
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;
373
+ /** */
374
+ value?: string | string[];
375
+ /** */
376
+ correctResponse?: string | string[];
377
+ /** */
378
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
379
+ /** */
380
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
381
+ };
382
+
383
+ export type QtiTextEntryInteractionProps = {
384
+ /** */
385
+ "expected-length"?: number;
386
+ /** */
387
+ "pattern-mask"?: string;
388
+ /** */
389
+ "placeholder-text"?: string;
390
+ /** */
391
+ "data-patternmask-message"?: string;
392
+ /** */
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;
398
+ /** */
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;
408
+ };
409
+
410
+ export type QtiHottextInteractionProps = {
411
+ /** */
412
+ "min-choices"?: number;
413
+ /** */
414
+ "max-choices"?: number;
415
+ /** */
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;
429
+ };
430
+
431
+ export type QtiInlineChoiceInteractionProps = {
432
+ /** */
433
+ "data-prompt"?: string;
434
+ /** */
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;
440
+ /** */
441
+ options?: OptionType[];
442
+ /** */
443
+ correctOption?: string;
444
+ /** */
445
+ value?: string | string[];
446
+ /** */
447
+ correctResponse?: string | string[];
448
+ /** */
449
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
450
+ /** */
451
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
452
+ };
453
+
454
+ export type QtiSimpleChoiceProps = {
455
+ /** */
456
+ identifier?: string;
457
+ /** */
458
+ tabindex?: number;
459
+ /** */
460
+ "aria-disabled"?: boolean;
461
+ /** */
462
+ "aria-readonly"?: boolean;
463
+ /** */
464
+ marker?: string;
465
+ /** */
466
+ checked?: string;
467
+ /** */
468
+ internals?: ElementInternals;
469
+ /** */
470
+ onundefined?: (e: CustomEvent<CustomEvent>) => void;
471
+ };
472
+
473
+ export type QtiChoiceInteractionProps = {
474
+ /** orientation of choices */
475
+ orientation?: Orientation;
476
+ /** */
477
+ class?: string;
478
+ /** */
479
+ shuffle?: boolean;
480
+ /** */
481
+ "min-choices"?: number;
482
+ /** */
483
+ "max-choices"?: number;
484
+ /** */
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;
490
+ /** */
491
+ role?: string;
492
+ /** */
493
+ value?: string | string[];
494
+ /** */
495
+ correctResponse?: string | string[];
496
+ /** */
497
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
498
+ /** */
499
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
500
+ };
501
+
502
+ export type QtiOutcomeProcessingProps = {};
503
+
504
+ export type QtiPortableCustomInteractionProps = {
505
+ /** */
506
+ module?: string;
507
+ /** */
508
+ "custom-interaction-type-identifier"?: string;
509
+ /** */
510
+ "response-identifier"?: string;
511
+ /** disabled should be exposed to the attributes and accessible as property */
512
+ disabled?: boolean;
513
+ /** readonly should be exposed to the attributes and accessible as property */
514
+ readonly?: boolean;
515
+ /** */
516
+ value?: string | string[];
517
+ /** */
518
+ loadConfig?: string;
519
+ /** */
520
+ getResolvablePathString?: string;
521
+ /** */
522
+ getResolvablePath?: string;
523
+ /** */
524
+ correctResponse?: string | string[];
525
+ /** */
526
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
527
+ /** */
528
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
529
+ };
530
+
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;
536
+ /** */
537
+ fixed?: boolean;
538
+ /** */
539
+ identifier?: string;
540
+ /** */
541
+ tabindex?: number;
542
+ /** */
543
+ "aria-disabled"?: boolean;
544
+ /** */
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;
557
+ /** disabled should be exposed to the attributes and accessible as property */
558
+ disabled?: boolean;
559
+ /** */
560
+ "response-identifier"?: string;
561
+ /** readonly should be exposed to the attributes and accessible as property */
562
+ readonly?: boolean;
563
+ /** */
564
+ dragDropApi?: TouchDragAndDrop;
565
+ /** */
566
+ configuration?: InteractionConfiguration;
567
+ /** */
568
+ value?: string | string[];
569
+ /** */
570
+ correctResponse?: string | string[];
571
+ /** */
572
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
573
+ /** */
574
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
575
+ };
576
+
577
+ export type QtiCustomInteractionProps = {
578
+ /** */
579
+ data?: string;
580
+ /** */
581
+ "data-base-item"?: string;
582
+ /** */
583
+ "data-base-ref"?: string;
584
+ /** */
585
+ id?: string;
586
+ /** */
587
+ "response-identifier"?: string;
588
+ /** disabled should be exposed to the attributes and accessible as property */
589
+ disabled?: boolean;
590
+ /** readonly should be exposed to the attributes and accessible as property */
591
+ readonly?: boolean;
592
+ /** */
593
+ manifest?: {
594
+ script: string[];
595
+ style: string[];
596
+ media: string[];
597
+ };
598
+ /** */
599
+ value?: string | string[];
600
+ /** */
601
+ correctResponse?: string | string[];
602
+ /** */
603
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
604
+ /** */
605
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
606
+ };
607
+
608
+ export type QtiEndAttemptInteractionProps = {
609
+ /** */
610
+ "count-attempt"?: string;
611
+ /** */
612
+ title?: "end attempt";
613
+ /** */
614
+ "response-identifier"?: string;
615
+ /** disabled should be exposed to the attributes and accessible as property */
616
+ disabled?: boolean;
617
+ /** readonly should be exposed to the attributes and accessible as property */
618
+ readonly?: boolean;
619
+ /** */
620
+ value?: string | string[];
621
+ /** */
622
+ correctResponse?: string | string[];
623
+ /** */
624
+ "onend-attempt"?: (e: CustomEvent<CustomEvent>) => void;
625
+ /** */
626
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
627
+ /** */
628
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
629
+ };
630
+
631
+ export type QtiGapMatchInteractionProps = {
632
+ /** */
633
+ "min-associations"?: number;
634
+ /** */
635
+ "max-associations"?: number;
636
+ /** disabled should be exposed to the attributes and accessible as property */
637
+ disabled?: boolean;
638
+ /** */
639
+ "response-identifier"?: string;
640
+ /** readonly should be exposed to the attributes and accessible as property */
641
+ readonly?: boolean;
642
+ /** */
643
+ correctResponse?: string | string[];
644
+ /** */
645
+ dragDropApi?: TouchDragAndDrop;
646
+ /** */
647
+ configuration?: InteractionConfiguration;
648
+ /** */
649
+ value?: string | string[];
650
+ /** */
651
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
652
+ /** */
653
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
654
+ };
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
+
673
+ export type QtiGraphicAssociateInteractionProps = {
674
+ /** */
675
+ "response-identifier"?: string;
676
+ /** disabled should be exposed to the attributes and accessible as property */
677
+ disabled?: boolean;
678
+ /** readonly should be exposed to the attributes and accessible as property */
679
+ readonly?: boolean;
680
+ /** */
681
+ choiceOrdering?: boolean;
682
+ /** */
683
+ hotspots?: string;
684
+ /** */
685
+ startPoint?: null;
686
+ /** */
687
+ endPoint?: null;
688
+ /** */
689
+ _lines?: array;
690
+ /** */
691
+ startCoord?: { x: any; y: any };
692
+ /** */
693
+ mouseCoord?: { x: number; y: number };
694
+ /** */
695
+ svgContainer?: string;
696
+ /** */
697
+ grImage?: string;
698
+ /** */
699
+ svg?: SVGSVGElement;
700
+ /** */
701
+ value?: string | string[];
702
+ /** */
703
+ correctResponse?: string | string[];
704
+ /** */
705
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
706
+ /** */
707
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
708
+ };
709
+
710
+ export type QtiGraphicGapMatchInteractionProps = {
711
+ /** */
712
+ "min-associations"?: number;
713
+ /** */
714
+ "max-associations"?: number;
715
+ /** disabled should be exposed to the attributes and accessible as property */
716
+ disabled?: boolean;
717
+ /** */
718
+ "response-identifier"?: string;
719
+ /** readonly should be exposed to the attributes and accessible as property */
720
+ readonly?: boolean;
721
+ /** */
722
+ dragDropApi?: TouchDragAndDrop;
723
+ /** */
724
+ configuration?: InteractionConfiguration;
725
+ /** */
726
+ value?: string | string[];
727
+ /** */
728
+ correctResponse?: string | string[];
729
+ /** */
730
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
731
+ /** */
732
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
733
+ };
734
+
735
+ export type QtiGraphicOrderInteractionProps = {
736
+ /** */
737
+ "min-choices"?: number;
738
+ /** */
739
+ "max-choices"?: number;
740
+ /** */
741
+ "response-identifier"?: string;
742
+ /** disabled should be exposed to the attributes and accessible as property */
743
+ disabled?: boolean;
744
+ /** readonly should be exposed to the attributes and accessible as property */
745
+ readonly?: boolean;
746
+ /** */
747
+ choiceOrdering?: boolean;
748
+ /** */
749
+ value?: string | string[];
750
+ /** */
751
+ correctResponse?: string | string[];
752
+ /** */
753
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
754
+ /** */
755
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
756
+ };
757
+
758
+ export type QtiHotspotInteractionProps = {
759
+ /** */
760
+ "min-choices"?: number;
761
+ /** */
762
+ "max-choices"?: number;
763
+ /** */
764
+ "response-identifier"?: string;
765
+ /** disabled should be exposed to the attributes and accessible as property */
766
+ disabled?: boolean;
767
+ /** readonly should be exposed to the attributes and accessible as property */
768
+ readonly?: boolean;
769
+ /** */
770
+ value?: string | string[];
771
+ /** */
772
+ correctResponse?: string | string[];
773
+ /** */
774
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
775
+ /** */
776
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
777
+ };
778
+
779
+ export type QtiMatchInteractionProps = {
780
+ /** */
781
+ "response-identifier"?: string;
782
+ /** */
783
+ "min-associations"?: number;
784
+ /** */
785
+ "max-associations"?: number;
786
+ /** disabled should be exposed to the attributes and accessible as property */
787
+ disabled?: boolean;
788
+ /** readonly should be exposed to the attributes and accessible as property */
789
+ readonly?: boolean;
790
+ /** */
791
+ rows?: QtiSimpleAssociableChoice[];
792
+ /** */
793
+ cols?: QtiSimpleAssociableChoice[];
794
+ /** */
795
+ lastCheckedRadio?: HTMLInputElement | null;
796
+ /** */
797
+ _response?: string | string[];
798
+ /** */
799
+ value?: string | string[];
800
+ /** */
801
+ correctOptions?: string[];
802
+ /** */
803
+ handleRadioClick?: string;
804
+ /** */
805
+ handleRadioChange?: string;
806
+ /** */
807
+ correctResponse?: string | string[];
808
+ /** */
809
+ dragDropApi?: TouchDragAndDrop;
810
+ /** */
811
+ configuration?: InteractionConfiguration;
812
+ /** */
813
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
814
+ /** */
815
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
816
+ };
817
+
818
+ export type QtiMediaInteractionProps = {
819
+ /** */
820
+ "response-identifier"?: string;
821
+ /** disabled should be exposed to the attributes and accessible as property */
822
+ disabled?: boolean;
823
+ /** readonly should be exposed to the attributes and accessible as property */
824
+ readonly?: boolean;
825
+ /** */
826
+ value?: string | string[];
827
+ /** */
828
+ correctResponse?: string | string[];
829
+ /** */
830
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
831
+ /** */
832
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
833
+ };
834
+
835
+ export type QtiOrderInteractionProps = {
836
+ /** orientation of choices */
837
+ orientation?: "horizontal" | "vertical";
838
+ /** */
839
+ shuffle?: boolean;
840
+ /** */
841
+ "min-associations"?: number;
842
+ /** */
843
+ "max-associations"?: number;
844
+ /** disabled should be exposed to the attributes and accessible as property */
845
+ disabled?: boolean;
846
+ /** */
847
+ "response-identifier"?: string;
848
+ /** readonly should be exposed to the attributes and accessible as property */
849
+ readonly?: boolean;
850
+ /** */
851
+ childrenMap?: Element[];
852
+ /** */
853
+ nrChoices?: number;
854
+ /** */
855
+ correctResponses?: string[];
856
+ /** */
857
+ showCorrectResponses?: boolean;
858
+ /** */
859
+ correctResponse?: string | string[];
860
+ /** */
861
+ dragDropApi?: TouchDragAndDrop;
862
+ /** */
863
+ configuration?: InteractionConfiguration;
864
+ /** */
865
+ value?: string | string[];
866
+ /** */
867
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
868
+ /** */
869
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
870
+ };
871
+
872
+ export type QtiSPositionObjectInteractionProps = {};
873
+
874
+ export type QtiPositionObjectStageProps = {
875
+ /** */
876
+ choiceOrdering?: boolean;
877
+ /** */
878
+ startX?: any;
879
+ /** */
880
+ startY?: any;
881
+ /** */
882
+ dragElement?: any;
883
+ };
884
+
885
+ export type QtiSelectPointInteractionProps = {
886
+ /** */
887
+ "max-choices"?: number;
888
+ /** */
889
+ "min-choices"?: number;
890
+ /** */
891
+ "response-identifier"?: string;
892
+ /** disabled should be exposed to the attributes and accessible as property */
893
+ disabled?: boolean;
894
+ /** readonly should be exposed to the attributes and accessible as property */
895
+ readonly?: boolean;
896
+ /** */
897
+ value?: string | string[];
898
+ /** */
899
+ correctResponse?: string | string[];
900
+ /** */
901
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
902
+ /** */
903
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
904
+ };
905
+
906
+ export type QtiSliderInteractionProps = {
907
+ /** */
908
+ "step-label"?: boolean;
909
+ /** */
910
+ reverse?: boolean;
911
+ /** */
912
+ "lower-bound"?: number;
913
+ /** */
914
+ "upper-bound"?: number;
915
+ /** */
916
+ step?: number;
917
+ /** */
918
+ "response-identifier"?: string;
919
+ /** disabled should be exposed to the attributes and accessible as property */
920
+ disabled?: boolean;
921
+ /** readonly should be exposed to the attributes and accessible as property */
922
+ readonly?: boolean;
923
+ /** */
924
+ csLive?: CSSStyleDeclaration;
925
+ /** */
926
+ _handleDisabledChange?: string;
927
+ /** */
928
+ _handleReadonlyChange?: string;
929
+ /** */
930
+ value?: string | string[];
931
+ /** */
932
+ response?: string;
933
+ /** */
934
+ correctResponse?: string | string[];
935
+ /** emitted when the interaction wants to register itself */
936
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
937
+ /** emitted when the interaction changes */
938
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
939
+ };
940
+
941
+ export type QtiCustomOperatorProps = {
942
+ /** */
943
+ "onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
944
+ /** */
945
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
946
+ };
947
+
948
+ export type QtiAssociableHotspotProps = {
949
+ /** */
950
+ "onqti-register-hotspot"?: (e: CustomEvent<CustomEvent>) => void;
951
+ };
952
+
953
+ export type QtiGapProps = {
954
+ /** */
955
+ tabindex?: number | undefined;
956
+ };
957
+
958
+ export type QtiGapImgProps = {
959
+ /** */
960
+ tabindex?: number | undefined;
961
+ };
962
+
963
+ export type QtiGapTextProps = {
964
+ /** */
965
+ tabindex?: number;
966
+ /** */
967
+ identifier?: string;
968
+ /** */
969
+ "aria-disabled"?: boolean;
970
+ /** */
971
+ "aria-readonly"?: boolean;
972
+ /** */
973
+ internals?: ElementInternals;
974
+ /** */
975
+ onundefined?: (e: CustomEvent<CustomEvent>) => void;
976
+ };
977
+
978
+ export type QtiHottextProps = {
979
+ /** */
980
+ identifier?: string;
981
+ /** */
982
+ tabindex?: number;
983
+ /** */
984
+ "aria-disabled"?: boolean;
985
+ /** */
986
+ "aria-readonly"?: boolean;
987
+ /** */
988
+ internals?: ElementInternals;
989
+ /** */
990
+ onundefined?: (e: CustomEvent<CustomEvent>) => void;
991
+ };
992
+
993
+ export type QtiInlineChoiceProps = {
994
+ /** */
995
+ identifier?: string;
996
+
997
+ /** */
998
+ "onqti-inline-choice-register"?: (e: CustomEvent<CustomEvent>) => void;
999
+ /** */
1000
+ "onqti-inline-choice-select"?: (e: CustomEvent<CustomEvent>) => void;
1001
+ };
1002
+
1003
+ export type TestElementProps = {
1004
+ /** */
1005
+ class?: string;
1006
+ /** */
1007
+ shuffle?: boolean;
1008
+ /** */
1009
+ "response-identifier"?: string;
1010
+ /** disabled should be exposed to the attributes and accessible as property */
1011
+ disabled?: boolean;
1012
+ /** readonly should be exposed to the attributes and accessible as property */
1013
+ readonly?: boolean;
1014
+ /** */
1015
+ value?: string | string[];
1016
+ /** */
1017
+ correctResponse?: string | string[];
1018
+ /** */
1019
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
1020
+ /** */
1021
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
1022
+ };
1023
+
1024
+ export type TestElementProps = {
1025
+ /** */
1026
+ class?: string;
1027
+ /** */
1028
+ shuffle?: boolean;
1029
+ /** */
1030
+ "response-identifier"?: string;
1031
+ /** disabled should be exposed to the attributes and accessible as property */
1032
+ disabled?: boolean;
1033
+ /** readonly should be exposed to the attributes and accessible as property */
1034
+ readonly?: boolean;
1035
+ /** */
1036
+ value?: string | string[];
1037
+ /** */
1038
+ correctResponse?: string | string[];
1039
+ /** */
1040
+ "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
1041
+ /** */
1042
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
1043
+ };
1044
+
1045
+ export type TestElementProps = {
1046
+ /** */
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;
1064
+ };
1065
+
1066
+ export type QtiItemProps = {
1067
+ /** */
1068
+ identifier?: string | undefined;
1069
+ /** */
1070
+ href?: string | undefined;
1071
+ /** */
1072
+ xmlDoc?: DocumentFragment;
1073
+ /** */
1074
+ assessmentItem?: QtiAssessmentItem | null;
1075
+ /** */
1076
+ "onqti-item-connected"?: (e: CustomEvent<CustomEvent>) => void;
1077
+ };
1078
+
1079
+ export type CustomElements = {
1080
+ /**
1081
+ *
1082
+ * ---
1083
+ *
1084
+ */
1085
+ "qti-mapping": Partial<QtiMappingProps & BaseProps & BaseEvents>;
1086
+
1087
+ /**
1088
+ *
1089
+ * ---
1090
+ *
1091
+ */
1092
+ "qti-rule": Partial<QtiRuleProps & BaseProps & BaseEvents>;
1093
+
1094
+ /**
1095
+ *
1096
+ * ---
1097
+ *
1098
+ */
1099
+ "qti-response-processing": Partial<QtiResponseProcessingProps & BaseProps & BaseEvents>;
1100
+
1101
+ /**
1102
+ *
1103
+ * ---
1104
+ *
1105
+ */
1106
+ "qti-multiple": Partial<QtiMultipleProps & BaseProps & BaseEvents>;
1107
+
1108
+ /**
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.
1112
+ * ---
1113
+ *
1114
+ *
1115
+ * ### **Events:**
1116
+ * - **qti-set-outcome-value**
1117
+ */
1118
+ "qti-lookup-outcome-value": Partial<QtiLookupOutcomeValueProps & BaseProps & BaseEvents>;
1119
+
1120
+ /**
1121
+ *
1122
+ * ---
1123
+ *
1124
+ */
1125
+ "qti-response-condition": Partial<QtiResponseConditionProps & BaseProps & BaseEvents>;
1126
+
1127
+ /**
1128
+ *
1129
+ * ---
1130
+ *
1131
+ *
1132
+ * ### **Events:**
1133
+ * - **qti-set-outcome-value**
1134
+ */
1135
+ "qti-set-outcome-value": Partial<QtiSetOutcomeValueProps & BaseProps & BaseEvents>;
1136
+
1137
+ /**
1138
+ *
1139
+ * ---
1140
+ *
1141
+ */
1142
+ "qti-response-else": Partial<QtiResponseElseProps & BaseProps & BaseEvents>;
1143
+
1144
+ /**
1145
+ *
1146
+ * ---
1147
+ *
1148
+ */
1149
+ "qti-response-if": Partial<QtiResponseIfProps & BaseProps & BaseEvents>;
1150
+
1151
+ /**
1152
+ *
1153
+ * ---
1154
+ *
1155
+ */
1156
+ "qti-response-else-if": Partial<QtiResponseElseIfProps & BaseProps & BaseEvents>;
1157
+
1158
+ /**
1159
+ *
1160
+ * ---
1161
+ *
1162
+ */
1163
+ "qti-and": Partial<QtiAndProps & BaseProps & BaseEvents>;
1164
+
1165
+ /**
1166
+ *
1167
+ * ---
1168
+ *
1169
+ */
1170
+ "qti-base-value": Partial<QtiBaseValueProps & BaseProps & BaseEvents>;
1171
+
1172
+ /**
1173
+ *
1174
+ * ---
1175
+ *
1176
+ */
1177
+ "qti-contains": Partial<QtiContainsProps & BaseProps & BaseEvents>;
1178
+
1179
+ /**
1180
+ *
1181
+ * ---
1182
+ *
1183
+ */
1184
+ "qti-correct": Partial<QtiCorrectProps & BaseProps & BaseEvents>;
1185
+
1186
+ /**
1187
+ *
1188
+ * ---
1189
+ *
1190
+ */
1191
+ "qti-equal-rounded": Partial<QtiEqualRoundedProps & BaseProps & BaseEvents>;
1192
+
1193
+ /**
1194
+ *
1195
+ * ---
1196
+ *
1197
+ */
1198
+ "qti-equal": Partial<QtiEqualProps & BaseProps & BaseEvents>;
1199
+
1200
+ /**
1201
+ *
1202
+ * ---
1203
+ *
1204
+ */
1205
+ "qti-gt": Partial<QtiGtProps & BaseProps & BaseEvents>;
1206
+
1207
+ /**
1208
+ *
1209
+ * ---
1210
+ *
1211
+ */
1212
+ "qti-gte": Partial<QtiGteProps & BaseProps & BaseEvents>;
1213
+
1214
+ /**
1215
+ *
1216
+ * ---
1217
+ *
1218
+ */
1219
+ "qti-is-null": Partial<QtiIsNullProps & BaseProps & BaseEvents>;
1220
+
1221
+ /**
1222
+ *
1223
+ * ---
1224
+ *
1225
+ */
1226
+ "qti-lt": Partial<QtiLtProps & BaseProps & BaseEvents>;
1227
+
1228
+ /**
1229
+ *
1230
+ * ---
1231
+ *
1232
+ */
1233
+ "qti-lte": Partial<QtiLteProps & BaseProps & BaseEvents>;
1234
+
1235
+ /**
1236
+ *
1237
+ * ---
1238
+ *
1239
+ */
1240
+ "qti-map-response": Partial<QtiMapResponseProps & BaseProps & BaseEvents>;
1241
+
1242
+ /**
1243
+ *
1244
+ * ---
1245
+ *
1246
+ */
1247
+ "qti-match": Partial<QtiMatchProps & BaseProps & BaseEvents>;
1248
+
1249
+ /**
1250
+ *
1251
+ * ---
1252
+ *
1253
+ */
1254
+ "qti-member": Partial<QtiMemberProps & BaseProps & BaseEvents>;
1255
+
1256
+ /**
1257
+ *
1258
+ * ---
1259
+ *
1260
+ */
1261
+ "qti-not": Partial<QtiNotProps & BaseProps & BaseEvents>;
1262
+
1263
+ /**
1264
+ *
1265
+ * ---
1266
+ *
1267
+ */
1268
+ "qti-or": Partial<QtiOrProps & BaseProps & BaseEvents>;
1269
+
1270
+ /**
1271
+ *
1272
+ * ---
1273
+ *
1274
+ */
1275
+ "qti-ordered": Partial<QtiOrderedProps & BaseProps & BaseEvents>;
1276
+
1277
+ /**
1278
+ *
1279
+ * ---
1280
+ *
1281
+ */
1282
+ "qti-printed-variable": Partial<QtiPrintedVariableProps & BaseProps & BaseEvents>;
1283
+
1284
+ /**
1285
+ *
1286
+ * ---
1287
+ *
1288
+ */
1289
+ "qti-product": Partial<QtiProductProps & BaseProps & BaseEvents>;
1290
+
1291
+ /**
1292
+ *
1293
+ * ---
1294
+ *
1295
+ */
1296
+ "qti-string-match": Partial<QtiStringMatchProps & BaseProps & BaseEvents>;
1297
+
1298
+ /**
1299
+ *
1300
+ * ---
1301
+ *
1302
+ */
1303
+ "qti-sum": Partial<QtiSumProps & BaseProps & BaseEvents>;
1304
+
1305
+ /**
1306
+ *
1307
+ * ---
1308
+ *
1309
+ */
1310
+ "qti-variable": Partial<QtiVariableProps & BaseProps & BaseEvents>;
1311
+
1312
+ /**
1313
+ * The qti-assessment-item element contains all the other QTI 3 item structures.
1314
+ * ---
1315
+ *
1316
+ *
1317
+ * ### **Events:**
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.
1325
+ */
1326
+ "qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps & BaseEvents>;
1327
+
1328
+ /**
1329
+ * Represents a custom element for referencing an assessment stimulus.
1330
+ * ---
1331
+ *
1332
+ *
1333
+ * ### **Methods:**
1334
+ * - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
1335
+ */
1336
+ "qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
1337
+
1338
+ /**
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.
1340
+ * ---
1341
+ *
1342
+ *
1343
+ * ### **Slots:**
1344
+ * - _default_ - item body content.
1345
+ * - **qti-rubric-block** - the qti rubric block is placed above the item
1346
+ */
1347
+ "qti-item-body": Partial<QtiItemBodyProps & BaseProps & BaseEvents>;
1348
+
1349
+ /**
1350
+ *
1351
+ * ---
1352
+ *
1353
+ */
1354
+ "qti-prompt": Partial<QtiPromptProps & BaseProps & BaseEvents>;
1355
+
1356
+ /**
1357
+ *
1358
+ * ---
1359
+ *
1360
+ */
1361
+ "qti-stylesheet": Partial<QtiStylesheetProps & BaseProps & BaseEvents>;
1362
+
1363
+ /**
1364
+ *
1365
+ * ---
1366
+ *
1367
+ */
1368
+ "qti-variabledeclaration": Partial<QtiVariableDeclarationProps & BaseProps & BaseEvents>;
1369
+
1370
+ /**
1371
+ *
1372
+ * ---
1373
+ *
1374
+ *
1375
+ * ### **Events:**
1376
+ * - **qti-register-variable**
1377
+ */
1378
+ "qti-outcome-declaration": Partial<QtiOutcomeDeclarationProps & BaseProps & BaseEvents>;
1379
+
1380
+ /**
1381
+ *
1382
+ * ---
1383
+ *
1384
+ *
1385
+ * ### **Events:**
1386
+ * - **qti-register-variable**
1387
+ */
1388
+ "qti-response-declaration": Partial<QtiResponseDeclarationProps & BaseProps & BaseEvents>;
1389
+
1390
+ /**
1391
+ *
1392
+ * ---
1393
+ *
1394
+ */
1395
+ "qti-companion-materials-info": Partial<QtiCompanionMaterialsInfoProps & BaseProps & BaseEvents>;
1396
+
1397
+ /**
1398
+ *
1399
+ * ---
1400
+ *
1401
+ */
1402
+ "qti-content-body": Partial<QtiContentBodyProps & BaseProps & BaseEvents>;
1403
+
1404
+ /**
1405
+ *
1406
+ * ---
1407
+ *
1408
+ */
1409
+ "qti-rubric-block": Partial<QtiRubricBlockProps & BaseProps & BaseEvents>;
1410
+
1411
+ /**
1412
+ *
1413
+ * ---
1414
+ *
1415
+ *
1416
+ * ### **Events:**
1417
+ * - **qti-register-feedback**
1418
+ */
1419
+ "qti-feedback-block": Partial<QtiFeedbackBlockProps & BaseProps & BaseEvents>;
1420
+
1421
+ /**
1422
+ *
1423
+ * ---
1424
+ *
1425
+ *
1426
+ * ### **Events:**
1427
+ * - **qti-register-feedback**
1428
+ */
1429
+ "qti-feedback-inline": Partial<QtiFeedbackInlineProps & BaseProps & BaseEvents>;
1430
+
1431
+ /**
1432
+ *
1433
+ * ---
1434
+ *
1435
+ *
1436
+ * ### **Events:**
1437
+ * - **qti-register-feedback**
1438
+ */
1439
+ "qti-modal-feedback": Partial<QtiModalFeedbackProps & BaseProps & BaseEvents>;
1440
+
1441
+ /**
1442
+ *
1443
+ * ---
1444
+ *
1445
+ *
1446
+ * ### **Events:**
1447
+ * - **qti-register-interaction**
1448
+ * - **qti-interaction-response**
1449
+ */
1450
+ "qti-extended-text-interaction": Partial<QtiExtendedTextInteractionProps & BaseProps & BaseEvents>;
1451
+
1452
+ /**
1453
+ *
1454
+ * ---
1455
+ *
1456
+ *
1457
+ * ### **Events:**
1458
+ * - **qti-register-interaction**
1459
+ * - **qti-interaction-response**
1460
+ */
1461
+ "qti-text-entry-interaction": Partial<QtiTextEntryInteractionProps & BaseProps & BaseEvents>;
1462
+
1463
+ /**
1464
+ *
1465
+ * ---
1466
+ *
1467
+ *
1468
+ * ### **Events:**
1469
+ * - **qti-register-interaction**
1470
+ * - **qti-interaction-response**
1471
+ */
1472
+ "qti-hottext-interaction": Partial<QtiHottextInteractionProps & BaseProps & BaseEvents>;
1473
+
1474
+ /**
1475
+ *
1476
+ * ---
1477
+ *
1478
+ *
1479
+ * ### **Events:**
1480
+ * - **qti-register-interaction**
1481
+ * - **qti-interaction-response**
1482
+ */
1483
+ "qti-inline-choice-interaction": Partial<QtiInlineChoiceInteractionProps & BaseProps & BaseEvents>;
1484
+
1485
+ /**
1486
+ * qti-order-interaction
1487
+ * qti-choice-interaction
1488
+ * ---
1489
+ *
1490
+ *
1491
+ * ### **Events:**
1492
+ *
1493
+ */
1494
+ "qti-simple-choice": Partial<QtiSimpleChoiceProps & BaseProps & BaseEvents>;
1495
+
1496
+ /**
1497
+ *
1498
+ * ---
1499
+ *
1500
+ *
1501
+ * ### **Events:**
1502
+ * - **qti-register-interaction**
1503
+ * - **qti-interaction-response**
1504
+ */
1505
+ "qti-choice-interaction": Partial<QtiChoiceInteractionProps & BaseProps & BaseEvents>;
1506
+
1507
+ /**
1508
+ *
1509
+ * ---
1510
+ *
1511
+ */
1512
+ "qti-outcome-processing": Partial<QtiOutcomeProcessingProps & BaseProps & BaseEvents>;
1513
+
1514
+ /**
1515
+ *
1516
+ * ---
1517
+ *
1518
+ *
1519
+ * ### **Events:**
1520
+ * - **qti-register-interaction**
1521
+ * - **qti-interaction-response**
1522
+ */
1523
+ "qti-portable-custom-interaction": Partial<QtiPortableCustomInteractionProps & BaseProps & BaseEvents>;
1524
+
1525
+ /**
1526
+ *
1527
+ * ---
1528
+ *
1529
+ *
1530
+ * ### **Events:**
1531
+ *
1532
+ */
1533
+ "qti-simple-associable-choice": Partial<QtiSimpleAssociableChoiceProps & BaseProps & BaseEvents>;
1534
+
1535
+ /**
1536
+ *
1537
+ * ---
1538
+ *
1539
+ *
1540
+ * ### **Events:**
1541
+ * - **qti-register-interaction**
1542
+ * - **qti-interaction-response**
1543
+ */
1544
+ "qti-associate-interaction": Partial<QtiAssociateInteractionProps & BaseProps & BaseEvents>;
1545
+
1546
+ /**
1547
+ *
1548
+ * ---
1549
+ *
1550
+ *
1551
+ * ### **Events:**
1552
+ * - **qti-register-interaction**
1553
+ * - **qti-interaction-response**
1554
+ */
1555
+ "qti-custom-interaction": Partial<QtiCustomInteractionProps & BaseProps & BaseEvents>;
1556
+
1557
+ /**
1558
+ *
1559
+ * ---
1560
+ *
1561
+ *
1562
+ * ### **Events:**
1563
+ * - **end-attempt**
1564
+ * - **qti-register-interaction**
1565
+ * - **qti-interaction-response**
1566
+ */
1567
+ "qti-end-attempt-interaction": Partial<QtiEndAttemptInteractionProps & BaseProps & BaseEvents>;
1568
+
1569
+ /**
1570
+ *
1571
+ * ---
1572
+ *
1573
+ *
1574
+ * ### **Events:**
1575
+ * - **qti-register-interaction**
1576
+ * - **qti-interaction-response**
1577
+ */
1578
+ "qti-gap-match-interaction": Partial<QtiGapMatchInteractionProps & BaseProps & BaseEvents>;
1579
+
1580
+ /**
1581
+ *
1582
+ * ---
1583
+ *
1584
+ *
1585
+ * ### **Events:**
1586
+ *
1587
+ */
1588
+ "qti-hotspot-choice": Partial<QtiHotspotChoiceProps & BaseProps & BaseEvents>;
1589
+
1590
+ /**
1591
+ *
1592
+ * ---
1593
+ *
1594
+ *
1595
+ * ### **Events:**
1596
+ * - **qti-register-interaction**
1597
+ * - **qti-interaction-response**
1598
+ */
1599
+ "qti-graphic-associate-interaction": Partial<QtiGraphicAssociateInteractionProps & BaseProps & BaseEvents>;
1600
+
1601
+ /**
1602
+ *
1603
+ * ---
1604
+ *
1605
+ *
1606
+ * ### **Events:**
1607
+ * - **qti-register-interaction**
1608
+ * - **qti-interaction-response**
1609
+ */
1610
+ "qti-graphic-gap-match-interaction": Partial<QtiGraphicGapMatchInteractionProps & BaseProps & BaseEvents>;
1611
+
1612
+ /**
1613
+ *
1614
+ * ---
1615
+ *
1616
+ *
1617
+ * ### **Events:**
1618
+ * - **qti-register-interaction**
1619
+ * - **qti-interaction-response**
1620
+ */
1621
+ "qti-graphic-order-interaction": Partial<QtiGraphicOrderInteractionProps & BaseProps & BaseEvents>;
1622
+
1623
+ /**
1624
+ *
1625
+ * ---
1626
+ *
1627
+ *
1628
+ * ### **Events:**
1629
+ * - **qti-register-interaction**
1630
+ * - **qti-interaction-response**
1631
+ */
1632
+ "qti-hotspot-interaction": Partial<QtiHotspotInteractionProps & BaseProps & BaseEvents>;
1633
+
1634
+ /**
1635
+ *
1636
+ * ---
1637
+ *
1638
+ *
1639
+ * ### **Events:**
1640
+ * - **qti-register-interaction**
1641
+ * - **qti-interaction-response**
1642
+ */
1643
+ "qti-match-interaction": Partial<QtiMatchInteractionProps & BaseProps & BaseEvents>;
1644
+
1645
+ /**
1646
+ *
1647
+ * ---
1648
+ *
1649
+ *
1650
+ * ### **Events:**
1651
+ * - **qti-register-interaction**
1652
+ * - **qti-interaction-response**
1653
+ */
1654
+ "qti-media-interaction": Partial<QtiMediaInteractionProps & BaseProps & BaseEvents>;
1655
+
1656
+ /**
1657
+ *
1658
+ * ---
1659
+ *
1660
+ *
1661
+ * ### **Events:**
1662
+ * - **qti-register-interaction**
1663
+ * - **qti-interaction-response**
1664
+ */
1665
+ "qti-order-interaction": Partial<QtiOrderInteractionProps & BaseProps & BaseEvents>;
1666
+
1667
+ /**
1668
+ *
1669
+ * ---
1670
+ *
1671
+ */
1672
+ "qti-position-object-interaction": Partial<QtiSPositionObjectInteractionProps & BaseProps & BaseEvents>;
1673
+
1674
+ /**
1675
+ *
1676
+ * ---
1677
+ *
1678
+ */
1679
+ "qti-position-object-stage": Partial<QtiPositionObjectStageProps & BaseProps & BaseEvents>;
1680
+
1681
+ /**
1682
+ *
1683
+ * ---
1684
+ *
1685
+ *
1686
+ * ### **Events:**
1687
+ * - **qti-register-interaction**
1688
+ * - **qti-interaction-response**
1689
+ */
1690
+ "qti-select-point-interaction": Partial<QtiSelectPointInteractionProps & BaseProps & BaseEvents>;
1691
+
1692
+ /**
1693
+ * The SliderInteraction.Type (qti-slider-interaction) presents the candidate with a control for selecting a numerical value between a lower and upper bound.
1694
+ * ---
1695
+ *
1696
+ *
1697
+ * ### **Events:**
1698
+ * - **qti-register-interaction** - emitted when the interaction wants to register itself
1699
+ * - **qti-interaction-response** - emitted when the interaction changes
1700
+ *
1701
+ * ### **Slots:**
1702
+ * - _default_ - The default slot where <qti-simple-choice> must be placed.
1703
+ * - **prompt** - slot where the prompt is placed.
1704
+ *
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)_
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
1717
+ */
1718
+ "qti-slider-interaction": Partial<QtiSliderInteractionProps & BaseProps & BaseEvents>;
1719
+
1720
+ /**
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>
1730
+ * ---
1731
+ *
1732
+ *
1733
+ * ### **Events:**
1734
+ * - **qti-set-outcome-value**
1735
+ * - **qti-interaction-response**
1736
+ */
1737
+ "qti-custom-operator": Partial<QtiCustomOperatorProps & BaseProps & BaseEvents>;
1738
+
1739
+ /**
1740
+ *
1741
+ * ---
1742
+ *
1743
+ *
1744
+ * ### **Events:**
1745
+ * - **qti-register-hotspot**
1746
+ */
1747
+ "qti-associable-hotspot": Partial<QtiAssociableHotspotProps & BaseProps & BaseEvents>;
1748
+
1749
+ /**
1750
+ *
1751
+ * ---
1752
+ *
1753
+ */
1754
+ "qti-gap": Partial<QtiGapProps & BaseProps & BaseEvents>;
1755
+
1756
+ /**
1757
+ *
1758
+ * ---
1759
+ *
1760
+ */
1761
+ "qti-gap-img": Partial<QtiGapImgProps & BaseProps & BaseEvents>;
1762
+
1763
+ /**
1764
+ *
1765
+ * ---
1766
+ *
1767
+ *
1768
+ * ### **Events:**
1769
+ *
1770
+ */
1771
+ "qti-gap-text": Partial<QtiGapTextProps & BaseProps & BaseEvents>;
1772
+
1773
+ /**
1774
+ *
1775
+ * ---
1776
+ *
1777
+ *
1778
+ * ### **Events:**
1779
+ *
1780
+ */
1781
+ "qti-hottext": Partial<QtiHottextProps & BaseProps & BaseEvents>;
1782
+
1783
+ /**
1784
+ *
1785
+ * ---
1786
+ *
1787
+ *
1788
+ * ### **Events:**
1789
+ * - **qti-inline-choice-register**
1790
+ * - **qti-inline-choice-select**
1791
+ */
1792
+ "qti-inline-choice": Partial<QtiInlineChoiceProps & BaseProps & BaseEvents>;
1793
+
1794
+ /**
1795
+ *
1796
+ * ---
1797
+ *
1798
+ *
1799
+ * ### **Events:**
1800
+ * - **qti-register-interaction**
1801
+ * - **qti-interaction-response**
1802
+ */
1803
+ "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1804
+
1805
+ /**
1806
+ *
1807
+ * ---
1808
+ *
1809
+ *
1810
+ * ### **Events:**
1811
+ * - **qti-register-interaction**
1812
+ * - **qti-interaction-response**
1813
+ */
1814
+ "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1815
+
1816
+ /**
1817
+ *
1818
+ * ---
1819
+ *
1820
+ *
1821
+ * ### **Events:**
1822
+ * - **qti-register-interaction**
1823
+ * - **qti-interaction-response**
1824
+ */
1825
+ "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1826
+
1827
+ /**
1828
+ *
1829
+ * ---
1830
+ *
1831
+ *
1832
+ * ### **Events:**
1833
+ * - **qti-item-connected**
1834
+ */
1835
+ "qti-item": Partial<QtiItemProps & BaseProps & BaseEvents>;
1836
+ };