@citolab/qti-components 10.0.0-next.4 → 10.0.0-next.6
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.
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +338 -300
- package/dist/base.d.ts +4 -4
- package/dist/base.js +1 -1
- package/dist/{chunk-UTW5VDTD.js → chunk-7IRGNPCV.js} +2098 -2032
- package/dist/chunk-7IRGNPCV.js.map +1 -0
- package/dist/{chunk-MI7774NV.js → chunk-CXTHPEUN.js} +2 -2
- package/dist/{chunk-RU6332MD.js → chunk-GZVLORVJ.js} +3 -3
- package/dist/{chunk-TDWJ6WZA.js → chunk-JZZMY3FA.js} +1 -1
- package/dist/chunk-JZZMY3FA.js.map +1 -0
- package/dist/{chunk-KQSR6LZH.js → chunk-KXYSYDIM.js} +2 -2
- package/dist/{chunk-GBZNFSFY.js → chunk-O5HGNYB2.js} +2 -2
- package/dist/{chunk-6U3YPHXU.js → chunk-QU23PPEZ.js} +2 -2
- package/dist/chunk-QVZLJY75.js +7 -0
- package/dist/chunk-QVZLJY75.js.map +1 -0
- package/dist/{chunk-6K3QWJHH.js → chunk-R7ZCUQU2.js} +2 -2
- package/dist/{chunk-RSMYGGQK.js → chunk-VY2DM47N.js} +174 -120
- package/dist/chunk-VY2DM47N.js.map +1 -0
- package/dist/{chunk-FD4AB6TM.js → chunk-W4NUIWRO.js} +2 -2
- package/dist/{chunk-F7FKSHZS.js → chunk-WAHTXGBK.js} +6 -6
- package/dist/{chunk-35WWWFS6.js → chunk-Z545U7O3.js} +2 -2
- package/dist/{computed.types.d-gJrBeUMG.d.ts → computed.types.d-DvxBgnze.d.ts} +10 -1
- package/dist/corrections.d.ts +5 -5
- package/dist/corrections.js +8 -8
- package/dist/elements.js +3 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.js +23 -19
- package/dist/interactions.d.ts +2 -2
- package/dist/interactions.js +3 -3
- package/dist/item.css +2 -1
- package/dist/item.d.ts +2 -2
- package/dist/item.js +4 -4
- package/dist/processing.js +3 -3
- package/dist/qti-components-jsx.d.ts +770 -760
- package/dist/{qti-item.d-DgC1AQbY.d.ts → qti-item.d-klsgIEKQ.d.ts} +1 -1
- package/dist/{qti-test.d-7YudNPea.d.ts → qti-test.d-Cra3sS-2.d.ts} +124 -104
- package/dist/{qti-text-entry-interaction.d-q8u5BiVK.d.ts → qti-text-entry-interaction.d-828kFi2A.d.ts} +14 -0
- package/dist/{session.context.d-D5080LVx.d.ts → session.context.d-DYAdqSer.d.ts} +6 -0
- package/dist/test.d.ts +111 -6
- package/dist/test.js +15 -11
- package/package.json +8 -8
- package/dist/chunk-RSMYGGQK.js.map +0 -1
- package/dist/chunk-TDWJ6WZA.js.map +0 -1
- package/dist/chunk-UTW5VDTD.js.map +0 -1
- package/dist/chunk-ZP6QQYSU.js +0 -7
- package/dist/chunk-ZP6QQYSU.js.map +0 -1
- /package/dist/{chunk-MI7774NV.js.map → chunk-CXTHPEUN.js.map} +0 -0
- /package/dist/{chunk-RU6332MD.js.map → chunk-GZVLORVJ.js.map} +0 -0
- /package/dist/{chunk-KQSR6LZH.js.map → chunk-KXYSYDIM.js.map} +0 -0
- /package/dist/{chunk-GBZNFSFY.js.map → chunk-O5HGNYB2.js.map} +0 -0
- /package/dist/{chunk-6U3YPHXU.js.map → chunk-QU23PPEZ.js.map} +0 -0
- /package/dist/{chunk-6K3QWJHH.js.map → chunk-R7ZCUQU2.js.map} +0 -0
- /package/dist/{chunk-FD4AB6TM.js.map → chunk-W4NUIWRO.js.map} +0 -0
- /package/dist/{chunk-F7FKSHZS.js.map → chunk-WAHTXGBK.js.map} +0 -0
- /package/dist/{chunk-35WWWFS6.js.map → chunk-Z545U7O3.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,
|
|
@@ -2169,6 +2171,14 @@ casts, rather than pretending at an encapsulation the type system was the only t
|
|
|
2169
2171
|
};
|
|
2170
2172
|
|
|
2171
2173
|
export type QtiGraphicGapMatchInteractionProps = {
|
|
2174
|
+
/** A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
2175
|
+
`--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
2176
|
+
beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
2177
|
+
declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
2178
|
+
their hotspots through `--qti-graphic-scale` instead. */
|
|
2179
|
+
autoSizeDropzones?:
|
|
2180
|
+
| QtiGraphicGapMatchInteraction["autoSizeDropzones"]
|
|
2181
|
+
| undefined;
|
|
2172
2182
|
/** */
|
|
2173
2183
|
allowReorder?: QtiGraphicGapMatchInteraction["allowReorder"] | undefined;
|
|
2174
2184
|
/** */
|
|
@@ -2182,6 +2192,14 @@ export type QtiGraphicGapMatchInteractionProps = {
|
|
|
2182
2192
|
};
|
|
2183
2193
|
|
|
2184
2194
|
export type QtiGraphicGapMatchInteractionSolidJsProps = {
|
|
2195
|
+
/** A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
2196
|
+
`--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
2197
|
+
beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
2198
|
+
declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
2199
|
+
their hotspots through `--qti-graphic-scale` instead. */
|
|
2200
|
+
"prop:autoSizeDropzones"?:
|
|
2201
|
+
| QtiGraphicGapMatchInteraction["autoSizeDropzones"]
|
|
2202
|
+
| undefined;
|
|
2185
2203
|
/** */
|
|
2186
2204
|
"prop:allowReorder"?:
|
|
2187
2205
|
| QtiGraphicGapMatchInteraction["allowReorder"]
|
|
@@ -4603,21 +4621,6 @@ object, do not mutate it: an in-place change does not notify the components insi
|
|
|
4603
4621
|
textContent?: string | number | undefined;
|
|
4604
4622
|
};
|
|
4605
4623
|
|
|
4606
|
-
export type TestCheckItemProps = {
|
|
4607
|
-
/** The view to switch to after the attempt ended. */
|
|
4608
|
-
view?: TestCheckItem["view"] | undefined;
|
|
4609
|
-
};
|
|
4610
|
-
|
|
4611
|
-
export type TestCheckItemSolidJsProps = {
|
|
4612
|
-
/** The view to switch to after the attempt ended. */
|
|
4613
|
-
"prop:view"?: TestCheckItem["view"] | undefined;
|
|
4614
|
-
|
|
4615
|
-
/** Set the innerHTML of the element */
|
|
4616
|
-
innerHTML?: string | undefined;
|
|
4617
|
-
/** Set the textContent of the element */
|
|
4618
|
-
textContent?: string | number | undefined;
|
|
4619
|
-
};
|
|
4620
|
-
|
|
4621
4624
|
export type TestEndAttemptProps = {
|
|
4622
4625
|
/** */
|
|
4623
4626
|
disabled?: TestEndAttempt["_internalDisabled"] | undefined;
|
|
@@ -4656,166 +4659,6 @@ export type TestItemLinkSolidJsProps = {
|
|
|
4656
4659
|
textContent?: string | number | undefined;
|
|
4657
4660
|
};
|
|
4658
4661
|
|
|
4659
|
-
export type TestItemToSpeechProps = {
|
|
4660
|
-
/** Fallback language when neither the item content nor the document declares one. */
|
|
4661
|
-
language?: TestItemToSpeech["language"] | undefined;
|
|
4662
|
-
/** */
|
|
4663
|
-
_ttsContext?: TestItemToSpeech["_ttsContext"] | undefined;
|
|
4664
|
-
};
|
|
4665
|
-
|
|
4666
|
-
export type TestItemToSpeechSolidJsProps = {
|
|
4667
|
-
/** Fallback language when neither the item content nor the document declares one. */
|
|
4668
|
-
"prop:language"?: TestItemToSpeech["language"] | undefined;
|
|
4669
|
-
/** */
|
|
4670
|
-
"prop:_ttsContext"?: TestItemToSpeech["_ttsContext"] | undefined;
|
|
4671
|
-
|
|
4672
|
-
/** Set the innerHTML of the element */
|
|
4673
|
-
innerHTML?: string | undefined;
|
|
4674
|
-
/** Set the textContent of the element */
|
|
4675
|
-
textContent?: string | number | undefined;
|
|
4676
|
-
};
|
|
4677
|
-
|
|
4678
|
-
export type TestTtsPlayProps = {
|
|
4679
|
-
/** Accessible name of the button while speech is playing; see `label`. */
|
|
4680
|
-
"pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
|
|
4681
|
-
/** Accessible name of the button while speech is playing; see `label`. */
|
|
4682
|
-
pauseLabel?: TestTtsPlay["pauseLabel"] | undefined;
|
|
4683
|
-
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4684
|
-
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4685
|
-
which has no text to be named by. */
|
|
4686
|
-
label?: TestTtsPlay["label"] | undefined;
|
|
4687
|
-
};
|
|
4688
|
-
|
|
4689
|
-
export type TestTtsPlaySolidJsProps = {
|
|
4690
|
-
/** Accessible name of the button while speech is playing; see `label`. */
|
|
4691
|
-
"attr:pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
|
|
4692
|
-
/** Accessible name of the button while speech is playing; see `label`. */
|
|
4693
|
-
"prop:pauseLabel"?: TestTtsPlay["pauseLabel"] | undefined;
|
|
4694
|
-
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4695
|
-
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4696
|
-
which has no text to be named by. */
|
|
4697
|
-
"prop:label"?: TestTtsPlay["label"] | undefined;
|
|
4698
|
-
|
|
4699
|
-
/** Set the innerHTML of the element */
|
|
4700
|
-
innerHTML?: string | undefined;
|
|
4701
|
-
/** Set the textContent of the element */
|
|
4702
|
-
textContent?: string | number | undefined;
|
|
4703
|
-
};
|
|
4704
|
-
|
|
4705
|
-
export type TestTtsPauseProps = {
|
|
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
|
-
label?: TestTtsPause["label"] | undefined;
|
|
4710
|
-
};
|
|
4711
|
-
|
|
4712
|
-
export type TestTtsPauseSolidJsProps = {
|
|
4713
|
-
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4714
|
-
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4715
|
-
which has no text to be named by. */
|
|
4716
|
-
"prop:label"?: TestTtsPause["label"] | undefined;
|
|
4717
|
-
|
|
4718
|
-
/** Set the innerHTML of the element */
|
|
4719
|
-
innerHTML?: string | undefined;
|
|
4720
|
-
/** Set the textContent of the element */
|
|
4721
|
-
textContent?: string | number | undefined;
|
|
4722
|
-
};
|
|
4723
|
-
|
|
4724
|
-
export type TestTtsResumeProps = {
|
|
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
|
-
label?: TestTtsResume["label"] | undefined;
|
|
4729
|
-
};
|
|
4730
|
-
|
|
4731
|
-
export type TestTtsResumeSolidJsProps = {
|
|
4732
|
-
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4733
|
-
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4734
|
-
which has no text to be named by. */
|
|
4735
|
-
"prop:label"?: TestTtsResume["label"] | undefined;
|
|
4736
|
-
|
|
4737
|
-
/** Set the innerHTML of the element */
|
|
4738
|
-
innerHTML?: string | undefined;
|
|
4739
|
-
/** Set the textContent of the element */
|
|
4740
|
-
textContent?: string | number | undefined;
|
|
4741
|
-
};
|
|
4742
|
-
|
|
4743
|
-
export type TestTtsStopProps = {
|
|
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
|
-
label?: TestTtsStop["label"] | undefined;
|
|
4748
|
-
};
|
|
4749
|
-
|
|
4750
|
-
export type TestTtsStopSolidJsProps = {
|
|
4751
|
-
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4752
|
-
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4753
|
-
which has no text to be named by. */
|
|
4754
|
-
"prop:label"?: TestTtsStop["label"] | undefined;
|
|
4755
|
-
|
|
4756
|
-
/** Set the innerHTML of the element */
|
|
4757
|
-
innerHTML?: string | undefined;
|
|
4758
|
-
/** Set the textContent of the element */
|
|
4759
|
-
textContent?: string | number | undefined;
|
|
4760
|
-
};
|
|
4761
|
-
|
|
4762
|
-
export type TestTtsPrevProps = {
|
|
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
|
-
label?: TestTtsPrev["label"] | undefined;
|
|
4767
|
-
};
|
|
4768
|
-
|
|
4769
|
-
export type TestTtsPrevSolidJsProps = {
|
|
4770
|
-
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4771
|
-
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4772
|
-
which has no text to be named by. */
|
|
4773
|
-
"prop:label"?: TestTtsPrev["label"] | undefined;
|
|
4774
|
-
|
|
4775
|
-
/** Set the innerHTML of the element */
|
|
4776
|
-
innerHTML?: string | undefined;
|
|
4777
|
-
/** Set the textContent of the element */
|
|
4778
|
-
textContent?: string | number | undefined;
|
|
4779
|
-
};
|
|
4780
|
-
|
|
4781
|
-
export type TestTtsNextProps = {
|
|
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
|
-
label?: TestTtsNext["label"] | undefined;
|
|
4786
|
-
};
|
|
4787
|
-
|
|
4788
|
-
export type TestTtsNextSolidJsProps = {
|
|
4789
|
-
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4790
|
-
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4791
|
-
which has no text to be named by. */
|
|
4792
|
-
"prop:label"?: TestTtsNext["label"] | undefined;
|
|
4793
|
-
|
|
4794
|
-
/** Set the innerHTML of the element */
|
|
4795
|
-
innerHTML?: string | undefined;
|
|
4796
|
-
/** Set the textContent of the element */
|
|
4797
|
-
textContent?: string | number | undefined;
|
|
4798
|
-
};
|
|
4799
|
-
|
|
4800
|
-
export type TestTtsPickProps = {
|
|
4801
|
-
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4802
|
-
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4803
|
-
which has no text to be named by. */
|
|
4804
|
-
label?: TestTtsPick["label"] | undefined;
|
|
4805
|
-
};
|
|
4806
|
-
|
|
4807
|
-
export type TestTtsPickSolidJsProps = {
|
|
4808
|
-
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4809
|
-
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4810
|
-
which has no text to be named by. */
|
|
4811
|
-
"prop:label"?: TestTtsPick["label"] | undefined;
|
|
4812
|
-
|
|
4813
|
-
/** Set the innerHTML of the element */
|
|
4814
|
-
innerHTML?: string | undefined;
|
|
4815
|
-
/** Set the textContent of the element */
|
|
4816
|
-
textContent?: string | number | undefined;
|
|
4817
|
-
};
|
|
4818
|
-
|
|
4819
4662
|
export type TestNavigationProps = {
|
|
4820
4663
|
/** */
|
|
4821
4664
|
identifier?: TestNavigation["identifier"] | undefined;
|
|
@@ -4899,25 +4742,6 @@ export type TestNextSolidJsProps = {
|
|
|
4899
4742
|
textContent?: string | number | undefined;
|
|
4900
4743
|
};
|
|
4901
4744
|
|
|
4902
|
-
export type TestPagingButtonsStampProps = {
|
|
4903
|
-
/** */
|
|
4904
|
-
myTemplate?: TestPagingButtonsStamp["myTemplate"] | undefined;
|
|
4905
|
-
/** */
|
|
4906
|
-
ariaLabel?: TestPagingButtonsStamp["ariaLabel"] | undefined;
|
|
4907
|
-
};
|
|
4908
|
-
|
|
4909
|
-
export type TestPagingButtonsStampSolidJsProps = {
|
|
4910
|
-
/** */
|
|
4911
|
-
"prop:myTemplate"?: TestPagingButtonsStamp["myTemplate"] | undefined;
|
|
4912
|
-
/** */
|
|
4913
|
-
"prop:ariaLabel"?: TestPagingButtonsStamp["ariaLabel"] | undefined;
|
|
4914
|
-
|
|
4915
|
-
/** Set the innerHTML of the element */
|
|
4916
|
-
innerHTML?: string | undefined;
|
|
4917
|
-
/** Set the textContent of the element */
|
|
4918
|
-
textContent?: string | number | undefined;
|
|
4919
|
-
};
|
|
4920
|
-
|
|
4921
4745
|
export type TestPrevProps = {
|
|
4922
4746
|
/** */
|
|
4923
4747
|
disabled?: TestPrev["_internalDisabled"] | undefined;
|
|
@@ -4945,14 +4769,18 @@ export type TestPrevSolidJsProps = {
|
|
|
4945
4769
|
textContent?: string | number | undefined;
|
|
4946
4770
|
};
|
|
4947
4771
|
|
|
4948
|
-
export type
|
|
4772
|
+
export type TestSectionLinkProps = {
|
|
4949
4773
|
/** */
|
|
4950
|
-
|
|
4774
|
+
"section-id"?: TestSectionLink["sectionId"] | undefined;
|
|
4775
|
+
/** */
|
|
4776
|
+
sectionId?: TestSectionLink["sectionId"] | undefined;
|
|
4951
4777
|
};
|
|
4952
4778
|
|
|
4953
|
-
export type
|
|
4779
|
+
export type TestSectionLinkSolidJsProps = {
|
|
4954
4780
|
/** */
|
|
4955
|
-
"
|
|
4781
|
+
"attr:section-id"?: TestSectionLink["sectionId"] | undefined;
|
|
4782
|
+
/** */
|
|
4783
|
+
"prop:sectionId"?: TestSectionLink["sectionId"] | undefined;
|
|
4956
4784
|
|
|
4957
4785
|
/** Set the innerHTML of the element */
|
|
4958
4786
|
innerHTML?: string | undefined;
|
|
@@ -4960,14 +4788,22 @@ export type TestPrintContextSolidJsProps = {
|
|
|
4960
4788
|
textContent?: string | number | undefined;
|
|
4961
4789
|
};
|
|
4962
4790
|
|
|
4963
|
-
export type
|
|
4964
|
-
/**
|
|
4965
|
-
|
|
4791
|
+
export type TestBookmarkProps = {
|
|
4792
|
+
/** The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen. */
|
|
4793
|
+
item?: TestBookmark["item"] | undefined;
|
|
4794
|
+
/** Reflected: the item on screen is bookmarked. */
|
|
4795
|
+
bookmarked?: TestBookmark["bookmarked"] | undefined;
|
|
4796
|
+
/** Reflected: there is no item on screen. */
|
|
4797
|
+
disabled?: TestBookmark["disabled"] | undefined;
|
|
4966
4798
|
};
|
|
4967
4799
|
|
|
4968
|
-
export type
|
|
4969
|
-
/**
|
|
4970
|
-
"prop:
|
|
4800
|
+
export type TestBookmarkSolidJsProps = {
|
|
4801
|
+
/** The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen. */
|
|
4802
|
+
"prop:item"?: TestBookmark["item"] | undefined;
|
|
4803
|
+
/** Reflected: the item on screen is bookmarked. */
|
|
4804
|
+
"prop:bookmarked"?: TestBookmark["bookmarked"] | undefined;
|
|
4805
|
+
/** Reflected: there is no item on screen. */
|
|
4806
|
+
"prop:disabled"?: TestBookmark["disabled"] | undefined;
|
|
4971
4807
|
|
|
4972
4808
|
/** Set the innerHTML of the element */
|
|
4973
4809
|
innerHTML?: string | undefined;
|
|
@@ -4975,22 +4811,14 @@ export type TestPrintVariablesSolidJsProps = {
|
|
|
4975
4811
|
textContent?: string | number | undefined;
|
|
4976
4812
|
};
|
|
4977
4813
|
|
|
4978
|
-
export type
|
|
4979
|
-
/**
|
|
4980
|
-
view?:
|
|
4981
|
-
/** */
|
|
4982
|
-
disabled?: TestScoringButtons["disabled"] | undefined;
|
|
4983
|
-
/** */
|
|
4984
|
-
myTemplate?: TestScoringButtons["myTemplate"] | undefined;
|
|
4814
|
+
export type TestCheckItemProps = {
|
|
4815
|
+
/** The view to switch to after the attempt ended. */
|
|
4816
|
+
view?: TestCheckItem["view"] | undefined;
|
|
4985
4817
|
};
|
|
4986
4818
|
|
|
4987
|
-
export type
|
|
4988
|
-
/**
|
|
4989
|
-
"prop:view"?:
|
|
4990
|
-
/** */
|
|
4991
|
-
"prop:disabled"?: TestScoringButtons["disabled"] | undefined;
|
|
4992
|
-
/** */
|
|
4993
|
-
"prop:myTemplate"?: TestScoringButtons["myTemplate"] | undefined;
|
|
4819
|
+
export type TestCheckItemSolidJsProps = {
|
|
4820
|
+
/** The view to switch to after the attempt ended. */
|
|
4821
|
+
"prop:view"?: TestCheckItem["view"] | undefined;
|
|
4994
4822
|
|
|
4995
4823
|
/** Set the innerHTML of the element */
|
|
4996
4824
|
innerHTML?: string | undefined;
|
|
@@ -4998,14 +4826,14 @@ export type TestScoringButtonsSolidJsProps = {
|
|
|
4998
4826
|
textContent?: string | number | undefined;
|
|
4999
4827
|
};
|
|
5000
4828
|
|
|
5001
|
-
export type
|
|
4829
|
+
export type TestPrintContextProps = {
|
|
5002
4830
|
/** */
|
|
5003
|
-
|
|
4831
|
+
computedContext?: TestPrintContext["computedContext"] | undefined;
|
|
5004
4832
|
};
|
|
5005
4833
|
|
|
5006
|
-
export type
|
|
4834
|
+
export type TestPrintContextSolidJsProps = {
|
|
5007
4835
|
/** */
|
|
5008
|
-
"prop:
|
|
4836
|
+
"prop:computedContext"?: TestPrintContext["computedContext"] | undefined;
|
|
5009
4837
|
|
|
5010
4838
|
/** Set the innerHTML of the element */
|
|
5011
4839
|
innerHTML?: string | undefined;
|
|
@@ -5013,18 +4841,14 @@ export type TestScoringFeedbackSolidJsProps = {
|
|
|
5013
4841
|
textContent?: string | number | undefined;
|
|
5014
4842
|
};
|
|
5015
4843
|
|
|
5016
|
-
export type
|
|
5017
|
-
/** */
|
|
5018
|
-
myTemplate?: TestSectionButtonsStamp["myTemplate"] | undefined;
|
|
4844
|
+
export type TestPrintVariablesProps = {
|
|
5019
4845
|
/** */
|
|
5020
|
-
|
|
4846
|
+
computedContext?: TestPrintVariables["computedContext"] | undefined;
|
|
5021
4847
|
};
|
|
5022
4848
|
|
|
5023
|
-
export type
|
|
5024
|
-
/** */
|
|
5025
|
-
"prop:myTemplate"?: TestSectionButtonsStamp["myTemplate"] | undefined;
|
|
4849
|
+
export type TestPrintVariablesSolidJsProps = {
|
|
5026
4850
|
/** */
|
|
5027
|
-
"prop:
|
|
4851
|
+
"prop:computedContext"?: TestPrintVariables["computedContext"] | undefined;
|
|
5028
4852
|
|
|
5029
4853
|
/** Set the innerHTML of the element */
|
|
5030
4854
|
innerHTML?: string | undefined;
|
|
@@ -5032,18 +4856,37 @@ export type TestSectionButtonsStampSolidJsProps = {
|
|
|
5032
4856
|
textContent?: string | number | undefined;
|
|
5033
4857
|
};
|
|
5034
4858
|
|
|
5035
|
-
export type
|
|
4859
|
+
export type TestScoringButtonsProps = {
|
|
5036
4860
|
/** */
|
|
5037
|
-
|
|
4861
|
+
view?: TestScoringButtons["view"] | undefined;
|
|
5038
4862
|
/** */
|
|
5039
|
-
|
|
4863
|
+
disabled?: TestScoringButtons["disabled"] | undefined;
|
|
4864
|
+
/** */
|
|
4865
|
+
myTemplate?: TestScoringButtons["myTemplate"] | undefined;
|
|
5040
4866
|
};
|
|
5041
4867
|
|
|
5042
|
-
export type
|
|
4868
|
+
export type TestScoringButtonsSolidJsProps = {
|
|
5043
4869
|
/** */
|
|
5044
|
-
"
|
|
4870
|
+
"prop:view"?: TestScoringButtons["view"] | undefined;
|
|
5045
4871
|
/** */
|
|
5046
|
-
"prop:
|
|
4872
|
+
"prop:disabled"?: TestScoringButtons["disabled"] | undefined;
|
|
4873
|
+
/** */
|
|
4874
|
+
"prop:myTemplate"?: TestScoringButtons["myTemplate"] | undefined;
|
|
4875
|
+
|
|
4876
|
+
/** Set the innerHTML of the element */
|
|
4877
|
+
innerHTML?: string | undefined;
|
|
4878
|
+
/** Set the textContent of the element */
|
|
4879
|
+
textContent?: string | number | undefined;
|
|
4880
|
+
};
|
|
4881
|
+
|
|
4882
|
+
export type TestScoringFeedbackProps = {
|
|
4883
|
+
/** */
|
|
4884
|
+
view?: TestScoringFeedback["view"] | undefined;
|
|
4885
|
+
};
|
|
4886
|
+
|
|
4887
|
+
export type TestScoringFeedbackSolidJsProps = {
|
|
4888
|
+
/** */
|
|
4889
|
+
"prop:view"?: TestScoringFeedback["view"] | undefined;
|
|
5047
4890
|
|
|
5048
4891
|
/** Set the innerHTML of the element */
|
|
5049
4892
|
innerHTML?: string | undefined;
|
|
@@ -5115,6 +4958,166 @@ export type TestViewToggleSolidJsProps = {
|
|
|
5115
4958
|
textContent?: string | number | undefined;
|
|
5116
4959
|
};
|
|
5117
4960
|
|
|
4961
|
+
export type TestItemToSpeechProps = {
|
|
4962
|
+
/** Fallback language when neither the item content nor the document declares one. */
|
|
4963
|
+
language?: TestItemToSpeech["language"] | undefined;
|
|
4964
|
+
/** */
|
|
4965
|
+
_ttsContext?: TestItemToSpeech["_ttsContext"] | undefined;
|
|
4966
|
+
};
|
|
4967
|
+
|
|
4968
|
+
export type TestItemToSpeechSolidJsProps = {
|
|
4969
|
+
/** Fallback language when neither the item content nor the document declares one. */
|
|
4970
|
+
"prop:language"?: TestItemToSpeech["language"] | undefined;
|
|
4971
|
+
/** */
|
|
4972
|
+
"prop:_ttsContext"?: TestItemToSpeech["_ttsContext"] | undefined;
|
|
4973
|
+
|
|
4974
|
+
/** Set the innerHTML of the element */
|
|
4975
|
+
innerHTML?: string | undefined;
|
|
4976
|
+
/** Set the textContent of the element */
|
|
4977
|
+
textContent?: string | number | undefined;
|
|
4978
|
+
};
|
|
4979
|
+
|
|
4980
|
+
export type TestTtsPlayProps = {
|
|
4981
|
+
/** Accessible name of the button while speech is playing; see `label`. */
|
|
4982
|
+
"pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
|
|
4983
|
+
/** Accessible name of the button while speech is playing; see `label`. */
|
|
4984
|
+
pauseLabel?: TestTtsPlay["pauseLabel"] | undefined;
|
|
4985
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4986
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4987
|
+
which has no text to be named by. */
|
|
4988
|
+
label?: TestTtsPlay["label"] | undefined;
|
|
4989
|
+
};
|
|
4990
|
+
|
|
4991
|
+
export type TestTtsPlaySolidJsProps = {
|
|
4992
|
+
/** Accessible name of the button while speech is playing; see `label`. */
|
|
4993
|
+
"attr:pause-label"?: TestTtsPlay["pauseLabel"] | undefined;
|
|
4994
|
+
/** Accessible name of the button while speech is playing; see `label`. */
|
|
4995
|
+
"prop:pauseLabel"?: TestTtsPlay["pauseLabel"] | undefined;
|
|
4996
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
4997
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
4998
|
+
which has no text to be named by. */
|
|
4999
|
+
"prop:label"?: TestTtsPlay["label"] | undefined;
|
|
5000
|
+
|
|
5001
|
+
/** Set the innerHTML of the element */
|
|
5002
|
+
innerHTML?: string | undefined;
|
|
5003
|
+
/** Set the textContent of the element */
|
|
5004
|
+
textContent?: string | number | undefined;
|
|
5005
|
+
};
|
|
5006
|
+
|
|
5007
|
+
export type TestTtsPauseProps = {
|
|
5008
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5009
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5010
|
+
which has no text to be named by. */
|
|
5011
|
+
label?: TestTtsPause["label"] | undefined;
|
|
5012
|
+
};
|
|
5013
|
+
|
|
5014
|
+
export type TestTtsPauseSolidJsProps = {
|
|
5015
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5016
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5017
|
+
which has no text to be named by. */
|
|
5018
|
+
"prop:label"?: TestTtsPause["label"] | undefined;
|
|
5019
|
+
|
|
5020
|
+
/** Set the innerHTML of the element */
|
|
5021
|
+
innerHTML?: string | undefined;
|
|
5022
|
+
/** Set the textContent of the element */
|
|
5023
|
+
textContent?: string | number | undefined;
|
|
5024
|
+
};
|
|
5025
|
+
|
|
5026
|
+
export type TestTtsResumeProps = {
|
|
5027
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5028
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5029
|
+
which has no text to be named by. */
|
|
5030
|
+
label?: TestTtsResume["label"] | undefined;
|
|
5031
|
+
};
|
|
5032
|
+
|
|
5033
|
+
export type TestTtsResumeSolidJsProps = {
|
|
5034
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5035
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5036
|
+
which has no text to be named by. */
|
|
5037
|
+
"prop:label"?: TestTtsResume["label"] | undefined;
|
|
5038
|
+
|
|
5039
|
+
/** Set the innerHTML of the element */
|
|
5040
|
+
innerHTML?: string | undefined;
|
|
5041
|
+
/** Set the textContent of the element */
|
|
5042
|
+
textContent?: string | number | undefined;
|
|
5043
|
+
};
|
|
5044
|
+
|
|
5045
|
+
export type TestTtsStopProps = {
|
|
5046
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5047
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5048
|
+
which has no text to be named by. */
|
|
5049
|
+
label?: TestTtsStop["label"] | undefined;
|
|
5050
|
+
};
|
|
5051
|
+
|
|
5052
|
+
export type TestTtsStopSolidJsProps = {
|
|
5053
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5054
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5055
|
+
which has no text to be named by. */
|
|
5056
|
+
"prop:label"?: TestTtsStop["label"] | undefined;
|
|
5057
|
+
|
|
5058
|
+
/** Set the innerHTML of the element */
|
|
5059
|
+
innerHTML?: string | undefined;
|
|
5060
|
+
/** Set the textContent of the element */
|
|
5061
|
+
textContent?: string | number | undefined;
|
|
5062
|
+
};
|
|
5063
|
+
|
|
5064
|
+
export type TestTtsPrevProps = {
|
|
5065
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5066
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5067
|
+
which has no text to be named by. */
|
|
5068
|
+
label?: TestTtsPrev["label"] | undefined;
|
|
5069
|
+
};
|
|
5070
|
+
|
|
5071
|
+
export type TestTtsPrevSolidJsProps = {
|
|
5072
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5073
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5074
|
+
which has no text to be named by. */
|
|
5075
|
+
"prop:label"?: TestTtsPrev["label"] | undefined;
|
|
5076
|
+
|
|
5077
|
+
/** Set the innerHTML of the element */
|
|
5078
|
+
innerHTML?: string | undefined;
|
|
5079
|
+
/** Set the textContent of the element */
|
|
5080
|
+
textContent?: string | number | undefined;
|
|
5081
|
+
};
|
|
5082
|
+
|
|
5083
|
+
export type TestTtsNextProps = {
|
|
5084
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5085
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5086
|
+
which has no text to be named by. */
|
|
5087
|
+
label?: TestTtsNext["label"] | undefined;
|
|
5088
|
+
};
|
|
5089
|
+
|
|
5090
|
+
export type TestTtsNextSolidJsProps = {
|
|
5091
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5092
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5093
|
+
which has no text to be named by. */
|
|
5094
|
+
"prop:label"?: TestTtsNext["label"] | undefined;
|
|
5095
|
+
|
|
5096
|
+
/** Set the innerHTML of the element */
|
|
5097
|
+
innerHTML?: string | undefined;
|
|
5098
|
+
/** Set the textContent of the element */
|
|
5099
|
+
textContent?: string | number | undefined;
|
|
5100
|
+
};
|
|
5101
|
+
|
|
5102
|
+
export type TestTtsPickProps = {
|
|
5103
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5104
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5105
|
+
which has no text to be named by. */
|
|
5106
|
+
label?: TestTtsPick["label"] | undefined;
|
|
5107
|
+
};
|
|
5108
|
+
|
|
5109
|
+
export type TestTtsPickSolidJsProps = {
|
|
5110
|
+
/** Accessible name of the button. Without it the default icon carries an English name, and
|
|
5111
|
+
slotted content names the button by its text; set it when you slot an icon of your own,
|
|
5112
|
+
which has no text to be named by. */
|
|
5113
|
+
"prop:label"?: TestTtsPick["label"] | undefined;
|
|
5114
|
+
|
|
5115
|
+
/** Set the innerHTML of the element */
|
|
5116
|
+
innerHTML?: string | undefined;
|
|
5117
|
+
/** Set the textContent of the element */
|
|
5118
|
+
textContent?: string | number | undefined;
|
|
5119
|
+
};
|
|
5120
|
+
|
|
5118
5121
|
export type QtiAndProps = {};
|
|
5119
5122
|
|
|
5120
5123
|
export type QtiAndSolidJsProps = {
|
|
@@ -7984,6 +7987,11 @@ export type CustomElements = {
|
|
|
7984
7987
|
*
|
|
7985
7988
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
7986
7989
|
*
|
|
7990
|
+
* - `autoSizeDropzones`: A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
7991
|
+
* `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
7992
|
+
* beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
7993
|
+
* declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
7994
|
+
* their hotspots through `--qti-graphic-scale` instead. (property only)
|
|
7987
7995
|
* - `allowReorder`: undefined (property only)
|
|
7988
7996
|
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
7989
7997
|
* - `sortableAnimationConfig`: undefined (property only)
|
|
@@ -9572,21 +9580,6 @@ export type CustomElements = {
|
|
|
9572
9580
|
*/
|
|
9573
9581
|
"qti-test": Partial<QtiTestProps & BaseProps<QtiTest> & BaseEvents>;
|
|
9574
9582
|
|
|
9575
|
-
/**
|
|
9576
|
-
* Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
|
|
9577
|
-
* reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
|
|
9578
|
-
* something switches it back (`test-view-toggle`).
|
|
9579
|
-
*
|
|
9580
|
-
* ## Attributes & Properties
|
|
9581
|
-
*
|
|
9582
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9583
|
-
*
|
|
9584
|
-
* - `view`: The view to switch to after the attempt ended.
|
|
9585
|
-
*/
|
|
9586
|
-
"test-check-item": Partial<
|
|
9587
|
-
TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents
|
|
9588
|
-
>;
|
|
9589
|
-
|
|
9590
9583
|
/**
|
|
9591
9584
|
*
|
|
9592
9585
|
*
|
|
@@ -9621,208 +9614,271 @@ export type CustomElements = {
|
|
|
9621
9614
|
>;
|
|
9622
9615
|
|
|
9623
9616
|
/**
|
|
9624
|
-
*
|
|
9625
|
-
* speech synthesis, word highlighting, and item element lookup. Compose your
|
|
9626
|
-
* own player by placing control elements as children.
|
|
9617
|
+
*
|
|
9627
9618
|
*
|
|
9628
9619
|
* ## Attributes & Properties
|
|
9629
9620
|
*
|
|
9630
9621
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9631
9622
|
*
|
|
9632
|
-
* - `
|
|
9633
|
-
* - `
|
|
9623
|
+
* - `identifier`: undefined
|
|
9624
|
+
* - `auto-score-items`/`autoScoreItems`: undefined
|
|
9625
|
+
* - `initContext`: undefined (property only)
|
|
9626
|
+
* - `qtiContext`: undefined (property only)
|
|
9627
|
+
* - `configContext`: undefined (property only)
|
|
9634
9628
|
*
|
|
9635
|
-
* ##
|
|
9629
|
+
* ## Events
|
|
9636
9630
|
*
|
|
9637
|
-
*
|
|
9631
|
+
* Events that will be emitted by the component.
|
|
9638
9632
|
*
|
|
9639
|
-
* - `
|
|
9640
|
-
* - `picking`: Pick mode: all reading elements highlighted, waiting for a click
|
|
9641
|
-
* - `playing`: Speech is playing
|
|
9642
|
-
* - `paused`: Speech is paused
|
|
9633
|
+
* - `qti-computed-context-updated`: undefined
|
|
9643
9634
|
*/
|
|
9644
|
-
"test-
|
|
9645
|
-
|
|
9635
|
+
"test-navigation": Partial<
|
|
9636
|
+
TestNavigationProps & BaseProps<TestNavigation> & BaseEvents
|
|
9646
9637
|
>;
|
|
9647
9638
|
|
|
9648
9639
|
/**
|
|
9649
|
-
*
|
|
9650
|
-
* Use named slots `play` and `pause` to customise the icons/labels independently; `label` and
|
|
9651
|
-
* `pause-label` name the button in each state (set them when the slotted content is an icon).
|
|
9640
|
+
* Represents a custom element for navigating to the next test item.
|
|
9652
9641
|
*
|
|
9653
9642
|
* ## Attributes & Properties
|
|
9654
9643
|
*
|
|
9655
9644
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9656
9645
|
*
|
|
9657
|
-
* - `
|
|
9658
|
-
* - `
|
|
9659
|
-
*
|
|
9660
|
-
*
|
|
9646
|
+
* - `disabled`/`_internalDisabled`: undefined
|
|
9647
|
+
* - `sectionItems`: undefined (property only)
|
|
9648
|
+
* - `itemIndex`: undefined (property only)
|
|
9649
|
+
* - `role`: undefined (property only)
|
|
9650
|
+
* - `ariaLabel`: undefined (property only)
|
|
9661
9651
|
*
|
|
9662
|
-
* ##
|
|
9652
|
+
* ## Methods
|
|
9663
9653
|
*
|
|
9664
|
-
*
|
|
9654
|
+
* Methods that can be called to access component functionality.
|
|
9665
9655
|
*
|
|
9666
|
-
* - `
|
|
9656
|
+
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
9657
|
+
* - `checkDisabled() => void`: undefined
|
|
9658
|
+
*/
|
|
9659
|
+
"test-next": Partial<TestNextProps & BaseProps<TestNext> & BaseEvents>;
|
|
9660
|
+
|
|
9661
|
+
/**
|
|
9662
|
+
* Represents a custom element for navigating to the previous test item.
|
|
9667
9663
|
*
|
|
9668
|
-
* ##
|
|
9664
|
+
* ## Attributes & Properties
|
|
9669
9665
|
*
|
|
9670
|
-
*
|
|
9666
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9671
9667
|
*
|
|
9672
|
-
* - `
|
|
9668
|
+
* - `disabled`/`_internalDisabled`: undefined
|
|
9669
|
+
* - `sectionItems`: undefined (property only)
|
|
9670
|
+
* - `itemIndex`: undefined (property only)
|
|
9671
|
+
*
|
|
9672
|
+
* ## Methods
|
|
9673
|
+
*
|
|
9674
|
+
* Methods that can be called to access component functionality.
|
|
9675
|
+
*
|
|
9676
|
+
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
9677
|
+
* - `checkDisabled() => void`: undefined
|
|
9673
9678
|
*/
|
|
9674
|
-
"test-
|
|
9675
|
-
TestTtsPlayProps & BaseProps<TestTtsPlay> & BaseEvents
|
|
9676
|
-
>;
|
|
9679
|
+
"test-prev": Partial<TestPrevProps & BaseProps<TestPrev> & BaseEvents>;
|
|
9677
9680
|
|
|
9678
9681
|
/**
|
|
9679
|
-
*
|
|
9682
|
+
*
|
|
9680
9683
|
*
|
|
9681
9684
|
* ## Attributes & Properties
|
|
9682
9685
|
*
|
|
9683
9686
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9684
9687
|
*
|
|
9685
|
-
* - `
|
|
9686
|
-
|
|
9687
|
-
|
|
9688
|
+
* - `section-id`/`sectionId`: undefined
|
|
9689
|
+
*/
|
|
9690
|
+
"test-section-link": Partial<
|
|
9691
|
+
TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
|
|
9692
|
+
>;
|
|
9693
|
+
|
|
9694
|
+
/**
|
|
9695
|
+
* A toggle that marks the item on screen to come back to. The marks live in the test's state under
|
|
9696
|
+
* `bookmarks` (`session.plugins.bookmarks`), so a host that stores `state` stores them, and a
|
|
9697
|
+
* reloaded test shows them again.
|
|
9688
9698
|
*
|
|
9689
|
-
*
|
|
9699
|
+
* Put it inside `<test-navigation>`, either in the toolbar, where it marks the item on screen, or in
|
|
9700
|
+
* the `<template item-ref>`, where each item gets its own and it marks that item. It is a button
|
|
9701
|
+
* (`role="button"`, `aria-pressed`) and reflects `bookmarked` on the host for styling; its content is
|
|
9702
|
+
* the label. In the toolbar it is `disabled` while no item is on screen. A host's own navigation reads
|
|
9703
|
+
* the marks with `bookmarkedItems(computedContext)`.
|
|
9690
9704
|
*
|
|
9691
|
-
*
|
|
9705
|
+
* Give it an `item` (an item-ref identifier) to mark that item instead, wherever the button sits: in a
|
|
9706
|
+
* stamp template that lists the items of a section, `<test-bookmark item="{{ item.identifier }}">`
|
|
9707
|
+
* puts a button next to each one.
|
|
9692
9708
|
*
|
|
9693
|
-
*
|
|
9709
|
+
* ## Attributes & Properties
|
|
9694
9710
|
*
|
|
9695
|
-
*
|
|
9711
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9696
9712
|
*
|
|
9697
|
-
*
|
|
9713
|
+
* - `item`: The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen.
|
|
9714
|
+
* - `bookmarked`: Reflected: the item on screen is bookmarked.
|
|
9715
|
+
* - `disabled`: Reflected: there is no item on screen.
|
|
9698
9716
|
*
|
|
9699
|
-
*
|
|
9717
|
+
* ## Slots
|
|
9718
|
+
*
|
|
9719
|
+
* Areas where markup can be added to the component.
|
|
9720
|
+
*
|
|
9721
|
+
* - `(default)`: The label.
|
|
9700
9722
|
*/
|
|
9701
|
-
"test-
|
|
9702
|
-
|
|
9723
|
+
"test-bookmark": Partial<
|
|
9724
|
+
TestBookmarkProps & BaseProps<TestBookmark> & BaseEvents
|
|
9703
9725
|
>;
|
|
9704
9726
|
|
|
9705
9727
|
/**
|
|
9706
|
-
*
|
|
9728
|
+
* Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
|
|
9729
|
+
* reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
|
|
9730
|
+
* something switches it back (`test-view-toggle`).
|
|
9707
9731
|
*
|
|
9708
9732
|
* ## Attributes & Properties
|
|
9709
9733
|
*
|
|
9710
9734
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9711
9735
|
*
|
|
9712
|
-
* - `
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
|
|
9736
|
+
* - `view`: The view to switch to after the attempt ended.
|
|
9737
|
+
*/
|
|
9738
|
+
"test-check-item": Partial<
|
|
9739
|
+
TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents
|
|
9740
|
+
>;
|
|
9741
|
+
|
|
9742
|
+
/**
|
|
9719
9743
|
*
|
|
9720
|
-
* - `button`: undefined
|
|
9721
9744
|
*
|
|
9722
|
-
* ##
|
|
9745
|
+
* ## Attributes & Properties
|
|
9723
9746
|
*
|
|
9724
|
-
*
|
|
9747
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9725
9748
|
*
|
|
9726
|
-
* - `
|
|
9749
|
+
* - `computedContext`: undefined (property only)
|
|
9727
9750
|
*/
|
|
9728
|
-
"test-
|
|
9729
|
-
|
|
9751
|
+
"test-print-context": Partial<
|
|
9752
|
+
TestPrintContextProps & BaseProps<TestPrintContext> & BaseEvents
|
|
9730
9753
|
>;
|
|
9731
9754
|
|
|
9732
9755
|
/**
|
|
9733
|
-
*
|
|
9756
|
+
*
|
|
9734
9757
|
*
|
|
9735
9758
|
* ## Attributes & Properties
|
|
9736
9759
|
*
|
|
9737
9760
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9738
9761
|
*
|
|
9739
|
-
* - `
|
|
9740
|
-
|
|
9741
|
-
|
|
9762
|
+
* - `computedContext`: undefined (property only)
|
|
9763
|
+
*/
|
|
9764
|
+
"test-print-item-variables": Partial<
|
|
9765
|
+
TestPrintVariablesProps & BaseProps<TestPrintVariables> & BaseEvents
|
|
9766
|
+
>;
|
|
9767
|
+
|
|
9768
|
+
/**
|
|
9742
9769
|
*
|
|
9743
|
-
* ## CSS Parts
|
|
9744
9770
|
*
|
|
9745
|
-
*
|
|
9771
|
+
* ## Attributes & Properties
|
|
9746
9772
|
*
|
|
9747
|
-
*
|
|
9773
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9748
9774
|
*
|
|
9749
|
-
*
|
|
9775
|
+
* - `view`: undefined
|
|
9776
|
+
* - `disabled`: undefined
|
|
9777
|
+
* - `myTemplate`: undefined (property only)
|
|
9778
|
+
*/
|
|
9779
|
+
"test-scoring-buttons": Partial<
|
|
9780
|
+
TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents
|
|
9781
|
+
>;
|
|
9782
|
+
|
|
9783
|
+
/**
|
|
9750
9784
|
*
|
|
9751
|
-
* These can be used to apply styling when a component is in a given state.
|
|
9752
9785
|
*
|
|
9753
|
-
*
|
|
9786
|
+
* ## Attributes & Properties
|
|
9787
|
+
*
|
|
9788
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9789
|
+
*
|
|
9790
|
+
* - `view`: undefined
|
|
9754
9791
|
*/
|
|
9755
|
-
"test-
|
|
9756
|
-
|
|
9792
|
+
"test-scoring-feedback": Partial<
|
|
9793
|
+
TestScoringFeedbackProps & BaseProps<TestScoringFeedback> & BaseEvents
|
|
9757
9794
|
>;
|
|
9758
9795
|
|
|
9759
9796
|
/**
|
|
9760
|
-
*
|
|
9761
|
-
*
|
|
9762
|
-
* of 0 means "not looked yet" rather than "nothing to read": the button stays enabled and the
|
|
9763
|
-
* first click collects them.
|
|
9797
|
+
* A custom web component that renders a test stamp using the Lit framework.
|
|
9798
|
+
* This component is deprecated and will be removed in the future.
|
|
9764
9799
|
*
|
|
9765
9800
|
* ## Attributes & Properties
|
|
9766
9801
|
*
|
|
9767
9802
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9768
9803
|
*
|
|
9769
|
-
* - `
|
|
9770
|
-
*
|
|
9771
|
-
*
|
|
9804
|
+
* - `debug`: Indicates whether the component is in debug mode.
|
|
9805
|
+
* When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
|
|
9806
|
+
* - `myTemplate`: undefined (property only)
|
|
9772
9807
|
*
|
|
9773
|
-
* ##
|
|
9808
|
+
* ## Events
|
|
9774
9809
|
*
|
|
9775
|
-
*
|
|
9810
|
+
* Events that will be emitted by the component.
|
|
9776
9811
|
*
|
|
9777
|
-
* - `
|
|
9812
|
+
* - `qti-stamp-context-updated`: undefined
|
|
9813
|
+
*/
|
|
9814
|
+
"test-stamp": Partial<TestStampProps & BaseProps<TestStamp> & BaseEvents>;
|
|
9815
|
+
|
|
9816
|
+
/**
|
|
9778
9817
|
*
|
|
9779
|
-
* ## CSS States
|
|
9780
9818
|
*
|
|
9781
|
-
*
|
|
9819
|
+
* ## Attributes & Properties
|
|
9782
9820
|
*
|
|
9783
|
-
*
|
|
9821
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9822
|
+
*
|
|
9823
|
+
* - `label`: label accompanying the select view dropdown
|
|
9824
|
+
* - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
|
|
9784
9825
|
*/
|
|
9785
|
-
"test-
|
|
9786
|
-
TestTtsPrevProps & BaseProps<TestTtsPrev> & BaseEvents
|
|
9787
|
-
>;
|
|
9826
|
+
"test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
|
|
9788
9827
|
|
|
9789
9828
|
/**
|
|
9790
|
-
*
|
|
9791
|
-
* Disabled at the last element; enabled while the elements have not been collected yet
|
|
9792
|
-
* (see `TestTtsPrev`).
|
|
9829
|
+
*
|
|
9793
9830
|
*
|
|
9794
9831
|
* ## Attributes & Properties
|
|
9795
9832
|
*
|
|
9796
9833
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9797
9834
|
*
|
|
9798
|
-
* - `
|
|
9799
|
-
* slotted content names the button by its text; set it when you slot an icon of your own,
|
|
9800
|
-
* which has no text to be named by.
|
|
9835
|
+
* - `myTemplate`: undefined (property only)
|
|
9801
9836
|
*
|
|
9802
|
-
* ##
|
|
9837
|
+
* ## Methods
|
|
9803
9838
|
*
|
|
9804
|
-
*
|
|
9839
|
+
* Methods that can be called to access component functionality.
|
|
9805
9840
|
*
|
|
9806
|
-
* - `
|
|
9841
|
+
* - `_switchView(view: string) => void`: undefined
|
|
9842
|
+
*/
|
|
9843
|
+
"test-view-toggle": Partial<
|
|
9844
|
+
TestViewToggleProps & BaseProps<TestViewToggle> & BaseEvents
|
|
9845
|
+
>;
|
|
9846
|
+
|
|
9847
|
+
/**
|
|
9848
|
+
* `<test-item-to-speech>` is the controller and context provider. It manages
|
|
9849
|
+
* speech synthesis, word highlighting, and item element lookup. Compose your
|
|
9850
|
+
* own player by placing control elements as children.
|
|
9851
|
+
*
|
|
9852
|
+
* ## Attributes & Properties
|
|
9853
|
+
*
|
|
9854
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9855
|
+
*
|
|
9856
|
+
* - `language`: Fallback language when neither the item content nor the document declares one.
|
|
9857
|
+
* - `_ttsContext`: undefined (property only)
|
|
9807
9858
|
*
|
|
9808
9859
|
* ## CSS States
|
|
9809
9860
|
*
|
|
9810
9861
|
* These can be used to apply styling when a component is in a given state.
|
|
9811
9862
|
*
|
|
9812
|
-
* - `idle`:
|
|
9863
|
+
* - `idle`: No speech active
|
|
9864
|
+
* - `picking`: Pick mode: all reading elements highlighted, waiting for a click
|
|
9865
|
+
* - `playing`: Speech is playing
|
|
9866
|
+
* - `paused`: Speech is paused
|
|
9813
9867
|
*/
|
|
9814
|
-
"test-
|
|
9815
|
-
|
|
9868
|
+
"test-item-to-speech": Partial<
|
|
9869
|
+
TestItemToSpeechProps & BaseProps<TestItemToSpeech> & BaseEvents
|
|
9816
9870
|
>;
|
|
9817
9871
|
|
|
9818
9872
|
/**
|
|
9819
|
-
*
|
|
9820
|
-
*
|
|
9873
|
+
* Play/pause/resume toggle button — always enabled, cycles through states.
|
|
9874
|
+
* Use named slots `play` and `pause` to customise the icons/labels independently; `label` and
|
|
9875
|
+
* `pause-label` name the button in each state (set them when the slotted content is an icon).
|
|
9821
9876
|
*
|
|
9822
9877
|
* ## Attributes & Properties
|
|
9823
9878
|
*
|
|
9824
9879
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9825
9880
|
*
|
|
9881
|
+
* - `pause-label`/`pauseLabel`: Accessible name of the button while speech is playing; see `label`.
|
|
9826
9882
|
* - `label`: Accessible name of the button. Without it the default icon carries an English name, and
|
|
9827
9883
|
* slotted content names the button by its text; set it when you slot an icon of your own,
|
|
9828
9884
|
* which has no text to be named by.
|
|
@@ -9838,227 +9894,178 @@ export type CustomElements = {
|
|
|
9838
9894
|
* These can be used to apply styling when a component is in a given state.
|
|
9839
9895
|
*
|
|
9840
9896
|
* - `idle`: / playing / paused
|
|
9841
|
-
* - `picking`: undefined
|
|
9842
|
-
*/
|
|
9843
|
-
"test-tts-pick": Partial<
|
|
9844
|
-
TestTtsPickProps & BaseProps<TestTtsPick> & BaseEvents
|
|
9845
|
-
>;
|
|
9846
|
-
|
|
9847
|
-
/**
|
|
9848
|
-
*
|
|
9849
|
-
*
|
|
9850
|
-
* ## Attributes & Properties
|
|
9851
|
-
*
|
|
9852
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9853
|
-
*
|
|
9854
|
-
* - `identifier`: undefined
|
|
9855
|
-
* - `auto-score-items`/`autoScoreItems`: undefined
|
|
9856
|
-
* - `initContext`: undefined (property only)
|
|
9857
|
-
* - `qtiContext`: undefined (property only)
|
|
9858
|
-
* - `configContext`: undefined (property only)
|
|
9859
|
-
*
|
|
9860
|
-
* ## Events
|
|
9861
|
-
*
|
|
9862
|
-
* Events that will be emitted by the component.
|
|
9863
|
-
*
|
|
9864
|
-
* - `qti-computed-context-updated`: undefined
|
|
9865
9897
|
*/
|
|
9866
|
-
"test-
|
|
9867
|
-
|
|
9898
|
+
"test-tts-play": Partial<
|
|
9899
|
+
TestTtsPlayProps & BaseProps<TestTtsPlay> & BaseEvents
|
|
9868
9900
|
>;
|
|
9869
9901
|
|
|
9870
9902
|
/**
|
|
9871
|
-
*
|
|
9903
|
+
* Pause button — enabled only when playing.
|
|
9872
9904
|
*
|
|
9873
9905
|
* ## Attributes & Properties
|
|
9874
9906
|
*
|
|
9875
9907
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9876
9908
|
*
|
|
9877
|
-
* - `
|
|
9878
|
-
*
|
|
9879
|
-
*
|
|
9880
|
-
* - `role`: undefined (property only)
|
|
9881
|
-
* - `ariaLabel`: undefined (property only)
|
|
9882
|
-
*
|
|
9883
|
-
* ## Methods
|
|
9884
|
-
*
|
|
9885
|
-
* Methods that can be called to access component functionality.
|
|
9909
|
+
* - `label`: Accessible name of the button. Without it the default icon carries an English name, and
|
|
9910
|
+
* slotted content names the button by its text; set it when you slot an icon of your own,
|
|
9911
|
+
* which has no text to be named by.
|
|
9886
9912
|
*
|
|
9887
|
-
*
|
|
9888
|
-
* - `checkDisabled() => void`: undefined
|
|
9889
|
-
*/
|
|
9890
|
-
"test-next": Partial<TestNextProps & BaseProps<TestNext> & BaseEvents>;
|
|
9891
|
-
|
|
9892
|
-
/**
|
|
9893
|
-
* @deprecated test-paging-buttons-stamp is deprecated and will be removed in the future.
|
|
9913
|
+
* ## CSS Parts
|
|
9894
9914
|
*
|
|
9915
|
+
* Custom selectors for styling elements within the component.
|
|
9895
9916
|
*
|
|
9917
|
+
* - `button`: undefined
|
|
9896
9918
|
*
|
|
9897
|
-
* ##
|
|
9919
|
+
* ## CSS States
|
|
9898
9920
|
*
|
|
9899
|
-
*
|
|
9921
|
+
* These can be used to apply styling when a component is in a given state.
|
|
9900
9922
|
*
|
|
9901
|
-
* - `
|
|
9902
|
-
* - `ariaLabel`: undefined (property only)
|
|
9923
|
+
* - `idle`: / playing / paused
|
|
9903
9924
|
*/
|
|
9904
|
-
"test-
|
|
9905
|
-
|
|
9925
|
+
"test-tts-pause": Partial<
|
|
9926
|
+
TestTtsPauseProps & BaseProps<TestTtsPause> & BaseEvents
|
|
9906
9927
|
>;
|
|
9907
9928
|
|
|
9908
9929
|
/**
|
|
9909
|
-
*
|
|
9930
|
+
* Resume button — enabled only when paused.
|
|
9910
9931
|
*
|
|
9911
9932
|
* ## Attributes & Properties
|
|
9912
9933
|
*
|
|
9913
9934
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9914
9935
|
*
|
|
9915
|
-
* - `
|
|
9916
|
-
*
|
|
9917
|
-
*
|
|
9918
|
-
*
|
|
9919
|
-
* ## Methods
|
|
9936
|
+
* - `label`: Accessible name of the button. Without it the default icon carries an English name, and
|
|
9937
|
+
* slotted content names the button by its text; set it when you slot an icon of your own,
|
|
9938
|
+
* which has no text to be named by.
|
|
9920
9939
|
*
|
|
9921
|
-
*
|
|
9940
|
+
* ## CSS Parts
|
|
9922
9941
|
*
|
|
9923
|
-
*
|
|
9924
|
-
* - `checkDisabled() => void`: undefined
|
|
9925
|
-
*/
|
|
9926
|
-
"test-prev": Partial<TestPrevProps & BaseProps<TestPrev> & BaseEvents>;
|
|
9927
|
-
|
|
9928
|
-
/**
|
|
9942
|
+
* Custom selectors for styling elements within the component.
|
|
9929
9943
|
*
|
|
9944
|
+
* - `button`: undefined
|
|
9930
9945
|
*
|
|
9931
|
-
* ##
|
|
9946
|
+
* ## CSS States
|
|
9932
9947
|
*
|
|
9933
|
-
*
|
|
9948
|
+
* These can be used to apply styling when a component is in a given state.
|
|
9934
9949
|
*
|
|
9935
|
-
* - `
|
|
9950
|
+
* - `idle`: / playing / paused
|
|
9936
9951
|
*/
|
|
9937
|
-
"test-
|
|
9938
|
-
|
|
9952
|
+
"test-tts-resume": Partial<
|
|
9953
|
+
TestTtsResumeProps & BaseProps<TestTtsResume> & BaseEvents
|
|
9939
9954
|
>;
|
|
9940
9955
|
|
|
9941
9956
|
/**
|
|
9942
|
-
*
|
|
9957
|
+
* Stop button — enabled when playing, paused, or in pick mode (where it leaves pick mode).
|
|
9943
9958
|
*
|
|
9944
9959
|
* ## Attributes & Properties
|
|
9945
9960
|
*
|
|
9946
9961
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9947
9962
|
*
|
|
9948
|
-
* - `
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
TestPrintVariablesProps & BaseProps<TestPrintVariables> & BaseEvents
|
|
9952
|
-
>;
|
|
9953
|
-
|
|
9954
|
-
/**
|
|
9963
|
+
* - `label`: Accessible name of the button. Without it the default icon carries an English name, and
|
|
9964
|
+
* slotted content names the button by its text; set it when you slot an icon of your own,
|
|
9965
|
+
* which has no text to be named by.
|
|
9955
9966
|
*
|
|
9967
|
+
* ## CSS Parts
|
|
9956
9968
|
*
|
|
9957
|
-
*
|
|
9969
|
+
* Custom selectors for styling elements within the component.
|
|
9958
9970
|
*
|
|
9959
|
-
*
|
|
9971
|
+
* - `button`: undefined
|
|
9960
9972
|
*
|
|
9961
|
-
*
|
|
9962
|
-
*
|
|
9963
|
-
*
|
|
9973
|
+
* ## CSS States
|
|
9974
|
+
*
|
|
9975
|
+
* These can be used to apply styling when a component is in a given state.
|
|
9976
|
+
*
|
|
9977
|
+
* - `idle`: / playing / paused
|
|
9964
9978
|
*/
|
|
9965
|
-
"test-
|
|
9966
|
-
|
|
9979
|
+
"test-tts-stop": Partial<
|
|
9980
|
+
TestTtsStopProps & BaseProps<TestTtsStop> & BaseEvents
|
|
9967
9981
|
>;
|
|
9968
9982
|
|
|
9969
9983
|
/**
|
|
9970
|
-
*
|
|
9984
|
+
* Prev-element button — moves cursor to the previous reading element and pauses.
|
|
9985
|
+
* Disabled at the first element. Reading elements are collected lazily, so an element count
|
|
9986
|
+
* of 0 means "not looked yet" rather than "nothing to read": the button stays enabled and the
|
|
9987
|
+
* first click collects them.
|
|
9971
9988
|
*
|
|
9972
9989
|
* ## Attributes & Properties
|
|
9973
9990
|
*
|
|
9974
9991
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9975
9992
|
*
|
|
9976
|
-
* - `
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
TestScoringFeedbackProps & BaseProps<TestScoringFeedback> & BaseEvents
|
|
9980
|
-
>;
|
|
9981
|
-
|
|
9982
|
-
/**
|
|
9983
|
-
* @deprecated test-section-buttons-stamp is deprecated and will be removed in the future.
|
|
9993
|
+
* - `label`: Accessible name of the button. Without it the default icon carries an English name, and
|
|
9994
|
+
* slotted content names the button by its text; set it when you slot an icon of your own,
|
|
9995
|
+
* which has no text to be named by.
|
|
9984
9996
|
*
|
|
9997
|
+
* ## CSS Parts
|
|
9985
9998
|
*
|
|
9999
|
+
* Custom selectors for styling elements within the component.
|
|
9986
10000
|
*
|
|
9987
|
-
*
|
|
10001
|
+
* - `button`: undefined
|
|
9988
10002
|
*
|
|
9989
|
-
*
|
|
10003
|
+
* ## CSS States
|
|
9990
10004
|
*
|
|
9991
|
-
*
|
|
9992
|
-
*
|
|
10005
|
+
* These can be used to apply styling when a component is in a given state.
|
|
10006
|
+
*
|
|
10007
|
+
* - `idle`: / playing / paused
|
|
9993
10008
|
*/
|
|
9994
|
-
"test-
|
|
9995
|
-
|
|
9996
|
-
BaseProps<TestSectionButtonsStamp> &
|
|
9997
|
-
BaseEvents
|
|
10009
|
+
"test-tts-prev": Partial<
|
|
10010
|
+
TestTtsPrevProps & BaseProps<TestTtsPrev> & BaseEvents
|
|
9998
10011
|
>;
|
|
9999
10012
|
|
|
10000
10013
|
/**
|
|
10001
|
-
*
|
|
10014
|
+
* Next-element button — moves cursor to the next reading element and pauses.
|
|
10015
|
+
* Disabled at the last element; enabled while the elements have not been collected yet
|
|
10016
|
+
* (see `TestTtsPrev`).
|
|
10002
10017
|
*
|
|
10003
10018
|
* ## Attributes & Properties
|
|
10004
10019
|
*
|
|
10005
10020
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10006
10021
|
*
|
|
10007
|
-
* - `
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
|
|
10011
|
-
>;
|
|
10012
|
-
|
|
10013
|
-
/**
|
|
10014
|
-
* A custom web component that renders a test stamp using the Lit framework.
|
|
10015
|
-
* This component is deprecated and will be removed in the future.
|
|
10022
|
+
* - `label`: Accessible name of the button. Without it the default icon carries an English name, and
|
|
10023
|
+
* slotted content names the button by its text; set it when you slot an icon of your own,
|
|
10024
|
+
* which has no text to be named by.
|
|
10016
10025
|
*
|
|
10017
|
-
* ##
|
|
10026
|
+
* ## CSS Parts
|
|
10018
10027
|
*
|
|
10019
|
-
*
|
|
10028
|
+
* Custom selectors for styling elements within the component.
|
|
10020
10029
|
*
|
|
10021
|
-
* - `
|
|
10022
|
-
* When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
|
|
10023
|
-
* - `myTemplate`: undefined (property only)
|
|
10030
|
+
* - `button`: undefined
|
|
10024
10031
|
*
|
|
10025
|
-
* ##
|
|
10032
|
+
* ## CSS States
|
|
10026
10033
|
*
|
|
10027
|
-
*
|
|
10034
|
+
* These can be used to apply styling when a component is in a given state.
|
|
10028
10035
|
*
|
|
10029
|
-
* - `
|
|
10036
|
+
* - `idle`: / playing / paused
|
|
10030
10037
|
*/
|
|
10031
|
-
"test-
|
|
10038
|
+
"test-tts-next": Partial<
|
|
10039
|
+
TestTtsNextProps & BaseProps<TestTtsNext> & BaseEvents
|
|
10040
|
+
>;
|
|
10032
10041
|
|
|
10033
10042
|
/**
|
|
10034
|
-
*
|
|
10043
|
+
* Pick button — toggles pick mode on the controller: every reading element is highlighted and
|
|
10044
|
+
* a click on one of them starts reading from there. Reflects the mode as `:state(picking)`.
|
|
10035
10045
|
*
|
|
10036
10046
|
* ## Attributes & Properties
|
|
10037
10047
|
*
|
|
10038
10048
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10039
10049
|
*
|
|
10040
|
-
* - `label`:
|
|
10041
|
-
*
|
|
10042
|
-
|
|
10043
|
-
"test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
|
|
10044
|
-
|
|
10045
|
-
/**
|
|
10046
|
-
*
|
|
10050
|
+
* - `label`: Accessible name of the button. Without it the default icon carries an English name, and
|
|
10051
|
+
* slotted content names the button by its text; set it when you slot an icon of your own,
|
|
10052
|
+
* which has no text to be named by.
|
|
10047
10053
|
*
|
|
10048
|
-
* ##
|
|
10054
|
+
* ## CSS Parts
|
|
10049
10055
|
*
|
|
10050
|
-
*
|
|
10056
|
+
* Custom selectors for styling elements within the component.
|
|
10051
10057
|
*
|
|
10052
|
-
* - `
|
|
10058
|
+
* - `button`: undefined
|
|
10053
10059
|
*
|
|
10054
|
-
* ##
|
|
10060
|
+
* ## CSS States
|
|
10055
10061
|
*
|
|
10056
|
-
*
|
|
10062
|
+
* These can be used to apply styling when a component is in a given state.
|
|
10057
10063
|
*
|
|
10058
|
-
* - `
|
|
10064
|
+
* - `idle`: / playing / paused
|
|
10065
|
+
* - `picking`: undefined
|
|
10059
10066
|
*/
|
|
10060
|
-
"test-
|
|
10061
|
-
|
|
10067
|
+
"test-tts-pick": Partial<
|
|
10068
|
+
TestTtsPickProps & BaseProps<TestTtsPick> & BaseEvents
|
|
10062
10069
|
>;
|
|
10063
10070
|
|
|
10064
10071
|
/**
|
|
@@ -13735,6 +13742,11 @@ export type CustomElementsSolidJs = {
|
|
|
13735
13742
|
*
|
|
13736
13743
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
13737
13744
|
*
|
|
13745
|
+
* - `autoSizeDropzones`: A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
13746
|
+
* `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
13747
|
+
* beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
13748
|
+
* declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
13749
|
+
* their hotspots through `--qti-graphic-scale` instead. (property only)
|
|
13738
13750
|
* - `allowReorder`: undefined (property only)
|
|
13739
13751
|
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
13740
13752
|
* - `sortableAnimationConfig`: undefined (property only)
|
|
@@ -15396,6 +15408,169 @@ export type CustomElementsSolidJs = {
|
|
|
15396
15408
|
QtiTestProps & QtiTestSolidJsProps & BaseProps<QtiTest> & BaseEvents
|
|
15397
15409
|
>;
|
|
15398
15410
|
|
|
15411
|
+
/**
|
|
15412
|
+
*
|
|
15413
|
+
*
|
|
15414
|
+
* ## Attributes & Properties
|
|
15415
|
+
*
|
|
15416
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15417
|
+
*
|
|
15418
|
+
* - `disabled`/`_internalDisabled`: undefined
|
|
15419
|
+
*
|
|
15420
|
+
* ## Methods
|
|
15421
|
+
*
|
|
15422
|
+
* Methods that can be called to access component functionality.
|
|
15423
|
+
*
|
|
15424
|
+
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
15425
|
+
* - `checkDisabled() => void`: undefined
|
|
15426
|
+
*/
|
|
15427
|
+
"test-end-attempt": Partial<
|
|
15428
|
+
TestEndAttemptProps &
|
|
15429
|
+
TestEndAttemptSolidJsProps &
|
|
15430
|
+
BaseProps<TestEndAttempt> &
|
|
15431
|
+
BaseEvents
|
|
15432
|
+
>;
|
|
15433
|
+
|
|
15434
|
+
/**
|
|
15435
|
+
*
|
|
15436
|
+
*
|
|
15437
|
+
* ## Attributes & Properties
|
|
15438
|
+
*
|
|
15439
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15440
|
+
*
|
|
15441
|
+
* - `item-id`/`itemId`: undefined
|
|
15442
|
+
*/
|
|
15443
|
+
"test-item-link": Partial<
|
|
15444
|
+
TestItemLinkProps &
|
|
15445
|
+
TestItemLinkSolidJsProps &
|
|
15446
|
+
BaseProps<TestItemLink> &
|
|
15447
|
+
BaseEvents
|
|
15448
|
+
>;
|
|
15449
|
+
|
|
15450
|
+
/**
|
|
15451
|
+
*
|
|
15452
|
+
*
|
|
15453
|
+
* ## Attributes & Properties
|
|
15454
|
+
*
|
|
15455
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15456
|
+
*
|
|
15457
|
+
* - `identifier`: undefined
|
|
15458
|
+
* - `auto-score-items`/`autoScoreItems`: undefined
|
|
15459
|
+
* - `initContext`: undefined (property only)
|
|
15460
|
+
* - `qtiContext`: undefined (property only)
|
|
15461
|
+
* - `configContext`: undefined (property only)
|
|
15462
|
+
*
|
|
15463
|
+
* ## Events
|
|
15464
|
+
*
|
|
15465
|
+
* Events that will be emitted by the component.
|
|
15466
|
+
*
|
|
15467
|
+
* - `qti-computed-context-updated`: undefined
|
|
15468
|
+
*/
|
|
15469
|
+
"test-navigation": Partial<
|
|
15470
|
+
TestNavigationProps &
|
|
15471
|
+
TestNavigationSolidJsProps &
|
|
15472
|
+
BaseProps<TestNavigation> &
|
|
15473
|
+
BaseEvents
|
|
15474
|
+
>;
|
|
15475
|
+
|
|
15476
|
+
/**
|
|
15477
|
+
* Represents a custom element for navigating to the next test item.
|
|
15478
|
+
*
|
|
15479
|
+
* ## Attributes & Properties
|
|
15480
|
+
*
|
|
15481
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15482
|
+
*
|
|
15483
|
+
* - `disabled`/`_internalDisabled`: undefined
|
|
15484
|
+
* - `sectionItems`: undefined (property only)
|
|
15485
|
+
* - `itemIndex`: undefined (property only)
|
|
15486
|
+
* - `role`: undefined (property only)
|
|
15487
|
+
* - `ariaLabel`: undefined (property only)
|
|
15488
|
+
*
|
|
15489
|
+
* ## Methods
|
|
15490
|
+
*
|
|
15491
|
+
* Methods that can be called to access component functionality.
|
|
15492
|
+
*
|
|
15493
|
+
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
15494
|
+
* - `checkDisabled() => void`: undefined
|
|
15495
|
+
*/
|
|
15496
|
+
"test-next": Partial<
|
|
15497
|
+
TestNextProps & TestNextSolidJsProps & BaseProps<TestNext> & BaseEvents
|
|
15498
|
+
>;
|
|
15499
|
+
|
|
15500
|
+
/**
|
|
15501
|
+
* Represents a custom element for navigating to the previous test item.
|
|
15502
|
+
*
|
|
15503
|
+
* ## Attributes & Properties
|
|
15504
|
+
*
|
|
15505
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15506
|
+
*
|
|
15507
|
+
* - `disabled`/`_internalDisabled`: undefined
|
|
15508
|
+
* - `sectionItems`: undefined (property only)
|
|
15509
|
+
* - `itemIndex`: undefined (property only)
|
|
15510
|
+
*
|
|
15511
|
+
* ## Methods
|
|
15512
|
+
*
|
|
15513
|
+
* Methods that can be called to access component functionality.
|
|
15514
|
+
*
|
|
15515
|
+
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
15516
|
+
* - `checkDisabled() => void`: undefined
|
|
15517
|
+
*/
|
|
15518
|
+
"test-prev": Partial<
|
|
15519
|
+
TestPrevProps & TestPrevSolidJsProps & BaseProps<TestPrev> & BaseEvents
|
|
15520
|
+
>;
|
|
15521
|
+
|
|
15522
|
+
/**
|
|
15523
|
+
*
|
|
15524
|
+
*
|
|
15525
|
+
* ## Attributes & Properties
|
|
15526
|
+
*
|
|
15527
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15528
|
+
*
|
|
15529
|
+
* - `section-id`/`sectionId`: undefined
|
|
15530
|
+
*/
|
|
15531
|
+
"test-section-link": Partial<
|
|
15532
|
+
TestSectionLinkProps &
|
|
15533
|
+
TestSectionLinkSolidJsProps &
|
|
15534
|
+
BaseProps<TestSectionLink> &
|
|
15535
|
+
BaseEvents
|
|
15536
|
+
>;
|
|
15537
|
+
|
|
15538
|
+
/**
|
|
15539
|
+
* A toggle that marks the item on screen to come back to. The marks live in the test's state under
|
|
15540
|
+
* `bookmarks` (`session.plugins.bookmarks`), so a host that stores `state` stores them, and a
|
|
15541
|
+
* reloaded test shows them again.
|
|
15542
|
+
*
|
|
15543
|
+
* Put it inside `<test-navigation>`, either in the toolbar, where it marks the item on screen, or in
|
|
15544
|
+
* the `<template item-ref>`, where each item gets its own and it marks that item. It is a button
|
|
15545
|
+
* (`role="button"`, `aria-pressed`) and reflects `bookmarked` on the host for styling; its content is
|
|
15546
|
+
* the label. In the toolbar it is `disabled` while no item is on screen. A host's own navigation reads
|
|
15547
|
+
* the marks with `bookmarkedItems(computedContext)`.
|
|
15548
|
+
*
|
|
15549
|
+
* Give it an `item` (an item-ref identifier) to mark that item instead, wherever the button sits: in a
|
|
15550
|
+
* stamp template that lists the items of a section, `<test-bookmark item="{{ item.identifier }}">`
|
|
15551
|
+
* puts a button next to each one.
|
|
15552
|
+
*
|
|
15553
|
+
* ## Attributes & Properties
|
|
15554
|
+
*
|
|
15555
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15556
|
+
*
|
|
15557
|
+
* - `item`: The item-ref identifier this button marks; without it, the item it is stamped into, or else the one on screen.
|
|
15558
|
+
* - `bookmarked`: Reflected: the item on screen is bookmarked.
|
|
15559
|
+
* - `disabled`: Reflected: there is no item on screen.
|
|
15560
|
+
*
|
|
15561
|
+
* ## Slots
|
|
15562
|
+
*
|
|
15563
|
+
* Areas where markup can be added to the component.
|
|
15564
|
+
*
|
|
15565
|
+
* - `(default)`: The label.
|
|
15566
|
+
*/
|
|
15567
|
+
"test-bookmark": Partial<
|
|
15568
|
+
TestBookmarkProps &
|
|
15569
|
+
TestBookmarkSolidJsProps &
|
|
15570
|
+
BaseProps<TestBookmark> &
|
|
15571
|
+
BaseEvents
|
|
15572
|
+
>;
|
|
15573
|
+
|
|
15399
15574
|
/**
|
|
15400
15575
|
* Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
|
|
15401
15576
|
* reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
|
|
@@ -15421,22 +15596,101 @@ export type CustomElementsSolidJs = {
|
|
|
15421
15596
|
*
|
|
15422
15597
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15423
15598
|
*
|
|
15424
|
-
* - `
|
|
15599
|
+
* - `computedContext`: undefined (property only)
|
|
15600
|
+
*/
|
|
15601
|
+
"test-print-context": Partial<
|
|
15602
|
+
TestPrintContextProps &
|
|
15603
|
+
TestPrintContextSolidJsProps &
|
|
15604
|
+
BaseProps<TestPrintContext> &
|
|
15605
|
+
BaseEvents
|
|
15606
|
+
>;
|
|
15607
|
+
|
|
15608
|
+
/**
|
|
15425
15609
|
*
|
|
15426
|
-
* ## Methods
|
|
15427
15610
|
*
|
|
15428
|
-
*
|
|
15611
|
+
* ## Attributes & Properties
|
|
15429
15612
|
*
|
|
15430
|
-
*
|
|
15431
|
-
*
|
|
15613
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15614
|
+
*
|
|
15615
|
+
* - `computedContext`: undefined (property only)
|
|
15432
15616
|
*/
|
|
15433
|
-
"test-
|
|
15434
|
-
|
|
15435
|
-
|
|
15436
|
-
BaseProps<
|
|
15617
|
+
"test-print-item-variables": Partial<
|
|
15618
|
+
TestPrintVariablesProps &
|
|
15619
|
+
TestPrintVariablesSolidJsProps &
|
|
15620
|
+
BaseProps<TestPrintVariables> &
|
|
15621
|
+
BaseEvents
|
|
15622
|
+
>;
|
|
15623
|
+
|
|
15624
|
+
/**
|
|
15625
|
+
*
|
|
15626
|
+
*
|
|
15627
|
+
* ## Attributes & Properties
|
|
15628
|
+
*
|
|
15629
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15630
|
+
*
|
|
15631
|
+
* - `view`: undefined
|
|
15632
|
+
* - `disabled`: undefined
|
|
15633
|
+
* - `myTemplate`: undefined (property only)
|
|
15634
|
+
*/
|
|
15635
|
+
"test-scoring-buttons": Partial<
|
|
15636
|
+
TestScoringButtonsProps &
|
|
15637
|
+
TestScoringButtonsSolidJsProps &
|
|
15638
|
+
BaseProps<TestScoringButtons> &
|
|
15639
|
+
BaseEvents
|
|
15640
|
+
>;
|
|
15641
|
+
|
|
15642
|
+
/**
|
|
15643
|
+
*
|
|
15644
|
+
*
|
|
15645
|
+
* ## Attributes & Properties
|
|
15646
|
+
*
|
|
15647
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15648
|
+
*
|
|
15649
|
+
* - `view`: undefined
|
|
15650
|
+
*/
|
|
15651
|
+
"test-scoring-feedback": Partial<
|
|
15652
|
+
TestScoringFeedbackProps &
|
|
15653
|
+
TestScoringFeedbackSolidJsProps &
|
|
15654
|
+
BaseProps<TestScoringFeedback> &
|
|
15437
15655
|
BaseEvents
|
|
15438
15656
|
>;
|
|
15439
15657
|
|
|
15658
|
+
/**
|
|
15659
|
+
* A custom web component that renders a test stamp using the Lit framework.
|
|
15660
|
+
* This component is deprecated and will be removed in the future.
|
|
15661
|
+
*
|
|
15662
|
+
* ## Attributes & Properties
|
|
15663
|
+
*
|
|
15664
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15665
|
+
*
|
|
15666
|
+
* - `debug`: Indicates whether the component is in debug mode.
|
|
15667
|
+
* When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
|
|
15668
|
+
* - `myTemplate`: undefined (property only)
|
|
15669
|
+
*
|
|
15670
|
+
* ## Events
|
|
15671
|
+
*
|
|
15672
|
+
* Events that will be emitted by the component.
|
|
15673
|
+
*
|
|
15674
|
+
* - `qti-stamp-context-updated`: undefined
|
|
15675
|
+
*/
|
|
15676
|
+
"test-stamp": Partial<
|
|
15677
|
+
TestStampProps & TestStampSolidJsProps & BaseProps<TestStamp> & 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
|
+
* - `label`: label accompanying the select view dropdown
|
|
15688
|
+
* - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
|
|
15689
|
+
*/
|
|
15690
|
+
"test-view": Partial<
|
|
15691
|
+
TestViewProps & TestViewSolidJsProps & BaseProps<TestView> & BaseEvents
|
|
15692
|
+
>;
|
|
15693
|
+
|
|
15440
15694
|
/**
|
|
15441
15695
|
*
|
|
15442
15696
|
*
|
|
@@ -15444,12 +15698,18 @@ export type CustomElementsSolidJs = {
|
|
|
15444
15698
|
*
|
|
15445
15699
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15446
15700
|
*
|
|
15447
|
-
* - `
|
|
15701
|
+
* - `myTemplate`: undefined (property only)
|
|
15702
|
+
*
|
|
15703
|
+
* ## Methods
|
|
15704
|
+
*
|
|
15705
|
+
* Methods that can be called to access component functionality.
|
|
15706
|
+
*
|
|
15707
|
+
* - `_switchView(view: string) => void`: undefined
|
|
15448
15708
|
*/
|
|
15449
|
-
"test-
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
BaseProps<
|
|
15709
|
+
"test-view-toggle": Partial<
|
|
15710
|
+
TestViewToggleProps &
|
|
15711
|
+
TestViewToggleSolidJsProps &
|
|
15712
|
+
BaseProps<TestViewToggle> &
|
|
15453
15713
|
BaseEvents
|
|
15454
15714
|
>;
|
|
15455
15715
|
|
|
@@ -15701,256 +15961,6 @@ export type CustomElementsSolidJs = {
|
|
|
15701
15961
|
BaseEvents
|
|
15702
15962
|
>;
|
|
15703
15963
|
|
|
15704
|
-
/**
|
|
15705
|
-
*
|
|
15706
|
-
*
|
|
15707
|
-
* ## Attributes & Properties
|
|
15708
|
-
*
|
|
15709
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15710
|
-
*
|
|
15711
|
-
* - `identifier`: undefined
|
|
15712
|
-
* - `auto-score-items`/`autoScoreItems`: undefined
|
|
15713
|
-
* - `initContext`: undefined (property only)
|
|
15714
|
-
* - `qtiContext`: undefined (property only)
|
|
15715
|
-
* - `configContext`: undefined (property only)
|
|
15716
|
-
*
|
|
15717
|
-
* ## Events
|
|
15718
|
-
*
|
|
15719
|
-
* Events that will be emitted by the component.
|
|
15720
|
-
*
|
|
15721
|
-
* - `qti-computed-context-updated`: undefined
|
|
15722
|
-
*/
|
|
15723
|
-
"test-navigation": Partial<
|
|
15724
|
-
TestNavigationProps &
|
|
15725
|
-
TestNavigationSolidJsProps &
|
|
15726
|
-
BaseProps<TestNavigation> &
|
|
15727
|
-
BaseEvents
|
|
15728
|
-
>;
|
|
15729
|
-
|
|
15730
|
-
/**
|
|
15731
|
-
* Represents a custom element for navigating to the next test item.
|
|
15732
|
-
*
|
|
15733
|
-
* ## Attributes & Properties
|
|
15734
|
-
*
|
|
15735
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15736
|
-
*
|
|
15737
|
-
* - `disabled`/`_internalDisabled`: undefined
|
|
15738
|
-
* - `sectionItems`: undefined (property only)
|
|
15739
|
-
* - `itemIndex`: undefined (property only)
|
|
15740
|
-
* - `role`: undefined (property only)
|
|
15741
|
-
* - `ariaLabel`: undefined (property only)
|
|
15742
|
-
*
|
|
15743
|
-
* ## Methods
|
|
15744
|
-
*
|
|
15745
|
-
* Methods that can be called to access component functionality.
|
|
15746
|
-
*
|
|
15747
|
-
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
15748
|
-
* - `checkDisabled() => void`: undefined
|
|
15749
|
-
*/
|
|
15750
|
-
"test-next": Partial<
|
|
15751
|
-
TestNextProps & TestNextSolidJsProps & BaseProps<TestNext> & BaseEvents
|
|
15752
|
-
>;
|
|
15753
|
-
|
|
15754
|
-
/**
|
|
15755
|
-
* @deprecated test-paging-buttons-stamp is deprecated and will be removed in the future.
|
|
15756
|
-
*
|
|
15757
|
-
*
|
|
15758
|
-
*
|
|
15759
|
-
* ## Attributes & Properties
|
|
15760
|
-
*
|
|
15761
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15762
|
-
*
|
|
15763
|
-
* - `myTemplate`: undefined (property only)
|
|
15764
|
-
* - `ariaLabel`: undefined (property only)
|
|
15765
|
-
*/
|
|
15766
|
-
"test-paging-buttons-stamp": Partial<
|
|
15767
|
-
TestPagingButtonsStampProps &
|
|
15768
|
-
TestPagingButtonsStampSolidJsProps &
|
|
15769
|
-
BaseProps<TestPagingButtonsStamp> &
|
|
15770
|
-
BaseEvents
|
|
15771
|
-
>;
|
|
15772
|
-
|
|
15773
|
-
/**
|
|
15774
|
-
* Represents a custom element for navigating to the previous test item.
|
|
15775
|
-
*
|
|
15776
|
-
* ## Attributes & Properties
|
|
15777
|
-
*
|
|
15778
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15779
|
-
*
|
|
15780
|
-
* - `disabled`/`_internalDisabled`: undefined
|
|
15781
|
-
* - `sectionItems`: undefined (property only)
|
|
15782
|
-
* - `itemIndex`: undefined (property only)
|
|
15783
|
-
*
|
|
15784
|
-
* ## Methods
|
|
15785
|
-
*
|
|
15786
|
-
* Methods that can be called to access component functionality.
|
|
15787
|
-
*
|
|
15788
|
-
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
15789
|
-
* - `checkDisabled() => void`: undefined
|
|
15790
|
-
*/
|
|
15791
|
-
"test-prev": Partial<
|
|
15792
|
-
TestPrevProps & TestPrevSolidJsProps & BaseProps<TestPrev> & BaseEvents
|
|
15793
|
-
>;
|
|
15794
|
-
|
|
15795
|
-
/**
|
|
15796
|
-
*
|
|
15797
|
-
*
|
|
15798
|
-
* ## Attributes & Properties
|
|
15799
|
-
*
|
|
15800
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15801
|
-
*
|
|
15802
|
-
* - `computedContext`: undefined (property only)
|
|
15803
|
-
*/
|
|
15804
|
-
"test-print-context": Partial<
|
|
15805
|
-
TestPrintContextProps &
|
|
15806
|
-
TestPrintContextSolidJsProps &
|
|
15807
|
-
BaseProps<TestPrintContext> &
|
|
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
|
-
* - `computedContext`: undefined (property only)
|
|
15819
|
-
*/
|
|
15820
|
-
"test-print-item-variables": Partial<
|
|
15821
|
-
TestPrintVariablesProps &
|
|
15822
|
-
TestPrintVariablesSolidJsProps &
|
|
15823
|
-
BaseProps<TestPrintVariables> &
|
|
15824
|
-
BaseEvents
|
|
15825
|
-
>;
|
|
15826
|
-
|
|
15827
|
-
/**
|
|
15828
|
-
*
|
|
15829
|
-
*
|
|
15830
|
-
* ## Attributes & Properties
|
|
15831
|
-
*
|
|
15832
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15833
|
-
*
|
|
15834
|
-
* - `view`: undefined
|
|
15835
|
-
* - `disabled`: undefined
|
|
15836
|
-
* - `myTemplate`: undefined (property only)
|
|
15837
|
-
*/
|
|
15838
|
-
"test-scoring-buttons": Partial<
|
|
15839
|
-
TestScoringButtonsProps &
|
|
15840
|
-
TestScoringButtonsSolidJsProps &
|
|
15841
|
-
BaseProps<TestScoringButtons> &
|
|
15842
|
-
BaseEvents
|
|
15843
|
-
>;
|
|
15844
|
-
|
|
15845
|
-
/**
|
|
15846
|
-
*
|
|
15847
|
-
*
|
|
15848
|
-
* ## Attributes & Properties
|
|
15849
|
-
*
|
|
15850
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15851
|
-
*
|
|
15852
|
-
* - `view`: undefined
|
|
15853
|
-
*/
|
|
15854
|
-
"test-scoring-feedback": Partial<
|
|
15855
|
-
TestScoringFeedbackProps &
|
|
15856
|
-
TestScoringFeedbackSolidJsProps &
|
|
15857
|
-
BaseProps<TestScoringFeedback> &
|
|
15858
|
-
BaseEvents
|
|
15859
|
-
>;
|
|
15860
|
-
|
|
15861
|
-
/**
|
|
15862
|
-
* @deprecated test-section-buttons-stamp is deprecated and will be removed in the future.
|
|
15863
|
-
*
|
|
15864
|
-
*
|
|
15865
|
-
*
|
|
15866
|
-
* ## Attributes & Properties
|
|
15867
|
-
*
|
|
15868
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15869
|
-
*
|
|
15870
|
-
* - `myTemplate`: undefined (property only)
|
|
15871
|
-
* - `ariaLabel`: undefined (property only)
|
|
15872
|
-
*/
|
|
15873
|
-
"test-section-buttons-stamp": Partial<
|
|
15874
|
-
TestSectionButtonsStampProps &
|
|
15875
|
-
TestSectionButtonsStampSolidJsProps &
|
|
15876
|
-
BaseProps<TestSectionButtonsStamp> &
|
|
15877
|
-
BaseEvents
|
|
15878
|
-
>;
|
|
15879
|
-
|
|
15880
|
-
/**
|
|
15881
|
-
*
|
|
15882
|
-
*
|
|
15883
|
-
* ## Attributes & Properties
|
|
15884
|
-
*
|
|
15885
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15886
|
-
*
|
|
15887
|
-
* - `section-id`/`sectionId`: undefined
|
|
15888
|
-
*/
|
|
15889
|
-
"test-section-link": Partial<
|
|
15890
|
-
TestSectionLinkProps &
|
|
15891
|
-
TestSectionLinkSolidJsProps &
|
|
15892
|
-
BaseProps<TestSectionLink> &
|
|
15893
|
-
BaseEvents
|
|
15894
|
-
>;
|
|
15895
|
-
|
|
15896
|
-
/**
|
|
15897
|
-
* A custom web component that renders a test stamp using the Lit framework.
|
|
15898
|
-
* This component is deprecated and will be removed in the future.
|
|
15899
|
-
*
|
|
15900
|
-
* ## Attributes & Properties
|
|
15901
|
-
*
|
|
15902
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15903
|
-
*
|
|
15904
|
-
* - `debug`: Indicates whether the component is in debug mode.
|
|
15905
|
-
* When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
|
|
15906
|
-
* - `myTemplate`: undefined (property only)
|
|
15907
|
-
*
|
|
15908
|
-
* ## Events
|
|
15909
|
-
*
|
|
15910
|
-
* Events that will be emitted by the component.
|
|
15911
|
-
*
|
|
15912
|
-
* - `qti-stamp-context-updated`: undefined
|
|
15913
|
-
*/
|
|
15914
|
-
"test-stamp": Partial<
|
|
15915
|
-
TestStampProps & TestStampSolidJsProps & BaseProps<TestStamp> & BaseEvents
|
|
15916
|
-
>;
|
|
15917
|
-
|
|
15918
|
-
/**
|
|
15919
|
-
*
|
|
15920
|
-
*
|
|
15921
|
-
* ## Attributes & Properties
|
|
15922
|
-
*
|
|
15923
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15924
|
-
*
|
|
15925
|
-
* - `label`: label accompanying the select view dropdown
|
|
15926
|
-
* - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
|
|
15927
|
-
*/
|
|
15928
|
-
"test-view": Partial<
|
|
15929
|
-
TestViewProps & TestViewSolidJsProps & BaseProps<TestView> & BaseEvents
|
|
15930
|
-
>;
|
|
15931
|
-
|
|
15932
|
-
/**
|
|
15933
|
-
*
|
|
15934
|
-
*
|
|
15935
|
-
* ## Attributes & Properties
|
|
15936
|
-
*
|
|
15937
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15938
|
-
*
|
|
15939
|
-
* - `myTemplate`: undefined (property only)
|
|
15940
|
-
*
|
|
15941
|
-
* ## Methods
|
|
15942
|
-
*
|
|
15943
|
-
* Methods that can be called to access component functionality.
|
|
15944
|
-
*
|
|
15945
|
-
* - `_switchView(view: string) => void`: undefined
|
|
15946
|
-
*/
|
|
15947
|
-
"test-view-toggle": Partial<
|
|
15948
|
-
TestViewToggleProps &
|
|
15949
|
-
TestViewToggleSolidJsProps &
|
|
15950
|
-
BaseProps<TestViewToggle> &
|
|
15951
|
-
BaseEvents
|
|
15952
|
-
>;
|
|
15953
|
-
|
|
15954
15964
|
/**
|
|
15955
15965
|
*
|
|
15956
15966
|
*
|