@citolab/qti-components 10.0.0-next.4 → 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.
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +330 -297
- package/dist/base.d.ts +4 -4
- package/dist/base.js +1 -1
- package/dist/{chunk-UTW5VDTD.js → chunk-A2AP6CUL.js} +2097 -2031
- package/dist/chunk-A2AP6CUL.js.map +1 -0
- package/dist/{chunk-MI7774NV.js → chunk-CXTHPEUN.js} +2 -2
- package/dist/{chunk-FD4AB6TM.js → chunk-F7QDRKCR.js} +2 -2
- package/dist/{chunk-RU6332MD.js → chunk-JNZ3HSFI.js} +2 -2
- package/dist/{chunk-TDWJ6WZA.js → chunk-JZZMY3FA.js} +1 -1
- package/dist/chunk-JZZMY3FA.js.map +1 -0
- package/dist/{chunk-F7FKSHZS.js → chunk-KB2NJTSD.js} +6 -6
- package/dist/{chunk-GBZNFSFY.js → chunk-O5HGNYB2.js} +2 -2
- package/dist/{chunk-6U3YPHXU.js → chunk-QU23PPEZ.js} +2 -2
- package/dist/{chunk-6K3QWJHH.js → chunk-R7ZCUQU2.js} +2 -2
- package/dist/{chunk-RSMYGGQK.js → chunk-WC3P4KCV.js} +2 -2
- package/dist/{chunk-KQSR6LZH.js → chunk-WV53LUE3.js} +2 -2
- package/dist/{chunk-35WWWFS6.js → chunk-WVDQLBMT.js} +2 -2
- package/dist/{computed.types.d-gJrBeUMG.d.ts → computed.types.d-DvxBgnze.d.ts} +10 -1
- package/dist/corrections.d.ts +4 -4
- package/dist/corrections.js +7 -7
- package/dist/elements.js +3 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.js +22 -18
- package/dist/interactions.js +3 -3
- package/dist/item.d.ts +2 -2
- package/dist/item.js +3 -3
- package/dist/processing.js +3 -3
- package/dist/qti-components-jsx.d.ts +740 -756
- 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/{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 +14 -10
- package/package.json +8 -8
- package/dist/chunk-TDWJ6WZA.js.map +0 -1
- package/dist/chunk-UTW5VDTD.js.map +0 -1
- /package/dist/{chunk-MI7774NV.js.map → chunk-CXTHPEUN.js.map} +0 -0
- /package/dist/{chunk-FD4AB6TM.js.map → chunk-F7QDRKCR.js.map} +0 -0
- /package/dist/{chunk-RU6332MD.js.map → chunk-JNZ3HSFI.js.map} +0 -0
- /package/dist/{chunk-F7FKSHZS.js.map → chunk-KB2NJTSD.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-RSMYGGQK.js.map → chunk-WC3P4KCV.js.map} +0 -0
- /package/dist/{chunk-KQSR6LZH.js.map → chunk-WV53LUE3.js.map} +0 -0
- /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,21 +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
|
-
/** 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
4608
|
export type TestEndAttemptProps = {
|
|
4622
4609
|
/** */
|
|
4623
4610
|
disabled?: TestEndAttempt["_internalDisabled"] | undefined;
|
|
@@ -4656,166 +4643,6 @@ export type TestItemLinkSolidJsProps = {
|
|
|
4656
4643
|
textContent?: string | number | undefined;
|
|
4657
4644
|
};
|
|
4658
4645
|
|
|
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
4646
|
export type TestNavigationProps = {
|
|
4820
4647
|
/** */
|
|
4821
4648
|
identifier?: TestNavigation["identifier"] | undefined;
|
|
@@ -4899,25 +4726,6 @@ export type TestNextSolidJsProps = {
|
|
|
4899
4726
|
textContent?: string | number | undefined;
|
|
4900
4727
|
};
|
|
4901
4728
|
|
|
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
4729
|
export type TestPrevProps = {
|
|
4922
4730
|
/** */
|
|
4923
4731
|
disabled?: TestPrev["_internalDisabled"] | undefined;
|
|
@@ -4945,6 +4753,63 @@ export type TestPrevSolidJsProps = {
|
|
|
4945
4753
|
textContent?: string | number | undefined;
|
|
4946
4754
|
};
|
|
4947
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
|
+
|
|
4948
4813
|
export type TestPrintContextProps = {
|
|
4949
4814
|
/** */
|
|
4950
4815
|
computedContext?: TestPrintContext["computedContext"] | undefined;
|
|
@@ -5013,44 +4878,6 @@ export type TestScoringFeedbackSolidJsProps = {
|
|
|
5013
4878
|
textContent?: string | number | undefined;
|
|
5014
4879
|
};
|
|
5015
4880
|
|
|
5016
|
-
export type TestSectionButtonsStampProps = {
|
|
5017
|
-
/** */
|
|
5018
|
-
myTemplate?: TestSectionButtonsStamp["myTemplate"] | undefined;
|
|
5019
|
-
/** */
|
|
5020
|
-
ariaLabel?: TestSectionButtonsStamp["ariaLabel"] | undefined;
|
|
5021
|
-
};
|
|
5022
|
-
|
|
5023
|
-
export type TestSectionButtonsStampSolidJsProps = {
|
|
5024
|
-
/** */
|
|
5025
|
-
"prop:myTemplate"?: TestSectionButtonsStamp["myTemplate"] | undefined;
|
|
5026
|
-
/** */
|
|
5027
|
-
"prop:ariaLabel"?: TestSectionButtonsStamp["ariaLabel"] | undefined;
|
|
5028
|
-
|
|
5029
|
-
/** Set the innerHTML of the element */
|
|
5030
|
-
innerHTML?: string | undefined;
|
|
5031
|
-
/** Set the textContent of the element */
|
|
5032
|
-
textContent?: string | number | undefined;
|
|
5033
|
-
};
|
|
5034
|
-
|
|
5035
|
-
export type TestSectionLinkProps = {
|
|
5036
|
-
/** */
|
|
5037
|
-
"section-id"?: TestSectionLink["sectionId"] | undefined;
|
|
5038
|
-
/** */
|
|
5039
|
-
sectionId?: TestSectionLink["sectionId"] | undefined;
|
|
5040
|
-
};
|
|
5041
|
-
|
|
5042
|
-
export type TestSectionLinkSolidJsProps = {
|
|
5043
|
-
/** */
|
|
5044
|
-
"attr:section-id"?: TestSectionLink["sectionId"] | undefined;
|
|
5045
|
-
/** */
|
|
5046
|
-
"prop:sectionId"?: TestSectionLink["sectionId"] | undefined;
|
|
5047
|
-
|
|
5048
|
-
/** Set the innerHTML of the element */
|
|
5049
|
-
innerHTML?: string | undefined;
|
|
5050
|
-
/** Set the textContent of the element */
|
|
5051
|
-
textContent?: string | number | undefined;
|
|
5052
|
-
};
|
|
5053
|
-
|
|
5054
4881
|
export type TestStampProps = {
|
|
5055
4882
|
/** Indicates whether the component is in debug mode.
|
|
5056
4883
|
When set to `true`, the available objects and properties (i.e.: stampContext) is displayed. */
|
|
@@ -5115,6 +4942,166 @@ export type TestViewToggleSolidJsProps = {
|
|
|
5115
4942
|
textContent?: string | number | undefined;
|
|
5116
4943
|
};
|
|
5117
4944
|
|
|
4945
|
+
export type TestItemToSpeechProps = {
|
|
4946
|
+
/** Fallback language when neither the item content nor the document declares one. */
|
|
4947
|
+
language?: TestItemToSpeech["language"] | undefined;
|
|
4948
|
+
/** */
|
|
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;
|
|
4955
|
+
/** */
|
|
4956
|
+
"prop:_ttsContext"?: TestItemToSpeech["_ttsContext"] | undefined;
|
|
4957
|
+
|
|
4958
|
+
/** Set the innerHTML of the element */
|
|
4959
|
+
innerHTML?: string | undefined;
|
|
4960
|
+
/** Set the textContent of the element */
|
|
4961
|
+
textContent?: string | number | undefined;
|
|
4962
|
+
};
|
|
4963
|
+
|
|
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;
|
|
4973
|
+
};
|
|
4974
|
+
|
|
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;
|
|
4984
|
+
|
|
4985
|
+
/** Set the innerHTML of the element */
|
|
4986
|
+
innerHTML?: string | undefined;
|
|
4987
|
+
/** Set the textContent of the element */
|
|
4988
|
+
textContent?: string | number | undefined;
|
|
4989
|
+
};
|
|
4990
|
+
|
|
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;
|
|
4996
|
+
};
|
|
4997
|
+
|
|
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;
|
|
5098
|
+
|
|
5099
|
+
/** Set the innerHTML of the element */
|
|
5100
|
+
innerHTML?: string | undefined;
|
|
5101
|
+
/** Set the textContent of the element */
|
|
5102
|
+
textContent?: string | number | undefined;
|
|
5103
|
+
};
|
|
5104
|
+
|
|
5118
5105
|
export type QtiAndProps = {};
|
|
5119
5106
|
|
|
5120
5107
|
export type QtiAndSolidJsProps = {
|
|
@@ -9572,21 +9559,6 @@ export type CustomElements = {
|
|
|
9572
9559
|
*/
|
|
9573
9560
|
"qti-test": Partial<QtiTestProps & BaseProps<QtiTest> & BaseEvents>;
|
|
9574
9561
|
|
|
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
9562
|
/**
|
|
9591
9563
|
*
|
|
9592
9564
|
*
|
|
@@ -9621,208 +9593,271 @@ export type CustomElements = {
|
|
|
9621
9593
|
>;
|
|
9622
9594
|
|
|
9623
9595
|
/**
|
|
9624
|
-
*
|
|
9625
|
-
* speech synthesis, word highlighting, and item element lookup. Compose your
|
|
9626
|
-
* own player by placing control elements as children.
|
|
9596
|
+
*
|
|
9627
9597
|
*
|
|
9628
9598
|
* ## Attributes & Properties
|
|
9629
9599
|
*
|
|
9630
9600
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9631
9601
|
*
|
|
9632
|
-
* - `
|
|
9633
|
-
* - `
|
|
9602
|
+
* - `identifier`: undefined
|
|
9603
|
+
* - `auto-score-items`/`autoScoreItems`: undefined
|
|
9604
|
+
* - `initContext`: undefined (property only)
|
|
9605
|
+
* - `qtiContext`: undefined (property only)
|
|
9606
|
+
* - `configContext`: undefined (property only)
|
|
9634
9607
|
*
|
|
9635
|
-
* ##
|
|
9608
|
+
* ## Events
|
|
9636
9609
|
*
|
|
9637
|
-
*
|
|
9610
|
+
* Events that will be emitted by the component.
|
|
9638
9611
|
*
|
|
9639
|
-
* - `
|
|
9640
|
-
* - `picking`: Pick mode: all reading elements highlighted, waiting for a click
|
|
9641
|
-
* - `playing`: Speech is playing
|
|
9642
|
-
* - `paused`: Speech is paused
|
|
9612
|
+
* - `qti-computed-context-updated`: undefined
|
|
9643
9613
|
*/
|
|
9644
|
-
"test-
|
|
9645
|
-
|
|
9614
|
+
"test-navigation": Partial<
|
|
9615
|
+
TestNavigationProps & BaseProps<TestNavigation> & BaseEvents
|
|
9646
9616
|
>;
|
|
9647
9617
|
|
|
9648
9618
|
/**
|
|
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).
|
|
9619
|
+
* Represents a custom element for navigating to the next test item.
|
|
9652
9620
|
*
|
|
9653
9621
|
* ## Attributes & Properties
|
|
9654
9622
|
*
|
|
9655
9623
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9656
9624
|
*
|
|
9657
|
-
* - `
|
|
9658
|
-
* - `
|
|
9659
|
-
*
|
|
9660
|
-
*
|
|
9625
|
+
* - `disabled`/`_internalDisabled`: undefined
|
|
9626
|
+
* - `sectionItems`: undefined (property only)
|
|
9627
|
+
* - `itemIndex`: undefined (property only)
|
|
9628
|
+
* - `role`: undefined (property only)
|
|
9629
|
+
* - `ariaLabel`: undefined (property only)
|
|
9661
9630
|
*
|
|
9662
|
-
* ##
|
|
9631
|
+
* ## Methods
|
|
9663
9632
|
*
|
|
9664
|
-
*
|
|
9633
|
+
* Methods that can be called to access component functionality.
|
|
9665
9634
|
*
|
|
9666
|
-
* - `
|
|
9635
|
+
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
9636
|
+
* - `checkDisabled() => void`: undefined
|
|
9637
|
+
*/
|
|
9638
|
+
"test-next": Partial<TestNextProps & BaseProps<TestNext> & BaseEvents>;
|
|
9639
|
+
|
|
9640
|
+
/**
|
|
9641
|
+
* Represents a custom element for navigating to the previous test item.
|
|
9667
9642
|
*
|
|
9668
|
-
* ##
|
|
9643
|
+
* ## Attributes & Properties
|
|
9669
9644
|
*
|
|
9670
|
-
*
|
|
9645
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9671
9646
|
*
|
|
9672
|
-
* - `
|
|
9647
|
+
* - `disabled`/`_internalDisabled`: undefined
|
|
9648
|
+
* - `sectionItems`: undefined (property only)
|
|
9649
|
+
* - `itemIndex`: undefined (property only)
|
|
9650
|
+
*
|
|
9651
|
+
* ## Methods
|
|
9652
|
+
*
|
|
9653
|
+
* Methods that can be called to access component functionality.
|
|
9654
|
+
*
|
|
9655
|
+
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
9656
|
+
* - `checkDisabled() => void`: undefined
|
|
9673
9657
|
*/
|
|
9674
|
-
"test-
|
|
9675
|
-
TestTtsPlayProps & BaseProps<TestTtsPlay> & BaseEvents
|
|
9676
|
-
>;
|
|
9658
|
+
"test-prev": Partial<TestPrevProps & BaseProps<TestPrev> & BaseEvents>;
|
|
9677
9659
|
|
|
9678
9660
|
/**
|
|
9679
|
-
*
|
|
9661
|
+
*
|
|
9680
9662
|
*
|
|
9681
9663
|
* ## Attributes & Properties
|
|
9682
9664
|
*
|
|
9683
9665
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9684
9666
|
*
|
|
9685
|
-
* - `
|
|
9686
|
-
|
|
9687
|
-
|
|
9667
|
+
* - `section-id`/`sectionId`: undefined
|
|
9668
|
+
*/
|
|
9669
|
+
"test-section-link": Partial<
|
|
9670
|
+
TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
|
|
9671
|
+
>;
|
|
9672
|
+
|
|
9673
|
+
/**
|
|
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.
|
|
9688
9677
|
*
|
|
9689
|
-
*
|
|
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)`.
|
|
9690
9683
|
*
|
|
9691
|
-
*
|
|
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.
|
|
9692
9687
|
*
|
|
9693
|
-
*
|
|
9688
|
+
* ## Attributes & Properties
|
|
9694
9689
|
*
|
|
9695
|
-
*
|
|
9690
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9696
9691
|
*
|
|
9697
|
-
*
|
|
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.
|
|
9698
9695
|
*
|
|
9699
|
-
*
|
|
9696
|
+
* ## Slots
|
|
9697
|
+
*
|
|
9698
|
+
* Areas where markup can be added to the component.
|
|
9699
|
+
*
|
|
9700
|
+
* - `(default)`: The label.
|
|
9700
9701
|
*/
|
|
9701
|
-
"test-
|
|
9702
|
-
|
|
9702
|
+
"test-bookmark": Partial<
|
|
9703
|
+
TestBookmarkProps & BaseProps<TestBookmark> & BaseEvents
|
|
9703
9704
|
>;
|
|
9704
9705
|
|
|
9705
9706
|
/**
|
|
9706
|
-
*
|
|
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`).
|
|
9707
9710
|
*
|
|
9708
9711
|
* ## Attributes & Properties
|
|
9709
9712
|
*
|
|
9710
9713
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9711
9714
|
*
|
|
9712
|
-
* - `
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
|
|
9715
|
+
* - `view`: The view to switch to after the attempt ended.
|
|
9716
|
+
*/
|
|
9717
|
+
"test-check-item": Partial<
|
|
9718
|
+
TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents
|
|
9719
|
+
>;
|
|
9720
|
+
|
|
9721
|
+
/**
|
|
9719
9722
|
*
|
|
9720
|
-
* - `button`: undefined
|
|
9721
9723
|
*
|
|
9722
|
-
* ##
|
|
9724
|
+
* ## Attributes & Properties
|
|
9723
9725
|
*
|
|
9724
|
-
*
|
|
9726
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9725
9727
|
*
|
|
9726
|
-
* - `
|
|
9728
|
+
* - `computedContext`: undefined (property only)
|
|
9727
9729
|
*/
|
|
9728
|
-
"test-
|
|
9729
|
-
|
|
9730
|
+
"test-print-context": Partial<
|
|
9731
|
+
TestPrintContextProps & BaseProps<TestPrintContext> & BaseEvents
|
|
9730
9732
|
>;
|
|
9731
9733
|
|
|
9732
9734
|
/**
|
|
9733
|
-
*
|
|
9735
|
+
*
|
|
9734
9736
|
*
|
|
9735
9737
|
* ## Attributes & Properties
|
|
9736
9738
|
*
|
|
9737
9739
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9738
9740
|
*
|
|
9739
|
-
* - `
|
|
9740
|
-
|
|
9741
|
-
|
|
9741
|
+
* - `computedContext`: undefined (property only)
|
|
9742
|
+
*/
|
|
9743
|
+
"test-print-item-variables": Partial<
|
|
9744
|
+
TestPrintVariablesProps & BaseProps<TestPrintVariables> & BaseEvents
|
|
9745
|
+
>;
|
|
9746
|
+
|
|
9747
|
+
/**
|
|
9742
9748
|
*
|
|
9743
|
-
* ## CSS Parts
|
|
9744
9749
|
*
|
|
9745
|
-
*
|
|
9750
|
+
* ## Attributes & Properties
|
|
9746
9751
|
*
|
|
9747
|
-
*
|
|
9752
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9748
9753
|
*
|
|
9749
|
-
*
|
|
9754
|
+
* - `view`: undefined
|
|
9755
|
+
* - `disabled`: undefined
|
|
9756
|
+
* - `myTemplate`: undefined (property only)
|
|
9757
|
+
*/
|
|
9758
|
+
"test-scoring-buttons": Partial<
|
|
9759
|
+
TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents
|
|
9760
|
+
>;
|
|
9761
|
+
|
|
9762
|
+
/**
|
|
9750
9763
|
*
|
|
9751
|
-
* These can be used to apply styling when a component is in a given state.
|
|
9752
9764
|
*
|
|
9753
|
-
*
|
|
9765
|
+
* ## Attributes & Properties
|
|
9766
|
+
*
|
|
9767
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9768
|
+
*
|
|
9769
|
+
* - `view`: undefined
|
|
9754
9770
|
*/
|
|
9755
|
-
"test-
|
|
9756
|
-
|
|
9771
|
+
"test-scoring-feedback": Partial<
|
|
9772
|
+
TestScoringFeedbackProps & BaseProps<TestScoringFeedback> & BaseEvents
|
|
9757
9773
|
>;
|
|
9758
9774
|
|
|
9759
9775
|
/**
|
|
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.
|
|
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.
|
|
9764
9778
|
*
|
|
9765
9779
|
* ## Attributes & Properties
|
|
9766
9780
|
*
|
|
9767
9781
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9768
9782
|
*
|
|
9769
|
-
* - `
|
|
9770
|
-
*
|
|
9771
|
-
*
|
|
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)
|
|
9772
9786
|
*
|
|
9773
|
-
* ##
|
|
9787
|
+
* ## Events
|
|
9774
9788
|
*
|
|
9775
|
-
*
|
|
9789
|
+
* Events that will be emitted by the component.
|
|
9776
9790
|
*
|
|
9777
|
-
* - `
|
|
9791
|
+
* - `qti-stamp-context-updated`: undefined
|
|
9792
|
+
*/
|
|
9793
|
+
"test-stamp": Partial<TestStampProps & BaseProps<TestStamp> & BaseEvents>;
|
|
9794
|
+
|
|
9795
|
+
/**
|
|
9778
9796
|
*
|
|
9779
|
-
* ## CSS States
|
|
9780
9797
|
*
|
|
9781
|
-
*
|
|
9798
|
+
* ## Attributes & Properties
|
|
9782
9799
|
*
|
|
9783
|
-
*
|
|
9800
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9801
|
+
*
|
|
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']
|
|
9784
9804
|
*/
|
|
9785
|
-
"test-
|
|
9786
|
-
TestTtsPrevProps & BaseProps<TestTtsPrev> & BaseEvents
|
|
9787
|
-
>;
|
|
9805
|
+
"test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
|
|
9788
9806
|
|
|
9789
9807
|
/**
|
|
9790
|
-
*
|
|
9791
|
-
* Disabled at the last element; enabled while the elements have not been collected yet
|
|
9792
|
-
* (see `TestTtsPrev`).
|
|
9808
|
+
*
|
|
9793
9809
|
*
|
|
9794
9810
|
* ## Attributes & Properties
|
|
9795
9811
|
*
|
|
9796
9812
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9797
9813
|
*
|
|
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.
|
|
9814
|
+
* - `myTemplate`: undefined (property only)
|
|
9801
9815
|
*
|
|
9802
|
-
* ##
|
|
9816
|
+
* ## Methods
|
|
9803
9817
|
*
|
|
9804
|
-
*
|
|
9818
|
+
* Methods that can be called to access component functionality.
|
|
9805
9819
|
*
|
|
9806
|
-
* - `
|
|
9820
|
+
* - `_switchView(view: string) => void`: undefined
|
|
9821
|
+
*/
|
|
9822
|
+
"test-view-toggle": Partial<
|
|
9823
|
+
TestViewToggleProps & BaseProps<TestViewToggle> & BaseEvents
|
|
9824
|
+
>;
|
|
9825
|
+
|
|
9826
|
+
/**
|
|
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.
|
|
9830
|
+
*
|
|
9831
|
+
* ## Attributes & Properties
|
|
9832
|
+
*
|
|
9833
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9834
|
+
*
|
|
9835
|
+
* - `language`: Fallback language when neither the item content nor the document declares one.
|
|
9836
|
+
* - `_ttsContext`: undefined (property only)
|
|
9807
9837
|
*
|
|
9808
9838
|
* ## CSS States
|
|
9809
9839
|
*
|
|
9810
9840
|
* These can be used to apply styling when a component is in a given state.
|
|
9811
9841
|
*
|
|
9812
|
-
* - `idle`:
|
|
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
|
|
9813
9846
|
*/
|
|
9814
|
-
"test-
|
|
9815
|
-
|
|
9847
|
+
"test-item-to-speech": Partial<
|
|
9848
|
+
TestItemToSpeechProps & BaseProps<TestItemToSpeech> & BaseEvents
|
|
9816
9849
|
>;
|
|
9817
9850
|
|
|
9818
9851
|
/**
|
|
9819
|
-
*
|
|
9820
|
-
*
|
|
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).
|
|
9821
9855
|
*
|
|
9822
9856
|
* ## Attributes & Properties
|
|
9823
9857
|
*
|
|
9824
9858
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9825
9859
|
*
|
|
9860
|
+
* - `pause-label`/`pauseLabel`: Accessible name of the button while speech is playing; see `label`.
|
|
9826
9861
|
* - `label`: Accessible name of the button. Without it the default icon carries an English name, and
|
|
9827
9862
|
* slotted content names the button by its text; set it when you slot an icon of your own,
|
|
9828
9863
|
* which has no text to be named by.
|
|
@@ -9838,227 +9873,178 @@ export type CustomElements = {
|
|
|
9838
9873
|
* These can be used to apply styling when a component is in a given state.
|
|
9839
9874
|
*
|
|
9840
9875
|
* - `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
9876
|
*/
|
|
9866
|
-
"test-
|
|
9867
|
-
|
|
9877
|
+
"test-tts-play": Partial<
|
|
9878
|
+
TestTtsPlayProps & BaseProps<TestTtsPlay> & BaseEvents
|
|
9868
9879
|
>;
|
|
9869
9880
|
|
|
9870
9881
|
/**
|
|
9871
|
-
*
|
|
9882
|
+
* Pause button — enabled only when playing.
|
|
9872
9883
|
*
|
|
9873
9884
|
* ## Attributes & Properties
|
|
9874
9885
|
*
|
|
9875
9886
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9876
9887
|
*
|
|
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.
|
|
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.
|
|
9886
9891
|
*
|
|
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.
|
|
9892
|
+
* ## CSS Parts
|
|
9894
9893
|
*
|
|
9894
|
+
* Custom selectors for styling elements within the component.
|
|
9895
9895
|
*
|
|
9896
|
+
* - `button`: undefined
|
|
9896
9897
|
*
|
|
9897
|
-
* ##
|
|
9898
|
+
* ## CSS States
|
|
9898
9899
|
*
|
|
9899
|
-
*
|
|
9900
|
+
* These can be used to apply styling when a component is in a given state.
|
|
9900
9901
|
*
|
|
9901
|
-
* - `
|
|
9902
|
-
* - `ariaLabel`: undefined (property only)
|
|
9902
|
+
* - `idle`: / playing / paused
|
|
9903
9903
|
*/
|
|
9904
|
-
"test-
|
|
9905
|
-
|
|
9904
|
+
"test-tts-pause": Partial<
|
|
9905
|
+
TestTtsPauseProps & BaseProps<TestTtsPause> & BaseEvents
|
|
9906
9906
|
>;
|
|
9907
9907
|
|
|
9908
9908
|
/**
|
|
9909
|
-
*
|
|
9909
|
+
* Resume button — enabled only when paused.
|
|
9910
9910
|
*
|
|
9911
9911
|
* ## Attributes & Properties
|
|
9912
9912
|
*
|
|
9913
9913
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9914
9914
|
*
|
|
9915
|
-
* - `
|
|
9916
|
-
*
|
|
9917
|
-
*
|
|
9918
|
-
*
|
|
9919
|
-
* ## Methods
|
|
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.
|
|
9920
9918
|
*
|
|
9921
|
-
*
|
|
9919
|
+
* ## CSS Parts
|
|
9922
9920
|
*
|
|
9923
|
-
*
|
|
9924
|
-
* - `checkDisabled() => void`: undefined
|
|
9925
|
-
*/
|
|
9926
|
-
"test-prev": Partial<TestPrevProps & BaseProps<TestPrev> & BaseEvents>;
|
|
9927
|
-
|
|
9928
|
-
/**
|
|
9921
|
+
* Custom selectors for styling elements within the component.
|
|
9929
9922
|
*
|
|
9923
|
+
* - `button`: undefined
|
|
9930
9924
|
*
|
|
9931
|
-
* ##
|
|
9925
|
+
* ## CSS States
|
|
9932
9926
|
*
|
|
9933
|
-
*
|
|
9927
|
+
* These can be used to apply styling when a component is in a given state.
|
|
9934
9928
|
*
|
|
9935
|
-
* - `
|
|
9929
|
+
* - `idle`: / playing / paused
|
|
9936
9930
|
*/
|
|
9937
|
-
"test-
|
|
9938
|
-
|
|
9931
|
+
"test-tts-resume": Partial<
|
|
9932
|
+
TestTtsResumeProps & BaseProps<TestTtsResume> & BaseEvents
|
|
9939
9933
|
>;
|
|
9940
9934
|
|
|
9941
9935
|
/**
|
|
9942
|
-
*
|
|
9936
|
+
* Stop button — enabled when playing, paused, or in pick mode (where it leaves pick mode).
|
|
9943
9937
|
*
|
|
9944
9938
|
* ## Attributes & Properties
|
|
9945
9939
|
*
|
|
9946
9940
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9947
9941
|
*
|
|
9948
|
-
* - `
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
TestPrintVariablesProps & BaseProps<TestPrintVariables> & BaseEvents
|
|
9952
|
-
>;
|
|
9953
|
-
|
|
9954
|
-
/**
|
|
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.
|
|
9955
9945
|
*
|
|
9946
|
+
* ## CSS Parts
|
|
9956
9947
|
*
|
|
9957
|
-
*
|
|
9948
|
+
* Custom selectors for styling elements within the component.
|
|
9958
9949
|
*
|
|
9959
|
-
*
|
|
9950
|
+
* - `button`: undefined
|
|
9960
9951
|
*
|
|
9961
|
-
*
|
|
9962
|
-
*
|
|
9963
|
-
*
|
|
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
|
|
9964
9957
|
*/
|
|
9965
|
-
"test-
|
|
9966
|
-
|
|
9958
|
+
"test-tts-stop": Partial<
|
|
9959
|
+
TestTtsStopProps & BaseProps<TestTtsStop> & BaseEvents
|
|
9967
9960
|
>;
|
|
9968
9961
|
|
|
9969
9962
|
/**
|
|
9970
|
-
*
|
|
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.
|
|
9971
9967
|
*
|
|
9972
9968
|
* ## Attributes & Properties
|
|
9973
9969
|
*
|
|
9974
9970
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9975
9971
|
*
|
|
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.
|
|
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.
|
|
9984
9975
|
*
|
|
9976
|
+
* ## CSS Parts
|
|
9985
9977
|
*
|
|
9978
|
+
* Custom selectors for styling elements within the component.
|
|
9986
9979
|
*
|
|
9987
|
-
*
|
|
9980
|
+
* - `button`: undefined
|
|
9988
9981
|
*
|
|
9989
|
-
*
|
|
9982
|
+
* ## CSS States
|
|
9990
9983
|
*
|
|
9991
|
-
*
|
|
9992
|
-
*
|
|
9984
|
+
* These can be used to apply styling when a component is in a given state.
|
|
9985
|
+
*
|
|
9986
|
+
* - `idle`: / playing / paused
|
|
9993
9987
|
*/
|
|
9994
|
-
"test-
|
|
9995
|
-
|
|
9996
|
-
BaseProps<TestSectionButtonsStamp> &
|
|
9997
|
-
BaseEvents
|
|
9988
|
+
"test-tts-prev": Partial<
|
|
9989
|
+
TestTtsPrevProps & BaseProps<TestTtsPrev> & BaseEvents
|
|
9998
9990
|
>;
|
|
9999
9991
|
|
|
10000
9992
|
/**
|
|
10001
|
-
*
|
|
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`).
|
|
10002
9996
|
*
|
|
10003
9997
|
* ## Attributes & Properties
|
|
10004
9998
|
*
|
|
10005
9999
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10006
10000
|
*
|
|
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.
|
|
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.
|
|
10016
10004
|
*
|
|
10017
|
-
* ##
|
|
10005
|
+
* ## CSS Parts
|
|
10018
10006
|
*
|
|
10019
|
-
*
|
|
10007
|
+
* Custom selectors for styling elements within the component.
|
|
10020
10008
|
*
|
|
10021
|
-
* - `
|
|
10022
|
-
* When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
|
|
10023
|
-
* - `myTemplate`: undefined (property only)
|
|
10009
|
+
* - `button`: undefined
|
|
10024
10010
|
*
|
|
10025
|
-
* ##
|
|
10011
|
+
* ## CSS States
|
|
10026
10012
|
*
|
|
10027
|
-
*
|
|
10013
|
+
* These can be used to apply styling when a component is in a given state.
|
|
10028
10014
|
*
|
|
10029
|
-
* - `
|
|
10015
|
+
* - `idle`: / playing / paused
|
|
10030
10016
|
*/
|
|
10031
|
-
"test-
|
|
10017
|
+
"test-tts-next": Partial<
|
|
10018
|
+
TestTtsNextProps & BaseProps<TestTtsNext> & BaseEvents
|
|
10019
|
+
>;
|
|
10032
10020
|
|
|
10033
10021
|
/**
|
|
10034
|
-
*
|
|
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)`.
|
|
10035
10024
|
*
|
|
10036
10025
|
* ## Attributes & Properties
|
|
10037
10026
|
*
|
|
10038
10027
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10039
10028
|
*
|
|
10040
|
-
* - `label`:
|
|
10041
|
-
*
|
|
10042
|
-
|
|
10043
|
-
"test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
|
|
10044
|
-
|
|
10045
|
-
/**
|
|
10046
|
-
*
|
|
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.
|
|
10047
10032
|
*
|
|
10048
|
-
* ##
|
|
10033
|
+
* ## CSS Parts
|
|
10049
10034
|
*
|
|
10050
|
-
*
|
|
10035
|
+
* Custom selectors for styling elements within the component.
|
|
10051
10036
|
*
|
|
10052
|
-
* - `
|
|
10037
|
+
* - `button`: undefined
|
|
10053
10038
|
*
|
|
10054
|
-
* ##
|
|
10039
|
+
* ## CSS States
|
|
10055
10040
|
*
|
|
10056
|
-
*
|
|
10041
|
+
* These can be used to apply styling when a component is in a given state.
|
|
10057
10042
|
*
|
|
10058
|
-
* - `
|
|
10043
|
+
* - `idle`: / playing / paused
|
|
10044
|
+
* - `picking`: undefined
|
|
10059
10045
|
*/
|
|
10060
|
-
"test-
|
|
10061
|
-
|
|
10046
|
+
"test-tts-pick": Partial<
|
|
10047
|
+
TestTtsPickProps & BaseProps<TestTtsPick> & BaseEvents
|
|
10062
10048
|
>;
|
|
10063
10049
|
|
|
10064
10050
|
/**
|
|
@@ -15396,6 +15382,169 @@ export type CustomElementsSolidJs = {
|
|
|
15396
15382
|
QtiTestProps & QtiTestSolidJsProps & BaseProps<QtiTest> & BaseEvents
|
|
15397
15383
|
>;
|
|
15398
15384
|
|
|
15385
|
+
/**
|
|
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
|
|
15400
|
+
*/
|
|
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> &
|
|
15447
|
+
BaseEvents
|
|
15448
|
+
>;
|
|
15449
|
+
|
|
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
|
|
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.
|
|
15476
|
+
*
|
|
15477
|
+
* ## Attributes & Properties
|
|
15478
|
+
*
|
|
15479
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15480
|
+
*
|
|
15481
|
+
* - `disabled`/`_internalDisabled`: undefined
|
|
15482
|
+
* - `sectionItems`: undefined (property only)
|
|
15483
|
+
* - `itemIndex`: undefined (property only)
|
|
15484
|
+
*
|
|
15485
|
+
* ## Methods
|
|
15486
|
+
*
|
|
15487
|
+
* Methods that can be called to access component functionality.
|
|
15488
|
+
*
|
|
15489
|
+
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
15490
|
+
* - `checkDisabled() => void`: undefined
|
|
15491
|
+
*/
|
|
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
|
+
|
|
15399
15548
|
/**
|
|
15400
15549
|
* Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
|
|
15401
15550
|
* reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
|
|
@@ -15421,22 +15570,101 @@ export type CustomElementsSolidJs = {
|
|
|
15421
15570
|
*
|
|
15422
15571
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15423
15572
|
*
|
|
15424
|
-
* - `
|
|
15573
|
+
* - `computedContext`: undefined (property only)
|
|
15574
|
+
*/
|
|
15575
|
+
"test-print-context": Partial<
|
|
15576
|
+
TestPrintContextProps &
|
|
15577
|
+
TestPrintContextSolidJsProps &
|
|
15578
|
+
BaseProps<TestPrintContext> &
|
|
15579
|
+
BaseEvents
|
|
15580
|
+
>;
|
|
15581
|
+
|
|
15582
|
+
/**
|
|
15425
15583
|
*
|
|
15426
|
-
* ## Methods
|
|
15427
15584
|
*
|
|
15428
|
-
*
|
|
15585
|
+
* ## Attributes & Properties
|
|
15429
15586
|
*
|
|
15430
|
-
*
|
|
15431
|
-
*
|
|
15587
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15588
|
+
*
|
|
15589
|
+
* - `computedContext`: undefined (property only)
|
|
15432
15590
|
*/
|
|
15433
|
-
"test-
|
|
15434
|
-
|
|
15435
|
-
|
|
15436
|
-
BaseProps<
|
|
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> &
|
|
15437
15629
|
BaseEvents
|
|
15438
15630
|
>;
|
|
15439
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
|
+
|
|
15440
15668
|
/**
|
|
15441
15669
|
*
|
|
15442
15670
|
*
|
|
@@ -15444,12 +15672,18 @@ export type CustomElementsSolidJs = {
|
|
|
15444
15672
|
*
|
|
15445
15673
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15446
15674
|
*
|
|
15447
|
-
* - `
|
|
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
|
|
15448
15682
|
*/
|
|
15449
|
-
"test-
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
BaseProps<
|
|
15683
|
+
"test-view-toggle": Partial<
|
|
15684
|
+
TestViewToggleProps &
|
|
15685
|
+
TestViewToggleSolidJsProps &
|
|
15686
|
+
BaseProps<TestViewToggle> &
|
|
15453
15687
|
BaseEvents
|
|
15454
15688
|
>;
|
|
15455
15689
|
|
|
@@ -15701,256 +15935,6 @@ export type CustomElementsSolidJs = {
|
|
|
15701
15935
|
BaseEvents
|
|
15702
15936
|
>;
|
|
15703
15937
|
|
|
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
15938
|
/**
|
|
15955
15939
|
*
|
|
15956
15940
|
*
|