@citolab/qti-components 6.9.1-beta.3 → 6.9.1-beta.31

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,147 @@
106
106
  "name": "*",
107
107
  "declaration": {
108
108
  "name": "*",
109
- "package": "./qti-transformers"
109
+ "package": "./qti-item"
110
+ }
111
+ },
112
+ {
113
+ "kind": "js",
114
+ "name": "*",
115
+ "declaration": {
116
+ "name": "*",
117
+ "package": "./qti-item.mixin"
110
118
  }
111
119
  }
112
120
  ]
113
121
  },
114
122
  {
115
123
  "kind": "javascript-module",
116
- "path": "src/lib/qti-transformers/qti-transformers.ts",
124
+ "path": "src/lib/qti-item/qti-item.mixin.ts",
117
125
  "declarations": [
118
126
  {
119
- "kind": "function",
120
- "name": "qtiTransformItem",
121
- "return": {
122
- "type": {
123
- "text": ""
127
+ "kind": "mixin",
128
+ "description": "",
129
+ "name": "QtiItemMixin",
130
+ "members": [],
131
+ "events": [
132
+ {
133
+ "name": "qti-item-connected",
134
+ "type": {
135
+ "text": "CustomEvent"
136
+ }
124
137
  }
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}"
138
+ ],
139
+ "attributes": [
140
+ {
141
+ "name": "identifier",
142
+ "type": {
143
+ "text": "string | undefined"
144
+ },
145
+ "fieldName": "identifier"
146
+ },
147
+ {
148
+ "name": "href",
149
+ "type": {
150
+ "text": "string | undefined"
151
+ },
152
+ "fieldName": "href"
134
153
  }
135
- }
136
- },
137
- {
138
- "kind": "function",
139
- "name": "qtiTransformTest",
140
- "return": {
141
- "type": {
142
- "text": ""
154
+ ],
155
+ "parameters": [
156
+ {
157
+ "name": "Base",
158
+ "type": {
159
+ "text": "T"
160
+ }
143
161
  }
144
- },
145
- "description": "Returns an object with methods to load, parse and transform QTI tests."
162
+ ]
146
163
  }
147
164
  ],
148
165
  "exports": [
149
166
  {
150
167
  "kind": "js",
151
- "name": "qtiTransformItem",
168
+ "name": "QtiItemMixin",
152
169
  "declaration": {
153
- "name": "qtiTransformItem",
154
- "module": "src/lib/qti-transformers/qti-transformers.ts"
170
+ "name": "QtiItemMixin",
171
+ "module": "src/lib/qti-item/qti-item.mixin.ts"
155
172
  }
156
- },
173
+ }
174
+ ]
175
+ },
176
+ {
177
+ "kind": "javascript-module",
178
+ "path": "src/lib/qti-item/qti-item.ts",
179
+ "declarations": [
180
+ {
181
+ "kind": "class",
182
+ "description": "",
183
+ "name": "QtiItem",
184
+ "mixins": [
185
+ {
186
+ "name": "QtiItemMixin",
187
+ "module": "/src/lib/qti-item/qti-item.mixin"
188
+ }
189
+ ],
190
+ "superclass": {
191
+ "name": "LitElement",
192
+ "package": "lit"
193
+ },
194
+ "tagName": "qti-item",
195
+ "customElement": true,
196
+ "attributes": [
197
+ {
198
+ "name": "identifier",
199
+ "type": {
200
+ "text": "string | undefined"
201
+ },
202
+ "fieldName": "identifier",
203
+ "inheritedFrom": {
204
+ "name": "QtiItemMixin",
205
+ "module": "src/lib/qti-item/qti-item.mixin.ts"
206
+ }
207
+ },
208
+ {
209
+ "name": "href",
210
+ "type": {
211
+ "text": "string | undefined"
212
+ },
213
+ "fieldName": "href",
214
+ "inheritedFrom": {
215
+ "name": "QtiItemMixin",
216
+ "module": "src/lib/qti-item/qti-item.mixin.ts"
217
+ }
218
+ }
219
+ ],
220
+ "members": [],
221
+ "events": [
222
+ {
223
+ "name": "qti-item-connected",
224
+ "type": {
225
+ "text": "CustomEvent"
226
+ },
227
+ "inheritedFrom": {
228
+ "name": "QtiItemMixin",
229
+ "module": "src/lib/qti-item/qti-item.mixin.ts"
230
+ }
231
+ }
232
+ ]
233
+ }
234
+ ],
235
+ "exports": [
157
236
  {
158
237
  "kind": "js",
159
- "name": "qtiTransformManifest",
238
+ "name": "QtiItem",
160
239
  "declaration": {
161
- "name": "qtiTransformManifest",
162
- "module": "src/lib/qti-transformers/qti-transformers.ts"
240
+ "name": "QtiItem",
241
+ "module": "src/lib/qti-item/qti-item.ts"
163
242
  }
164
243
  },
165
244
  {
166
- "kind": "js",
167
- "name": "qtiTransformTest",
245
+ "kind": "custom-element-definition",
246
+ "name": "qti-item",
168
247
  "declaration": {
169
- "name": "qtiTransformTest",
170
- "module": "src/lib/qti-transformers/qti-transformers.ts"
248
+ "name": "QtiItem",
249
+ "module": "src/lib/qti-item/qti-item.ts"
171
250
  }
172
251
  }
173
252
  ]
@@ -230,7 +309,7 @@
230
309
  "name": "*",
231
310
  "declaration": {
232
311
  "name": "*",
233
- "package": "./qti-interaction/internal/choice/qti-choice"
312
+ "package": "./qti-interaction/internal/active-element/active-element.mixin"
234
313
  }
235
314
  },
236
315
  {
@@ -603,6 +682,194 @@
603
682
  }
604
683
  ]
605
684
  },
685
+ {
686
+ "kind": "javascript-module",
687
+ "path": "src/lib/qti-loader/index.ts",
688
+ "declarations": [],
689
+ "exports": [
690
+ {
691
+ "kind": "js",
692
+ "name": "*",
693
+ "declaration": {
694
+ "name": "*",
695
+ "package": "./qti-loader"
696
+ }
697
+ }
698
+ ]
699
+ },
700
+ {
701
+ "kind": "javascript-module",
702
+ "path": "src/lib/qti-loader/qti-loader.ts",
703
+ "declarations": [
704
+ {
705
+ "kind": "function",
706
+ "name": "getItemByIndex",
707
+ "return": {
708
+ "type": {
709
+ "text": "Promise<any>"
710
+ }
711
+ },
712
+ "parameters": [
713
+ {
714
+ "name": "packageUri",
715
+ "type": {
716
+ "text": "string"
717
+ }
718
+ },
719
+ {
720
+ "name": "index",
721
+ "type": {
722
+ "text": "number"
723
+ }
724
+ },
725
+ {
726
+ "name": "cancelPreviousRequest",
727
+ "default": "true"
728
+ }
729
+ ]
730
+ },
731
+ {
732
+ "kind": "function",
733
+ "name": "getAssessmentData",
734
+ "return": {
735
+ "type": {
736
+ "text": "Promise<ManifestData>"
737
+ }
738
+ },
739
+ "parameters": [
740
+ {
741
+ "name": "packageUri",
742
+ "type": {
743
+ "text": "string"
744
+ }
745
+ }
746
+ ]
747
+ },
748
+ {
749
+ "kind": "function",
750
+ "name": "getItemByUri",
751
+ "return": {
752
+ "type": {
753
+ "text": "Promise<any>"
754
+ }
755
+ },
756
+ "parameters": [
757
+ {
758
+ "name": "itemUri",
759
+ "type": {
760
+ "text": "string"
761
+ }
762
+ },
763
+ {
764
+ "name": "cancelPreviousRequest",
765
+ "default": "true"
766
+ }
767
+ ]
768
+ }
769
+ ],
770
+ "exports": [
771
+ {
772
+ "kind": "js",
773
+ "name": "getItemByIndex",
774
+ "declaration": {
775
+ "name": "getItemByIndex",
776
+ "module": "src/lib/qti-loader/qti-loader.ts"
777
+ }
778
+ },
779
+ {
780
+ "kind": "js",
781
+ "name": "getAssessmentData",
782
+ "declaration": {
783
+ "name": "getAssessmentData",
784
+ "module": "src/lib/qti-loader/qti-loader.ts"
785
+ }
786
+ },
787
+ {
788
+ "kind": "js",
789
+ "name": "getItemByUri",
790
+ "declaration": {
791
+ "name": "getItemByUri",
792
+ "module": "src/lib/qti-loader/qti-loader.ts"
793
+ }
794
+ }
795
+ ]
796
+ },
797
+ {
798
+ "kind": "javascript-module",
799
+ "path": "src/lib/qti-transformers/index.ts",
800
+ "declarations": [],
801
+ "exports": [
802
+ {
803
+ "kind": "js",
804
+ "name": "*",
805
+ "declaration": {
806
+ "name": "*",
807
+ "package": "./qti-transformers"
808
+ }
809
+ }
810
+ ]
811
+ },
812
+ {
813
+ "kind": "javascript-module",
814
+ "path": "src/lib/qti-transformers/qti-transformers.ts",
815
+ "declarations": [
816
+ {
817
+ "kind": "function",
818
+ "name": "qtiTransformItem",
819
+ "return": {
820
+ "type": {
821
+ "text": ""
822
+ }
823
+ },
824
+ "description": "Browser based QTI-XML to HTML transformer.\nReturns an object with methods to load, parse, transform and serialize QTI XML items."
825
+ },
826
+ {
827
+ "kind": "function",
828
+ "name": "qtiTransformManifest",
829
+ "return": {
830
+ "type": {
831
+ "text": "{\n load: (uri: string) => Promise<typeof api>;\n assessmentTest: () => { href: string; identifier: string };\n}"
832
+ }
833
+ }
834
+ },
835
+ {
836
+ "kind": "function",
837
+ "name": "qtiTransformTest",
838
+ "return": {
839
+ "type": {
840
+ "text": ""
841
+ }
842
+ },
843
+ "description": "Returns an object with methods to load, parse and transform QTI tests."
844
+ }
845
+ ],
846
+ "exports": [
847
+ {
848
+ "kind": "js",
849
+ "name": "qtiTransformItem",
850
+ "declaration": {
851
+ "name": "qtiTransformItem",
852
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
853
+ }
854
+ },
855
+ {
856
+ "kind": "js",
857
+ "name": "qtiTransformManifest",
858
+ "declaration": {
859
+ "name": "qtiTransformManifest",
860
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
861
+ }
862
+ },
863
+ {
864
+ "kind": "js",
865
+ "name": "qtiTransformTest",
866
+ "declaration": {
867
+ "name": "qtiTransformTest",
868
+ "module": "src/lib/qti-transformers/qti-transformers.ts"
869
+ }
870
+ }
871
+ ]
872
+ },
606
873
  {
607
874
  "kind": "javascript-module",
608
875
  "path": "src/lib/qti-components/internal/event-types.ts",
@@ -748,62 +1015,6 @@
748
1015
  "declarations": [],
749
1016
  "exports": []
750
1017
  },
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
1018
  {
808
1019
  "kind": "javascript-module",
809
1020
  "path": "src/lib/qti-components/qti-assessment-item/item-print-variables.ts",
@@ -1018,6 +1229,62 @@
1018
1229
  }
1019
1230
  ]
1020
1231
  },
1232
+ {
1233
+ "kind": "javascript-module",
1234
+ "path": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts",
1235
+ "declarations": [
1236
+ {
1237
+ "kind": "class",
1238
+ "description": "Represents a custom element for referencing an assessment stimulus.",
1239
+ "name": "QtiAssessmentStimulusRef",
1240
+ "members": [],
1241
+ "attributes": [
1242
+ {
1243
+ "name": "identifier",
1244
+ "type": {
1245
+ "text": "string"
1246
+ },
1247
+ "default": "''",
1248
+ "description": "The identifier of the stimulus.",
1249
+ "fieldName": "identifier"
1250
+ },
1251
+ {
1252
+ "name": "href",
1253
+ "type": {
1254
+ "text": "string"
1255
+ },
1256
+ "default": "''",
1257
+ "description": "The href of the stimulus.",
1258
+ "fieldName": "href"
1259
+ }
1260
+ ],
1261
+ "superclass": {
1262
+ "name": "LitElement",
1263
+ "package": "lit"
1264
+ },
1265
+ "tagName": "qti-assessment-stimulus-ref",
1266
+ "customElement": true
1267
+ }
1268
+ ],
1269
+ "exports": [
1270
+ {
1271
+ "kind": "js",
1272
+ "name": "QtiAssessmentStimulusRef",
1273
+ "declaration": {
1274
+ "name": "QtiAssessmentStimulusRef",
1275
+ "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
1276
+ }
1277
+ },
1278
+ {
1279
+ "kind": "custom-element-definition",
1280
+ "name": "qti-assessment-stimulus-ref",
1281
+ "declaration": {
1282
+ "name": "QtiAssessmentStimulusRef",
1283
+ "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
1284
+ }
1285
+ }
1286
+ ]
1287
+ },
1021
1288
  {
1022
1289
  "kind": "javascript-module",
1023
1290
  "path": "src/lib/qti-components/qti-custom-operator/qti-custom-operator.ts",
@@ -1227,12 +1494,58 @@
1227
1494
  "members": [],
1228
1495
  "attributes": [
1229
1496
  {
1230
- "name": "tabindex",
1497
+ "name": "tabindex",
1498
+ "type": {
1499
+ "text": "number"
1500
+ },
1501
+ "default": "0",
1502
+ "fieldName": "tabindex",
1503
+ "inheritedFrom": {
1504
+ "name": "ActiveElementMixin",
1505
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1506
+ }
1507
+ },
1508
+ {
1509
+ "name": "identifier",
1510
+ "type": {
1511
+ "text": "string"
1512
+ },
1513
+ "default": "''",
1514
+ "fieldName": "identifier",
1515
+ "inheritedFrom": {
1516
+ "name": "ActiveElementMixin",
1517
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1518
+ }
1519
+ },
1520
+ {
1521
+ "name": "aria-disabled",
1522
+ "type": {
1523
+ "text": "boolean"
1524
+ },
1525
+ "default": "false",
1526
+ "fieldName": "disabled",
1527
+ "inheritedFrom": {
1528
+ "name": "ActiveElementMixin",
1529
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1530
+ }
1531
+ },
1532
+ {
1533
+ "name": "aria-readonly",
1231
1534
  "type": {
1232
- "text": "number | undefined"
1535
+ "text": "boolean"
1233
1536
  },
1234
- "default": "0",
1235
- "fieldName": "tabindex"
1537
+ "default": "false",
1538
+ "fieldName": "readonly",
1539
+ "inheritedFrom": {
1540
+ "name": "ActiveElementMixin",
1541
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1542
+ }
1543
+ }
1544
+ ],
1545
+ "mixins": [
1546
+ {
1547
+ "name": "ActiveElementMixin",
1548
+ "module": "/src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin"
1236
1549
  }
1237
1550
  ],
1238
1551
  "superclass": {
@@ -1240,7 +1553,18 @@
1240
1553
  "package": "lit"
1241
1554
  },
1242
1555
  "tagName": "qti-gap-text",
1243
- "customElement": true
1556
+ "customElement": true,
1557
+ "events": [
1558
+ {
1559
+ "type": {
1560
+ "text": "CustomEvent"
1561
+ },
1562
+ "inheritedFrom": {
1563
+ "name": "ActiveElementMixin",
1564
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1565
+ }
1566
+ }
1567
+ ]
1244
1568
  }
1245
1569
  ],
1246
1570
  "exports": [
@@ -1330,22 +1654,23 @@
1330
1654
  "type": {
1331
1655
  "text": "string"
1332
1656
  },
1657
+ "default": "''",
1333
1658
  "fieldName": "identifier",
1334
1659
  "inheritedFrom": {
1335
- "name": "QtiChoice",
1336
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1660
+ "name": "ActiveElementMixin",
1661
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1337
1662
  }
1338
1663
  },
1339
1664
  {
1340
1665
  "name": "tabindex",
1341
1666
  "type": {
1342
- "text": "number | undefined"
1667
+ "text": "number"
1343
1668
  },
1344
1669
  "default": "0",
1345
- "fieldName": "tabindex",
1670
+ "fieldName": "tabIndex",
1346
1671
  "inheritedFrom": {
1347
- "name": "QtiChoice",
1348
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1672
+ "name": "ActiveElementMixin",
1673
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1349
1674
  }
1350
1675
  },
1351
1676
  {
@@ -1356,8 +1681,8 @@
1356
1681
  "default": "false",
1357
1682
  "fieldName": "disabled",
1358
1683
  "inheritedFrom": {
1359
- "name": "QtiChoice",
1360
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1684
+ "name": "ActiveElementMixin",
1685
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1361
1686
  }
1362
1687
  },
1363
1688
  {
@@ -1368,71 +1693,31 @@
1368
1693
  "default": "false",
1369
1694
  "fieldName": "readonly",
1370
1695
  "inheritedFrom": {
1371
- "name": "QtiChoice",
1372
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1696
+ "name": "ActiveElementMixin",
1697
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1373
1698
  }
1374
- },
1699
+ }
1700
+ ],
1701
+ "mixins": [
1375
1702
  {
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
- }
1703
+ "name": "ActiveElementMixin",
1704
+ "module": "/src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin"
1386
1705
  }
1387
1706
  ],
1388
1707
  "superclass": {
1389
- "name": "QtiChoice",
1390
- "module": "/src/lib/qti-components/qti-interaction/internal/choice/qti-choice"
1708
+ "name": "LitElement",
1709
+ "package": "lit"
1391
1710
  },
1392
1711
  "tagName": "qti-hotspot-choice",
1393
1712
  "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
1713
  "events": [
1405
1714
  {
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
1715
  "type": {
1430
1716
  "text": "CustomEvent"
1431
1717
  },
1432
- "description": "Emitted when the choice is selected.",
1433
1718
  "inheritedFrom": {
1434
- "name": "QtiChoice",
1435
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1719
+ "name": "ActiveElementMixin",
1720
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1436
1721
  }
1437
1722
  }
1438
1723
  ]
@@ -1466,44 +1751,41 @@
1466
1751
  "description": "",
1467
1752
  "name": "QtiHottext",
1468
1753
  "members": [],
1754
+ "mixins": [
1755
+ {
1756
+ "name": "ActiveElementMixin",
1757
+ "module": "/src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin"
1758
+ }
1759
+ ],
1469
1760
  "superclass": {
1470
- "name": "QtiChoice",
1471
- "module": "/src/lib/qti-components/qti-interaction/internal/choice/qti-choice"
1761
+ "name": "LitElement",
1762
+ "package": "lit"
1472
1763
  },
1473
1764
  "tagName": "qti-hottext",
1474
1765
  "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
1766
  "attributes": [
1486
1767
  {
1487
1768
  "name": "identifier",
1488
1769
  "type": {
1489
1770
  "text": "string"
1490
1771
  },
1772
+ "default": "''",
1491
1773
  "fieldName": "identifier",
1492
1774
  "inheritedFrom": {
1493
- "name": "QtiChoice",
1494
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1775
+ "name": "ActiveElementMixin",
1776
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1495
1777
  }
1496
1778
  },
1497
1779
  {
1498
1780
  "name": "tabindex",
1499
1781
  "type": {
1500
- "text": "number | undefined"
1782
+ "text": "number"
1501
1783
  },
1502
1784
  "default": "0",
1503
- "fieldName": "tabindex",
1785
+ "fieldName": "tabIndex",
1504
1786
  "inheritedFrom": {
1505
- "name": "QtiChoice",
1506
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1787
+ "name": "ActiveElementMixin",
1788
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1507
1789
  }
1508
1790
  },
1509
1791
  {
@@ -1514,8 +1796,8 @@
1514
1796
  "default": "false",
1515
1797
  "fieldName": "disabled",
1516
1798
  "inheritedFrom": {
1517
- "name": "QtiChoice",
1518
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1799
+ "name": "ActiveElementMixin",
1800
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1519
1801
  }
1520
1802
  },
1521
1803
  {
@@ -1526,55 +1808,19 @@
1526
1808
  "default": "false",
1527
1809
  "fieldName": "readonly",
1528
1810
  "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"
1811
+ "name": "ActiveElementMixin",
1812
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1543
1813
  }
1544
1814
  }
1545
1815
  ],
1546
1816
  "events": [
1547
1817
  {
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
1818
  "type": {
1572
1819
  "text": "CustomEvent"
1573
1820
  },
1574
- "description": "Emitted when the choice is selected.",
1575
1821
  "inheritedFrom": {
1576
- "name": "QtiChoice",
1577
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1822
+ "name": "ActiveElementMixin",
1823
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1578
1824
  }
1579
1825
  }
1580
1826
  ]
@@ -1693,6 +1939,60 @@
1693
1939
  },
1694
1940
  "default": "false",
1695
1941
  "fieldName": "fixed"
1942
+ },
1943
+ {
1944
+ "name": "identifier",
1945
+ "type": {
1946
+ "text": "string"
1947
+ },
1948
+ "default": "''",
1949
+ "fieldName": "identifier",
1950
+ "inheritedFrom": {
1951
+ "name": "ActiveElementMixin",
1952
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1953
+ }
1954
+ },
1955
+ {
1956
+ "name": "tabindex",
1957
+ "type": {
1958
+ "text": "number"
1959
+ },
1960
+ "default": "0",
1961
+ "fieldName": "tabIndex",
1962
+ "inheritedFrom": {
1963
+ "name": "ActiveElementMixin",
1964
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1965
+ }
1966
+ },
1967
+ {
1968
+ "name": "aria-disabled",
1969
+ "type": {
1970
+ "text": "boolean"
1971
+ },
1972
+ "default": "false",
1973
+ "fieldName": "disabled",
1974
+ "inheritedFrom": {
1975
+ "name": "ActiveElementMixin",
1976
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1977
+ }
1978
+ },
1979
+ {
1980
+ "name": "aria-readonly",
1981
+ "type": {
1982
+ "text": "boolean"
1983
+ },
1984
+ "default": "false",
1985
+ "fieldName": "readonly",
1986
+ "inheritedFrom": {
1987
+ "name": "ActiveElementMixin",
1988
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1989
+ }
1990
+ }
1991
+ ],
1992
+ "mixins": [
1993
+ {
1994
+ "name": "ActiveElementMixin",
1995
+ "module": "/src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin"
1696
1996
  }
1697
1997
  ],
1698
1998
  "superclass": {
@@ -1700,7 +2000,18 @@
1700
2000
  "package": "lit"
1701
2001
  },
1702
2002
  "tagName": "qti-simple-associable-choice",
1703
- "customElement": true
2003
+ "customElement": true,
2004
+ "events": [
2005
+ {
2006
+ "type": {
2007
+ "text": "CustomEvent"
2008
+ },
2009
+ "inheritedFrom": {
2010
+ "name": "ActiveElementMixin",
2011
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
2012
+ }
2013
+ }
2014
+ ]
1704
2015
  }
1705
2016
  ],
1706
2017
  "exports": [
@@ -1728,59 +2039,19 @@
1728
2039
  "declarations": [
1729
2040
  {
1730
2041
  "kind": "class",
1731
- "description": "",
2042
+ "description": "qti-order-interaction\nqti-choice-interaction",
1732
2043
  "name": "QtiSimpleChoice",
1733
- "slots": [
1734
- {
1735
- "description": "The default slot.",
1736
- "name": "",
1737
- "inheritedFrom": {
1738
- "name": "QtiChoice",
1739
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1740
- }
1741
- }
1742
- ],
1743
2044
  "members": [],
1744
- "events": [
1745
- {
1746
- "name": "qti-choice-element-selected",
1747
- "type": {
1748
- "text": "CustomEvent"
1749
- },
1750
- "description": "Emitted when a choice is selected.",
1751
- "inheritedFrom": {
1752
- "name": "QtiChoice",
1753
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1754
- }
1755
- },
1756
- {
1757
- "name": "qti-register-choice",
1758
- "type": {
1759
- "text": "CustomEvent"
1760
- },
1761
- "description": "Emitted when an choice is added",
1762
- "inheritedFrom": {
1763
- "name": "QtiChoice",
1764
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1765
- }
1766
- },
2045
+ "mixins": [
1767
2046
  {
1768
- "name": "qti-loose-choice",
1769
- "type": {
1770
- "text": "CustomEvent"
1771
- },
1772
- "description": "Emitted when a choice is removed",
1773
- "inheritedFrom": {
1774
- "name": "QtiChoice",
1775
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
1776
- }
2047
+ "name": "ActiveElementMixin",
2048
+ "module": "/src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin"
1777
2049
  }
1778
2050
  ],
1779
2051
  "superclass": {
1780
- "name": "QtiChoice",
1781
- "module": "/src/lib/qti-components/qti-interaction/internal/choice/qti-choice"
2052
+ "name": "LitElement",
2053
+ "package": "lit"
1782
2054
  },
1783
- "summary": "Short summary of the component's intended use.",
1784
2055
  "tagName": "qti-simple-choice",
1785
2056
  "customElement": true,
1786
2057
  "attributes": [
@@ -1789,22 +2060,23 @@
1789
2060
  "type": {
1790
2061
  "text": "string"
1791
2062
  },
2063
+ "default": "''",
1792
2064
  "fieldName": "identifier",
1793
2065
  "inheritedFrom": {
1794
- "name": "QtiChoice",
1795
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
2066
+ "name": "ActiveElementMixin",
2067
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1796
2068
  }
1797
2069
  },
1798
2070
  {
1799
2071
  "name": "tabindex",
1800
2072
  "type": {
1801
- "text": "number | undefined"
2073
+ "text": "number"
1802
2074
  },
1803
2075
  "default": "0",
1804
- "fieldName": "tabindex",
2076
+ "fieldName": "tabIndex",
1805
2077
  "inheritedFrom": {
1806
- "name": "QtiChoice",
1807
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
2078
+ "name": "ActiveElementMixin",
2079
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1808
2080
  }
1809
2081
  },
1810
2082
  {
@@ -1815,8 +2087,8 @@
1815
2087
  "default": "false",
1816
2088
  "fieldName": "disabled",
1817
2089
  "inheritedFrom": {
1818
- "name": "QtiChoice",
1819
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
2090
+ "name": "ActiveElementMixin",
2091
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1820
2092
  }
1821
2093
  },
1822
2094
  {
@@ -1827,20 +2099,19 @@
1827
2099
  "default": "false",
1828
2100
  "fieldName": "readonly",
1829
2101
  "inheritedFrom": {
1830
- "name": "QtiChoice",
1831
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
2102
+ "name": "ActiveElementMixin",
2103
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1832
2104
  }
1833
- },
2105
+ }
2106
+ ],
2107
+ "events": [
1834
2108
  {
1835
- "name": "aria-checked",
1836
2109
  "type": {
1837
- "text": "boolean"
2110
+ "text": "CustomEvent"
1838
2111
  },
1839
- "default": "false",
1840
- "fieldName": "checked",
1841
2112
  "inheritedFrom": {
1842
- "name": "QtiChoice",
1843
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
2113
+ "name": "ActiveElementMixin",
2114
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
1844
2115
  }
1845
2116
  }
1846
2117
  ]
@@ -2175,84 +2446,84 @@
2175
2446
  },
2176
2447
  {
2177
2448
  "kind": "javascript-module",
2178
- "path": "src/lib/qti-components/qti-stylesheet/inline.css",
2179
- "declarations": [],
2180
- "exports": []
2181
- },
2182
- {
2183
- "kind": "javascript-module",
2184
- "path": "src/lib/qti-components/qti-stylesheet/qti-stylesheet.mdx",
2185
- "declarations": [],
2186
- "exports": []
2187
- },
2188
- {
2189
- "kind": "javascript-module",
2190
- "path": "src/lib/qti-components/qti-stylesheet/qti-stylesheet.ts",
2449
+ "path": "src/lib/qti-components/qti-variable-declaration/qti-variable-declaration.ts",
2191
2450
  "declarations": [
2192
2451
  {
2193
2452
  "kind": "class",
2194
2453
  "description": "",
2195
- "name": "QtiStylesheet",
2454
+ "name": "QtiVariableDeclaration",
2196
2455
  "members": [],
2197
2456
  "superclass": {
2198
2457
  "name": "LitElement",
2199
2458
  "package": "lit"
2200
2459
  },
2201
- "tagName": "qti-stylesheet",
2460
+ "tagName": "qti-variabledeclaration",
2202
2461
  "customElement": true
2203
2462
  }
2204
2463
  ],
2205
2464
  "exports": [
2206
2465
  {
2207
2466
  "kind": "js",
2208
- "name": "QtiStylesheet",
2467
+ "name": "QtiVariableDeclaration",
2209
2468
  "declaration": {
2210
- "name": "QtiStylesheet",
2211
- "module": "src/lib/qti-components/qti-stylesheet/qti-stylesheet.ts"
2469
+ "name": "QtiVariableDeclaration",
2470
+ "module": "src/lib/qti-components/qti-variable-declaration/qti-variable-declaration.ts"
2212
2471
  }
2213
2472
  },
2214
2473
  {
2215
2474
  "kind": "custom-element-definition",
2216
- "name": "qti-stylesheet",
2475
+ "name": "qti-variabledeclaration",
2217
2476
  "declaration": {
2218
- "name": "QtiStylesheet",
2219
- "module": "src/lib/qti-components/qti-stylesheet/qti-stylesheet.ts"
2477
+ "name": "QtiVariableDeclaration",
2478
+ "module": "src/lib/qti-components/qti-variable-declaration/qti-variable-declaration.ts"
2220
2479
  }
2221
2480
  }
2222
2481
  ]
2223
2482
  },
2224
2483
  {
2225
2484
  "kind": "javascript-module",
2226
- "path": "src/lib/qti-components/qti-variable-declaration/qti-variable-declaration.ts",
2485
+ "path": "src/lib/qti-components/qti-stylesheet/inline.css",
2486
+ "declarations": [],
2487
+ "exports": []
2488
+ },
2489
+ {
2490
+ "kind": "javascript-module",
2491
+ "path": "src/lib/qti-components/qti-stylesheet/qti-stylesheet.mdx",
2492
+ "declarations": [],
2493
+ "exports": []
2494
+ },
2495
+ {
2496
+ "kind": "javascript-module",
2497
+ "path": "src/lib/qti-components/qti-stylesheet/qti-stylesheet.ts",
2227
2498
  "declarations": [
2228
2499
  {
2229
2500
  "kind": "class",
2230
2501
  "description": "",
2231
- "name": "QtiVariableDeclaration",
2502
+ "name": "QtiStylesheet",
2232
2503
  "members": [],
2233
2504
  "superclass": {
2234
2505
  "name": "LitElement",
2235
2506
  "package": "lit"
2236
2507
  },
2237
- "tagName": "qti-variabledeclaration",
2508
+ "tagName": "qti-stylesheet",
2238
2509
  "customElement": true
2239
2510
  }
2240
2511
  ],
2241
2512
  "exports": [
2242
2513
  {
2243
2514
  "kind": "js",
2244
- "name": "QtiVariableDeclaration",
2515
+ "name": "QtiStylesheet",
2245
2516
  "declaration": {
2246
- "name": "QtiVariableDeclaration",
2247
- "module": "src/lib/qti-components/qti-variable-declaration/qti-variable-declaration.ts"
2517
+ "name": "QtiStylesheet",
2518
+ "module": "src/lib/qti-components/qti-stylesheet/qti-stylesheet.ts"
2248
2519
  }
2249
2520
  },
2250
2521
  {
2251
2522
  "kind": "custom-element-definition",
2252
- "name": "qti-variabledeclaration",
2523
+ "name": "qti-stylesheet",
2253
2524
  "declaration": {
2254
- "name": "QtiVariableDeclaration",
2255
- "module": "src/lib/qti-components/qti-variable-declaration/qti-variable-declaration.ts"
2525
+ "name": "QtiStylesheet",
2526
+ "module": "src/lib/qti-components/qti-stylesheet/qti-stylesheet.ts"
2256
2527
  }
2257
2528
  }
2258
2529
  ]
@@ -2907,7 +3178,7 @@
2907
3178
  "fieldName": "responseIdentifier",
2908
3179
  "inheritedFrom": {
2909
3180
  "name": "ChoicesMixin",
2910
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3181
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
2911
3182
  }
2912
3183
  },
2913
3184
  {
@@ -2919,7 +3190,7 @@
2919
3190
  "fieldName": "minChoices",
2920
3191
  "inheritedFrom": {
2921
3192
  "name": "ChoicesMixin",
2922
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3193
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
2923
3194
  }
2924
3195
  },
2925
3196
  {
@@ -2928,11 +3199,34 @@
2928
3199
  "text": "number"
2929
3200
  },
2930
3201
  "default": "1",
2931
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
2932
3202
  "fieldName": "maxChoices",
2933
3203
  "inheritedFrom": {
2934
3204
  "name": "ChoicesMixin",
2935
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3205
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3206
+ }
3207
+ },
3208
+ {
3209
+ "name": "disabled",
3210
+ "type": {
3211
+ "text": "boolean"
3212
+ },
3213
+ "default": "false",
3214
+ "fieldName": "disabled",
3215
+ "inheritedFrom": {
3216
+ "name": "ChoicesMixin",
3217
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3218
+ }
3219
+ },
3220
+ {
3221
+ "name": "readonly",
3222
+ "type": {
3223
+ "text": "boolean"
3224
+ },
3225
+ "default": "false",
3226
+ "fieldName": "readonly",
3227
+ "inheritedFrom": {
3228
+ "name": "ChoicesMixin",
3229
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
2936
3230
  }
2937
3231
  }
2938
3232
  ],
@@ -2947,7 +3241,7 @@
2947
3241
  },
2948
3242
  {
2949
3243
  "name": "ChoicesMixin",
2950
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
3244
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices.mixin"
2951
3245
  }
2952
3246
  ],
2953
3247
  "superclass": {
@@ -2964,7 +3258,7 @@
2964
3258
  },
2965
3259
  "inheritedFrom": {
2966
3260
  "name": "ChoicesMixin",
2967
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3261
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
2968
3262
  }
2969
3263
  },
2970
3264
  {
@@ -2974,7 +3268,7 @@
2974
3268
  },
2975
3269
  "inheritedFrom": {
2976
3270
  "name": "ChoicesMixin",
2977
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
3271
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
2978
3272
  }
2979
3273
  }
2980
3274
  ]
@@ -3785,7 +4079,7 @@
3785
4079
  "mixins": [
3786
4080
  {
3787
4081
  "name": "ChoicesMixin",
3788
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
4082
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices.mixin"
3789
4083
  }
3790
4084
  ],
3791
4085
  "superclass": {
@@ -3804,7 +4098,7 @@
3804
4098
  "fieldName": "responseIdentifier",
3805
4099
  "inheritedFrom": {
3806
4100
  "name": "ChoicesMixin",
3807
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4101
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3808
4102
  }
3809
4103
  },
3810
4104
  {
@@ -3816,7 +4110,7 @@
3816
4110
  "fieldName": "minChoices",
3817
4111
  "inheritedFrom": {
3818
4112
  "name": "ChoicesMixin",
3819
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4113
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3820
4114
  }
3821
4115
  },
3822
4116
  {
@@ -3825,11 +4119,34 @@
3825
4119
  "text": "number"
3826
4120
  },
3827
4121
  "default": "1",
3828
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
3829
4122
  "fieldName": "maxChoices",
3830
4123
  "inheritedFrom": {
3831
4124
  "name": "ChoicesMixin",
3832
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4125
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4126
+ }
4127
+ },
4128
+ {
4129
+ "name": "disabled",
4130
+ "type": {
4131
+ "text": "boolean"
4132
+ },
4133
+ "default": "false",
4134
+ "fieldName": "disabled",
4135
+ "inheritedFrom": {
4136
+ "name": "ChoicesMixin",
4137
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4138
+ }
4139
+ },
4140
+ {
4141
+ "name": "readonly",
4142
+ "type": {
4143
+ "text": "boolean"
4144
+ },
4145
+ "default": "false",
4146
+ "fieldName": "readonly",
4147
+ "inheritedFrom": {
4148
+ "name": "ChoicesMixin",
4149
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3833
4150
  }
3834
4151
  }
3835
4152
  ],
@@ -3841,7 +4158,7 @@
3841
4158
  },
3842
4159
  "inheritedFrom": {
3843
4160
  "name": "ChoicesMixin",
3844
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4161
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3845
4162
  }
3846
4163
  },
3847
4164
  {
@@ -3851,7 +4168,7 @@
3851
4168
  },
3852
4169
  "inheritedFrom": {
3853
4170
  "name": "ChoicesMixin",
3854
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4171
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3855
4172
  }
3856
4173
  }
3857
4174
  ]
@@ -3894,7 +4211,7 @@
3894
4211
  "mixins": [
3895
4212
  {
3896
4213
  "name": "ChoicesMixin",
3897
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
4214
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices.mixin"
3898
4215
  }
3899
4216
  ],
3900
4217
  "superclass": {
@@ -3913,7 +4230,7 @@
3913
4230
  "fieldName": "responseIdentifier",
3914
4231
  "inheritedFrom": {
3915
4232
  "name": "ChoicesMixin",
3916
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4233
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3917
4234
  }
3918
4235
  },
3919
4236
  {
@@ -3925,7 +4242,7 @@
3925
4242
  "fieldName": "minChoices",
3926
4243
  "inheritedFrom": {
3927
4244
  "name": "ChoicesMixin",
3928
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4245
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3929
4246
  }
3930
4247
  },
3931
4248
  {
@@ -3934,11 +4251,34 @@
3934
4251
  "text": "number"
3935
4252
  },
3936
4253
  "default": "1",
3937
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
3938
4254
  "fieldName": "maxChoices",
3939
4255
  "inheritedFrom": {
3940
4256
  "name": "ChoicesMixin",
3941
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4257
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4258
+ }
4259
+ },
4260
+ {
4261
+ "name": "disabled",
4262
+ "type": {
4263
+ "text": "boolean"
4264
+ },
4265
+ "default": "false",
4266
+ "fieldName": "disabled",
4267
+ "inheritedFrom": {
4268
+ "name": "ChoicesMixin",
4269
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4270
+ }
4271
+ },
4272
+ {
4273
+ "name": "readonly",
4274
+ "type": {
4275
+ "text": "boolean"
4276
+ },
4277
+ "default": "false",
4278
+ "fieldName": "readonly",
4279
+ "inheritedFrom": {
4280
+ "name": "ChoicesMixin",
4281
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3942
4282
  }
3943
4283
  }
3944
4284
  ],
@@ -3950,7 +4290,7 @@
3950
4290
  },
3951
4291
  "inheritedFrom": {
3952
4292
  "name": "ChoicesMixin",
3953
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4293
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3954
4294
  }
3955
4295
  },
3956
4296
  {
@@ -3960,7 +4300,7 @@
3960
4300
  },
3961
4301
  "inheritedFrom": {
3962
4302
  "name": "ChoicesMixin",
3963
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4303
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
3964
4304
  }
3965
4305
  }
3966
4306
  ]
@@ -4003,7 +4343,7 @@
4003
4343
  "mixins": [
4004
4344
  {
4005
4345
  "name": "ChoicesMixin",
4006
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
4346
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices.mixin"
4007
4347
  }
4008
4348
  ],
4009
4349
  "superclass": {
@@ -4022,7 +4362,7 @@
4022
4362
  "fieldName": "responseIdentifier",
4023
4363
  "inheritedFrom": {
4024
4364
  "name": "ChoicesMixin",
4025
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4365
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4026
4366
  }
4027
4367
  },
4028
4368
  {
@@ -4034,7 +4374,7 @@
4034
4374
  "fieldName": "minChoices",
4035
4375
  "inheritedFrom": {
4036
4376
  "name": "ChoicesMixin",
4037
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4377
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4038
4378
  }
4039
4379
  },
4040
4380
  {
@@ -4043,11 +4383,34 @@
4043
4383
  "text": "number"
4044
4384
  },
4045
4385
  "default": "1",
4046
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
4047
4386
  "fieldName": "maxChoices",
4048
4387
  "inheritedFrom": {
4049
4388
  "name": "ChoicesMixin",
4050
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4389
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4390
+ }
4391
+ },
4392
+ {
4393
+ "name": "disabled",
4394
+ "type": {
4395
+ "text": "boolean"
4396
+ },
4397
+ "default": "false",
4398
+ "fieldName": "disabled",
4399
+ "inheritedFrom": {
4400
+ "name": "ChoicesMixin",
4401
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4402
+ }
4403
+ },
4404
+ {
4405
+ "name": "readonly",
4406
+ "type": {
4407
+ "text": "boolean"
4408
+ },
4409
+ "default": "false",
4410
+ "fieldName": "readonly",
4411
+ "inheritedFrom": {
4412
+ "name": "ChoicesMixin",
4413
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4051
4414
  }
4052
4415
  }
4053
4416
  ],
@@ -4059,7 +4422,7 @@
4059
4422
  },
4060
4423
  "inheritedFrom": {
4061
4424
  "name": "ChoicesMixin",
4062
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4425
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4063
4426
  }
4064
4427
  },
4065
4428
  {
@@ -4069,7 +4432,7 @@
4069
4432
  },
4070
4433
  "inheritedFrom": {
4071
4434
  "name": "ChoicesMixin",
4072
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
4435
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
4073
4436
  }
4074
4437
  }
4075
4438
  ]
@@ -5791,40 +6154,18 @@
5791
6154
  },
5792
6155
  {
5793
6156
  "kind": "javascript-module",
5794
- "path": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts",
6157
+ "path": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts",
5795
6158
  "declarations": [
5796
6159
  {
5797
- "kind": "class",
5798
- "description": "",
5799
- "name": "QtiChoice",
5800
- "slots": [
5801
- {
5802
- "description": "The choices slot element",
5803
- "name": ""
5804
- }
5805
- ],
6160
+ "kind": "mixin",
6161
+ "description": "A mixin that adds choice functionality to a LitElement-based class.\nIt dispatches events with a custom `type` and handles selection logic.",
6162
+ "name": "ActiveElementMixin",
5806
6163
  "members": [],
5807
6164
  "events": [
5808
6165
  {
5809
- "name": "qti-register-choice",
5810
- "type": {
5811
- "text": "CustomEvent"
5812
- },
5813
- "description": "register itselves on a qti-choice-interaction element."
5814
- },
5815
- {
5816
- "name": "qti-loose-choice",
5817
- "type": {
5818
- "text": "CustomEvent"
5819
- },
5820
- "description": "de-register itselves on a qti-choice-interaction element."
5821
- },
5822
- {
5823
- "name": "qti-choice-element-selected",
5824
6166
  "type": {
5825
6167
  "text": "CustomEvent"
5826
- },
5827
- "description": "Emitted when the choice is selected."
6168
+ }
5828
6169
  }
5829
6170
  ],
5830
6171
  "attributes": [
@@ -5833,15 +6174,16 @@
5833
6174
  "type": {
5834
6175
  "text": "string"
5835
6176
  },
6177
+ "default": "''",
5836
6178
  "fieldName": "identifier"
5837
6179
  },
5838
6180
  {
5839
6181
  "name": "tabindex",
5840
6182
  "type": {
5841
- "text": "number | undefined"
6183
+ "text": "number"
5842
6184
  },
5843
6185
  "default": "0",
5844
- "fieldName": "tabindex"
6186
+ "fieldName": "tabIndex"
5845
6187
  },
5846
6188
  {
5847
6189
  "name": "aria-disabled",
@@ -5858,96 +6200,40 @@
5858
6200
  },
5859
6201
  "default": "false",
5860
6202
  "fieldName": "readonly"
5861
- },
5862
- {
5863
- "name": "aria-checked",
5864
- "type": {
5865
- "text": "boolean"
5866
- },
5867
- "default": "false",
5868
- "fieldName": "checked"
5869
- }
5870
- ],
5871
- "superclass": {
5872
- "name": "LitElement",
5873
- "package": "lit"
5874
- },
5875
- "summary": "qti-choice is used by qti-simple-choice, qti-inline-choice, qti-hottext, qti-hotspot-choice.",
5876
- "customElement": true
5877
- }
5878
- ],
5879
- "exports": [
5880
- {
5881
- "kind": "js",
5882
- "name": "QtiChoice",
5883
- "declaration": {
5884
- "name": "QtiChoice",
5885
- "module": "src/lib/qti-components/qti-interaction/internal/choice/qti-choice.ts"
5886
- }
5887
- }
5888
- ]
5889
- },
5890
- {
5891
- "kind": "javascript-module",
5892
- "path": "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts",
5893
- "declarations": [
5894
- {
5895
- "kind": "class",
5896
- "description": "",
5897
- "name": "TestElement",
5898
- "members": [],
5899
- "mixins": [
5900
- {
5901
- "name": "ChoicesMixin",
5902
- "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices"
5903
6203
  }
5904
6204
  ],
5905
- "superclass": {
5906
- "name": "LitElement",
5907
- "package": "lit"
5908
- },
5909
- "tagName": "test-element",
5910
- "customElement": true,
5911
- "attributes": [
6205
+ "parameters": [
5912
6206
  {
5913
- "name": "class",
6207
+ "name": "Base",
5914
6208
  "type": {
5915
- "text": "string"
6209
+ "text": "T"
5916
6210
  },
5917
- "fieldName": "class",
5918
- "inheritedFrom": {
5919
- "name": "VocabularyMixin",
5920
- "module": "src/lib/qti-components/qti-interaction/internal/vocabulary/vocabulary-mixin.ts"
5921
- }
6211
+ "description": "The base class to extend."
5922
6212
  },
5923
6213
  {
5924
- "name": "shuffle",
6214
+ "name": "type",
5925
6215
  "type": {
5926
- "text": "boolean"
6216
+ "text": "string"
5927
6217
  },
5928
- "fieldName": "shuffle",
5929
- "inheritedFrom": {
5930
- "name": "ShuffleMixin",
5931
- "module": "src/lib/qti-components/qti-interaction/internal/shuffle/shuffle-mixin.ts"
5932
- }
6218
+ "description": "The type of the choice, used in event names."
5933
6219
  }
5934
6220
  ]
5935
6221
  }
5936
6222
  ],
5937
6223
  "exports": [
5938
6224
  {
5939
- "kind": "custom-element-definition",
5940
- "name": "test-element",
6225
+ "kind": "js",
6226
+ "name": "ActiveElementMixin",
5941
6227
  "declaration": {
5942
- "name": "TestElement",
5943
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts"
6228
+ "name": "ActiveElementMixin",
6229
+ "module": "src/lib/qti-components/qti-interaction/internal/active-element/active-element.mixin.ts"
5944
6230
  }
5945
6231
  }
5946
6232
  ]
5947
6233
  },
5948
6234
  {
5949
6235
  "kind": "javascript-module",
5950
- "path": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts",
6236
+ "path": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts",
5951
6237
  "declarations": [
5952
6238
  {
5953
6239
  "kind": "mixin",
@@ -5991,8 +6277,23 @@
5991
6277
  "text": "number"
5992
6278
  },
5993
6279
  "default": "1",
5994
- "description": "the maximum number of selections a candidate must make, the other options will be disabled when max options is checked",
5995
6280
  "fieldName": "maxChoices"
6281
+ },
6282
+ {
6283
+ "name": "disabled",
6284
+ "type": {
6285
+ "text": "boolean"
6286
+ },
6287
+ "default": "false",
6288
+ "fieldName": "disabled"
6289
+ },
6290
+ {
6291
+ "name": "readonly",
6292
+ "type": {
6293
+ "text": "boolean"
6294
+ },
6295
+ "default": "false",
6296
+ "fieldName": "readonly"
5996
6297
  }
5997
6298
  ],
5998
6299
  "parameters": [
@@ -6017,7 +6318,65 @@
6017
6318
  "name": "ChoicesMixin",
6018
6319
  "declaration": {
6019
6320
  "name": "ChoicesMixin",
6020
- "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.ts"
6321
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.mixin.ts"
6322
+ }
6323
+ }
6324
+ ]
6325
+ },
6326
+ {
6327
+ "kind": "javascript-module",
6328
+ "path": "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts",
6329
+ "declarations": [
6330
+ {
6331
+ "kind": "class",
6332
+ "description": "",
6333
+ "name": "TestElement",
6334
+ "members": [],
6335
+ "mixins": [
6336
+ {
6337
+ "name": "ChoicesMixin",
6338
+ "module": "/src/lib/qti-components/qti-interaction/internal/choices/choices.mixin"
6339
+ }
6340
+ ],
6341
+ "superclass": {
6342
+ "name": "LitElement",
6343
+ "package": "lit"
6344
+ },
6345
+ "tagName": "test-element",
6346
+ "customElement": true,
6347
+ "attributes": [
6348
+ {
6349
+ "name": "class",
6350
+ "type": {
6351
+ "text": "string"
6352
+ },
6353
+ "fieldName": "class",
6354
+ "inheritedFrom": {
6355
+ "name": "VocabularyMixin",
6356
+ "module": "src/lib/qti-components/qti-interaction/internal/vocabulary/vocabulary-mixin.ts"
6357
+ }
6358
+ },
6359
+ {
6360
+ "name": "shuffle",
6361
+ "type": {
6362
+ "text": "boolean"
6363
+ },
6364
+ "fieldName": "shuffle",
6365
+ "inheritedFrom": {
6366
+ "name": "ShuffleMixin",
6367
+ "module": "src/lib/qti-components/qti-interaction/internal/shuffle/shuffle-mixin.ts"
6368
+ }
6369
+ }
6370
+ ]
6371
+ }
6372
+ ],
6373
+ "exports": [
6374
+ {
6375
+ "kind": "custom-element-definition",
6376
+ "name": "test-element",
6377
+ "declaration": {
6378
+ "name": "TestElement",
6379
+ "module": "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts"
6021
6380
  }
6022
6381
  }
6023
6382
  ]
@@ -6137,7 +6496,7 @@
6137
6496
  }
6138
6497
  },
6139
6498
  {
6140
- "name": "droppablesInShadowRoot",
6499
+ "name": "useShadowRootForDroppables",
6141
6500
  "type": {
6142
6501
  "text": "boolean"
6143
6502
  }
@@ -6164,7 +6523,7 @@
6164
6523
  },
6165
6524
  {
6166
6525
  "kind": "javascript-module",
6167
- "path": "src/lib/qti-components/qti-interaction/internal/drag-drop/draggables-mixin.old_ts",
6526
+ "path": "src/lib/qti-components/qti-interaction/internal/drag-drop/drag-drop.md",
6168
6527
  "declarations": [],
6169
6528
  "exports": []
6170
6529
  },
@@ -6195,7 +6554,7 @@
6195
6554
  }
6196
6555
  },
6197
6556
  {
6198
- "name": "droppablesInShadowRoot",
6557
+ "name": "useShadowRoot",
6199
6558
  "type": {
6200
6559
  "text": "boolean"
6201
6560
  }
@@ -7440,7 +7799,7 @@
7440
7799
  {
7441
7800
  "kind": "class",
7442
7801
  "description": "",
7443
- "name": "QtPrintedVariable",
7802
+ "name": "QtiPrintedVariable",
7444
7803
  "members": [],
7445
7804
  "attributes": [
7446
7805
  {
@@ -7462,9 +7821,9 @@
7462
7821
  "exports": [
7463
7822
  {
7464
7823
  "kind": "js",
7465
- "name": "QtPrintedVariable",
7824
+ "name": "QtiPrintedVariable",
7466
7825
  "declaration": {
7467
- "name": "QtPrintedVariable",
7826
+ "name": "QtiPrintedVariable",
7468
7827
  "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-printed-variable/qti-printed-variable.ts"
7469
7828
  }
7470
7829
  },
@@ -7472,7 +7831,7 @@
7472
7831
  "kind": "custom-element-definition",
7473
7832
  "name": "qti-printed-variable",
7474
7833
  "declaration": {
7475
- "name": "QtPrintedVariable",
7834
+ "name": "QtiPrintedVariable",
7476
7835
  "module": "src/lib/qti-components/qti-response-processing/qti-expression/qti-printed-variable/qti-printed-variable.ts"
7477
7836
  }
7478
7837
  }