@citolab/qti-components 9.1.0 → 9.3.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 (75) hide show
  1. package/cdn/index.global.js +1 -1
  2. package/cdn/index.js +338 -213
  3. package/dist/base.d.ts +54 -11
  4. package/dist/base.js +11 -1
  5. package/dist/{chunk-XYQNTF5B.js → chunk-7VDR765S.js} +2 -2
  6. package/dist/{chunk-XE7BALDO.js → chunk-A32YH4H5.js} +2 -2
  7. package/dist/{chunk-XE7BALDO.js.map → chunk-A32YH4H5.js.map} +1 -1
  8. package/dist/{chunk-5SU3MP6Y.js → chunk-CQHGVPOT.js} +20 -6
  9. package/dist/{chunk-5SU3MP6Y.js.map → chunk-CQHGVPOT.js.map} +1 -1
  10. package/dist/{chunk-MKZ374OJ.js → chunk-FG5JAWSN.js} +2 -2
  11. package/dist/{chunk-3VQSUWCK.js → chunk-G5RQ5GKG.js} +407 -131
  12. package/dist/chunk-G5RQ5GKG.js.map +1 -0
  13. package/dist/{chunk-5BXJRO5O.js → chunk-JGPWBIVD.js} +389 -229
  14. package/dist/chunk-JGPWBIVD.js.map +1 -0
  15. package/dist/{chunk-RT6WZ3P7.js → chunk-JLZCZVRX.js} +2 -2
  16. package/dist/{chunk-6ITD55QE.js → chunk-LFVPS7KB.js} +2 -2
  17. package/dist/{chunk-DAUU2NJL.js → chunk-RAJQKCQ3.js} +66 -9
  18. package/dist/chunk-RAJQKCQ3.js.map +1 -0
  19. package/dist/{chunk-WKWCOV5P.js → chunk-REKCRWJV.js} +83 -21
  20. package/dist/chunk-REKCRWJV.js.map +1 -0
  21. package/dist/{chunk-QCPN7E6K.js → chunk-TDWLV5OD.js} +3767 -3271
  22. package/dist/chunk-TDWLV5OD.js.map +1 -0
  23. package/dist/{chunk-HDEG6BAZ.js → chunk-TLAVOBEM.js} +16 -8
  24. package/dist/chunk-TLAVOBEM.js.map +1 -0
  25. package/dist/{chunk-LDY4C2OT.js → chunk-YIYHCHHM.js} +2 -2
  26. package/dist/{chunk-WCWJPIUQ.js → chunk-YVZWNLF4.js} +191 -52
  27. package/dist/chunk-YVZWNLF4.js.map +1 -0
  28. package/dist/{chunk-KCK27QBP.js → chunk-ZG7FBQFP.js} +2 -2
  29. package/dist/{computed.types.d-CJarqC6s.d.ts → computed.types.d-DB5gfOh9.d.ts} +2 -16
  30. package/dist/corrections.d.ts +21 -10
  31. package/dist/corrections.js +20 -20
  32. package/dist/corrections.js.map +1 -1
  33. package/dist/elements.d.ts +43 -11
  34. package/dist/elements.js +4 -4
  35. package/dist/index.d.ts +14 -13
  36. package/dist/index.js +39 -15
  37. package/dist/{interaction.d-CJiMv8H7.d.ts → interaction.d-DegNJ5ZA.d.ts} +1 -1
  38. package/dist/interactions.d.ts +35 -35
  39. package/dist/interactions.js +3 -3
  40. package/dist/item.css +11 -2
  41. package/dist/item.d.ts +31 -82
  42. package/dist/item.js +7 -5
  43. package/dist/{item.types.d-QU7LljEK.d.ts → item.types.d-BDFrq19E.d.ts} +18 -2
  44. package/dist/loader.d.ts +3 -3
  45. package/dist/loader.js +2 -2
  46. package/dist/processing.d.ts +139 -20
  47. package/dist/processing.js +11 -3
  48. package/dist/qti-components-jsx.d.ts +2254 -132
  49. package/dist/{qti-condition-expression.d-CYwXOUb1.d.ts → qti-condition-expression.d-DLboq8bR.d.ts} +1 -1
  50. package/dist/{qti-expression.d-B_-m9emA.d.ts → qti-expression.d-BksT9iLB.d.ts} +26 -3
  51. package/dist/{qti-feedback.d-B1EIF-fU.d.ts → qti-feedback.d-D-w6-mJv.d.ts} +1 -1
  52. package/dist/qti-item.d-D_-9_0e6.d.ts +101 -0
  53. package/dist/qti-rule-base.d-Bdzg8eGH.d.ts +41 -0
  54. package/dist/{qti-test.d-C6lCEMRB.d.ts → qti-test.d-D-ELy0Mr.d.ts} +150 -20
  55. package/dist/{qti-text-entry-interaction.d-BGdfV9qG.d.ts → qti-text-entry-interaction.d-CATtcPyX.d.ts} +10 -9
  56. package/dist/session.context.d-Cjs0BkJB.d.ts +33 -0
  57. package/dist/test.d.ts +8 -8
  58. package/dist/test.js +10 -6
  59. package/dist/transformers.js +1 -1
  60. package/package.json +12 -11
  61. package/dist/chunk-3VQSUWCK.js.map +0 -1
  62. package/dist/chunk-5BXJRO5O.js.map +0 -1
  63. package/dist/chunk-DAUU2NJL.js.map +0 -1
  64. package/dist/chunk-HDEG6BAZ.js.map +0 -1
  65. package/dist/chunk-QCPN7E6K.js.map +0 -1
  66. package/dist/chunk-WCWJPIUQ.js.map +0 -1
  67. package/dist/chunk-WKWCOV5P.js.map +0 -1
  68. package/dist/computed-item.types.d-BKZdSLLJ.d.ts +0 -19
  69. package/dist/qti-rule-base.d-ajOnfGXY.d.ts +0 -16
  70. /package/dist/{chunk-XYQNTF5B.js.map → chunk-7VDR765S.js.map} +0 -0
  71. /package/dist/{chunk-MKZ374OJ.js.map → chunk-FG5JAWSN.js.map} +0 -0
  72. /package/dist/{chunk-RT6WZ3P7.js.map → chunk-JLZCZVRX.js.map} +0 -0
  73. /package/dist/{chunk-6ITD55QE.js.map → chunk-LFVPS7KB.js.map} +0 -0
  74. /package/dist/{chunk-LDY4C2OT.js.map → chunk-YIYHCHHM.js.map} +0 -0
  75. /package/dist/{chunk-KCK27QBP.js.map → chunk-ZG7FBQFP.js.map} +0 -0
@@ -8,6 +8,8 @@ import type {
8
8
  QtiExpression,
9
9
  QtiFeedback,
10
10
  QtiRuleElement,
11
+ QtiExitResponseSignal,
12
+ QtiExitTestSignal,
11
13
  } from "./base.js";
12
14
  import type {
13
15
  QtiTemplateConstraint,
@@ -71,6 +73,7 @@ import type {
71
73
  QtiAssessmentSection,
72
74
  QtiAssessmentTest,
73
75
  QtiItemSessionControl,
76
+ QtiNumberSelected,
74
77
  QtiOutcomeProcessing,
75
78
  QtiOutcomeProcessingProcessor,
76
79
  QtiTestFeedback,
@@ -87,6 +90,7 @@ import type {
87
90
  TestTtsResume,
88
91
  TestTtsPrev,
89
92
  TestTtsPlay,
93
+ TestTtsPick,
90
94
  TestTtsPause,
91
95
  TestTtsNext,
92
96
  TestItemToSpeech,
@@ -120,6 +124,9 @@ import type {
120
124
  QtiDurationLt,
121
125
  QtiEqualRounded,
122
126
  QtiEqual,
127
+ QtiRule,
128
+ QtiExitResponse,
129
+ QtiExitTest,
123
130
  QtiFieldValue,
124
131
  QtiGcd,
125
132
  QtiGt,
@@ -131,13 +138,13 @@ import type {
131
138
  QtiIntegerToFloat,
132
139
  QtiIsNull,
133
140
  QtiLcm,
134
- QtiRule,
135
141
  QtiLookupOutcomeValue,
136
142
  QtiLt,
137
143
  QtiLte,
138
144
  QtiMapResponsePoint,
139
145
  QtiMapResponse,
140
146
  QtiMatch,
147
+ QtiMathConstant,
141
148
  QtiMathOperator,
142
149
  QtiMax,
143
150
  QtiMember,
@@ -166,6 +173,7 @@ import type {
166
173
  QtiResponseIf,
167
174
  QtiResponseElseIf,
168
175
  QtiResponseElse,
176
+ QtiResponseProcessingFragment,
169
177
  QtiRoundTo,
170
178
  QtiRound,
171
179
  QtiSetCorrectResponse,
@@ -320,6 +328,8 @@ export type QtiAssessmentItemProps = {
320
328
  /** */
321
329
  adaptive?: QtiAssessmentItem["adaptive"] | undefined;
322
330
  /** */
331
+ "time-dependent"?: QtiAssessmentItem["timeDependent"] | undefined;
332
+ /** */
323
333
  timeDependent?: QtiAssessmentItem["timeDependent"] | undefined;
324
334
  /** */
325
335
  title?: QtiAssessmentItem["title"] | undefined;
@@ -352,6 +362,8 @@ export type QtiAssessmentItemSolidJsProps = {
352
362
  /** */
353
363
  "prop:adaptive"?: QtiAssessmentItem["adaptive"] | undefined;
354
364
  /** */
365
+ "attr:time-dependent"?: QtiAssessmentItem["timeDependent"] | undefined;
366
+ /** */
355
367
  "prop:timeDependent"?: QtiAssessmentItem["timeDependent"] | undefined;
356
368
  /** */
357
369
  "prop:title"?: QtiAssessmentItem["title"] | undefined;
@@ -900,11 +912,7 @@ export type QtiGapImgProps = {
900
912
  /** */
901
913
  tabindex?: QtiGapImg["tabindex"] | undefined;
902
914
  /** `qti-gap-img` is a draggable chip, so it needs ElementInternals to carry the drag states
903
- (`dragging`, `placeholder`). It works without a shadow root.
904
-
905
- NOTE: this element never calls `super.connectedCallback()`, so Lit never enables updating
906
- and it has no shadow root — which makes `qti-gap-img.styles.ts` dead code. Fixing that means
907
- adding a `<slot>` to a `render()` first, otherwise the authored `<img>` child disappears. */
915
+ (`dragging`, `placeholder`). */
908
916
  internals?: QtiGapImg["internals"] | undefined;
909
917
  };
910
918
 
@@ -912,11 +920,7 @@ export type QtiGapImgSolidJsProps = {
912
920
  /** */
913
921
  "prop:tabindex"?: QtiGapImg["tabindex"] | undefined;
914
922
  /** `qti-gap-img` is a draggable chip, so it needs ElementInternals to carry the drag states
915
- (`dragging`, `placeholder`). It works without a shadow root.
916
-
917
- NOTE: this element never calls `super.connectedCallback()`, so Lit never enables updating
918
- and it has no shadow root — which makes `qti-gap-img.styles.ts` dead code. Fixing that means
919
- adding a `<slot>` to a `render()` first, otherwise the authored `<img>` child disappears. */
923
+ (`dragging`, `placeholder`). */
920
924
  "prop:internals"?: QtiGapImg["internals"] | undefined;
921
925
 
922
926
  /** Set the innerHTML of the element */
@@ -2200,15 +2204,15 @@ export type QtiGraphicGapMatchInteractionSolidJsProps = {
2200
2204
  };
2201
2205
 
2202
2206
  export type QtiGraphicOrderInteractionProps = {
2203
- /** */
2204
- "min-choices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
2205
- /** */
2206
- minChoices?: QtiGraphicOrderInteraction["minChoices"] | undefined;
2207
2207
  /** */
2208
2208
  "max-choices"?: QtiGraphicOrderInteraction["maxChoices"] | undefined;
2209
2209
  /** */
2210
2210
  maxChoices?: QtiGraphicOrderInteraction["maxChoices"] | undefined;
2211
2211
  /** */
2212
+ "min-choices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
2213
+ /** */
2214
+ minChoices?: QtiGraphicOrderInteraction["minChoices"] | undefined;
2215
+ /** */
2212
2216
  response?: QtiGraphicOrderInteraction["response"] | undefined;
2213
2217
  /** */
2214
2218
  "response-identifier"?:
@@ -2257,15 +2261,15 @@ casts, rather than pretending at an encapsulation the type system was the only t
2257
2261
  };
2258
2262
 
2259
2263
  export type QtiGraphicOrderInteractionSolidJsProps = {
2260
- /** */
2261
- "attr:min-choices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
2262
- /** */
2263
- "prop:minChoices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
2264
2264
  /** */
2265
2265
  "attr:max-choices"?: QtiGraphicOrderInteraction["maxChoices"] | undefined;
2266
2266
  /** */
2267
2267
  "prop:maxChoices"?: QtiGraphicOrderInteraction["maxChoices"] | undefined;
2268
2268
  /** */
2269
+ "attr:min-choices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
2270
+ /** */
2271
+ "prop:minChoices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
2272
+ /** */
2269
2273
  "prop:response"?: QtiGraphicOrderInteraction["response"] | undefined;
2270
2274
  /** */
2271
2275
  "attr:response-identifier"?:
@@ -4160,8 +4164,6 @@ export type QtiAssessmentItemRefProps = {
4160
4164
  /** */
4161
4165
  href?: QtiAssessmentItemRef["href"] | undefined;
4162
4166
  /** */
4163
- weigths?: QtiAssessmentItemRef["weigths"] | undefined;
4164
- /** */
4165
4167
  xmlDoc?: QtiAssessmentItemRef["xmlDoc"] | undefined;
4166
4168
  /** */
4167
4169
  myTemplate?: QtiAssessmentItemRef["myTemplate"] | undefined;
@@ -4184,8 +4186,6 @@ export type QtiAssessmentItemRefSolidJsProps = {
4184
4186
  /** */
4185
4187
  "prop:href"?: QtiAssessmentItemRef["href"] | undefined;
4186
4188
  /** */
4187
- "prop:weigths"?: QtiAssessmentItemRef["weigths"] | undefined;
4188
- /** */
4189
4189
  "prop:xmlDoc"?: QtiAssessmentItemRef["xmlDoc"] | undefined;
4190
4190
  /** */
4191
4191
  "prop:myTemplate"?: QtiAssessmentItemRef["myTemplate"] | undefined;
@@ -4372,6 +4372,21 @@ export type QtiItemSessionControlSolidJsProps = {
4372
4372
  textContent?: string | number | undefined;
4373
4373
  };
4374
4374
 
4375
+ export type QtiNumberSelectedProps = {
4376
+ /** */
4377
+ getVariables?: QtiNumberSelected["getVariables"] | undefined;
4378
+ };
4379
+
4380
+ export type QtiNumberSelectedSolidJsProps = {
4381
+ /** */
4382
+ "prop:getVariables"?: QtiNumberSelected["getVariables"] | undefined;
4383
+
4384
+ /** Set the innerHTML of the element */
4385
+ innerHTML?: string | undefined;
4386
+ /** Set the textContent of the element */
4387
+ textContent?: string | number | undefined;
4388
+ };
4389
+
4375
4390
  export type QtiOutcomeProcessingProps = {};
4376
4391
 
4377
4392
  export type QtiOutcomeProcessingSolidJsProps = {
@@ -4631,15 +4646,27 @@ export type TestItemLinkSolidJsProps = {
4631
4646
  };
4632
4647
 
4633
4648
  export type TestItemToSpeechProps = {
4634
- /** */
4649
+ /** Fallback language when neither the item content nor the document declares one. */
4635
4650
  language?: TestItemToSpeech["language"] | undefined;
4651
+ /** Identifier of the `qti-assessment-item-ref` this player reads. Leave unset to follow the
4652
+ navigation cursor (`navItemRefId`) instead. */
4653
+ "item-ref-id"?: TestItemToSpeech["itemRefId"] | undefined;
4654
+ /** Identifier of the `qti-assessment-item-ref` this player reads. Leave unset to follow the
4655
+ navigation cursor (`navItemRefId`) instead. */
4656
+ itemRefId?: TestItemToSpeech["itemRefId"] | undefined;
4636
4657
  /** */
4637
4658
  _ttsContext?: TestItemToSpeech["_ttsContext"] | undefined;
4638
4659
  };
4639
4660
 
4640
4661
  export type TestItemToSpeechSolidJsProps = {
4641
- /** */
4662
+ /** Fallback language when neither the item content nor the document declares one. */
4642
4663
  "prop:language"?: TestItemToSpeech["language"] | undefined;
4664
+ /** Identifier of the `qti-assessment-item-ref` this player reads. Leave unset to follow the
4665
+ navigation cursor (`navItemRefId`) instead. */
4666
+ "attr:item-ref-id"?: TestItemToSpeech["itemRefId"] | undefined;
4667
+ /** Identifier of the `qti-assessment-item-ref` this player reads. Leave unset to follow the
4668
+ navigation cursor (`navItemRefId`) instead. */
4669
+ "prop:itemRefId"?: TestItemToSpeech["itemRefId"] | undefined;
4643
4670
  /** */
4644
4671
  "prop:_ttsContext"?: TestItemToSpeech["_ttsContext"] | undefined;
4645
4672
 
@@ -4649,54 +4676,141 @@ export type TestItemToSpeechSolidJsProps = {
4649
4676
  textContent?: string | number | undefined;
4650
4677
  };
4651
4678
 
4652
- export type TestTtsPlayProps = {};
4679
+ export type TestTtsPlayProps = {
4680
+ /** Accessible name of the button while speech is playing; see `label`. */
4681
+ "pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
4682
+ /** Accessible name of the button while speech is playing; see `label`. */
4683
+ pauseLabel?: TestTtsPlay["pauseLabel"] | undefined;
4684
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4685
+ slotted content names the button by its text; set it when you slot an icon of your own,
4686
+ which has no text to be named by. */
4687
+ label?: TestTtsPlay["label"] | undefined;
4688
+ };
4653
4689
 
4654
4690
  export type TestTtsPlaySolidJsProps = {
4691
+ /** Accessible name of the button while speech is playing; see `label`. */
4692
+ "attr:pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
4693
+ /** Accessible name of the button while speech is playing; see `label`. */
4694
+ "prop:pauseLabel"?: TestTtsPlay["pauseLabel"] | undefined;
4695
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4696
+ slotted content names the button by its text; set it when you slot an icon of your own,
4697
+ which has no text to be named by. */
4698
+ "prop:label"?: TestTtsPlay["label"] | undefined;
4699
+
4655
4700
  /** Set the innerHTML of the element */
4656
4701
  innerHTML?: string | undefined;
4657
4702
  /** Set the textContent of the element */
4658
4703
  textContent?: string | number | undefined;
4659
4704
  };
4660
4705
 
4661
- export type TestTtsPauseProps = {};
4706
+ export type TestTtsPauseProps = {
4707
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4708
+ slotted content names the button by its text; set it when you slot an icon of your own,
4709
+ which has no text to be named by. */
4710
+ label?: TestTtsPause["label"] | undefined;
4711
+ };
4662
4712
 
4663
4713
  export type TestTtsPauseSolidJsProps = {
4714
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4715
+ slotted content names the button by its text; set it when you slot an icon of your own,
4716
+ which has no text to be named by. */
4717
+ "prop:label"?: TestTtsPause["label"] | undefined;
4718
+
4664
4719
  /** Set the innerHTML of the element */
4665
4720
  innerHTML?: string | undefined;
4666
4721
  /** Set the textContent of the element */
4667
4722
  textContent?: string | number | undefined;
4668
4723
  };
4669
4724
 
4670
- export type TestTtsResumeProps = {};
4725
+ export type TestTtsResumeProps = {
4726
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4727
+ slotted content names the button by its text; set it when you slot an icon of your own,
4728
+ which has no text to be named by. */
4729
+ label?: TestTtsResume["label"] | undefined;
4730
+ };
4671
4731
 
4672
4732
  export type TestTtsResumeSolidJsProps = {
4733
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4734
+ slotted content names the button by its text; set it when you slot an icon of your own,
4735
+ which has no text to be named by. */
4736
+ "prop:label"?: TestTtsResume["label"] | undefined;
4737
+
4673
4738
  /** Set the innerHTML of the element */
4674
4739
  innerHTML?: string | undefined;
4675
4740
  /** Set the textContent of the element */
4676
4741
  textContent?: string | number | undefined;
4677
4742
  };
4678
4743
 
4679
- export type TestTtsStopProps = {};
4744
+ export type TestTtsStopProps = {
4745
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4746
+ slotted content names the button by its text; set it when you slot an icon of your own,
4747
+ which has no text to be named by. */
4748
+ label?: TestTtsStop["label"] | undefined;
4749
+ };
4680
4750
 
4681
4751
  export type TestTtsStopSolidJsProps = {
4752
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4753
+ slotted content names the button by its text; set it when you slot an icon of your own,
4754
+ which has no text to be named by. */
4755
+ "prop:label"?: TestTtsStop["label"] | undefined;
4756
+
4682
4757
  /** Set the innerHTML of the element */
4683
4758
  innerHTML?: string | undefined;
4684
4759
  /** Set the textContent of the element */
4685
4760
  textContent?: string | number | undefined;
4686
4761
  };
4687
4762
 
4688
- export type TestTtsPrevProps = {};
4763
+ export type TestTtsPrevProps = {
4764
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4765
+ slotted content names the button by its text; set it when you slot an icon of your own,
4766
+ which has no text to be named by. */
4767
+ label?: TestTtsPrev["label"] | undefined;
4768
+ };
4689
4769
 
4690
4770
  export type TestTtsPrevSolidJsProps = {
4771
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4772
+ slotted content names the button by its text; set it when you slot an icon of your own,
4773
+ which has no text to be named by. */
4774
+ "prop:label"?: TestTtsPrev["label"] | undefined;
4775
+
4691
4776
  /** Set the innerHTML of the element */
4692
4777
  innerHTML?: string | undefined;
4693
4778
  /** Set the textContent of the element */
4694
4779
  textContent?: string | number | undefined;
4695
4780
  };
4696
4781
 
4697
- export type TestTtsNextProps = {};
4782
+ export type TestTtsNextProps = {
4783
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4784
+ slotted content names the button by its text; set it when you slot an icon of your own,
4785
+ which has no text to be named by. */
4786
+ label?: TestTtsNext["label"] | undefined;
4787
+ };
4698
4788
 
4699
4789
  export type TestTtsNextSolidJsProps = {
4790
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4791
+ slotted content names the button by its text; set it when you slot an icon of your own,
4792
+ which has no text to be named by. */
4793
+ "prop:label"?: TestTtsNext["label"] | undefined;
4794
+
4795
+ /** Set the innerHTML of the element */
4796
+ innerHTML?: string | undefined;
4797
+ /** Set the textContent of the element */
4798
+ textContent?: string | number | undefined;
4799
+ };
4800
+
4801
+ export type TestTtsPickProps = {
4802
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4803
+ slotted content names the button by its text; set it when you slot an icon of your own,
4804
+ which has no text to be named by. */
4805
+ label?: TestTtsPick["label"] | undefined;
4806
+ };
4807
+
4808
+ export type TestTtsPickSolidJsProps = {
4809
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4810
+ slotted content names the button by its text; set it when you slot an icon of your own,
4811
+ which has no text to be named by. */
4812
+ "prop:label"?: TestTtsPick["label"] | undefined;
4813
+
4700
4814
  /** Set the innerHTML of the element */
4701
4815
  innerHTML?: string | undefined;
4702
4816
  /** Set the textContent of the element */
@@ -5164,6 +5278,8 @@ export type QtiDurationLtSolidJsProps = {
5164
5278
  };
5165
5279
 
5166
5280
  export type QtiEqualRoundedProps = {
5281
+ /** */
5282
+ "rounding-mode"?: QtiEqualRounded["roundingMode"] | undefined;
5167
5283
  /** */
5168
5284
  roundingMode?: QtiEqualRounded["roundingMode"] | undefined;
5169
5285
  /** */
@@ -5171,6 +5287,8 @@ export type QtiEqualRoundedProps = {
5171
5287
  };
5172
5288
 
5173
5289
  export type QtiEqualRoundedSolidJsProps = {
5290
+ /** */
5291
+ "attr:rounding-mode"?: QtiEqualRounded["roundingMode"] | undefined;
5174
5292
  /** */
5175
5293
  "prop:roundingMode"?: QtiEqualRounded["roundingMode"] | undefined;
5176
5294
  /** */
@@ -5183,15 +5301,23 @@ export type QtiEqualRoundedSolidJsProps = {
5183
5301
  };
5184
5302
 
5185
5303
  export type QtiEqualProps = {
5304
+ /** */
5305
+ "tolerance-mode"?: QtiEqual["toleranceMode"] | undefined;
5186
5306
  /** */
5187
5307
  toleranceMode?: QtiEqual["toleranceMode"] | undefined;
5308
+ /** One or two numbers: the lower and upper tolerance. One means both. */
5309
+ tolerance?: QtiEqual["tolerance"] | undefined;
5188
5310
  /** */
5189
5311
  getVariables?: QtiEqual["getVariables"] | undefined;
5190
5312
  };
5191
5313
 
5192
5314
  export type QtiEqualSolidJsProps = {
5315
+ /** */
5316
+ "attr:tolerance-mode"?: QtiEqual["toleranceMode"] | undefined;
5193
5317
  /** */
5194
5318
  "prop:toleranceMode"?: QtiEqual["toleranceMode"] | undefined;
5319
+ /** One or two numbers: the lower and upper tolerance. One means both. */
5320
+ "prop:tolerance"?: QtiEqual["tolerance"] | undefined;
5195
5321
  /** */
5196
5322
  "prop:getVariables"?: QtiEqual["getVariables"] | undefined;
5197
5323
 
@@ -5201,6 +5327,33 @@ export type QtiEqualSolidJsProps = {
5201
5327
  textContent?: string | number | undefined;
5202
5328
  };
5203
5329
 
5330
+ export type QtiRuleProps = {};
5331
+
5332
+ export type QtiRuleSolidJsProps = {
5333
+ /** Set the innerHTML of the element */
5334
+ innerHTML?: string | undefined;
5335
+ /** Set the textContent of the element */
5336
+ textContent?: string | number | undefined;
5337
+ };
5338
+
5339
+ export type QtiExitResponseProps = {};
5340
+
5341
+ export type QtiExitResponseSolidJsProps = {
5342
+ /** Set the innerHTML of the element */
5343
+ innerHTML?: string | undefined;
5344
+ /** Set the textContent of the element */
5345
+ textContent?: string | number | undefined;
5346
+ };
5347
+
5348
+ export type QtiExitTestProps = {};
5349
+
5350
+ export type QtiExitTestSolidJsProps = {
5351
+ /** Set the innerHTML of the element */
5352
+ innerHTML?: string | undefined;
5353
+ /** Set the textContent of the element */
5354
+ textContent?: string | number | undefined;
5355
+ };
5356
+
5204
5357
  export type QtiFieldValueProps = {
5205
5358
  /** */
5206
5359
  getVariables?: QtiFieldValue["getVariables"] | undefined;
@@ -5378,15 +5531,6 @@ export type QtiLcmSolidJsProps = {
5378
5531
  textContent?: string | number | undefined;
5379
5532
  };
5380
5533
 
5381
- export type QtiRuleProps = {};
5382
-
5383
- export type QtiRuleSolidJsProps = {
5384
- /** Set the innerHTML of the element */
5385
- innerHTML?: string | undefined;
5386
- /** Set the textContent of the element */
5387
- textContent?: string | number | undefined;
5388
- };
5389
-
5390
5534
  export type QtiLookupOutcomeValueProps = {
5391
5535
  /** */
5392
5536
  identifier?: QtiLookupOutcomeValue["identifier"] | undefined;
@@ -5490,6 +5634,25 @@ export type QtiMatchSolidJsProps = {
5490
5634
  textContent?: string | number | undefined;
5491
5635
  };
5492
5636
 
5637
+ export type QtiMathConstantProps = {
5638
+ /** */
5639
+ name?: QtiMathConstant["name"] | undefined;
5640
+ /** */
5641
+ getVariables?: QtiMathConstant["getVariables"] | undefined;
5642
+ };
5643
+
5644
+ export type QtiMathConstantSolidJsProps = {
5645
+ /** */
5646
+ "prop:name"?: QtiMathConstant["name"] | undefined;
5647
+ /** */
5648
+ "prop:getVariables"?: QtiMathConstant["getVariables"] | undefined;
5649
+
5650
+ /** Set the innerHTML of the element */
5651
+ innerHTML?: string | undefined;
5652
+ /** Set the textContent of the element */
5653
+ textContent?: string | number | undefined;
5654
+ };
5655
+
5493
5656
  export type QtiMathOperatorProps = {
5494
5657
  /** */
5495
5658
  name?: QtiMathOperator["name"] | undefined;
@@ -5870,6 +6033,15 @@ export type QtiResponseElseSolidJsProps = {
5870
6033
  textContent?: string | number | undefined;
5871
6034
  };
5872
6035
 
6036
+ export type QtiResponseProcessingFragmentProps = {};
6037
+
6038
+ export type QtiResponseProcessingFragmentSolidJsProps = {
6039
+ /** Set the innerHTML of the element */
6040
+ innerHTML?: string | undefined;
6041
+ /** Set the textContent of the element */
6042
+ textContent?: string | number | undefined;
6043
+ };
6044
+
5873
6045
  export type QtiRoundToProps = {
5874
6046
  /** */
5875
6047
  "rounding-mode"?: QtiRoundTo["roundingMode"] | undefined;
@@ -6082,6 +6254,8 @@ export type QtiAssessmentItemCorrectionProps = {
6082
6254
  /** */
6083
6255
  adaptive?: QtiAssessmentItemCorrection["adaptive"] | undefined;
6084
6256
  /** */
6257
+ "time-dependent"?: QtiAssessmentItemCorrection["timeDependent"] | undefined;
6258
+ /** */
6085
6259
  timeDependent?: QtiAssessmentItemCorrection["timeDependent"] | undefined;
6086
6260
  /** */
6087
6261
  title?: QtiAssessmentItemCorrection["title"] | undefined;
@@ -6116,6 +6290,10 @@ export type QtiAssessmentItemCorrectionSolidJsProps = {
6116
6290
  /** */
6117
6291
  "prop:adaptive"?: QtiAssessmentItemCorrection["adaptive"] | undefined;
6118
6292
  /** */
6293
+ "attr:time-dependent"?:
6294
+ | QtiAssessmentItemCorrection["timeDependent"]
6295
+ | undefined;
6296
+ /** */
6119
6297
  "prop:timeDependent"?:
6120
6298
  | QtiAssessmentItemCorrection["timeDependent"]
6121
6299
  | undefined;
@@ -6488,7 +6666,7 @@ export type CustomElements = {
6488
6666
  *
6489
6667
  * - `identifier`: undefined
6490
6668
  * - `adaptive`: undefined
6491
- * - `timeDependent`: undefined
6669
+ * - `time-dependent`/`timeDependent`: undefined
6492
6670
  * - `title`: undefined
6493
6671
  * - `disabled`: undefined
6494
6672
  * - `readonly`: undefined
@@ -6577,14 +6755,33 @@ export type CustomElements = {
6577
6755
 
6578
6756
  /**
6579
6757
  * https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
6758
+ *
6759
+ * A custom operator is outside the QTI vocabulary, so what it does is supplied
6760
+ * by the delivery engine rather than by the item. Two ways to supply it:
6761
+ *
6762
+ * `definition` names an operator the host registered with
6763
+ * `registerCustomOperator`, or one of the built-ins (`Trim`, `ToAscii`,
6764
+ * `ParseCommaDecimal` under the `depcp:`, `questify:` and `qade:` prefixes).
6765
+ * The operator is handed the calculated values of the child expressions:
6766
+ *
6767
+ * ```xml
6768
+ * <qti-custom-operator definition="depcp:Trim">
6769
+ * <qti-variable identifier="RESPONSE"/>
6770
+ * </qti-custom-operator>
6771
+ * ```
6772
+ *
6773
+ * `class="js.org"` instead runs inline JavaScript out of a CDATA section:
6774
+ *
6775
+ * ```xml
6580
6776
  * <qti-custom-operator class="js.org">
6581
- * <qti-base-value base-type="string"><![CDATA[
6582
- * console.log(context.variables);
6583
- * return 'B'
6584
- * document.querySelector('qti-end-attempt-interaction').disabled = true;
6585
- * ]]></qti-base-value>
6586
- * </qti-custom-operator>
6587
- * </qti-set-outcome-value>
6777
+ * <qti-base-value base-type="string"><![CDATA[
6778
+ * console.log(context.variables);
6779
+ * return 'B'
6780
+ * ]]></qti-base-value>
6781
+ * </qti-custom-operator>
6782
+ * ```
6783
+ *
6784
+ * `definition` is checked first; the two do not interact.
6588
6785
  *
6589
6786
  * ## Events
6590
6787
  *
@@ -6722,7 +6919,14 @@ export type CustomElements = {
6722
6919
  * - `identifier`: undefined
6723
6920
  * - `cardinality`: undefined
6724
6921
  * - `itemContext`: undefined (property only)
6725
- * - `interpolationTable`: undefined (property only) (readonly)
6922
+ * - `interpolationTable`: The entries of a `qti-interpolation-table`, in document order.
6923
+ *
6924
+ * Order is load-bearing: each entry's `source-value` is the lower bound of a
6925
+ * range, and the lookup takes the first entry whose bound the source value
6926
+ * clears. A Map keyed by source value cannot express that. (property only) (readonly)
6927
+ * - `matchTable`: A qti-match-table maps a source value onto a target exactly, with no
6928
+ * boundaries and no interpolation. Targets keep their authored spelling
6929
+ * because a match table is not restricted to numeric outcomes. (property only) (readonly)
6726
6930
  *
6727
6931
  * ## Events
6728
6932
  *
@@ -6860,6 +7064,15 @@ export type CustomElements = {
6860
7064
  * </qti-item>
6861
7065
  * ```
6862
7066
  *
7067
+ * `view` selects the audience the item is presented to, which is what reveals `view`-tagged
7068
+ * content such as a scorer's `qti-rubric-block` — see `ItemViewMixin`.
7069
+ *
7070
+ * ```html
7071
+ * <qti-item view="scorer">
7072
+ * <item-container item-url="./path/to/item.xml"></item-container>
7073
+ * </qti-item>
7074
+ * ```
7075
+ *
6863
7076
  * ## Attributes & Properties
6864
7077
  *
6865
7078
  * Component attributes and properties that can be applied to the element or by using JavaScript.
@@ -6945,11 +7158,7 @@ export type CustomElements = {
6945
7158
  *
6946
7159
  * - `tabindex`: undefined
6947
7160
  * - `internals`: `qti-gap-img` is a draggable chip, so it needs ElementInternals to carry the drag states
6948
- * (`dragging`, `placeholder`). It works without a shadow root.
6949
- *
6950
- * NOTE: this element never calls `super.connectedCallback()`, so Lit never enables updating
6951
- * and it has no shadow root — which makes `qti-gap-img.styles.ts` dead code. Fixing that means
6952
- * adding a `<slot>` to a `render()` first, otherwise the authored `<img>` child disappears. (property only)
7161
+ * (`dragging`, `placeholder`). (property only)
6953
7162
  */
6954
7163
  "qti-gap-img": Partial<QtiGapImgProps & BaseProps<QtiGapImg> & BaseEvents>;
6955
7164
 
@@ -7770,8 +7979,8 @@ export type CustomElements = {
7770
7979
  *
7771
7980
  * Component attributes and properties that can be applied to the element or by using JavaScript.
7772
7981
  *
7773
- * - `min-choices`/`minChoices`: undefined
7774
7982
  * - `max-choices`/`maxChoices`: undefined
7983
+ * - `min-choices`/`minChoices`: undefined
7775
7984
  * - `response`: undefined
7776
7985
  * - `response-identifier`/`responseIdentifier`: undefined
7777
7986
  * - `disabled`: undefined
@@ -8921,7 +9130,12 @@ export type CustomElements = {
8921
9130
  * - `required`: undefined
8922
9131
  * - `fixed`: undefined
8923
9132
  * - `href`: undefined
8924
- * - `weigths`: undefined (property only)
9133
+ * - `weights`: The `<qti-weight>` children of this ref, keyed by identifier — what
9134
+ * `qti-test-variables`' `weight-identifier` resolves against.
9135
+ *
9136
+ * Read on access rather than cached: the test document is rendered into this
9137
+ * element's light DOM, so the weights are not in place at construction time,
9138
+ * and outcome processing runs long after they are. (property only) (readonly)
8925
9139
  * - `xmlDoc`: undefined (property only)
8926
9140
  * - `assessmentItem`: undefined (property only) (readonly)
8927
9141
  * - `myTemplate`: undefined (property only)
@@ -9009,6 +9223,39 @@ export type CustomElements = {
9009
9223
  QtiItemSessionControlProps & BaseProps<QtiItemSessionControl> & BaseEvents
9010
9224
  >;
9011
9225
 
9226
+ /**
9227
+ *
9228
+ *
9229
+ * ## Attributes & Properties
9230
+ *
9231
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9232
+ *
9233
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
9234
+ *
9235
+ * This is the supported way to inspect a scoring run: process the responses,
9236
+ * then walk the rule tree reading this off each expression. A tool that wants
9237
+ * to visualise how a score came about gets the whole tree annotated with its
9238
+ * values, without the components having to re-render to show them. (property only) (readonly)
9239
+ * - `lastVariables`: undefined (property only) (readonly)
9240
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
9241
+ * one regardless of its operands — `qti-divide` is a float even dividing two
9242
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
9243
+ *
9244
+ * Left undefined by operators whose result type follows their operands (a
9245
+ * `qti-sum` of integers is an integer) and by those that return no number at
9246
+ * all; the type is then read off the value. (property only) (readonly)
9247
+ * - `getVariables`: undefined (property only)
9248
+ *
9249
+ * ## Methods
9250
+ *
9251
+ * Methods that can be called to access component functionality.
9252
+ *
9253
+ * - `calculate() => number`: undefined
9254
+ */
9255
+ "qti-number-selected": Partial<
9256
+ QtiNumberSelectedProps & BaseProps<QtiNumberSelected> & BaseEvents
9257
+ >;
9258
+
9012
9259
  /**
9013
9260
  *
9014
9261
  *
@@ -9082,6 +9329,20 @@ export type CustomElements = {
9082
9329
  *
9083
9330
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9084
9331
  *
9332
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
9333
+ *
9334
+ * This is the supported way to inspect a scoring run: process the responses,
9335
+ * then walk the rule tree reading this off each expression. A tool that wants
9336
+ * to visualise how a score came about gets the whole tree annotated with its
9337
+ * values, without the components having to re-render to show them. (property only) (readonly)
9338
+ * - `lastVariables`: undefined (property only) (readonly)
9339
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
9340
+ * one regardless of its operands — `qti-divide` is a float even dividing two
9341
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
9342
+ *
9343
+ * Left undefined by operators whose result type follows their operands (a
9344
+ * `qti-sum` of integers is an integer) and by those that return no number at
9345
+ * all; the type is then read off the value. (property only) (readonly)
9085
9346
  * - `getVariables`: undefined (property only)
9086
9347
  *
9087
9348
  * ## Methods
@@ -9265,7 +9526,9 @@ export type CustomElements = {
9265
9526
  *
9266
9527
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9267
9528
  *
9268
- * - `language`: undefined
9529
+ * - `language`: Fallback language when neither the item content nor the document declares one.
9530
+ * - `item-ref-id`/`itemRefId`: Identifier of the `qti-assessment-item-ref` this player reads. Leave unset to follow the
9531
+ * navigation cursor (`navItemRefId`) instead.
9269
9532
  * - `_ttsContext`: undefined (property only)
9270
9533
  *
9271
9534
  * ## CSS States
@@ -9273,6 +9536,7 @@ export type CustomElements = {
9273
9536
  * These can be used to apply styling when a component is in a given state.
9274
9537
  *
9275
9538
  * - `idle`: No speech active
9539
+ * - `picking`: Pick mode: all reading elements highlighted, waiting for a click
9276
9540
  * - `playing`: Speech is playing
9277
9541
  * - `paused`: Speech is paused
9278
9542
  */
@@ -9282,7 +9546,17 @@ export type CustomElements = {
9282
9546
 
9283
9547
  /**
9284
9548
  * Play/pause/resume toggle button — always enabled, cycles through states.
9285
- * Use named slots `play` and `pause` to customise the icons/labels independently.
9549
+ * Use named slots `play` and `pause` to customise the icons/labels independently; `label` and
9550
+ * `pause-label` name the button in each state (set them when the slotted content is an icon).
9551
+ *
9552
+ * ## Attributes & Properties
9553
+ *
9554
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9555
+ *
9556
+ * - `pause-label`/`pauseLabel`: Accessible name of the button while speech is playing; see `label`.
9557
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9558
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9559
+ * which has no text to be named by.
9286
9560
  *
9287
9561
  * ## CSS Parts
9288
9562
  *
@@ -9303,6 +9577,14 @@ export type CustomElements = {
9303
9577
  /**
9304
9578
  * Pause button — enabled only when playing.
9305
9579
  *
9580
+ * ## Attributes & Properties
9581
+ *
9582
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9583
+ *
9584
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9585
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9586
+ * which has no text to be named by.
9587
+ *
9306
9588
  * ## CSS Parts
9307
9589
  *
9308
9590
  * Custom selectors for styling elements within the component.
@@ -9322,6 +9604,14 @@ export type CustomElements = {
9322
9604
  /**
9323
9605
  * Resume button — enabled only when paused.
9324
9606
  *
9607
+ * ## Attributes & Properties
9608
+ *
9609
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9610
+ *
9611
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9612
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9613
+ * which has no text to be named by.
9614
+ *
9325
9615
  * ## CSS Parts
9326
9616
  *
9327
9617
  * Custom selectors for styling elements within the component.
@@ -9339,7 +9629,15 @@ export type CustomElements = {
9339
9629
  >;
9340
9630
 
9341
9631
  /**
9342
- * Stop button — enabled when playing or paused.
9632
+ * Stop button — enabled when playing, paused, or in pick mode (where it leaves pick mode).
9633
+ *
9634
+ * ## Attributes & Properties
9635
+ *
9636
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9637
+ *
9638
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9639
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9640
+ * which has no text to be named by.
9343
9641
  *
9344
9642
  * ## CSS Parts
9345
9643
  *
@@ -9359,7 +9657,17 @@ export type CustomElements = {
9359
9657
 
9360
9658
  /**
9361
9659
  * Prev-element button — moves cursor to the previous reading element and pauses.
9362
- * Disabled at the first element or when no elements are loaded.
9660
+ * Disabled at the first element. Reading elements are collected lazily, so an element count
9661
+ * of 0 means "not looked yet" rather than "nothing to read": the button stays enabled and the
9662
+ * first click collects them.
9663
+ *
9664
+ * ## Attributes & Properties
9665
+ *
9666
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9667
+ *
9668
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9669
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9670
+ * which has no text to be named by.
9363
9671
  *
9364
9672
  * ## CSS Parts
9365
9673
  *
@@ -9379,7 +9687,16 @@ export type CustomElements = {
9379
9687
 
9380
9688
  /**
9381
9689
  * Next-element button — moves cursor to the next reading element and pauses.
9382
- * Disabled at the last element or when no elements are loaded.
9690
+ * Disabled at the last element; enabled while the elements have not been collected yet
9691
+ * (see `TestTtsPrev`).
9692
+ *
9693
+ * ## Attributes & Properties
9694
+ *
9695
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9696
+ *
9697
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9698
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9699
+ * which has no text to be named by.
9383
9700
  *
9384
9701
  * ## CSS Parts
9385
9702
  *
@@ -9397,6 +9714,35 @@ export type CustomElements = {
9397
9714
  TestTtsNextProps & BaseProps<TestTtsNext> & BaseEvents
9398
9715
  >;
9399
9716
 
9717
+ /**
9718
+ * Pick button — toggles pick mode on the controller: every reading element is highlighted and
9719
+ * a click on one of them starts reading from there. Reflects the mode as `:state(picking)`.
9720
+ *
9721
+ * ## Attributes & Properties
9722
+ *
9723
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9724
+ *
9725
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9726
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9727
+ * which has no text to be named by.
9728
+ *
9729
+ * ## CSS Parts
9730
+ *
9731
+ * Custom selectors for styling elements within the component.
9732
+ *
9733
+ * - `button`: undefined
9734
+ *
9735
+ * ## CSS States
9736
+ *
9737
+ * These can be used to apply styling when a component is in a given state.
9738
+ *
9739
+ * - `idle`: / playing / paused
9740
+ * - `picking`: undefined
9741
+ */
9742
+ "test-tts-pick": Partial<
9743
+ TestTtsPickProps & BaseProps<TestTtsPick> & BaseEvents
9744
+ >;
9745
+
9400
9746
  /**
9401
9747
  * Represents a custom element for navigating to the next test item.
9402
9748
  *
@@ -9648,6 +9994,20 @@ export type CustomElements = {
9648
9994
  *
9649
9995
  * - `min`: undefined
9650
9996
  * - `max`: undefined
9997
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
9998
+ *
9999
+ * This is the supported way to inspect a scoring run: process the responses,
10000
+ * then walk the rule tree reading this off each expression. A tool that wants
10001
+ * to visualise how a score came about gets the whole tree annotated with its
10002
+ * values, without the components having to re-render to show them. (property only) (readonly)
10003
+ * - `lastVariables`: undefined (property only) (readonly)
10004
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10005
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10006
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10007
+ *
10008
+ * Left undefined by operators whose result type follows their operands (a
10009
+ * `qti-sum` of integers is an integer) and by those that return no number at
10010
+ * all; the type is then read off the value. (property only) (readonly)
9651
10011
  * - `getVariables`: undefined (property only)
9652
10012
  *
9653
10013
  * ## Methods
@@ -9666,6 +10026,20 @@ export type CustomElements = {
9666
10026
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9667
10027
  *
9668
10028
  * - `base-type`/`baseType`: undefined
10029
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10030
+ *
10031
+ * This is the supported way to inspect a scoring run: process the responses,
10032
+ * then walk the rule tree reading this off each expression. A tool that wants
10033
+ * to visualise how a score came about gets the whole tree annotated with its
10034
+ * values, without the components having to re-render to show them. (property only) (readonly)
10035
+ * - `lastVariables`: undefined (property only) (readonly)
10036
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10037
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10038
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10039
+ *
10040
+ * Left undefined by operators whose result type follows their operands (a
10041
+ * `qti-sum` of integers is an integer) and by those that return no number at
10042
+ * all; the type is then read off the value. (property only) (readonly)
9669
10043
  * - `getVariables`: undefined (property only)
9670
10044
  *
9671
10045
  * ## Methods
@@ -9685,6 +10059,20 @@ export type CustomElements = {
9685
10059
  *
9686
10060
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9687
10061
  *
10062
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10063
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10064
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10065
+ *
10066
+ * Left undefined by operators whose result type follows their operands (a
10067
+ * `qti-sum` of integers is an integer) and by those that return no number at
10068
+ * all; the type is then read off the value. (property only) (readonly)
10069
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10070
+ *
10071
+ * This is the supported way to inspect a scoring run: process the responses,
10072
+ * then walk the rule tree reading this off each expression. A tool that wants
10073
+ * to visualise how a score came about gets the whole tree annotated with its
10074
+ * values, without the components having to re-render to show them. (property only) (readonly)
10075
+ * - `lastVariables`: undefined (property only) (readonly)
9688
10076
  * - `getVariables`: undefined (property only)
9689
10077
  *
9690
10078
  * ## Methods
@@ -9704,13 +10092,27 @@ export type CustomElements = {
9704
10092
  *
9705
10093
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9706
10094
  *
10095
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10096
+ *
10097
+ * This is the supported way to inspect a scoring run: process the responses,
10098
+ * then walk the rule tree reading this off each expression. A tool that wants
10099
+ * to visualise how a score came about gets the whole tree annotated with its
10100
+ * values, without the components having to re-render to show them. (property only) (readonly)
10101
+ * - `lastVariables`: undefined (property only) (readonly)
10102
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10103
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10104
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10105
+ *
10106
+ * Left undefined by operators whose result type follows their operands (a
10107
+ * `qti-sum` of integers is an integer) and by those that return no number at
10108
+ * all; the type is then read off the value. (property only) (readonly)
9707
10109
  * - `getVariables`: undefined (property only)
9708
10110
  *
9709
10111
  * ## Methods
9710
10112
  *
9711
10113
  * Methods that can be called to access component functionality.
9712
10114
  *
9713
- * - `calculate() => Readonly<boolean>`: undefined
10115
+ * - `calculate() => Readonly<T>`: undefined
9714
10116
  */
9715
10117
  "qti-contains": Partial<
9716
10118
  QtiContainsProps & BaseProps<QtiContains> & BaseEvents
@@ -9724,6 +10126,20 @@ export type CustomElements = {
9724
10126
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9725
10127
  *
9726
10128
  * - `interpretation`: undefined (property only) (readonly)
10129
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10130
+ *
10131
+ * This is the supported way to inspect a scoring run: process the responses,
10132
+ * then walk the rule tree reading this off each expression. A tool that wants
10133
+ * to visualise how a score came about gets the whole tree annotated with its
10134
+ * values, without the components having to re-render to show them. (property only) (readonly)
10135
+ * - `lastVariables`: undefined (property only) (readonly)
10136
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10137
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10138
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10139
+ *
10140
+ * Left undefined by operators whose result type follows their operands (a
10141
+ * `qti-sum` of integers is an integer) and by those that return no number at
10142
+ * all; the type is then read off the value. (property only) (readonly)
9727
10143
  * - `getVariables`: undefined (property only)
9728
10144
  *
9729
10145
  * ## Methods
@@ -9742,6 +10158,20 @@ export type CustomElements = {
9742
10158
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9743
10159
  *
9744
10160
  * - `identifier`: undefined
10161
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10162
+ *
10163
+ * This is the supported way to inspect a scoring run: process the responses,
10164
+ * then walk the rule tree reading this off each expression. A tool that wants
10165
+ * to visualise how a score came about gets the whole tree annotated with its
10166
+ * values, without the components having to re-render to show them. (property only) (readonly)
10167
+ * - `lastVariables`: undefined (property only) (readonly)
10168
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10169
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10170
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10171
+ *
10172
+ * Left undefined by operators whose result type follows their operands (a
10173
+ * `qti-sum` of integers is an integer) and by those that return no number at
10174
+ * all; the type is then read off the value. (property only) (readonly)
9745
10175
  * - `getVariables`: undefined (property only)
9746
10176
  *
9747
10177
  * ## Methods
@@ -9759,6 +10189,20 @@ export type CustomElements = {
9759
10189
  *
9760
10190
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9761
10191
  *
10192
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10193
+ *
10194
+ * This is the supported way to inspect a scoring run: process the responses,
10195
+ * then walk the rule tree reading this off each expression. A tool that wants
10196
+ * to visualise how a score came about gets the whole tree annotated with its
10197
+ * values, without the components having to re-render to show them. (property only) (readonly)
10198
+ * - `lastVariables`: undefined (property only) (readonly)
10199
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10200
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10201
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10202
+ *
10203
+ * Left undefined by operators whose result type follows their operands (a
10204
+ * `qti-sum` of integers is an integer) and by those that return no number at
10205
+ * all; the type is then read off the value. (property only) (readonly)
9762
10206
  * - `getVariables`: undefined (property only)
9763
10207
  *
9764
10208
  * ## Methods
@@ -9776,6 +10220,14 @@ export type CustomElements = {
9776
10220
  *
9777
10221
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9778
10222
  *
10223
+ * - `resultBaseType`: Always a float, even dividing two integers exactly. (property only) (readonly)
10224
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10225
+ *
10226
+ * This is the supported way to inspect a scoring run: process the responses,
10227
+ * then walk the rule tree reading this off each expression. A tool that wants
10228
+ * to visualise how a score came about gets the whole tree annotated with its
10229
+ * values, without the components having to re-render to show them. (property only) (readonly)
10230
+ * - `lastVariables`: undefined (property only) (readonly)
9779
10231
  * - `getVariables`: undefined (property only)
9780
10232
  *
9781
10233
  * ## Methods
@@ -9793,6 +10245,20 @@ export type CustomElements = {
9793
10245
  *
9794
10246
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9795
10247
  *
10248
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10249
+ *
10250
+ * This is the supported way to inspect a scoring run: process the responses,
10251
+ * then walk the rule tree reading this off each expression. A tool that wants
10252
+ * to visualise how a score came about gets the whole tree annotated with its
10253
+ * values, without the components having to re-render to show them. (property only) (readonly)
10254
+ * - `lastVariables`: undefined (property only) (readonly)
10255
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10256
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10257
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10258
+ *
10259
+ * Left undefined by operators whose result type follows their operands (a
10260
+ * `qti-sum` of integers is an integer) and by those that return no number at
10261
+ * all; the type is then read off the value. (property only) (readonly)
9796
10262
  * - `getVariables`: undefined (property only)
9797
10263
  *
9798
10264
  * ## Methods
@@ -9812,6 +10278,20 @@ export type CustomElements = {
9812
10278
  *
9813
10279
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9814
10280
  *
10281
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10282
+ *
10283
+ * This is the supported way to inspect a scoring run: process the responses,
10284
+ * then walk the rule tree reading this off each expression. A tool that wants
10285
+ * to visualise how a score came about gets the whole tree annotated with its
10286
+ * values, without the components having to re-render to show them. (property only) (readonly)
10287
+ * - `lastVariables`: undefined (property only) (readonly)
10288
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10289
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10290
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10291
+ *
10292
+ * Left undefined by operators whose result type follows their operands (a
10293
+ * `qti-sum` of integers is an integer) and by those that return no number at
10294
+ * all; the type is then read off the value. (property only) (readonly)
9815
10295
  * - `getVariables`: undefined (property only)
9816
10296
  *
9817
10297
  * ## Methods
@@ -9831,8 +10311,22 @@ export type CustomElements = {
9831
10311
  *
9832
10312
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9833
10313
  *
9834
- * - `roundingMode`: undefined
10314
+ * - `rounding-mode`/`roundingMode`: undefined
9835
10315
  * - `figures`: undefined (property only) (readonly)
10316
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10317
+ *
10318
+ * This is the supported way to inspect a scoring run: process the responses,
10319
+ * then walk the rule tree reading this off each expression. A tool that wants
10320
+ * to visualise how a score came about gets the whole tree annotated with its
10321
+ * values, without the components having to re-render to show them. (property only) (readonly)
10322
+ * - `lastVariables`: undefined (property only) (readonly)
10323
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10324
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10325
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10326
+ *
10327
+ * Left undefined by operators whose result type follows their operands (a
10328
+ * `qti-sum` of integers is an integer) and by those that return no number at
10329
+ * all; the type is then read off the value. (property only) (readonly)
9836
10330
  * - `getVariables`: undefined (property only)
9837
10331
  *
9838
10332
  * ## Methods
@@ -9852,7 +10346,26 @@ export type CustomElements = {
9852
10346
  *
9853
10347
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9854
10348
  *
9855
- * - `toleranceMode`: undefined
10349
+ * - `tolerance-mode`/`toleranceMode`: undefined
10350
+ * - `tolerance`: One or two numbers: the lower and upper tolerance. One means both.
10351
+ * - `includeLowerBound`: Read off the attribute rather than declared as a Lit boolean property: QTI
10352
+ * writes `include-lower-bound="false"`, and Lit's boolean converter takes the
10353
+ * mere presence of an attribute as true. Both default to true, per the spec. (property only) (readonly)
10354
+ * - `includeUpperBound`: undefined (property only) (readonly)
10355
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10356
+ *
10357
+ * This is the supported way to inspect a scoring run: process the responses,
10358
+ * then walk the rule tree reading this off each expression. A tool that wants
10359
+ * to visualise how a score came about gets the whole tree annotated with its
10360
+ * values, without the components having to re-render to show them. (property only) (readonly)
10361
+ * - `lastVariables`: undefined (property only) (readonly)
10362
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10363
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10364
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10365
+ *
10366
+ * Left undefined by operators whose result type follows their operands (a
10367
+ * `qti-sum` of integers is an integer) and by those that return no number at
10368
+ * all; the type is then read off the value. (property only) (readonly)
9856
10369
  * - `getVariables`: undefined (property only)
9857
10370
  *
9858
10371
  * ## Methods
@@ -9866,38 +10379,39 @@ export type CustomElements = {
9866
10379
  /**
9867
10380
  *
9868
10381
  *
9869
- * ## Attributes & Properties
10382
+ * ## Methods
9870
10383
  *
9871
- * Component attributes and properties that can be applied to the element or by using JavaScript.
10384
+ * Methods that can be called to access component functionality.
10385
+ *
10386
+ * - `process() => void`: undefined
10387
+ */
10388
+ "qti-rule": Partial<QtiRuleProps & BaseProps<QtiRule> & BaseEvents>;
10389
+
10390
+ /**
9872
10391
  *
9873
- * - `getVariables`: undefined (property only)
9874
10392
  *
9875
10393
  * ## Methods
9876
10394
  *
9877
10395
  * Methods that can be called to access component functionality.
9878
10396
  *
9879
- * - `calculate() => Readonly<T>`: undefined
10397
+ * - `process() => never`: undefined
9880
10398
  */
9881
- "qti-field-value": Partial<
9882
- QtiFieldValueProps & BaseProps<QtiFieldValue> & BaseEvents
10399
+ "qti-exit-response": Partial<
10400
+ QtiExitResponseProps & BaseProps<QtiExitResponse> & BaseEvents
9883
10401
  >;
9884
10402
 
9885
10403
  /**
9886
10404
  *
9887
10405
  *
9888
- * ## Attributes & Properties
9889
- *
9890
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9891
- *
9892
- * - `getVariables`: undefined (property only)
9893
- *
9894
10406
  * ## Methods
9895
10407
  *
9896
10408
  * Methods that can be called to access component functionality.
9897
10409
  *
9898
- * - `calculate() => Readonly<T>`: undefined
10410
+ * - `process() => never`: undefined
9899
10411
  */
9900
- "qti-gcd": Partial<QtiGcdProps & BaseProps<QtiGcd> & BaseEvents>;
10412
+ "qti-exit-test": Partial<
10413
+ QtiExitTestProps & BaseProps<QtiExitTest> & BaseEvents
10414
+ >;
9901
10415
 
9902
10416
  /**
9903
10417
  *
@@ -9906,6 +10420,20 @@ export type CustomElements = {
9906
10420
  *
9907
10421
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9908
10422
  *
10423
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10424
+ *
10425
+ * This is the supported way to inspect a scoring run: process the responses,
10426
+ * then walk the rule tree reading this off each expression. A tool that wants
10427
+ * to visualise how a score came about gets the whole tree annotated with its
10428
+ * values, without the components having to re-render to show them. (property only) (readonly)
10429
+ * - `lastVariables`: undefined (property only) (readonly)
10430
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10431
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10432
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10433
+ *
10434
+ * Left undefined by operators whose result type follows their operands (a
10435
+ * `qti-sum` of integers is an integer) and by those that return no number at
10436
+ * all; the type is then read off the value. (property only) (readonly)
9909
10437
  * - `getVariables`: undefined (property only)
9910
10438
  *
9911
10439
  * ## Methods
@@ -9914,7 +10442,9 @@ export type CustomElements = {
9914
10442
  *
9915
10443
  * - `calculate() => Readonly<T>`: undefined
9916
10444
  */
9917
- "qti-gt": Partial<QtiGtProps & BaseProps<QtiGt> & BaseEvents>;
10445
+ "qti-field-value": Partial<
10446
+ QtiFieldValueProps & BaseProps<QtiFieldValue> & BaseEvents
10447
+ >;
9918
10448
 
9919
10449
  /**
9920
10450
  *
@@ -9923,13 +10453,89 @@ export type CustomElements = {
9923
10453
  *
9924
10454
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9925
10455
  *
10456
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10457
+ *
10458
+ * This is the supported way to inspect a scoring run: process the responses,
10459
+ * then walk the rule tree reading this off each expression. A tool that wants
10460
+ * to visualise how a score came about gets the whole tree annotated with its
10461
+ * values, without the components having to re-render to show them. (property only) (readonly)
10462
+ * - `lastVariables`: undefined (property only) (readonly)
10463
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10464
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10465
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10466
+ *
10467
+ * Left undefined by operators whose result type follows their operands (a
10468
+ * `qti-sum` of integers is an integer) and by those that return no number at
10469
+ * all; the type is then read off the value. (property only) (readonly)
9926
10470
  * - `getVariables`: undefined (property only)
9927
10471
  *
9928
10472
  * ## Methods
9929
10473
  *
9930
10474
  * Methods that can be called to access component functionality.
9931
10475
  *
9932
- * - `calculate() => Readonly<boolean>`: undefined
10476
+ * - `calculate() => Readonly<T>`: undefined
10477
+ */
10478
+ "qti-gcd": Partial<QtiGcdProps & BaseProps<QtiGcd> & BaseEvents>;
10479
+
10480
+ /**
10481
+ *
10482
+ *
10483
+ * ## Attributes & Properties
10484
+ *
10485
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
10486
+ *
10487
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10488
+ *
10489
+ * This is the supported way to inspect a scoring run: process the responses,
10490
+ * then walk the rule tree reading this off each expression. A tool that wants
10491
+ * to visualise how a score came about gets the whole tree annotated with its
10492
+ * values, without the components having to re-render to show them. (property only) (readonly)
10493
+ * - `lastVariables`: undefined (property only) (readonly)
10494
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10495
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10496
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10497
+ *
10498
+ * Left undefined by operators whose result type follows their operands (a
10499
+ * `qti-sum` of integers is an integer) and by those that return no number at
10500
+ * all; the type is then read off the value. (property only) (readonly)
10501
+ * - `getVariables`: undefined (property only)
10502
+ *
10503
+ * ## Methods
10504
+ *
10505
+ * Methods that can be called to access component functionality.
10506
+ *
10507
+ * - `calculate() => Readonly<T>`: undefined
10508
+ */
10509
+ "qti-gt": Partial<QtiGtProps & BaseProps<QtiGt> & BaseEvents>;
10510
+
10511
+ /**
10512
+ *
10513
+ *
10514
+ * ## Attributes & Properties
10515
+ *
10516
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
10517
+ *
10518
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10519
+ *
10520
+ * This is the supported way to inspect a scoring run: process the responses,
10521
+ * then walk the rule tree reading this off each expression. A tool that wants
10522
+ * to visualise how a score came about gets the whole tree annotated with its
10523
+ * values, without the components having to re-render to show them. (property only) (readonly)
10524
+ * - `lastVariables`: undefined (property only) (readonly)
10525
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10526
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10527
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10528
+ *
10529
+ * Left undefined by operators whose result type follows their operands (a
10530
+ * `qti-sum` of integers is an integer) and by those that return no number at
10531
+ * all; the type is then read off the value. (property only) (readonly)
10532
+ * - `getVariables`: undefined (property only)
10533
+ *
10534
+ * ## Methods
10535
+ *
10536
+ * Methods that can be called to access component functionality.
10537
+ *
10538
+ * - `calculate() => Readonly<boolean>`: undefined
9933
10539
  */
9934
10540
  "qti-gte": Partial<QtiGteProps & BaseProps<QtiGte> & BaseEvents>;
9935
10541
 
@@ -9941,6 +10547,20 @@ export type CustomElements = {
9941
10547
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9942
10548
  *
9943
10549
  * - `n`: undefined
10550
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10551
+ *
10552
+ * This is the supported way to inspect a scoring run: process the responses,
10553
+ * then walk the rule tree reading this off each expression. A tool that wants
10554
+ * to visualise how a score came about gets the whole tree annotated with its
10555
+ * values, without the components having to re-render to show them. (property only) (readonly)
10556
+ * - `lastVariables`: undefined (property only) (readonly)
10557
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10558
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10559
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10560
+ *
10561
+ * Left undefined by operators whose result type follows their operands (a
10562
+ * `qti-sum` of integers is an integer) and by those that return no number at
10563
+ * all; the type is then read off the value. (property only) (readonly)
9944
10564
  * - `getVariables`: undefined (property only)
9945
10565
  *
9946
10566
  * ## Methods
@@ -9960,6 +10580,20 @@ export type CustomElements = {
9960
10580
  *
9961
10581
  * - `shape`: undefined
9962
10582
  * - `coords`: undefined
10583
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10584
+ *
10585
+ * This is the supported way to inspect a scoring run: process the responses,
10586
+ * then walk the rule tree reading this off each expression. A tool that wants
10587
+ * to visualise how a score came about gets the whole tree annotated with its
10588
+ * values, without the components having to re-render to show them. (property only) (readonly)
10589
+ * - `lastVariables`: undefined (property only) (readonly)
10590
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10591
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10592
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10593
+ *
10594
+ * Left undefined by operators whose result type follows their operands (a
10595
+ * `qti-sum` of integers is an integer) and by those that return no number at
10596
+ * all; the type is then read off the value. (property only) (readonly)
9963
10597
  * - `getVariables`: undefined (property only)
9964
10598
  *
9965
10599
  * ## Methods
@@ -9977,6 +10611,20 @@ export type CustomElements = {
9977
10611
  *
9978
10612
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9979
10613
  *
10614
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10615
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10616
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10617
+ *
10618
+ * Left undefined by operators whose result type follows their operands (a
10619
+ * `qti-sum` of integers is an integer) and by those that return no number at
10620
+ * all; the type is then read off the value. (property only) (readonly)
10621
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10622
+ *
10623
+ * This is the supported way to inspect a scoring run: process the responses,
10624
+ * then walk the rule tree reading this off each expression. A tool that wants
10625
+ * to visualise how a score came about gets the whole tree annotated with its
10626
+ * values, without the components having to re-render to show them. (property only) (readonly)
10627
+ * - `lastVariables`: undefined (property only) (readonly)
9980
10628
  * - `getVariables`: undefined (property only)
9981
10629
  *
9982
10630
  * ## Methods
@@ -9996,6 +10644,20 @@ export type CustomElements = {
9996
10644
  *
9997
10645
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9998
10646
  *
10647
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10648
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10649
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10650
+ *
10651
+ * Left undefined by operators whose result type follows their operands (a
10652
+ * `qti-sum` of integers is an integer) and by those that return no number at
10653
+ * all; the type is then read off the value. (property only) (readonly)
10654
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10655
+ *
10656
+ * This is the supported way to inspect a scoring run: process the responses,
10657
+ * then walk the rule tree reading this off each expression. A tool that wants
10658
+ * to visualise how a score came about gets the whole tree annotated with its
10659
+ * values, without the components having to re-render to show them. (property only) (readonly)
10660
+ * - `lastVariables`: undefined (property only) (readonly)
9999
10661
  * - `getVariables`: undefined (property only)
10000
10662
  *
10001
10663
  * ## Methods
@@ -10015,6 +10677,20 @@ export type CustomElements = {
10015
10677
  *
10016
10678
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10017
10679
  *
10680
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10681
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10682
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10683
+ *
10684
+ * Left undefined by operators whose result type follows their operands (a
10685
+ * `qti-sum` of integers is an integer) and by those that return no number at
10686
+ * all; the type is then read off the value. (property only) (readonly)
10687
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10688
+ *
10689
+ * This is the supported way to inspect a scoring run: process the responses,
10690
+ * then walk the rule tree reading this off each expression. A tool that wants
10691
+ * to visualise how a score came about gets the whole tree annotated with its
10692
+ * values, without the components having to re-render to show them. (property only) (readonly)
10693
+ * - `lastVariables`: undefined (property only) (readonly)
10018
10694
  * - `getVariables`: undefined (property only)
10019
10695
  *
10020
10696
  * ## Methods
@@ -10034,6 +10710,20 @@ export type CustomElements = {
10034
10710
  *
10035
10711
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10036
10712
  *
10713
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10714
+ *
10715
+ * This is the supported way to inspect a scoring run: process the responses,
10716
+ * then walk the rule tree reading this off each expression. A tool that wants
10717
+ * to visualise how a score came about gets the whole tree annotated with its
10718
+ * values, without the components having to re-render to show them. (property only) (readonly)
10719
+ * - `lastVariables`: undefined (property only) (readonly)
10720
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10721
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10722
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10723
+ *
10724
+ * Left undefined by operators whose result type follows their operands (a
10725
+ * `qti-sum` of integers is an integer) and by those that return no number at
10726
+ * all; the type is then read off the value. (property only) (readonly)
10037
10727
  * - `getVariables`: undefined (property only)
10038
10728
  *
10039
10729
  * ## Methods
@@ -10051,6 +10741,20 @@ export type CustomElements = {
10051
10741
  *
10052
10742
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10053
10743
  *
10744
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10745
+ *
10746
+ * This is the supported way to inspect a scoring run: process the responses,
10747
+ * then walk the rule tree reading this off each expression. A tool that wants
10748
+ * to visualise how a score came about gets the whole tree annotated with its
10749
+ * values, without the components having to re-render to show them. (property only) (readonly)
10750
+ * - `lastVariables`: undefined (property only) (readonly)
10751
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10752
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10753
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10754
+ *
10755
+ * Left undefined by operators whose result type follows their operands (a
10756
+ * `qti-sum` of integers is an integer) and by those that return no number at
10757
+ * all; the type is then read off the value. (property only) (readonly)
10054
10758
  * - `getVariables`: undefined (property only)
10055
10759
  *
10056
10760
  * ## Methods
@@ -10061,17 +10765,6 @@ export type CustomElements = {
10061
10765
  */
10062
10766
  "qti-lcm": Partial<QtiLcmProps & BaseProps<QtiLcm> & BaseEvents>;
10063
10767
 
10064
- /**
10065
- *
10066
- *
10067
- * ## Methods
10068
- *
10069
- * Methods that can be called to access component functionality.
10070
- *
10071
- * - `process() => void`: undefined
10072
- */
10073
- "qti-rule": Partial<QtiRuleProps & BaseProps<QtiRule> & BaseEvents>;
10074
-
10075
10768
  /**
10076
10769
  * The lookupOutcomeValue rule sets the value of an outcome variable to the value obtained
10077
10770
  * by looking up the value of the associated expression in the lookupTable associated
@@ -10094,7 +10787,7 @@ export type CustomElements = {
10094
10787
  *
10095
10788
  * Methods that can be called to access component functionality.
10096
10789
  *
10097
- * - `process() => number`: undefined
10790
+ * - `process() => number | string | null`: undefined
10098
10791
  */
10099
10792
  "qti-lookup-outcome-value": Partial<
10100
10793
  QtiLookupOutcomeValueProps & BaseProps<QtiLookupOutcomeValue> & BaseEvents
@@ -10107,6 +10800,20 @@ export type CustomElements = {
10107
10800
  *
10108
10801
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10109
10802
  *
10803
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10804
+ *
10805
+ * This is the supported way to inspect a scoring run: process the responses,
10806
+ * then walk the rule tree reading this off each expression. A tool that wants
10807
+ * to visualise how a score came about gets the whole tree annotated with its
10808
+ * values, without the components having to re-render to show them. (property only) (readonly)
10809
+ * - `lastVariables`: undefined (property only) (readonly)
10810
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10811
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10812
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10813
+ *
10814
+ * Left undefined by operators whose result type follows their operands (a
10815
+ * `qti-sum` of integers is an integer) and by those that return no number at
10816
+ * all; the type is then read off the value. (property only) (readonly)
10110
10817
  * - `getVariables`: undefined (property only)
10111
10818
  *
10112
10819
  * ## Methods
@@ -10124,6 +10831,20 @@ export type CustomElements = {
10124
10831
  *
10125
10832
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10126
10833
  *
10834
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10835
+ *
10836
+ * This is the supported way to inspect a scoring run: process the responses,
10837
+ * then walk the rule tree reading this off each expression. A tool that wants
10838
+ * to visualise how a score came about gets the whole tree annotated with its
10839
+ * values, without the components having to re-render to show them. (property only) (readonly)
10840
+ * - `lastVariables`: undefined (property only) (readonly)
10841
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10842
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10843
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10844
+ *
10845
+ * Left undefined by operators whose result type follows their operands (a
10846
+ * `qti-sum` of integers is an integer) and by those that return no number at
10847
+ * all; the type is then read off the value. (property only) (readonly)
10127
10848
  * - `getVariables`: undefined (property only)
10128
10849
  *
10129
10850
  * ## Methods
@@ -10142,6 +10863,20 @@ export type CustomElements = {
10142
10863
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10143
10864
  *
10144
10865
  * - `identifier`: undefined
10866
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10867
+ *
10868
+ * This is the supported way to inspect a scoring run: process the responses,
10869
+ * then walk the rule tree reading this off each expression. A tool that wants
10870
+ * to visualise how a score came about gets the whole tree annotated with its
10871
+ * values, without the components having to re-render to show them. (property only) (readonly)
10872
+ * - `lastVariables`: undefined (property only) (readonly)
10873
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10874
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10875
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10876
+ *
10877
+ * Left undefined by operators whose result type follows their operands (a
10878
+ * `qti-sum` of integers is an integer) and by those that return no number at
10879
+ * all; the type is then read off the value. (property only) (readonly)
10145
10880
  * - `getVariables`: undefined (property only)
10146
10881
  *
10147
10882
  * ## Methods
@@ -10162,6 +10897,20 @@ export type CustomElements = {
10162
10897
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10163
10898
  *
10164
10899
  * - `identifier`: undefined
10900
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10901
+ *
10902
+ * This is the supported way to inspect a scoring run: process the responses,
10903
+ * then walk the rule tree reading this off each expression. A tool that wants
10904
+ * to visualise how a score came about gets the whole tree annotated with its
10905
+ * values, without the components having to re-render to show them. (property only) (readonly)
10906
+ * - `lastVariables`: undefined (property only) (readonly)
10907
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10908
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10909
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10910
+ *
10911
+ * Left undefined by operators whose result type follows their operands (a
10912
+ * `qti-sum` of integers is an integer) and by those that return no number at
10913
+ * all; the type is then read off the value. (property only) (readonly)
10165
10914
  * - `getVariables`: undefined (property only)
10166
10915
  *
10167
10916
  * ## Methods
@@ -10181,6 +10930,20 @@ export type CustomElements = {
10181
10930
  *
10182
10931
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10183
10932
  *
10933
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10934
+ *
10935
+ * This is the supported way to inspect a scoring run: process the responses,
10936
+ * then walk the rule tree reading this off each expression. A tool that wants
10937
+ * to visualise how a score came about gets the whole tree annotated with its
10938
+ * values, without the components having to re-render to show them. (property only) (readonly)
10939
+ * - `lastVariables`: undefined (property only) (readonly)
10940
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10941
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10942
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10943
+ *
10944
+ * Left undefined by operators whose result type follows their operands (a
10945
+ * `qti-sum` of integers is an integer) and by those that return no number at
10946
+ * all; the type is then read off the value. (property only) (readonly)
10184
10947
  * - `getVariables`: undefined (property only)
10185
10948
  *
10186
10949
  * ## Methods
@@ -10200,6 +10963,49 @@ export type CustomElements = {
10200
10963
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10201
10964
  *
10202
10965
  * - `name`: undefined
10966
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10967
+ * one regardless of its operands — `qti-divide` is a float even dividing two
10968
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
10969
+ *
10970
+ * Left undefined by operators whose result type follows their operands (a
10971
+ * `qti-sum` of integers is an integer) and by those that return no number at
10972
+ * all; the type is then read off the value. (property only) (readonly)
10973
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10974
+ *
10975
+ * This is the supported way to inspect a scoring run: process the responses,
10976
+ * then walk the rule tree reading this off each expression. A tool that wants
10977
+ * to visualise how a score came about gets the whole tree annotated with its
10978
+ * values, without the components having to re-render to show them. (property only) (readonly)
10979
+ * - `lastVariables`: undefined (property only) (readonly)
10980
+ * - `getVariables`: undefined (property only)
10981
+ *
10982
+ * ## Methods
10983
+ *
10984
+ * Methods that can be called to access component functionality.
10985
+ *
10986
+ * - `calculate() => Readonly<T>`: undefined
10987
+ */
10988
+ "qti-math-constant": Partial<
10989
+ QtiMathConstantProps & BaseProps<QtiMathConstant> & BaseEvents
10990
+ >;
10991
+
10992
+ /**
10993
+ *
10994
+ *
10995
+ * ## Attributes & Properties
10996
+ *
10997
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
10998
+ *
10999
+ * - `name`: undefined
11000
+ * - `resultBaseType`: Float for every function except the three that produce a whole number:
11001
+ * `floor`, `ceil` and `signum`. (property only) (readonly)
11002
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11003
+ *
11004
+ * This is the supported way to inspect a scoring run: process the responses,
11005
+ * then walk the rule tree reading this off each expression. A tool that wants
11006
+ * to visualise how a score came about gets the whole tree annotated with its
11007
+ * values, without the components having to re-render to show them. (property only) (readonly)
11008
+ * - `lastVariables`: undefined (property only) (readonly)
10203
11009
  * - `getVariables`: undefined (property only)
10204
11010
  *
10205
11011
  * ## Methods
@@ -10219,6 +11025,20 @@ export type CustomElements = {
10219
11025
  *
10220
11026
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10221
11027
  *
11028
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11029
+ *
11030
+ * This is the supported way to inspect a scoring run: process the responses,
11031
+ * then walk the rule tree reading this off each expression. A tool that wants
11032
+ * to visualise how a score came about gets the whole tree annotated with its
11033
+ * values, without the components having to re-render to show them. (property only) (readonly)
11034
+ * - `lastVariables`: undefined (property only) (readonly)
11035
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11036
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11037
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11038
+ *
11039
+ * Left undefined by operators whose result type follows their operands (a
11040
+ * `qti-sum` of integers is an integer) and by those that return no number at
11041
+ * all; the type is then read off the value. (property only) (readonly)
10222
11042
  * - `getVariables`: undefined (property only)
10223
11043
  *
10224
11044
  * ## Methods
@@ -10236,6 +11056,20 @@ export type CustomElements = {
10236
11056
  *
10237
11057
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10238
11058
  *
11059
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11060
+ *
11061
+ * This is the supported way to inspect a scoring run: process the responses,
11062
+ * then walk the rule tree reading this off each expression. A tool that wants
11063
+ * to visualise how a score came about gets the whole tree annotated with its
11064
+ * values, without the components having to re-render to show them. (property only) (readonly)
11065
+ * - `lastVariables`: undefined (property only) (readonly)
11066
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11067
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11068
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11069
+ *
11070
+ * Left undefined by operators whose result type follows their operands (a
11071
+ * `qti-sum` of integers is an integer) and by those that return no number at
11072
+ * all; the type is then read off the value. (property only) (readonly)
10239
11073
  * - `getVariables`: undefined (property only)
10240
11074
  *
10241
11075
  * ## Methods
@@ -10253,6 +11087,20 @@ export type CustomElements = {
10253
11087
  *
10254
11088
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10255
11089
  *
11090
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11091
+ *
11092
+ * This is the supported way to inspect a scoring run: process the responses,
11093
+ * then walk the rule tree reading this off each expression. A tool that wants
11094
+ * to visualise how a score came about gets the whole tree annotated with its
11095
+ * values, without the components having to re-render to show them. (property only) (readonly)
11096
+ * - `lastVariables`: undefined (property only) (readonly)
11097
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11098
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11099
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11100
+ *
11101
+ * Left undefined by operators whose result type follows their operands (a
11102
+ * `qti-sum` of integers is an integer) and by those that return no number at
11103
+ * all; the type is then read off the value. (property only) (readonly)
10256
11104
  * - `getVariables`: undefined (property only)
10257
11105
  *
10258
11106
  * ## Methods
@@ -10270,6 +11118,20 @@ export type CustomElements = {
10270
11118
  *
10271
11119
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10272
11120
  *
11121
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11122
+ *
11123
+ * This is the supported way to inspect a scoring run: process the responses,
11124
+ * then walk the rule tree reading this off each expression. A tool that wants
11125
+ * to visualise how a score came about gets the whole tree annotated with its
11126
+ * values, without the components having to re-render to show them. (property only) (readonly)
11127
+ * - `lastVariables`: undefined (property only) (readonly)
11128
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11129
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11130
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11131
+ *
11132
+ * Left undefined by operators whose result type follows their operands (a
11133
+ * `qti-sum` of integers is an integer) and by those that return no number at
11134
+ * all; the type is then read off the value. (property only) (readonly)
10273
11135
  * - `getVariables`: undefined (property only)
10274
11136
  *
10275
11137
  * ## Methods
@@ -10289,6 +11151,20 @@ export type CustomElements = {
10289
11151
  *
10290
11152
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10291
11153
  *
11154
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11155
+ *
11156
+ * This is the supported way to inspect a scoring run: process the responses,
11157
+ * then walk the rule tree reading this off each expression. A tool that wants
11158
+ * to visualise how a score came about gets the whole tree annotated with its
11159
+ * values, without the components having to re-render to show them. (property only) (readonly)
11160
+ * - `lastVariables`: undefined (property only) (readonly)
11161
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11162
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11163
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11164
+ *
11165
+ * Left undefined by operators whose result type follows their operands (a
11166
+ * `qti-sum` of integers is an integer) and by those that return no number at
11167
+ * all; the type is then read off the value. (property only) (readonly)
10292
11168
  * - `getVariables`: undefined (property only)
10293
11169
  *
10294
11170
  * ## Methods
@@ -10306,6 +11182,20 @@ export type CustomElements = {
10306
11182
  *
10307
11183
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10308
11184
  *
11185
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11186
+ *
11187
+ * This is the supported way to inspect a scoring run: process the responses,
11188
+ * then walk the rule tree reading this off each expression. A tool that wants
11189
+ * to visualise how a score came about gets the whole tree annotated with its
11190
+ * values, without the components having to re-render to show them. (property only) (readonly)
11191
+ * - `lastVariables`: undefined (property only) (readonly)
11192
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11193
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11194
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11195
+ *
11196
+ * Left undefined by operators whose result type follows their operands (a
11197
+ * `qti-sum` of integers is an integer) and by those that return no number at
11198
+ * all; the type is then read off the value. (property only) (readonly)
10309
11199
  * - `getVariables`: undefined (property only)
10310
11200
  *
10311
11201
  * ## Methods
@@ -10323,6 +11213,20 @@ export type CustomElements = {
10323
11213
  *
10324
11214
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10325
11215
  *
11216
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11217
+ *
11218
+ * This is the supported way to inspect a scoring run: process the responses,
11219
+ * then walk the rule tree reading this off each expression. A tool that wants
11220
+ * to visualise how a score came about gets the whole tree annotated with its
11221
+ * values, without the components having to re-render to show them. (property only) (readonly)
11222
+ * - `lastVariables`: undefined (property only) (readonly)
11223
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11224
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11225
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11226
+ *
11227
+ * Left undefined by operators whose result type follows their operands (a
11228
+ * `qti-sum` of integers is an integer) and by those that return no number at
11229
+ * all; the type is then read off the value. (property only) (readonly)
10326
11230
  * - `getVariables`: undefined (property only)
10327
11231
  *
10328
11232
  * ## Methods
@@ -10340,6 +11244,20 @@ export type CustomElements = {
10340
11244
  *
10341
11245
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10342
11246
  *
11247
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11248
+ *
11249
+ * This is the supported way to inspect a scoring run: process the responses,
11250
+ * then walk the rule tree reading this off each expression. A tool that wants
11251
+ * to visualise how a score came about gets the whole tree annotated with its
11252
+ * values, without the components having to re-render to show them. (property only) (readonly)
11253
+ * - `lastVariables`: undefined (property only) (readonly)
11254
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11255
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11256
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11257
+ *
11258
+ * Left undefined by operators whose result type follows their operands (a
11259
+ * `qti-sum` of integers is an integer) and by those that return no number at
11260
+ * all; the type is then read off the value. (property only) (readonly)
10343
11261
  * - `getVariables`: undefined (property only)
10344
11262
  *
10345
11263
  * ## Methods
@@ -10416,6 +11334,20 @@ export type CustomElements = {
10416
11334
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10417
11335
  *
10418
11336
  * - `pattern`: undefined
11337
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11338
+ *
11339
+ * This is the supported way to inspect a scoring run: process the responses,
11340
+ * then walk the rule tree reading this off each expression. A tool that wants
11341
+ * to visualise how a score came about gets the whole tree annotated with its
11342
+ * values, without the components having to re-render to show them. (property only) (readonly)
11343
+ * - `lastVariables`: undefined (property only) (readonly)
11344
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11345
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11346
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11347
+ *
11348
+ * Left undefined by operators whose result type follows their operands (a
11349
+ * `qti-sum` of integers is an integer) and by those that return no number at
11350
+ * all; the type is then read off the value. (property only) (readonly)
10419
11351
  * - `getVariables`: undefined (property only)
10420
11352
  *
10421
11353
  * ## Methods
@@ -10435,6 +11367,20 @@ export type CustomElements = {
10435
11367
  *
10436
11368
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10437
11369
  *
11370
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11371
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11372
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11373
+ *
11374
+ * Left undefined by operators whose result type follows their operands (a
11375
+ * `qti-sum` of integers is an integer) and by those that return no number at
11376
+ * all; the type is then read off the value. (property only) (readonly)
11377
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11378
+ *
11379
+ * This is the supported way to inspect a scoring run: process the responses,
11380
+ * then walk the rule tree reading this off each expression. A tool that wants
11381
+ * to visualise how a score came about gets the whole tree annotated with its
11382
+ * values, without the components having to re-render to show them. (property only) (readonly)
11383
+ * - `lastVariables`: undefined (property only) (readonly)
10438
11384
  * - `getVariables`: undefined (property only)
10439
11385
  *
10440
11386
  * ## Methods
@@ -10479,6 +11425,20 @@ export type CustomElements = {
10479
11425
  *
10480
11426
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10481
11427
  *
11428
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11429
+ *
11430
+ * This is the supported way to inspect a scoring run: process the responses,
11431
+ * then walk the rule tree reading this off each expression. A tool that wants
11432
+ * to visualise how a score came about gets the whole tree annotated with its
11433
+ * values, without the components having to re-render to show them. (property only) (readonly)
11434
+ * - `lastVariables`: undefined (property only) (readonly)
11435
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11436
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11437
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11438
+ *
11439
+ * Left undefined by operators whose result type follows their operands (a
11440
+ * `qti-sum` of integers is an integer) and by those that return no number at
11441
+ * all; the type is then read off the value. (property only) (readonly)
10482
11442
  * - `getVariables`: undefined (property only)
10483
11443
  *
10484
11444
  * ## Methods
@@ -10499,6 +11459,20 @@ export type CustomElements = {
10499
11459
  * - `min`: undefined
10500
11460
  * - `max`: undefined
10501
11461
  * - `step`: undefined
11462
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11463
+ *
11464
+ * This is the supported way to inspect a scoring run: process the responses,
11465
+ * then walk the rule tree reading this off each expression. A tool that wants
11466
+ * to visualise how a score came about gets the whole tree annotated with its
11467
+ * values, without the components having to re-render to show them. (property only) (readonly)
11468
+ * - `lastVariables`: undefined (property only) (readonly)
11469
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11470
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11471
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11472
+ *
11473
+ * Left undefined by operators whose result type follows their operands (a
11474
+ * `qti-sum` of integers is an integer) and by those that return no number at
11475
+ * all; the type is then read off the value. (property only) (readonly)
10502
11476
  * - `getVariables`: undefined (property only)
10503
11477
  *
10504
11478
  * ## Methods
@@ -10519,6 +11493,20 @@ export type CustomElements = {
10519
11493
  *
10520
11494
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10521
11495
  *
11496
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11497
+ *
11498
+ * This is the supported way to inspect a scoring run: process the responses,
11499
+ * then walk the rule tree reading this off each expression. A tool that wants
11500
+ * to visualise how a score came about gets the whole tree annotated with its
11501
+ * values, without the components having to re-render to show them. (property only) (readonly)
11502
+ * - `lastVariables`: undefined (property only) (readonly)
11503
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11504
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11505
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11506
+ *
11507
+ * Left undefined by operators whose result type follows their operands (a
11508
+ * `qti-sum` of integers is an integer) and by those that return no number at
11509
+ * all; the type is then read off the value. (property only) (readonly)
10522
11510
  * - `getVariables`: undefined (property only)
10523
11511
  *
10524
11512
  * ## Methods
@@ -10537,6 +11525,20 @@ export type CustomElements = {
10537
11525
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10538
11526
  *
10539
11527
  * - `number-repeats`/`numberRepeats`: undefined
11528
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11529
+ *
11530
+ * This is the supported way to inspect a scoring run: process the responses,
11531
+ * then walk the rule tree reading this off each expression. A tool that wants
11532
+ * to visualise how a score came about gets the whole tree annotated with its
11533
+ * values, without the components having to re-render to show them. (property only) (readonly)
11534
+ * - `lastVariables`: undefined (property only) (readonly)
11535
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11536
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11537
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11538
+ *
11539
+ * Left undefined by operators whose result type follows their operands (a
11540
+ * `qti-sum` of integers is an integer) and by those that return no number at
11541
+ * all; the type is then read off the value. (property only) (readonly)
10540
11542
  * - `getVariables`: undefined (property only)
10541
11543
  *
10542
11544
  * ## Methods
@@ -10605,6 +11607,21 @@ export type CustomElements = {
10605
11607
  QtiResponseElseProps & BaseProps<QtiResponseElse> & BaseEvents
10606
11608
  >;
10607
11609
 
11610
+ /**
11611
+ *
11612
+ *
11613
+ * ## Methods
11614
+ *
11615
+ * Methods that can be called to access component functionality.
11616
+ *
11617
+ * - `process() => void`: undefined
11618
+ */
11619
+ "qti-response-processing-fragment": Partial<
11620
+ QtiResponseProcessingFragmentProps &
11621
+ BaseProps<QtiResponseProcessingFragment> &
11622
+ BaseEvents
11623
+ >;
11624
+
10608
11625
  /**
10609
11626
  *
10610
11627
  *
@@ -10614,6 +11631,20 @@ export type CustomElements = {
10614
11631
  *
10615
11632
  * - `rounding-mode`/`roundingMode`: undefined
10616
11633
  * - `figures`: undefined
11634
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11635
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11636
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11637
+ *
11638
+ * Left undefined by operators whose result type follows their operands (a
11639
+ * `qti-sum` of integers is an integer) and by those that return no number at
11640
+ * all; the type is then read off the value. (property only) (readonly)
11641
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11642
+ *
11643
+ * This is the supported way to inspect a scoring run: process the responses,
11644
+ * then walk the rule tree reading this off each expression. A tool that wants
11645
+ * to visualise how a score came about gets the whole tree annotated with its
11646
+ * values, without the components having to re-render to show them. (property only) (readonly)
11647
+ * - `lastVariables`: undefined (property only) (readonly)
10617
11648
  * - `getVariables`: undefined (property only)
10618
11649
  *
10619
11650
  * ## Methods
@@ -10631,6 +11662,20 @@ export type CustomElements = {
10631
11662
  *
10632
11663
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10633
11664
  *
11665
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11666
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11667
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11668
+ *
11669
+ * Left undefined by operators whose result type follows their operands (a
11670
+ * `qti-sum` of integers is an integer) and by those that return no number at
11671
+ * all; the type is then read off the value. (property only) (readonly)
11672
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11673
+ *
11674
+ * This is the supported way to inspect a scoring run: process the responses,
11675
+ * then walk the rule tree reading this off each expression. A tool that wants
11676
+ * to visualise how a score came about gets the whole tree annotated with its
11677
+ * values, without the components having to re-render to show them. (property only) (readonly)
11678
+ * - `lastVariables`: undefined (property only) (readonly)
10634
11679
  * - `getVariables`: undefined (property only)
10635
11680
  *
10636
11681
  * ## Methods
@@ -10706,6 +11751,20 @@ export type CustomElements = {
10706
11751
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10707
11752
  *
10708
11753
  * - `name`: undefined
11754
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11755
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11756
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11757
+ *
11758
+ * Left undefined by operators whose result type follows their operands (a
11759
+ * `qti-sum` of integers is an integer) and by those that return no number at
11760
+ * all; the type is then read off the value. (property only) (readonly)
11761
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11762
+ *
11763
+ * This is the supported way to inspect a scoring run: process the responses,
11764
+ * then walk the rule tree reading this off each expression. A tool that wants
11765
+ * to visualise how a score came about gets the whole tree annotated with its
11766
+ * values, without the components having to re-render to show them. (property only) (readonly)
11767
+ * - `lastVariables`: undefined (property only) (readonly)
10709
11768
  * - `getVariables`: undefined (property only)
10710
11769
  *
10711
11770
  * ## Methods
@@ -10726,6 +11785,20 @@ export type CustomElements = {
10726
11785
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10727
11786
  *
10728
11787
  * - `case-sensitive`/`caseSensitive`: undefined
11788
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11789
+ *
11790
+ * This is the supported way to inspect a scoring run: process the responses,
11791
+ * then walk the rule tree reading this off each expression. A tool that wants
11792
+ * to visualise how a score came about gets the whole tree annotated with its
11793
+ * values, without the components having to re-render to show them. (property only) (readonly)
11794
+ * - `lastVariables`: undefined (property only) (readonly)
11795
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11796
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11797
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11798
+ *
11799
+ * Left undefined by operators whose result type follows their operands (a
11800
+ * `qti-sum` of integers is an integer) and by those that return no number at
11801
+ * all; the type is then read off the value. (property only) (readonly)
10729
11802
  * - `getVariables`: undefined (property only)
10730
11803
  *
10731
11804
  * ## Methods
@@ -10746,6 +11819,20 @@ export type CustomElements = {
10746
11819
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10747
11820
  *
10748
11821
  * - `case-sensitive`/`caseSensitive`: undefined
11822
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11823
+ *
11824
+ * This is the supported way to inspect a scoring run: process the responses,
11825
+ * then walk the rule tree reading this off each expression. A tool that wants
11826
+ * to visualise how a score came about gets the whole tree annotated with its
11827
+ * values, without the components having to re-render to show them. (property only) (readonly)
11828
+ * - `lastVariables`: undefined (property only) (readonly)
11829
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11830
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11831
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11832
+ *
11833
+ * Left undefined by operators whose result type follows their operands (a
11834
+ * `qti-sum` of integers is an integer) and by those that return no number at
11835
+ * all; the type is then read off the value. (property only) (readonly)
10749
11836
  * - `getVariables`: undefined (property only)
10750
11837
  *
10751
11838
  * ## Methods
@@ -10779,6 +11866,20 @@ export type CustomElements = {
10779
11866
  *
10780
11867
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10781
11868
  *
11869
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11870
+ *
11871
+ * This is the supported way to inspect a scoring run: process the responses,
11872
+ * then walk the rule tree reading this off each expression. A tool that wants
11873
+ * to visualise how a score came about gets the whole tree annotated with its
11874
+ * values, without the components having to re-render to show them. (property only) (readonly)
11875
+ * - `lastVariables`: undefined (property only) (readonly)
11876
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11877
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11878
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11879
+ *
11880
+ * Left undefined by operators whose result type follows their operands (a
11881
+ * `qti-sum` of integers is an integer) and by those that return no number at
11882
+ * all; the type is then read off the value. (property only) (readonly)
10782
11883
  * - `getVariables`: undefined (property only)
10783
11884
  *
10784
11885
  * ## Methods
@@ -10796,6 +11897,20 @@ export type CustomElements = {
10796
11897
  *
10797
11898
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10798
11899
  *
11900
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11901
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11902
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11903
+ *
11904
+ * Left undefined by operators whose result type follows their operands (a
11905
+ * `qti-sum` of integers is an integer) and by those that return no number at
11906
+ * all; the type is then read off the value. (property only) (readonly)
11907
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11908
+ *
11909
+ * This is the supported way to inspect a scoring run: process the responses,
11910
+ * then walk the rule tree reading this off each expression. A tool that wants
11911
+ * to visualise how a score came about gets the whole tree annotated with its
11912
+ * values, without the components having to re-render to show them. (property only) (readonly)
11913
+ * - `lastVariables`: undefined (property only) (readonly)
10799
11914
  * - `getVariables`: undefined (property only)
10800
11915
  *
10801
11916
  * ## Methods
@@ -10815,6 +11930,20 @@ export type CustomElements = {
10815
11930
  *
10816
11931
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10817
11932
  *
11933
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
11934
+ *
11935
+ * This is the supported way to inspect a scoring run: process the responses,
11936
+ * then walk the rule tree reading this off each expression. A tool that wants
11937
+ * to visualise how a score came about gets the whole tree annotated with its
11938
+ * values, without the components having to re-render to show them. (property only) (readonly)
11939
+ * - `lastVariables`: undefined (property only) (readonly)
11940
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
11941
+ * one regardless of its operands — `qti-divide` is a float even dividing two
11942
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
11943
+ *
11944
+ * Left undefined by operators whose result type follows their operands (a
11945
+ * `qti-sum` of integers is an integer) and by those that return no number at
11946
+ * all; the type is then read off the value. (property only) (readonly)
10818
11947
  * - `getVariables`: undefined (property only)
10819
11948
  *
10820
11949
  * ## Methods
@@ -10836,7 +11965,7 @@ export type CustomElements = {
10836
11965
  *
10837
11966
  * - `identifier`: undefined
10838
11967
  * - `adaptive`: undefined
10839
- * - `timeDependent`: undefined
11968
+ * - `time-dependent`/`timeDependent`: undefined
10840
11969
  * - `title`: undefined
10841
11970
  * - `disabled`: undefined
10842
11971
  * - `readonly`: undefined
@@ -10886,6 +12015,19 @@ export type CustomElements = {
10886
12015
  * - `configContext`: undefined (property only)
10887
12016
  * - `qtiContext`: Provided so that descendants (e.g. `<item-container>`) can read the QTI runtime
10888
12017
  * context for standalone item delivery, including the optional shuffle `seed`. (property only)
12018
+ *
12019
+ * ## Methods
12020
+ *
12021
+ * Methods that can be called to access component functionality.
12022
+ *
12023
+ * - `updateAssessmentItemView(assessmentItem: QtiAssessmentItem, view: View) => void`: Scorer view IS the answer key, the same pairing `QtiTestCorrection` makes at test level.
12024
+ * A marker switching to `scorer` to read the rubric would otherwise have to ask for the key
12025
+ * separately, and the two would drift apart.
12026
+ *
12027
+ * `scorer` alone because that is what the test side does — not because no other audience has
12028
+ * a use for a key. An author reviewing their own item plainly wants one, and arguably a tutor
12029
+ * does too. If that is ever granted it has to be granted in both places at once, or the same
12030
+ * item answers differently depending on whether it is delivered inside a test.
10889
12031
  */
10890
12032
  "qti-item": Partial<
10891
12033
  QtiItemCorrectionProps & BaseProps<QtiItemCorrection> & BaseEvents
@@ -11128,7 +12270,7 @@ export type CustomElementsSolidJs = {
11128
12270
  *
11129
12271
  * - `identifier`: undefined
11130
12272
  * - `adaptive`: undefined
11131
- * - `timeDependent`: undefined
12273
+ * - `time-dependent`/`timeDependent`: undefined
11132
12274
  * - `title`: undefined
11133
12275
  * - `disabled`: undefined
11134
12276
  * - `readonly`: undefined
@@ -11228,14 +12370,33 @@ export type CustomElementsSolidJs = {
11228
12370
 
11229
12371
  /**
11230
12372
  * https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
12373
+ *
12374
+ * A custom operator is outside the QTI vocabulary, so what it does is supplied
12375
+ * by the delivery engine rather than by the item. Two ways to supply it:
12376
+ *
12377
+ * `definition` names an operator the host registered with
12378
+ * `registerCustomOperator`, or one of the built-ins (`Trim`, `ToAscii`,
12379
+ * `ParseCommaDecimal` under the `depcp:`, `questify:` and `qade:` prefixes).
12380
+ * The operator is handed the calculated values of the child expressions:
12381
+ *
12382
+ * ```xml
12383
+ * <qti-custom-operator definition="depcp:Trim">
12384
+ * <qti-variable identifier="RESPONSE"/>
12385
+ * </qti-custom-operator>
12386
+ * ```
12387
+ *
12388
+ * `class="js.org"` instead runs inline JavaScript out of a CDATA section:
12389
+ *
12390
+ * ```xml
11231
12391
  * <qti-custom-operator class="js.org">
11232
- * <qti-base-value base-type="string"><![CDATA[
11233
- * console.log(context.variables);
11234
- * return 'B'
11235
- * document.querySelector('qti-end-attempt-interaction').disabled = true;
11236
- * ]]></qti-base-value>
11237
- * </qti-custom-operator>
11238
- * </qti-set-outcome-value>
12392
+ * <qti-base-value base-type="string"><![CDATA[
12393
+ * console.log(context.variables);
12394
+ * return 'B'
12395
+ * ]]></qti-base-value>
12396
+ * </qti-custom-operator>
12397
+ * ```
12398
+ *
12399
+ * `definition` is checked first; the two do not interact.
11239
12400
  *
11240
12401
  * ## Events
11241
12402
  *
@@ -11388,7 +12549,14 @@ export type CustomElementsSolidJs = {
11388
12549
  * - `identifier`: undefined
11389
12550
  * - `cardinality`: undefined
11390
12551
  * - `itemContext`: undefined (property only)
11391
- * - `interpolationTable`: undefined (property only) (readonly)
12552
+ * - `interpolationTable`: The entries of a `qti-interpolation-table`, in document order.
12553
+ *
12554
+ * Order is load-bearing: each entry's `source-value` is the lower bound of a
12555
+ * range, and the lookup takes the first entry whose bound the source value
12556
+ * clears. A Map keyed by source value cannot express that. (property only) (readonly)
12557
+ * - `matchTable`: A qti-match-table maps a source value onto a target exactly, with no
12558
+ * boundaries and no interpolation. Targets keep their authored spelling
12559
+ * because a match table is not restricted to numeric outcomes. (property only) (readonly)
11392
12560
  *
11393
12561
  * ## Events
11394
12562
  *
@@ -11547,6 +12715,15 @@ export type CustomElementsSolidJs = {
11547
12715
  * </qti-item>
11548
12716
  * ```
11549
12717
  *
12718
+ * `view` selects the audience the item is presented to, which is what reveals `view`-tagged
12719
+ * content such as a scorer's `qti-rubric-block` — see `ItemViewMixin`.
12720
+ *
12721
+ * ```html
12722
+ * <qti-item view="scorer">
12723
+ * <item-container item-url="./path/to/item.xml"></item-container>
12724
+ * </qti-item>
12725
+ * ```
12726
+ *
11550
12727
  * ## Attributes & Properties
11551
12728
  *
11552
12729
  * Component attributes and properties that can be applied to the element or by using JavaScript.
@@ -11639,11 +12816,7 @@ export type CustomElementsSolidJs = {
11639
12816
  *
11640
12817
  * - `tabindex`: undefined
11641
12818
  * - `internals`: `qti-gap-img` is a draggable chip, so it needs ElementInternals to carry the drag states
11642
- * (`dragging`, `placeholder`). It works without a shadow root.
11643
- *
11644
- * NOTE: this element never calls `super.connectedCallback()`, so Lit never enables updating
11645
- * and it has no shadow root — which makes `qti-gap-img.styles.ts` dead code. Fixing that means
11646
- * adding a `<slot>` to a `render()` first, otherwise the authored `<img>` child disappears. (property only)
12819
+ * (`dragging`, `placeholder`). (property only)
11647
12820
  */
11648
12821
  "qti-gap-img": Partial<
11649
12822
  QtiGapImgProps & QtiGapImgSolidJsProps & BaseProps<QtiGapImg> & BaseEvents
@@ -12502,8 +13675,8 @@ export type CustomElementsSolidJs = {
12502
13675
  *
12503
13676
  * Component attributes and properties that can be applied to the element or by using JavaScript.
12504
13677
  *
12505
- * - `min-choices`/`minChoices`: undefined
12506
13678
  * - `max-choices`/`maxChoices`: undefined
13679
+ * - `min-choices`/`minChoices`: undefined
12507
13680
  * - `response`: undefined
12508
13681
  * - `response-identifier`/`responseIdentifier`: undefined
12509
13682
  * - `disabled`: undefined
@@ -13684,7 +14857,12 @@ export type CustomElementsSolidJs = {
13684
14857
  * - `required`: undefined
13685
14858
  * - `fixed`: undefined
13686
14859
  * - `href`: undefined
13687
- * - `weigths`: undefined (property only)
14860
+ * - `weights`: The `<qti-weight>` children of this ref, keyed by identifier — what
14861
+ * `qti-test-variables`' `weight-identifier` resolves against.
14862
+ *
14863
+ * Read on access rather than cached: the test document is rendered into this
14864
+ * element's light DOM, so the weights are not in place at construction time,
14865
+ * and outcome processing runs long after they are. (property only) (readonly)
13688
14866
  * - `xmlDoc`: undefined (property only)
13689
14867
  * - `assessmentItem`: undefined (property only) (readonly)
13690
14868
  * - `myTemplate`: undefined (property only)
@@ -13784,6 +14962,42 @@ export type CustomElementsSolidJs = {
13784
14962
  BaseEvents
13785
14963
  >;
13786
14964
 
14965
+ /**
14966
+ *
14967
+ *
14968
+ * ## Attributes & Properties
14969
+ *
14970
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
14971
+ *
14972
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
14973
+ *
14974
+ * This is the supported way to inspect a scoring run: process the responses,
14975
+ * then walk the rule tree reading this off each expression. A tool that wants
14976
+ * to visualise how a score came about gets the whole tree annotated with its
14977
+ * values, without the components having to re-render to show them. (property only) (readonly)
14978
+ * - `lastVariables`: undefined (property only) (readonly)
14979
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
14980
+ * one regardless of its operands — `qti-divide` is a float even dividing two
14981
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
14982
+ *
14983
+ * Left undefined by operators whose result type follows their operands (a
14984
+ * `qti-sum` of integers is an integer) and by those that return no number at
14985
+ * all; the type is then read off the value. (property only) (readonly)
14986
+ * - `getVariables`: undefined (property only)
14987
+ *
14988
+ * ## Methods
14989
+ *
14990
+ * Methods that can be called to access component functionality.
14991
+ *
14992
+ * - `calculate() => number`: undefined
14993
+ */
14994
+ "qti-number-selected": Partial<
14995
+ QtiNumberSelectedProps &
14996
+ QtiNumberSelectedSolidJsProps &
14997
+ BaseProps<QtiNumberSelected> &
14998
+ BaseEvents
14999
+ >;
15000
+
13787
15001
  /**
13788
15002
  *
13789
15003
  *
@@ -13866,6 +15080,20 @@ export type CustomElementsSolidJs = {
13866
15080
  *
13867
15081
  * Component attributes and properties that can be applied to the element or by using JavaScript.
13868
15082
  *
15083
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
15084
+ *
15085
+ * This is the supported way to inspect a scoring run: process the responses,
15086
+ * then walk the rule tree reading this off each expression. A tool that wants
15087
+ * to visualise how a score came about gets the whole tree annotated with its
15088
+ * values, without the components having to re-render to show them. (property only) (readonly)
15089
+ * - `lastVariables`: undefined (property only) (readonly)
15090
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
15091
+ * one regardless of its operands — `qti-divide` is a float even dividing two
15092
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
15093
+ *
15094
+ * Left undefined by operators whose result type follows their operands (a
15095
+ * `qti-sum` of integers is an integer) and by those that return no number at
15096
+ * all; the type is then read off the value. (property only) (readonly)
13869
15097
  * - `getVariables`: undefined (property only)
13870
15098
  *
13871
15099
  * ## Methods
@@ -14069,7 +15297,9 @@ export type CustomElementsSolidJs = {
14069
15297
  *
14070
15298
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14071
15299
  *
14072
- * - `language`: undefined
15300
+ * - `language`: Fallback language when neither the item content nor the document declares one.
15301
+ * - `item-ref-id`/`itemRefId`: Identifier of the `qti-assessment-item-ref` this player reads. Leave unset to follow the
15302
+ * navigation cursor (`navItemRefId`) instead.
14073
15303
  * - `_ttsContext`: undefined (property only)
14074
15304
  *
14075
15305
  * ## CSS States
@@ -14077,6 +15307,7 @@ export type CustomElementsSolidJs = {
14077
15307
  * These can be used to apply styling when a component is in a given state.
14078
15308
  *
14079
15309
  * - `idle`: No speech active
15310
+ * - `picking`: Pick mode: all reading elements highlighted, waiting for a click
14080
15311
  * - `playing`: Speech is playing
14081
15312
  * - `paused`: Speech is paused
14082
15313
  */
@@ -14089,7 +15320,17 @@ export type CustomElementsSolidJs = {
14089
15320
 
14090
15321
  /**
14091
15322
  * Play/pause/resume toggle button — always enabled, cycles through states.
14092
- * Use named slots `play` and `pause` to customise the icons/labels independently.
15323
+ * Use named slots `play` and `pause` to customise the icons/labels independently; `label` and
15324
+ * `pause-label` name the button in each state (set them when the slotted content is an icon).
15325
+ *
15326
+ * ## Attributes & Properties
15327
+ *
15328
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15329
+ *
15330
+ * - `pause-label`/`pauseLabel`: Accessible name of the button while speech is playing; see `label`.
15331
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
15332
+ * slotted content names the button by its text; set it when you slot an icon of your own,
15333
+ * which has no text to be named by.
14093
15334
  *
14094
15335
  * ## CSS Parts
14095
15336
  *
@@ -14113,6 +15354,14 @@ export type CustomElementsSolidJs = {
14113
15354
  /**
14114
15355
  * Pause button — enabled only when playing.
14115
15356
  *
15357
+ * ## Attributes & Properties
15358
+ *
15359
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15360
+ *
15361
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
15362
+ * slotted content names the button by its text; set it when you slot an icon of your own,
15363
+ * which has no text to be named by.
15364
+ *
14116
15365
  * ## CSS Parts
14117
15366
  *
14118
15367
  * Custom selectors for styling elements within the component.
@@ -14135,6 +15384,14 @@ export type CustomElementsSolidJs = {
14135
15384
  /**
14136
15385
  * Resume button — enabled only when paused.
14137
15386
  *
15387
+ * ## Attributes & Properties
15388
+ *
15389
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15390
+ *
15391
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
15392
+ * slotted content names the button by its text; set it when you slot an icon of your own,
15393
+ * which has no text to be named by.
15394
+ *
14138
15395
  * ## CSS Parts
14139
15396
  *
14140
15397
  * Custom selectors for styling elements within the component.
@@ -14155,7 +15412,15 @@ export type CustomElementsSolidJs = {
14155
15412
  >;
14156
15413
 
14157
15414
  /**
14158
- * Stop button — enabled when playing or paused.
15415
+ * Stop button — enabled when playing, paused, or in pick mode (where it leaves pick mode).
15416
+ *
15417
+ * ## Attributes & Properties
15418
+ *
15419
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15420
+ *
15421
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
15422
+ * slotted content names the button by its text; set it when you slot an icon of your own,
15423
+ * which has no text to be named by.
14159
15424
  *
14160
15425
  * ## CSS Parts
14161
15426
  *
@@ -14178,7 +15443,17 @@ export type CustomElementsSolidJs = {
14178
15443
 
14179
15444
  /**
14180
15445
  * Prev-element button — moves cursor to the previous reading element and pauses.
14181
- * Disabled at the first element or when no elements are loaded.
15446
+ * Disabled at the first element. Reading elements are collected lazily, so an element count
15447
+ * of 0 means "not looked yet" rather than "nothing to read": the button stays enabled and the
15448
+ * first click collects them.
15449
+ *
15450
+ * ## Attributes & Properties
15451
+ *
15452
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15453
+ *
15454
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
15455
+ * slotted content names the button by its text; set it when you slot an icon of your own,
15456
+ * which has no text to be named by.
14182
15457
  *
14183
15458
  * ## CSS Parts
14184
15459
  *
@@ -14201,7 +15476,16 @@ export type CustomElementsSolidJs = {
14201
15476
 
14202
15477
  /**
14203
15478
  * Next-element button — moves cursor to the next reading element and pauses.
14204
- * Disabled at the last element or when no elements are loaded.
15479
+ * Disabled at the last element; enabled while the elements have not been collected yet
15480
+ * (see `TestTtsPrev`).
15481
+ *
15482
+ * ## Attributes & Properties
15483
+ *
15484
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15485
+ *
15486
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
15487
+ * slotted content names the button by its text; set it when you slot an icon of your own,
15488
+ * which has no text to be named by.
14205
15489
  *
14206
15490
  * ## CSS Parts
14207
15491
  *
@@ -14222,6 +15506,38 @@ export type CustomElementsSolidJs = {
14222
15506
  BaseEvents
14223
15507
  >;
14224
15508
 
15509
+ /**
15510
+ * Pick button — toggles pick mode on the controller: every reading element is highlighted and
15511
+ * a click on one of them starts reading from there. Reflects the mode as `:state(picking)`.
15512
+ *
15513
+ * ## Attributes & Properties
15514
+ *
15515
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15516
+ *
15517
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
15518
+ * slotted content names the button by its text; set it when you slot an icon of your own,
15519
+ * which has no text to be named by.
15520
+ *
15521
+ * ## CSS Parts
15522
+ *
15523
+ * Custom selectors for styling elements within the component.
15524
+ *
15525
+ * - `button`: undefined
15526
+ *
15527
+ * ## CSS States
15528
+ *
15529
+ * These can be used to apply styling when a component is in a given state.
15530
+ *
15531
+ * - `idle`: / playing / paused
15532
+ * - `picking`: undefined
15533
+ */
15534
+ "test-tts-pick": Partial<
15535
+ TestTtsPickProps &
15536
+ TestTtsPickSolidJsProps &
15537
+ BaseProps<TestTtsPick> &
15538
+ BaseEvents
15539
+ >;
15540
+
14225
15541
  /**
14226
15542
  * Represents a custom element for navigating to the next test item.
14227
15543
  *
@@ -14505,6 +15821,20 @@ export type CustomElementsSolidJs = {
14505
15821
  *
14506
15822
  * - `min`: undefined
14507
15823
  * - `max`: undefined
15824
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
15825
+ *
15826
+ * This is the supported way to inspect a scoring run: process the responses,
15827
+ * then walk the rule tree reading this off each expression. A tool that wants
15828
+ * to visualise how a score came about gets the whole tree annotated with its
15829
+ * values, without the components having to re-render to show them. (property only) (readonly)
15830
+ * - `lastVariables`: undefined (property only) (readonly)
15831
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
15832
+ * one regardless of its operands — `qti-divide` is a float even dividing two
15833
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
15834
+ *
15835
+ * Left undefined by operators whose result type follows their operands (a
15836
+ * `qti-sum` of integers is an integer) and by those that return no number at
15837
+ * all; the type is then read off the value. (property only) (readonly)
14508
15838
  * - `getVariables`: undefined (property only)
14509
15839
  *
14510
15840
  * ## Methods
@@ -14525,6 +15855,20 @@ export type CustomElementsSolidJs = {
14525
15855
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14526
15856
  *
14527
15857
  * - `base-type`/`baseType`: undefined
15858
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
15859
+ *
15860
+ * This is the supported way to inspect a scoring run: process the responses,
15861
+ * then walk the rule tree reading this off each expression. A tool that wants
15862
+ * to visualise how a score came about gets the whole tree annotated with its
15863
+ * values, without the components having to re-render to show them. (property only) (readonly)
15864
+ * - `lastVariables`: undefined (property only) (readonly)
15865
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
15866
+ * one regardless of its operands — `qti-divide` is a float even dividing two
15867
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
15868
+ *
15869
+ * Left undefined by operators whose result type follows their operands (a
15870
+ * `qti-sum` of integers is an integer) and by those that return no number at
15871
+ * all; the type is then read off the value. (property only) (readonly)
14528
15872
  * - `getVariables`: undefined (property only)
14529
15873
  *
14530
15874
  * ## Methods
@@ -14547,6 +15891,20 @@ export type CustomElementsSolidJs = {
14547
15891
  *
14548
15892
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14549
15893
  *
15894
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
15895
+ * one regardless of its operands — `qti-divide` is a float even dividing two
15896
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
15897
+ *
15898
+ * Left undefined by operators whose result type follows their operands (a
15899
+ * `qti-sum` of integers is an integer) and by those that return no number at
15900
+ * all; the type is then read off the value. (property only) (readonly)
15901
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
15902
+ *
15903
+ * This is the supported way to inspect a scoring run: process the responses,
15904
+ * then walk the rule tree reading this off each expression. A tool that wants
15905
+ * to visualise how a score came about gets the whole tree annotated with its
15906
+ * values, without the components having to re-render to show them. (property only) (readonly)
15907
+ * - `lastVariables`: undefined (property only) (readonly)
14550
15908
  * - `getVariables`: undefined (property only)
14551
15909
  *
14552
15910
  * ## Methods
@@ -14569,13 +15927,27 @@ export type CustomElementsSolidJs = {
14569
15927
  *
14570
15928
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14571
15929
  *
15930
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
15931
+ *
15932
+ * This is the supported way to inspect a scoring run: process the responses,
15933
+ * then walk the rule tree reading this off each expression. A tool that wants
15934
+ * to visualise how a score came about gets the whole tree annotated with its
15935
+ * values, without the components having to re-render to show them. (property only) (readonly)
15936
+ * - `lastVariables`: undefined (property only) (readonly)
15937
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
15938
+ * one regardless of its operands — `qti-divide` is a float even dividing two
15939
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
15940
+ *
15941
+ * Left undefined by operators whose result type follows their operands (a
15942
+ * `qti-sum` of integers is an integer) and by those that return no number at
15943
+ * all; the type is then read off the value. (property only) (readonly)
14572
15944
  * - `getVariables`: undefined (property only)
14573
15945
  *
14574
15946
  * ## Methods
14575
15947
  *
14576
15948
  * Methods that can be called to access component functionality.
14577
15949
  *
14578
- * - `calculate() => Readonly<boolean>`: undefined
15950
+ * - `calculate() => Readonly<T>`: undefined
14579
15951
  */
14580
15952
  "qti-contains": Partial<
14581
15953
  QtiContainsProps &
@@ -14592,6 +15964,20 @@ export type CustomElementsSolidJs = {
14592
15964
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14593
15965
  *
14594
15966
  * - `interpretation`: undefined (property only) (readonly)
15967
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
15968
+ *
15969
+ * This is the supported way to inspect a scoring run: process the responses,
15970
+ * then walk the rule tree reading this off each expression. A tool that wants
15971
+ * to visualise how a score came about gets the whole tree annotated with its
15972
+ * values, without the components having to re-render to show them. (property only) (readonly)
15973
+ * - `lastVariables`: undefined (property only) (readonly)
15974
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
15975
+ * one regardless of its operands — `qti-divide` is a float even dividing two
15976
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
15977
+ *
15978
+ * Left undefined by operators whose result type follows their operands (a
15979
+ * `qti-sum` of integers is an integer) and by those that return no number at
15980
+ * all; the type is then read off the value. (property only) (readonly)
14595
15981
  * - `getVariables`: undefined (property only)
14596
15982
  *
14597
15983
  * ## Methods
@@ -14615,6 +16001,20 @@ export type CustomElementsSolidJs = {
14615
16001
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14616
16002
  *
14617
16003
  * - `identifier`: undefined
16004
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16005
+ *
16006
+ * This is the supported way to inspect a scoring run: process the responses,
16007
+ * then walk the rule tree reading this off each expression. A tool that wants
16008
+ * to visualise how a score came about gets the whole tree annotated with its
16009
+ * values, without the components having to re-render to show them. (property only) (readonly)
16010
+ * - `lastVariables`: undefined (property only) (readonly)
16011
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16012
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16013
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16014
+ *
16015
+ * Left undefined by operators whose result type follows their operands (a
16016
+ * `qti-sum` of integers is an integer) and by those that return no number at
16017
+ * all; the type is then read off the value. (property only) (readonly)
14618
16018
  * - `getVariables`: undefined (property only)
14619
16019
  *
14620
16020
  * ## Methods
@@ -14637,6 +16037,20 @@ export type CustomElementsSolidJs = {
14637
16037
  *
14638
16038
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14639
16039
  *
16040
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16041
+ *
16042
+ * This is the supported way to inspect a scoring run: process the responses,
16043
+ * then walk the rule tree reading this off each expression. A tool that wants
16044
+ * to visualise how a score came about gets the whole tree annotated with its
16045
+ * values, without the components having to re-render to show them. (property only) (readonly)
16046
+ * - `lastVariables`: undefined (property only) (readonly)
16047
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16048
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16049
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16050
+ *
16051
+ * Left undefined by operators whose result type follows their operands (a
16052
+ * `qti-sum` of integers is an integer) and by those that return no number at
16053
+ * all; the type is then read off the value. (property only) (readonly)
14640
16054
  * - `getVariables`: undefined (property only)
14641
16055
  *
14642
16056
  * ## Methods
@@ -14656,6 +16070,14 @@ export type CustomElementsSolidJs = {
14656
16070
  *
14657
16071
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14658
16072
  *
16073
+ * - `resultBaseType`: Always a float, even dividing two integers exactly. (property only) (readonly)
16074
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16075
+ *
16076
+ * This is the supported way to inspect a scoring run: process the responses,
16077
+ * then walk the rule tree reading this off each expression. A tool that wants
16078
+ * to visualise how a score came about gets the whole tree annotated with its
16079
+ * values, without the components having to re-render to show them. (property only) (readonly)
16080
+ * - `lastVariables`: undefined (property only) (readonly)
14659
16081
  * - `getVariables`: undefined (property only)
14660
16082
  *
14661
16083
  * ## Methods
@@ -14675,6 +16097,20 @@ export type CustomElementsSolidJs = {
14675
16097
  *
14676
16098
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14677
16099
  *
16100
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16101
+ *
16102
+ * This is the supported way to inspect a scoring run: process the responses,
16103
+ * then walk the rule tree reading this off each expression. A tool that wants
16104
+ * to visualise how a score came about gets the whole tree annotated with its
16105
+ * values, without the components having to re-render to show them. (property only) (readonly)
16106
+ * - `lastVariables`: undefined (property only) (readonly)
16107
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16108
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16109
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16110
+ *
16111
+ * Left undefined by operators whose result type follows their operands (a
16112
+ * `qti-sum` of integers is an integer) and by those that return no number at
16113
+ * all; the type is then read off the value. (property only) (readonly)
14678
16114
  * - `getVariables`: undefined (property only)
14679
16115
  *
14680
16116
  * ## Methods
@@ -14697,6 +16133,20 @@ export type CustomElementsSolidJs = {
14697
16133
  *
14698
16134
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14699
16135
  *
16136
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16137
+ *
16138
+ * This is the supported way to inspect a scoring run: process the responses,
16139
+ * then walk the rule tree reading this off each expression. A tool that wants
16140
+ * to visualise how a score came about gets the whole tree annotated with its
16141
+ * values, without the components having to re-render to show them. (property only) (readonly)
16142
+ * - `lastVariables`: undefined (property only) (readonly)
16143
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16144
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16145
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16146
+ *
16147
+ * Left undefined by operators whose result type follows their operands (a
16148
+ * `qti-sum` of integers is an integer) and by those that return no number at
16149
+ * all; the type is then read off the value. (property only) (readonly)
14700
16150
  * - `getVariables`: undefined (property only)
14701
16151
  *
14702
16152
  * ## Methods
@@ -14719,8 +16169,22 @@ export type CustomElementsSolidJs = {
14719
16169
  *
14720
16170
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14721
16171
  *
14722
- * - `roundingMode`: undefined
16172
+ * - `rounding-mode`/`roundingMode`: undefined
14723
16173
  * - `figures`: undefined (property only) (readonly)
16174
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16175
+ *
16176
+ * This is the supported way to inspect a scoring run: process the responses,
16177
+ * then walk the rule tree reading this off each expression. A tool that wants
16178
+ * to visualise how a score came about gets the whole tree annotated with its
16179
+ * values, without the components having to re-render to show them. (property only) (readonly)
16180
+ * - `lastVariables`: undefined (property only) (readonly)
16181
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16182
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16183
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16184
+ *
16185
+ * Left undefined by operators whose result type follows their operands (a
16186
+ * `qti-sum` of integers is an integer) and by those that return no number at
16187
+ * all; the type is then read off the value. (property only) (readonly)
14724
16188
  * - `getVariables`: undefined (property only)
14725
16189
  *
14726
16190
  * ## Methods
@@ -14743,7 +16207,26 @@ export type CustomElementsSolidJs = {
14743
16207
  *
14744
16208
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14745
16209
  *
14746
- * - `toleranceMode`: undefined
16210
+ * - `tolerance-mode`/`toleranceMode`: undefined
16211
+ * - `tolerance`: One or two numbers: the lower and upper tolerance. One means both.
16212
+ * - `includeLowerBound`: Read off the attribute rather than declared as a Lit boolean property: QTI
16213
+ * writes `include-lower-bound="false"`, and Lit's boolean converter takes the
16214
+ * mere presence of an attribute as true. Both default to true, per the spec. (property only) (readonly)
16215
+ * - `includeUpperBound`: undefined (property only) (readonly)
16216
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16217
+ *
16218
+ * This is the supported way to inspect a scoring run: process the responses,
16219
+ * then walk the rule tree reading this off each expression. A tool that wants
16220
+ * to visualise how a score came about gets the whole tree annotated with its
16221
+ * values, without the components having to re-render to show them. (property only) (readonly)
16222
+ * - `lastVariables`: undefined (property only) (readonly)
16223
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16224
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16225
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16226
+ *
16227
+ * Left undefined by operators whose result type follows their operands (a
16228
+ * `qti-sum` of integers is an integer) and by those that return no number at
16229
+ * all; the type is then read off the value. (property only) (readonly)
14747
16230
  * - `getVariables`: undefined (property only)
14748
16231
  *
14749
16232
  * ## Methods
@@ -14756,6 +16239,51 @@ export type CustomElementsSolidJs = {
14756
16239
  QtiEqualProps & QtiEqualSolidJsProps & BaseProps<QtiEqual> & BaseEvents
14757
16240
  >;
14758
16241
 
16242
+ /**
16243
+ *
16244
+ *
16245
+ * ## Methods
16246
+ *
16247
+ * Methods that can be called to access component functionality.
16248
+ *
16249
+ * - `process() => void`: undefined
16250
+ */
16251
+ "qti-rule": Partial<
16252
+ QtiRuleProps & QtiRuleSolidJsProps & BaseProps<QtiRule> & BaseEvents
16253
+ >;
16254
+
16255
+ /**
16256
+ *
16257
+ *
16258
+ * ## Methods
16259
+ *
16260
+ * Methods that can be called to access component functionality.
16261
+ *
16262
+ * - `process() => never`: undefined
16263
+ */
16264
+ "qti-exit-response": Partial<
16265
+ QtiExitResponseProps &
16266
+ QtiExitResponseSolidJsProps &
16267
+ BaseProps<QtiExitResponse> &
16268
+ BaseEvents
16269
+ >;
16270
+
16271
+ /**
16272
+ *
16273
+ *
16274
+ * ## Methods
16275
+ *
16276
+ * Methods that can be called to access component functionality.
16277
+ *
16278
+ * - `process() => never`: undefined
16279
+ */
16280
+ "qti-exit-test": Partial<
16281
+ QtiExitTestProps &
16282
+ QtiExitTestSolidJsProps &
16283
+ BaseProps<QtiExitTest> &
16284
+ BaseEvents
16285
+ >;
16286
+
14759
16287
  /**
14760
16288
  *
14761
16289
  *
@@ -14763,6 +16291,20 @@ export type CustomElementsSolidJs = {
14763
16291
  *
14764
16292
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14765
16293
  *
16294
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16295
+ *
16296
+ * This is the supported way to inspect a scoring run: process the responses,
16297
+ * then walk the rule tree reading this off each expression. A tool that wants
16298
+ * to visualise how a score came about gets the whole tree annotated with its
16299
+ * values, without the components having to re-render to show them. (property only) (readonly)
16300
+ * - `lastVariables`: undefined (property only) (readonly)
16301
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16302
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16303
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16304
+ *
16305
+ * Left undefined by operators whose result type follows their operands (a
16306
+ * `qti-sum` of integers is an integer) and by those that return no number at
16307
+ * all; the type is then read off the value. (property only) (readonly)
14766
16308
  * - `getVariables`: undefined (property only)
14767
16309
  *
14768
16310
  * ## Methods
@@ -14785,6 +16327,20 @@ export type CustomElementsSolidJs = {
14785
16327
  *
14786
16328
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14787
16329
  *
16330
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16331
+ *
16332
+ * This is the supported way to inspect a scoring run: process the responses,
16333
+ * then walk the rule tree reading this off each expression. A tool that wants
16334
+ * to visualise how a score came about gets the whole tree annotated with its
16335
+ * values, without the components having to re-render to show them. (property only) (readonly)
16336
+ * - `lastVariables`: undefined (property only) (readonly)
16337
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16338
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16339
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16340
+ *
16341
+ * Left undefined by operators whose result type follows their operands (a
16342
+ * `qti-sum` of integers is an integer) and by those that return no number at
16343
+ * all; the type is then read off the value. (property only) (readonly)
14788
16344
  * - `getVariables`: undefined (property only)
14789
16345
  *
14790
16346
  * ## Methods
@@ -14804,6 +16360,20 @@ export type CustomElementsSolidJs = {
14804
16360
  *
14805
16361
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14806
16362
  *
16363
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16364
+ *
16365
+ * This is the supported way to inspect a scoring run: process the responses,
16366
+ * then walk the rule tree reading this off each expression. A tool that wants
16367
+ * to visualise how a score came about gets the whole tree annotated with its
16368
+ * values, without the components having to re-render to show them. (property only) (readonly)
16369
+ * - `lastVariables`: undefined (property only) (readonly)
16370
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16371
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16372
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16373
+ *
16374
+ * Left undefined by operators whose result type follows their operands (a
16375
+ * `qti-sum` of integers is an integer) and by those that return no number at
16376
+ * all; the type is then read off the value. (property only) (readonly)
14807
16377
  * - `getVariables`: undefined (property only)
14808
16378
  *
14809
16379
  * ## Methods
@@ -14823,6 +16393,20 @@ export type CustomElementsSolidJs = {
14823
16393
  *
14824
16394
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14825
16395
  *
16396
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16397
+ *
16398
+ * This is the supported way to inspect a scoring run: process the responses,
16399
+ * then walk the rule tree reading this off each expression. A tool that wants
16400
+ * to visualise how a score came about gets the whole tree annotated with its
16401
+ * values, without the components having to re-render to show them. (property only) (readonly)
16402
+ * - `lastVariables`: undefined (property only) (readonly)
16403
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16404
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16405
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16406
+ *
16407
+ * Left undefined by operators whose result type follows their operands (a
16408
+ * `qti-sum` of integers is an integer) and by those that return no number at
16409
+ * all; the type is then read off the value. (property only) (readonly)
14826
16410
  * - `getVariables`: undefined (property only)
14827
16411
  *
14828
16412
  * ## Methods
@@ -14843,6 +16427,20 @@ export type CustomElementsSolidJs = {
14843
16427
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14844
16428
  *
14845
16429
  * - `n`: undefined
16430
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16431
+ *
16432
+ * This is the supported way to inspect a scoring run: process the responses,
16433
+ * then walk the rule tree reading this off each expression. A tool that wants
16434
+ * to visualise how a score came about gets the whole tree annotated with its
16435
+ * values, without the components having to re-render to show them. (property only) (readonly)
16436
+ * - `lastVariables`: undefined (property only) (readonly)
16437
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16438
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16439
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16440
+ *
16441
+ * Left undefined by operators whose result type follows their operands (a
16442
+ * `qti-sum` of integers is an integer) and by those that return no number at
16443
+ * all; the type is then read off the value. (property only) (readonly)
14846
16444
  * - `getVariables`: undefined (property only)
14847
16445
  *
14848
16446
  * ## Methods
@@ -14864,6 +16462,20 @@ export type CustomElementsSolidJs = {
14864
16462
  *
14865
16463
  * - `shape`: undefined
14866
16464
  * - `coords`: undefined
16465
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16466
+ *
16467
+ * This is the supported way to inspect a scoring run: process the responses,
16468
+ * then walk the rule tree reading this off each expression. A tool that wants
16469
+ * to visualise how a score came about gets the whole tree annotated with its
16470
+ * values, without the components having to re-render to show them. (property only) (readonly)
16471
+ * - `lastVariables`: undefined (property only) (readonly)
16472
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16473
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16474
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16475
+ *
16476
+ * Left undefined by operators whose result type follows their operands (a
16477
+ * `qti-sum` of integers is an integer) and by those that return no number at
16478
+ * all; the type is then read off the value. (property only) (readonly)
14867
16479
  * - `getVariables`: undefined (property only)
14868
16480
  *
14869
16481
  * ## Methods
@@ -14883,6 +16495,20 @@ export type CustomElementsSolidJs = {
14883
16495
  *
14884
16496
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14885
16497
  *
16498
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16499
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16500
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16501
+ *
16502
+ * Left undefined by operators whose result type follows their operands (a
16503
+ * `qti-sum` of integers is an integer) and by those that return no number at
16504
+ * all; the type is then read off the value. (property only) (readonly)
16505
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16506
+ *
16507
+ * This is the supported way to inspect a scoring run: process the responses,
16508
+ * then walk the rule tree reading this off each expression. A tool that wants
16509
+ * to visualise how a score came about gets the whole tree annotated with its
16510
+ * values, without the components having to re-render to show them. (property only) (readonly)
16511
+ * - `lastVariables`: undefined (property only) (readonly)
14886
16512
  * - `getVariables`: undefined (property only)
14887
16513
  *
14888
16514
  * ## Methods
@@ -14905,6 +16531,20 @@ export type CustomElementsSolidJs = {
14905
16531
  *
14906
16532
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14907
16533
  *
16534
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16535
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16536
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16537
+ *
16538
+ * Left undefined by operators whose result type follows their operands (a
16539
+ * `qti-sum` of integers is an integer) and by those that return no number at
16540
+ * all; the type is then read off the value. (property only) (readonly)
16541
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16542
+ *
16543
+ * This is the supported way to inspect a scoring run: process the responses,
16544
+ * then walk the rule tree reading this off each expression. A tool that wants
16545
+ * to visualise how a score came about gets the whole tree annotated with its
16546
+ * values, without the components having to re-render to show them. (property only) (readonly)
16547
+ * - `lastVariables`: undefined (property only) (readonly)
14908
16548
  * - `getVariables`: undefined (property only)
14909
16549
  *
14910
16550
  * ## Methods
@@ -14927,6 +16567,20 @@ export type CustomElementsSolidJs = {
14927
16567
  *
14928
16568
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14929
16569
  *
16570
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16571
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16572
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16573
+ *
16574
+ * Left undefined by operators whose result type follows their operands (a
16575
+ * `qti-sum` of integers is an integer) and by those that return no number at
16576
+ * all; the type is then read off the value. (property only) (readonly)
16577
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16578
+ *
16579
+ * This is the supported way to inspect a scoring run: process the responses,
16580
+ * then walk the rule tree reading this off each expression. A tool that wants
16581
+ * to visualise how a score came about gets the whole tree annotated with its
16582
+ * values, without the components having to re-render to show them. (property only) (readonly)
16583
+ * - `lastVariables`: undefined (property only) (readonly)
14930
16584
  * - `getVariables`: undefined (property only)
14931
16585
  *
14932
16586
  * ## Methods
@@ -14949,6 +16603,20 @@ export type CustomElementsSolidJs = {
14949
16603
  *
14950
16604
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14951
16605
  *
16606
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16607
+ *
16608
+ * This is the supported way to inspect a scoring run: process the responses,
16609
+ * then walk the rule tree reading this off each expression. A tool that wants
16610
+ * to visualise how a score came about gets the whole tree annotated with its
16611
+ * values, without the components having to re-render to show them. (property only) (readonly)
16612
+ * - `lastVariables`: undefined (property only) (readonly)
16613
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16614
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16615
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16616
+ *
16617
+ * Left undefined by operators whose result type follows their operands (a
16618
+ * `qti-sum` of integers is an integer) and by those that return no number at
16619
+ * all; the type is then read off the value. (property only) (readonly)
14952
16620
  * - `getVariables`: undefined (property only)
14953
16621
  *
14954
16622
  * ## Methods
@@ -14968,6 +16636,20 @@ export type CustomElementsSolidJs = {
14968
16636
  *
14969
16637
  * Component attributes and properties that can be applied to the element or by using JavaScript.
14970
16638
  *
16639
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16640
+ *
16641
+ * This is the supported way to inspect a scoring run: process the responses,
16642
+ * then walk the rule tree reading this off each expression. A tool that wants
16643
+ * to visualise how a score came about gets the whole tree annotated with its
16644
+ * values, without the components having to re-render to show them. (property only) (readonly)
16645
+ * - `lastVariables`: undefined (property only) (readonly)
16646
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16647
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16648
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16649
+ *
16650
+ * Left undefined by operators whose result type follows their operands (a
16651
+ * `qti-sum` of integers is an integer) and by those that return no number at
16652
+ * all; the type is then read off the value. (property only) (readonly)
14971
16653
  * - `getVariables`: undefined (property only)
14972
16654
  *
14973
16655
  * ## Methods
@@ -14980,19 +16662,6 @@ export type CustomElementsSolidJs = {
14980
16662
  QtiLcmProps & QtiLcmSolidJsProps & BaseProps<QtiLcm> & BaseEvents
14981
16663
  >;
14982
16664
 
14983
- /**
14984
- *
14985
- *
14986
- * ## Methods
14987
- *
14988
- * Methods that can be called to access component functionality.
14989
- *
14990
- * - `process() => void`: undefined
14991
- */
14992
- "qti-rule": Partial<
14993
- QtiRuleProps & QtiRuleSolidJsProps & BaseProps<QtiRule> & BaseEvents
14994
- >;
14995
-
14996
16665
  /**
14997
16666
  * The lookupOutcomeValue rule sets the value of an outcome variable to the value obtained
14998
16667
  * by looking up the value of the associated expression in the lookupTable associated
@@ -15015,7 +16684,7 @@ export type CustomElementsSolidJs = {
15015
16684
  *
15016
16685
  * Methods that can be called to access component functionality.
15017
16686
  *
15018
- * - `process() => number`: undefined
16687
+ * - `process() => number | string | null`: undefined
15019
16688
  */
15020
16689
  "qti-lookup-outcome-value": Partial<
15021
16690
  QtiLookupOutcomeValueProps &
@@ -15031,6 +16700,20 @@ export type CustomElementsSolidJs = {
15031
16700
  *
15032
16701
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15033
16702
  *
16703
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16704
+ *
16705
+ * This is the supported way to inspect a scoring run: process the responses,
16706
+ * then walk the rule tree reading this off each expression. A tool that wants
16707
+ * to visualise how a score came about gets the whole tree annotated with its
16708
+ * values, without the components having to re-render to show them. (property only) (readonly)
16709
+ * - `lastVariables`: undefined (property only) (readonly)
16710
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16711
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16712
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16713
+ *
16714
+ * Left undefined by operators whose result type follows their operands (a
16715
+ * `qti-sum` of integers is an integer) and by those that return no number at
16716
+ * all; the type is then read off the value. (property only) (readonly)
15034
16717
  * - `getVariables`: undefined (property only)
15035
16718
  *
15036
16719
  * ## Methods
@@ -15050,6 +16733,20 @@ export type CustomElementsSolidJs = {
15050
16733
  *
15051
16734
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15052
16735
  *
16736
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16737
+ *
16738
+ * This is the supported way to inspect a scoring run: process the responses,
16739
+ * then walk the rule tree reading this off each expression. A tool that wants
16740
+ * to visualise how a score came about gets the whole tree annotated with its
16741
+ * values, without the components having to re-render to show them. (property only) (readonly)
16742
+ * - `lastVariables`: undefined (property only) (readonly)
16743
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16744
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16745
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16746
+ *
16747
+ * Left undefined by operators whose result type follows their operands (a
16748
+ * `qti-sum` of integers is an integer) and by those that return no number at
16749
+ * all; the type is then read off the value. (property only) (readonly)
15053
16750
  * - `getVariables`: undefined (property only)
15054
16751
  *
15055
16752
  * ## Methods
@@ -15070,6 +16767,20 @@ export type CustomElementsSolidJs = {
15070
16767
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15071
16768
  *
15072
16769
  * - `identifier`: undefined
16770
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16771
+ *
16772
+ * This is the supported way to inspect a scoring run: process the responses,
16773
+ * then walk the rule tree reading this off each expression. A tool that wants
16774
+ * to visualise how a score came about gets the whole tree annotated with its
16775
+ * values, without the components having to re-render to show them. (property only) (readonly)
16776
+ * - `lastVariables`: undefined (property only) (readonly)
16777
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16778
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16779
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16780
+ *
16781
+ * Left undefined by operators whose result type follows their operands (a
16782
+ * `qti-sum` of integers is an integer) and by those that return no number at
16783
+ * all; the type is then read off the value. (property only) (readonly)
15073
16784
  * - `getVariables`: undefined (property only)
15074
16785
  *
15075
16786
  * ## Methods
@@ -15093,6 +16804,20 @@ export type CustomElementsSolidJs = {
15093
16804
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15094
16805
  *
15095
16806
  * - `identifier`: undefined
16807
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16808
+ *
16809
+ * This is the supported way to inspect a scoring run: process the responses,
16810
+ * then walk the rule tree reading this off each expression. A tool that wants
16811
+ * to visualise how a score came about gets the whole tree annotated with its
16812
+ * values, without the components having to re-render to show them. (property only) (readonly)
16813
+ * - `lastVariables`: undefined (property only) (readonly)
16814
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16815
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16816
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16817
+ *
16818
+ * Left undefined by operators whose result type follows their operands (a
16819
+ * `qti-sum` of integers is an integer) and by those that return no number at
16820
+ * all; the type is then read off the value. (property only) (readonly)
15096
16821
  * - `getVariables`: undefined (property only)
15097
16822
  *
15098
16823
  * ## Methods
@@ -15115,6 +16840,20 @@ export type CustomElementsSolidJs = {
15115
16840
  *
15116
16841
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15117
16842
  *
16843
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16844
+ *
16845
+ * This is the supported way to inspect a scoring run: process the responses,
16846
+ * then walk the rule tree reading this off each expression. A tool that wants
16847
+ * to visualise how a score came about gets the whole tree annotated with its
16848
+ * values, without the components having to re-render to show them. (property only) (readonly)
16849
+ * - `lastVariables`: undefined (property only) (readonly)
16850
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16851
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16852
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16853
+ *
16854
+ * Left undefined by operators whose result type follows their operands (a
16855
+ * `qti-sum` of integers is an integer) and by those that return no number at
16856
+ * all; the type is then read off the value. (property only) (readonly)
15118
16857
  * - `getVariables`: undefined (property only)
15119
16858
  *
15120
16859
  * ## Methods
@@ -15136,6 +16875,52 @@ export type CustomElementsSolidJs = {
15136
16875
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15137
16876
  *
15138
16877
  * - `name`: undefined
16878
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16879
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16880
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16881
+ *
16882
+ * Left undefined by operators whose result type follows their operands (a
16883
+ * `qti-sum` of integers is an integer) and by those that return no number at
16884
+ * all; the type is then read off the value. (property only) (readonly)
16885
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16886
+ *
16887
+ * This is the supported way to inspect a scoring run: process the responses,
16888
+ * then walk the rule tree reading this off each expression. A tool that wants
16889
+ * to visualise how a score came about gets the whole tree annotated with its
16890
+ * values, without the components having to re-render to show them. (property only) (readonly)
16891
+ * - `lastVariables`: undefined (property only) (readonly)
16892
+ * - `getVariables`: undefined (property only)
16893
+ *
16894
+ * ## Methods
16895
+ *
16896
+ * Methods that can be called to access component functionality.
16897
+ *
16898
+ * - `calculate() => Readonly<T>`: undefined
16899
+ */
16900
+ "qti-math-constant": Partial<
16901
+ QtiMathConstantProps &
16902
+ QtiMathConstantSolidJsProps &
16903
+ BaseProps<QtiMathConstant> &
16904
+ BaseEvents
16905
+ >;
16906
+
16907
+ /**
16908
+ *
16909
+ *
16910
+ * ## Attributes & Properties
16911
+ *
16912
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
16913
+ *
16914
+ * - `name`: undefined
16915
+ * - `resultBaseType`: Float for every function except the three that produce a whole number:
16916
+ * `floor`, `ceil` and `signum`. (property only) (readonly)
16917
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16918
+ *
16919
+ * This is the supported way to inspect a scoring run: process the responses,
16920
+ * then walk the rule tree reading this off each expression. A tool that wants
16921
+ * to visualise how a score came about gets the whole tree annotated with its
16922
+ * values, without the components having to re-render to show them. (property only) (readonly)
16923
+ * - `lastVariables`: undefined (property only) (readonly)
15139
16924
  * - `getVariables`: undefined (property only)
15140
16925
  *
15141
16926
  * ## Methods
@@ -15158,6 +16943,20 @@ export type CustomElementsSolidJs = {
15158
16943
  *
15159
16944
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15160
16945
  *
16946
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16947
+ *
16948
+ * This is the supported way to inspect a scoring run: process the responses,
16949
+ * then walk the rule tree reading this off each expression. A tool that wants
16950
+ * to visualise how a score came about gets the whole tree annotated with its
16951
+ * values, without the components having to re-render to show them. (property only) (readonly)
16952
+ * - `lastVariables`: undefined (property only) (readonly)
16953
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16954
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16955
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16956
+ *
16957
+ * Left undefined by operators whose result type follows their operands (a
16958
+ * `qti-sum` of integers is an integer) and by those that return no number at
16959
+ * all; the type is then read off the value. (property only) (readonly)
15161
16960
  * - `getVariables`: undefined (property only)
15162
16961
  *
15163
16962
  * ## Methods
@@ -15177,6 +16976,20 @@ export type CustomElementsSolidJs = {
15177
16976
  *
15178
16977
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15179
16978
  *
16979
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16980
+ *
16981
+ * This is the supported way to inspect a scoring run: process the responses,
16982
+ * then walk the rule tree reading this off each expression. A tool that wants
16983
+ * to visualise how a score came about gets the whole tree annotated with its
16984
+ * values, without the components having to re-render to show them. (property only) (readonly)
16985
+ * - `lastVariables`: undefined (property only) (readonly)
16986
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16987
+ * one regardless of its operands — `qti-divide` is a float even dividing two
16988
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
16989
+ *
16990
+ * Left undefined by operators whose result type follows their operands (a
16991
+ * `qti-sum` of integers is an integer) and by those that return no number at
16992
+ * all; the type is then read off the value. (property only) (readonly)
15180
16993
  * - `getVariables`: undefined (property only)
15181
16994
  *
15182
16995
  * ## Methods
@@ -15196,6 +17009,20 @@ export type CustomElementsSolidJs = {
15196
17009
  *
15197
17010
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15198
17011
  *
17012
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17013
+ *
17014
+ * This is the supported way to inspect a scoring run: process the responses,
17015
+ * then walk the rule tree reading this off each expression. A tool that wants
17016
+ * to visualise how a score came about gets the whole tree annotated with its
17017
+ * values, without the components having to re-render to show them. (property only) (readonly)
17018
+ * - `lastVariables`: undefined (property only) (readonly)
17019
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17020
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17021
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17022
+ *
17023
+ * Left undefined by operators whose result type follows their operands (a
17024
+ * `qti-sum` of integers is an integer) and by those that return no number at
17025
+ * all; the type is then read off the value. (property only) (readonly)
15199
17026
  * - `getVariables`: undefined (property only)
15200
17027
  *
15201
17028
  * ## Methods
@@ -15215,6 +17042,20 @@ export type CustomElementsSolidJs = {
15215
17042
  *
15216
17043
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15217
17044
  *
17045
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17046
+ *
17047
+ * This is the supported way to inspect a scoring run: process the responses,
17048
+ * then walk the rule tree reading this off each expression. A tool that wants
17049
+ * to visualise how a score came about gets the whole tree annotated with its
17050
+ * values, without the components having to re-render to show them. (property only) (readonly)
17051
+ * - `lastVariables`: undefined (property only) (readonly)
17052
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17053
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17054
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17055
+ *
17056
+ * Left undefined by operators whose result type follows their operands (a
17057
+ * `qti-sum` of integers is an integer) and by those that return no number at
17058
+ * all; the type is then read off the value. (property only) (readonly)
15218
17059
  * - `getVariables`: undefined (property only)
15219
17060
  *
15220
17061
  * ## Methods
@@ -15237,6 +17078,20 @@ export type CustomElementsSolidJs = {
15237
17078
  *
15238
17079
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15239
17080
  *
17081
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17082
+ *
17083
+ * This is the supported way to inspect a scoring run: process the responses,
17084
+ * then walk the rule tree reading this off each expression. A tool that wants
17085
+ * to visualise how a score came about gets the whole tree annotated with its
17086
+ * values, without the components having to re-render to show them. (property only) (readonly)
17087
+ * - `lastVariables`: undefined (property only) (readonly)
17088
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17089
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17090
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17091
+ *
17092
+ * Left undefined by operators whose result type follows their operands (a
17093
+ * `qti-sum` of integers is an integer) and by those that return no number at
17094
+ * all; the type is then read off the value. (property only) (readonly)
15240
17095
  * - `getVariables`: undefined (property only)
15241
17096
  *
15242
17097
  * ## Methods
@@ -15256,6 +17111,20 @@ export type CustomElementsSolidJs = {
15256
17111
  *
15257
17112
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15258
17113
  *
17114
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17115
+ *
17116
+ * This is the supported way to inspect a scoring run: process the responses,
17117
+ * then walk the rule tree reading this off each expression. A tool that wants
17118
+ * to visualise how a score came about gets the whole tree annotated with its
17119
+ * values, without the components having to re-render to show them. (property only) (readonly)
17120
+ * - `lastVariables`: undefined (property only) (readonly)
17121
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17122
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17123
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17124
+ *
17125
+ * Left undefined by operators whose result type follows their operands (a
17126
+ * `qti-sum` of integers is an integer) and by those that return no number at
17127
+ * all; the type is then read off the value. (property only) (readonly)
15259
17128
  * - `getVariables`: undefined (property only)
15260
17129
  *
15261
17130
  * ## Methods
@@ -15275,6 +17144,20 @@ export type CustomElementsSolidJs = {
15275
17144
  *
15276
17145
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15277
17146
  *
17147
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17148
+ *
17149
+ * This is the supported way to inspect a scoring run: process the responses,
17150
+ * then walk the rule tree reading this off each expression. A tool that wants
17151
+ * to visualise how a score came about gets the whole tree annotated with its
17152
+ * values, without the components having to re-render to show them. (property only) (readonly)
17153
+ * - `lastVariables`: undefined (property only) (readonly)
17154
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17155
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17156
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17157
+ *
17158
+ * Left undefined by operators whose result type follows their operands (a
17159
+ * `qti-sum` of integers is an integer) and by those that return no number at
17160
+ * all; the type is then read off the value. (property only) (readonly)
15278
17161
  * - `getVariables`: undefined (property only)
15279
17162
  *
15280
17163
  * ## Methods
@@ -15294,6 +17177,20 @@ export type CustomElementsSolidJs = {
15294
17177
  *
15295
17178
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15296
17179
  *
17180
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17181
+ *
17182
+ * This is the supported way to inspect a scoring run: process the responses,
17183
+ * then walk the rule tree reading this off each expression. A tool that wants
17184
+ * to visualise how a score came about gets the whole tree annotated with its
17185
+ * values, without the components having to re-render to show them. (property only) (readonly)
17186
+ * - `lastVariables`: undefined (property only) (readonly)
17187
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17188
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17189
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17190
+ *
17191
+ * Left undefined by operators whose result type follows their operands (a
17192
+ * `qti-sum` of integers is an integer) and by those that return no number at
17193
+ * all; the type is then read off the value. (property only) (readonly)
15297
17194
  * - `getVariables`: undefined (property only)
15298
17195
  *
15299
17196
  * ## Methods
@@ -15387,6 +17284,20 @@ export type CustomElementsSolidJs = {
15387
17284
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15388
17285
  *
15389
17286
  * - `pattern`: undefined
17287
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17288
+ *
17289
+ * This is the supported way to inspect a scoring run: process the responses,
17290
+ * then walk the rule tree reading this off each expression. A tool that wants
17291
+ * to visualise how a score came about gets the whole tree annotated with its
17292
+ * values, without the components having to re-render to show them. (property only) (readonly)
17293
+ * - `lastVariables`: undefined (property only) (readonly)
17294
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17295
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17296
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17297
+ *
17298
+ * Left undefined by operators whose result type follows their operands (a
17299
+ * `qti-sum` of integers is an integer) and by those that return no number at
17300
+ * all; the type is then read off the value. (property only) (readonly)
15390
17301
  * - `getVariables`: undefined (property only)
15391
17302
  *
15392
17303
  * ## Methods
@@ -15409,6 +17320,20 @@ export type CustomElementsSolidJs = {
15409
17320
  *
15410
17321
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15411
17322
  *
17323
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17324
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17325
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17326
+ *
17327
+ * Left undefined by operators whose result type follows their operands (a
17328
+ * `qti-sum` of integers is an integer) and by those that return no number at
17329
+ * all; the type is then read off the value. (property only) (readonly)
17330
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17331
+ *
17332
+ * This is the supported way to inspect a scoring run: process the responses,
17333
+ * then walk the rule tree reading this off each expression. A tool that wants
17334
+ * to visualise how a score came about gets the whole tree annotated with its
17335
+ * values, without the components having to re-render to show them. (property only) (readonly)
17336
+ * - `lastVariables`: undefined (property only) (readonly)
15412
17337
  * - `getVariables`: undefined (property only)
15413
17338
  *
15414
17339
  * ## Methods
@@ -15458,6 +17383,20 @@ export type CustomElementsSolidJs = {
15458
17383
  *
15459
17384
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15460
17385
  *
17386
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17387
+ *
17388
+ * This is the supported way to inspect a scoring run: process the responses,
17389
+ * then walk the rule tree reading this off each expression. A tool that wants
17390
+ * to visualise how a score came about gets the whole tree annotated with its
17391
+ * values, without the components having to re-render to show them. (property only) (readonly)
17392
+ * - `lastVariables`: undefined (property only) (readonly)
17393
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17394
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17395
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17396
+ *
17397
+ * Left undefined by operators whose result type follows their operands (a
17398
+ * `qti-sum` of integers is an integer) and by those that return no number at
17399
+ * all; the type is then read off the value. (property only) (readonly)
15461
17400
  * - `getVariables`: undefined (property only)
15462
17401
  *
15463
17402
  * ## Methods
@@ -15483,6 +17422,20 @@ export type CustomElementsSolidJs = {
15483
17422
  * - `min`: undefined
15484
17423
  * - `max`: undefined
15485
17424
  * - `step`: undefined
17425
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17426
+ *
17427
+ * This is the supported way to inspect a scoring run: process the responses,
17428
+ * then walk the rule tree reading this off each expression. A tool that wants
17429
+ * to visualise how a score came about gets the whole tree annotated with its
17430
+ * values, without the components having to re-render to show them. (property only) (readonly)
17431
+ * - `lastVariables`: undefined (property only) (readonly)
17432
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17433
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17434
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17435
+ *
17436
+ * Left undefined by operators whose result type follows their operands (a
17437
+ * `qti-sum` of integers is an integer) and by those that return no number at
17438
+ * all; the type is then read off the value. (property only) (readonly)
15486
17439
  * - `getVariables`: undefined (property only)
15487
17440
  *
15488
17441
  * ## Methods
@@ -15506,6 +17459,20 @@ export type CustomElementsSolidJs = {
15506
17459
  *
15507
17460
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15508
17461
  *
17462
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17463
+ *
17464
+ * This is the supported way to inspect a scoring run: process the responses,
17465
+ * then walk the rule tree reading this off each expression. A tool that wants
17466
+ * to visualise how a score came about gets the whole tree annotated with its
17467
+ * values, without the components having to re-render to show them. (property only) (readonly)
17468
+ * - `lastVariables`: undefined (property only) (readonly)
17469
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17470
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17471
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17472
+ *
17473
+ * Left undefined by operators whose result type follows their operands (a
17474
+ * `qti-sum` of integers is an integer) and by those that return no number at
17475
+ * all; the type is then read off the value. (property only) (readonly)
15509
17476
  * - `getVariables`: undefined (property only)
15510
17477
  *
15511
17478
  * ## Methods
@@ -15526,6 +17493,20 @@ export type CustomElementsSolidJs = {
15526
17493
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15527
17494
  *
15528
17495
  * - `number-repeats`/`numberRepeats`: undefined
17496
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17497
+ *
17498
+ * This is the supported way to inspect a scoring run: process the responses,
17499
+ * then walk the rule tree reading this off each expression. A tool that wants
17500
+ * to visualise how a score came about gets the whole tree annotated with its
17501
+ * values, without the components having to re-render to show them. (property only) (readonly)
17502
+ * - `lastVariables`: undefined (property only) (readonly)
17503
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17504
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17505
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17506
+ *
17507
+ * Left undefined by operators whose result type follows their operands (a
17508
+ * `qti-sum` of integers is an integer) and by those that return no number at
17509
+ * all; the type is then read off the value. (property only) (readonly)
15529
17510
  * - `getVariables`: undefined (property only)
15530
17511
  *
15531
17512
  * ## Methods
@@ -15608,6 +17589,22 @@ export type CustomElementsSolidJs = {
15608
17589
  BaseEvents
15609
17590
  >;
15610
17591
 
17592
+ /**
17593
+ *
17594
+ *
17595
+ * ## Methods
17596
+ *
17597
+ * Methods that can be called to access component functionality.
17598
+ *
17599
+ * - `process() => void`: undefined
17600
+ */
17601
+ "qti-response-processing-fragment": Partial<
17602
+ QtiResponseProcessingFragmentProps &
17603
+ QtiResponseProcessingFragmentSolidJsProps &
17604
+ BaseProps<QtiResponseProcessingFragment> &
17605
+ BaseEvents
17606
+ >;
17607
+
15611
17608
  /**
15612
17609
  *
15613
17610
  *
@@ -15617,6 +17614,20 @@ export type CustomElementsSolidJs = {
15617
17614
  *
15618
17615
  * - `rounding-mode`/`roundingMode`: undefined
15619
17616
  * - `figures`: undefined
17617
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17618
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17619
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17620
+ *
17621
+ * Left undefined by operators whose result type follows their operands (a
17622
+ * `qti-sum` of integers is an integer) and by those that return no number at
17623
+ * all; the type is then read off the value. (property only) (readonly)
17624
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17625
+ *
17626
+ * This is the supported way to inspect a scoring run: process the responses,
17627
+ * then walk the rule tree reading this off each expression. A tool that wants
17628
+ * to visualise how a score came about gets the whole tree annotated with its
17629
+ * values, without the components having to re-render to show them. (property only) (readonly)
17630
+ * - `lastVariables`: undefined (property only) (readonly)
15620
17631
  * - `getVariables`: undefined (property only)
15621
17632
  *
15622
17633
  * ## Methods
@@ -15639,6 +17650,20 @@ export type CustomElementsSolidJs = {
15639
17650
  *
15640
17651
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15641
17652
  *
17653
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17654
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17655
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17656
+ *
17657
+ * Left undefined by operators whose result type follows their operands (a
17658
+ * `qti-sum` of integers is an integer) and by those that return no number at
17659
+ * all; the type is then read off the value. (property only) (readonly)
17660
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17661
+ *
17662
+ * This is the supported way to inspect a scoring run: process the responses,
17663
+ * then walk the rule tree reading this off each expression. A tool that wants
17664
+ * to visualise how a score came about gets the whole tree annotated with its
17665
+ * values, without the components having to re-render to show them. (property only) (readonly)
17666
+ * - `lastVariables`: undefined (property only) (readonly)
15642
17667
  * - `getVariables`: undefined (property only)
15643
17668
  *
15644
17669
  * ## Methods
@@ -15725,6 +17750,20 @@ export type CustomElementsSolidJs = {
15725
17750
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15726
17751
  *
15727
17752
  * - `name`: undefined
17753
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17754
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17755
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17756
+ *
17757
+ * Left undefined by operators whose result type follows their operands (a
17758
+ * `qti-sum` of integers is an integer) and by those that return no number at
17759
+ * all; the type is then read off the value. (property only) (readonly)
17760
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17761
+ *
17762
+ * This is the supported way to inspect a scoring run: process the responses,
17763
+ * then walk the rule tree reading this off each expression. A tool that wants
17764
+ * to visualise how a score came about gets the whole tree annotated with its
17765
+ * values, without the components having to re-render to show them. (property only) (readonly)
17766
+ * - `lastVariables`: undefined (property only) (readonly)
15728
17767
  * - `getVariables`: undefined (property only)
15729
17768
  *
15730
17769
  * ## Methods
@@ -15748,6 +17787,20 @@ export type CustomElementsSolidJs = {
15748
17787
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15749
17788
  *
15750
17789
  * - `case-sensitive`/`caseSensitive`: undefined
17790
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17791
+ *
17792
+ * This is the supported way to inspect a scoring run: process the responses,
17793
+ * then walk the rule tree reading this off each expression. A tool that wants
17794
+ * to visualise how a score came about gets the whole tree annotated with its
17795
+ * values, without the components having to re-render to show them. (property only) (readonly)
17796
+ * - `lastVariables`: undefined (property only) (readonly)
17797
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17798
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17799
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17800
+ *
17801
+ * Left undefined by operators whose result type follows their operands (a
17802
+ * `qti-sum` of integers is an integer) and by those that return no number at
17803
+ * all; the type is then read off the value. (property only) (readonly)
15751
17804
  * - `getVariables`: undefined (property only)
15752
17805
  *
15753
17806
  * ## Methods
@@ -15771,6 +17824,20 @@ export type CustomElementsSolidJs = {
15771
17824
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15772
17825
  *
15773
17826
  * - `case-sensitive`/`caseSensitive`: undefined
17827
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17828
+ *
17829
+ * This is the supported way to inspect a scoring run: process the responses,
17830
+ * then walk the rule tree reading this off each expression. A tool that wants
17831
+ * to visualise how a score came about gets the whole tree annotated with its
17832
+ * values, without the components having to re-render to show them. (property only) (readonly)
17833
+ * - `lastVariables`: undefined (property only) (readonly)
17834
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17835
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17836
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17837
+ *
17838
+ * Left undefined by operators whose result type follows their operands (a
17839
+ * `qti-sum` of integers is an integer) and by those that return no number at
17840
+ * all; the type is then read off the value. (property only) (readonly)
15774
17841
  * - `getVariables`: undefined (property only)
15775
17842
  *
15776
17843
  * ## Methods
@@ -15810,6 +17877,20 @@ export type CustomElementsSolidJs = {
15810
17877
  *
15811
17878
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15812
17879
  *
17880
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17881
+ *
17882
+ * This is the supported way to inspect a scoring run: process the responses,
17883
+ * then walk the rule tree reading this off each expression. A tool that wants
17884
+ * to visualise how a score came about gets the whole tree annotated with its
17885
+ * values, without the components having to re-render to show them. (property only) (readonly)
17886
+ * - `lastVariables`: undefined (property only) (readonly)
17887
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17888
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17889
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17890
+ *
17891
+ * Left undefined by operators whose result type follows their operands (a
17892
+ * `qti-sum` of integers is an integer) and by those that return no number at
17893
+ * all; the type is then read off the value. (property only) (readonly)
15813
17894
  * - `getVariables`: undefined (property only)
15814
17895
  *
15815
17896
  * ## Methods
@@ -15829,6 +17910,20 @@ export type CustomElementsSolidJs = {
15829
17910
  *
15830
17911
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15831
17912
  *
17913
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17914
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17915
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17916
+ *
17917
+ * Left undefined by operators whose result type follows their operands (a
17918
+ * `qti-sum` of integers is an integer) and by those that return no number at
17919
+ * all; the type is then read off the value. (property only) (readonly)
17920
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17921
+ *
17922
+ * This is the supported way to inspect a scoring run: process the responses,
17923
+ * then walk the rule tree reading this off each expression. A tool that wants
17924
+ * to visualise how a score came about gets the whole tree annotated with its
17925
+ * values, without the components having to re-render to show them. (property only) (readonly)
17926
+ * - `lastVariables`: undefined (property only) (readonly)
15832
17927
  * - `getVariables`: undefined (property only)
15833
17928
  *
15834
17929
  * ## Methods
@@ -15851,6 +17946,20 @@ export type CustomElementsSolidJs = {
15851
17946
  *
15852
17947
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15853
17948
  *
17949
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
17950
+ *
17951
+ * This is the supported way to inspect a scoring run: process the responses,
17952
+ * then walk the rule tree reading this off each expression. A tool that wants
17953
+ * to visualise how a score came about gets the whole tree annotated with its
17954
+ * values, without the components having to re-render to show them. (property only) (readonly)
17955
+ * - `lastVariables`: undefined (property only) (readonly)
17956
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
17957
+ * one regardless of its operands — `qti-divide` is a float even dividing two
17958
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
17959
+ *
17960
+ * Left undefined by operators whose result type follows their operands (a
17961
+ * `qti-sum` of integers is an integer) and by those that return no number at
17962
+ * all; the type is then read off the value. (property only) (readonly)
15854
17963
  * - `getVariables`: undefined (property only)
15855
17964
  *
15856
17965
  * ## Methods
@@ -15875,7 +17984,7 @@ export type CustomElementsSolidJs = {
15875
17984
  *
15876
17985
  * - `identifier`: undefined
15877
17986
  * - `adaptive`: undefined
15878
- * - `timeDependent`: undefined
17987
+ * - `time-dependent`/`timeDependent`: undefined
15879
17988
  * - `title`: undefined
15880
17989
  * - `disabled`: undefined
15881
17990
  * - `readonly`: undefined
@@ -15926,6 +18035,19 @@ export type CustomElementsSolidJs = {
15926
18035
  * - `configContext`: undefined (property only)
15927
18036
  * - `qtiContext`: Provided so that descendants (e.g. `<item-container>`) can read the QTI runtime
15928
18037
  * context for standalone item delivery, including the optional shuffle `seed`. (property only)
18038
+ *
18039
+ * ## Methods
18040
+ *
18041
+ * Methods that can be called to access component functionality.
18042
+ *
18043
+ * - `updateAssessmentItemView(assessmentItem: QtiAssessmentItem, view: View) => void`: Scorer view IS the answer key, the same pairing `QtiTestCorrection` makes at test level.
18044
+ * A marker switching to `scorer` to read the rubric would otherwise have to ask for the key
18045
+ * separately, and the two would drift apart.
18046
+ *
18047
+ * `scorer` alone because that is what the test side does — not because no other audience has
18048
+ * a use for a key. An author reviewing their own item plainly wants one, and arguably a tutor
18049
+ * does too. If that is ever granted it has to be granted in both places at once, or the same
18050
+ * item answers differently depending on whether it is delivered inside a test.
15929
18051
  */
15930
18052
  "qti-item": Partial<
15931
18053
  QtiItemCorrectionProps &