@citolab/qti-components 9.4.0 → 9.6.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 (65) hide show
  1. package/cdn/index.global.js +1 -1
  2. package/cdn/index.js +1876 -272
  3. package/dist/base.d.ts +10 -10
  4. package/dist/base.js +7 -1
  5. package/dist/{chunk-GNTO3IFM.js → chunk-EAQOUBXA.js} +717 -417
  6. package/dist/chunk-EAQOUBXA.js.map +1 -0
  7. package/dist/{chunk-B5XHZI2P.js → chunk-H72OXVRF.js} +2 -2
  8. package/dist/{chunk-B74SYQB2.js → chunk-I7ACMH74.js} +3 -3
  9. package/dist/{chunk-MSGYZE6L.js → chunk-LOKULHVY.js} +504 -283
  10. package/dist/chunk-LOKULHVY.js.map +1 -0
  11. package/dist/{chunk-ACRN7YJM.js → chunk-QOFGUIYE.js} +2 -2
  12. package/dist/{chunk-R7MMMDP7.js → chunk-QUTM5TT6.js} +56 -2
  13. package/dist/chunk-QUTM5TT6.js.map +1 -0
  14. package/dist/chunk-QVZLJY75.js +7 -0
  15. package/dist/chunk-QVZLJY75.js.map +1 -0
  16. package/dist/{chunk-BMXG7D2N.js → chunk-RV7ADJ33.js} +2 -2
  17. package/dist/{chunk-JHPQJDAV.js → chunk-TBJT7AGB.js} +2 -2
  18. package/dist/{chunk-LKHRHFXO.js → chunk-TC4257SG.js} +6 -6
  19. package/dist/{chunk-XEWGFAS4.js → chunk-TFQAUWCM.js} +105 -30
  20. package/dist/chunk-TFQAUWCM.js.map +1 -0
  21. package/dist/{chunk-3BAQWO5C.js → chunk-V3NKEAQY.js} +40 -4
  22. package/dist/chunk-V3NKEAQY.js.map +1 -0
  23. package/dist/{chunk-C3JPUV36.js → chunk-YS6CBO45.js} +2 -2
  24. package/dist/{computed.types.d-gJrBeUMG.d.ts → computed.types.d-SsTm3ieP.d.ts} +1 -1
  25. package/dist/corrections.d.ts +9 -9
  26. package/dist/corrections.js +8 -8
  27. package/dist/elements.d.ts +65 -3
  28. package/dist/elements.js +15 -5
  29. package/dist/index.d.ts +11 -11
  30. package/dist/index.js +40 -14
  31. package/dist/interactions.d.ts +4 -4
  32. package/dist/interactions.js +7 -3
  33. package/dist/item.css +12 -0
  34. package/dist/item.d.ts +4 -4
  35. package/dist/item.js +4 -4
  36. package/dist/{item.types.d-B55QkJ92.d.ts → item.types.d-DuVR0ZVK.d.ts} +7 -1
  37. package/dist/loader.d.ts +2 -2
  38. package/dist/processing.d.ts +10 -3
  39. package/dist/processing.js +3 -3
  40. package/dist/qti-components-jsx.d.ts +273 -213
  41. package/dist/{qti-condition-expression.d-L7yb3Rzy.d.ts → qti-condition-expression.d-B-T1NNl0.d.ts} +1 -1
  42. package/dist/{qti-expression.d-CuaLjZ6g.d.ts → qti-expression.d-B-Cfbqlb.d.ts} +8 -1
  43. package/dist/{qti-feedback.d-wMYNVkkj.d.ts → qti-feedback.d-DbzPSJuK.d.ts} +1 -1
  44. package/dist/{qti-item.d-DgC1AQbY.d.ts → qti-item.d-DjWvKbfL.d.ts} +1 -1
  45. package/dist/{qti-test.d-Cud5Gvy0.d.ts → qti-test.d-DOWT6YNa.d.ts} +109 -12
  46. package/dist/{qti-text-entry-interaction.d-DKvz9ncv.d.ts → qti-text-entry-interaction.d-h5UZ8Qvp.d.ts} +34 -19
  47. package/dist/{interaction.d-g6XG0T0Z.d.ts → record.d-wB9uYs-j.d.ts} +34 -2
  48. package/dist/{session.context.d-D5080LVx.d.ts → session.context.d-Cw8GcziG.d.ts} +1 -1
  49. package/dist/test.d.ts +7 -7
  50. package/dist/test.js +11 -5
  51. package/package.json +6 -6
  52. package/dist/chunk-3BAQWO5C.js.map +0 -1
  53. package/dist/chunk-A32YH4H5.js +0 -7
  54. package/dist/chunk-A32YH4H5.js.map +0 -1
  55. package/dist/chunk-GNTO3IFM.js.map +0 -1
  56. package/dist/chunk-MSGYZE6L.js.map +0 -1
  57. package/dist/chunk-R7MMMDP7.js.map +0 -1
  58. package/dist/chunk-XEWGFAS4.js.map +0 -1
  59. /package/dist/{chunk-B5XHZI2P.js.map → chunk-H72OXVRF.js.map} +0 -0
  60. /package/dist/{chunk-B74SYQB2.js.map → chunk-I7ACMH74.js.map} +0 -0
  61. /package/dist/{chunk-ACRN7YJM.js.map → chunk-QOFGUIYE.js.map} +0 -0
  62. /package/dist/{chunk-BMXG7D2N.js.map → chunk-RV7ADJ33.js.map} +0 -0
  63. /package/dist/{chunk-JHPQJDAV.js.map → chunk-TBJT7AGB.js.map} +0 -0
  64. /package/dist/{chunk-LKHRHFXO.js.map → chunk-TC4257SG.js.map} +0 -0
  65. /package/dist/{chunk-C3JPUV36.js.map → chunk-YS6CBO45.js.map} +0 -0
@@ -61,6 +61,8 @@ import type {
61
61
  QtiMediaInteraction,
62
62
  QtiOrderInteraction,
63
63
  QtiPortableCustomInteraction,
64
+ inlineScriptText,
65
+ inlineStyleText,
64
66
  QtiPortableCustomInteractionTest,
65
67
  QtiPositionObjectInteraction,
66
68
  QtiPositionObjectStage,
@@ -73,8 +75,11 @@ import type {
73
75
  QtiAssessmentTest,
74
76
  QtiAssessmentItemRef,
75
77
  QtiAssessmentSection,
78
+ QtiBranchRule,
76
79
  QtiItemSessionControl,
80
+ QtiNumberPresented,
77
81
  QtiNumberSelected,
82
+ QtiPreCondition,
78
83
  QtiOutcomeProcessing,
79
84
  QtiOutcomeProcessingProcessor,
80
85
  QtiTestFeedback,
@@ -353,10 +358,6 @@ follow, so the item keeps no list of them to set it on. */
353
358
  "onqti-assessment-item-connected"?: ((e: CustomEvent) => void) | undefined;
354
359
  /** Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing. */
355
360
  "onqti-item-context-updated"?: ((e: CustomEvent) => void) | undefined;
356
- /** */
357
- "onqti-interaction-changed"?: ((e: CustomEvent) => void) | undefined;
358
- /** */
359
- "onqti-outcome-changed"?: ((e: CustomEvent) => void) | undefined;
360
361
  };
361
362
 
362
363
  export type QtiAssessmentItemSolidJsProps = {
@@ -390,10 +391,6 @@ follow, so the item keeps no list of them to set it on. */
390
391
  "on:qti-assessment-item-connected"?: ((e: CustomEvent) => void) | undefined;
391
392
  /** Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing. */
392
393
  "on:qti-item-context-updated"?: ((e: CustomEvent) => void) | undefined;
393
- /** */
394
- "on:qti-interaction-changed"?: ((e: CustomEvent) => void) | undefined;
395
- /** */
396
- "on:qti-outcome-changed"?: ((e: CustomEvent) => void) | undefined;
397
394
 
398
395
  /** Set the innerHTML of the element */
399
396
  innerHTML?: string | undefined;
@@ -2170,6 +2167,14 @@ casts, rather than pretending at an encapsulation the type system was the only t
2170
2167
  };
2171
2168
 
2172
2169
  export type QtiGraphicGapMatchInteractionProps = {
2170
+ /** A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
2171
+ `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
2172
+ beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
2173
+ declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
2174
+ their hotspots through `--qti-graphic-scale` instead. */
2175
+ autoSizeDropzones?:
2176
+ | QtiGraphicGapMatchInteraction["autoSizeDropzones"]
2177
+ | undefined;
2173
2178
  /** */
2174
2179
  allowReorder?: QtiGraphicGapMatchInteraction["allowReorder"] | undefined;
2175
2180
  /** */
@@ -2183,6 +2188,14 @@ export type QtiGraphicGapMatchInteractionProps = {
2183
2188
  };
2184
2189
 
2185
2190
  export type QtiGraphicGapMatchInteractionSolidJsProps = {
2191
+ /** A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
2192
+ `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
2193
+ beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
2194
+ declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
2195
+ their hotspots through `--qti-graphic-scale` instead. */
2196
+ "prop:autoSizeDropzones"?:
2197
+ | QtiGraphicGapMatchInteraction["autoSizeDropzones"]
2198
+ | undefined;
2186
2199
  /** */
2187
2200
  "prop:allowReorder"?:
2188
2201
  | QtiGraphicGapMatchInteraction["allowReorder"]
@@ -3152,11 +3165,11 @@ export type QtiPortableCustomInteractionProps = {
3152
3165
  | undefined;
3153
3166
  /** */
3154
3167
  requireShimJson?: QtiPortableCustomInteraction["requireShimJson"] | undefined;
3155
- /** */
3168
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3156
3169
  "data-require-js-url"?:
3157
3170
  | QtiPortableCustomInteraction["requireJsUrl"]
3158
3171
  | undefined;
3159
- /** */
3172
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3160
3173
  requireJsUrl?: QtiPortableCustomInteraction["requireJsUrl"] | undefined;
3161
3174
  /** */
3162
3175
  "data-base-url"?: QtiPortableCustomInteraction["baseUrl"] | undefined;
@@ -3261,11 +3274,11 @@ export type QtiPortableCustomInteractionSolidJsProps = {
3261
3274
  "prop:requireShimJson"?:
3262
3275
  | QtiPortableCustomInteraction["requireShimJson"]
3263
3276
  | undefined;
3264
- /** */
3277
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3265
3278
  "attr:data-require-js-url"?:
3266
3279
  | QtiPortableCustomInteraction["requireJsUrl"]
3267
3280
  | undefined;
3268
- /** */
3281
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3269
3282
  "prop:requireJsUrl"?:
3270
3283
  | QtiPortableCustomInteraction["requireJsUrl"]
3271
3284
  | undefined;
@@ -3380,11 +3393,11 @@ export type QtiPortableCustomInteractionTestProps = {
3380
3393
  requireShimJson?:
3381
3394
  | QtiPortableCustomInteractionTest["requireShimJson"]
3382
3395
  | undefined;
3383
- /** */
3396
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3384
3397
  "data-require-js-url"?:
3385
3398
  | QtiPortableCustomInteractionTest["requireJsUrl"]
3386
3399
  | undefined;
3387
- /** */
3400
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3388
3401
  requireJsUrl?: QtiPortableCustomInteractionTest["requireJsUrl"] | undefined;
3389
3402
  /** */
3390
3403
  "data-base-url"?: QtiPortableCustomInteractionTest["baseUrl"] | undefined;
@@ -3491,11 +3504,11 @@ export type QtiPortableCustomInteractionTestSolidJsProps = {
3491
3504
  "prop:requireShimJson"?:
3492
3505
  | QtiPortableCustomInteractionTest["requireShimJson"]
3493
3506
  | undefined;
3494
- /** */
3507
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3495
3508
  "attr:data-require-js-url"?:
3496
3509
  | QtiPortableCustomInteractionTest["requireJsUrl"]
3497
3510
  | undefined;
3498
- /** */
3511
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3499
3512
  "prop:requireJsUrl"?:
3500
3513
  | QtiPortableCustomInteractionTest["requireJsUrl"]
3501
3514
  | undefined;
@@ -3770,7 +3783,8 @@ export type QtiSliderInteractionProps = {
3770
3783
  max?: QtiSliderInteraction["max"] | undefined;
3771
3784
  /** */
3772
3785
  step?: QtiSliderInteraction["step"] | undefined;
3773
- /** */
3786
+ /** Shows the value without publishing it: it came from the item (a default or a restored answer) or
3787
+ from the host, which hold it already. Only the candidate's input is published. */
3774
3788
  response?: QtiSliderInteraction["response"] | undefined;
3775
3789
  /** */
3776
3790
  "response-identifier"?:
@@ -3829,7 +3843,8 @@ export type QtiSliderInteractionSolidJsProps = {
3829
3843
  "prop:max"?: QtiSliderInteraction["max"] | undefined;
3830
3844
  /** */
3831
3845
  "prop:step"?: QtiSliderInteraction["step"] | undefined;
3832
- /** */
3846
+ /** Shows the value without publishing it: it came from the item (a default or a restored answer) or
3847
+ from the host, which hold it already. Only the candidate's input is published. */
3833
3848
  "prop:response"?: QtiSliderInteraction["response"] | undefined;
3834
3849
  /** */
3835
3850
  "attr:response-identifier"?:
@@ -4158,9 +4173,6 @@ export type QtiAssessmentTestProps = {
4158
4173
  title?: QtiAssessmentTest["title"] | undefined;
4159
4174
  /** */
4160
4175
  _testContext?: QtiAssessmentTest["_testContext"] | undefined;
4161
-
4162
- /** */
4163
- "onqti-assessment-test-connected"?: ((e: CustomEvent) => void) | undefined;
4164
4176
  };
4165
4177
 
4166
4178
  export type QtiAssessmentTestSolidJsProps = {
@@ -4170,8 +4182,6 @@ export type QtiAssessmentTestSolidJsProps = {
4170
4182
  "prop:title"?: QtiAssessmentTest["title"] | undefined;
4171
4183
  /** */
4172
4184
  "prop:_testContext"?: QtiAssessmentTest["_testContext"] | undefined;
4173
- /** */
4174
- "on:qti-assessment-test-connected"?: ((e: CustomEvent) => void) | undefined;
4175
4185
 
4176
4186
  /** Set the innerHTML of the element */
4177
4187
  innerHTML?: string | undefined;
@@ -4194,11 +4204,6 @@ export type QtiAssessmentItemRefProps = {
4194
4204
  xmlDoc?: QtiAssessmentItemRef["xmlDoc"] | undefined;
4195
4205
  /** */
4196
4206
  myTemplate?: QtiAssessmentItemRef["myTemplate"] | undefined;
4197
-
4198
- /** */
4199
- "onqti-assessment-item-ref-connected"?:
4200
- | ((e: CustomEvent) => void)
4201
- | undefined;
4202
4207
  };
4203
4208
 
4204
4209
  export type QtiAssessmentItemRefSolidJsProps = {
@@ -4216,10 +4221,6 @@ export type QtiAssessmentItemRefSolidJsProps = {
4216
4221
  "prop:xmlDoc"?: QtiAssessmentItemRef["xmlDoc"] | undefined;
4217
4222
  /** */
4218
4223
  "prop:myTemplate"?: QtiAssessmentItemRef["myTemplate"] | undefined;
4219
- /** */
4220
- "on:qti-assessment-item-ref-connected"?:
4221
- | ((e: CustomEvent) => void)
4222
- | undefined;
4223
4224
 
4224
4225
  /** Set the innerHTML of the element */
4225
4226
  innerHTML?: string | undefined;
@@ -4291,6 +4292,21 @@ export type QtiAssessmentSectionSolidJsProps = {
4291
4292
  textContent?: string | number | undefined;
4292
4293
  };
4293
4294
 
4295
+ export type QtiBranchRuleProps = {
4296
+ /** Required. The identifier of an item ref, section or test part ahead of the parent, or one of the reserved targets `EXIT_SECTION`, `EXIT_TESTPART`, `EXIT_TEST`. */
4297
+ target?: QtiBranchRule["target"] | undefined;
4298
+ };
4299
+
4300
+ export type QtiBranchRuleSolidJsProps = {
4301
+ /** Required. The identifier of an item ref, section or test part ahead of the parent, or one of the reserved targets `EXIT_SECTION`, `EXIT_TESTPART`, `EXIT_TEST`. */
4302
+ "prop:target"?: QtiBranchRule["target"] | undefined;
4303
+
4304
+ /** Set the innerHTML of the element */
4305
+ innerHTML?: string | undefined;
4306
+ /** Set the textContent of the element */
4307
+ textContent?: string | number | undefined;
4308
+ };
4309
+
4294
4310
  export type QtiItemSessionControlProps = {
4295
4311
  /** */
4296
4312
  "max-attempts"?: QtiItemSessionControl["maxAttempts"] | undefined;
@@ -4371,6 +4387,21 @@ export type QtiItemSessionControlSolidJsProps = {
4371
4387
  textContent?: string | number | undefined;
4372
4388
  };
4373
4389
 
4390
+ export type QtiNumberPresentedProps = {
4391
+ /** */
4392
+ getVariables?: QtiNumberPresented["getVariables"] | undefined;
4393
+ };
4394
+
4395
+ export type QtiNumberPresentedSolidJsProps = {
4396
+ /** */
4397
+ "prop:getVariables"?: QtiNumberPresented["getVariables"] | undefined;
4398
+
4399
+ /** Set the innerHTML of the element */
4400
+ innerHTML?: string | undefined;
4401
+ /** Set the textContent of the element */
4402
+ textContent?: string | number | undefined;
4403
+ };
4404
+
4374
4405
  export type QtiNumberSelectedProps = {
4375
4406
  /** */
4376
4407
  getVariables?: QtiNumberSelected["getVariables"] | undefined;
@@ -4386,6 +4417,15 @@ export type QtiNumberSelectedSolidJsProps = {
4386
4417
  textContent?: string | number | undefined;
4387
4418
  };
4388
4419
 
4420
+ export type QtiPreConditionProps = {};
4421
+
4422
+ export type QtiPreConditionSolidJsProps = {
4423
+ /** Set the innerHTML of the element */
4424
+ innerHTML?: string | undefined;
4425
+ /** Set the textContent of the element */
4426
+ textContent?: string | number | undefined;
4427
+ };
4428
+
4389
4429
  export type QtiOutcomeProcessingProps = {};
4390
4430
 
4391
4431
  export type QtiOutcomeProcessingSolidJsProps = {
@@ -4396,6 +4436,8 @@ export type QtiOutcomeProcessingSolidJsProps = {
4396
4436
  };
4397
4437
 
4398
4438
  export type QtiTestFeedbackProps = {
4439
+ /** When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`). */
4440
+ access?: QtiTestFeedback["access"] | undefined;
4399
4441
  /** */
4400
4442
  "show-hide"?: QtiTestFeedback["showHide"] | undefined;
4401
4443
  /** */
@@ -4411,6 +4453,8 @@ export type QtiTestFeedbackProps = {
4411
4453
  };
4412
4454
 
4413
4455
  export type QtiTestFeedbackSolidJsProps = {
4456
+ /** When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`). */
4457
+ "prop:access"?: QtiTestFeedback["access"] | undefined;
4414
4458
  /** */
4415
4459
  "attr:show-hide"?: QtiTestFeedback["showHide"] | undefined;
4416
4460
  /** */
@@ -4606,9 +4650,6 @@ export type TestItemLinkProps = {
4606
4650
  "item-id"?: TestItemLink["itemId"] | undefined;
4607
4651
  /** */
4608
4652
  itemId?: TestItemLink["itemId"] | undefined;
4609
-
4610
- /** */
4611
- "onqti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
4612
4653
  };
4613
4654
 
4614
4655
  export type TestItemLinkSolidJsProps = {
@@ -4616,8 +4657,6 @@ export type TestItemLinkSolidJsProps = {
4616
4657
  "attr:item-id"?: TestItemLink["itemId"] | undefined;
4617
4658
  /** */
4618
4659
  "prop:itemId"?: TestItemLink["itemId"] | undefined;
4619
- /** */
4620
- "on:qti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
4621
4660
 
4622
4661
  /** Set the innerHTML of the element */
4623
4662
  innerHTML?: string | undefined;
@@ -4846,9 +4885,6 @@ export type TestNextProps = {
4846
4885
  role?: TestNext["role"] | undefined;
4847
4886
  /** */
4848
4887
  ariaLabel?: TestNext["ariaLabel"] | undefined;
4849
-
4850
- /** */
4851
- "onqti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
4852
4888
  };
4853
4889
 
4854
4890
  export type TestNextSolidJsProps = {
@@ -4864,8 +4900,6 @@ export type TestNextSolidJsProps = {
4864
4900
  "prop:role"?: TestNext["role"] | undefined;
4865
4901
  /** */
4866
4902
  "prop:ariaLabel"?: TestNext["ariaLabel"] | undefined;
4867
- /** */
4868
- "on:qti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
4869
4903
 
4870
4904
  /** Set the innerHTML of the element */
4871
4905
  innerHTML?: string | undefined;
@@ -4901,9 +4935,6 @@ export type TestPrevProps = {
4901
4935
  sectionItems?: TestPrev["sectionItems"] | undefined;
4902
4936
  /** */
4903
4937
  itemIndex?: TestPrev["itemIndex"] | undefined;
4904
-
4905
- /** */
4906
- "onqti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
4907
4938
  };
4908
4939
 
4909
4940
  export type TestPrevSolidJsProps = {
@@ -4915,8 +4946,6 @@ export type TestPrevSolidJsProps = {
4915
4946
  "prop:sectionItems"?: TestPrev["sectionItems"] | undefined;
4916
4947
  /** */
4917
4948
  "prop:itemIndex"?: TestPrev["itemIndex"] | undefined;
4918
- /** */
4919
- "on:qti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
4920
4949
 
4921
4950
  /** Set the innerHTML of the element */
4922
4951
  innerHTML?: string | undefined;
@@ -4961,9 +4990,6 @@ export type TestScoringButtonsProps = {
4961
4990
  disabled?: TestScoringButtons["disabled"] | undefined;
4962
4991
  /** */
4963
4992
  myTemplate?: TestScoringButtons["myTemplate"] | undefined;
4964
-
4965
- /** */
4966
- "ontest-update-outcome-variable"?: ((e: CustomEvent) => void) | undefined;
4967
4993
  };
4968
4994
 
4969
4995
  export type TestScoringButtonsSolidJsProps = {
@@ -4973,8 +4999,6 @@ export type TestScoringButtonsSolidJsProps = {
4973
4999
  "prop:disabled"?: TestScoringButtons["disabled"] | undefined;
4974
5000
  /** */
4975
5001
  "prop:myTemplate"?: TestScoringButtons["myTemplate"] | undefined;
4976
- /** */
4977
- "on:test-update-outcome-variable"?: ((e: CustomEvent) => void) | undefined;
4978
5002
 
4979
5003
  /** Set the innerHTML of the element */
4980
5004
  innerHTML?: string | undefined;
@@ -5021,9 +5045,6 @@ export type TestSectionLinkProps = {
5021
5045
  "section-id"?: TestSectionLink["sectionId"] | undefined;
5022
5046
  /** */
5023
5047
  sectionId?: TestSectionLink["sectionId"] | undefined;
5024
-
5025
- /** */
5026
- "onqti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
5027
5048
  };
5028
5049
 
5029
5050
  export type TestSectionLinkSolidJsProps = {
@@ -5031,8 +5052,6 @@ export type TestSectionLinkSolidJsProps = {
5031
5052
  "attr:section-id"?: TestSectionLink["sectionId"] | undefined;
5032
5053
  /** */
5033
5054
  "prop:sectionId"?: TestSectionLink["sectionId"] | undefined;
5034
- /** */
5035
- "on:qti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
5036
5055
 
5037
5056
  /** Set the innerHTML of the element */
5038
5057
  innerHTML?: string | undefined;
@@ -5073,9 +5092,6 @@ export type TestViewProps = {
5073
5092
  "view-options"?: TestView["viewOptions"] | undefined;
5074
5093
  /** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
5075
5094
  viewOptions?: TestView["viewOptions"] | undefined;
5076
-
5077
- /** */
5078
- "onon-test-switch-view"?: ((e: CustomEvent) => void) | undefined;
5079
5095
  };
5080
5096
 
5081
5097
  export type TestViewSolidJsProps = {
@@ -5085,8 +5101,6 @@ export type TestViewSolidJsProps = {
5085
5101
  "attr:view-options"?: TestView["viewOptions"] | undefined;
5086
5102
  /** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
5087
5103
  "prop:viewOptions"?: TestView["viewOptions"] | undefined;
5088
- /** */
5089
- "on:on-test-switch-view"?: ((e: CustomEvent) => void) | undefined;
5090
5104
 
5091
5105
  /** Set the innerHTML of the element */
5092
5106
  innerHTML?: string | undefined;
@@ -5097,16 +5111,11 @@ export type TestViewSolidJsProps = {
5097
5111
  export type TestViewToggleProps = {
5098
5112
  /** */
5099
5113
  myTemplate?: TestViewToggle["myTemplate"] | undefined;
5100
-
5101
- /** */
5102
- "onon-test-switch-view"?: ((e: CustomEvent) => void) | undefined;
5103
5114
  };
5104
5115
 
5105
5116
  export type TestViewToggleSolidJsProps = {
5106
5117
  /** */
5107
5118
  "prop:myTemplate"?: TestViewToggle["myTemplate"] | undefined;
5108
- /** */
5109
- "on:on-test-switch-view"?: ((e: CustomEvent) => void) | undefined;
5110
5119
 
5111
5120
  /** Set the innerHTML of the element */
5112
5121
  innerHTML?: string | undefined;
@@ -6296,10 +6305,6 @@ follow, so the item keeps no list of them to set it on. */
6296
6305
  "onqti-assessment-item-connected"?: ((e: CustomEvent) => void) | undefined;
6297
6306
  /** Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing. */
6298
6307
  "onqti-item-context-updated"?: ((e: CustomEvent) => void) | undefined;
6299
- /** */
6300
- "onqti-interaction-changed"?: ((e: CustomEvent) => void) | undefined;
6301
- /** */
6302
- "onqti-outcome-changed"?: ((e: CustomEvent) => void) | undefined;
6303
6308
  };
6304
6309
 
6305
6310
  export type QtiAssessmentItemCorrectionSolidJsProps = {
@@ -6337,10 +6342,6 @@ follow, so the item keeps no list of them to set it on. */
6337
6342
  "on:qti-assessment-item-connected"?: ((e: CustomEvent) => void) | undefined;
6338
6343
  /** Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing. */
6339
6344
  "on:qti-item-context-updated"?: ((e: CustomEvent) => void) | undefined;
6340
- /** */
6341
- "on:qti-interaction-changed"?: ((e: CustomEvent) => void) | undefined;
6342
- /** */
6343
- "on:qti-outcome-changed"?: ((e: CustomEvent) => void) | undefined;
6344
6345
 
6345
6346
  /** Set the innerHTML of the element */
6346
6347
  innerHTML?: string | undefined;
@@ -6739,8 +6740,6 @@ export type CustomElements = {
6739
6740
  *
6740
6741
  * - `qti-assessment-item-connected`: undefined
6741
6742
  * - `qti-item-context-updated`: Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing.
6742
- * - `qti-interaction-changed`: undefined
6743
- * - `qti-outcome-changed`: undefined
6744
6743
  *
6745
6744
  * ## Methods
6746
6745
  *
@@ -7987,6 +7986,11 @@ export type CustomElements = {
7987
7986
  *
7988
7987
  * Component attributes and properties that can be applied to the element or by using JavaScript.
7989
7988
  *
7989
+ * - `autoSizeDropzones`: A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
7990
+ * `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
7991
+ * beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
7992
+ * declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
7993
+ * their hotspots through `--qti-graphic-scale` instead. (property only)
7990
7994
  * - `allowReorder`: undefined (property only)
7991
7995
  * - `sortablePlaceholderConfig`: undefined (property only)
7992
7996
  * - `sortableAnimationConfig`: undefined (property only)
@@ -8651,7 +8655,7 @@ export type CustomElements = {
8651
8655
  * - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
8652
8656
  * - `data-require-paths`/`requirePathsJson`: undefined
8653
8657
  * - `data-require-shim`/`requireShimJson`: undefined
8654
- * - `data-require-js-url`/`requireJsUrl`: undefined
8658
+ * - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
8655
8659
  * - `data-base-url`/`baseUrl`: undefined
8656
8660
  * - `data-use-default-paths`/`useDefaultPaths`: undefined
8657
8661
  * - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
@@ -8734,7 +8738,7 @@ export type CustomElements = {
8734
8738
  * - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
8735
8739
  * - `data-require-paths`/`requirePathsJson`: undefined
8736
8740
  * - `data-require-shim`/`requireShimJson`: undefined
8737
- * - `data-require-js-url`/`requireJsUrl`: undefined
8741
+ * - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
8738
8742
  * - `data-base-url`/`baseUrl`: undefined
8739
8743
  * - `data-use-default-paths`/`useDefaultPaths`: undefined
8740
8744
  * - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
@@ -8955,7 +8959,8 @@ export type CustomElements = {
8955
8959
  * - `lower-bound`/`min`: undefined
8956
8960
  * - `upper-bound`/`max`: undefined
8957
8961
  * - `step`: undefined
8958
- * - `response`: undefined
8962
+ * - `response`: Shows the value without publishing it: it came from the item (a default or a restored answer) or
8963
+ * from the host, which hold it already. Only the candidate's input is published.
8959
8964
  * - `response-identifier`/`responseIdentifier`: undefined
8960
8965
  * - `disabled`: undefined
8961
8966
  * - `readonly`: undefined
@@ -9181,12 +9186,6 @@ export type CustomElements = {
9181
9186
  * - `identifier`: undefined
9182
9187
  * - `title`: undefined
9183
9188
  * - `_testContext`: undefined (property only)
9184
- *
9185
- * ## Events
9186
- *
9187
- * Events that will be emitted by the component.
9188
- *
9189
- * - `qti-assessment-test-connected`: undefined
9190
9189
  */
9191
9190
  "qti-assessment-test": Partial<
9192
9191
  QtiAssessmentTestProps & BaseProps<QtiAssessmentTest> & BaseEvents
@@ -9213,12 +9212,6 @@ export type CustomElements = {
9213
9212
  * - `xmlDoc`: undefined (property only)
9214
9213
  * - `assessmentItem`: undefined (property only) (readonly)
9215
9214
  * - `myTemplate`: undefined (property only)
9216
- *
9217
- * ## Events
9218
- *
9219
- * Events that will be emitted by the component.
9220
- *
9221
- * - `qti-assessment-item-ref-connected`: undefined
9222
9215
  */
9223
9216
  "qti-assessment-item-ref": Partial<
9224
9217
  QtiAssessmentItemRefProps & BaseProps<QtiAssessmentItemRef> & BaseEvents
@@ -9251,6 +9244,31 @@ export type CustomElements = {
9251
9244
  QtiAssessmentSectionProps & BaseProps<QtiAssessmentSection> & BaseEvents
9252
9245
  >;
9253
9246
 
9247
+ /**
9248
+ *
9249
+ *
9250
+ * ## Attributes & Properties
9251
+ *
9252
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9253
+ *
9254
+ * - `target`: Required. The identifier of an item ref, section or test part ahead of the parent, or one of the reserved targets `EXIT_SECTION`, `EXIT_TESTPART`, `EXIT_TEST`.
9255
+ *
9256
+ * ## Slots
9257
+ *
9258
+ * Areas where markup can be added to the component.
9259
+ *
9260
+ * - `(default)`: The boolean expression.
9261
+ *
9262
+ * ## Methods
9263
+ *
9264
+ * Methods that can be called to access component functionality.
9265
+ *
9266
+ * - `evaluate() => boolean`: `true` when the test should jump to `target`.
9267
+ */
9268
+ "qti-branch-rule": Partial<
9269
+ QtiBranchRuleProps & BaseProps<QtiBranchRule> & BaseEvents
9270
+ >;
9271
+
9254
9272
  /**
9255
9273
  *
9256
9274
  *
@@ -9276,6 +9294,39 @@ export type CustomElements = {
9276
9294
  QtiItemSessionControlProps & BaseProps<QtiItemSessionControl> & BaseEvents
9277
9295
  >;
9278
9296
 
9297
+ /**
9298
+ *
9299
+ *
9300
+ * ## Attributes & Properties
9301
+ *
9302
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9303
+ *
9304
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
9305
+ *
9306
+ * This is the supported way to inspect a scoring run: process the responses,
9307
+ * then walk the rule tree reading this off each expression. A tool that wants
9308
+ * to visualise how a score came about gets the whole tree annotated with its
9309
+ * values, without the components having to re-render to show them. (property only) (readonly)
9310
+ * - `lastVariables`: undefined (property only) (readonly)
9311
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
9312
+ * one regardless of its operands — `qti-divide` is a float even dividing two
9313
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
9314
+ *
9315
+ * Left undefined by operators whose result type follows their operands (a
9316
+ * `qti-sum` of integers is an integer) and by those that return no number at
9317
+ * all; the type is then read off the value. (property only) (readonly)
9318
+ * - `getVariables`: undefined (property only)
9319
+ *
9320
+ * ## Methods
9321
+ *
9322
+ * Methods that can be called to access component functionality.
9323
+ *
9324
+ * - `calculate() => number`: undefined
9325
+ */
9326
+ "qti-number-presented": Partial<
9327
+ QtiNumberPresentedProps & BaseProps<QtiNumberPresented> & BaseEvents
9328
+ >;
9329
+
9279
9330
  /**
9280
9331
  *
9281
9332
  *
@@ -9309,6 +9360,25 @@ export type CustomElements = {
9309
9360
  QtiNumberSelectedProps & BaseProps<QtiNumberSelected> & BaseEvents
9310
9361
  >;
9311
9362
 
9363
+ /**
9364
+ *
9365
+ *
9366
+ * ## Slots
9367
+ *
9368
+ * Areas where markup can be added to the component.
9369
+ *
9370
+ * - `(default)`: The boolean expression.
9371
+ *
9372
+ * ## Methods
9373
+ *
9374
+ * Methods that can be called to access component functionality.
9375
+ *
9376
+ * - `evaluate() => boolean`: `true` when the parent may be presented.
9377
+ */
9378
+ "qti-pre-condition": Partial<
9379
+ QtiPreConditionProps & BaseProps<QtiPreCondition> & BaseEvents
9380
+ >;
9381
+
9312
9382
  /**
9313
9383
  *
9314
9384
  *
@@ -9323,12 +9393,14 @@ export type CustomElements = {
9323
9393
  >;
9324
9394
 
9325
9395
  /**
9326
- *
9396
+ * Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
9397
+ * the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
9327
9398
  *
9328
9399
  * ## Attributes & Properties
9329
9400
  *
9330
9401
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9331
9402
  *
9403
+ * - `access`: When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`).
9332
9404
  * - `show-hide`/`showHide`: undefined
9333
9405
  * - `outcome-identifier`/`outcomeIdentifier`: undefined
9334
9406
  * - `identifier`: undefined
@@ -9338,6 +9410,8 @@ export type CustomElements = {
9338
9410
  *
9339
9411
  * Methods that can be called to access component functionality.
9340
9412
  *
9413
+ * - `matches(value: string | readonly string[] | null | undefined) => boolean`: Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
9414
+ * when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
9341
9415
  * - `openFeedback() => void`: undefined
9342
9416
  * - `closeFeedback() => void`: undefined
9343
9417
  * - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
@@ -9540,12 +9614,6 @@ export type CustomElements = {
9540
9614
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9541
9615
  *
9542
9616
  * - `item-id`/`itemId`: undefined
9543
- *
9544
- * ## Events
9545
- *
9546
- * Events that will be emitted by the component.
9547
- *
9548
- * - `qti-request-navigation`: undefined
9549
9617
  */
9550
9618
  "test-item-link": Partial<
9551
9619
  TestItemLinkProps & BaseProps<TestItemLink> & BaseEvents
@@ -9811,12 +9879,6 @@ export type CustomElements = {
9811
9879
  * - `role`: undefined (property only)
9812
9880
  * - `ariaLabel`: undefined (property only)
9813
9881
  *
9814
- * ## Events
9815
- *
9816
- * Events that will be emitted by the component.
9817
- *
9818
- * - `qti-request-navigation`: undefined
9819
- *
9820
9882
  * ## Methods
9821
9883
  *
9822
9884
  * Methods that can be called to access component functionality.
@@ -9853,12 +9915,6 @@ export type CustomElements = {
9853
9915
  * - `sectionItems`: undefined (property only)
9854
9916
  * - `itemIndex`: undefined (property only)
9855
9917
  *
9856
- * ## Events
9857
- *
9858
- * Events that will be emitted by the component.
9859
- *
9860
- * - `qti-request-navigation`: undefined
9861
- *
9862
9918
  * ## Methods
9863
9919
  *
9864
9920
  * Methods that can be called to access component functionality.
@@ -9904,12 +9960,6 @@ export type CustomElements = {
9904
9960
  * - `view`: undefined
9905
9961
  * - `disabled`: undefined
9906
9962
  * - `myTemplate`: undefined (property only)
9907
- *
9908
- * ## Events
9909
- *
9910
- * Events that will be emitted by the component.
9911
- *
9912
- * - `test-update-outcome-variable`: undefined
9913
9963
  */
9914
9964
  "test-scoring-buttons": Partial<
9915
9965
  TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents
@@ -9954,12 +10004,6 @@ export type CustomElements = {
9954
10004
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9955
10005
  *
9956
10006
  * - `section-id`/`sectionId`: undefined
9957
- *
9958
- * ## Events
9959
- *
9960
- * Events that will be emitted by the component.
9961
- *
9962
- * - `qti-request-navigation`: undefined
9963
10007
  */
9964
10008
  "test-section-link": Partial<
9965
10009
  TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
@@ -9994,12 +10038,6 @@ export type CustomElements = {
9994
10038
  *
9995
10039
  * - `label`: label accompanying the select view dropdown
9996
10040
  * - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
9997
- *
9998
- * ## Events
9999
- *
10000
- * Events that will be emitted by the component.
10001
- *
10002
- * - `on-test-switch-view`: undefined
10003
10041
  */
10004
10042
  "test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
10005
10043
 
@@ -10012,12 +10050,6 @@ export type CustomElements = {
10012
10050
  *
10013
10051
  * - `myTemplate`: undefined (property only)
10014
10052
  *
10015
- * ## Events
10016
- *
10017
- * Events that will be emitted by the component.
10018
- *
10019
- * - `on-test-switch-view`: undefined
10020
- *
10021
10053
  * ## Methods
10022
10054
  *
10023
10055
  * Methods that can be called to access component functionality.
@@ -10475,6 +10507,9 @@ export type CustomElements = {
10475
10507
  *
10476
10508
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10477
10509
  *
10510
+ * - `resultBaseType`: The base type of the field last read: as declared on the record's correct response when it
10511
+ * is, otherwise read off the value. The value alone is a string like `"4.1"` or `"455 250"`, and
10512
+ * an operator reading it as text would refuse to compare it as a number or test it as a point. (property only) (readonly)
10478
10513
  * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10479
10514
  *
10480
10515
  * This is the supported way to inspect a scoring run: process the responses,
@@ -10482,13 +10517,6 @@ export type CustomElements = {
10482
10517
  * to visualise how a score came about gets the whole tree annotated with its
10483
10518
  * values, without the components having to re-render to show them. (property only) (readonly)
10484
10519
  * - `lastVariables`: undefined (property only) (readonly)
10485
- * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10486
- * one regardless of its operands — `qti-divide` is a float even dividing two
10487
- * integers exactly, and `qti-round` is an integer whatever it rounds.
10488
- *
10489
- * Left undefined by operators whose result type follows their operands (a
10490
- * `qti-sum` of integers is an integer) and by those that return no number at
10491
- * all; the type is then read off the value. (property only) (readonly)
10492
10520
  * - `getVariables`: undefined (property only)
10493
10521
  *
10494
10522
  * ## Methods
@@ -12039,8 +12067,6 @@ export type CustomElements = {
12039
12067
  *
12040
12068
  * - `qti-assessment-item-connected`: undefined
12041
12069
  * - `qti-item-context-updated`: Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing.
12042
- * - `qti-interaction-changed`: undefined
12043
- * - `qti-outcome-changed`: undefined
12044
12070
  *
12045
12071
  * ## Methods
12046
12072
  *
@@ -12358,8 +12384,6 @@ export type CustomElementsSolidJs = {
12358
12384
  *
12359
12385
  * - `qti-assessment-item-connected`: undefined
12360
12386
  * - `qti-item-context-updated`: Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing.
12361
- * - `qti-interaction-changed`: undefined
12362
- * - `qti-outcome-changed`: undefined
12363
12387
  *
12364
12388
  * ## Methods
12365
12389
  *
@@ -13700,6 +13724,11 @@ export type CustomElementsSolidJs = {
13700
13724
  *
13701
13725
  * Component attributes and properties that can be applied to the element or by using JavaScript.
13702
13726
  *
13727
+ * - `autoSizeDropzones`: A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
13728
+ * `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
13729
+ * beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
13730
+ * declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
13731
+ * their hotspots through `--qti-graphic-scale` instead. (property only)
13703
13732
  * - `allowReorder`: undefined (property only)
13704
13733
  * - `sortablePlaceholderConfig`: undefined (property only)
13705
13734
  * - `sortableAnimationConfig`: undefined (property only)
@@ -14382,7 +14411,7 @@ export type CustomElementsSolidJs = {
14382
14411
  * - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
14383
14412
  * - `data-require-paths`/`requirePathsJson`: undefined
14384
14413
  * - `data-require-shim`/`requireShimJson`: undefined
14385
- * - `data-require-js-url`/`requireJsUrl`: undefined
14414
+ * - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
14386
14415
  * - `data-base-url`/`baseUrl`: undefined
14387
14416
  * - `data-use-default-paths`/`useDefaultPaths`: undefined
14388
14417
  * - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
@@ -14466,7 +14495,7 @@ export type CustomElementsSolidJs = {
14466
14495
  * - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
14467
14496
  * - `data-require-paths`/`requirePathsJson`: undefined
14468
14497
  * - `data-require-shim`/`requireShimJson`: undefined
14469
- * - `data-require-js-url`/`requireJsUrl`: undefined
14498
+ * - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
14470
14499
  * - `data-base-url`/`baseUrl`: undefined
14471
14500
  * - `data-use-default-paths`/`useDefaultPaths`: undefined
14472
14501
  * - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
@@ -14693,7 +14722,8 @@ export type CustomElementsSolidJs = {
14693
14722
  * - `lower-bound`/`min`: undefined
14694
14723
  * - `upper-bound`/`max`: undefined
14695
14724
  * - `step`: undefined
14696
- * - `response`: undefined
14725
+ * - `response`: Shows the value without publishing it: it came from the item (a default or a restored answer) or
14726
+ * from the host, which hold it already. Only the candidate's input is published.
14697
14727
  * - `response-identifier`/`responseIdentifier`: undefined
14698
14728
  * - `disabled`: undefined
14699
14729
  * - `readonly`: undefined
@@ -14926,12 +14956,6 @@ export type CustomElementsSolidJs = {
14926
14956
  * - `identifier`: undefined
14927
14957
  * - `title`: undefined
14928
14958
  * - `_testContext`: undefined (property only)
14929
- *
14930
- * ## Events
14931
- *
14932
- * Events that will be emitted by the component.
14933
- *
14934
- * - `qti-assessment-test-connected`: undefined
14935
14959
  */
14936
14960
  "qti-assessment-test": Partial<
14937
14961
  QtiAssessmentTestProps &
@@ -14961,12 +14985,6 @@ export type CustomElementsSolidJs = {
14961
14985
  * - `xmlDoc`: undefined (property only)
14962
14986
  * - `assessmentItem`: undefined (property only) (readonly)
14963
14987
  * - `myTemplate`: undefined (property only)
14964
- *
14965
- * ## Events
14966
- *
14967
- * Events that will be emitted by the component.
14968
- *
14969
- * - `qti-assessment-item-ref-connected`: undefined
14970
14988
  */
14971
14989
  "qti-assessment-item-ref": Partial<
14972
14990
  QtiAssessmentItemRefProps &
@@ -15005,6 +15023,34 @@ export type CustomElementsSolidJs = {
15005
15023
  BaseEvents
15006
15024
  >;
15007
15025
 
15026
+ /**
15027
+ *
15028
+ *
15029
+ * ## Attributes & Properties
15030
+ *
15031
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15032
+ *
15033
+ * - `target`: Required. The identifier of an item ref, section or test part ahead of the parent, or one of the reserved targets `EXIT_SECTION`, `EXIT_TESTPART`, `EXIT_TEST`.
15034
+ *
15035
+ * ## Slots
15036
+ *
15037
+ * Areas where markup can be added to the component.
15038
+ *
15039
+ * - `(default)`: The boolean expression.
15040
+ *
15041
+ * ## Methods
15042
+ *
15043
+ * Methods that can be called to access component functionality.
15044
+ *
15045
+ * - `evaluate() => boolean`: `true` when the test should jump to `target`.
15046
+ */
15047
+ "qti-branch-rule": Partial<
15048
+ QtiBranchRuleProps &
15049
+ QtiBranchRuleSolidJsProps &
15050
+ BaseProps<QtiBranchRule> &
15051
+ BaseEvents
15052
+ >;
15053
+
15008
15054
  /**
15009
15055
  *
15010
15056
  *
@@ -15033,6 +15079,42 @@ export type CustomElementsSolidJs = {
15033
15079
  BaseEvents
15034
15080
  >;
15035
15081
 
15082
+ /**
15083
+ *
15084
+ *
15085
+ * ## Attributes & Properties
15086
+ *
15087
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15088
+ *
15089
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
15090
+ *
15091
+ * This is the supported way to inspect a scoring run: process the responses,
15092
+ * then walk the rule tree reading this off each expression. A tool that wants
15093
+ * to visualise how a score came about gets the whole tree annotated with its
15094
+ * values, without the components having to re-render to show them. (property only) (readonly)
15095
+ * - `lastVariables`: undefined (property only) (readonly)
15096
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
15097
+ * one regardless of its operands — `qti-divide` is a float even dividing two
15098
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
15099
+ *
15100
+ * Left undefined by operators whose result type follows their operands (a
15101
+ * `qti-sum` of integers is an integer) and by those that return no number at
15102
+ * all; the type is then read off the value. (property only) (readonly)
15103
+ * - `getVariables`: undefined (property only)
15104
+ *
15105
+ * ## Methods
15106
+ *
15107
+ * Methods that can be called to access component functionality.
15108
+ *
15109
+ * - `calculate() => number`: undefined
15110
+ */
15111
+ "qti-number-presented": Partial<
15112
+ QtiNumberPresentedProps &
15113
+ QtiNumberPresentedSolidJsProps &
15114
+ BaseProps<QtiNumberPresented> &
15115
+ BaseEvents
15116
+ >;
15117
+
15036
15118
  /**
15037
15119
  *
15038
15120
  *
@@ -15069,6 +15151,28 @@ export type CustomElementsSolidJs = {
15069
15151
  BaseEvents
15070
15152
  >;
15071
15153
 
15154
+ /**
15155
+ *
15156
+ *
15157
+ * ## Slots
15158
+ *
15159
+ * Areas where markup can be added to the component.
15160
+ *
15161
+ * - `(default)`: The boolean expression.
15162
+ *
15163
+ * ## Methods
15164
+ *
15165
+ * Methods that can be called to access component functionality.
15166
+ *
15167
+ * - `evaluate() => boolean`: `true` when the parent may be presented.
15168
+ */
15169
+ "qti-pre-condition": Partial<
15170
+ QtiPreConditionProps &
15171
+ QtiPreConditionSolidJsProps &
15172
+ BaseProps<QtiPreCondition> &
15173
+ BaseEvents
15174
+ >;
15175
+
15072
15176
  /**
15073
15177
  *
15074
15178
  *
@@ -15086,12 +15190,14 @@ export type CustomElementsSolidJs = {
15086
15190
  >;
15087
15191
 
15088
15192
  /**
15089
- *
15193
+ * Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
15194
+ * the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
15090
15195
  *
15091
15196
  * ## Attributes & Properties
15092
15197
  *
15093
15198
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15094
15199
  *
15200
+ * - `access`: When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`).
15095
15201
  * - `show-hide`/`showHide`: undefined
15096
15202
  * - `outcome-identifier`/`outcomeIdentifier`: undefined
15097
15203
  * - `identifier`: undefined
@@ -15101,6 +15207,8 @@ export type CustomElementsSolidJs = {
15101
15207
  *
15102
15208
  * Methods that can be called to access component functionality.
15103
15209
  *
15210
+ * - `matches(value: string | readonly string[] | null | undefined) => boolean`: Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
15211
+ * when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
15104
15212
  * - `openFeedback() => void`: undefined
15105
15213
  * - `closeFeedback() => void`: undefined
15106
15214
  * - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
@@ -15323,12 +15431,6 @@ export type CustomElementsSolidJs = {
15323
15431
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15324
15432
  *
15325
15433
  * - `item-id`/`itemId`: undefined
15326
- *
15327
- * ## Events
15328
- *
15329
- * Events that will be emitted by the component.
15330
- *
15331
- * - `qti-request-navigation`: undefined
15332
15434
  */
15333
15435
  "test-item-link": Partial<
15334
15436
  TestItemLinkProps &
@@ -15624,12 +15726,6 @@ export type CustomElementsSolidJs = {
15624
15726
  * - `role`: undefined (property only)
15625
15727
  * - `ariaLabel`: undefined (property only)
15626
15728
  *
15627
- * ## Events
15628
- *
15629
- * Events that will be emitted by the component.
15630
- *
15631
- * - `qti-request-navigation`: undefined
15632
- *
15633
15729
  * ## Methods
15634
15730
  *
15635
15731
  * Methods that can be called to access component functionality.
@@ -15671,12 +15767,6 @@ export type CustomElementsSolidJs = {
15671
15767
  * - `sectionItems`: undefined (property only)
15672
15768
  * - `itemIndex`: undefined (property only)
15673
15769
  *
15674
- * ## Events
15675
- *
15676
- * Events that will be emitted by the component.
15677
- *
15678
- * - `qti-request-navigation`: undefined
15679
- *
15680
15770
  * ## Methods
15681
15771
  *
15682
15772
  * Methods that can be called to access component functionality.
@@ -15730,12 +15820,6 @@ export type CustomElementsSolidJs = {
15730
15820
  * - `view`: undefined
15731
15821
  * - `disabled`: undefined
15732
15822
  * - `myTemplate`: undefined (property only)
15733
- *
15734
- * ## Events
15735
- *
15736
- * Events that will be emitted by the component.
15737
- *
15738
- * - `test-update-outcome-variable`: undefined
15739
15823
  */
15740
15824
  "test-scoring-buttons": Partial<
15741
15825
  TestScoringButtonsProps &
@@ -15787,12 +15871,6 @@ export type CustomElementsSolidJs = {
15787
15871
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15788
15872
  *
15789
15873
  * - `section-id`/`sectionId`: undefined
15790
- *
15791
- * ## Events
15792
- *
15793
- * Events that will be emitted by the component.
15794
- *
15795
- * - `qti-request-navigation`: undefined
15796
15874
  */
15797
15875
  "test-section-link": Partial<
15798
15876
  TestSectionLinkProps &
@@ -15832,12 +15910,6 @@ export type CustomElementsSolidJs = {
15832
15910
  *
15833
15911
  * - `label`: label accompanying the select view dropdown
15834
15912
  * - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
15835
- *
15836
- * ## Events
15837
- *
15838
- * Events that will be emitted by the component.
15839
- *
15840
- * - `on-test-switch-view`: undefined
15841
15913
  */
15842
15914
  "test-view": Partial<
15843
15915
  TestViewProps & TestViewSolidJsProps & BaseProps<TestView> & BaseEvents
@@ -15852,12 +15924,6 @@ export type CustomElementsSolidJs = {
15852
15924
  *
15853
15925
  * - `myTemplate`: undefined (property only)
15854
15926
  *
15855
- * ## Events
15856
- *
15857
- * Events that will be emitted by the component.
15858
- *
15859
- * - `on-test-switch-view`: undefined
15860
- *
15861
15927
  * ## Methods
15862
15928
  *
15863
15929
  * Methods that can be called to access component functionality.
@@ -16364,6 +16430,9 @@ export type CustomElementsSolidJs = {
16364
16430
  *
16365
16431
  * Component attributes and properties that can be applied to the element or by using JavaScript.
16366
16432
  *
16433
+ * - `resultBaseType`: The base type of the field last read: as declared on the record's correct response when it
16434
+ * is, otherwise read off the value. The value alone is a string like `"4.1"` or `"455 250"`, and
16435
+ * an operator reading it as text would refuse to compare it as a number or test it as a point. (property only) (readonly)
16367
16436
  * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16368
16437
  *
16369
16438
  * This is the supported way to inspect a scoring run: process the responses,
@@ -16371,13 +16440,6 @@ export type CustomElementsSolidJs = {
16371
16440
  * to visualise how a score came about gets the whole tree annotated with its
16372
16441
  * values, without the components having to re-render to show them. (property only) (readonly)
16373
16442
  * - `lastVariables`: undefined (property only) (readonly)
16374
- * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16375
- * one regardless of its operands — `qti-divide` is a float even dividing two
16376
- * integers exactly, and `qti-round` is an integer whatever it rounds.
16377
- *
16378
- * Left undefined by operators whose result type follows their operands (a
16379
- * `qti-sum` of integers is an integer) and by those that return no number at
16380
- * all; the type is then read off the value. (property only) (readonly)
16381
16443
  * - `getVariables`: undefined (property only)
16382
16444
  *
16383
16445
  * ## Methods
@@ -18076,8 +18138,6 @@ export type CustomElementsSolidJs = {
18076
18138
  *
18077
18139
  * - `qti-assessment-item-connected`: undefined
18078
18140
  * - `qti-item-context-updated`: Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing.
18079
- * - `qti-interaction-changed`: undefined
18080
- * - `qti-outcome-changed`: undefined
18081
18141
  *
18082
18142
  * ## Methods
18083
18143
  *