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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/cdn/index.global.js +277 -0
  2. package/cdn/index.min.cjs +4489 -0
  3. package/cdn/index.min.js +4489 -0
  4. package/dist/custom-element-eslint-rules.js +25 -19
  5. package/dist/item.css +172 -5
  6. package/dist/qti-components/index.cjs +660 -465
  7. package/dist/qti-components/index.cjs.map +1 -0
  8. package/dist/qti-components/index.d.cts +4 -4
  9. package/dist/qti-components/index.d.ts +4 -4
  10. package/dist/qti-components/index.js +615 -423
  11. package/dist/qti-components/index.js.map +1 -0
  12. package/dist/qti-components-jsx.d.ts +398 -64
  13. package/dist/qti-item/index.cjs +2 -3
  14. package/dist/qti-item/index.cjs.map +1 -0
  15. package/dist/qti-item/index.d.cts +1 -1
  16. package/dist/qti-item/index.d.ts +1 -1
  17. package/dist/qti-item/index.js +2 -3
  18. package/dist/qti-item/index.js.map +1 -0
  19. package/dist/qti-loader/index.cjs +5 -6
  20. package/dist/qti-loader/index.cjs.map +1 -0
  21. package/dist/qti-loader/index.d.cts +1 -1
  22. package/dist/qti-loader/index.d.ts +1 -1
  23. package/dist/qti-loader/index.js +5 -6
  24. package/dist/qti-loader/index.js.map +1 -0
  25. package/dist/{qti-simple-choice-DC5DJota.d.cts → qti-simple-choice-CynLWb8d.d.cts} +74 -26
  26. package/dist/{qti-simple-choice-DC5DJota.d.ts → qti-simple-choice-CynLWb8d.d.ts} +74 -26
  27. package/dist/qti-test/index.cjs +4632 -0
  28. package/dist/qti-test/index.cjs.map +1 -0
  29. package/dist/qti-test/index.d.cts +304 -0
  30. package/dist/qti-test/index.d.ts +304 -0
  31. package/dist/qti-test/index.js +4599 -0
  32. package/dist/qti-test/index.js.map +1 -0
  33. package/dist/qti-transformers/index.cjs +5 -6
  34. package/dist/qti-transformers/index.cjs.map +1 -0
  35. package/dist/qti-transformers/index.js +5 -6
  36. package/dist/qti-transformers/index.js.map +1 -0
  37. package/dist/vscode.css-custom-data.json +28 -0
  38. package/dist/vscode.html-custom-data.json +179 -230
  39. package/package.json +96 -67
  40. package/dist/custom-elements.json +0 -24168
  41. package/dist/index.global.js +0 -226
  42. package/dist/index.js +0 -7860
  43. package/dist/index.min.js +0 -952
  44. /package/{LICENSE → LICENSE.md} +0 -0
  45. /package/{readme.md → README.md} +0 -0
@@ -206,6 +206,8 @@ export type QtiProductProps = {
206
206
  getVariables?: string;
207
207
  };
208
208
 
209
+ export type QtiSubtractProps = {};
210
+
209
211
  export type QtiStringMatchProps = {
210
212
  /** */
211
213
  "case-sensitive"?: string;
@@ -366,9 +368,9 @@ export type QtiExtendedTextInteractionProps = {
366
368
  class?: string;
367
369
  /** */
368
370
  "response-identifier"?: string;
369
- /** disabled should be exposed to the attributes and accessible as property */
371
+ /** */
370
372
  disabled?: boolean;
371
- /** readonly should be exposed to the attributes and accessible as property */
373
+ /** */
372
374
  readonly?: boolean;
373
375
  /** */
374
376
  value?: string | string[];
@@ -391,9 +393,9 @@ export type QtiTextEntryInteractionProps = {
391
393
  "data-patternmask-message"?: string;
392
394
  /** */
393
395
  "response-identifier"?: string;
394
- /** disabled should be exposed to the attributes and accessible as property */
396
+ /** */
395
397
  disabled?: boolean;
396
- /** readonly should be exposed to the attributes and accessible as property */
398
+ /** */
397
399
  readonly?: boolean;
398
400
  /** */
399
401
  inputRef?: string;
@@ -414,9 +416,9 @@ export type QtiHottextInteractionProps = {
414
416
  "max-choices"?: number;
415
417
  /** */
416
418
  "response-identifier"?: string;
417
- /** disabled should be exposed to the attributes and accessible as property */
419
+ /** */
418
420
  disabled?: boolean;
419
- /** readonly should be exposed to the attributes and accessible as property */
421
+ /** */
420
422
  readonly?: boolean;
421
423
  /** */
422
424
  value?: string | string[];
@@ -433,9 +435,9 @@ export type QtiInlineChoiceInteractionProps = {
433
435
  "data-prompt"?: string;
434
436
  /** */
435
437
  "response-identifier"?: string;
436
- /** disabled should be exposed to the attributes and accessible as property */
438
+ /** */
437
439
  disabled?: boolean;
438
- /** readonly should be exposed to the attributes and accessible as property */
440
+ /** */
439
441
  readonly?: boolean;
440
442
  /** */
441
443
  options?: OptionType[];
@@ -471,21 +473,21 @@ export type QtiSimpleChoiceProps = {
471
473
  };
472
474
 
473
475
  export type QtiChoiceInteractionProps = {
474
- /** orientation of choices */
476
+ /** @deprecated , use 'qti-orientation-horizontal' or 'qti-orientation-vertical' instead */
475
477
  orientation?: Orientation;
476
478
  /** */
477
479
  class?: string;
478
- /** */
479
- shuffle?: boolean;
480
+ /** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
481
+ shuffle?: "true" | "false";
480
482
  /** */
481
483
  "min-choices"?: number;
482
484
  /** */
483
485
  "max-choices"?: number;
484
486
  /** */
485
487
  "response-identifier"?: string;
486
- /** disabled should be exposed to the attributes and accessible as property */
488
+ /** */
487
489
  disabled?: boolean;
488
- /** readonly should be exposed to the attributes and accessible as property */
490
+ /** */
489
491
  readonly?: boolean;
490
492
  /** */
491
493
  role?: string;
@@ -508,9 +510,9 @@ export type QtiPortableCustomInteractionProps = {
508
510
  "custom-interaction-type-identifier"?: string;
509
511
  /** */
510
512
  "response-identifier"?: string;
511
- /** disabled should be exposed to the attributes and accessible as property */
513
+ /** */
512
514
  disabled?: boolean;
513
- /** readonly should be exposed to the attributes and accessible as property */
515
+ /** */
514
516
  readonly?: boolean;
515
517
  /** */
516
518
  value?: string | string[];
@@ -554,11 +556,11 @@ export type QtiAssociateInteractionProps = {
554
556
  "min-associations"?: number;
555
557
  /** */
556
558
  "max-associations"?: number;
557
- /** disabled should be exposed to the attributes and accessible as property */
559
+ /** */
558
560
  disabled?: boolean;
559
561
  /** */
560
562
  "response-identifier"?: string;
561
- /** readonly should be exposed to the attributes and accessible as property */
563
+ /** */
562
564
  readonly?: boolean;
563
565
  /** */
564
566
  dragDropApi?: TouchDragAndDrop;
@@ -585,9 +587,9 @@ export type QtiCustomInteractionProps = {
585
587
  id?: string;
586
588
  /** */
587
589
  "response-identifier"?: string;
588
- /** disabled should be exposed to the attributes and accessible as property */
590
+ /** */
589
591
  disabled?: boolean;
590
- /** readonly should be exposed to the attributes and accessible as property */
592
+ /** */
591
593
  readonly?: boolean;
592
594
  /** */
593
595
  manifest?: {
@@ -612,9 +614,9 @@ export type QtiEndAttemptInteractionProps = {
612
614
  title?: "end attempt";
613
615
  /** */
614
616
  "response-identifier"?: string;
615
- /** disabled should be exposed to the attributes and accessible as property */
617
+ /** */
616
618
  disabled?: boolean;
617
- /** readonly should be exposed to the attributes and accessible as property */
619
+ /** */
618
620
  readonly?: boolean;
619
621
  /** */
620
622
  value?: string | string[];
@@ -633,11 +635,11 @@ export type QtiGapMatchInteractionProps = {
633
635
  "min-associations"?: number;
634
636
  /** */
635
637
  "max-associations"?: number;
636
- /** disabled should be exposed to the attributes and accessible as property */
638
+ /** */
637
639
  disabled?: boolean;
638
640
  /** */
639
641
  "response-identifier"?: string;
640
- /** readonly should be exposed to the attributes and accessible as property */
642
+ /** */
641
643
  readonly?: boolean;
642
644
  /** */
643
645
  correctResponse?: string | string[];
@@ -673,9 +675,9 @@ export type QtiHotspotChoiceProps = {
673
675
  export type QtiGraphicAssociateInteractionProps = {
674
676
  /** */
675
677
  "response-identifier"?: string;
676
- /** disabled should be exposed to the attributes and accessible as property */
678
+ /** */
677
679
  disabled?: boolean;
678
- /** readonly should be exposed to the attributes and accessible as property */
680
+ /** */
679
681
  readonly?: boolean;
680
682
  /** */
681
683
  choiceOrdering?: boolean;
@@ -712,11 +714,11 @@ export type QtiGraphicGapMatchInteractionProps = {
712
714
  "min-associations"?: number;
713
715
  /** */
714
716
  "max-associations"?: number;
715
- /** disabled should be exposed to the attributes and accessible as property */
717
+ /** */
716
718
  disabled?: boolean;
717
719
  /** */
718
720
  "response-identifier"?: string;
719
- /** readonly should be exposed to the attributes and accessible as property */
721
+ /** */
720
722
  readonly?: boolean;
721
723
  /** */
722
724
  dragDropApi?: TouchDragAndDrop;
@@ -739,9 +741,9 @@ export type QtiGraphicOrderInteractionProps = {
739
741
  "max-choices"?: number;
740
742
  /** */
741
743
  "response-identifier"?: string;
742
- /** disabled should be exposed to the attributes and accessible as property */
744
+ /** */
743
745
  disabled?: boolean;
744
- /** readonly should be exposed to the attributes and accessible as property */
746
+ /** */
745
747
  readonly?: boolean;
746
748
  /** */
747
749
  choiceOrdering?: boolean;
@@ -762,9 +764,9 @@ export type QtiHotspotInteractionProps = {
762
764
  "max-choices"?: number;
763
765
  /** */
764
766
  "response-identifier"?: string;
765
- /** disabled should be exposed to the attributes and accessible as property */
767
+ /** */
766
768
  disabled?: boolean;
767
- /** readonly should be exposed to the attributes and accessible as property */
769
+ /** */
768
770
  readonly?: boolean;
769
771
  /** */
770
772
  value?: string | string[];
@@ -783,9 +785,9 @@ export type QtiMatchInteractionProps = {
783
785
  "min-associations"?: number;
784
786
  /** */
785
787
  "max-associations"?: number;
786
- /** disabled should be exposed to the attributes and accessible as property */
788
+ /** */
787
789
  disabled?: boolean;
788
- /** readonly should be exposed to the attributes and accessible as property */
790
+ /** */
789
791
  readonly?: boolean;
790
792
  /** */
791
793
  rows?: QtiSimpleAssociableChoice[];
@@ -818,9 +820,9 @@ export type QtiMatchInteractionProps = {
818
820
  export type QtiMediaInteractionProps = {
819
821
  /** */
820
822
  "response-identifier"?: string;
821
- /** disabled should be exposed to the attributes and accessible as property */
823
+ /** */
822
824
  disabled?: boolean;
823
- /** readonly should be exposed to the attributes and accessible as property */
825
+ /** */
824
826
  readonly?: boolean;
825
827
  /** */
826
828
  value?: string | string[];
@@ -835,17 +837,17 @@ export type QtiMediaInteractionProps = {
835
837
  export type QtiOrderInteractionProps = {
836
838
  /** orientation of choices */
837
839
  orientation?: "horizontal" | "vertical";
838
- /** */
839
- shuffle?: boolean;
840
+ /** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
841
+ shuffle?: "true" | "false";
840
842
  /** */
841
843
  "min-associations"?: number;
842
844
  /** */
843
845
  "max-associations"?: number;
844
- /** disabled should be exposed to the attributes and accessible as property */
846
+ /** */
845
847
  disabled?: boolean;
846
848
  /** */
847
849
  "response-identifier"?: string;
848
- /** readonly should be exposed to the attributes and accessible as property */
850
+ /** */
849
851
  readonly?: boolean;
850
852
  /** */
851
853
  childrenMap?: Element[];
@@ -869,7 +871,7 @@ export type QtiOrderInteractionProps = {
869
871
  "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
870
872
  };
871
873
 
872
- export type QtiSPositionObjectInteractionProps = {};
874
+ export type QtiPositionObjectInteractionProps = {};
873
875
 
874
876
  export type QtiPositionObjectStageProps = {
875
877
  /** */
@@ -889,9 +891,9 @@ export type QtiSelectPointInteractionProps = {
889
891
  "min-choices"?: number;
890
892
  /** */
891
893
  "response-identifier"?: string;
892
- /** disabled should be exposed to the attributes and accessible as property */
894
+ /** */
893
895
  disabled?: boolean;
894
- /** readonly should be exposed to the attributes and accessible as property */
896
+ /** */
895
897
  readonly?: boolean;
896
898
  /** */
897
899
  value?: string | string[];
@@ -916,9 +918,9 @@ export type QtiSliderInteractionProps = {
916
918
  step?: number;
917
919
  /** */
918
920
  "response-identifier"?: string;
919
- /** disabled should be exposed to the attributes and accessible as property */
921
+ /** */
920
922
  disabled?: boolean;
921
- /** readonly should be exposed to the attributes and accessible as property */
923
+ /** */
922
924
  readonly?: boolean;
923
925
  /** */
924
926
  csLive?: CSSStyleDeclaration;
@@ -1001,15 +1003,13 @@ export type QtiInlineChoiceProps = {
1001
1003
  };
1002
1004
 
1003
1005
  export type TestElementProps = {
1004
- /** */
1005
- class?: string;
1006
- /** */
1007
- shuffle?: boolean;
1006
+ /** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
1007
+ shuffle?: "true" | "false";
1008
1008
  /** */
1009
1009
  "response-identifier"?: string;
1010
- /** disabled should be exposed to the attributes and accessible as property */
1010
+ /** */
1011
1011
  disabled?: boolean;
1012
- /** readonly should be exposed to the attributes and accessible as property */
1012
+ /** */
1013
1013
  readonly?: boolean;
1014
1014
  /** */
1015
1015
  value?: string | string[];
@@ -1022,17 +1022,17 @@ export type TestElementProps = {
1022
1022
  };
1023
1023
 
1024
1024
  export type TestElementProps = {
1025
- /** */
1026
- class?: string;
1027
- /** */
1028
- shuffle?: boolean;
1025
+ /** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
1026
+ shuffle?: "true" | "false";
1029
1027
  /** */
1030
1028
  "response-identifier"?: string;
1031
- /** disabled should be exposed to the attributes and accessible as property */
1029
+ /** */
1032
1030
  disabled?: boolean;
1033
- /** readonly should be exposed to the attributes and accessible as property */
1031
+ /** */
1034
1032
  readonly?: boolean;
1035
1033
  /** */
1034
+ class?: string;
1035
+ /** */
1036
1036
  value?: string | string[];
1037
1037
  /** */
1038
1038
  correctResponse?: string | string[];
@@ -1043,15 +1043,13 @@ export type TestElementProps = {
1043
1043
  };
1044
1044
 
1045
1045
  export type TestElementProps = {
1046
- /** */
1047
- class?: string;
1048
- /** */
1049
- shuffle?: boolean;
1046
+ /** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
1047
+ shuffle?: "true" | "false";
1050
1048
  /** */
1051
1049
  "response-identifier"?: string;
1052
- /** disabled should be exposed to the attributes and accessible as property */
1050
+ /** */
1053
1051
  disabled?: boolean;
1054
- /** readonly should be exposed to the attributes and accessible as property */
1052
+ /** */
1055
1053
  readonly?: boolean;
1056
1054
  /** */
1057
1055
  value?: string | string[];
@@ -1076,6 +1074,174 @@ export type QtiItemProps = {
1076
1074
  "onqti-item-connected"?: (e: CustomEvent<CustomEvent>) => void;
1077
1075
  };
1078
1076
 
1077
+ export type QtiAssessmentItemRefProps = {
1078
+ /** */
1079
+ category?: string | undefined;
1080
+ /** */
1081
+ identifier?: string | undefined;
1082
+ /** */
1083
+ required?: boolean | undefined;
1084
+ /** */
1085
+ fixed?: boolean | undefined;
1086
+ /** */
1087
+ href?: string | undefined;
1088
+ /** */
1089
+ _testContext?: TestContext | undefined;
1090
+ /** */
1091
+ weigths?: Map<string, number>;
1092
+ /** */
1093
+ xmlDoc?: DocumentFragment;
1094
+ /** */
1095
+ assessmentItem?: QtiAssessmentItem | null;
1096
+ /** */
1097
+ "onqti-assessment-item-ref-connected"?: (e: CustomEvent<CustomEvent>) => void;
1098
+ };
1099
+
1100
+ export type QtiAssessmentSectionProps = {
1101
+ /** */
1102
+ identifier?: string;
1103
+ /** */
1104
+ required?: string;
1105
+ /** */
1106
+ fixed?: boolean;
1107
+ /** */
1108
+ title?: string;
1109
+ /** */
1110
+ visible?: boolean;
1111
+ /** */
1112
+ "keep-together"?: boolean;
1113
+ /** */
1114
+ _testContext?: TestContext | undefined;
1115
+ /** */
1116
+ "onqti-assessment-section-connected"?: (e: CustomEvent<Event>) => void;
1117
+ };
1118
+
1119
+ export type QtiAssessmentTestProps = {
1120
+ /** */
1121
+ identifier?: string;
1122
+ /** */
1123
+ title?: string;
1124
+ /** */
1125
+ _testContext?: TestContext | undefined;
1126
+ /** */
1127
+ "onqti-assessment-test-connected"?: (e: CustomEvent<CustomEvent>) => void;
1128
+ };
1129
+
1130
+ export type QtiTestPartProps = {
1131
+ /** */
1132
+ identifier?: string;
1133
+ /** */
1134
+ title?: string;
1135
+ /** */
1136
+ class?: string;
1137
+ /** */
1138
+ "navigation-mode"?: "linear" | "nonlinear";
1139
+ /** */
1140
+ "submission-mode"?: "individual" | "simultaneous";
1141
+
1142
+ /** */
1143
+ "onqti-test-part-connected"?: (e: CustomEvent<Event>) => void;
1144
+ };
1145
+
1146
+ export type QtiTestProps = {
1147
+ /** the relative location to the QTI assessment.xml file */
1148
+ testURL?: string;
1149
+ /** */
1150
+ context?: TestContext;
1151
+ };
1152
+
1153
+ export type TestNextProps = {
1154
+ /** */
1155
+ role?: string;
1156
+ /** */
1157
+ ariaLabel?: string;
1158
+ /** */
1159
+ disabled?: boolean;
1160
+ /** */
1161
+ _testContext?: TestContext | undefined;
1162
+ /** */
1163
+ _testElement?: TestElement | undefined;
1164
+ /** */
1165
+ "onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
1166
+ /** */
1167
+ "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
1168
+ };
1169
+
1170
+ export type TestPrevProps = {
1171
+ /** */
1172
+ role?: string;
1173
+ /** */
1174
+ ariaLabel?: string;
1175
+ /** */
1176
+ disabled?: boolean;
1177
+ /** */
1178
+ _testContext?: TestContext | undefined;
1179
+ /** */
1180
+ _testElement?: TestElement | undefined;
1181
+ /** */
1182
+ "onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
1183
+ /** */
1184
+ "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
1185
+ };
1186
+
1187
+ export type TestViewProps = {
1188
+ /** */
1189
+ label?: string;
1190
+ /** */
1191
+ "view-options"?: string;
1192
+ /** */
1193
+ _handleViewOptionsChange?: string;
1194
+ /** */
1195
+ disabled?: boolean;
1196
+ /** */
1197
+ _testContext?: TestContext | undefined;
1198
+ /** */
1199
+ _testElement?: TestElement | undefined;
1200
+ /** */
1201
+ "onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
1202
+ /** */
1203
+ "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
1204
+ };
1205
+
1206
+ export type TestItemLinkProps = {
1207
+ /** */
1208
+ "item-id"?: string;
1209
+ /** */
1210
+ disabled?: boolean;
1211
+ /** */
1212
+ _testContext?: TestContext | undefined;
1213
+ /** */
1214
+ _testElement?: TestElement | undefined;
1215
+ /** */
1216
+ "onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
1217
+ /** */
1218
+ "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
1219
+ };
1220
+
1221
+ export type TestContainerProps = {
1222
+ /** */
1223
+ "test-url"?: string;
1224
+ };
1225
+
1226
+ export type TestPagingButtonsStampProps = {
1227
+ /** */
1228
+ "max-displayed-items"?: number;
1229
+ /** */
1230
+ "skip-on-category"?: string;
1231
+ /** */
1232
+ ariaLabel?: string;
1233
+ /** */
1234
+ disabled?: boolean;
1235
+ /** */
1236
+ _testContext?: TestContext | undefined;
1237
+ /** */
1238
+ _testElement?: TestElement | undefined;
1239
+ /** */
1240
+ "onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
1241
+ /** */
1242
+ "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
1243
+ };
1244
+
1079
1245
  export type CustomElements = {
1080
1246
  /**
1081
1247
  *
@@ -1288,6 +1454,13 @@ export type CustomElements = {
1288
1454
  */
1289
1455
  "qti-product": Partial<QtiProductProps & BaseProps & BaseEvents>;
1290
1456
 
1457
+ /**
1458
+ *
1459
+ * ---
1460
+ *
1461
+ */
1462
+ "qti-subtract": Partial<QtiSubtractProps & BaseProps & BaseEvents>;
1463
+
1291
1464
  /**
1292
1465
  *
1293
1466
  * ---
@@ -1494,13 +1667,29 @@ export type CustomElements = {
1494
1667
  "qti-simple-choice": Partial<QtiSimpleChoiceProps & BaseProps & BaseEvents>;
1495
1668
 
1496
1669
  /**
1497
- *
1670
+ * An sample element.
1498
1671
  * ---
1499
1672
  *
1500
1673
  *
1501
1674
  * ### **Events:**
1502
1675
  * - **qti-register-interaction**
1503
1676
  * - **qti-interaction-response**
1677
+ *
1678
+ * ### **Slots:**
1679
+ * - _default_ - default slot of the choices
1680
+ * - **prompt** - slot of the prompt
1681
+ *
1682
+ * ### **CSS Properties:**
1683
+ * - **--qti-bg-active** - The active background color _(default: #ffecec)_
1684
+ * - **--qti-border-active** - The active border color _(default: #f86d70)_
1685
+ * - **--qti-padding-horizontal** - The option horizontal padding _(default: 1px)_
1686
+ * - **--qti-padding-vertical** - The option vertical padding _(default: solid)_
1687
+ * - **--qti-border-radius** - The option border radius _(default: 8px)_
1688
+ *
1689
+ * ### **CSS Parts:**
1690
+ * - **slot** - The choice elements
1691
+ * - **prompt** - The prompt
1692
+ * - **message** - The validation message
1504
1693
  */
1505
1694
  "qti-choice-interaction": Partial<QtiChoiceInteractionProps & BaseProps & BaseEvents>;
1506
1695
 
@@ -1669,7 +1858,7 @@ export type CustomElements = {
1669
1858
  * ---
1670
1859
  *
1671
1860
  */
1672
- "qti-position-object-interaction": Partial<QtiSPositionObjectInteractionProps & BaseProps & BaseEvents>;
1861
+ "qti-position-object-interaction": Partial<QtiPositionObjectInteractionProps & BaseProps & BaseEvents>;
1673
1862
 
1674
1863
  /**
1675
1864
  *
@@ -1833,4 +2022,149 @@ export type CustomElements = {
1833
2022
  * - **qti-item-connected**
1834
2023
  */
1835
2024
  "qti-item": Partial<QtiItemProps & BaseProps & BaseEvents>;
2025
+
2026
+ /**
2027
+ *
2028
+ * ---
2029
+ *
2030
+ *
2031
+ * ### **Events:**
2032
+ * - **qti-assessment-item-ref-connected**
2033
+ */
2034
+ "qti-assessment-item-ref": Partial<QtiAssessmentItemRefProps & BaseProps & BaseEvents>;
2035
+
2036
+ /**
2037
+ *
2038
+ * ---
2039
+ *
2040
+ *
2041
+ * ### **Events:**
2042
+ * - **qti-assessment-section-connected**
2043
+ */
2044
+ "qti-assessment-section": Partial<QtiAssessmentSectionProps & BaseProps & BaseEvents>;
2045
+
2046
+ /**
2047
+ *
2048
+ * ---
2049
+ *
2050
+ *
2051
+ * ### **Events:**
2052
+ * - **qti-assessment-test-connected**
2053
+ */
2054
+ "qti-assessment-test": Partial<QtiAssessmentTestProps & BaseProps & BaseEvents>;
2055
+
2056
+ /**
2057
+ *
2058
+ * ---
2059
+ *
2060
+ *
2061
+ * ### **Events:**
2062
+ * - **qti-test-part-connected**
2063
+ */
2064
+ "qti-test-part": Partial<QtiTestPartProps & BaseProps & BaseEvents>;
2065
+
2066
+ /**
2067
+ * `<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.
2068
+ *
2069
+ * This component leverages several mixins to provide functionality for loading, navigating, processing, and displaying QTI test assessments.
2070
+ *
2071
+ * ### Example Usage
2072
+ *
2073
+ * Minimal markup:
2074
+ * ```html
2075
+ * <qti-test test="./path/to/assessment.xml">
2076
+ * <test-container></test-container>
2077
+ * </qti-test>
2078
+ * ```
2079
+ *
2080
+ * With navigation buttons:
2081
+ * ```html
2082
+ * <qti-test >
2083
+ * <test-container test-url="./path/to/assessment.xml"></test-container>
2084
+ * <div class="flex">
2085
+ * <test-prev></test-prev>
2086
+ * <test-next></test-next>
2087
+ * </div>
2088
+ * </qti-test>
2089
+ * ```
2090
+ *
2091
+ * You can use normal class names to style the elements.
2092
+ * And you can use the `test-prev` and `test-next` elements to navigate through the test.
2093
+ * ---
2094
+ *
2095
+ */
2096
+ "qti-player": Partial<QtiTestProps & BaseProps & BaseEvents>;
2097
+
2098
+ /**
2099
+ * Represents a custom element for navigating to the next test item.
2100
+ * ---
2101
+ *
2102
+ *
2103
+ * ### **Events:**
2104
+ * - **on-test-switch-view**
2105
+ * - **qti-request-test-item**
2106
+ */
2107
+ "test-next": Partial<TestNextProps & BaseProps & BaseEvents>;
2108
+
2109
+ /**
2110
+ * Represents a custom element for navigating to the previous test item.
2111
+ * ---
2112
+ *
2113
+ *
2114
+ * ### **Events:**
2115
+ * - **on-test-switch-view**
2116
+ * - **qti-request-test-item**
2117
+ */
2118
+ "test-prev": Partial<TestPrevProps & BaseProps & BaseEvents>;
2119
+
2120
+ /**
2121
+ *
2122
+ * ---
2123
+ *
2124
+ *
2125
+ * ### **Events:**
2126
+ * - **on-test-switch-view**
2127
+ * - **qti-request-test-item**
2128
+ */
2129
+ "test-view": Partial<TestViewProps & BaseProps & BaseEvents>;
2130
+
2131
+ /**
2132
+ *
2133
+ * ---
2134
+ *
2135
+ *
2136
+ * ### **Events:**
2137
+ * - **on-test-switch-view**
2138
+ * - **qti-request-test-item**
2139
+ */
2140
+ "test-item-link": Partial<TestItemLinkProps & BaseProps & BaseEvents>;
2141
+
2142
+ /**
2143
+ * `<test-container>` is a custom element designed for hosting the qti-assessment-test.
2144
+ * The `qti-assessment-test` will be placed inside the shadow DOM of this element.
2145
+ *
2146
+ * ### Example Usage
2147
+ * The `test-container` element to hosts the visual representation of the items.
2148
+ * You can style the container by adding a class to the element.
2149
+ *
2150
+ * ```html
2151
+ * <qti-test testurl="./path/to/assessment.xml">
2152
+ * <test-container class="container bg-white m-2"></test-container>
2153
+ * </qti-test>
2154
+ * ```
2155
+ * ---
2156
+ *
2157
+ */
2158
+ "test-container": Partial<TestContainerProps & BaseProps & BaseEvents>;
2159
+
2160
+ /**
2161
+ *
2162
+ * ---
2163
+ *
2164
+ *
2165
+ * ### **Events:**
2166
+ * - **on-test-switch-view**
2167
+ * - **qti-request-test-item**
2168
+ */
2169
+ "test-paging-buttons-stamp": Partial<TestPagingButtonsStampProps & BaseProps & BaseEvents>;
1836
2170
  };