@citolab/qti-components 10.0.0-next.1 → 10.0.0-next.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/cdn/index.global.js +1 -1
  2. package/cdn/index.js +3701 -765
  3. package/dist/base.d.ts +10 -10
  4. package/dist/base.js +7 -1
  5. package/dist/{chunk-FWR6HZQS.js → chunk-454ZDSKX.js} +16 -13
  6. package/dist/chunk-454ZDSKX.js.map +1 -0
  7. package/dist/{chunk-35WWWFS6.js → chunk-AJ5U5KXR.js} +2 -2
  8. package/dist/{chunk-FD4AB6TM.js → chunk-AVZRY5SQ.js} +2 -2
  9. package/dist/{chunk-CKJ7M7JQ.js → chunk-KYNLY2ET.js} +2340 -2032
  10. package/dist/chunk-KYNLY2ET.js.map +1 -0
  11. package/dist/{chunk-6K3QWJHH.js → chunk-LCGPLQLE.js} +40 -4
  12. package/dist/chunk-LCGPLQLE.js.map +1 -0
  13. package/dist/{chunk-MI7774NV.js → chunk-M7X6TWSX.js} +2 -2
  14. package/dist/{chunk-YYIS6FDP.js → chunk-N2CTFOIK.js} +2 -2
  15. package/dist/{chunk-RSMYGGQK.js → chunk-O76BOKAP.js} +496 -271
  16. package/dist/chunk-O76BOKAP.js.map +1 -0
  17. package/dist/{chunk-GBZNFSFY.js → chunk-RWMY7KRT.js} +2 -2
  18. package/dist/{chunk-TDWJ6WZA.js → chunk-T7YSBBAA.js} +37 -1
  19. package/dist/chunk-T7YSBBAA.js.map +1 -0
  20. package/dist/{chunk-RU6332MD.js → chunk-XXJAE6AP.js} +3 -3
  21. package/dist/chunk-YKXVAXSI.js +7 -0
  22. package/dist/chunk-YKXVAXSI.js.map +1 -0
  23. package/dist/{chunk-6U3YPHXU.js → chunk-YOCOLMGB.js} +40 -5
  24. package/dist/{chunk-6U3YPHXU.js.map → chunk-YOCOLMGB.js.map} +1 -1
  25. package/dist/{computed.types.d-gJrBeUMG.d.ts → computed.types.d-IXACuBr7.d.ts} +10 -1
  26. package/dist/corrections.d.ts +9 -9
  27. package/dist/corrections.js +8 -8
  28. package/dist/elements.d.ts +2 -2
  29. package/dist/elements.js +3 -3
  30. package/dist/index.d.ts +11 -11
  31. package/dist/index.js +37 -19
  32. package/dist/interactions.d.ts +4 -4
  33. package/dist/interactions.js +7 -3
  34. package/dist/item.css +1581 -387
  35. package/dist/item.d.ts +4 -4
  36. package/dist/item.js +4 -4
  37. package/dist/{item.types.d-B55QkJ92.d.ts → item.types.d-DuVR0ZVK.d.ts} +7 -1
  38. package/dist/loader.d.ts +2 -2
  39. package/dist/processing.d.ts +10 -3
  40. package/dist/processing.js +3 -3
  41. package/dist/qti-components-jsx.d.ts +934 -761
  42. package/dist/{qti-condition-expression.d-VJH6cWxf.d.ts → qti-condition-expression.d-B-T1NNl0.d.ts} +1 -1
  43. package/dist/{qti-expression.d-BPxEp8HU.d.ts → qti-expression.d-B-Cfbqlb.d.ts} +1 -1
  44. package/dist/{qti-feedback.d-wMYNVkkj.d.ts → qti-feedback.d-DbzPSJuK.d.ts} +1 -1
  45. package/dist/{qti-item.d-DgC1AQbY.d.ts → qti-item.d-B1gffYCL.d.ts} +1 -1
  46. package/dist/{qti-test.d-DkpBNcsv.d.ts → qti-test.d-D5C7W8Lg.d.ts} +185 -101
  47. package/dist/{qti-text-entry-interaction.d-q8u5BiVK.d.ts → qti-text-entry-interaction.d-CU-fAAD1.d.ts} +28 -19
  48. package/dist/{interaction.d-g6XG0T0Z.d.ts → record.d-wB9uYs-j.d.ts} +34 -2
  49. package/dist/{session.context.d-D5080LVx.d.ts → session.context.d-DW09Lrie.d.ts} +7 -1
  50. package/dist/test.d.ts +117 -9
  51. package/dist/test.js +19 -11
  52. package/package.json +9 -9
  53. package/dist/chunk-6K3QWJHH.js.map +0 -1
  54. package/dist/chunk-CKJ7M7JQ.js.map +0 -1
  55. package/dist/chunk-FWR6HZQS.js.map +0 -1
  56. package/dist/chunk-RSMYGGQK.js.map +0 -1
  57. package/dist/chunk-TDWJ6WZA.js.map +0 -1
  58. package/dist/chunk-ZP6QQYSU.js +0 -7
  59. package/dist/chunk-ZP6QQYSU.js.map +0 -1
  60. /package/dist/{chunk-35WWWFS6.js.map → chunk-AJ5U5KXR.js.map} +0 -0
  61. /package/dist/{chunk-FD4AB6TM.js.map → chunk-AVZRY5SQ.js.map} +0 -0
  62. /package/dist/{chunk-MI7774NV.js.map → chunk-M7X6TWSX.js.map} +0 -0
  63. /package/dist/{chunk-YYIS6FDP.js.map → chunk-N2CTFOIK.js.map} +0 -0
  64. /package/dist/{chunk-GBZNFSFY.js.map → chunk-RWMY7KRT.js.map} +0 -0
  65. /package/dist/{chunk-RU6332MD.js.map → chunk-XXJAE6AP.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,
@@ -75,6 +77,7 @@ import type {
75
77
  QtiAssessmentSection,
76
78
  QtiBranchRule,
77
79
  QtiItemSessionControl,
80
+ QtiNumberPresented,
78
81
  QtiNumberSelected,
79
82
  QtiPreCondition,
80
83
  QtiOutcomeProcessing,
@@ -85,33 +88,37 @@ import type {
85
88
  QtiTestVariablesExpression,
86
89
  TestContainer,
87
90
  QtiTest,
88
- TestCheckItem,
89
91
  TestEndAttempt,
90
92
  TestItemLink,
91
- TestTtsStop,
92
- TestTtsResume,
93
- TestTtsPrev,
94
- TestTtsPlay,
95
- TestTtsPick,
96
- TestTtsPause,
97
- TestTtsNext,
98
- TestItemToSpeech,
99
- SpeechState,
100
- ttsContext,
101
93
  TestNavigation,
102
94
  TestNext,
103
- TestPagingButtonsStamp,
104
95
  TestPrev,
96
+ TestSectionLink,
97
+ TestBookmark,
98
+ bookmarkedItems,
99
+ TestCheckItem,
105
100
  TestPrintContext,
106
101
  TestPrintVariables,
102
+ formatVariableValue,
107
103
  TestScoringButtons,
108
104
  TestScoringFeedback,
109
- TestSectionButtonsStamp,
110
- TestSectionLink,
111
105
  TestStamp,
106
+ TestSubmit,
112
107
  TestView,
113
108
  TestViewToggle,
114
109
  } from "./test.js";
110
+ import type {
111
+ TestTtsStop,
112
+ TestTtsResume,
113
+ TestTtsPrev,
114
+ TestTtsPlay,
115
+ TestTtsPick,
116
+ TestTtsPause,
117
+ TestTtsNext,
118
+ TestItemToSpeech,
119
+ SpeechState,
120
+ ttsContext,
121
+ } from "./tts.js";
115
122
  import type {
116
123
  QtiAnd,
117
124
  qtiAndMixin,
@@ -2168,6 +2175,14 @@ casts, rather than pretending at an encapsulation the type system was the only t
2168
2175
  };
2169
2176
 
2170
2177
  export type QtiGraphicGapMatchInteractionProps = {
2178
+ /** A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
2179
+ `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
2180
+ beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
2181
+ declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
2182
+ their hotspots through `--qti-graphic-scale` instead. */
2183
+ autoSizeDropzones?:
2184
+ | QtiGraphicGapMatchInteraction["autoSizeDropzones"]
2185
+ | undefined;
2171
2186
  /** */
2172
2187
  allowReorder?: QtiGraphicGapMatchInteraction["allowReorder"] | undefined;
2173
2188
  /** */
@@ -2181,6 +2196,14 @@ export type QtiGraphicGapMatchInteractionProps = {
2181
2196
  };
2182
2197
 
2183
2198
  export type QtiGraphicGapMatchInteractionSolidJsProps = {
2199
+ /** A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
2200
+ `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
2201
+ beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
2202
+ declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
2203
+ their hotspots through `--qti-graphic-scale` instead. */
2204
+ "prop:autoSizeDropzones"?:
2205
+ | QtiGraphicGapMatchInteraction["autoSizeDropzones"]
2206
+ | undefined;
2184
2207
  /** */
2185
2208
  "prop:allowReorder"?:
2186
2209
  | QtiGraphicGapMatchInteraction["allowReorder"]
@@ -3150,11 +3173,11 @@ export type QtiPortableCustomInteractionProps = {
3150
3173
  | undefined;
3151
3174
  /** */
3152
3175
  requireShimJson?: QtiPortableCustomInteraction["requireShimJson"] | undefined;
3153
- /** */
3176
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3154
3177
  "data-require-js-url"?:
3155
3178
  | QtiPortableCustomInteraction["requireJsUrl"]
3156
3179
  | undefined;
3157
- /** */
3180
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3158
3181
  requireJsUrl?: QtiPortableCustomInteraction["requireJsUrl"] | undefined;
3159
3182
  /** */
3160
3183
  "data-base-url"?: QtiPortableCustomInteraction["baseUrl"] | undefined;
@@ -3259,11 +3282,11 @@ export type QtiPortableCustomInteractionSolidJsProps = {
3259
3282
  "prop:requireShimJson"?:
3260
3283
  | QtiPortableCustomInteraction["requireShimJson"]
3261
3284
  | undefined;
3262
- /** */
3285
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3263
3286
  "attr:data-require-js-url"?:
3264
3287
  | QtiPortableCustomInteraction["requireJsUrl"]
3265
3288
  | undefined;
3266
- /** */
3289
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3267
3290
  "prop:requireJsUrl"?:
3268
3291
  | QtiPortableCustomInteraction["requireJsUrl"]
3269
3292
  | undefined;
@@ -3378,11 +3401,11 @@ export type QtiPortableCustomInteractionTestProps = {
3378
3401
  requireShimJson?:
3379
3402
  | QtiPortableCustomInteractionTest["requireShimJson"]
3380
3403
  | undefined;
3381
- /** */
3404
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3382
3405
  "data-require-js-url"?:
3383
3406
  | QtiPortableCustomInteractionTest["requireJsUrl"]
3384
3407
  | undefined;
3385
- /** */
3408
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3386
3409
  requireJsUrl?: QtiPortableCustomInteractionTest["requireJsUrl"] | undefined;
3387
3410
  /** */
3388
3411
  "data-base-url"?: QtiPortableCustomInteractionTest["baseUrl"] | undefined;
@@ -3489,11 +3512,11 @@ export type QtiPortableCustomInteractionTestSolidJsProps = {
3489
3512
  "prop:requireShimJson"?:
3490
3513
  | QtiPortableCustomInteractionTest["requireShimJson"]
3491
3514
  | undefined;
3492
- /** */
3515
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3493
3516
  "attr:data-require-js-url"?:
3494
3517
  | QtiPortableCustomInteractionTest["requireJsUrl"]
3495
3518
  | undefined;
3496
- /** */
3519
+ /** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
3497
3520
  "prop:requireJsUrl"?:
3498
3521
  | QtiPortableCustomInteractionTest["requireJsUrl"]
3499
3522
  | undefined;
@@ -4372,6 +4395,21 @@ export type QtiItemSessionControlSolidJsProps = {
4372
4395
  textContent?: string | number | undefined;
4373
4396
  };
4374
4397
 
4398
+ export type QtiNumberPresentedProps = {
4399
+ /** */
4400
+ getVariables?: QtiNumberPresented["getVariables"] | undefined;
4401
+ };
4402
+
4403
+ export type QtiNumberPresentedSolidJsProps = {
4404
+ /** */
4405
+ "prop:getVariables"?: QtiNumberPresented["getVariables"] | undefined;
4406
+
4407
+ /** Set the innerHTML of the element */
4408
+ innerHTML?: string | undefined;
4409
+ /** Set the textContent of the element */
4410
+ textContent?: string | number | undefined;
4411
+ };
4412
+
4375
4413
  export type QtiNumberSelectedProps = {
4376
4414
  /** */
4377
4415
  getVariables?: QtiNumberSelected["getVariables"] | undefined;
@@ -4406,6 +4444,8 @@ export type QtiOutcomeProcessingSolidJsProps = {
4406
4444
  };
4407
4445
 
4408
4446
  export type QtiTestFeedbackProps = {
4447
+ /** When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`). */
4448
+ access?: QtiTestFeedback["access"] | undefined;
4409
4449
  /** */
4410
4450
  "show-hide"?: QtiTestFeedback["showHide"] | undefined;
4411
4451
  /** */
@@ -4421,6 +4461,8 @@ export type QtiTestFeedbackProps = {
4421
4461
  };
4422
4462
 
4423
4463
  export type QtiTestFeedbackSolidJsProps = {
4464
+ /** When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`). */
4465
+ "prop:access"?: QtiTestFeedback["access"] | undefined;
4424
4466
  /** */
4425
4467
  "attr:show-hide"?: QtiTestFeedback["showHide"] | undefined;
4426
4468
  /** */
@@ -4583,15 +4625,6 @@ object, do not mutate it: an in-place change does not notify the components insi
4583
4625
  textContent?: string | number | undefined;
4584
4626
  };
4585
4627
 
4586
- export type TestCheckItemProps = {};
4587
-
4588
- export type TestCheckItemSolidJsProps = {
4589
- /** Set the innerHTML of the element */
4590
- innerHTML?: string | undefined;
4591
- /** Set the textContent of the element */
4592
- textContent?: string | number | undefined;
4593
- };
4594
-
4595
4628
  export type TestEndAttemptProps = {
4596
4629
  /** */
4597
4630
  disabled?: TestEndAttempt["_internalDisabled"] | undefined;
@@ -4630,166 +4663,6 @@ export type TestItemLinkSolidJsProps = {
4630
4663
  textContent?: string | number | undefined;
4631
4664
  };
4632
4665
 
4633
- export type TestItemToSpeechProps = {
4634
- /** Fallback language when neither the item content nor the document declares one. */
4635
- language?: TestItemToSpeech["language"] | undefined;
4636
- /** */
4637
- _ttsContext?: TestItemToSpeech["_ttsContext"] | undefined;
4638
- };
4639
-
4640
- export type TestItemToSpeechSolidJsProps = {
4641
- /** Fallback language when neither the item content nor the document declares one. */
4642
- "prop:language"?: TestItemToSpeech["language"] | undefined;
4643
- /** */
4644
- "prop:_ttsContext"?: TestItemToSpeech["_ttsContext"] | undefined;
4645
-
4646
- /** Set the innerHTML of the element */
4647
- innerHTML?: string | undefined;
4648
- /** Set the textContent of the element */
4649
- textContent?: string | number | undefined;
4650
- };
4651
-
4652
- export type TestTtsPlayProps = {
4653
- /** Accessible name of the button while speech is playing; see `label`. */
4654
- "pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
4655
- /** Accessible name of the button while speech is playing; see `label`. */
4656
- pauseLabel?: TestTtsPlay["pauseLabel"] | undefined;
4657
- /** Accessible name of the button. Without it the default icon carries an English name, and
4658
- slotted content names the button by its text; set it when you slot an icon of your own,
4659
- which has no text to be named by. */
4660
- label?: TestTtsPlay["label"] | undefined;
4661
- };
4662
-
4663
- export type TestTtsPlaySolidJsProps = {
4664
- /** Accessible name of the button while speech is playing; see `label`. */
4665
- "attr:pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
4666
- /** Accessible name of the button while speech is playing; see `label`. */
4667
- "prop:pauseLabel"?: TestTtsPlay["pauseLabel"] | undefined;
4668
- /** Accessible name of the button. Without it the default icon carries an English name, and
4669
- slotted content names the button by its text; set it when you slot an icon of your own,
4670
- which has no text to be named by. */
4671
- "prop:label"?: TestTtsPlay["label"] | undefined;
4672
-
4673
- /** Set the innerHTML of the element */
4674
- innerHTML?: string | undefined;
4675
- /** Set the textContent of the element */
4676
- textContent?: string | number | undefined;
4677
- };
4678
-
4679
- export type TestTtsPauseProps = {
4680
- /** Accessible name of the button. Without it the default icon carries an English name, and
4681
- slotted content names the button by its text; set it when you slot an icon of your own,
4682
- which has no text to be named by. */
4683
- label?: TestTtsPause["label"] | undefined;
4684
- };
4685
-
4686
- export type TestTtsPauseSolidJsProps = {
4687
- /** Accessible name of the button. Without it the default icon carries an English name, and
4688
- slotted content names the button by its text; set it when you slot an icon of your own,
4689
- which has no text to be named by. */
4690
- "prop:label"?: TestTtsPause["label"] | undefined;
4691
-
4692
- /** Set the innerHTML of the element */
4693
- innerHTML?: string | undefined;
4694
- /** Set the textContent of the element */
4695
- textContent?: string | number | undefined;
4696
- };
4697
-
4698
- export type TestTtsResumeProps = {
4699
- /** Accessible name of the button. Without it the default icon carries an English name, and
4700
- slotted content names the button by its text; set it when you slot an icon of your own,
4701
- which has no text to be named by. */
4702
- label?: TestTtsResume["label"] | undefined;
4703
- };
4704
-
4705
- export type TestTtsResumeSolidJsProps = {
4706
- /** Accessible name of the button. Without it the default icon carries an English name, and
4707
- slotted content names the button by its text; set it when you slot an icon of your own,
4708
- which has no text to be named by. */
4709
- "prop:label"?: TestTtsResume["label"] | undefined;
4710
-
4711
- /** Set the innerHTML of the element */
4712
- innerHTML?: string | undefined;
4713
- /** Set the textContent of the element */
4714
- textContent?: string | number | undefined;
4715
- };
4716
-
4717
- export type TestTtsStopProps = {
4718
- /** Accessible name of the button. Without it the default icon carries an English name, and
4719
- slotted content names the button by its text; set it when you slot an icon of your own,
4720
- which has no text to be named by. */
4721
- label?: TestTtsStop["label"] | undefined;
4722
- };
4723
-
4724
- export type TestTtsStopSolidJsProps = {
4725
- /** Accessible name of the button. Without it the default icon carries an English name, and
4726
- slotted content names the button by its text; set it when you slot an icon of your own,
4727
- which has no text to be named by. */
4728
- "prop:label"?: TestTtsStop["label"] | undefined;
4729
-
4730
- /** Set the innerHTML of the element */
4731
- innerHTML?: string | undefined;
4732
- /** Set the textContent of the element */
4733
- textContent?: string | number | undefined;
4734
- };
4735
-
4736
- export type TestTtsPrevProps = {
4737
- /** Accessible name of the button. Without it the default icon carries an English name, and
4738
- slotted content names the button by its text; set it when you slot an icon of your own,
4739
- which has no text to be named by. */
4740
- label?: TestTtsPrev["label"] | undefined;
4741
- };
4742
-
4743
- export type TestTtsPrevSolidJsProps = {
4744
- /** Accessible name of the button. Without it the default icon carries an English name, and
4745
- slotted content names the button by its text; set it when you slot an icon of your own,
4746
- which has no text to be named by. */
4747
- "prop:label"?: TestTtsPrev["label"] | undefined;
4748
-
4749
- /** Set the innerHTML of the element */
4750
- innerHTML?: string | undefined;
4751
- /** Set the textContent of the element */
4752
- textContent?: string | number | undefined;
4753
- };
4754
-
4755
- export type TestTtsNextProps = {
4756
- /** Accessible name of the button. Without it the default icon carries an English name, and
4757
- slotted content names the button by its text; set it when you slot an icon of your own,
4758
- which has no text to be named by. */
4759
- label?: TestTtsNext["label"] | undefined;
4760
- };
4761
-
4762
- export type TestTtsNextSolidJsProps = {
4763
- /** Accessible name of the button. Without it the default icon carries an English name, and
4764
- slotted content names the button by its text; set it when you slot an icon of your own,
4765
- which has no text to be named by. */
4766
- "prop:label"?: TestTtsNext["label"] | undefined;
4767
-
4768
- /** Set the innerHTML of the element */
4769
- innerHTML?: string | undefined;
4770
- /** Set the textContent of the element */
4771
- textContent?: string | number | undefined;
4772
- };
4773
-
4774
- export type TestTtsPickProps = {
4775
- /** Accessible name of the button. Without it the default icon carries an English name, and
4776
- slotted content names the button by its text; set it when you slot an icon of your own,
4777
- which has no text to be named by. */
4778
- label?: TestTtsPick["label"] | undefined;
4779
- };
4780
-
4781
- export type TestTtsPickSolidJsProps = {
4782
- /** Accessible name of the button. Without it the default icon carries an English name, and
4783
- slotted content names the button by its text; set it when you slot an icon of your own,
4784
- which has no text to be named by. */
4785
- "prop:label"?: TestTtsPick["label"] | undefined;
4786
-
4787
- /** Set the innerHTML of the element */
4788
- innerHTML?: string | undefined;
4789
- /** Set the textContent of the element */
4790
- textContent?: string | number | undefined;
4791
- };
4792
-
4793
4666
  export type TestNavigationProps = {
4794
4667
  /** */
4795
4668
  identifier?: TestNavigation["identifier"] | undefined;
@@ -4873,25 +4746,6 @@ export type TestNextSolidJsProps = {
4873
4746
  textContent?: string | number | undefined;
4874
4747
  };
4875
4748
 
4876
- export type TestPagingButtonsStampProps = {
4877
- /** */
4878
- myTemplate?: TestPagingButtonsStamp["myTemplate"] | undefined;
4879
- /** */
4880
- ariaLabel?: TestPagingButtonsStamp["ariaLabel"] | undefined;
4881
- };
4882
-
4883
- export type TestPagingButtonsStampSolidJsProps = {
4884
- /** */
4885
- "prop:myTemplate"?: TestPagingButtonsStamp["myTemplate"] | undefined;
4886
- /** */
4887
- "prop:ariaLabel"?: TestPagingButtonsStamp["ariaLabel"] | undefined;
4888
-
4889
- /** Set the innerHTML of the element */
4890
- innerHTML?: string | undefined;
4891
- /** Set the textContent of the element */
4892
- textContent?: string | number | undefined;
4893
- };
4894
-
4895
4749
  export type TestPrevProps = {
4896
4750
  /** */
4897
4751
  disabled?: TestPrev["_internalDisabled"] | undefined;
@@ -4919,14 +4773,18 @@ export type TestPrevSolidJsProps = {
4919
4773
  textContent?: string | number | undefined;
4920
4774
  };
4921
4775
 
4922
- export type TestPrintContextProps = {
4776
+ export type TestSectionLinkProps = {
4923
4777
  /** */
4924
- computedContext?: TestPrintContext["computedContext"] | undefined;
4778
+ "section-id"?: TestSectionLink["sectionId"] | undefined;
4779
+ /** */
4780
+ sectionId?: TestSectionLink["sectionId"] | undefined;
4925
4781
  };
4926
4782
 
4927
- export type TestPrintContextSolidJsProps = {
4783
+ export type TestSectionLinkSolidJsProps = {
4928
4784
  /** */
4929
- "prop:computedContext"?: TestPrintContext["computedContext"] | undefined;
4785
+ "attr:section-id"?: TestSectionLink["sectionId"] | undefined;
4786
+ /** */
4787
+ "prop:sectionId"?: TestSectionLink["sectionId"] | undefined;
4930
4788
 
4931
4789
  /** Set the innerHTML of the element */
4932
4790
  innerHTML?: string | undefined;
@@ -4934,14 +4792,22 @@ export type TestPrintContextSolidJsProps = {
4934
4792
  textContent?: string | number | undefined;
4935
4793
  };
4936
4794
 
4937
- export type TestPrintVariablesProps = {
4938
- /** */
4939
- computedContext?: TestPrintVariables["computedContext"] | undefined;
4795
+ export type TestBookmarkProps = {
4796
+ /** The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen. */
4797
+ item?: TestBookmark["item"] | undefined;
4798
+ /** Reflected: the item on screen is bookmarked. */
4799
+ bookmarked?: TestBookmark["bookmarked"] | undefined;
4800
+ /** Reflected: there is no item on screen. */
4801
+ disabled?: TestBookmark["disabled"] | undefined;
4940
4802
  };
4941
4803
 
4942
- export type TestPrintVariablesSolidJsProps = {
4943
- /** */
4944
- "prop:computedContext"?: TestPrintVariables["computedContext"] | undefined;
4804
+ export type TestBookmarkSolidJsProps = {
4805
+ /** The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen. */
4806
+ "prop:item"?: TestBookmark["item"] | undefined;
4807
+ /** Reflected: the item on screen is bookmarked. */
4808
+ "prop:bookmarked"?: TestBookmark["bookmarked"] | undefined;
4809
+ /** Reflected: there is no item on screen. */
4810
+ "prop:disabled"?: TestBookmark["disabled"] | undefined;
4945
4811
 
4946
4812
  /** Set the innerHTML of the element */
4947
4813
  innerHTML?: string | undefined;
@@ -4949,22 +4815,29 @@ export type TestPrintVariablesSolidJsProps = {
4949
4815
  textContent?: string | number | undefined;
4950
4816
  };
4951
4817
 
4952
- export type TestScoringButtonsProps = {
4953
- /** */
4954
- view?: TestScoringButtons["view"] | undefined;
4955
- /** */
4956
- disabled?: TestScoringButtons["disabled"] | undefined;
4957
- /** */
4958
- myTemplate?: TestScoringButtons["myTemplate"] | undefined;
4818
+ export type TestCheckItemProps = {
4819
+ /** The view to switch to after the attempt ended. */
4820
+ view?: TestCheckItem["view"] | undefined;
4959
4821
  };
4960
4822
 
4961
- export type TestScoringButtonsSolidJsProps = {
4962
- /** */
4963
- "prop:view"?: TestScoringButtons["view"] | undefined;
4823
+ export type TestCheckItemSolidJsProps = {
4824
+ /** The view to switch to after the attempt ended. */
4825
+ "prop:view"?: TestCheckItem["view"] | undefined;
4826
+
4827
+ /** Set the innerHTML of the element */
4828
+ innerHTML?: string | undefined;
4829
+ /** Set the textContent of the element */
4830
+ textContent?: string | number | undefined;
4831
+ };
4832
+
4833
+ export type TestPrintContextProps = {
4964
4834
  /** */
4965
- "prop:disabled"?: TestScoringButtons["disabled"] | undefined;
4835
+ computedContext?: TestPrintContext["computedContext"] | undefined;
4836
+ };
4837
+
4838
+ export type TestPrintContextSolidJsProps = {
4966
4839
  /** */
4967
- "prop:myTemplate"?: TestScoringButtons["myTemplate"] | undefined;
4840
+ "prop:computedContext"?: TestPrintContext["computedContext"] | undefined;
4968
4841
 
4969
4842
  /** Set the innerHTML of the element */
4970
4843
  innerHTML?: string | undefined;
@@ -4972,14 +4845,14 @@ export type TestScoringButtonsSolidJsProps = {
4972
4845
  textContent?: string | number | undefined;
4973
4846
  };
4974
4847
 
4975
- export type TestScoringFeedbackProps = {
4848
+ export type TestPrintVariablesProps = {
4976
4849
  /** */
4977
- view?: TestScoringFeedback["view"] | undefined;
4850
+ computedContext?: TestPrintVariables["computedContext"] | undefined;
4978
4851
  };
4979
4852
 
4980
- export type TestScoringFeedbackSolidJsProps = {
4853
+ export type TestPrintVariablesSolidJsProps = {
4981
4854
  /** */
4982
- "prop:view"?: TestScoringFeedback["view"] | undefined;
4855
+ "prop:computedContext"?: TestPrintVariables["computedContext"] | undefined;
4983
4856
 
4984
4857
  /** Set the innerHTML of the element */
4985
4858
  innerHTML?: string | undefined;
@@ -4987,18 +4860,22 @@ export type TestScoringFeedbackSolidJsProps = {
4987
4860
  textContent?: string | number | undefined;
4988
4861
  };
4989
4862
 
4990
- export type TestSectionButtonsStampProps = {
4863
+ export type TestScoringButtonsProps = {
4864
+ /** */
4865
+ view?: TestScoringButtons["view"] | undefined;
4991
4866
  /** */
4992
- myTemplate?: TestSectionButtonsStamp["myTemplate"] | undefined;
4867
+ disabled?: TestScoringButtons["disabled"] | undefined;
4993
4868
  /** */
4994
- ariaLabel?: TestSectionButtonsStamp["ariaLabel"] | undefined;
4869
+ myTemplate?: TestScoringButtons["myTemplate"] | undefined;
4995
4870
  };
4996
4871
 
4997
- export type TestSectionButtonsStampSolidJsProps = {
4872
+ export type TestScoringButtonsSolidJsProps = {
4873
+ /** */
4874
+ "prop:view"?: TestScoringButtons["view"] | undefined;
4998
4875
  /** */
4999
- "prop:myTemplate"?: TestSectionButtonsStamp["myTemplate"] | undefined;
4876
+ "prop:disabled"?: TestScoringButtons["disabled"] | undefined;
5000
4877
  /** */
5001
- "prop:ariaLabel"?: TestSectionButtonsStamp["ariaLabel"] | undefined;
4878
+ "prop:myTemplate"?: TestScoringButtons["myTemplate"] | undefined;
5002
4879
 
5003
4880
  /** Set the innerHTML of the element */
5004
4881
  innerHTML?: string | undefined;
@@ -5006,18 +4883,14 @@ export type TestSectionButtonsStampSolidJsProps = {
5006
4883
  textContent?: string | number | undefined;
5007
4884
  };
5008
4885
 
5009
- export type TestSectionLinkProps = {
5010
- /** */
5011
- "section-id"?: TestSectionLink["sectionId"] | undefined;
4886
+ export type TestScoringFeedbackProps = {
5012
4887
  /** */
5013
- sectionId?: TestSectionLink["sectionId"] | undefined;
4888
+ view?: TestScoringFeedback["view"] | undefined;
5014
4889
  };
5015
4890
 
5016
- export type TestSectionLinkSolidJsProps = {
5017
- /** */
5018
- "attr:section-id"?: TestSectionLink["sectionId"] | undefined;
4891
+ export type TestScoringFeedbackSolidJsProps = {
5019
4892
  /** */
5020
- "prop:sectionId"?: TestSectionLink["sectionId"] | undefined;
4893
+ "prop:view"?: TestScoringFeedback["view"] | undefined;
5021
4894
 
5022
4895
  /** Set the innerHTML of the element */
5023
4896
  innerHTML?: string | undefined;
@@ -5051,6 +4924,15 @@ When set to `true`, the available objects and properties (i.e.: stampContext) is
5051
4924
  textContent?: string | number | undefined;
5052
4925
  };
5053
4926
 
4927
+ export type TestSubmitProps = {};
4928
+
4929
+ export type TestSubmitSolidJsProps = {
4930
+ /** Set the innerHTML of the element */
4931
+ innerHTML?: string | undefined;
4932
+ /** Set the textContent of the element */
4933
+ textContent?: string | number | undefined;
4934
+ };
4935
+
5054
4936
  export type TestViewProps = {
5055
4937
  /** label accompanying the select view dropdown */
5056
4938
  label?: TestView["label"] | undefined;
@@ -5089,6 +4971,166 @@ export type TestViewToggleSolidJsProps = {
5089
4971
  textContent?: string | number | undefined;
5090
4972
  };
5091
4973
 
4974
+ export type TestItemToSpeechProps = {
4975
+ /** Fallback language when neither the item content nor the document declares one. */
4976
+ language?: TestItemToSpeech["language"] | undefined;
4977
+ /** */
4978
+ _ttsContext?: TestItemToSpeech["_ttsContext"] | undefined;
4979
+ };
4980
+
4981
+ export type TestItemToSpeechSolidJsProps = {
4982
+ /** Fallback language when neither the item content nor the document declares one. */
4983
+ "prop:language"?: TestItemToSpeech["language"] | undefined;
4984
+ /** */
4985
+ "prop:_ttsContext"?: TestItemToSpeech["_ttsContext"] | undefined;
4986
+
4987
+ /** Set the innerHTML of the element */
4988
+ innerHTML?: string | undefined;
4989
+ /** Set the textContent of the element */
4990
+ textContent?: string | number | undefined;
4991
+ };
4992
+
4993
+ export type TestTtsPlayProps = {
4994
+ /** Accessible name of the button while speech is playing; see `label`. */
4995
+ "pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
4996
+ /** Accessible name of the button while speech is playing; see `label`. */
4997
+ pauseLabel?: TestTtsPlay["pauseLabel"] | undefined;
4998
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4999
+ slotted content names the button by its text; set it when you slot an icon of your own,
5000
+ which has no text to be named by. */
5001
+ label?: TestTtsPlay["label"] | undefined;
5002
+ };
5003
+
5004
+ export type TestTtsPlaySolidJsProps = {
5005
+ /** Accessible name of the button while speech is playing; see `label`. */
5006
+ "attr:pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
5007
+ /** Accessible name of the button while speech is playing; see `label`. */
5008
+ "prop:pauseLabel"?: TestTtsPlay["pauseLabel"] | undefined;
5009
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5010
+ slotted content names the button by its text; set it when you slot an icon of your own,
5011
+ which has no text to be named by. */
5012
+ "prop:label"?: TestTtsPlay["label"] | undefined;
5013
+
5014
+ /** Set the innerHTML of the element */
5015
+ innerHTML?: string | undefined;
5016
+ /** Set the textContent of the element */
5017
+ textContent?: string | number | undefined;
5018
+ };
5019
+
5020
+ export type TestTtsPauseProps = {
5021
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5022
+ slotted content names the button by its text; set it when you slot an icon of your own,
5023
+ which has no text to be named by. */
5024
+ label?: TestTtsPause["label"] | undefined;
5025
+ };
5026
+
5027
+ export type TestTtsPauseSolidJsProps = {
5028
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5029
+ slotted content names the button by its text; set it when you slot an icon of your own,
5030
+ which has no text to be named by. */
5031
+ "prop:label"?: TestTtsPause["label"] | undefined;
5032
+
5033
+ /** Set the innerHTML of the element */
5034
+ innerHTML?: string | undefined;
5035
+ /** Set the textContent of the element */
5036
+ textContent?: string | number | undefined;
5037
+ };
5038
+
5039
+ export type TestTtsResumeProps = {
5040
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5041
+ slotted content names the button by its text; set it when you slot an icon of your own,
5042
+ which has no text to be named by. */
5043
+ label?: TestTtsResume["label"] | undefined;
5044
+ };
5045
+
5046
+ export type TestTtsResumeSolidJsProps = {
5047
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5048
+ slotted content names the button by its text; set it when you slot an icon of your own,
5049
+ which has no text to be named by. */
5050
+ "prop:label"?: TestTtsResume["label"] | undefined;
5051
+
5052
+ /** Set the innerHTML of the element */
5053
+ innerHTML?: string | undefined;
5054
+ /** Set the textContent of the element */
5055
+ textContent?: string | number | undefined;
5056
+ };
5057
+
5058
+ export type TestTtsStopProps = {
5059
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5060
+ slotted content names the button by its text; set it when you slot an icon of your own,
5061
+ which has no text to be named by. */
5062
+ label?: TestTtsStop["label"] | undefined;
5063
+ };
5064
+
5065
+ export type TestTtsStopSolidJsProps = {
5066
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5067
+ slotted content names the button by its text; set it when you slot an icon of your own,
5068
+ which has no text to be named by. */
5069
+ "prop:label"?: TestTtsStop["label"] | undefined;
5070
+
5071
+ /** Set the innerHTML of the element */
5072
+ innerHTML?: string | undefined;
5073
+ /** Set the textContent of the element */
5074
+ textContent?: string | number | undefined;
5075
+ };
5076
+
5077
+ export type TestTtsPrevProps = {
5078
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5079
+ slotted content names the button by its text; set it when you slot an icon of your own,
5080
+ which has no text to be named by. */
5081
+ label?: TestTtsPrev["label"] | undefined;
5082
+ };
5083
+
5084
+ export type TestTtsPrevSolidJsProps = {
5085
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5086
+ slotted content names the button by its text; set it when you slot an icon of your own,
5087
+ which has no text to be named by. */
5088
+ "prop:label"?: TestTtsPrev["label"] | undefined;
5089
+
5090
+ /** Set the innerHTML of the element */
5091
+ innerHTML?: string | undefined;
5092
+ /** Set the textContent of the element */
5093
+ textContent?: string | number | undefined;
5094
+ };
5095
+
5096
+ export type TestTtsNextProps = {
5097
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5098
+ slotted content names the button by its text; set it when you slot an icon of your own,
5099
+ which has no text to be named by. */
5100
+ label?: TestTtsNext["label"] | undefined;
5101
+ };
5102
+
5103
+ export type TestTtsNextSolidJsProps = {
5104
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5105
+ slotted content names the button by its text; set it when you slot an icon of your own,
5106
+ which has no text to be named by. */
5107
+ "prop:label"?: TestTtsNext["label"] | undefined;
5108
+
5109
+ /** Set the innerHTML of the element */
5110
+ innerHTML?: string | undefined;
5111
+ /** Set the textContent of the element */
5112
+ textContent?: string | number | undefined;
5113
+ };
5114
+
5115
+ export type TestTtsPickProps = {
5116
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5117
+ slotted content names the button by its text; set it when you slot an icon of your own,
5118
+ which has no text to be named by. */
5119
+ label?: TestTtsPick["label"] | undefined;
5120
+ };
5121
+
5122
+ export type TestTtsPickSolidJsProps = {
5123
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5124
+ slotted content names the button by its text; set it when you slot an icon of your own,
5125
+ which has no text to be named by. */
5126
+ "prop:label"?: TestTtsPick["label"] | undefined;
5127
+
5128
+ /** Set the innerHTML of the element */
5129
+ innerHTML?: string | undefined;
5130
+ /** Set the textContent of the element */
5131
+ textContent?: string | number | undefined;
5132
+ };
5133
+
5092
5134
  export type QtiAndProps = {};
5093
5135
 
5094
5136
  export type QtiAndSolidJsProps = {
@@ -6438,9 +6480,15 @@ object, do not mutate it: an in-place change does not notify the components insi
6438
6480
  textContent?: string | number | undefined;
6439
6481
  };
6440
6482
 
6441
- export type TestCheckItemCorrectionProps = {};
6483
+ export type TestCheckItemCorrectionProps = {
6484
+ /** The view to switch to after the attempt ended. */
6485
+ view?: TestCheckItemCorrection["view"] | undefined;
6486
+ };
6442
6487
 
6443
6488
  export type TestCheckItemCorrectionSolidJsProps = {
6489
+ /** The view to switch to after the attempt ended. */
6490
+ "prop:view"?: TestCheckItemCorrection["view"] | undefined;
6491
+
6444
6492
  /** Set the innerHTML of the element */
6445
6493
  innerHTML?: string | undefined;
6446
6494
  /** Set the textContent of the element */
@@ -7952,6 +8000,11 @@ export type CustomElements = {
7952
8000
  *
7953
8001
  * Component attributes and properties that can be applied to the element or by using JavaScript.
7954
8002
  *
8003
+ * - `autoSizeDropzones`: A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
8004
+ * `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
8005
+ * beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
8006
+ * declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
8007
+ * their hotspots through `--qti-graphic-scale` instead. (property only)
7955
8008
  * - `allowReorder`: undefined (property only)
7956
8009
  * - `sortablePlaceholderConfig`: undefined (property only)
7957
8010
  * - `sortableAnimationConfig`: undefined (property only)
@@ -8616,7 +8669,7 @@ export type CustomElements = {
8616
8669
  * - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
8617
8670
  * - `data-require-paths`/`requirePathsJson`: undefined
8618
8671
  * - `data-require-shim`/`requireShimJson`: undefined
8619
- * - `data-require-js-url`/`requireJsUrl`: undefined
8672
+ * - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
8620
8673
  * - `data-base-url`/`baseUrl`: undefined
8621
8674
  * - `data-use-default-paths`/`useDefaultPaths`: undefined
8622
8675
  * - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
@@ -8699,7 +8752,7 @@ export type CustomElements = {
8699
8752
  * - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
8700
8753
  * - `data-require-paths`/`requirePathsJson`: undefined
8701
8754
  * - `data-require-shim`/`requireShimJson`: undefined
8702
- * - `data-require-js-url`/`requireJsUrl`: undefined
8755
+ * - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
8703
8756
  * - `data-base-url`/`baseUrl`: undefined
8704
8757
  * - `data-use-default-paths`/`useDefaultPaths`: undefined
8705
8758
  * - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
@@ -9255,6 +9308,39 @@ export type CustomElements = {
9255
9308
  QtiItemSessionControlProps & BaseProps<QtiItemSessionControl> & BaseEvents
9256
9309
  >;
9257
9310
 
9311
+ /**
9312
+ *
9313
+ *
9314
+ * ## Attributes & Properties
9315
+ *
9316
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9317
+ *
9318
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
9319
+ *
9320
+ * This is the supported way to inspect a scoring run: process the responses,
9321
+ * then walk the rule tree reading this off each expression. A tool that wants
9322
+ * to visualise how a score came about gets the whole tree annotated with its
9323
+ * values, without the components having to re-render to show them. (property only) (readonly)
9324
+ * - `lastVariables`: undefined (property only) (readonly)
9325
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
9326
+ * one regardless of its operands — `qti-divide` is a float even dividing two
9327
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
9328
+ *
9329
+ * Left undefined by operators whose result type follows their operands (a
9330
+ * `qti-sum` of integers is an integer) and by those that return no number at
9331
+ * all; the type is then read off the value. (property only) (readonly)
9332
+ * - `getVariables`: undefined (property only)
9333
+ *
9334
+ * ## Methods
9335
+ *
9336
+ * Methods that can be called to access component functionality.
9337
+ *
9338
+ * - `calculate() => number`: undefined
9339
+ */
9340
+ "qti-number-presented": Partial<
9341
+ QtiNumberPresentedProps & BaseProps<QtiNumberPresented> & BaseEvents
9342
+ >;
9343
+
9258
9344
  /**
9259
9345
  *
9260
9346
  *
@@ -9321,12 +9407,14 @@ export type CustomElements = {
9321
9407
  >;
9322
9408
 
9323
9409
  /**
9324
- *
9410
+ * Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
9411
+ * the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
9325
9412
  *
9326
9413
  * ## Attributes & Properties
9327
9414
  *
9328
9415
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9329
9416
  *
9417
+ * - `access`: When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`).
9330
9418
  * - `show-hide`/`showHide`: undefined
9331
9419
  * - `outcome-identifier`/`outcomeIdentifier`: undefined
9332
9420
  * - `identifier`: undefined
@@ -9336,6 +9424,8 @@ export type CustomElements = {
9336
9424
  *
9337
9425
  * Methods that can be called to access component functionality.
9338
9426
  *
9427
+ * - `matches(value: string | readonly string[] | null | undefined) => boolean`: Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
9428
+ * when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
9339
9429
  * - `openFeedback() => void`: undefined
9340
9430
  * - `closeFeedback() => void`: undefined
9341
9431
  * - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
@@ -9503,13 +9593,6 @@ export type CustomElements = {
9503
9593
  */
9504
9594
  "qti-test": Partial<QtiTestProps & BaseProps<QtiTest> & BaseEvents>;
9505
9595
 
9506
- /**
9507
- *
9508
- */
9509
- "test-check-item": Partial<
9510
- TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents
9511
- >;
9512
-
9513
9596
  /**
9514
9597
  *
9515
9598
  *
@@ -9544,8 +9627,247 @@ export type CustomElements = {
9544
9627
  >;
9545
9628
 
9546
9629
  /**
9547
- * `<test-item-to-speech>` is the controller and context provider. It manages
9548
- * speech synthesis, word highlighting, and item element lookup. Compose your
9630
+ *
9631
+ *
9632
+ * ## Attributes & Properties
9633
+ *
9634
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9635
+ *
9636
+ * - `identifier`: undefined
9637
+ * - `auto-score-items`/`autoScoreItems`: undefined
9638
+ * - `initContext`: undefined (property only)
9639
+ * - `qtiContext`: undefined (property only)
9640
+ * - `configContext`: undefined (property only)
9641
+ *
9642
+ * ## Events
9643
+ *
9644
+ * Events that will be emitted by the component.
9645
+ *
9646
+ * - `qti-computed-context-updated`: undefined
9647
+ */
9648
+ "test-navigation": Partial<
9649
+ TestNavigationProps & BaseProps<TestNavigation> & BaseEvents
9650
+ >;
9651
+
9652
+ /**
9653
+ * Represents a custom element for navigating to the next test item.
9654
+ *
9655
+ * ## Attributes & Properties
9656
+ *
9657
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9658
+ *
9659
+ * - `disabled`/`_internalDisabled`: undefined
9660
+ * - `sectionItems`: undefined (property only)
9661
+ * - `itemIndex`: undefined (property only)
9662
+ * - `role`: undefined (property only)
9663
+ * - `ariaLabel`: undefined (property only)
9664
+ *
9665
+ * ## Methods
9666
+ *
9667
+ * Methods that can be called to access component functionality.
9668
+ *
9669
+ * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
9670
+ * - `checkDisabled() => void`: undefined
9671
+ */
9672
+ "test-next": Partial<TestNextProps & BaseProps<TestNext> & BaseEvents>;
9673
+
9674
+ /**
9675
+ * Represents a custom element for navigating to the previous test item.
9676
+ *
9677
+ * ## Attributes & Properties
9678
+ *
9679
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9680
+ *
9681
+ * - `disabled`/`_internalDisabled`: undefined
9682
+ * - `sectionItems`: undefined (property only)
9683
+ * - `itemIndex`: undefined (property only)
9684
+ *
9685
+ * ## Methods
9686
+ *
9687
+ * Methods that can be called to access component functionality.
9688
+ *
9689
+ * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
9690
+ * - `checkDisabled() => void`: undefined
9691
+ */
9692
+ "test-prev": Partial<TestPrevProps & BaseProps<TestPrev> & BaseEvents>;
9693
+
9694
+ /**
9695
+ *
9696
+ *
9697
+ * ## Attributes & Properties
9698
+ *
9699
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9700
+ *
9701
+ * - `section-id`/`sectionId`: undefined
9702
+ */
9703
+ "test-section-link": Partial<
9704
+ TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
9705
+ >;
9706
+
9707
+ /**
9708
+ * A toggle that marks the item on screen to come back to. The marks live in the test's state under
9709
+ * `bookmarks` (`session.plugins.bookmarks`), so a host that stores `state` stores them, and a
9710
+ * reloaded test shows them again.
9711
+ *
9712
+ * Put it inside `<test-navigation>`, either in the toolbar, where it marks the item on screen, or in
9713
+ * the `<template item-ref>`, where each item gets its own and it marks that item. It is a button
9714
+ * (`role="button"`, `aria-pressed`) and reflects `bookmarked` on the host for styling; its content is
9715
+ * the label. In the toolbar it is `disabled` while no item is on screen. A host's own navigation reads
9716
+ * the marks with `bookmarkedItems(computedContext)`.
9717
+ *
9718
+ * Give it an `item` (an item-ref identifier) to mark that item instead, wherever the button sits: in a
9719
+ * stamp template that lists the items of a section, `<test-bookmark item="{{ item.identifier }}">`
9720
+ * puts a button next to each one.
9721
+ *
9722
+ * ## Attributes & Properties
9723
+ *
9724
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9725
+ *
9726
+ * - `item`: The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen.
9727
+ * - `bookmarked`: Reflected: the item on screen is bookmarked.
9728
+ * - `disabled`: Reflected: there is no item on screen.
9729
+ *
9730
+ * ## Slots
9731
+ *
9732
+ * Areas where markup can be added to the component.
9733
+ *
9734
+ * - `(default)`: The label.
9735
+ */
9736
+ "test-bookmark": Partial<
9737
+ TestBookmarkProps & BaseProps<TestBookmark> & BaseEvents
9738
+ >;
9739
+
9740
+ /**
9741
+ * Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
9742
+ * reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
9743
+ * something switches it back (`test-view-toggle`).
9744
+ *
9745
+ * ## Attributes & Properties
9746
+ *
9747
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9748
+ *
9749
+ * - `view`: The view to switch to after the attempt ended.
9750
+ */
9751
+ "test-check-item": Partial<
9752
+ TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents
9753
+ >;
9754
+
9755
+ /**
9756
+ *
9757
+ *
9758
+ * ## Attributes & Properties
9759
+ *
9760
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9761
+ *
9762
+ * - `computedContext`: undefined (property only)
9763
+ */
9764
+ "test-print-context": Partial<
9765
+ TestPrintContextProps & BaseProps<TestPrintContext> & BaseEvents
9766
+ >;
9767
+
9768
+ /**
9769
+ *
9770
+ *
9771
+ * ## Attributes & Properties
9772
+ *
9773
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9774
+ *
9775
+ * - `computedContext`: undefined (property only)
9776
+ */
9777
+ "test-print-item-variables": Partial<
9778
+ TestPrintVariablesProps & BaseProps<TestPrintVariables> & BaseEvents
9779
+ >;
9780
+
9781
+ /**
9782
+ *
9783
+ *
9784
+ * ## Attributes & Properties
9785
+ *
9786
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9787
+ *
9788
+ * - `view`: undefined
9789
+ * - `disabled`: undefined
9790
+ * - `myTemplate`: undefined (property only)
9791
+ */
9792
+ "test-scoring-buttons": Partial<
9793
+ TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents
9794
+ >;
9795
+
9796
+ /**
9797
+ *
9798
+ *
9799
+ * ## Attributes & Properties
9800
+ *
9801
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9802
+ *
9803
+ * - `view`: undefined
9804
+ */
9805
+ "test-scoring-feedback": Partial<
9806
+ TestScoringFeedbackProps & BaseProps<TestScoringFeedback> & BaseEvents
9807
+ >;
9808
+
9809
+ /**
9810
+ * The stamp plugin: renders its `<template>` child with the state of the test (`test`,
9811
+ * `activeTestpart`, `activeSection`, `activeItem`, `view`), again on every change, so a player
9812
+ * can show progress or numbered navigation without writing a component.
9813
+ *
9814
+ * ## Attributes & Properties
9815
+ *
9816
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9817
+ *
9818
+ * - `debug`: Indicates whether the component is in debug mode.
9819
+ * When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
9820
+ * - `myTemplate`: undefined (property only)
9821
+ *
9822
+ * ## Events
9823
+ *
9824
+ * Events that will be emitted by the component.
9825
+ *
9826
+ * - `qti-stamp-context-updated`: undefined
9827
+ */
9828
+ "test-stamp": Partial<TestStampProps & BaseProps<TestStamp> & BaseEvents>;
9829
+
9830
+ /**
9831
+ * Scores the test: on click the test resets its outcomes to their declared defaults, runs its
9832
+ * outcome processing and dispatches `cito-test-submitted`, after which the host reads the outcomes.
9833
+ * The host decides where it sits, for example on the last item or in a review view.
9834
+ */
9835
+ "test-submit": Partial<TestSubmitProps & BaseProps<TestSubmit> & BaseEvents>;
9836
+
9837
+ /**
9838
+ *
9839
+ *
9840
+ * ## Attributes & Properties
9841
+ *
9842
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9843
+ *
9844
+ * - `label`: label accompanying the select view dropdown
9845
+ * - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
9846
+ */
9847
+ "test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
9848
+
9849
+ /**
9850
+ *
9851
+ *
9852
+ * ## Attributes & Properties
9853
+ *
9854
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9855
+ *
9856
+ * - `myTemplate`: undefined (property only)
9857
+ *
9858
+ * ## Methods
9859
+ *
9860
+ * Methods that can be called to access component functionality.
9861
+ *
9862
+ * - `_switchView(view: string) => void`: undefined
9863
+ */
9864
+ "test-view-toggle": Partial<
9865
+ TestViewToggleProps & BaseProps<TestViewToggle> & BaseEvents
9866
+ >;
9867
+
9868
+ /**
9869
+ * `<test-item-to-speech>` is the controller and context provider. It manages
9870
+ * speech synthesis, word highlighting, and item element lookup. Compose your
9549
9871
  * own player by placing control elements as children.
9550
9872
  *
9551
9873
  * ## Attributes & Properties
@@ -9767,223 +10089,6 @@ export type CustomElements = {
9767
10089
  TestTtsPickProps & BaseProps<TestTtsPick> & BaseEvents
9768
10090
  >;
9769
10091
 
9770
- /**
9771
- *
9772
- *
9773
- * ## Attributes & Properties
9774
- *
9775
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9776
- *
9777
- * - `identifier`: undefined
9778
- * - `auto-score-items`/`autoScoreItems`: undefined
9779
- * - `initContext`: undefined (property only)
9780
- * - `qtiContext`: undefined (property only)
9781
- * - `configContext`: undefined (property only)
9782
- *
9783
- * ## Events
9784
- *
9785
- * Events that will be emitted by the component.
9786
- *
9787
- * - `qti-computed-context-updated`: undefined
9788
- */
9789
- "test-navigation": Partial<
9790
- TestNavigationProps & BaseProps<TestNavigation> & BaseEvents
9791
- >;
9792
-
9793
- /**
9794
- * Represents a custom element for navigating to the next test item.
9795
- *
9796
- * ## Attributes & Properties
9797
- *
9798
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9799
- *
9800
- * - `disabled`/`_internalDisabled`: undefined
9801
- * - `sectionItems`: undefined (property only)
9802
- * - `itemIndex`: undefined (property only)
9803
- * - `role`: undefined (property only)
9804
- * - `ariaLabel`: undefined (property only)
9805
- *
9806
- * ## Methods
9807
- *
9808
- * Methods that can be called to access component functionality.
9809
- *
9810
- * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
9811
- * - `checkDisabled() => void`: undefined
9812
- */
9813
- "test-next": Partial<TestNextProps & BaseProps<TestNext> & BaseEvents>;
9814
-
9815
- /**
9816
- * @deprecated test-paging-buttons-stamp is deprecated and will be removed in the future.
9817
- *
9818
- *
9819
- *
9820
- * ## Attributes & Properties
9821
- *
9822
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9823
- *
9824
- * - `myTemplate`: undefined (property only)
9825
- * - `ariaLabel`: undefined (property only)
9826
- */
9827
- "test-paging-buttons-stamp": Partial<
9828
- TestPagingButtonsStampProps & BaseProps<TestPagingButtonsStamp> & BaseEvents
9829
- >;
9830
-
9831
- /**
9832
- * Represents a custom element for navigating to the previous test item.
9833
- *
9834
- * ## Attributes & Properties
9835
- *
9836
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9837
- *
9838
- * - `disabled`/`_internalDisabled`: undefined
9839
- * - `sectionItems`: undefined (property only)
9840
- * - `itemIndex`: undefined (property only)
9841
- *
9842
- * ## Methods
9843
- *
9844
- * Methods that can be called to access component functionality.
9845
- *
9846
- * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
9847
- * - `checkDisabled() => void`: undefined
9848
- */
9849
- "test-prev": Partial<TestPrevProps & BaseProps<TestPrev> & BaseEvents>;
9850
-
9851
- /**
9852
- *
9853
- *
9854
- * ## Attributes & Properties
9855
- *
9856
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9857
- *
9858
- * - `computedContext`: undefined (property only)
9859
- */
9860
- "test-print-context": Partial<
9861
- TestPrintContextProps & BaseProps<TestPrintContext> & BaseEvents
9862
- >;
9863
-
9864
- /**
9865
- *
9866
- *
9867
- * ## Attributes & Properties
9868
- *
9869
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9870
- *
9871
- * - `computedContext`: undefined (property only)
9872
- */
9873
- "test-print-item-variables": Partial<
9874
- TestPrintVariablesProps & BaseProps<TestPrintVariables> & BaseEvents
9875
- >;
9876
-
9877
- /**
9878
- *
9879
- *
9880
- * ## Attributes & Properties
9881
- *
9882
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9883
- *
9884
- * - `view`: undefined
9885
- * - `disabled`: undefined
9886
- * - `myTemplate`: undefined (property only)
9887
- */
9888
- "test-scoring-buttons": Partial<
9889
- TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents
9890
- >;
9891
-
9892
- /**
9893
- *
9894
- *
9895
- * ## Attributes & Properties
9896
- *
9897
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9898
- *
9899
- * - `view`: undefined
9900
- */
9901
- "test-scoring-feedback": Partial<
9902
- TestScoringFeedbackProps & BaseProps<TestScoringFeedback> & BaseEvents
9903
- >;
9904
-
9905
- /**
9906
- * @deprecated test-section-buttons-stamp is deprecated and will be removed in the future.
9907
- *
9908
- *
9909
- *
9910
- * ## Attributes & Properties
9911
- *
9912
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9913
- *
9914
- * - `myTemplate`: undefined (property only)
9915
- * - `ariaLabel`: undefined (property only)
9916
- */
9917
- "test-section-buttons-stamp": Partial<
9918
- TestSectionButtonsStampProps &
9919
- BaseProps<TestSectionButtonsStamp> &
9920
- BaseEvents
9921
- >;
9922
-
9923
- /**
9924
- *
9925
- *
9926
- * ## Attributes & Properties
9927
- *
9928
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9929
- *
9930
- * - `section-id`/`sectionId`: undefined
9931
- */
9932
- "test-section-link": Partial<
9933
- TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
9934
- >;
9935
-
9936
- /**
9937
- * A custom web component that renders a test stamp using the Lit framework.
9938
- * This component is deprecated and will be removed in the future.
9939
- *
9940
- * ## Attributes & Properties
9941
- *
9942
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9943
- *
9944
- * - `debug`: Indicates whether the component is in debug mode.
9945
- * When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
9946
- * - `myTemplate`: undefined (property only)
9947
- *
9948
- * ## Events
9949
- *
9950
- * Events that will be emitted by the component.
9951
- *
9952
- * - `qti-stamp-context-updated`: undefined
9953
- */
9954
- "test-stamp": Partial<TestStampProps & BaseProps<TestStamp> & BaseEvents>;
9955
-
9956
- /**
9957
- *
9958
- *
9959
- * ## Attributes & Properties
9960
- *
9961
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9962
- *
9963
- * - `label`: label accompanying the select view dropdown
9964
- * - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
9965
- */
9966
- "test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
9967
-
9968
- /**
9969
- *
9970
- *
9971
- * ## Attributes & Properties
9972
- *
9973
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9974
- *
9975
- * - `myTemplate`: undefined (property only)
9976
- *
9977
- * ## Methods
9978
- *
9979
- * Methods that can be called to access component functionality.
9980
- *
9981
- * - `_switchView(view: string) => void`: undefined
9982
- */
9983
- "test-view-toggle": Partial<
9984
- TestViewToggleProps & BaseProps<TestViewToggle> & BaseEvents
9985
- >;
9986
-
9987
10092
  /**
9988
10093
  *
9989
10094
  *
@@ -10431,6 +10536,9 @@ export type CustomElements = {
10431
10536
  *
10432
10537
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10433
10538
  *
10539
+ * - `resultBaseType`: The base type of the field last read: as declared on the record's correct response when it
10540
+ * is, otherwise read off the value. The value alone is a string like `"4.1"` or `"455 250"`, and
10541
+ * an operator reading it as text would refuse to compare it as a number or test it as a point. (property only) (readonly)
10434
10542
  * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
10435
10543
  *
10436
10544
  * This is the supported way to inspect a scoring run: process the responses,
@@ -10438,13 +10546,6 @@ export type CustomElements = {
10438
10546
  * to visualise how a score came about gets the whole tree annotated with its
10439
10547
  * values, without the components having to re-render to show them. (property only) (readonly)
10440
10548
  * - `lastVariables`: undefined (property only) (readonly)
10441
- * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
10442
- * one regardless of its operands — `qti-divide` is a float even dividing two
10443
- * integers exactly, and `qti-round` is an integer whatever it rounds.
10444
- *
10445
- * Left undefined by operators whose result type follows their operands (a
10446
- * `qti-sum` of integers is an integer) and by those that return no number at
10447
- * all; the type is then read off the value. (property only) (readonly)
10448
10549
  * - `getVariables`: undefined (property only)
10449
10550
  *
10450
10551
  * ## Methods
@@ -12108,6 +12209,12 @@ export type CustomElements = {
12108
12209
 
12109
12210
  /**
12110
12211
  * Check-item extension that reveals the correct response after scoring.
12212
+ *
12213
+ * ## Attributes & Properties
12214
+ *
12215
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
12216
+ *
12217
+ * - `view`: The view to switch to after the attempt ended.
12111
12218
  */
12112
12219
  "test-check-item": Partial<
12113
12220
  TestCheckItemCorrectionProps &
@@ -13652,6 +13759,11 @@ export type CustomElementsSolidJs = {
13652
13759
  *
13653
13760
  * Component attributes and properties that can be applied to the element or by using JavaScript.
13654
13761
  *
13762
+ * - `autoSizeDropzones`: A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
13763
+ * `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
13764
+ * beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
13765
+ * declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
13766
+ * their hotspots through `--qti-graphic-scale` instead. (property only)
13655
13767
  * - `allowReorder`: undefined (property only)
13656
13768
  * - `sortablePlaceholderConfig`: undefined (property only)
13657
13769
  * - `sortableAnimationConfig`: undefined (property only)
@@ -14334,7 +14446,7 @@ export type CustomElementsSolidJs = {
14334
14446
  * - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
14335
14447
  * - `data-require-paths`/`requirePathsJson`: undefined
14336
14448
  * - `data-require-shim`/`requireShimJson`: undefined
14337
- * - `data-require-js-url`/`requireJsUrl`: undefined
14449
+ * - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
14338
14450
  * - `data-base-url`/`baseUrl`: undefined
14339
14451
  * - `data-use-default-paths`/`useDefaultPaths`: undefined
14340
14452
  * - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
@@ -14418,7 +14530,7 @@ export type CustomElementsSolidJs = {
14418
14530
  * - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
14419
14531
  * - `data-require-paths`/`requirePathsJson`: undefined
14420
14532
  * - `data-require-shim`/`requireShimJson`: undefined
14421
- * - `data-require-js-url`/`requireJsUrl`: undefined
14533
+ * - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
14422
14534
  * - `data-base-url`/`baseUrl`: undefined
14423
14535
  * - `data-use-default-paths`/`useDefaultPaths`: undefined
14424
14536
  * - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
@@ -14995,10 +15107,46 @@ export type CustomElementsSolidJs = {
14995
15107
  *
14996
15108
  * - `qti-item-session-control-connected`: undefined
14997
15109
  */
14998
- "qti-item-session-control": Partial<
14999
- QtiItemSessionControlProps &
15000
- QtiItemSessionControlSolidJsProps &
15001
- BaseProps<QtiItemSessionControl> &
15110
+ "qti-item-session-control": Partial<
15111
+ QtiItemSessionControlProps &
15112
+ QtiItemSessionControlSolidJsProps &
15113
+ BaseProps<QtiItemSessionControl> &
15114
+ BaseEvents
15115
+ >;
15116
+
15117
+ /**
15118
+ *
15119
+ *
15120
+ * ## Attributes & Properties
15121
+ *
15122
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15123
+ *
15124
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
15125
+ *
15126
+ * This is the supported way to inspect a scoring run: process the responses,
15127
+ * then walk the rule tree reading this off each expression. A tool that wants
15128
+ * to visualise how a score came about gets the whole tree annotated with its
15129
+ * values, without the components having to re-render to show them. (property only) (readonly)
15130
+ * - `lastVariables`: undefined (property only) (readonly)
15131
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
15132
+ * one regardless of its operands — `qti-divide` is a float even dividing two
15133
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
15134
+ *
15135
+ * Left undefined by operators whose result type follows their operands (a
15136
+ * `qti-sum` of integers is an integer) and by those that return no number at
15137
+ * all; the type is then read off the value. (property only) (readonly)
15138
+ * - `getVariables`: undefined (property only)
15139
+ *
15140
+ * ## Methods
15141
+ *
15142
+ * Methods that can be called to access component functionality.
15143
+ *
15144
+ * - `calculate() => number`: undefined
15145
+ */
15146
+ "qti-number-presented": Partial<
15147
+ QtiNumberPresentedProps &
15148
+ QtiNumberPresentedSolidJsProps &
15149
+ BaseProps<QtiNumberPresented> &
15002
15150
  BaseEvents
15003
15151
  >;
15004
15152
 
@@ -15077,12 +15225,14 @@ export type CustomElementsSolidJs = {
15077
15225
  >;
15078
15226
 
15079
15227
  /**
15080
- *
15228
+ * Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
15229
+ * the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
15081
15230
  *
15082
15231
  * ## Attributes & Properties
15083
15232
  *
15084
15233
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15085
15234
  *
15235
+ * - `access`: When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`).
15086
15236
  * - `show-hide`/`showHide`: undefined
15087
15237
  * - `outcome-identifier`/`outcomeIdentifier`: undefined
15088
15238
  * - `identifier`: undefined
@@ -15092,6 +15242,8 @@ export type CustomElementsSolidJs = {
15092
15242
  *
15093
15243
  * Methods that can be called to access component functionality.
15094
15244
  *
15245
+ * - `matches(value: string | readonly string[] | null | undefined) => boolean`: Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
15246
+ * when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
15095
15247
  * - `openFeedback() => void`: undefined
15096
15248
  * - `closeFeedback() => void`: undefined
15097
15249
  * - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
@@ -15273,16 +15425,6 @@ export type CustomElementsSolidJs = {
15273
15425
  QtiTestProps & QtiTestSolidJsProps & BaseProps<QtiTest> & BaseEvents
15274
15426
  >;
15275
15427
 
15276
- /**
15277
- *
15278
- */
15279
- "test-check-item": Partial<
15280
- TestCheckItemProps &
15281
- TestCheckItemSolidJsProps &
15282
- BaseProps<TestCheckItem> &
15283
- BaseEvents
15284
- >;
15285
-
15286
15428
  /**
15287
15429
  *
15288
15430
  *
@@ -15322,6 +15464,285 @@ export type CustomElementsSolidJs = {
15322
15464
  BaseEvents
15323
15465
  >;
15324
15466
 
15467
+ /**
15468
+ *
15469
+ *
15470
+ * ## Attributes & Properties
15471
+ *
15472
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15473
+ *
15474
+ * - `identifier`: undefined
15475
+ * - `auto-score-items`/`autoScoreItems`: undefined
15476
+ * - `initContext`: undefined (property only)
15477
+ * - `qtiContext`: undefined (property only)
15478
+ * - `configContext`: undefined (property only)
15479
+ *
15480
+ * ## Events
15481
+ *
15482
+ * Events that will be emitted by the component.
15483
+ *
15484
+ * - `qti-computed-context-updated`: undefined
15485
+ */
15486
+ "test-navigation": Partial<
15487
+ TestNavigationProps &
15488
+ TestNavigationSolidJsProps &
15489
+ BaseProps<TestNavigation> &
15490
+ BaseEvents
15491
+ >;
15492
+
15493
+ /**
15494
+ * Represents a custom element for navigating to the next test item.
15495
+ *
15496
+ * ## Attributes & Properties
15497
+ *
15498
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15499
+ *
15500
+ * - `disabled`/`_internalDisabled`: undefined
15501
+ * - `sectionItems`: undefined (property only)
15502
+ * - `itemIndex`: undefined (property only)
15503
+ * - `role`: undefined (property only)
15504
+ * - `ariaLabel`: undefined (property only)
15505
+ *
15506
+ * ## Methods
15507
+ *
15508
+ * Methods that can be called to access component functionality.
15509
+ *
15510
+ * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
15511
+ * - `checkDisabled() => void`: undefined
15512
+ */
15513
+ "test-next": Partial<
15514
+ TestNextProps & TestNextSolidJsProps & BaseProps<TestNext> & BaseEvents
15515
+ >;
15516
+
15517
+ /**
15518
+ * Represents a custom element for navigating to the previous test item.
15519
+ *
15520
+ * ## Attributes & Properties
15521
+ *
15522
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15523
+ *
15524
+ * - `disabled`/`_internalDisabled`: undefined
15525
+ * - `sectionItems`: undefined (property only)
15526
+ * - `itemIndex`: undefined (property only)
15527
+ *
15528
+ * ## Methods
15529
+ *
15530
+ * Methods that can be called to access component functionality.
15531
+ *
15532
+ * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
15533
+ * - `checkDisabled() => void`: undefined
15534
+ */
15535
+ "test-prev": Partial<
15536
+ TestPrevProps & TestPrevSolidJsProps & BaseProps<TestPrev> & BaseEvents
15537
+ >;
15538
+
15539
+ /**
15540
+ *
15541
+ *
15542
+ * ## Attributes & Properties
15543
+ *
15544
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15545
+ *
15546
+ * - `section-id`/`sectionId`: undefined
15547
+ */
15548
+ "test-section-link": Partial<
15549
+ TestSectionLinkProps &
15550
+ TestSectionLinkSolidJsProps &
15551
+ BaseProps<TestSectionLink> &
15552
+ BaseEvents
15553
+ >;
15554
+
15555
+ /**
15556
+ * A toggle that marks the item on screen to come back to. The marks live in the test's state under
15557
+ * `bookmarks` (`session.plugins.bookmarks`), so a host that stores `state` stores them, and a
15558
+ * reloaded test shows them again.
15559
+ *
15560
+ * Put it inside `<test-navigation>`, either in the toolbar, where it marks the item on screen, or in
15561
+ * the `<template item-ref>`, where each item gets its own and it marks that item. It is a button
15562
+ * (`role="button"`, `aria-pressed`) and reflects `bookmarked` on the host for styling; its content is
15563
+ * the label. In the toolbar it is `disabled` while no item is on screen. A host's own navigation reads
15564
+ * the marks with `bookmarkedItems(computedContext)`.
15565
+ *
15566
+ * Give it an `item` (an item-ref identifier) to mark that item instead, wherever the button sits: in a
15567
+ * stamp template that lists the items of a section, `<test-bookmark item="{{ item.identifier }}">`
15568
+ * puts a button next to each one.
15569
+ *
15570
+ * ## Attributes & Properties
15571
+ *
15572
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15573
+ *
15574
+ * - `item`: The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen.
15575
+ * - `bookmarked`: Reflected: the item on screen is bookmarked.
15576
+ * - `disabled`: Reflected: there is no item on screen.
15577
+ *
15578
+ * ## Slots
15579
+ *
15580
+ * Areas where markup can be added to the component.
15581
+ *
15582
+ * - `(default)`: The label.
15583
+ */
15584
+ "test-bookmark": Partial<
15585
+ TestBookmarkProps &
15586
+ TestBookmarkSolidJsProps &
15587
+ BaseProps<TestBookmark> &
15588
+ BaseEvents
15589
+ >;
15590
+
15591
+ /**
15592
+ * Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
15593
+ * reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
15594
+ * something switches it back (`test-view-toggle`).
15595
+ *
15596
+ * ## Attributes & Properties
15597
+ *
15598
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15599
+ *
15600
+ * - `view`: The view to switch to after the attempt ended.
15601
+ */
15602
+ "test-check-item": Partial<
15603
+ TestCheckItemProps &
15604
+ TestCheckItemSolidJsProps &
15605
+ BaseProps<TestCheckItem> &
15606
+ BaseEvents
15607
+ >;
15608
+
15609
+ /**
15610
+ *
15611
+ *
15612
+ * ## Attributes & Properties
15613
+ *
15614
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15615
+ *
15616
+ * - `computedContext`: undefined (property only)
15617
+ */
15618
+ "test-print-context": Partial<
15619
+ TestPrintContextProps &
15620
+ TestPrintContextSolidJsProps &
15621
+ BaseProps<TestPrintContext> &
15622
+ BaseEvents
15623
+ >;
15624
+
15625
+ /**
15626
+ *
15627
+ *
15628
+ * ## Attributes & Properties
15629
+ *
15630
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15631
+ *
15632
+ * - `computedContext`: undefined (property only)
15633
+ */
15634
+ "test-print-item-variables": Partial<
15635
+ TestPrintVariablesProps &
15636
+ TestPrintVariablesSolidJsProps &
15637
+ BaseProps<TestPrintVariables> &
15638
+ BaseEvents
15639
+ >;
15640
+
15641
+ /**
15642
+ *
15643
+ *
15644
+ * ## Attributes & Properties
15645
+ *
15646
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15647
+ *
15648
+ * - `view`: undefined
15649
+ * - `disabled`: undefined
15650
+ * - `myTemplate`: undefined (property only)
15651
+ */
15652
+ "test-scoring-buttons": Partial<
15653
+ TestScoringButtonsProps &
15654
+ TestScoringButtonsSolidJsProps &
15655
+ BaseProps<TestScoringButtons> &
15656
+ BaseEvents
15657
+ >;
15658
+
15659
+ /**
15660
+ *
15661
+ *
15662
+ * ## Attributes & Properties
15663
+ *
15664
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15665
+ *
15666
+ * - `view`: undefined
15667
+ */
15668
+ "test-scoring-feedback": Partial<
15669
+ TestScoringFeedbackProps &
15670
+ TestScoringFeedbackSolidJsProps &
15671
+ BaseProps<TestScoringFeedback> &
15672
+ BaseEvents
15673
+ >;
15674
+
15675
+ /**
15676
+ * The stamp plugin: renders its `<template>` child with the state of the test (`test`,
15677
+ * `activeTestpart`, `activeSection`, `activeItem`, `view`), again on every change, so a player
15678
+ * can show progress or numbered navigation without writing a component.
15679
+ *
15680
+ * ## Attributes & Properties
15681
+ *
15682
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15683
+ *
15684
+ * - `debug`: Indicates whether the component is in debug mode.
15685
+ * When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
15686
+ * - `myTemplate`: undefined (property only)
15687
+ *
15688
+ * ## Events
15689
+ *
15690
+ * Events that will be emitted by the component.
15691
+ *
15692
+ * - `qti-stamp-context-updated`: undefined
15693
+ */
15694
+ "test-stamp": Partial<
15695
+ TestStampProps & TestStampSolidJsProps & BaseProps<TestStamp> & BaseEvents
15696
+ >;
15697
+
15698
+ /**
15699
+ * Scores the test: on click the test resets its outcomes to their declared defaults, runs its
15700
+ * outcome processing and dispatches `cito-test-submitted`, after which the host reads the outcomes.
15701
+ * The host decides where it sits, for example on the last item or in a review view.
15702
+ */
15703
+ "test-submit": Partial<
15704
+ TestSubmitProps &
15705
+ TestSubmitSolidJsProps &
15706
+ BaseProps<TestSubmit> &
15707
+ BaseEvents
15708
+ >;
15709
+
15710
+ /**
15711
+ *
15712
+ *
15713
+ * ## Attributes & Properties
15714
+ *
15715
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15716
+ *
15717
+ * - `label`: label accompanying the select view dropdown
15718
+ * - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
15719
+ */
15720
+ "test-view": Partial<
15721
+ TestViewProps & TestViewSolidJsProps & BaseProps<TestView> & BaseEvents
15722
+ >;
15723
+
15724
+ /**
15725
+ *
15726
+ *
15727
+ * ## Attributes & Properties
15728
+ *
15729
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15730
+ *
15731
+ * - `myTemplate`: undefined (property only)
15732
+ *
15733
+ * ## Methods
15734
+ *
15735
+ * Methods that can be called to access component functionality.
15736
+ *
15737
+ * - `_switchView(view: string) => void`: undefined
15738
+ */
15739
+ "test-view-toggle": Partial<
15740
+ TestViewToggleProps &
15741
+ TestViewToggleSolidJsProps &
15742
+ BaseProps<TestViewToggle> &
15743
+ BaseEvents
15744
+ >;
15745
+
15325
15746
  /**
15326
15747
  * `<test-item-to-speech>` is the controller and context provider. It manages
15327
15748
  * speech synthesis, word highlighting, and item element lookup. Compose your
@@ -15570,256 +15991,6 @@ export type CustomElementsSolidJs = {
15570
15991
  BaseEvents
15571
15992
  >;
15572
15993
 
15573
- /**
15574
- *
15575
- *
15576
- * ## Attributes & Properties
15577
- *
15578
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15579
- *
15580
- * - `identifier`: undefined
15581
- * - `auto-score-items`/`autoScoreItems`: undefined
15582
- * - `initContext`: undefined (property only)
15583
- * - `qtiContext`: undefined (property only)
15584
- * - `configContext`: undefined (property only)
15585
- *
15586
- * ## Events
15587
- *
15588
- * Events that will be emitted by the component.
15589
- *
15590
- * - `qti-computed-context-updated`: undefined
15591
- */
15592
- "test-navigation": Partial<
15593
- TestNavigationProps &
15594
- TestNavigationSolidJsProps &
15595
- BaseProps<TestNavigation> &
15596
- BaseEvents
15597
- >;
15598
-
15599
- /**
15600
- * Represents a custom element for navigating to the next test item.
15601
- *
15602
- * ## Attributes & Properties
15603
- *
15604
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15605
- *
15606
- * - `disabled`/`_internalDisabled`: undefined
15607
- * - `sectionItems`: undefined (property only)
15608
- * - `itemIndex`: undefined (property only)
15609
- * - `role`: undefined (property only)
15610
- * - `ariaLabel`: undefined (property only)
15611
- *
15612
- * ## Methods
15613
- *
15614
- * Methods that can be called to access component functionality.
15615
- *
15616
- * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
15617
- * - `checkDisabled() => void`: undefined
15618
- */
15619
- "test-next": Partial<
15620
- TestNextProps & TestNextSolidJsProps & BaseProps<TestNext> & BaseEvents
15621
- >;
15622
-
15623
- /**
15624
- * @deprecated test-paging-buttons-stamp is deprecated and will be removed in the future.
15625
- *
15626
- *
15627
- *
15628
- * ## Attributes & Properties
15629
- *
15630
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15631
- *
15632
- * - `myTemplate`: undefined (property only)
15633
- * - `ariaLabel`: undefined (property only)
15634
- */
15635
- "test-paging-buttons-stamp": Partial<
15636
- TestPagingButtonsStampProps &
15637
- TestPagingButtonsStampSolidJsProps &
15638
- BaseProps<TestPagingButtonsStamp> &
15639
- BaseEvents
15640
- >;
15641
-
15642
- /**
15643
- * Represents a custom element for navigating to the previous test item.
15644
- *
15645
- * ## Attributes & Properties
15646
- *
15647
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15648
- *
15649
- * - `disabled`/`_internalDisabled`: undefined
15650
- * - `sectionItems`: undefined (property only)
15651
- * - `itemIndex`: undefined (property only)
15652
- *
15653
- * ## Methods
15654
- *
15655
- * Methods that can be called to access component functionality.
15656
- *
15657
- * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
15658
- * - `checkDisabled() => void`: undefined
15659
- */
15660
- "test-prev": Partial<
15661
- TestPrevProps & TestPrevSolidJsProps & BaseProps<TestPrev> & BaseEvents
15662
- >;
15663
-
15664
- /**
15665
- *
15666
- *
15667
- * ## Attributes & Properties
15668
- *
15669
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15670
- *
15671
- * - `computedContext`: undefined (property only)
15672
- */
15673
- "test-print-context": Partial<
15674
- TestPrintContextProps &
15675
- TestPrintContextSolidJsProps &
15676
- BaseProps<TestPrintContext> &
15677
- BaseEvents
15678
- >;
15679
-
15680
- /**
15681
- *
15682
- *
15683
- * ## Attributes & Properties
15684
- *
15685
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15686
- *
15687
- * - `computedContext`: undefined (property only)
15688
- */
15689
- "test-print-item-variables": Partial<
15690
- TestPrintVariablesProps &
15691
- TestPrintVariablesSolidJsProps &
15692
- BaseProps<TestPrintVariables> &
15693
- BaseEvents
15694
- >;
15695
-
15696
- /**
15697
- *
15698
- *
15699
- * ## Attributes & Properties
15700
- *
15701
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15702
- *
15703
- * - `view`: undefined
15704
- * - `disabled`: undefined
15705
- * - `myTemplate`: undefined (property only)
15706
- */
15707
- "test-scoring-buttons": Partial<
15708
- TestScoringButtonsProps &
15709
- TestScoringButtonsSolidJsProps &
15710
- BaseProps<TestScoringButtons> &
15711
- BaseEvents
15712
- >;
15713
-
15714
- /**
15715
- *
15716
- *
15717
- * ## Attributes & Properties
15718
- *
15719
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15720
- *
15721
- * - `view`: undefined
15722
- */
15723
- "test-scoring-feedback": Partial<
15724
- TestScoringFeedbackProps &
15725
- TestScoringFeedbackSolidJsProps &
15726
- BaseProps<TestScoringFeedback> &
15727
- BaseEvents
15728
- >;
15729
-
15730
- /**
15731
- * @deprecated test-section-buttons-stamp is deprecated and will be removed in the future.
15732
- *
15733
- *
15734
- *
15735
- * ## Attributes & Properties
15736
- *
15737
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15738
- *
15739
- * - `myTemplate`: undefined (property only)
15740
- * - `ariaLabel`: undefined (property only)
15741
- */
15742
- "test-section-buttons-stamp": Partial<
15743
- TestSectionButtonsStampProps &
15744
- TestSectionButtonsStampSolidJsProps &
15745
- BaseProps<TestSectionButtonsStamp> &
15746
- BaseEvents
15747
- >;
15748
-
15749
- /**
15750
- *
15751
- *
15752
- * ## Attributes & Properties
15753
- *
15754
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15755
- *
15756
- * - `section-id`/`sectionId`: undefined
15757
- */
15758
- "test-section-link": Partial<
15759
- TestSectionLinkProps &
15760
- TestSectionLinkSolidJsProps &
15761
- BaseProps<TestSectionLink> &
15762
- BaseEvents
15763
- >;
15764
-
15765
- /**
15766
- * A custom web component that renders a test stamp using the Lit framework.
15767
- * This component is deprecated and will be removed in the future.
15768
- *
15769
- * ## Attributes & Properties
15770
- *
15771
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15772
- *
15773
- * - `debug`: Indicates whether the component is in debug mode.
15774
- * When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
15775
- * - `myTemplate`: undefined (property only)
15776
- *
15777
- * ## Events
15778
- *
15779
- * Events that will be emitted by the component.
15780
- *
15781
- * - `qti-stamp-context-updated`: undefined
15782
- */
15783
- "test-stamp": Partial<
15784
- TestStampProps & TestStampSolidJsProps & BaseProps<TestStamp> & BaseEvents
15785
- >;
15786
-
15787
- /**
15788
- *
15789
- *
15790
- * ## Attributes & Properties
15791
- *
15792
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15793
- *
15794
- * - `label`: label accompanying the select view dropdown
15795
- * - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
15796
- */
15797
- "test-view": Partial<
15798
- TestViewProps & TestViewSolidJsProps & BaseProps<TestView> & BaseEvents
15799
- >;
15800
-
15801
- /**
15802
- *
15803
- *
15804
- * ## Attributes & Properties
15805
- *
15806
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15807
- *
15808
- * - `myTemplate`: undefined (property only)
15809
- *
15810
- * ## Methods
15811
- *
15812
- * Methods that can be called to access component functionality.
15813
- *
15814
- * - `_switchView(view: string) => void`: undefined
15815
- */
15816
- "test-view-toggle": Partial<
15817
- TestViewToggleProps &
15818
- TestViewToggleSolidJsProps &
15819
- BaseProps<TestViewToggle> &
15820
- BaseEvents
15821
- >;
15822
-
15823
15994
  /**
15824
15995
  *
15825
15996
  *
@@ -16313,6 +16484,9 @@ export type CustomElementsSolidJs = {
16313
16484
  *
16314
16485
  * Component attributes and properties that can be applied to the element or by using JavaScript.
16315
16486
  *
16487
+ * - `resultBaseType`: The base type of the field last read: as declared on the record's correct response when it
16488
+ * is, otherwise read off the value. The value alone is a string like `"4.1"` or `"455 250"`, and
16489
+ * an operator reading it as text would refuse to compare it as a number or test it as a point. (property only) (readonly)
16316
16490
  * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
16317
16491
  *
16318
16492
  * This is the supported way to inspect a scoring run: process the responses,
@@ -16320,13 +16494,6 @@ export type CustomElementsSolidJs = {
16320
16494
  * to visualise how a score came about gets the whole tree annotated with its
16321
16495
  * values, without the components having to re-render to show them. (property only) (readonly)
16322
16496
  * - `lastVariables`: undefined (property only) (readonly)
16323
- * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
16324
- * one regardless of its operands — `qti-divide` is a float even dividing two
16325
- * integers exactly, and `qti-round` is an integer whatever it rounds.
16326
- *
16327
- * Left undefined by operators whose result type follows their operands (a
16328
- * `qti-sum` of integers is an integer) and by those that return no number at
16329
- * all; the type is then read off the value. (property only) (readonly)
16330
16497
  * - `getVariables`: undefined (property only)
16331
16498
  *
16332
16499
  * ## Methods
@@ -18146,6 +18313,12 @@ export type CustomElementsSolidJs = {
18146
18313
 
18147
18314
  /**
18148
18315
  * Check-item extension that reveals the correct response after scoring.
18316
+ *
18317
+ * ## Attributes & Properties
18318
+ *
18319
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
18320
+ *
18321
+ * - `view`: The view to switch to after the attempt ended.
18149
18322
  */
18150
18323
  "test-check-item": Partial<
18151
18324
  TestCheckItemCorrectionProps &