@citolab/qti-components 8.0.1 → 8.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/cdn/index.global.js +1 -1
  2. package/cdn/index.js +648 -816
  3. package/dist/base.d.ts +61 -4
  4. package/dist/base.js +7 -1
  5. package/dist/{chunk-V5G7X53Y.js → chunk-3IACYIU2.js} +2 -2
  6. package/dist/chunk-4DB4SC5K.js +100 -0
  7. package/dist/chunk-4DB4SC5K.js.map +1 -0
  8. package/dist/{chunk-F4BNJWYN.js → chunk-4XR2JHCP.js} +646 -677
  9. package/dist/chunk-4XR2JHCP.js.map +1 -0
  10. package/dist/{chunk-7V4HJFHW.js → chunk-6ITD55QE.js} +2 -2
  11. package/dist/{chunk-3AJOQCDU.js → chunk-6V3A7NQP.js} +2 -2
  12. package/dist/{chunk-WVVMNF74.js → chunk-6XJUP55A.js} +248 -234
  13. package/dist/chunk-6XJUP55A.js.map +1 -0
  14. package/dist/{chunk-XU7HNT4F.js → chunk-CF3DXJWM.js} +145 -119
  15. package/dist/{chunk-XU7HNT4F.js.map → chunk-CF3DXJWM.js.map} +1 -1
  16. package/dist/chunk-EKXZI26R.js +917 -0
  17. package/dist/chunk-EKXZI26R.js.map +1 -0
  18. package/dist/{chunk-IJD53WY6.js → chunk-HDEG6BAZ.js} +15 -15
  19. package/dist/{chunk-IJD53WY6.js.map → chunk-HDEG6BAZ.js.map} +1 -1
  20. package/dist/{chunk-LVBIQDPM.js → chunk-IXPDMYKH.js} +147 -101
  21. package/dist/chunk-IXPDMYKH.js.map +1 -0
  22. package/dist/chunk-IYC7LZV6.js +7 -0
  23. package/dist/chunk-IYC7LZV6.js.map +1 -0
  24. package/dist/{chunk-NA2N2WSG.js → chunk-MK2I3MQB.js} +244 -193
  25. package/dist/chunk-MK2I3MQB.js.map +1 -0
  26. package/dist/{chunk-CAO4JRLY.js → chunk-NZLW6EX7.js} +2 -2
  27. package/dist/{chunk-RXGDQDOV.js → chunk-Q52IJELT.js} +479 -393
  28. package/dist/chunk-Q52IJELT.js.map +1 -0
  29. package/dist/{chunk-QECOPVPO.js → chunk-TXIB3SKC.js} +60 -59
  30. package/dist/chunk-TXIB3SKC.js.map +1 -0
  31. package/dist/{computed.types.d-rKLSPvVG.d.ts → computed.types.d-DpKIYO6e.d.ts} +2 -0
  32. package/dist/corrections.d.ts +12 -29
  33. package/dist/corrections.js +9 -10
  34. package/dist/elements.d.ts +86 -87
  35. package/dist/elements.js +5 -6
  36. package/dist/index.d.ts +8 -39
  37. package/dist/index.js +29 -16
  38. package/dist/{interaction.d-D4MstYRz.d.ts → interaction.d-CJiMv8H7.d.ts} +13 -2
  39. package/dist/interactions.d.ts +11 -1299
  40. package/dist/interactions.js +4 -5
  41. package/dist/item.css +370 -532
  42. package/dist/item.d.ts +3 -3
  43. package/dist/item.js +6 -6
  44. package/dist/loader.js +2 -2
  45. package/dist/processing.d.ts +61 -11
  46. package/dist/processing.js +10 -2
  47. package/dist/qti-components-jsx.d.ts +293 -69
  48. package/dist/qti-test.d-_YAlhDbt.d.ts +702 -0
  49. package/dist/qti-text-entry-interaction.d-BGdfV9qG.d.ts +1567 -0
  50. package/dist/test.d.ts +11 -678
  51. package/dist/test.js +7 -8
  52. package/dist/transformers.d.ts +1 -1
  53. package/dist/transformers.js +1 -1
  54. package/package.json +11 -10
  55. package/dist/chunk-64XSIBGO.js +0 -241
  56. package/dist/chunk-64XSIBGO.js.map +0 -1
  57. package/dist/chunk-7HC5SMCU.js +0 -102
  58. package/dist/chunk-7HC5SMCU.js.map +0 -1
  59. package/dist/chunk-F4BNJWYN.js.map +0 -1
  60. package/dist/chunk-H3J7LFRO.js +0 -2243
  61. package/dist/chunk-H3J7LFRO.js.map +0 -1
  62. package/dist/chunk-LVBIQDPM.js.map +0 -1
  63. package/dist/chunk-NA2N2WSG.js.map +0 -1
  64. package/dist/chunk-QECOPVPO.js.map +0 -1
  65. package/dist/chunk-RXGDQDOV.js.map +0 -1
  66. package/dist/chunk-WVVMNF74.js.map +0 -1
  67. package/dist/chunk-X3E5HXG2.js +0 -20
  68. package/dist/chunk-X3E5HXG2.js.map +0 -1
  69. /package/dist/{chunk-V5G7X53Y.js.map → chunk-3IACYIU2.js.map} +0 -0
  70. /package/dist/{chunk-7V4HJFHW.js.map → chunk-6ITD55QE.js.map} +0 -0
  71. /package/dist/{chunk-3AJOQCDU.js.map → chunk-6V3A7NQP.js.map} +0 -0
  72. /package/dist/{chunk-CAO4JRLY.js.map → chunk-NZLW6EX7.js.map} +0 -0
@@ -1,3 +1,9 @@
1
+ import type {
2
+ CustomStateSetShim,
3
+ classifyCustomStateSupport,
4
+ anonymous_0,
5
+ installCustomStateSetFallback,
6
+ } from "./base.js";
1
7
  import type { Interaction } from "./base.js";
2
8
  import type { QtiVariableDeclaration } from "./base.js";
3
9
  import type { QtiExpression } from "./base.js";
@@ -29,8 +35,8 @@ import type { QtiTemplateDeclaration } from "./elements.js";
29
35
  import type { QtiItem } from "./item.js";
30
36
  import type { QtiAssessmentItemRef } from "./test.js";
31
37
  import type { QtiAssessmentSection } from "./test.js";
32
- import type { QtiAssessmentTest } from "./test.js";
33
38
  import type { QtiTestPart } from "./test.js";
39
+ import type { QtiAssessmentTest } from "./test.js";
34
40
  import type { TestNavigation } from "./test.js";
35
41
  import type { TestContainer } from "./test.js";
36
42
  import type {
@@ -162,7 +168,17 @@ import type { QtiRandomInteger } from "./processing.js";
162
168
  import type { QtiRandom } from "./processing.js";
163
169
  import type { QtiDelete } from "./processing.js";
164
170
  import type { QtiIndex } from "./processing.js";
171
+ import type {
172
+ QtiConditionBranchBase,
173
+ QtiConditionElseBase,
174
+ QtiConditionIfBase,
175
+ QtiConditionBase,
176
+ } from "./processing.js";
165
177
  import type { QtiLookupOutcomeValue } from "./processing.js";
178
+ import type { QtiOutcomeCondition } from "./processing.js";
179
+ import type { QtiOutcomeElse } from "./processing.js";
180
+ import type { QtiOutcomeIf } from "./processing.js";
181
+ import type { QtiOutcomeElseIf } from "./processing.js";
166
182
  import type { QtiResponseCondition } from "./processing.js";
167
183
  import type { QtiResponseElse } from "./processing.js";
168
184
  import type { QtiResponseIf } from "./processing.js";
@@ -234,7 +250,7 @@ type BaseProps<T extends HTMLElement> = {
234
250
  /** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
235
251
  part?: string;
236
252
  /** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
237
- ref?: T | ((e: T) => void);
253
+ ref?: T | ((e: T) => void) | { current: T | null } | null;
238
254
  /** Adds a reference for a custom element slot */
239
255
  slot?: string;
240
256
  /** Prop for setting inline styles */
@@ -255,6 +271,15 @@ type BaseProps<T extends HTMLElement> = {
255
271
 
256
272
  type BaseEvents = {};
257
273
 
274
+ export type anonymous_0Props = {};
275
+
276
+ export type anonymous_0SolidJsProps = {
277
+ /** Set the innerHTML of the element */
278
+ innerHTML?: string;
279
+ /** Set the textContent of the element */
280
+ textContent?: string | number;
281
+ };
282
+
258
283
  export type ItemContainerProps = {
259
284
  /** URL of the item to load */
260
285
  "item-url"?: ItemContainer["itemURL"];
@@ -855,6 +880,14 @@ export type QtiAssessmentSectionProps = {
855
880
  /** */
856
881
  keepTogether?: QtiAssessmentSection["keepTogether"];
857
882
  /** */
883
+ "navigation-mode"?: QtiAssessmentSection["navigationMode"];
884
+ /** */
885
+ navigationMode?: QtiAssessmentSection["navigationMode"];
886
+ /** */
887
+ "submission-mode"?: QtiAssessmentSection["submissionMode"];
888
+ /** */
889
+ submissionMode?: QtiAssessmentSection["submissionMode"];
890
+ /** */
858
891
  title?: QtiAssessmentSection["title"];
859
892
  /** */
860
893
  _testContext?: QtiAssessmentSection["_testContext"];
@@ -877,39 +910,19 @@ export type QtiAssessmentSectionSolidJsProps = {
877
910
  /** */
878
911
  "prop:keepTogether"?: QtiAssessmentSection["keepTogether"];
879
912
  /** */
880
- "prop:title"?: QtiAssessmentSection["title"];
881
- /** */
882
- "prop:_testContext"?: QtiAssessmentSection["_testContext"];
913
+ "attr:navigation-mode"?: QtiAssessmentSection["navigationMode"];
883
914
  /** */
884
- "on:qti-assessment-section-connected"?: (e: Event) => void;
885
-
886
- /** Set the innerHTML of the element */
887
- innerHTML?: string;
888
- /** Set the textContent of the element */
889
- textContent?: string | number;
890
- };
891
-
892
- export type QtiAssessmentTestProps = {
893
- /** */
894
- identifier?: QtiAssessmentTest["identifier"];
895
- /** */
896
- title?: QtiAssessmentTest["title"];
897
- /** */
898
- _testContext?: QtiAssessmentTest["_testContext"];
899
-
915
+ "prop:navigationMode"?: QtiAssessmentSection["navigationMode"];
900
916
  /** */
901
- "onqti-assessment-test-connected"?: (e: CustomEvent) => void;
902
- };
903
-
904
- export type QtiAssessmentTestSolidJsProps = {
917
+ "attr:submission-mode"?: QtiAssessmentSection["submissionMode"];
905
918
  /** */
906
- "prop:identifier"?: QtiAssessmentTest["identifier"];
919
+ "prop:submissionMode"?: QtiAssessmentSection["submissionMode"];
907
920
  /** */
908
- "prop:title"?: QtiAssessmentTest["title"];
921
+ "prop:title"?: QtiAssessmentSection["title"];
909
922
  /** */
910
- "prop:_testContext"?: QtiAssessmentTest["_testContext"];
923
+ "prop:_testContext"?: QtiAssessmentSection["_testContext"];
911
924
  /** */
912
- "on:qti-assessment-test-connected"?: (e: CustomEvent) => void;
925
+ "on:qti-assessment-section-connected"?: (e: Event) => void;
913
926
 
914
927
  /** Set the innerHTML of the element */
915
928
  innerHTML?: string;
@@ -961,6 +974,34 @@ export type QtiTestPartSolidJsProps = {
961
974
  textContent?: string | number;
962
975
  };
963
976
 
977
+ export type QtiAssessmentTestProps = {
978
+ /** */
979
+ identifier?: QtiAssessmentTest["identifier"];
980
+ /** */
981
+ title?: QtiAssessmentTest["title"];
982
+ /** */
983
+ _testContext?: QtiAssessmentTest["_testContext"];
984
+
985
+ /** */
986
+ "onqti-assessment-test-connected"?: (e: CustomEvent) => void;
987
+ };
988
+
989
+ export type QtiAssessmentTestSolidJsProps = {
990
+ /** */
991
+ "prop:identifier"?: QtiAssessmentTest["identifier"];
992
+ /** */
993
+ "prop:title"?: QtiAssessmentTest["title"];
994
+ /** */
995
+ "prop:_testContext"?: QtiAssessmentTest["_testContext"];
996
+ /** */
997
+ "on:qti-assessment-test-connected"?: (e: CustomEvent) => void;
998
+
999
+ /** Set the innerHTML of the element */
1000
+ innerHTML?: string;
1001
+ /** Set the textContent of the element */
1002
+ textContent?: string | number;
1003
+ };
1004
+
964
1005
  export type TestNavigationProps = {
965
1006
  /** */
966
1007
  identifier?: TestNavigation["identifier"];
@@ -5482,6 +5523,42 @@ export type QtiLookupOutcomeValueSolidJsProps = {
5482
5523
  textContent?: string | number;
5483
5524
  };
5484
5525
 
5526
+ export type QtiOutcomeConditionProps = {};
5527
+
5528
+ export type QtiOutcomeConditionSolidJsProps = {
5529
+ /** Set the innerHTML of the element */
5530
+ innerHTML?: string;
5531
+ /** Set the textContent of the element */
5532
+ textContent?: string | number;
5533
+ };
5534
+
5535
+ export type QtiOutcomeElseProps = {};
5536
+
5537
+ export type QtiOutcomeElseSolidJsProps = {
5538
+ /** Set the innerHTML of the element */
5539
+ innerHTML?: string;
5540
+ /** Set the textContent of the element */
5541
+ textContent?: string | number;
5542
+ };
5543
+
5544
+ export type QtiOutcomeIfProps = {};
5545
+
5546
+ export type QtiOutcomeIfSolidJsProps = {
5547
+ /** Set the innerHTML of the element */
5548
+ innerHTML?: string;
5549
+ /** Set the textContent of the element */
5550
+ textContent?: string | number;
5551
+ };
5552
+
5553
+ export type QtiOutcomeElseIfProps = {};
5554
+
5555
+ export type QtiOutcomeElseIfSolidJsProps = {
5556
+ /** Set the innerHTML of the element */
5557
+ innerHTML?: string;
5558
+ /** Set the textContent of the element */
5559
+ textContent?: string | number;
5560
+ };
5561
+
5485
5562
  export type QtiResponseConditionProps = {};
5486
5563
 
5487
5564
  export type QtiResponseConditionSolidJsProps = {
@@ -5836,6 +5913,11 @@ export type TestShowCorrectResponseSolidJsProps = {
5836
5913
  };
5837
5914
 
5838
5915
  export type CustomElements = {
5916
+ /**
5917
+ *
5918
+ */
5919
+ PROBE_TAG: Partial<anonymous_0Props & BaseProps<anonymous_0> & BaseEvents>;
5920
+
5839
5921
  /**
5840
5922
  * `<item-container>` is a custom element designed for hosting the qti-assessment-item.
5841
5923
  * The `qti-assessment-item` will be placed inside the shadow DOM of this element.
@@ -6314,6 +6396,8 @@ export type CustomElements = {
6314
6396
  * - `fixed`: undefined
6315
6397
  * - `visible`: undefined
6316
6398
  * - `keep-together`/`keepTogether`: undefined
6399
+ * - `navigation-mode`/`navigationMode`: undefined
6400
+ * - `submission-mode`/`submissionMode`: undefined
6317
6401
  * - `title`: undefined (property only)
6318
6402
  * - `_testContext`: undefined (property only)
6319
6403
  *
@@ -6335,17 +6419,19 @@ export type CustomElements = {
6335
6419
  * Component attributes and properties that can be applied to the element or by using JavaScript.
6336
6420
  *
6337
6421
  * - `identifier`: undefined
6338
- * - `title`: undefined
6339
- * - `_testContext`: undefined (property only)
6422
+ * - `class`: undefined
6423
+ * - `navigation-mode`/`navigationMode`: undefined
6424
+ * - `submission-mode`/`submissionMode`: undefined
6425
+ * - `title`: undefined (property only)
6340
6426
  *
6341
6427
  * ## Events
6342
6428
  *
6343
6429
  * Events that will be emitted by the component.
6344
6430
  *
6345
- * - `qti-assessment-test-connected`: undefined
6431
+ * - `qti-test-part-connected`: undefined
6346
6432
  */
6347
- "qti-assessment-test": Partial<
6348
- QtiAssessmentTestProps & BaseProps<QtiAssessmentTest> & BaseEvents
6433
+ "qti-test-part": Partial<
6434
+ QtiTestPartProps & BaseProps<QtiTestPart> & BaseEvents
6349
6435
  >;
6350
6436
 
6351
6437
  /**
@@ -6356,19 +6442,17 @@ export type CustomElements = {
6356
6442
  * Component attributes and properties that can be applied to the element or by using JavaScript.
6357
6443
  *
6358
6444
  * - `identifier`: undefined
6359
- * - `class`: undefined
6360
- * - `navigation-mode`/`navigationMode`: undefined
6361
- * - `submission-mode`/`submissionMode`: undefined
6362
- * - `title`: undefined (property only)
6445
+ * - `title`: undefined
6446
+ * - `_testContext`: undefined (property only)
6363
6447
  *
6364
6448
  * ## Events
6365
6449
  *
6366
6450
  * Events that will be emitted by the component.
6367
6451
  *
6368
- * - `qti-test-part-connected`: undefined
6452
+ * - `qti-assessment-test-connected`: undefined
6369
6453
  */
6370
- "qti-test-part": Partial<
6371
- QtiTestPartProps & BaseProps<QtiTestPart> & BaseEvents
6454
+ "qti-assessment-test": Partial<
6455
+ QtiAssessmentTestProps & BaseProps<QtiAssessmentTest> & BaseEvents
6372
6456
  >;
6373
6457
 
6374
6458
  /**
@@ -10043,6 +10127,64 @@ export type CustomElements = {
10043
10127
  QtiLookupOutcomeValueProps & BaseProps<QtiLookupOutcomeValue> & BaseEvents
10044
10128
  >;
10045
10129
 
10130
+ /**
10131
+ *
10132
+ *
10133
+ * ## Methods
10134
+ *
10135
+ * Methods that can be called to access component functionality.
10136
+ *
10137
+ * - `process() => void`: undefined
10138
+ */
10139
+ "qti-outcome-condition": Partial<
10140
+ QtiOutcomeConditionProps & BaseProps<QtiOutcomeCondition> & BaseEvents
10141
+ >;
10142
+
10143
+ /**
10144
+ *
10145
+ *
10146
+ * ## Methods
10147
+ *
10148
+ * Methods that can be called to access component functionality.
10149
+ *
10150
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
10151
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
10152
+ * - `process() => void`: undefined
10153
+ */
10154
+ "qti-outcome-else": Partial<
10155
+ QtiOutcomeElseProps & BaseProps<QtiOutcomeElse> & BaseEvents
10156
+ >;
10157
+
10158
+ /**
10159
+ *
10160
+ *
10161
+ * ## Methods
10162
+ *
10163
+ * Methods that can be called to access component functionality.
10164
+ *
10165
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
10166
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
10167
+ * - `process() => void`: undefined
10168
+ */
10169
+ "qti-outcome-if": Partial<
10170
+ QtiOutcomeIfProps & BaseProps<QtiOutcomeIf> & BaseEvents
10171
+ >;
10172
+
10173
+ /**
10174
+ *
10175
+ *
10176
+ * ## Methods
10177
+ *
10178
+ * Methods that can be called to access component functionality.
10179
+ *
10180
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
10181
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
10182
+ * - `process() => void`: undefined
10183
+ */
10184
+ "qti-outcome-else-if": Partial<
10185
+ QtiOutcomeElseIfProps & BaseProps<QtiOutcomeElseIf> & BaseEvents
10186
+ >;
10187
+
10046
10188
  /**
10047
10189
  *
10048
10190
  *
@@ -10063,8 +10205,8 @@ export type CustomElements = {
10063
10205
  *
10064
10206
  * Methods that can be called to access component functionality.
10065
10207
  *
10066
- * - `calculate() => void`: undefined
10067
- * - `getSubRules() => QtiRule[]`: undefined
10208
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
10209
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
10068
10210
  * - `process() => void`: undefined
10069
10211
  */
10070
10212
  "qti-response-else": Partial<
@@ -10078,8 +10220,8 @@ export type CustomElements = {
10078
10220
  *
10079
10221
  * Methods that can be called to access component functionality.
10080
10222
  *
10081
- * - `calculate() => void`: undefined
10082
- * - `getSubRules() => QtiRule[]`: undefined
10223
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
10224
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
10083
10225
  * - `process() => void`: undefined
10084
10226
  */
10085
10227
  "qti-response-if": Partial<
@@ -10093,8 +10235,8 @@ export type CustomElements = {
10093
10235
  *
10094
10236
  * Methods that can be called to access component functionality.
10095
10237
  *
10096
- * - `calculate() => void`: undefined
10097
- * - `getSubRules() => QtiRule[]`: undefined
10238
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
10239
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
10098
10240
  * - `process() => void`: undefined
10099
10241
  */
10100
10242
  "qti-response-else-if": Partial<
@@ -10346,6 +10488,16 @@ export type CustomElements = {
10346
10488
  };
10347
10489
 
10348
10490
  export type CustomElementsSolidJs = {
10491
+ /**
10492
+ *
10493
+ */
10494
+ PROBE_TAG: Partial<
10495
+ anonymous_0Props &
10496
+ anonymous_0SolidJsProps &
10497
+ BaseProps<anonymous_0> &
10498
+ BaseEvents
10499
+ >;
10500
+
10349
10501
  /**
10350
10502
  * `<item-container>` is a custom element designed for hosting the qti-assessment-item.
10351
10503
  * The `qti-assessment-item` will be placed inside the shadow DOM of this element.
@@ -10885,6 +11037,8 @@ export type CustomElementsSolidJs = {
10885
11037
  * - `fixed`: undefined
10886
11038
  * - `visible`: undefined
10887
11039
  * - `keep-together`/`keepTogether`: undefined
11040
+ * - `navigation-mode`/`navigationMode`: undefined
11041
+ * - `submission-mode`/`submissionMode`: undefined
10888
11042
  * - `title`: undefined (property only)
10889
11043
  * - `_testContext`: undefined (property only)
10890
11044
  *
@@ -10909,19 +11063,21 @@ export type CustomElementsSolidJs = {
10909
11063
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10910
11064
  *
10911
11065
  * - `identifier`: undefined
10912
- * - `title`: undefined
10913
- * - `_testContext`: undefined (property only)
11066
+ * - `class`: undefined
11067
+ * - `navigation-mode`/`navigationMode`: undefined
11068
+ * - `submission-mode`/`submissionMode`: undefined
11069
+ * - `title`: undefined (property only)
10914
11070
  *
10915
11071
  * ## Events
10916
11072
  *
10917
11073
  * Events that will be emitted by the component.
10918
11074
  *
10919
- * - `qti-assessment-test-connected`: undefined
11075
+ * - `qti-test-part-connected`: undefined
10920
11076
  */
10921
- "qti-assessment-test": Partial<
10922
- QtiAssessmentTestProps &
10923
- QtiAssessmentTestSolidJsProps &
10924
- BaseProps<QtiAssessmentTest> &
11077
+ "qti-test-part": Partial<
11078
+ QtiTestPartProps &
11079
+ QtiTestPartSolidJsProps &
11080
+ BaseProps<QtiTestPart> &
10925
11081
  BaseEvents
10926
11082
  >;
10927
11083
 
@@ -10933,21 +11089,19 @@ export type CustomElementsSolidJs = {
10933
11089
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10934
11090
  *
10935
11091
  * - `identifier`: undefined
10936
- * - `class`: undefined
10937
- * - `navigation-mode`/`navigationMode`: undefined
10938
- * - `submission-mode`/`submissionMode`: undefined
10939
- * - `title`: undefined (property only)
11092
+ * - `title`: undefined
11093
+ * - `_testContext`: undefined (property only)
10940
11094
  *
10941
11095
  * ## Events
10942
11096
  *
10943
11097
  * Events that will be emitted by the component.
10944
11098
  *
10945
- * - `qti-test-part-connected`: undefined
11099
+ * - `qti-assessment-test-connected`: undefined
10946
11100
  */
10947
- "qti-test-part": Partial<
10948
- QtiTestPartProps &
10949
- QtiTestPartSolidJsProps &
10950
- BaseProps<QtiTestPart> &
11101
+ "qti-assessment-test": Partial<
11102
+ QtiAssessmentTestProps &
11103
+ QtiAssessmentTestSolidJsProps &
11104
+ BaseProps<QtiAssessmentTest> &
10951
11105
  BaseEvents
10952
11106
  >;
10953
11107
 
@@ -14931,6 +15085,76 @@ export type CustomElementsSolidJs = {
14931
15085
  BaseEvents
14932
15086
  >;
14933
15087
 
15088
+ /**
15089
+ *
15090
+ *
15091
+ * ## Methods
15092
+ *
15093
+ * Methods that can be called to access component functionality.
15094
+ *
15095
+ * - `process() => void`: undefined
15096
+ */
15097
+ "qti-outcome-condition": Partial<
15098
+ QtiOutcomeConditionProps &
15099
+ QtiOutcomeConditionSolidJsProps &
15100
+ BaseProps<QtiOutcomeCondition> &
15101
+ BaseEvents
15102
+ >;
15103
+
15104
+ /**
15105
+ *
15106
+ *
15107
+ * ## Methods
15108
+ *
15109
+ * Methods that can be called to access component functionality.
15110
+ *
15111
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
15112
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
15113
+ * - `process() => void`: undefined
15114
+ */
15115
+ "qti-outcome-else": Partial<
15116
+ QtiOutcomeElseProps &
15117
+ QtiOutcomeElseSolidJsProps &
15118
+ BaseProps<QtiOutcomeElse> &
15119
+ BaseEvents
15120
+ >;
15121
+
15122
+ /**
15123
+ *
15124
+ *
15125
+ * ## Methods
15126
+ *
15127
+ * Methods that can be called to access component functionality.
15128
+ *
15129
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
15130
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
15131
+ * - `process() => void`: undefined
15132
+ */
15133
+ "qti-outcome-if": Partial<
15134
+ QtiOutcomeIfProps &
15135
+ QtiOutcomeIfSolidJsProps &
15136
+ BaseProps<QtiOutcomeIf> &
15137
+ BaseEvents
15138
+ >;
15139
+
15140
+ /**
15141
+ *
15142
+ *
15143
+ * ## Methods
15144
+ *
15145
+ * Methods that can be called to access component functionality.
15146
+ *
15147
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
15148
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
15149
+ * - `process() => void`: undefined
15150
+ */
15151
+ "qti-outcome-else-if": Partial<
15152
+ QtiOutcomeElseIfProps &
15153
+ QtiOutcomeElseIfSolidJsProps &
15154
+ BaseProps<QtiOutcomeElseIf> &
15155
+ BaseEvents
15156
+ >;
15157
+
14934
15158
  /**
14935
15159
  *
14936
15160
  *
@@ -14954,8 +15178,8 @@ export type CustomElementsSolidJs = {
14954
15178
  *
14955
15179
  * Methods that can be called to access component functionality.
14956
15180
  *
14957
- * - `calculate() => void`: undefined
14958
- * - `getSubRules() => QtiRule[]`: undefined
15181
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
15182
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
14959
15183
  * - `process() => void`: undefined
14960
15184
  */
14961
15185
  "qti-response-else": Partial<
@@ -14972,8 +15196,8 @@ export type CustomElementsSolidJs = {
14972
15196
  *
14973
15197
  * Methods that can be called to access component functionality.
14974
15198
  *
14975
- * - `calculate() => void`: undefined
14976
- * - `getSubRules() => QtiRule[]`: undefined
15199
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
15200
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
14977
15201
  * - `process() => void`: undefined
14978
15202
  */
14979
15203
  "qti-response-if": Partial<
@@ -14990,8 +15214,8 @@ export type CustomElementsSolidJs = {
14990
15214
  *
14991
15215
  * Methods that can be called to access component functionality.
14992
15216
  *
14993
- * - `calculate() => void`: undefined
14994
- * - `getSubRules() => QtiRule[]`: undefined
15217
+ * - `shouldProcess() => boolean`: Whether this branch's sub-rules should be processed.
15218
+ * - `getSubRules() => QtiRule[]`: The sub-rules to process when this branch applies.
14995
15219
  * - `process() => void`: undefined
14996
15220
  */
14997
15221
  "qti-response-else-if": Partial<