@citolab/qti-components 10.0.0-next.3 → 10.0.0-next.5

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 (47) hide show
  1. package/cdn/index.global.js +1 -1
  2. package/cdn/index.js +330 -297
  3. package/dist/base.d.ts +4 -4
  4. package/dist/base.js +1 -1
  5. package/dist/{chunk-SIE3E4FG.js → chunk-A2AP6CUL.js} +2097 -2036
  6. package/dist/chunk-A2AP6CUL.js.map +1 -0
  7. package/dist/{chunk-MI7774NV.js → chunk-CXTHPEUN.js} +2 -2
  8. package/dist/{chunk-FD4AB6TM.js → chunk-F7QDRKCR.js} +2 -2
  9. package/dist/{chunk-RU6332MD.js → chunk-JNZ3HSFI.js} +2 -2
  10. package/dist/{chunk-TDWJ6WZA.js → chunk-JZZMY3FA.js} +1 -1
  11. package/dist/chunk-JZZMY3FA.js.map +1 -0
  12. package/dist/{chunk-D3BYGEQU.js → chunk-KB2NJTSD.js} +6 -6
  13. package/dist/{chunk-GBZNFSFY.js → chunk-O5HGNYB2.js} +2 -2
  14. package/dist/{chunk-6U3YPHXU.js → chunk-QU23PPEZ.js} +2 -2
  15. package/dist/{chunk-6K3QWJHH.js → chunk-R7ZCUQU2.js} +2 -2
  16. package/dist/{chunk-RSMYGGQK.js → chunk-WC3P4KCV.js} +2 -2
  17. package/dist/{chunk-OQDBARD5.js → chunk-WV53LUE3.js} +2 -2
  18. package/dist/{chunk-35WWWFS6.js → chunk-WVDQLBMT.js} +2 -2
  19. package/dist/{computed.types.d-gJrBeUMG.d.ts → computed.types.d-DvxBgnze.d.ts} +10 -1
  20. package/dist/corrections.d.ts +4 -4
  21. package/dist/corrections.js +7 -7
  22. package/dist/elements.js +3 -3
  23. package/dist/index.d.ts +5 -5
  24. package/dist/index.js +22 -18
  25. package/dist/interactions.js +3 -3
  26. package/dist/item.d.ts +2 -2
  27. package/dist/item.js +3 -3
  28. package/dist/processing.js +3 -3
  29. package/dist/qti-components-jsx.d.ts +777 -753
  30. package/dist/{qti-item.d-DgC1AQbY.d.ts → qti-item.d-klsgIEKQ.d.ts} +1 -1
  31. package/dist/{qti-test.d-86TlaMlI.d.ts → qti-test.d-Cra3sS-2.d.ts} +124 -97
  32. package/dist/{session.context.d-D5080LVx.d.ts → session.context.d-DYAdqSer.d.ts} +6 -0
  33. package/dist/test.d.ts +111 -6
  34. package/dist/test.js +14 -10
  35. package/package.json +8 -8
  36. package/dist/chunk-SIE3E4FG.js.map +0 -1
  37. package/dist/chunk-TDWJ6WZA.js.map +0 -1
  38. /package/dist/{chunk-MI7774NV.js.map → chunk-CXTHPEUN.js.map} +0 -0
  39. /package/dist/{chunk-FD4AB6TM.js.map → chunk-F7QDRKCR.js.map} +0 -0
  40. /package/dist/{chunk-RU6332MD.js.map → chunk-JNZ3HSFI.js.map} +0 -0
  41. /package/dist/{chunk-D3BYGEQU.js.map → chunk-KB2NJTSD.js.map} +0 -0
  42. /package/dist/{chunk-GBZNFSFY.js.map → chunk-O5HGNYB2.js.map} +0 -0
  43. /package/dist/{chunk-6U3YPHXU.js.map → chunk-QU23PPEZ.js.map} +0 -0
  44. /package/dist/{chunk-6K3QWJHH.js.map → chunk-R7ZCUQU2.js.map} +0 -0
  45. /package/dist/{chunk-RSMYGGQK.js.map → chunk-WC3P4KCV.js.map} +0 -0
  46. /package/dist/{chunk-OQDBARD5.js.map → chunk-WV53LUE3.js.map} +0 -0
  47. /package/dist/{chunk-35WWWFS6.js.map → chunk-WVDQLBMT.js.map} +0 -0
@@ -86,33 +86,35 @@ import type {
86
86
  QtiTestVariablesExpression,
87
87
  TestContainer,
88
88
  QtiTest,
89
- TestCheckItem,
90
89
  TestEndAttempt,
91
90
  TestItemLink,
92
- TestTtsStop,
93
- TestTtsResume,
94
- TestTtsPrev,
95
- TestTtsPlay,
96
- TestTtsPick,
97
- TestTtsPause,
98
- TestTtsNext,
99
- TestItemToSpeech,
100
- SpeechState,
101
- ttsContext,
102
91
  TestNavigation,
103
92
  TestNext,
104
- TestPagingButtonsStamp,
105
93
  TestPrev,
94
+ TestSectionLink,
95
+ TestBookmark,
96
+ bookmarkedItems,
97
+ TestCheckItem,
106
98
  TestPrintContext,
107
99
  TestPrintVariables,
108
100
  TestScoringButtons,
109
101
  TestScoringFeedback,
110
- TestSectionButtonsStamp,
111
- TestSectionLink,
112
102
  TestStamp,
113
103
  TestView,
114
104
  TestViewToggle,
115
105
  } from "./test.js";
106
+ import type {
107
+ TestTtsStop,
108
+ TestTtsResume,
109
+ TestTtsPrev,
110
+ TestTtsPlay,
111
+ TestTtsPick,
112
+ TestTtsPause,
113
+ TestTtsNext,
114
+ TestItemToSpeech,
115
+ SpeechState,
116
+ ttsContext,
117
+ } from "./tts.js";
116
118
  import type {
117
119
  QtiAnd,
118
120
  qtiAndMixin,
@@ -4603,15 +4605,6 @@ object, do not mutate it: an in-place change does not notify the components insi
4603
4605
  textContent?: string | number | undefined;
4604
4606
  };
4605
4607
 
4606
- export type TestCheckItemProps = {};
4607
-
4608
- export type TestCheckItemSolidJsProps = {
4609
- /** Set the innerHTML of the element */
4610
- innerHTML?: string | undefined;
4611
- /** Set the textContent of the element */
4612
- textContent?: string | number | undefined;
4613
- };
4614
-
4615
4608
  export type TestEndAttemptProps = {
4616
4609
  /** */
4617
4610
  disabled?: TestEndAttempt["_internalDisabled"] | undefined;
@@ -4650,166 +4643,6 @@ export type TestItemLinkSolidJsProps = {
4650
4643
  textContent?: string | number | undefined;
4651
4644
  };
4652
4645
 
4653
- export type TestItemToSpeechProps = {
4654
- /** Fallback language when neither the item content nor the document declares one. */
4655
- language?: TestItemToSpeech["language"] | undefined;
4656
- /** */
4657
- _ttsContext?: TestItemToSpeech["_ttsContext"] | undefined;
4658
- };
4659
-
4660
- export type TestItemToSpeechSolidJsProps = {
4661
- /** Fallback language when neither the item content nor the document declares one. */
4662
- "prop:language"?: TestItemToSpeech["language"] | undefined;
4663
- /** */
4664
- "prop:_ttsContext"?: TestItemToSpeech["_ttsContext"] | undefined;
4665
-
4666
- /** Set the innerHTML of the element */
4667
- innerHTML?: string | undefined;
4668
- /** Set the textContent of the element */
4669
- textContent?: string | number | undefined;
4670
- };
4671
-
4672
- export type TestTtsPlayProps = {
4673
- /** Accessible name of the button while speech is playing; see `label`. */
4674
- "pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
4675
- /** Accessible name of the button while speech is playing; see `label`. */
4676
- pauseLabel?: TestTtsPlay["pauseLabel"] | undefined;
4677
- /** Accessible name of the button. Without it the default icon carries an English name, and
4678
- slotted content names the button by its text; set it when you slot an icon of your own,
4679
- which has no text to be named by. */
4680
- label?: TestTtsPlay["label"] | undefined;
4681
- };
4682
-
4683
- export type TestTtsPlaySolidJsProps = {
4684
- /** Accessible name of the button while speech is playing; see `label`. */
4685
- "attr:pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
4686
- /** Accessible name of the button while speech is playing; see `label`. */
4687
- "prop:pauseLabel"?: TestTtsPlay["pauseLabel"] | undefined;
4688
- /** Accessible name of the button. Without it the default icon carries an English name, and
4689
- slotted content names the button by its text; set it when you slot an icon of your own,
4690
- which has no text to be named by. */
4691
- "prop:label"?: TestTtsPlay["label"] | undefined;
4692
-
4693
- /** Set the innerHTML of the element */
4694
- innerHTML?: string | undefined;
4695
- /** Set the textContent of the element */
4696
- textContent?: string | number | undefined;
4697
- };
4698
-
4699
- export type TestTtsPauseProps = {
4700
- /** Accessible name of the button. Without it the default icon carries an English name, and
4701
- slotted content names the button by its text; set it when you slot an icon of your own,
4702
- which has no text to be named by. */
4703
- label?: TestTtsPause["label"] | undefined;
4704
- };
4705
-
4706
- export type TestTtsPauseSolidJsProps = {
4707
- /** Accessible name of the button. Without it the default icon carries an English name, and
4708
- slotted content names the button by its text; set it when you slot an icon of your own,
4709
- which has no text to be named by. */
4710
- "prop:label"?: TestTtsPause["label"] | undefined;
4711
-
4712
- /** Set the innerHTML of the element */
4713
- innerHTML?: string | undefined;
4714
- /** Set the textContent of the element */
4715
- textContent?: string | number | undefined;
4716
- };
4717
-
4718
- export type TestTtsResumeProps = {
4719
- /** Accessible name of the button. Without it the default icon carries an English name, and
4720
- slotted content names the button by its text; set it when you slot an icon of your own,
4721
- which has no text to be named by. */
4722
- label?: TestTtsResume["label"] | undefined;
4723
- };
4724
-
4725
- export type TestTtsResumeSolidJsProps = {
4726
- /** Accessible name of the button. Without it the default icon carries an English name, and
4727
- slotted content names the button by its text; set it when you slot an icon of your own,
4728
- which has no text to be named by. */
4729
- "prop:label"?: TestTtsResume["label"] | undefined;
4730
-
4731
- /** Set the innerHTML of the element */
4732
- innerHTML?: string | undefined;
4733
- /** Set the textContent of the element */
4734
- textContent?: string | number | undefined;
4735
- };
4736
-
4737
- export type TestTtsStopProps = {
4738
- /** Accessible name of the button. Without it the default icon carries an English name, and
4739
- slotted content names the button by its text; set it when you slot an icon of your own,
4740
- which has no text to be named by. */
4741
- label?: TestTtsStop["label"] | undefined;
4742
- };
4743
-
4744
- export type TestTtsStopSolidJsProps = {
4745
- /** Accessible name of the button. Without it the default icon carries an English name, and
4746
- slotted content names the button by its text; set it when you slot an icon of your own,
4747
- which has no text to be named by. */
4748
- "prop:label"?: TestTtsStop["label"] | undefined;
4749
-
4750
- /** Set the innerHTML of the element */
4751
- innerHTML?: string | undefined;
4752
- /** Set the textContent of the element */
4753
- textContent?: string | number | undefined;
4754
- };
4755
-
4756
- export type TestTtsPrevProps = {
4757
- /** Accessible name of the button. Without it the default icon carries an English name, and
4758
- slotted content names the button by its text; set it when you slot an icon of your own,
4759
- which has no text to be named by. */
4760
- label?: TestTtsPrev["label"] | undefined;
4761
- };
4762
-
4763
- export type TestTtsPrevSolidJsProps = {
4764
- /** Accessible name of the button. Without it the default icon carries an English name, and
4765
- slotted content names the button by its text; set it when you slot an icon of your own,
4766
- which has no text to be named by. */
4767
- "prop:label"?: TestTtsPrev["label"] | undefined;
4768
-
4769
- /** Set the innerHTML of the element */
4770
- innerHTML?: string | undefined;
4771
- /** Set the textContent of the element */
4772
- textContent?: string | number | undefined;
4773
- };
4774
-
4775
- export type TestTtsNextProps = {
4776
- /** Accessible name of the button. Without it the default icon carries an English name, and
4777
- slotted content names the button by its text; set it when you slot an icon of your own,
4778
- which has no text to be named by. */
4779
- label?: TestTtsNext["label"] | undefined;
4780
- };
4781
-
4782
- export type TestTtsNextSolidJsProps = {
4783
- /** Accessible name of the button. Without it the default icon carries an English name, and
4784
- slotted content names the button by its text; set it when you slot an icon of your own,
4785
- which has no text to be named by. */
4786
- "prop:label"?: TestTtsNext["label"] | undefined;
4787
-
4788
- /** Set the innerHTML of the element */
4789
- innerHTML?: string | undefined;
4790
- /** Set the textContent of the element */
4791
- textContent?: string | number | undefined;
4792
- };
4793
-
4794
- export type TestTtsPickProps = {
4795
- /** Accessible name of the button. Without it the default icon carries an English name, and
4796
- slotted content names the button by its text; set it when you slot an icon of your own,
4797
- which has no text to be named by. */
4798
- label?: TestTtsPick["label"] | undefined;
4799
- };
4800
-
4801
- export type TestTtsPickSolidJsProps = {
4802
- /** Accessible name of the button. Without it the default icon carries an English name, and
4803
- slotted content names the button by its text; set it when you slot an icon of your own,
4804
- which has no text to be named by. */
4805
- "prop:label"?: TestTtsPick["label"] | undefined;
4806
-
4807
- /** Set the innerHTML of the element */
4808
- innerHTML?: string | undefined;
4809
- /** Set the textContent of the element */
4810
- textContent?: string | number | undefined;
4811
- };
4812
-
4813
4646
  export type TestNavigationProps = {
4814
4647
  /** */
4815
4648
  identifier?: TestNavigation["identifier"] | undefined;
@@ -4893,25 +4726,6 @@ export type TestNextSolidJsProps = {
4893
4726
  textContent?: string | number | undefined;
4894
4727
  };
4895
4728
 
4896
- export type TestPagingButtonsStampProps = {
4897
- /** */
4898
- myTemplate?: TestPagingButtonsStamp["myTemplate"] | undefined;
4899
- /** */
4900
- ariaLabel?: TestPagingButtonsStamp["ariaLabel"] | undefined;
4901
- };
4902
-
4903
- export type TestPagingButtonsStampSolidJsProps = {
4904
- /** */
4905
- "prop:myTemplate"?: TestPagingButtonsStamp["myTemplate"] | undefined;
4906
- /** */
4907
- "prop:ariaLabel"?: TestPagingButtonsStamp["ariaLabel"] | undefined;
4908
-
4909
- /** Set the innerHTML of the element */
4910
- innerHTML?: string | undefined;
4911
- /** Set the textContent of the element */
4912
- textContent?: string | number | undefined;
4913
- };
4914
-
4915
4729
  export type TestPrevProps = {
4916
4730
  /** */
4917
4731
  disabled?: TestPrev["_internalDisabled"] | undefined;
@@ -4939,6 +4753,63 @@ export type TestPrevSolidJsProps = {
4939
4753
  textContent?: string | number | undefined;
4940
4754
  };
4941
4755
 
4756
+ export type TestSectionLinkProps = {
4757
+ /** */
4758
+ "section-id"?: TestSectionLink["sectionId"] | undefined;
4759
+ /** */
4760
+ sectionId?: TestSectionLink["sectionId"] | undefined;
4761
+ };
4762
+
4763
+ export type TestSectionLinkSolidJsProps = {
4764
+ /** */
4765
+ "attr:section-id"?: TestSectionLink["sectionId"] | undefined;
4766
+ /** */
4767
+ "prop:sectionId"?: TestSectionLink["sectionId"] | undefined;
4768
+
4769
+ /** Set the innerHTML of the element */
4770
+ innerHTML?: string | undefined;
4771
+ /** Set the textContent of the element */
4772
+ textContent?: string | number | undefined;
4773
+ };
4774
+
4775
+ export type TestBookmarkProps = {
4776
+ /** The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen. */
4777
+ item?: TestBookmark["item"] | undefined;
4778
+ /** Reflected: the item on screen is bookmarked. */
4779
+ bookmarked?: TestBookmark["bookmarked"] | undefined;
4780
+ /** Reflected: there is no item on screen. */
4781
+ disabled?: TestBookmark["disabled"] | undefined;
4782
+ };
4783
+
4784
+ export type TestBookmarkSolidJsProps = {
4785
+ /** The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen. */
4786
+ "prop:item"?: TestBookmark["item"] | undefined;
4787
+ /** Reflected: the item on screen is bookmarked. */
4788
+ "prop:bookmarked"?: TestBookmark["bookmarked"] | undefined;
4789
+ /** Reflected: there is no item on screen. */
4790
+ "prop:disabled"?: TestBookmark["disabled"] | undefined;
4791
+
4792
+ /** Set the innerHTML of the element */
4793
+ innerHTML?: string | undefined;
4794
+ /** Set the textContent of the element */
4795
+ textContent?: string | number | undefined;
4796
+ };
4797
+
4798
+ export type TestCheckItemProps = {
4799
+ /** The view to switch to after the attempt ended. */
4800
+ view?: TestCheckItem["view"] | undefined;
4801
+ };
4802
+
4803
+ export type TestCheckItemSolidJsProps = {
4804
+ /** The view to switch to after the attempt ended. */
4805
+ "prop:view"?: TestCheckItem["view"] | undefined;
4806
+
4807
+ /** Set the innerHTML of the element */
4808
+ innerHTML?: string | undefined;
4809
+ /** Set the textContent of the element */
4810
+ textContent?: string | number | undefined;
4811
+ };
4812
+
4942
4813
  export type TestPrintContextProps = {
4943
4814
  /** */
4944
4815
  computedContext?: TestPrintContext["computedContext"] | undefined;
@@ -5007,18 +4878,25 @@ export type TestScoringFeedbackSolidJsProps = {
5007
4878
  textContent?: string | number | undefined;
5008
4879
  };
5009
4880
 
5010
- export type TestSectionButtonsStampProps = {
4881
+ export type TestStampProps = {
4882
+ /** Indicates whether the component is in debug mode.
4883
+ When set to `true`, the available objects and properties (i.e.: stampContext) is displayed. */
4884
+ debug?: TestStamp["debug"] | undefined;
5011
4885
  /** */
5012
- myTemplate?: TestSectionButtonsStamp["myTemplate"] | undefined;
4886
+ myTemplate?: TestStamp["myTemplate"] | undefined;
4887
+
5013
4888
  /** */
5014
- ariaLabel?: TestSectionButtonsStamp["ariaLabel"] | undefined;
4889
+ "onqti-stamp-context-updated"?: ((e: CustomEvent) => void) | undefined;
5015
4890
  };
5016
4891
 
5017
- export type TestSectionButtonsStampSolidJsProps = {
4892
+ export type TestStampSolidJsProps = {
4893
+ /** Indicates whether the component is in debug mode.
4894
+ When set to `true`, the available objects and properties (i.e.: stampContext) is displayed. */
4895
+ "prop:debug"?: TestStamp["debug"] | undefined;
5018
4896
  /** */
5019
- "prop:myTemplate"?: TestSectionButtonsStamp["myTemplate"] | undefined;
4897
+ "prop:myTemplate"?: TestStamp["myTemplate"] | undefined;
5020
4898
  /** */
5021
- "prop:ariaLabel"?: TestSectionButtonsStamp["ariaLabel"] | undefined;
4899
+ "on:qti-stamp-context-updated"?: ((e: CustomEvent) => void) | undefined;
5022
4900
 
5023
4901
  /** Set the innerHTML of the element */
5024
4902
  innerHTML?: string | undefined;
@@ -5026,18 +4904,22 @@ export type TestSectionButtonsStampSolidJsProps = {
5026
4904
  textContent?: string | number | undefined;
5027
4905
  };
5028
4906
 
5029
- export type TestSectionLinkProps = {
5030
- /** */
5031
- "section-id"?: TestSectionLink["sectionId"] | undefined;
5032
- /** */
5033
- sectionId?: TestSectionLink["sectionId"] | undefined;
4907
+ export type TestViewProps = {
4908
+ /** label accompanying the select view dropdown */
4909
+ label?: TestView["label"] | undefined;
4910
+ /** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
4911
+ "view-options"?: TestView["viewOptions"] | undefined;
4912
+ /** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
4913
+ viewOptions?: TestView["viewOptions"] | undefined;
5034
4914
  };
5035
4915
 
5036
- export type TestSectionLinkSolidJsProps = {
5037
- /** */
5038
- "attr:section-id"?: TestSectionLink["sectionId"] | undefined;
5039
- /** */
5040
- "prop:sectionId"?: TestSectionLink["sectionId"] | undefined;
4916
+ export type TestViewSolidJsProps = {
4917
+ /** label accompanying the select view dropdown */
4918
+ "prop:label"?: TestView["label"] | undefined;
4919
+ /** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
4920
+ "attr:view-options"?: TestView["viewOptions"] | undefined;
4921
+ /** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
4922
+ "prop:viewOptions"?: TestView["viewOptions"] | undefined;
5041
4923
 
5042
4924
  /** Set the innerHTML of the element */
5043
4925
  innerHTML?: string | undefined;
@@ -5045,25 +4927,33 @@ export type TestSectionLinkSolidJsProps = {
5045
4927
  textContent?: string | number | undefined;
5046
4928
  };
5047
4929
 
5048
- export type TestStampProps = {
5049
- /** Indicates whether the component is in debug mode.
5050
- When set to `true`, the available objects and properties (i.e.: stampContext) is displayed. */
5051
- debug?: TestStamp["debug"] | undefined;
4930
+ export type TestViewToggleProps = {
5052
4931
  /** */
5053
- myTemplate?: TestStamp["myTemplate"] | undefined;
4932
+ myTemplate?: TestViewToggle["myTemplate"] | undefined;
4933
+ };
5054
4934
 
4935
+ export type TestViewToggleSolidJsProps = {
5055
4936
  /** */
5056
- "onqti-stamp-context-updated"?: ((e: CustomEvent) => void) | undefined;
4937
+ "prop:myTemplate"?: TestViewToggle["myTemplate"] | undefined;
4938
+
4939
+ /** Set the innerHTML of the element */
4940
+ innerHTML?: string | undefined;
4941
+ /** Set the textContent of the element */
4942
+ textContent?: string | number | undefined;
5057
4943
  };
5058
4944
 
5059
- export type TestStampSolidJsProps = {
5060
- /** Indicates whether the component is in debug mode.
5061
- When set to `true`, the available objects and properties (i.e.: stampContext) is displayed. */
5062
- "prop:debug"?: TestStamp["debug"] | undefined;
4945
+ export type TestItemToSpeechProps = {
4946
+ /** Fallback language when neither the item content nor the document declares one. */
4947
+ language?: TestItemToSpeech["language"] | undefined;
5063
4948
  /** */
5064
- "prop:myTemplate"?: TestStamp["myTemplate"] | undefined;
4949
+ _ttsContext?: TestItemToSpeech["_ttsContext"] | undefined;
4950
+ };
4951
+
4952
+ export type TestItemToSpeechSolidJsProps = {
4953
+ /** Fallback language when neither the item content nor the document declares one. */
4954
+ "prop:language"?: TestItemToSpeech["language"] | undefined;
5065
4955
  /** */
5066
- "on:qti-stamp-context-updated"?: ((e: CustomEvent) => void) | undefined;
4956
+ "prop:_ttsContext"?: TestItemToSpeech["_ttsContext"] | undefined;
5067
4957
 
5068
4958
  /** Set the innerHTML of the element */
5069
4959
  innerHTML?: string | undefined;
@@ -5071,22 +4961,26 @@ When set to `true`, the available objects and properties (i.e.: stampContext) is
5071
4961
  textContent?: string | number | undefined;
5072
4962
  };
5073
4963
 
5074
- export type TestViewProps = {
5075
- /** label accompanying the select view dropdown */
5076
- label?: TestView["label"] | undefined;
5077
- /** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
5078
- "view-options"?: TestView["viewOptions"] | undefined;
5079
- /** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
5080
- viewOptions?: TestView["viewOptions"] | undefined;
4964
+ export type TestTtsPlayProps = {
4965
+ /** Accessible name of the button while speech is playing; see `label`. */
4966
+ "pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
4967
+ /** Accessible name of the button while speech is playing; see `label`. */
4968
+ pauseLabel?: TestTtsPlay["pauseLabel"] | undefined;
4969
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4970
+ slotted content names the button by its text; set it when you slot an icon of your own,
4971
+ which has no text to be named by. */
4972
+ label?: TestTtsPlay["label"] | undefined;
5081
4973
  };
5082
4974
 
5083
- export type TestViewSolidJsProps = {
5084
- /** label accompanying the select view dropdown */
5085
- "prop:label"?: TestView["label"] | undefined;
5086
- /** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
5087
- "attr:view-options"?: TestView["viewOptions"] | undefined;
5088
- /** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
5089
- "prop:viewOptions"?: TestView["viewOptions"] | undefined;
4975
+ export type TestTtsPlaySolidJsProps = {
4976
+ /** Accessible name of the button while speech is playing; see `label`. */
4977
+ "attr:pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
4978
+ /** Accessible name of the button while speech is playing; see `label`. */
4979
+ "prop:pauseLabel"?: TestTtsPlay["pauseLabel"] | undefined;
4980
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4981
+ slotted content names the button by its text; set it when you slot an icon of your own,
4982
+ which has no text to be named by. */
4983
+ "prop:label"?: TestTtsPlay["label"] | undefined;
5090
4984
 
5091
4985
  /** Set the innerHTML of the element */
5092
4986
  innerHTML?: string | undefined;
@@ -5094,14 +4988,113 @@ export type TestViewSolidJsProps = {
5094
4988
  textContent?: string | number | undefined;
5095
4989
  };
5096
4990
 
5097
- export type TestViewToggleProps = {
5098
- /** */
5099
- myTemplate?: TestViewToggle["myTemplate"] | undefined;
4991
+ export type TestTtsPauseProps = {
4992
+ /** Accessible name of the button. Without it the default icon carries an English name, and
4993
+ slotted content names the button by its text; set it when you slot an icon of your own,
4994
+ which has no text to be named by. */
4995
+ label?: TestTtsPause["label"] | undefined;
5100
4996
  };
5101
4997
 
5102
- export type TestViewToggleSolidJsProps = {
5103
- /** */
5104
- "prop:myTemplate"?: TestViewToggle["myTemplate"] | undefined;
4998
+ export type TestTtsPauseSolidJsProps = {
4999
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5000
+ slotted content names the button by its text; set it when you slot an icon of your own,
5001
+ which has no text to be named by. */
5002
+ "prop:label"?: TestTtsPause["label"] | undefined;
5003
+
5004
+ /** Set the innerHTML of the element */
5005
+ innerHTML?: string | undefined;
5006
+ /** Set the textContent of the element */
5007
+ textContent?: string | number | undefined;
5008
+ };
5009
+
5010
+ export type TestTtsResumeProps = {
5011
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5012
+ slotted content names the button by its text; set it when you slot an icon of your own,
5013
+ which has no text to be named by. */
5014
+ label?: TestTtsResume["label"] | undefined;
5015
+ };
5016
+
5017
+ export type TestTtsResumeSolidJsProps = {
5018
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5019
+ slotted content names the button by its text; set it when you slot an icon of your own,
5020
+ which has no text to be named by. */
5021
+ "prop:label"?: TestTtsResume["label"] | undefined;
5022
+
5023
+ /** Set the innerHTML of the element */
5024
+ innerHTML?: string | undefined;
5025
+ /** Set the textContent of the element */
5026
+ textContent?: string | number | undefined;
5027
+ };
5028
+
5029
+ export type TestTtsStopProps = {
5030
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5031
+ slotted content names the button by its text; set it when you slot an icon of your own,
5032
+ which has no text to be named by. */
5033
+ label?: TestTtsStop["label"] | undefined;
5034
+ };
5035
+
5036
+ export type TestTtsStopSolidJsProps = {
5037
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5038
+ slotted content names the button by its text; set it when you slot an icon of your own,
5039
+ which has no text to be named by. */
5040
+ "prop:label"?: TestTtsStop["label"] | undefined;
5041
+
5042
+ /** Set the innerHTML of the element */
5043
+ innerHTML?: string | undefined;
5044
+ /** Set the textContent of the element */
5045
+ textContent?: string | number | undefined;
5046
+ };
5047
+
5048
+ export type TestTtsPrevProps = {
5049
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5050
+ slotted content names the button by its text; set it when you slot an icon of your own,
5051
+ which has no text to be named by. */
5052
+ label?: TestTtsPrev["label"] | undefined;
5053
+ };
5054
+
5055
+ export type TestTtsPrevSolidJsProps = {
5056
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5057
+ slotted content names the button by its text; set it when you slot an icon of your own,
5058
+ which has no text to be named by. */
5059
+ "prop:label"?: TestTtsPrev["label"] | undefined;
5060
+
5061
+ /** Set the innerHTML of the element */
5062
+ innerHTML?: string | undefined;
5063
+ /** Set the textContent of the element */
5064
+ textContent?: string | number | undefined;
5065
+ };
5066
+
5067
+ export type TestTtsNextProps = {
5068
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5069
+ slotted content names the button by its text; set it when you slot an icon of your own,
5070
+ which has no text to be named by. */
5071
+ label?: TestTtsNext["label"] | undefined;
5072
+ };
5073
+
5074
+ export type TestTtsNextSolidJsProps = {
5075
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5076
+ slotted content names the button by its text; set it when you slot an icon of your own,
5077
+ which has no text to be named by. */
5078
+ "prop:label"?: TestTtsNext["label"] | undefined;
5079
+
5080
+ /** Set the innerHTML of the element */
5081
+ innerHTML?: string | undefined;
5082
+ /** Set the textContent of the element */
5083
+ textContent?: string | number | undefined;
5084
+ };
5085
+
5086
+ export type TestTtsPickProps = {
5087
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5088
+ slotted content names the button by its text; set it when you slot an icon of your own,
5089
+ which has no text to be named by. */
5090
+ label?: TestTtsPick["label"] | undefined;
5091
+ };
5092
+
5093
+ export type TestTtsPickSolidJsProps = {
5094
+ /** Accessible name of the button. Without it the default icon carries an English name, and
5095
+ slotted content names the button by its text; set it when you slot an icon of your own,
5096
+ which has no text to be named by. */
5097
+ "prop:label"?: TestTtsPick["label"] | undefined;
5105
5098
 
5106
5099
  /** Set the innerHTML of the element */
5107
5100
  innerHTML?: string | undefined;
@@ -6458,9 +6451,15 @@ object, do not mutate it: an in-place change does not notify the components insi
6458
6451
  textContent?: string | number | undefined;
6459
6452
  };
6460
6453
 
6461
- export type TestCheckItemCorrectionProps = {};
6454
+ export type TestCheckItemCorrectionProps = {
6455
+ /** The view to switch to after the attempt ended. */
6456
+ view?: TestCheckItemCorrection["view"] | undefined;
6457
+ };
6462
6458
 
6463
6459
  export type TestCheckItemCorrectionSolidJsProps = {
6460
+ /** The view to switch to after the attempt ended. */
6461
+ "prop:view"?: TestCheckItemCorrection["view"] | undefined;
6462
+
6464
6463
  /** Set the innerHTML of the element */
6465
6464
  innerHTML?: string | undefined;
6466
6465
  /** Set the textContent of the element */
@@ -9560,13 +9559,6 @@ export type CustomElements = {
9560
9559
  */
9561
9560
  "qti-test": Partial<QtiTestProps & BaseProps<QtiTest> & BaseEvents>;
9562
9561
 
9563
- /**
9564
- *
9565
- */
9566
- "test-check-item": Partial<
9567
- TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents
9568
- >;
9569
-
9570
9562
  /**
9571
9563
  *
9572
9564
  *
@@ -9601,227 +9593,170 @@ export type CustomElements = {
9601
9593
  >;
9602
9594
 
9603
9595
  /**
9604
- * `<test-item-to-speech>` is the controller and context provider. It manages
9605
- * speech synthesis, word highlighting, and item element lookup. Compose your
9606
- * own player by placing control elements as children.
9596
+ *
9607
9597
  *
9608
9598
  * ## Attributes & Properties
9609
9599
  *
9610
9600
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9611
9601
  *
9612
- * - `language`: Fallback language when neither the item content nor the document declares one.
9613
- * - `_ttsContext`: undefined (property only)
9602
+ * - `identifier`: undefined
9603
+ * - `auto-score-items`/`autoScoreItems`: undefined
9604
+ * - `initContext`: undefined (property only)
9605
+ * - `qtiContext`: undefined (property only)
9606
+ * - `configContext`: undefined (property only)
9614
9607
  *
9615
- * ## CSS States
9608
+ * ## Events
9616
9609
  *
9617
- * These can be used to apply styling when a component is in a given state.
9610
+ * Events that will be emitted by the component.
9618
9611
  *
9619
- * - `idle`: No speech active
9620
- * - `picking`: Pick mode: all reading elements highlighted, waiting for a click
9621
- * - `playing`: Speech is playing
9622
- * - `paused`: Speech is paused
9612
+ * - `qti-computed-context-updated`: undefined
9623
9613
  */
9624
- "test-item-to-speech": Partial<
9625
- TestItemToSpeechProps & BaseProps<TestItemToSpeech> & BaseEvents
9614
+ "test-navigation": Partial<
9615
+ TestNavigationProps & BaseProps<TestNavigation> & BaseEvents
9626
9616
  >;
9627
9617
 
9628
9618
  /**
9629
- * Play/pause/resume toggle button — always enabled, cycles through states.
9630
- * Use named slots `play` and `pause` to customise the icons/labels independently; `label` and
9631
- * `pause-label` name the button in each state (set them when the slotted content is an icon).
9619
+ * Represents a custom element for navigating to the next test item.
9632
9620
  *
9633
9621
  * ## Attributes & Properties
9634
9622
  *
9635
9623
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9636
9624
  *
9637
- * - `pause-label`/`pauseLabel`: Accessible name of the button while speech is playing; see `label`.
9638
- * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9639
- * slotted content names the button by its text; set it when you slot an icon of your own,
9640
- * which has no text to be named by.
9641
- *
9642
- * ## CSS Parts
9643
- *
9644
- * Custom selectors for styling elements within the component.
9645
- *
9646
- * - `button`: undefined
9625
+ * - `disabled`/`_internalDisabled`: undefined
9626
+ * - `sectionItems`: undefined (property only)
9627
+ * - `itemIndex`: undefined (property only)
9628
+ * - `role`: undefined (property only)
9629
+ * - `ariaLabel`: undefined (property only)
9647
9630
  *
9648
- * ## CSS States
9631
+ * ## Methods
9649
9632
  *
9650
- * These can be used to apply styling when a component is in a given state.
9633
+ * Methods that can be called to access component functionality.
9651
9634
  *
9652
- * - `idle`: / playing / paused
9635
+ * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
9636
+ * - `checkDisabled() => void`: undefined
9653
9637
  */
9654
- "test-tts-play": Partial<
9655
- TestTtsPlayProps & BaseProps<TestTtsPlay> & BaseEvents
9656
- >;
9638
+ "test-next": Partial<TestNextProps & BaseProps<TestNext> & BaseEvents>;
9657
9639
 
9658
9640
  /**
9659
- * Pause button — enabled only when playing.
9641
+ * Represents a custom element for navigating to the previous test item.
9660
9642
  *
9661
9643
  * ## Attributes & Properties
9662
9644
  *
9663
9645
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9664
9646
  *
9665
- * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9666
- * slotted content names the button by its text; set it when you slot an icon of your own,
9667
- * which has no text to be named by.
9668
- *
9669
- * ## CSS Parts
9670
- *
9671
- * Custom selectors for styling elements within the component.
9672
- *
9673
- * - `button`: undefined
9647
+ * - `disabled`/`_internalDisabled`: undefined
9648
+ * - `sectionItems`: undefined (property only)
9649
+ * - `itemIndex`: undefined (property only)
9674
9650
  *
9675
- * ## CSS States
9651
+ * ## Methods
9676
9652
  *
9677
- * These can be used to apply styling when a component is in a given state.
9653
+ * Methods that can be called to access component functionality.
9678
9654
  *
9679
- * - `idle`: / playing / paused
9655
+ * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
9656
+ * - `checkDisabled() => void`: undefined
9680
9657
  */
9681
- "test-tts-pause": Partial<
9682
- TestTtsPauseProps & BaseProps<TestTtsPause> & BaseEvents
9683
- >;
9658
+ "test-prev": Partial<TestPrevProps & BaseProps<TestPrev> & BaseEvents>;
9684
9659
 
9685
9660
  /**
9686
- * Resume button — enabled only when paused.
9661
+ *
9687
9662
  *
9688
9663
  * ## Attributes & Properties
9689
9664
  *
9690
9665
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9691
9666
  *
9692
- * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9693
- * slotted content names the button by its text; set it when you slot an icon of your own,
9694
- * which has no text to be named by.
9695
- *
9696
- * ## CSS Parts
9697
- *
9698
- * Custom selectors for styling elements within the component.
9699
- *
9700
- * - `button`: undefined
9701
- *
9702
- * ## CSS States
9703
- *
9704
- * These can be used to apply styling when a component is in a given state.
9705
- *
9706
- * - `idle`: / playing / paused
9667
+ * - `section-id`/`sectionId`: undefined
9707
9668
  */
9708
- "test-tts-resume": Partial<
9709
- TestTtsResumeProps & BaseProps<TestTtsResume> & BaseEvents
9669
+ "test-section-link": Partial<
9670
+ TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
9710
9671
  >;
9711
9672
 
9712
9673
  /**
9713
- * Stop button — enabled when playing, paused, or in pick mode (where it leaves pick mode).
9674
+ * A toggle that marks the item on screen to come back to. The marks live in the test's state under
9675
+ * `bookmarks` (`session.plugins.bookmarks`), so a host that stores `state` stores them, and a
9676
+ * reloaded test shows them again.
9714
9677
  *
9715
- * ## Attributes & Properties
9678
+ * Put it inside `<test-navigation>`, either in the toolbar, where it marks the item on screen, or in
9679
+ * the `<template item-ref>`, where each item gets its own and it marks that item. It is a button
9680
+ * (`role="button"`, `aria-pressed`) and reflects `bookmarked` on the host for styling; its content is
9681
+ * the label. In the toolbar it is `disabled` while no item is on screen. A host's own navigation reads
9682
+ * the marks with `bookmarkedItems(computedContext)`.
9716
9683
  *
9717
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9684
+ * Give it an `item` (an item-ref identifier) to mark that item instead, wherever the button sits: in a
9685
+ * stamp template that lists the items of a section, `<test-bookmark item="{{ item.identifier }}">`
9686
+ * puts a button next to each one.
9718
9687
  *
9719
- * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9720
- * slotted content names the button by its text; set it when you slot an icon of your own,
9721
- * which has no text to be named by.
9722
- *
9723
- * ## CSS Parts
9688
+ * ## Attributes & Properties
9724
9689
  *
9725
- * Custom selectors for styling elements within the component.
9690
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9726
9691
  *
9727
- * - `button`: undefined
9692
+ * - `item`: The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen.
9693
+ * - `bookmarked`: Reflected: the item on screen is bookmarked.
9694
+ * - `disabled`: Reflected: there is no item on screen.
9728
9695
  *
9729
- * ## CSS States
9696
+ * ## Slots
9730
9697
  *
9731
- * These can be used to apply styling when a component is in a given state.
9698
+ * Areas where markup can be added to the component.
9732
9699
  *
9733
- * - `idle`: / playing / paused
9700
+ * - `(default)`: The label.
9734
9701
  */
9735
- "test-tts-stop": Partial<
9736
- TestTtsStopProps & BaseProps<TestTtsStop> & BaseEvents
9702
+ "test-bookmark": Partial<
9703
+ TestBookmarkProps & BaseProps<TestBookmark> & BaseEvents
9737
9704
  >;
9738
9705
 
9739
9706
  /**
9740
- * Prev-element button — moves cursor to the previous reading element and pauses.
9741
- * Disabled at the first element. Reading elements are collected lazily, so an element count
9742
- * of 0 means "not looked yet" rather than "nothing to read": the button stays enabled and the
9743
- * first click collects them.
9707
+ * Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
9708
+ * reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
9709
+ * something switches it back (`test-view-toggle`).
9744
9710
  *
9745
9711
  * ## Attributes & Properties
9746
9712
  *
9747
9713
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9748
9714
  *
9749
- * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9750
- * slotted content names the button by its text; set it when you slot an icon of your own,
9751
- * which has no text to be named by.
9752
- *
9753
- * ## CSS Parts
9754
- *
9755
- * Custom selectors for styling elements within the component.
9756
- *
9757
- * - `button`: undefined
9758
- *
9759
- * ## CSS States
9760
- *
9761
- * These can be used to apply styling when a component is in a given state.
9762
- *
9763
- * - `idle`: / playing / paused
9715
+ * - `view`: The view to switch to after the attempt ended.
9764
9716
  */
9765
- "test-tts-prev": Partial<
9766
- TestTtsPrevProps & BaseProps<TestTtsPrev> & BaseEvents
9717
+ "test-check-item": Partial<
9718
+ TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents
9767
9719
  >;
9768
9720
 
9769
9721
  /**
9770
- * Next-element button — moves cursor to the next reading element and pauses.
9771
- * Disabled at the last element; enabled while the elements have not been collected yet
9772
- * (see `TestTtsPrev`).
9722
+ *
9773
9723
  *
9774
9724
  * ## Attributes & Properties
9775
9725
  *
9776
9726
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9777
9727
  *
9778
- * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9779
- * slotted content names the button by its text; set it when you slot an icon of your own,
9780
- * which has no text to be named by.
9781
- *
9782
- * ## CSS Parts
9783
- *
9784
- * Custom selectors for styling elements within the component.
9785
- *
9786
- * - `button`: undefined
9787
- *
9788
- * ## CSS States
9789
- *
9790
- * These can be used to apply styling when a component is in a given state.
9791
- *
9792
- * - `idle`: / playing / paused
9728
+ * - `computedContext`: undefined (property only)
9793
9729
  */
9794
- "test-tts-next": Partial<
9795
- TestTtsNextProps & BaseProps<TestTtsNext> & BaseEvents
9730
+ "test-print-context": Partial<
9731
+ TestPrintContextProps & BaseProps<TestPrintContext> & BaseEvents
9796
9732
  >;
9797
9733
 
9798
9734
  /**
9799
- * Pick button — toggles pick mode on the controller: every reading element is highlighted and
9800
- * a click on one of them starts reading from there. Reflects the mode as `:state(picking)`.
9735
+ *
9801
9736
  *
9802
9737
  * ## Attributes & Properties
9803
9738
  *
9804
9739
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9805
9740
  *
9806
- * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9807
- * slotted content names the button by its text; set it when you slot an icon of your own,
9808
- * which has no text to be named by.
9809
- *
9810
- * ## CSS Parts
9811
- *
9812
- * Custom selectors for styling elements within the component.
9741
+ * - `computedContext`: undefined (property only)
9742
+ */
9743
+ "test-print-item-variables": Partial<
9744
+ TestPrintVariablesProps & BaseProps<TestPrintVariables> & BaseEvents
9745
+ >;
9746
+
9747
+ /**
9813
9748
  *
9814
- * - `button`: undefined
9815
9749
  *
9816
- * ## CSS States
9750
+ * ## Attributes & Properties
9817
9751
  *
9818
- * These can be used to apply styling when a component is in a given state.
9752
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9819
9753
  *
9820
- * - `idle`: / playing / paused
9821
- * - `picking`: undefined
9754
+ * - `view`: undefined
9755
+ * - `disabled`: undefined
9756
+ * - `myTemplate`: undefined (property only)
9822
9757
  */
9823
- "test-tts-pick": Partial<
9824
- TestTtsPickProps & BaseProps<TestTtsPick> & BaseEvents
9758
+ "test-scoring-buttons": Partial<
9759
+ TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents
9825
9760
  >;
9826
9761
 
9827
9762
  /**
@@ -9831,214 +9766,285 @@ export type CustomElements = {
9831
9766
  *
9832
9767
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9833
9768
  *
9834
- * - `identifier`: undefined
9835
- * - `auto-score-items`/`autoScoreItems`: undefined
9836
- * - `initContext`: undefined (property only)
9837
- * - `qtiContext`: undefined (property only)
9838
- * - `configContext`: undefined (property only)
9839
- *
9840
- * ## Events
9841
- *
9842
- * Events that will be emitted by the component.
9843
- *
9844
- * - `qti-computed-context-updated`: undefined
9769
+ * - `view`: undefined
9845
9770
  */
9846
- "test-navigation": Partial<
9847
- TestNavigationProps & BaseProps<TestNavigation> & BaseEvents
9771
+ "test-scoring-feedback": Partial<
9772
+ TestScoringFeedbackProps & BaseProps<TestScoringFeedback> & BaseEvents
9848
9773
  >;
9849
9774
 
9850
9775
  /**
9851
- * Represents a custom element for navigating to the next test item.
9776
+ * A custom web component that renders a test stamp using the Lit framework.
9777
+ * This component is deprecated and will be removed in the future.
9852
9778
  *
9853
9779
  * ## Attributes & Properties
9854
9780
  *
9855
9781
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9856
9782
  *
9857
- * - `disabled`/`_internalDisabled`: undefined
9858
- * - `sectionItems`: undefined (property only)
9859
- * - `itemIndex`: undefined (property only)
9860
- * - `role`: undefined (property only)
9861
- * - `ariaLabel`: undefined (property only)
9783
+ * - `debug`: Indicates whether the component is in debug mode.
9784
+ * When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
9785
+ * - `myTemplate`: undefined (property only)
9862
9786
  *
9863
- * ## Methods
9787
+ * ## Events
9864
9788
  *
9865
- * Methods that can be called to access component functionality.
9789
+ * Events that will be emitted by the component.
9866
9790
  *
9867
- * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
9868
- * - `checkDisabled() => void`: undefined
9791
+ * - `qti-stamp-context-updated`: undefined
9869
9792
  */
9870
- "test-next": Partial<TestNextProps & BaseProps<TestNext> & BaseEvents>;
9793
+ "test-stamp": Partial<TestStampProps & BaseProps<TestStamp> & BaseEvents>;
9871
9794
 
9872
9795
  /**
9873
- * @deprecated test-paging-buttons-stamp is deprecated and will be removed in the future.
9874
- *
9875
9796
  *
9876
9797
  *
9877
9798
  * ## Attributes & Properties
9878
9799
  *
9879
9800
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9880
9801
  *
9881
- * - `myTemplate`: undefined (property only)
9882
- * - `ariaLabel`: undefined (property only)
9802
+ * - `label`: label accompanying the select view dropdown
9803
+ * - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
9883
9804
  */
9884
- "test-paging-buttons-stamp": Partial<
9885
- TestPagingButtonsStampProps & BaseProps<TestPagingButtonsStamp> & BaseEvents
9886
- >;
9805
+ "test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
9887
9806
 
9888
9807
  /**
9889
- * Represents a custom element for navigating to the previous test item.
9808
+ *
9890
9809
  *
9891
9810
  * ## Attributes & Properties
9892
9811
  *
9893
9812
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9894
9813
  *
9895
- * - `disabled`/`_internalDisabled`: undefined
9896
- * - `sectionItems`: undefined (property only)
9897
- * - `itemIndex`: undefined (property only)
9814
+ * - `myTemplate`: undefined (property only)
9898
9815
  *
9899
9816
  * ## Methods
9900
9817
  *
9901
9818
  * Methods that can be called to access component functionality.
9902
9819
  *
9903
- * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
9904
- * - `checkDisabled() => void`: undefined
9820
+ * - `_switchView(view: string) => void`: undefined
9905
9821
  */
9906
- "test-prev": Partial<TestPrevProps & BaseProps<TestPrev> & BaseEvents>;
9822
+ "test-view-toggle": Partial<
9823
+ TestViewToggleProps & BaseProps<TestViewToggle> & BaseEvents
9824
+ >;
9907
9825
 
9908
9826
  /**
9909
- *
9827
+ * `<test-item-to-speech>` is the controller and context provider. It manages
9828
+ * speech synthesis, word highlighting, and item element lookup. Compose your
9829
+ * own player by placing control elements as children.
9910
9830
  *
9911
9831
  * ## Attributes & Properties
9912
9832
  *
9913
9833
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9914
9834
  *
9915
- * - `computedContext`: undefined (property only)
9835
+ * - `language`: Fallback language when neither the item content nor the document declares one.
9836
+ * - `_ttsContext`: undefined (property only)
9837
+ *
9838
+ * ## CSS States
9839
+ *
9840
+ * These can be used to apply styling when a component is in a given state.
9841
+ *
9842
+ * - `idle`: No speech active
9843
+ * - `picking`: Pick mode: all reading elements highlighted, waiting for a click
9844
+ * - `playing`: Speech is playing
9845
+ * - `paused`: Speech is paused
9916
9846
  */
9917
- "test-print-context": Partial<
9918
- TestPrintContextProps & BaseProps<TestPrintContext> & BaseEvents
9847
+ "test-item-to-speech": Partial<
9848
+ TestItemToSpeechProps & BaseProps<TestItemToSpeech> & BaseEvents
9919
9849
  >;
9920
9850
 
9921
9851
  /**
9922
- *
9852
+ * Play/pause/resume toggle button — always enabled, cycles through states.
9853
+ * Use named slots `play` and `pause` to customise the icons/labels independently; `label` and
9854
+ * `pause-label` name the button in each state (set them when the slotted content is an icon).
9923
9855
  *
9924
9856
  * ## Attributes & Properties
9925
9857
  *
9926
9858
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9927
9859
  *
9928
- * - `computedContext`: undefined (property only)
9860
+ * - `pause-label`/`pauseLabel`: Accessible name of the button while speech is playing; see `label`.
9861
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9862
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9863
+ * which has no text to be named by.
9864
+ *
9865
+ * ## CSS Parts
9866
+ *
9867
+ * Custom selectors for styling elements within the component.
9868
+ *
9869
+ * - `button`: undefined
9870
+ *
9871
+ * ## CSS States
9872
+ *
9873
+ * These can be used to apply styling when a component is in a given state.
9874
+ *
9875
+ * - `idle`: / playing / paused
9929
9876
  */
9930
- "test-print-item-variables": Partial<
9931
- TestPrintVariablesProps & BaseProps<TestPrintVariables> & BaseEvents
9877
+ "test-tts-play": Partial<
9878
+ TestTtsPlayProps & BaseProps<TestTtsPlay> & BaseEvents
9932
9879
  >;
9933
9880
 
9934
9881
  /**
9935
- *
9882
+ * Pause button — enabled only when playing.
9936
9883
  *
9937
9884
  * ## Attributes & Properties
9938
9885
  *
9939
9886
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9940
9887
  *
9941
- * - `view`: undefined
9942
- * - `disabled`: undefined
9943
- * - `myTemplate`: undefined (property only)
9888
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9889
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9890
+ * which has no text to be named by.
9891
+ *
9892
+ * ## CSS Parts
9893
+ *
9894
+ * Custom selectors for styling elements within the component.
9895
+ *
9896
+ * - `button`: undefined
9897
+ *
9898
+ * ## CSS States
9899
+ *
9900
+ * These can be used to apply styling when a component is in a given state.
9901
+ *
9902
+ * - `idle`: / playing / paused
9944
9903
  */
9945
- "test-scoring-buttons": Partial<
9946
- TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents
9904
+ "test-tts-pause": Partial<
9905
+ TestTtsPauseProps & BaseProps<TestTtsPause> & BaseEvents
9947
9906
  >;
9948
9907
 
9949
9908
  /**
9950
- *
9909
+ * Resume button — enabled only when paused.
9951
9910
  *
9952
9911
  * ## Attributes & Properties
9953
9912
  *
9954
9913
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9955
9914
  *
9956
- * - `view`: undefined
9957
- */
9958
- "test-scoring-feedback": Partial<
9959
- TestScoringFeedbackProps & BaseProps<TestScoringFeedback> & BaseEvents
9960
- >;
9961
-
9962
- /**
9963
- * @deprecated test-section-buttons-stamp is deprecated and will be removed in the future.
9915
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9916
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9917
+ * which has no text to be named by.
9964
9918
  *
9919
+ * ## CSS Parts
9965
9920
  *
9921
+ * Custom selectors for styling elements within the component.
9966
9922
  *
9967
- * ## Attributes & Properties
9923
+ * - `button`: undefined
9968
9924
  *
9969
- * Component attributes and properties that can be applied to the element or by using JavaScript.
9925
+ * ## CSS States
9970
9926
  *
9971
- * - `myTemplate`: undefined (property only)
9972
- * - `ariaLabel`: undefined (property only)
9927
+ * These can be used to apply styling when a component is in a given state.
9928
+ *
9929
+ * - `idle`: / playing / paused
9973
9930
  */
9974
- "test-section-buttons-stamp": Partial<
9975
- TestSectionButtonsStampProps &
9976
- BaseProps<TestSectionButtonsStamp> &
9977
- BaseEvents
9931
+ "test-tts-resume": Partial<
9932
+ TestTtsResumeProps & BaseProps<TestTtsResume> & BaseEvents
9978
9933
  >;
9979
9934
 
9980
9935
  /**
9981
- *
9936
+ * Stop button — enabled when playing, paused, or in pick mode (where it leaves pick mode).
9982
9937
  *
9983
9938
  * ## Attributes & Properties
9984
9939
  *
9985
9940
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9986
9941
  *
9987
- * - `section-id`/`sectionId`: undefined
9942
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9943
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9944
+ * which has no text to be named by.
9945
+ *
9946
+ * ## CSS Parts
9947
+ *
9948
+ * Custom selectors for styling elements within the component.
9949
+ *
9950
+ * - `button`: undefined
9951
+ *
9952
+ * ## CSS States
9953
+ *
9954
+ * These can be used to apply styling when a component is in a given state.
9955
+ *
9956
+ * - `idle`: / playing / paused
9988
9957
  */
9989
- "test-section-link": Partial<
9990
- TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
9958
+ "test-tts-stop": Partial<
9959
+ TestTtsStopProps & BaseProps<TestTtsStop> & BaseEvents
9991
9960
  >;
9992
9961
 
9993
9962
  /**
9994
- * A custom web component that renders a test stamp using the Lit framework.
9995
- * This component is deprecated and will be removed in the future.
9963
+ * Prev-element button — moves cursor to the previous reading element and pauses.
9964
+ * Disabled at the first element. Reading elements are collected lazily, so an element count
9965
+ * of 0 means "not looked yet" rather than "nothing to read": the button stays enabled and the
9966
+ * first click collects them.
9996
9967
  *
9997
9968
  * ## Attributes & Properties
9998
9969
  *
9999
9970
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10000
9971
  *
10001
- * - `debug`: Indicates whether the component is in debug mode.
10002
- * When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
10003
- * - `myTemplate`: undefined (property only)
9972
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
9973
+ * slotted content names the button by its text; set it when you slot an icon of your own,
9974
+ * which has no text to be named by.
10004
9975
  *
10005
- * ## Events
9976
+ * ## CSS Parts
10006
9977
  *
10007
- * Events that will be emitted by the component.
9978
+ * Custom selectors for styling elements within the component.
10008
9979
  *
10009
- * - `qti-stamp-context-updated`: undefined
9980
+ * - `button`: undefined
9981
+ *
9982
+ * ## CSS States
9983
+ *
9984
+ * These can be used to apply styling when a component is in a given state.
9985
+ *
9986
+ * - `idle`: / playing / paused
10010
9987
  */
10011
- "test-stamp": Partial<TestStampProps & BaseProps<TestStamp> & BaseEvents>;
9988
+ "test-tts-prev": Partial<
9989
+ TestTtsPrevProps & BaseProps<TestTtsPrev> & BaseEvents
9990
+ >;
10012
9991
 
10013
9992
  /**
10014
- *
9993
+ * Next-element button — moves cursor to the next reading element and pauses.
9994
+ * Disabled at the last element; enabled while the elements have not been collected yet
9995
+ * (see `TestTtsPrev`).
10015
9996
  *
10016
9997
  * ## Attributes & Properties
10017
9998
  *
10018
9999
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10019
10000
  *
10020
- * - `label`: label accompanying the select view dropdown
10021
- * - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
10001
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
10002
+ * slotted content names the button by its text; set it when you slot an icon of your own,
10003
+ * which has no text to be named by.
10004
+ *
10005
+ * ## CSS Parts
10006
+ *
10007
+ * Custom selectors for styling elements within the component.
10008
+ *
10009
+ * - `button`: undefined
10010
+ *
10011
+ * ## CSS States
10012
+ *
10013
+ * These can be used to apply styling when a component is in a given state.
10014
+ *
10015
+ * - `idle`: / playing / paused
10022
10016
  */
10023
- "test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
10017
+ "test-tts-next": Partial<
10018
+ TestTtsNextProps & BaseProps<TestTtsNext> & BaseEvents
10019
+ >;
10024
10020
 
10025
10021
  /**
10026
- *
10022
+ * Pick button — toggles pick mode on the controller: every reading element is highlighted and
10023
+ * a click on one of them starts reading from there. Reflects the mode as `:state(picking)`.
10027
10024
  *
10028
10025
  * ## Attributes & Properties
10029
10026
  *
10030
10027
  * Component attributes and properties that can be applied to the element or by using JavaScript.
10031
10028
  *
10032
- * - `myTemplate`: undefined (property only)
10029
+ * - `label`: Accessible name of the button. Without it the default icon carries an English name, and
10030
+ * slotted content names the button by its text; set it when you slot an icon of your own,
10031
+ * which has no text to be named by.
10033
10032
  *
10034
- * ## Methods
10033
+ * ## CSS Parts
10035
10034
  *
10036
- * Methods that can be called to access component functionality.
10035
+ * Custom selectors for styling elements within the component.
10037
10036
  *
10038
- * - `_switchView(view: string) => void`: undefined
10039
- */
10040
- "test-view-toggle": Partial<
10041
- TestViewToggleProps & BaseProps<TestViewToggle> & BaseEvents
10037
+ * - `button`: undefined
10038
+ *
10039
+ * ## CSS States
10040
+ *
10041
+ * These can be used to apply styling when a component is in a given state.
10042
+ *
10043
+ * - `idle`: / playing / paused
10044
+ * - `picking`: undefined
10045
+ */
10046
+ "test-tts-pick": Partial<
10047
+ TestTtsPickProps & BaseProps<TestTtsPick> & BaseEvents
10042
10048
  >;
10043
10049
 
10044
10050
  /**
@@ -12165,6 +12171,12 @@ export type CustomElements = {
12165
12171
 
12166
12172
  /**
12167
12173
  * Check-item extension that reveals the correct response after scoring.
12174
+ *
12175
+ * ## Attributes & Properties
12176
+ *
12177
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
12178
+ *
12179
+ * - `view`: The view to switch to after the attempt ended.
12168
12180
  */
12169
12181
  "test-check-item": Partial<
12170
12182
  TestCheckItemCorrectionProps &
@@ -15372,22 +15384,103 @@ export type CustomElementsSolidJs = {
15372
15384
 
15373
15385
  /**
15374
15386
  *
15387
+ *
15388
+ * ## Attributes & Properties
15389
+ *
15390
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15391
+ *
15392
+ * - `disabled`/`_internalDisabled`: undefined
15393
+ *
15394
+ * ## Methods
15395
+ *
15396
+ * Methods that can be called to access component functionality.
15397
+ *
15398
+ * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
15399
+ * - `checkDisabled() => void`: undefined
15375
15400
  */
15376
- "test-check-item": Partial<
15377
- TestCheckItemProps &
15378
- TestCheckItemSolidJsProps &
15379
- BaseProps<TestCheckItem> &
15401
+ "test-end-attempt": Partial<
15402
+ TestEndAttemptProps &
15403
+ TestEndAttemptSolidJsProps &
15404
+ BaseProps<TestEndAttempt> &
15405
+ BaseEvents
15406
+ >;
15407
+
15408
+ /**
15409
+ *
15410
+ *
15411
+ * ## Attributes & Properties
15412
+ *
15413
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15414
+ *
15415
+ * - `item-id`/`itemId`: undefined
15416
+ */
15417
+ "test-item-link": Partial<
15418
+ TestItemLinkProps &
15419
+ TestItemLinkSolidJsProps &
15420
+ BaseProps<TestItemLink> &
15421
+ BaseEvents
15422
+ >;
15423
+
15424
+ /**
15425
+ *
15426
+ *
15427
+ * ## Attributes & Properties
15428
+ *
15429
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15430
+ *
15431
+ * - `identifier`: undefined
15432
+ * - `auto-score-items`/`autoScoreItems`: undefined
15433
+ * - `initContext`: undefined (property only)
15434
+ * - `qtiContext`: undefined (property only)
15435
+ * - `configContext`: undefined (property only)
15436
+ *
15437
+ * ## Events
15438
+ *
15439
+ * Events that will be emitted by the component.
15440
+ *
15441
+ * - `qti-computed-context-updated`: undefined
15442
+ */
15443
+ "test-navigation": Partial<
15444
+ TestNavigationProps &
15445
+ TestNavigationSolidJsProps &
15446
+ BaseProps<TestNavigation> &
15380
15447
  BaseEvents
15381
15448
  >;
15382
15449
 
15383
15450
  /**
15451
+ * Represents a custom element for navigating to the next test item.
15452
+ *
15453
+ * ## Attributes & Properties
15454
+ *
15455
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15456
+ *
15457
+ * - `disabled`/`_internalDisabled`: undefined
15458
+ * - `sectionItems`: undefined (property only)
15459
+ * - `itemIndex`: undefined (property only)
15460
+ * - `role`: undefined (property only)
15461
+ * - `ariaLabel`: undefined (property only)
15462
+ *
15463
+ * ## Methods
15384
15464
  *
15465
+ * Methods that can be called to access component functionality.
15466
+ *
15467
+ * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
15468
+ * - `checkDisabled() => void`: undefined
15469
+ */
15470
+ "test-next": Partial<
15471
+ TestNextProps & TestNextSolidJsProps & BaseProps<TestNext> & BaseEvents
15472
+ >;
15473
+
15474
+ /**
15475
+ * Represents a custom element for navigating to the previous test item.
15385
15476
  *
15386
15477
  * ## Attributes & Properties
15387
15478
  *
15388
15479
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15389
15480
  *
15390
15481
  * - `disabled`/`_internalDisabled`: undefined
15482
+ * - `sectionItems`: undefined (property only)
15483
+ * - `itemIndex`: undefined (property only)
15391
15484
  *
15392
15485
  * ## Methods
15393
15486
  *
@@ -15396,13 +15489,182 @@ export type CustomElementsSolidJs = {
15396
15489
  * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
15397
15490
  * - `checkDisabled() => void`: undefined
15398
15491
  */
15399
- "test-end-attempt": Partial<
15400
- TestEndAttemptProps &
15401
- TestEndAttemptSolidJsProps &
15402
- BaseProps<TestEndAttempt> &
15492
+ "test-prev": Partial<
15493
+ TestPrevProps & TestPrevSolidJsProps & BaseProps<TestPrev> & BaseEvents
15494
+ >;
15495
+
15496
+ /**
15497
+ *
15498
+ *
15499
+ * ## Attributes & Properties
15500
+ *
15501
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15502
+ *
15503
+ * - `section-id`/`sectionId`: undefined
15504
+ */
15505
+ "test-section-link": Partial<
15506
+ TestSectionLinkProps &
15507
+ TestSectionLinkSolidJsProps &
15508
+ BaseProps<TestSectionLink> &
15509
+ BaseEvents
15510
+ >;
15511
+
15512
+ /**
15513
+ * A toggle that marks the item on screen to come back to. The marks live in the test's state under
15514
+ * `bookmarks` (`session.plugins.bookmarks`), so a host that stores `state` stores them, and a
15515
+ * reloaded test shows them again.
15516
+ *
15517
+ * Put it inside `<test-navigation>`, either in the toolbar, where it marks the item on screen, or in
15518
+ * the `<template item-ref>`, where each item gets its own and it marks that item. It is a button
15519
+ * (`role="button"`, `aria-pressed`) and reflects `bookmarked` on the host for styling; its content is
15520
+ * the label. In the toolbar it is `disabled` while no item is on screen. A host's own navigation reads
15521
+ * the marks with `bookmarkedItems(computedContext)`.
15522
+ *
15523
+ * Give it an `item` (an item-ref identifier) to mark that item instead, wherever the button sits: in a
15524
+ * stamp template that lists the items of a section, `<test-bookmark item="{{ item.identifier }}">`
15525
+ * puts a button next to each one.
15526
+ *
15527
+ * ## Attributes & Properties
15528
+ *
15529
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15530
+ *
15531
+ * - `item`: The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen.
15532
+ * - `bookmarked`: Reflected: the item on screen is bookmarked.
15533
+ * - `disabled`: Reflected: there is no item on screen.
15534
+ *
15535
+ * ## Slots
15536
+ *
15537
+ * Areas where markup can be added to the component.
15538
+ *
15539
+ * - `(default)`: The label.
15540
+ */
15541
+ "test-bookmark": Partial<
15542
+ TestBookmarkProps &
15543
+ TestBookmarkSolidJsProps &
15544
+ BaseProps<TestBookmark> &
15545
+ BaseEvents
15546
+ >;
15547
+
15548
+ /**
15549
+ * Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
15550
+ * reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
15551
+ * something switches it back (`test-view-toggle`).
15552
+ *
15553
+ * ## Attributes & Properties
15554
+ *
15555
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15556
+ *
15557
+ * - `view`: The view to switch to after the attempt ended.
15558
+ */
15559
+ "test-check-item": Partial<
15560
+ TestCheckItemProps &
15561
+ TestCheckItemSolidJsProps &
15562
+ BaseProps<TestCheckItem> &
15563
+ BaseEvents
15564
+ >;
15565
+
15566
+ /**
15567
+ *
15568
+ *
15569
+ * ## Attributes & Properties
15570
+ *
15571
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15572
+ *
15573
+ * - `computedContext`: undefined (property only)
15574
+ */
15575
+ "test-print-context": Partial<
15576
+ TestPrintContextProps &
15577
+ TestPrintContextSolidJsProps &
15578
+ BaseProps<TestPrintContext> &
15579
+ BaseEvents
15580
+ >;
15581
+
15582
+ /**
15583
+ *
15584
+ *
15585
+ * ## Attributes & Properties
15586
+ *
15587
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15588
+ *
15589
+ * - `computedContext`: undefined (property only)
15590
+ */
15591
+ "test-print-item-variables": Partial<
15592
+ TestPrintVariablesProps &
15593
+ TestPrintVariablesSolidJsProps &
15594
+ BaseProps<TestPrintVariables> &
15595
+ BaseEvents
15596
+ >;
15597
+
15598
+ /**
15599
+ *
15600
+ *
15601
+ * ## Attributes & Properties
15602
+ *
15603
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15604
+ *
15605
+ * - `view`: undefined
15606
+ * - `disabled`: undefined
15607
+ * - `myTemplate`: undefined (property only)
15608
+ */
15609
+ "test-scoring-buttons": Partial<
15610
+ TestScoringButtonsProps &
15611
+ TestScoringButtonsSolidJsProps &
15612
+ BaseProps<TestScoringButtons> &
15613
+ BaseEvents
15614
+ >;
15615
+
15616
+ /**
15617
+ *
15618
+ *
15619
+ * ## Attributes & Properties
15620
+ *
15621
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15622
+ *
15623
+ * - `view`: undefined
15624
+ */
15625
+ "test-scoring-feedback": Partial<
15626
+ TestScoringFeedbackProps &
15627
+ TestScoringFeedbackSolidJsProps &
15628
+ BaseProps<TestScoringFeedback> &
15403
15629
  BaseEvents
15404
15630
  >;
15405
15631
 
15632
+ /**
15633
+ * A custom web component that renders a test stamp using the Lit framework.
15634
+ * This component is deprecated and will be removed in the future.
15635
+ *
15636
+ * ## Attributes & Properties
15637
+ *
15638
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15639
+ *
15640
+ * - `debug`: Indicates whether the component is in debug mode.
15641
+ * When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
15642
+ * - `myTemplate`: undefined (property only)
15643
+ *
15644
+ * ## Events
15645
+ *
15646
+ * Events that will be emitted by the component.
15647
+ *
15648
+ * - `qti-stamp-context-updated`: undefined
15649
+ */
15650
+ "test-stamp": Partial<
15651
+ TestStampProps & TestStampSolidJsProps & BaseProps<TestStamp> & BaseEvents
15652
+ >;
15653
+
15654
+ /**
15655
+ *
15656
+ *
15657
+ * ## Attributes & Properties
15658
+ *
15659
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15660
+ *
15661
+ * - `label`: label accompanying the select view dropdown
15662
+ * - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
15663
+ */
15664
+ "test-view": Partial<
15665
+ TestViewProps & TestViewSolidJsProps & BaseProps<TestView> & BaseEvents
15666
+ >;
15667
+
15406
15668
  /**
15407
15669
  *
15408
15670
  *
@@ -15410,12 +15672,18 @@ export type CustomElementsSolidJs = {
15410
15672
  *
15411
15673
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15412
15674
  *
15413
- * - `item-id`/`itemId`: undefined
15675
+ * - `myTemplate`: undefined (property only)
15676
+ *
15677
+ * ## Methods
15678
+ *
15679
+ * Methods that can be called to access component functionality.
15680
+ *
15681
+ * - `_switchView(view: string) => void`: undefined
15414
15682
  */
15415
- "test-item-link": Partial<
15416
- TestItemLinkProps &
15417
- TestItemLinkSolidJsProps &
15418
- BaseProps<TestItemLink> &
15683
+ "test-view-toggle": Partial<
15684
+ TestViewToggleProps &
15685
+ TestViewToggleSolidJsProps &
15686
+ BaseProps<TestViewToggle> &
15419
15687
  BaseEvents
15420
15688
  >;
15421
15689
 
@@ -15667,256 +15935,6 @@ export type CustomElementsSolidJs = {
15667
15935
  BaseEvents
15668
15936
  >;
15669
15937
 
15670
- /**
15671
- *
15672
- *
15673
- * ## Attributes & Properties
15674
- *
15675
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15676
- *
15677
- * - `identifier`: undefined
15678
- * - `auto-score-items`/`autoScoreItems`: undefined
15679
- * - `initContext`: undefined (property only)
15680
- * - `qtiContext`: undefined (property only)
15681
- * - `configContext`: undefined (property only)
15682
- *
15683
- * ## Events
15684
- *
15685
- * Events that will be emitted by the component.
15686
- *
15687
- * - `qti-computed-context-updated`: undefined
15688
- */
15689
- "test-navigation": Partial<
15690
- TestNavigationProps &
15691
- TestNavigationSolidJsProps &
15692
- BaseProps<TestNavigation> &
15693
- BaseEvents
15694
- >;
15695
-
15696
- /**
15697
- * Represents a custom element for navigating to the next test item.
15698
- *
15699
- * ## Attributes & Properties
15700
- *
15701
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15702
- *
15703
- * - `disabled`/`_internalDisabled`: undefined
15704
- * - `sectionItems`: undefined (property only)
15705
- * - `itemIndex`: undefined (property only)
15706
- * - `role`: undefined (property only)
15707
- * - `ariaLabel`: undefined (property only)
15708
- *
15709
- * ## Methods
15710
- *
15711
- * Methods that can be called to access component functionality.
15712
- *
15713
- * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
15714
- * - `checkDisabled() => void`: undefined
15715
- */
15716
- "test-next": Partial<
15717
- TestNextProps & TestNextSolidJsProps & BaseProps<TestNext> & BaseEvents
15718
- >;
15719
-
15720
- /**
15721
- * @deprecated test-paging-buttons-stamp is deprecated and will be removed in the future.
15722
- *
15723
- *
15724
- *
15725
- * ## Attributes & Properties
15726
- *
15727
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15728
- *
15729
- * - `myTemplate`: undefined (property only)
15730
- * - `ariaLabel`: undefined (property only)
15731
- */
15732
- "test-paging-buttons-stamp": Partial<
15733
- TestPagingButtonsStampProps &
15734
- TestPagingButtonsStampSolidJsProps &
15735
- BaseProps<TestPagingButtonsStamp> &
15736
- BaseEvents
15737
- >;
15738
-
15739
- /**
15740
- * Represents a custom element for navigating to the previous test item.
15741
- *
15742
- * ## Attributes & Properties
15743
- *
15744
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15745
- *
15746
- * - `disabled`/`_internalDisabled`: undefined
15747
- * - `sectionItems`: undefined (property only)
15748
- * - `itemIndex`: undefined (property only)
15749
- *
15750
- * ## Methods
15751
- *
15752
- * Methods that can be called to access component functionality.
15753
- *
15754
- * - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
15755
- * - `checkDisabled() => void`: undefined
15756
- */
15757
- "test-prev": Partial<
15758
- TestPrevProps & TestPrevSolidJsProps & BaseProps<TestPrev> & BaseEvents
15759
- >;
15760
-
15761
- /**
15762
- *
15763
- *
15764
- * ## Attributes & Properties
15765
- *
15766
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15767
- *
15768
- * - `computedContext`: undefined (property only)
15769
- */
15770
- "test-print-context": Partial<
15771
- TestPrintContextProps &
15772
- TestPrintContextSolidJsProps &
15773
- BaseProps<TestPrintContext> &
15774
- BaseEvents
15775
- >;
15776
-
15777
- /**
15778
- *
15779
- *
15780
- * ## Attributes & Properties
15781
- *
15782
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15783
- *
15784
- * - `computedContext`: undefined (property only)
15785
- */
15786
- "test-print-item-variables": Partial<
15787
- TestPrintVariablesProps &
15788
- TestPrintVariablesSolidJsProps &
15789
- BaseProps<TestPrintVariables> &
15790
- BaseEvents
15791
- >;
15792
-
15793
- /**
15794
- *
15795
- *
15796
- * ## Attributes & Properties
15797
- *
15798
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15799
- *
15800
- * - `view`: undefined
15801
- * - `disabled`: undefined
15802
- * - `myTemplate`: undefined (property only)
15803
- */
15804
- "test-scoring-buttons": Partial<
15805
- TestScoringButtonsProps &
15806
- TestScoringButtonsSolidJsProps &
15807
- BaseProps<TestScoringButtons> &
15808
- BaseEvents
15809
- >;
15810
-
15811
- /**
15812
- *
15813
- *
15814
- * ## Attributes & Properties
15815
- *
15816
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15817
- *
15818
- * - `view`: undefined
15819
- */
15820
- "test-scoring-feedback": Partial<
15821
- TestScoringFeedbackProps &
15822
- TestScoringFeedbackSolidJsProps &
15823
- BaseProps<TestScoringFeedback> &
15824
- BaseEvents
15825
- >;
15826
-
15827
- /**
15828
- * @deprecated test-section-buttons-stamp is deprecated and will be removed in the future.
15829
- *
15830
- *
15831
- *
15832
- * ## Attributes & Properties
15833
- *
15834
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15835
- *
15836
- * - `myTemplate`: undefined (property only)
15837
- * - `ariaLabel`: undefined (property only)
15838
- */
15839
- "test-section-buttons-stamp": Partial<
15840
- TestSectionButtonsStampProps &
15841
- TestSectionButtonsStampSolidJsProps &
15842
- BaseProps<TestSectionButtonsStamp> &
15843
- BaseEvents
15844
- >;
15845
-
15846
- /**
15847
- *
15848
- *
15849
- * ## Attributes & Properties
15850
- *
15851
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15852
- *
15853
- * - `section-id`/`sectionId`: undefined
15854
- */
15855
- "test-section-link": Partial<
15856
- TestSectionLinkProps &
15857
- TestSectionLinkSolidJsProps &
15858
- BaseProps<TestSectionLink> &
15859
- BaseEvents
15860
- >;
15861
-
15862
- /**
15863
- * A custom web component that renders a test stamp using the Lit framework.
15864
- * This component is deprecated and will be removed in the future.
15865
- *
15866
- * ## Attributes & Properties
15867
- *
15868
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15869
- *
15870
- * - `debug`: Indicates whether the component is in debug mode.
15871
- * When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
15872
- * - `myTemplate`: undefined (property only)
15873
- *
15874
- * ## Events
15875
- *
15876
- * Events that will be emitted by the component.
15877
- *
15878
- * - `qti-stamp-context-updated`: undefined
15879
- */
15880
- "test-stamp": Partial<
15881
- TestStampProps & TestStampSolidJsProps & BaseProps<TestStamp> & BaseEvents
15882
- >;
15883
-
15884
- /**
15885
- *
15886
- *
15887
- * ## Attributes & Properties
15888
- *
15889
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15890
- *
15891
- * - `label`: label accompanying the select view dropdown
15892
- * - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
15893
- */
15894
- "test-view": Partial<
15895
- TestViewProps & TestViewSolidJsProps & BaseProps<TestView> & BaseEvents
15896
- >;
15897
-
15898
- /**
15899
- *
15900
- *
15901
- * ## Attributes & Properties
15902
- *
15903
- * Component attributes and properties that can be applied to the element or by using JavaScript.
15904
- *
15905
- * - `myTemplate`: undefined (property only)
15906
- *
15907
- * ## Methods
15908
- *
15909
- * Methods that can be called to access component functionality.
15910
- *
15911
- * - `_switchView(view: string) => void`: undefined
15912
- */
15913
- "test-view-toggle": Partial<
15914
- TestViewToggleProps &
15915
- TestViewToggleSolidJsProps &
15916
- BaseProps<TestViewToggle> &
15917
- BaseEvents
15918
- >;
15919
-
15920
15938
  /**
15921
15939
  *
15922
15940
  *
@@ -18243,6 +18261,12 @@ export type CustomElementsSolidJs = {
18243
18261
 
18244
18262
  /**
18245
18263
  * Check-item extension that reveals the correct response after scoring.
18264
+ *
18265
+ * ## Attributes & Properties
18266
+ *
18267
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
18268
+ *
18269
+ * - `view`: The view to switch to after the attempt ended.
18246
18270
  */
18247
18271
  "test-check-item": Partial<
18248
18272
  TestCheckItemCorrectionProps &