@citolab/qti-components 6.9.1-beta.1 → 6.9.1-beta.11

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.
@@ -98,7 +98,7 @@
98
98
  },
99
99
  {
100
100
  "kind": "javascript-module",
101
- "path": "src/lib/qti-transformers/index.ts",
101
+ "path": "src/lib/qti-item/index.ts",
102
102
  "declarations": [],
103
103
  "exports": [
104
104
  {
@@ -106,68 +106,34 @@
106
106
  "name": "*",
107
107
  "declaration": {
108
108
  "name": "*",
109
- "package": "./qti-transformers"
109
+ "package": "./qti-item"
110
110
  }
111
111
  }
112
112
  ]
113
113
  },
114
114
  {
115
115
  "kind": "javascript-module",
116
- "path": "src/lib/qti-transformers/qti-transformers.ts",
116
+ "path": "src/lib/qti-item/qti-item.ts",
117
117
  "declarations": [
118
118
  {
119
- "kind": "function",
120
- "name": "qtiTransformItem",
121
- "return": {
122
- "type": {
123
- "text": ""
124
- }
125
- },
126
- "description": "Browser based QTI-XML to HTML transformer.\nReturns an object with methods to load, parse, transform and serialize QTI XML items."
127
- },
128
- {
129
- "kind": "function",
130
- "name": "qtiTransformManifest",
131
- "return": {
132
- "type": {
133
- "text": "{\n load: (uri: string) => Promise<typeof api>;\n assessmentTest: () => { href: string; identifier: string };\n}"
134
- }
135
- }
136
- },
137
- {
138
- "kind": "function",
139
- "name": "qtiTransformTest",
140
- "return": {
141
- "type": {
142
- "text": ""
143
- }
119
+ "kind": "class",
120
+ "description": "",
121
+ "name": "QtiItem",
122
+ "members": [],
123
+ "superclass": {
124
+ "name": "HTMLElement"
144
125
  },
145
- "description": "Returns an object with methods to load, parse and transform QTI tests."
126
+ "tagName": "qti-item",
127
+ "customElement": true
146
128
  }
147
129
  ],
148
130
  "exports": [
149
131
  {
150
- "kind": "js",
151
- "name": "qtiTransformItem",
152
- "declaration": {
153
- "name": "qtiTransformItem",
154
- "module": "src/lib/qti-transformers/qti-transformers.ts"
155
- }
156
- },
157
- {
158
- "kind": "js",
159
- "name": "qtiTransformManifest",
132
+ "kind": "custom-element-definition",
133
+ "name": "qti-item",
160
134
  "declaration": {
161
- "name": "qtiTransformManifest",
162
- "module": "src/lib/qti-transformers/qti-transformers.ts"
163
- }
164
- },
165
- {
166
- "kind": "js",
167
- "name": "qtiTransformTest",
168
- "declaration": {
169
- "name": "qtiTransformTest",
170
- "module": "src/lib/qti-transformers/qti-transformers.ts"
135
+ "name": "QtiItem",
136
+ "module": "src/lib/qti-item/qti-item.ts"
171
137
  }
172
138
  }
173
139
  ]
@@ -230,7 +196,7 @@
230
196
  "name": "*",
231
197
  "declaration": {
232
198
  "name": "*",
233
- "package": "./qti-interaction/internal/choice/qti-choice"
199
+ "package": "./qti-interaction/internal/active-element/active-element.mixin"
234
200
  }
235
201
  },
236
202
  {
@@ -603,6 +569,194 @@
603
569
  }
604
570
  ]
605
571
  },
572
+ {
573
+ "kind": "javascript-module",
574
+ "path": "src/lib/qti-loader/index.ts",
575
+ "declarations": [],
576
+ "exports": [
577
+ {
578
+ "kind": "js",
579
+ "name": "*",
580
+ "declaration": {
581
+ "name": "*",
582
+ "package": "./qti-loader"
583
+ }
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "kind": "javascript-module",
589
+ "path": "src/lib/qti-loader/qti-loader.ts",
590
+ "declarations": [
591
+ {
592
+ "kind": "function",
593
+ "name": "getItemByIndex",
594
+ "return": {
595
+ "type": {
596
+ "text": "Promise<any>"
597
+ }
598
+ },
599
+ "parameters": [
600
+ {
601
+ "name": "packageUri",
602
+ "type": {
603
+ "text": "string"
604
+ }
605
+ },
606
+ {
607
+ "name": "index",
608
+ "type": {
609
+ "text": "number"
610
+ }
611
+ },
612
+ {
613
+ "name": "cancelPreviousRequest",
614
+ "default": "true"
615
+ }
616
+ ]
617
+ },
618
+ {
619
+ "kind": "function",
620
+ "name": "getAssessmentData",
621
+ "return": {
622
+ "type": {
623
+ "text": "Promise<any>"
624
+ }
625
+ },
626
+ "parameters": [
627
+ {
628
+ "name": "packageUri",
629
+ "type": {
630
+ "text": "string"
631
+ }
632
+ }
633
+ ]
634
+ },
635
+ {
636
+ "kind": "function",
637
+ "name": "getItemByUri",
638
+ "return": {
639
+ "type": {
640
+ "text": "Promise<any>"
641
+ }
642
+ },
643
+ "parameters": [
644
+ {
645
+ "name": "itemUri",
646
+ "type": {
647
+ "text": "string"
648
+ }
649
+ },
650
+ {
651
+ "name": "cancelPreviousRequest",
652
+ "default": "true"
653
+ }
654
+ ]
655
+ }
656
+ ],
657
+ "exports": [
658
+ {
659
+ "kind": "js",
660
+ "name": "getItemByIndex",
661
+ "declaration": {
662
+ "name": "getItemByIndex",
663
+ "module": "src/lib/qti-loader/qti-loader.ts"
664
+ }
665
+ },
666
+ {
667
+ "kind": "js",
668
+ "name": "getAssessmentData",
669
+ "declaration": {
670
+ "name": "getAssessmentData",
671
+ "module": "src/lib/qti-loader/qti-loader.ts"
672
+ }
673
+ },
674
+ {
675
+ "kind": "js",
676
+ "name": "getItemByUri",
677
+ "declaration": {
678
+ "name": "getItemByUri",
679
+ "module": "src/lib/qti-loader/qti-loader.ts"
680
+ }
681
+ }
682
+ ]
683
+ },
684
+ {
685
+ "kind": "javascript-module",
686
+ "path": "src/lib/qti-transformers/index.ts",
687
+ "declarations": [],
688
+ "exports": [
689
+ {
690
+ "kind": "js",
691
+ "name": "*",
692
+ "declaration": {
693
+ "name": "*",
694
+ "package": "./qti-transformers"
695
+ }
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "kind": "javascript-module",
701
+ "path": "src/lib/qti-transformers/qti-transformers.ts",
702
+ "declarations": [
703
+ {
704
+ "kind": "function",
705
+ "name": "qtiTransformItem",
706
+ "return": {
707
+ "type": {
708
+ "text": ""
709
+ }
710
+ },
711
+ "description": "Browser based QTI-XML to HTML transformer.\nReturns an object with methods to load, parse, transform and serialize QTI XML items."
712
+ },
713
+ {
714
+ "kind": "function",
715
+ "name": "qtiTransformManifest",
716
+ "return": {
717
+ "type": {
718
+ "text": "{\n load: (uri: string) => Promise<typeof api>;\n assessmentTest: () => { href: string; identifier: string };\n}"
719
+ }
720
+ }
721
+ },
722
+ {
723
+ "kind": "function",
724
+ "name": "qtiTransformTest",
725
+ "return": {
726
+ "type": {
727
+ "text": ""
728
+ }
729
+ },
730
+ "description": "Returns an object with methods to load, parse and transform QTI tests."
731
+ }
732
+ ],
733
+ "exports": [
734
+ {
735
+ "kind": "js",
736
+ "name": "qtiTransformItem",
737
+ "declaration": {
738
+ "name": "qtiTransformItem",
739
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
740
+ }
741
+ },
742
+ {
743
+ "kind": "js",
744
+ "name": "qtiTransformManifest",
745
+ "declaration": {
746
+ "name": "qtiTransformManifest",
747
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
748
+ }
749
+ },
750
+ {
751
+ "kind": "js",
752
+ "name": "qtiTransformTest",
753
+ "declaration": {
754
+ "name": "qtiTransformTest",
755
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
756
+ }
757
+ }
758
+ ]
759
+ },
606
760
  {
607
761
  "kind": "javascript-module",
608
762
  "path": "src/lib/qti-components/internal/event-types.ts",
@@ -748,62 +902,6 @@
748
902
  "declarations": [],
749
903
  "exports": []
750
904
  },
751
- {
752
- "kind": "javascript-module",
753
- "path": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts",
754
- "declarations": [
755
- {
756
- "kind": "class",
757
- "description": "Represents a custom element for referencing an assessment stimulus.",
758
- "name": "QtiAssessmentStimulusRef",
759
- "members": [],
760
- "attributes": [
761
- {
762
- "name": "identifier",
763
- "type": {
764
- "text": "string"
765
- },
766
- "default": "''",
767
- "description": "The identifier of the stimulus.",
768
- "fieldName": "identifier"
769
- },
770
- {
771
- "name": "href",
772
- "type": {
773
- "text": "string"
774
- },
775
- "default": "''",
776
- "description": "The href of the stimulus.",
777
- "fieldName": "href"
778
- }
779
- ],
780
- "superclass": {
781
- "name": "LitElement",
782
- "package": "lit"
783
- },
784
- "tagName": "qti-assessment-stimulus-ref",
785
- "customElement": true
786
- }
787
- ],
788
- "exports": [
789
- {
790
- "kind": "js",
791
- "name": "QtiAssessmentStimulusRef",
792
- "declaration": {
793
- "name": "QtiAssessmentStimulusRef",
794
- "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
795
- }
796
- },
797
- {
798
- "kind": "custom-element-definition",
799
- "name": "qti-assessment-stimulus-ref",
800
- "declaration": {
801
- "name": "QtiAssessmentStimulusRef",
802
- "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
803
- }
804
- }
805
- ]
806
- },
807
905
  {
808
906
  "kind": "javascript-module",
809
907
  "path": "src/lib/qti-components/qti-assessment-item/item-print-variables.ts",
@@ -935,9 +1033,9 @@
935
1033
  {
936
1034
  "name": "timeDependent",
937
1035
  "type": {
938
- "text": "'true' | 'false'"
1036
+ "text": "'true' | 'false' | null"
939
1037
  },
940
- "default": "'false'",
1038
+ "default": "null",
941
1039
  "fieldName": "timeDependent"
942
1040
  },
943
1041
  {
@@ -967,18 +1065,74 @@
967
1065
  "exports": [
968
1066
  {
969
1067
  "kind": "js",
970
- "name": "QtiAssessmentItem",
1068
+ "name": "QtiAssessmentItem",
1069
+ "declaration": {
1070
+ "name": "QtiAssessmentItem",
1071
+ "module": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.ts"
1072
+ }
1073
+ },
1074
+ {
1075
+ "kind": "custom-element-definition",
1076
+ "name": "qti-assessment-item",
1077
+ "declaration": {
1078
+ "name": "QtiAssessmentItem",
1079
+ "module": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.ts"
1080
+ }
1081
+ }
1082
+ ]
1083
+ },
1084
+ {
1085
+ "kind": "javascript-module",
1086
+ "path": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts",
1087
+ "declarations": [
1088
+ {
1089
+ "kind": "class",
1090
+ "description": "Represents a custom element for referencing an assessment stimulus.",
1091
+ "name": "QtiAssessmentStimulusRef",
1092
+ "members": [],
1093
+ "attributes": [
1094
+ {
1095
+ "name": "identifier",
1096
+ "type": {
1097
+ "text": "string"
1098
+ },
1099
+ "default": "''",
1100
+ "description": "The identifier of the stimulus.",
1101
+ "fieldName": "identifier"
1102
+ },
1103
+ {
1104
+ "name": "href",
1105
+ "type": {
1106
+ "text": "string"
1107
+ },
1108
+ "default": "''",
1109
+ "description": "The href of the stimulus.",
1110
+ "fieldName": "href"
1111
+ }
1112
+ ],
1113
+ "superclass": {
1114
+ "name": "LitElement",
1115
+ "package": "lit"
1116
+ },
1117
+ "tagName": "qti-assessment-stimulus-ref",
1118
+ "customElement": true
1119
+ }
1120
+ ],
1121
+ "exports": [
1122
+ {
1123
+ "kind": "js",
1124
+ "name": "QtiAssessmentStimulusRef",
971
1125
  "declaration": {
972
- "name": "QtiAssessmentItem",
973
- "module": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.ts"
1126
+ "name": "QtiAssessmentStimulusRef",
1127
+ "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
974
1128
  }
975
1129
  },
976
1130
  {
977
1131
  "kind": "custom-element-definition",
978
- "name": "qti-assessment-item",
1132
+ "name": "qti-assessment-stimulus-ref",
979
1133
  "declaration": {
980
- "name": "QtiAssessmentItem",
981
- "module": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.ts"
1134
+ "name": "QtiAssessmentStimulusRef",
1135
+ "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
982
1136
  }
983
1137
  }
984
1138
  ]
@@ -1229,10 +1383,56 @@
1229
1383
  {
1230
1384
  "name": "tabindex",
1231
1385
  "type": {
1232
- "text": "number | undefined"
1386
+ "text": "number"
1233
1387
  },
1234
1388
  "default": "0",
1235
- "fieldName": "tabindex"
1389
+ "fieldName": "tabindex",
1390
+ "inheritedFrom": {
1391
+ "name": "ActiveElementMixin",
1392
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1393
+ }
1394
+ },
1395
+ {
1396
+ "name": "identifier",
1397
+ "type": {
1398
+ "text": "string"
1399
+ },
1400
+ "default": "''",
1401
+ "fieldName": "identifier",
1402
+ "inheritedFrom": {
1403
+ "name": "ActiveElementMixin",
1404
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1405
+ }
1406
+ },
1407
+ {
1408
+ "name": "aria-disabled",
1409
+ "type": {
1410
+ "text": "boolean"
1411
+ },
1412
+ "default": "false",
1413
+ "fieldName": "disabled",
1414
+ "inheritedFrom": {
1415
+ "name": "ActiveElementMixin",
1416
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1417
+ }
1418
+ },
1419
+ {
1420
+ "name": "aria-readonly",
1421
+ "type": {
1422
+ "text": "boolean"
1423
+ },
1424
+ "default": "false",
1425
+ "fieldName": "readonly",
1426
+ "inheritedFrom": {
1427
+ "name": "ActiveElementMixin",
1428
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1429
+ }
1430
+ }
1431
+ ],
1432
+ "mixins": [
1433
+ {
1434
+ "name": "ActiveElementMixin",
1435
+ "module": "/src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin"
1236
1436
  }
1237
1437
  ],
1238
1438
  "superclass": {
@@ -1240,7 +1440,18 @@
1240
1440
  "package": "lit"
1241
1441
  },
1242
1442
  "tagName": "qti-gap-text",
1243
- "customElement": true
1443
+ "customElement": true,
1444
+ "events": [
1445
+ {
1446
+ "type": {
1447
+ "text": "CustomEvent"
1448
+ },
1449
+ "inheritedFrom": {
1450
+ "name": "ActiveElementMixin",
1451
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1452
+ }
1453
+ }
1454
+ ]
1244
1455
  }
1245
1456
  ],
1246
1457
  "exports": [
@@ -1330,22 +1541,23 @@
1330
1541
  "type": {
1331
1542
  "text": "string"
1332
1543
  },
1544
+ "default": "''",
1333
1545
  "fieldName": "identifier",
1334
1546
  "inheritedFrom": {
1335
- "name": "QtiChoice",
1336
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1547
+ "name": "ActiveElementMixin",
1548
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1337
1549
  }
1338
1550
  },
1339
1551
  {
1340
1552
  "name": "tabindex",
1341
1553
  "type": {
1342
- "text": "number | undefined"
1554
+ "text": "number"
1343
1555
  },
1344
1556
  "default": "0",
1345
- "fieldName": "tabindex",
1557
+ "fieldName": "tabIndex",
1346
1558
  "inheritedFrom": {
1347
- "name": "QtiChoice",
1348
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1559
+ "name": "ActiveElementMixin",
1560
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1349
1561
  }
1350
1562
  },
1351
1563
  {
@@ -1356,8 +1568,8 @@
1356
1568
  "default": "false",
1357
1569
  "fieldName": "disabled",
1358
1570
  "inheritedFrom": {
1359
- "name": "QtiChoice",
1360
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1571
+ "name": "ActiveElementMixin",
1572
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1361
1573
  }
1362
1574
  },
1363
1575
  {
@@ -1368,71 +1580,31 @@
1368
1580
  "default": "false",
1369
1581
  "fieldName": "readonly",
1370
1582
  "inheritedFrom": {
1371
- "name": "QtiChoice",
1372
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1583
+ "name": "ActiveElementMixin",
1584
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1373
1585
  }
1374
- },
1586
+ }
1587
+ ],
1588
+ "mixins": [
1375
1589
  {
1376
- "name": "aria-checked",
1377
- "type": {
1378
- "text": "boolean"
1379
- },
1380
- "default": "false",
1381
- "fieldName": "checked",
1382
- "inheritedFrom": {
1383
- "name": "QtiChoice",
1384
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1385
- }
1590
+ "name": "ActiveElementMixin",
1591
+ "module": "/src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin"
1386
1592
  }
1387
1593
  ],
1388
1594
  "superclass": {
1389
- "name": "QtiChoice",
1390
- "module": "/src/lib/qti-components/qti-interaction/internal/choice/qti-choice"
1595
+ "name": "LitElement",
1596
+ "package": "lit"
1391
1597
  },
1392
1598
  "tagName": "qti-hotspot-choice",
1393
1599
  "customElement": true,
1394
- "slots": [
1395
- {
1396
- "description": "The choices slot element",
1397
- "name": "",
1398
- "inheritedFrom": {
1399
- "name": "QtiChoice",
1400
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1401
- }
1402
- }
1403
- ],
1404
1600
  "events": [
1405
1601
  {
1406
- "name": "qti-register-choice",
1407
- "type": {
1408
- "text": "CustomEvent"
1409
- },
1410
- "description": "register itselves on a qti-choice-interaction element.",
1411
- "inheritedFrom": {
1412
- "name": "QtiChoice",
1413
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1414
- }
1415
- },
1416
- {
1417
- "name": "qti-loose-choice",
1418
- "type": {
1419
- "text": "CustomEvent"
1420
- },
1421
- "description": "de-register itselves on a qti-choice-interaction element.",
1422
- "inheritedFrom": {
1423
- "name": "QtiChoice",
1424
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1425
- }
1426
- },
1427
- {
1428
- "name": "qti-choice-element-selected",
1429
1602
  "type": {
1430
1603
  "text": "CustomEvent"
1431
1604
  },
1432
- "description": "Emitted when the choice is selected.",
1433
1605
  "inheritedFrom": {
1434
- "name": "QtiChoice",
1435
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1606
+ "name": "ActiveElementMixin",
1607
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1436
1608
  }
1437
1609
  }
1438
1610
  ]
@@ -1466,44 +1638,41 @@
1466
1638
  "description": "",
1467
1639
  "name": "QtiHottext",
1468
1640
  "members": [],
1641
+ "mixins": [
1642
+ {
1643
+ "name": "ActiveElementMixin",
1644
+ "module": "/src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin"
1645
+ }
1646
+ ],
1469
1647
  "superclass": {
1470
- "name": "QtiChoice",
1471
- "module": "/src/lib/qti-components/qti-interaction/internal/choice/qti-choice"
1648
+ "name": "LitElement",
1649
+ "package": "lit"
1472
1650
  },
1473
1651
  "tagName": "qti-hottext",
1474
1652
  "customElement": true,
1475
- "slots": [
1476
- {
1477
- "description": "The choices slot element",
1478
- "name": "",
1479
- "inheritedFrom": {
1480
- "name": "QtiChoice",
1481
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1482
- }
1483
- }
1484
- ],
1485
1653
  "attributes": [
1486
1654
  {
1487
1655
  "name": "identifier",
1488
1656
  "type": {
1489
1657
  "text": "string"
1490
1658
  },
1659
+ "default": "''",
1491
1660
  "fieldName": "identifier",
1492
1661
  "inheritedFrom": {
1493
- "name": "QtiChoice",
1494
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1662
+ "name": "ActiveElementMixin",
1663
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1495
1664
  }
1496
1665
  },
1497
1666
  {
1498
1667
  "name": "tabindex",
1499
1668
  "type": {
1500
- "text": "number | undefined"
1669
+ "text": "number"
1501
1670
  },
1502
1671
  "default": "0",
1503
- "fieldName": "tabindex",
1672
+ "fieldName": "tabIndex",
1504
1673
  "inheritedFrom": {
1505
- "name": "QtiChoice",
1506
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1674
+ "name": "ActiveElementMixin",
1675
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1507
1676
  }
1508
1677
  },
1509
1678
  {
@@ -1514,8 +1683,8 @@
1514
1683
  "default": "false",
1515
1684
  "fieldName": "disabled",
1516
1685
  "inheritedFrom": {
1517
- "name": "QtiChoice",
1518
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1686
+ "name": "ActiveElementMixin",
1687
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1519
1688
  }
1520
1689
  },
1521
1690
  {
@@ -1526,55 +1695,19 @@
1526
1695
  "default": "false",
1527
1696
  "fieldName": "readonly",
1528
1697
  "inheritedFrom": {
1529
- "name": "QtiChoice",
1530
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1531
- }
1532
- },
1533
- {
1534
- "name": "aria-checked",
1535
- "type": {
1536
- "text": "boolean"
1537
- },
1538
- "default": "false",
1539
- "fieldName": "checked",
1540
- "inheritedFrom": {
1541
- "name": "QtiChoice",
1542
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1698
+ "name": "ActiveElementMixin",
1699
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1543
1700
  }
1544
1701
  }
1545
1702
  ],
1546
1703
  "events": [
1547
1704
  {
1548
- "name": "qti-register-choice",
1549
- "type": {
1550
- "text": "CustomEvent"
1551
- },
1552
- "description": "register itselves on a qti-choice-interaction element.",
1553
- "inheritedFrom": {
1554
- "name": "QtiChoice",
1555
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1556
- }
1557
- },
1558
- {
1559
- "name": "qti-loose-choice",
1560
- "type": {
1561
- "text": "CustomEvent"
1562
- },
1563
- "description": "de-register itselves on a qti-choice-interaction element.",
1564
- "inheritedFrom": {
1565
- "name": "QtiChoice",
1566
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1567
- }
1568
- },
1569
- {
1570
- "name": "qti-choice-element-selected",
1571
1705
  "type": {
1572
1706
  "text": "CustomEvent"
1573
1707
  },
1574
- "description": "Emitted when the choice is selected.",
1575
1708
  "inheritedFrom": {
1576
- "name": "QtiChoice",
1577
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1709
+ "name": "ActiveElementMixin",
1710
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1578
1711
  }
1579
1712
  }
1580
1713
  ]
@@ -1607,6 +1740,30 @@
1607
1740
  "kind": "class",
1608
1741
  "description": "",
1609
1742
  "name": "QtiInlineChoice",
1743
+ "members": [],
1744
+ "events": [
1745
+ {
1746
+ "name": "qti-inline-choice-register",
1747
+ "type": {
1748
+ "text": "CustomEvent"
1749
+ }
1750
+ },
1751
+ {
1752
+ "name": "qti-inline-choice-select",
1753
+ "type": {
1754
+ "text": "CustomEvent"
1755
+ }
1756
+ }
1757
+ ],
1758
+ "attributes": [
1759
+ {
1760
+ "name": "identifier",
1761
+ "type": {
1762
+ "text": "string"
1763
+ },
1764
+ "fieldName": "identifier"
1765
+ }
1766
+ ],
1610
1767
  "superclass": {
1611
1768
  "name": "LitElement",
1612
1769
  "package": "lit"
@@ -1669,6 +1826,60 @@
1669
1826
  },
1670
1827
  "default": "false",
1671
1828
  "fieldName": "fixed"
1829
+ },
1830
+ {
1831
+ "name": "identifier",
1832
+ "type": {
1833
+ "text": "string"
1834
+ },
1835
+ "default": "''",
1836
+ "fieldName": "identifier",
1837
+ "inheritedFrom": {
1838
+ "name": "ActiveElementMixin",
1839
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1840
+ }
1841
+ },
1842
+ {
1843
+ "name": "tabindex",
1844
+ "type": {
1845
+ "text": "number"
1846
+ },
1847
+ "default": "0",
1848
+ "fieldName": "tabIndex",
1849
+ "inheritedFrom": {
1850
+ "name": "ActiveElementMixin",
1851
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1852
+ }
1853
+ },
1854
+ {
1855
+ "name": "aria-disabled",
1856
+ "type": {
1857
+ "text": "boolean"
1858
+ },
1859
+ "default": "false",
1860
+ "fieldName": "disabled",
1861
+ "inheritedFrom": {
1862
+ "name": "ActiveElementMixin",
1863
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1864
+ }
1865
+ },
1866
+ {
1867
+ "name": "aria-readonly",
1868
+ "type": {
1869
+ "text": "boolean"
1870
+ },
1871
+ "default": "false",
1872
+ "fieldName": "readonly",
1873
+ "inheritedFrom": {
1874
+ "name": "ActiveElementMixin",
1875
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1876
+ }
1877
+ }
1878
+ ],
1879
+ "mixins": [
1880
+ {
1881
+ "name": "ActiveElementMixin",
1882
+ "module": "/src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin"
1672
1883
  }
1673
1884
  ],
1674
1885
  "superclass": {
@@ -1676,7 +1887,18 @@
1676
1887
  "package": "lit"
1677
1888
  },
1678
1889
  "tagName": "qti-simple-associable-choice",
1679
- "customElement": true
1890
+ "customElement": true,
1891
+ "events": [
1892
+ {
1893
+ "type": {
1894
+ "text": "CustomEvent"
1895
+ },
1896
+ "inheritedFrom": {
1897
+ "name": "ActiveElementMixin",
1898
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1899
+ }
1900
+ }
1901
+ ]
1680
1902
  }
1681
1903
  ],
1682
1904
  "exports": [
@@ -1704,59 +1926,19 @@
1704
1926
  "declarations": [
1705
1927
  {
1706
1928
  "kind": "class",
1707
- "description": "",
1929
+ "description": "qti-order-interaction\nqti-choice-interaction",
1708
1930
  "name": "QtiSimpleChoice",
1709
- "slots": [
1710
- {
1711
- "description": "The default slot.",
1712
- "name": "",
1713
- "inheritedFrom": {
1714
- "name": "QtiChoice",
1715
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1716
- }
1717
- }
1718
- ],
1719
1931
  "members": [],
1720
- "events": [
1721
- {
1722
- "name": "qti-choice-element-selected",
1723
- "type": {
1724
- "text": "CustomEvent"
1725
- },
1726
- "description": "Emitted when a choice is selected.",
1727
- "inheritedFrom": {
1728
- "name": "QtiChoice",
1729
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1730
- }
1731
- },
1732
- {
1733
- "name": "qti-register-choice",
1734
- "type": {
1735
- "text": "CustomEvent"
1736
- },
1737
- "description": "Emitted when an choice is added",
1738
- "inheritedFrom": {
1739
- "name": "QtiChoice",
1740
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1741
- }
1742
- },
1932
+ "mixins": [
1743
1933
  {
1744
- "name": "qti-loose-choice",
1745
- "type": {
1746
- "text": "CustomEvent"
1747
- },
1748
- "description": "Emitted when a choice is removed",
1749
- "inheritedFrom": {
1750
- "name": "QtiChoice",
1751
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1752
- }
1934
+ "name": "ActiveElementMixin",
1935
+ "module": "/src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin"
1753
1936
  }
1754
1937
  ],
1755
1938
  "superclass": {
1756
- "name": "QtiChoice",
1757
- "module": "/src/lib/qti-components/qti-interaction/internal/choice/qti-choice"
1939
+ "name": "LitElement",
1940
+ "package": "lit"
1758
1941
  },
1759
- "summary": "Short summary of the component's intended use.",
1760
1942
  "tagName": "qti-simple-choice",
1761
1943
  "customElement": true,
1762
1944
  "attributes": [
@@ -1765,22 +1947,23 @@
1765
1947
  "type": {
1766
1948
  "text": "string"
1767
1949
  },
1950
+ "default": "''",
1768
1951
  "fieldName": "identifier",
1769
1952
  "inheritedFrom": {
1770
- "name": "QtiChoice",
1771
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1953
+ "name": "ActiveElementMixin",
1954
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1772
1955
  }
1773
1956
  },
1774
1957
  {
1775
1958
  "name": "tabindex",
1776
1959
  "type": {
1777
- "text": "number | undefined"
1960
+ "text": "number"
1778
1961
  },
1779
1962
  "default": "0",
1780
- "fieldName": "tabindex",
1963
+ "fieldName": "tabIndex",
1781
1964
  "inheritedFrom": {
1782
- "name": "QtiChoice",
1783
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1965
+ "name": "ActiveElementMixin",
1966
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1784
1967
  }
1785
1968
  },
1786
1969
  {
@@ -1791,8 +1974,8 @@
1791
1974
  "default": "false",
1792
1975
  "fieldName": "disabled",
1793
1976
  "inheritedFrom": {
1794
- "name": "QtiChoice",
1795
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1977
+ "name": "ActiveElementMixin",
1978
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1796
1979
  }
1797
1980
  },
1798
1981
  {
@@ -1803,20 +1986,19 @@
1803
1986
  "default": "false",
1804
1987
  "fieldName": "readonly",
1805
1988
  "inheritedFrom": {
1806
- "name": "QtiChoice",
1807
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1989
+ "name": "ActiveElementMixin",
1990
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1808
1991
  }
1809
- },
1992
+ }
1993
+ ],
1994
+ "events": [
1810
1995
  {
1811
- "name": "aria-checked",
1812
1996
  "type": {
1813
- "text": "boolean"
1997
+ "text": "CustomEvent"
1814
1998
  },
1815
- "default": "false",
1816
- "fieldName": "checked",
1817
1999
  "inheritedFrom": {
1818
- "name": "QtiChoice",
1819
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
2000
+ "name": "ActiveElementMixin",
2001
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1820
2002
  }
1821
2003
  }
1822
2004
  ]
@@ -2883,7 +3065,7 @@
2883
3065
  "fieldName": "responseIdentifier",
2884
3066
  "inheritedFrom": {
2885
3067
  "name": "ChoicesMixin",
2886
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3068
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
2887
3069
  }
2888
3070
  },
2889
3071
  {
@@ -2895,7 +3077,7 @@
2895
3077
  "fieldName": "minChoices",
2896
3078
  "inheritedFrom": {
2897
3079
  "name": "ChoicesMixin",
2898
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3080
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
2899
3081
  }
2900
3082
  },
2901
3083
  {
@@ -2904,11 +3086,34 @@
2904
3086
  "text": "number"
2905
3087
  },
2906
3088
  "default": "1",
2907
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
2908
3089
  "fieldName": "maxChoices",
2909
3090
  "inheritedFrom": {
2910
3091
  "name": "ChoicesMixin",
2911
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3092
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3093
+ }
3094
+ },
3095
+ {
3096
+ "name": "disabled",
3097
+ "type": {
3098
+ "text": "boolean"
3099
+ },
3100
+ "default": "false",
3101
+ "fieldName": "disabled",
3102
+ "inheritedFrom": {
3103
+ "name": "ChoicesMixin",
3104
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3105
+ }
3106
+ },
3107
+ {
3108
+ "name": "readonly",
3109
+ "type": {
3110
+ "text": "boolean"
3111
+ },
3112
+ "default": "false",
3113
+ "fieldName": "readonly",
3114
+ "inheritedFrom": {
3115
+ "name": "ChoicesMixin",
3116
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
2912
3117
  }
2913
3118
  }
2914
3119
  ],
@@ -2923,7 +3128,7 @@
2923
3128
  },
2924
3129
  {
2925
3130
  "name": "ChoicesMixin",
2926
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
3131
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices.mixin"
2927
3132
  }
2928
3133
  ],
2929
3134
  "superclass": {
@@ -2940,7 +3145,7 @@
2940
3145
  },
2941
3146
  "inheritedFrom": {
2942
3147
  "name": "ChoicesMixin",
2943
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3148
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
2944
3149
  }
2945
3150
  },
2946
3151
  {
@@ -2950,7 +3155,7 @@
2950
3155
  },
2951
3156
  "inheritedFrom": {
2952
3157
  "name": "ChoicesMixin",
2953
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3158
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
2954
3159
  }
2955
3160
  }
2956
3161
  ]
@@ -3761,7 +3966,7 @@
3761
3966
  "mixins": [
3762
3967
  {
3763
3968
  "name": "ChoicesMixin",
3764
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
3969
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices.mixin"
3765
3970
  }
3766
3971
  ],
3767
3972
  "superclass": {
@@ -3780,7 +3985,7 @@
3780
3985
  "fieldName": "responseIdentifier",
3781
3986
  "inheritedFrom": {
3782
3987
  "name": "ChoicesMixin",
3783
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3988
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3784
3989
  }
3785
3990
  },
3786
3991
  {
@@ -3792,7 +3997,7 @@
3792
3997
  "fieldName": "minChoices",
3793
3998
  "inheritedFrom": {
3794
3999
  "name": "ChoicesMixin",
3795
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4000
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3796
4001
  }
3797
4002
  },
3798
4003
  {
@@ -3801,11 +4006,34 @@
3801
4006
  "text": "number"
3802
4007
  },
3803
4008
  "default": "1",
3804
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
3805
4009
  "fieldName": "maxChoices",
3806
4010
  "inheritedFrom": {
3807
4011
  "name": "ChoicesMixin",
3808
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4012
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4013
+ }
4014
+ },
4015
+ {
4016
+ "name": "disabled",
4017
+ "type": {
4018
+ "text": "boolean"
4019
+ },
4020
+ "default": "false",
4021
+ "fieldName": "disabled",
4022
+ "inheritedFrom": {
4023
+ "name": "ChoicesMixin",
4024
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4025
+ }
4026
+ },
4027
+ {
4028
+ "name": "readonly",
4029
+ "type": {
4030
+ "text": "boolean"
4031
+ },
4032
+ "default": "false",
4033
+ "fieldName": "readonly",
4034
+ "inheritedFrom": {
4035
+ "name": "ChoicesMixin",
4036
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3809
4037
  }
3810
4038
  }
3811
4039
  ],
@@ -3817,7 +4045,7 @@
3817
4045
  },
3818
4046
  "inheritedFrom": {
3819
4047
  "name": "ChoicesMixin",
3820
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4048
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3821
4049
  }
3822
4050
  },
3823
4051
  {
@@ -3827,7 +4055,7 @@
3827
4055
  },
3828
4056
  "inheritedFrom": {
3829
4057
  "name": "ChoicesMixin",
3830
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4058
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3831
4059
  }
3832
4060
  }
3833
4061
  ]
@@ -3870,7 +4098,7 @@
3870
4098
  "mixins": [
3871
4099
  {
3872
4100
  "name": "ChoicesMixin",
3873
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
4101
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices.mixin"
3874
4102
  }
3875
4103
  ],
3876
4104
  "superclass": {
@@ -3889,7 +4117,7 @@
3889
4117
  "fieldName": "responseIdentifier",
3890
4118
  "inheritedFrom": {
3891
4119
  "name": "ChoicesMixin",
3892
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4120
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3893
4121
  }
3894
4122
  },
3895
4123
  {
@@ -3901,7 +4129,7 @@
3901
4129
  "fieldName": "minChoices",
3902
4130
  "inheritedFrom": {
3903
4131
  "name": "ChoicesMixin",
3904
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4132
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3905
4133
  }
3906
4134
  },
3907
4135
  {
@@ -3910,11 +4138,34 @@
3910
4138
  "text": "number"
3911
4139
  },
3912
4140
  "default": "1",
3913
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
3914
4141
  "fieldName": "maxChoices",
3915
4142
  "inheritedFrom": {
3916
4143
  "name": "ChoicesMixin",
3917
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4144
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4145
+ }
4146
+ },
4147
+ {
4148
+ "name": "disabled",
4149
+ "type": {
4150
+ "text": "boolean"
4151
+ },
4152
+ "default": "false",
4153
+ "fieldName": "disabled",
4154
+ "inheritedFrom": {
4155
+ "name": "ChoicesMixin",
4156
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4157
+ }
4158
+ },
4159
+ {
4160
+ "name": "readonly",
4161
+ "type": {
4162
+ "text": "boolean"
4163
+ },
4164
+ "default": "false",
4165
+ "fieldName": "readonly",
4166
+ "inheritedFrom": {
4167
+ "name": "ChoicesMixin",
4168
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3918
4169
  }
3919
4170
  }
3920
4171
  ],
@@ -3926,7 +4177,7 @@
3926
4177
  },
3927
4178
  "inheritedFrom": {
3928
4179
  "name": "ChoicesMixin",
3929
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4180
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3930
4181
  }
3931
4182
  },
3932
4183
  {
@@ -3936,7 +4187,7 @@
3936
4187
  },
3937
4188
  "inheritedFrom": {
3938
4189
  "name": "ChoicesMixin",
3939
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4190
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3940
4191
  }
3941
4192
  }
3942
4193
  ]
@@ -3979,7 +4230,7 @@
3979
4230
  "mixins": [
3980
4231
  {
3981
4232
  "name": "ChoicesMixin",
3982
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
4233
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices.mixin"
3983
4234
  }
3984
4235
  ],
3985
4236
  "superclass": {
@@ -3998,7 +4249,7 @@
3998
4249
  "fieldName": "responseIdentifier",
3999
4250
  "inheritedFrom": {
4000
4251
  "name": "ChoicesMixin",
4001
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4252
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4002
4253
  }
4003
4254
  },
4004
4255
  {
@@ -4010,7 +4261,7 @@
4010
4261
  "fieldName": "minChoices",
4011
4262
  "inheritedFrom": {
4012
4263
  "name": "ChoicesMixin",
4013
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4264
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4014
4265
  }
4015
4266
  },
4016
4267
  {
@@ -4019,11 +4270,34 @@
4019
4270
  "text": "number"
4020
4271
  },
4021
4272
  "default": "1",
4022
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
4023
4273
  "fieldName": "maxChoices",
4024
4274
  "inheritedFrom": {
4025
4275
  "name": "ChoicesMixin",
4026
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4276
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4277
+ }
4278
+ },
4279
+ {
4280
+ "name": "disabled",
4281
+ "type": {
4282
+ "text": "boolean"
4283
+ },
4284
+ "default": "false",
4285
+ "fieldName": "disabled",
4286
+ "inheritedFrom": {
4287
+ "name": "ChoicesMixin",
4288
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4289
+ }
4290
+ },
4291
+ {
4292
+ "name": "readonly",
4293
+ "type": {
4294
+ "text": "boolean"
4295
+ },
4296
+ "default": "false",
4297
+ "fieldName": "readonly",
4298
+ "inheritedFrom": {
4299
+ "name": "ChoicesMixin",
4300
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4027
4301
  }
4028
4302
  }
4029
4303
  ],
@@ -4035,7 +4309,7 @@
4035
4309
  },
4036
4310
  "inheritedFrom": {
4037
4311
  "name": "ChoicesMixin",
4038
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4312
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4039
4313
  }
4040
4314
  },
4041
4315
  {
@@ -4045,7 +4319,7 @@
4045
4319
  },
4046
4320
  "inheritedFrom": {
4047
4321
  "name": "ChoicesMixin",
4048
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4322
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4049
4323
  }
4050
4324
  }
4051
4325
  ]
@@ -4796,7 +5070,7 @@
4796
5070
  "type": {
4797
5071
  "text": "number"
4798
5072
  },
4799
- "default": "0",
5073
+ "default": "Infinity",
4800
5074
  "fieldName": "maxChoices"
4801
5075
  },
4802
5076
  {
@@ -5651,8 +5925,9 @@
5651
5925
  {
5652
5926
  "name": "external-scored",
5653
5927
  "type": {
5654
- "text": "String"
5928
+ "text": "'human' | 'externalMachine' | null"
5655
5929
  },
5930
+ "default": "null",
5656
5931
  "fieldName": "externalScored"
5657
5932
  },
5658
5933
  {
@@ -5766,40 +6041,18 @@
5766
6041
  },
5767
6042
  {
5768
6043
  "kind": "javascript-module",
5769
- "path": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts",
6044
+ "path": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts",
5770
6045
  "declarations": [
5771
6046
  {
5772
- "kind": "class",
5773
- "description": "",
5774
- "name": "QtiChoice",
5775
- "slots": [
5776
- {
5777
- "description": "The choices slot element",
5778
- "name": ""
5779
- }
5780
- ],
6047
+ "kind": "mixin",
6048
+ "description": "A mixin that adds choice functionality to a LitElement-based class.\nIt dispatches events with a custom `type` and handles selection logic.",
6049
+ "name": "ActiveElementMixin",
5781
6050
  "members": [],
5782
6051
  "events": [
5783
6052
  {
5784
- "name": "qti-register-choice",
5785
- "type": {
5786
- "text": "CustomEvent"
5787
- },
5788
- "description": "register itselves on a qti-choice-interaction element."
5789
- },
5790
- {
5791
- "name": "qti-loose-choice",
5792
- "type": {
5793
- "text": "CustomEvent"
5794
- },
5795
- "description": "de-register itselves on a qti-choice-interaction element."
5796
- },
5797
- {
5798
- "name": "qti-choice-element-selected",
5799
6053
  "type": {
5800
6054
  "text": "CustomEvent"
5801
- },
5802
- "description": "Emitted when the choice is selected."
6055
+ }
5803
6056
  }
5804
6057
  ],
5805
6058
  "attributes": [
@@ -5808,15 +6061,16 @@
5808
6061
  "type": {
5809
6062
  "text": "string"
5810
6063
  },
6064
+ "default": "''",
5811
6065
  "fieldName": "identifier"
5812
6066
  },
5813
6067
  {
5814
6068
  "name": "tabindex",
5815
6069
  "type": {
5816
- "text": "number | undefined"
6070
+ "text": "number"
5817
6071
  },
5818
6072
  "default": "0",
5819
- "fieldName": "tabindex"
6073
+ "fieldName": "tabIndex"
5820
6074
  },
5821
6075
  {
5822
6076
  "name": "aria-disabled",
@@ -5833,96 +6087,40 @@
5833
6087
  },
5834
6088
  "default": "false",
5835
6089
  "fieldName": "readonly"
5836
- },
5837
- {
5838
- "name": "aria-checked",
5839
- "type": {
5840
- "text": "boolean"
5841
- },
5842
- "default": "false",
5843
- "fieldName": "checked"
5844
- }
5845
- ],
5846
- "superclass": {
5847
- "name": "LitElement",
5848
- "package": "lit"
5849
- },
5850
- "summary": "qti-choice is used by qti-simple-choice, qti-inline-choice, qti-hottext, qti-hotspot-choice.",
5851
- "customElement": true
5852
- }
5853
- ],
5854
- "exports": [
5855
- {
5856
- "kind": "js",
5857
- "name": "QtiChoice",
5858
- "declaration": {
5859
- "name": "QtiChoice",
5860
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
5861
- }
5862
- }
5863
- ]
5864
- },
5865
- {
5866
- "kind": "javascript-module",
5867
- "path": "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts",
5868
- "declarations": [
5869
- {
5870
- "kind": "class",
5871
- "description": "",
5872
- "name": "TestElement",
5873
- "members": [],
5874
- "mixins": [
5875
- {
5876
- "name": "ChoicesMixin",
5877
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
5878
6090
  }
5879
6091
  ],
5880
- "superclass": {
5881
- "name": "LitElement",
5882
- "package": "lit"
5883
- },
5884
- "tagName": "test-element",
5885
- "customElement": true,
5886
- "attributes": [
6092
+ "parameters": [
5887
6093
  {
5888
- "name": "class",
6094
+ "name": "Base",
5889
6095
  "type": {
5890
- "text": "string"
6096
+ "text": "T"
5891
6097
  },
5892
- "fieldName": "class",
5893
- "inheritedFrom": {
5894
- "name": "VocabularyMixin",
5895
- "module": "src/lib/qti-components/qti-interaction/internal/vocabulary/vocabulary-mixin.ts"
5896
- }
6098
+ "description": "The base class to extend."
5897
6099
  },
5898
6100
  {
5899
- "name": "shuffle",
6101
+ "name": "type",
5900
6102
  "type": {
5901
- "text": "boolean"
6103
+ "text": "string"
5902
6104
  },
5903
- "fieldName": "shuffle",
5904
- "inheritedFrom": {
5905
- "name": "ShuffleMixin",
5906
- "module": "src/lib/qti-components/qti-interaction/internal/shuffle/shuffle-mixin.ts"
5907
- }
6105
+ "description": "The type of the choice, used in event names."
5908
6106
  }
5909
6107
  ]
5910
6108
  }
5911
6109
  ],
5912
6110
  "exports": [
5913
6111
  {
5914
- "kind": "custom-element-definition",
5915
- "name": "test-element",
6112
+ "kind": "js",
6113
+ "name": "ActiveElementMixin",
5916
6114
  "declaration": {
5917
- "name": "TestElement",
5918
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts"
6115
+ "name": "ActiveElementMixin",
6116
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
5919
6117
  }
5920
6118
  }
5921
6119
  ]
5922
6120
  },
5923
6121
  {
5924
6122
  "kind": "javascript-module",
5925
- "path": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts",
6123
+ "path": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts",
5926
6124
  "declarations": [
5927
6125
  {
5928
6126
  "kind": "mixin",
@@ -5966,8 +6164,23 @@
5966
6164
  "text": "number"
5967
6165
  },
5968
6166
  "default": "1",
5969
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
5970
6167
  "fieldName": "maxChoices"
6168
+ },
6169
+ {
6170
+ "name": "disabled",
6171
+ "type": {
6172
+ "text": "boolean"
6173
+ },
6174
+ "default": "false",
6175
+ "fieldName": "disabled"
6176
+ },
6177
+ {
6178
+ "name": "readonly",
6179
+ "type": {
6180
+ "text": "boolean"
6181
+ },
6182
+ "default": "false",
6183
+ "fieldName": "readonly"
5971
6184
  }
5972
6185
  ],
5973
6186
  "parameters": [
@@ -5992,7 +6205,65 @@
5992
6205
  "name": "ChoicesMixin",
5993
6206
  "declaration": {
5994
6207
  "name": "ChoicesMixin",
5995
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
6208
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
6209
+ }
6210
+ }
6211
+ ]
6212
+ },
6213
+ {
6214
+ "kind": "javascript-module",
6215
+ "path": "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts",
6216
+ "declarations": [
6217
+ {
6218
+ "kind": "class",
6219
+ "description": "",
6220
+ "name": "TestElement",
6221
+ "members": [],
6222
+ "mixins": [
6223
+ {
6224
+ "name": "ChoicesMixin",
6225
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices.mixin"
6226
+ }
6227
+ ],
6228
+ "superclass": {
6229
+ "name": "LitElement",
6230
+ "package": "lit"
6231
+ },
6232
+ "tagName": "test-element",
6233
+ "customElement": true,
6234
+ "attributes": [
6235
+ {
6236
+ "name": "class",
6237
+ "type": {
6238
+ "text": "string"
6239
+ },
6240
+ "fieldName": "class",
6241
+ "inheritedFrom": {
6242
+ "name": "VocabularyMixin",
6243
+ "module": "src/lib/qti-components/qti-interaction/internal/vocabulary/vocabulary-mixin.ts"
6244
+ }
6245
+ },
6246
+ {
6247
+ "name": "shuffle",
6248
+ "type": {
6249
+ "text": "boolean"
6250
+ },
6251
+ "fieldName": "shuffle",
6252
+ "inheritedFrom": {
6253
+ "name": "ShuffleMixin",
6254
+ "module": "src/lib/qti-components/qti-interaction/internal/shuffle/shuffle-mixin.ts"
6255
+ }
6256
+ }
6257
+ ]
6258
+ }
6259
+ ],
6260
+ "exports": [
6261
+ {
6262
+ "kind": "custom-element-definition",
6263
+ "name": "test-element",
6264
+ "declaration": {
6265
+ "name": "TestElement",
6266
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts"
5996
6267
  }
5997
6268
  }
5998
6269
  ]
@@ -6112,7 +6383,7 @@
6112
6383
  }
6113
6384
  },
6114
6385
  {
6115
- "name": "droppablesInShadowRoot",
6386
+ "name": "useShadowRootForDroppables",
6116
6387
  "type": {
6117
6388
  "text": "boolean"
6118
6389
  }
@@ -6139,7 +6410,7 @@
6139
6410
  },
6140
6411
  {
6141
6412
  "kind": "javascript-module",
6142
- "path": "src/lib/qti-components/qti-interaction/internal/drag-drop/draggables-mixin.old_ts",
6413
+ "path": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop.md",
6143
6414
  "declarations": [],
6144
6415
  "exports": []
6145
6416
  },
@@ -6170,7 +6441,7 @@
6170
6441
  }
6171
6442
  },
6172
6443
  {
6173
- "name": "droppablesInShadowRoot",
6444
+ "name": "useShadowRoot",
6174
6445
  "type": {
6175
6446
  "text": "boolean"
6176
6447
  }