@citolab/qti-components 9.4.0 → 9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +290 -243
- package/dist/base.d.ts +2 -2
- package/dist/base.js +1 -1
- package/dist/{chunk-3BAQWO5C.js → chunk-6K3QWJHH.js} +2 -2
- package/dist/{chunk-XEWGFAS4.js → chunk-6U3YPHXU.js} +67 -27
- package/dist/chunk-6U3YPHXU.js.map +1 -0
- package/dist/{chunk-MSGYZE6L.js → chunk-DAFB2E5H.js} +123 -47
- package/dist/{chunk-MSGYZE6L.js.map → chunk-DAFB2E5H.js.map} +1 -1
- package/dist/{chunk-BMXG7D2N.js → chunk-FD4AB6TM.js} +2 -2
- package/dist/{chunk-B5XHZI2P.js → chunk-GBZNFSFY.js} +2 -2
- package/dist/{chunk-ACRN7YJM.js → chunk-MI7774NV.js} +2 -2
- package/dist/{chunk-JHPQJDAV.js → chunk-OQDBARD5.js} +2 -2
- package/dist/{chunk-B74SYQB2.js → chunk-RU6332MD.js} +3 -3
- package/dist/{chunk-GNTO3IFM.js → chunk-SIE3E4FG.js} +717 -417
- package/dist/chunk-SIE3E4FG.js.map +1 -0
- package/dist/{chunk-LKHRHFXO.js → chunk-SU63QGGD.js} +6 -6
- package/dist/{chunk-R7MMMDP7.js → chunk-TDWJ6WZA.js} +20 -2
- package/dist/chunk-TDWJ6WZA.js.map +1 -0
- package/dist/{chunk-C3JPUV36.js → chunk-YZRODVYZ.js} +2 -2
- package/dist/chunk-ZP6QQYSU.js +7 -0
- package/dist/chunk-ZP6QQYSU.js.map +1 -0
- package/dist/corrections.d.ts +3 -3
- package/dist/corrections.js +8 -8
- package/dist/elements.d.ts +64 -2
- package/dist/elements.js +15 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +30 -14
- package/dist/interactions.d.ts +2 -2
- package/dist/interactions.js +3 -3
- package/dist/item.css +11 -0
- package/dist/item.js +4 -4
- package/dist/loader.d.ts +1 -1
- package/dist/processing.d.ts +2 -2
- package/dist/processing.js +3 -3
- package/dist/qti-components-jsx.d.ts +227 -187
- package/dist/{qti-condition-expression.d-L7yb3Rzy.d.ts → qti-condition-expression.d-VJH6cWxf.d.ts} +1 -1
- package/dist/{qti-expression.d-CuaLjZ6g.d.ts → qti-expression.d-BPxEp8HU.d.ts} +7 -0
- package/dist/{qti-test.d-Cud5Gvy0.d.ts → qti-test.d-86TlaMlI.d.ts} +106 -9
- package/dist/{qti-text-entry-interaction.d-DKvz9ncv.d.ts → qti-text-entry-interaction.d-C4eixT-D.d.ts} +6 -1
- package/dist/test.d.ts +3 -3
- package/dist/test.js +11 -5
- package/package.json +5 -5
- package/dist/chunk-A32YH4H5.js +0 -7
- package/dist/chunk-A32YH4H5.js.map +0 -1
- package/dist/chunk-GNTO3IFM.js.map +0 -1
- package/dist/chunk-R7MMMDP7.js.map +0 -1
- package/dist/chunk-XEWGFAS4.js.map +0 -1
- /package/dist/{chunk-3BAQWO5C.js.map → chunk-6K3QWJHH.js.map} +0 -0
- /package/dist/{chunk-BMXG7D2N.js.map → chunk-FD4AB6TM.js.map} +0 -0
- /package/dist/{chunk-B5XHZI2P.js.map → chunk-GBZNFSFY.js.map} +0 -0
- /package/dist/{chunk-ACRN7YJM.js.map → chunk-MI7774NV.js.map} +0 -0
- /package/dist/{chunk-JHPQJDAV.js.map → chunk-OQDBARD5.js.map} +0 -0
- /package/dist/{chunk-B74SYQB2.js.map → chunk-RU6332MD.js.map} +0 -0
- /package/dist/{chunk-LKHRHFXO.js.map → chunk-SU63QGGD.js.map} +0 -0
- /package/dist/{chunk-C3JPUV36.js.map → chunk-YZRODVYZ.js.map} +0 -0
|
@@ -73,8 +73,11 @@ import type {
|
|
|
73
73
|
QtiAssessmentTest,
|
|
74
74
|
QtiAssessmentItemRef,
|
|
75
75
|
QtiAssessmentSection,
|
|
76
|
+
QtiBranchRule,
|
|
76
77
|
QtiItemSessionControl,
|
|
78
|
+
QtiNumberPresented,
|
|
77
79
|
QtiNumberSelected,
|
|
80
|
+
QtiPreCondition,
|
|
78
81
|
QtiOutcomeProcessing,
|
|
79
82
|
QtiOutcomeProcessingProcessor,
|
|
80
83
|
QtiTestFeedback,
|
|
@@ -353,10 +356,6 @@ follow, so the item keeps no list of them to set it on. */
|
|
|
353
356
|
"onqti-assessment-item-connected"?: ((e: CustomEvent) => void) | undefined;
|
|
354
357
|
/** Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing. */
|
|
355
358
|
"onqti-item-context-updated"?: ((e: CustomEvent) => void) | undefined;
|
|
356
|
-
/** */
|
|
357
|
-
"onqti-interaction-changed"?: ((e: CustomEvent) => void) | undefined;
|
|
358
|
-
/** */
|
|
359
|
-
"onqti-outcome-changed"?: ((e: CustomEvent) => void) | undefined;
|
|
360
359
|
};
|
|
361
360
|
|
|
362
361
|
export type QtiAssessmentItemSolidJsProps = {
|
|
@@ -390,10 +389,6 @@ follow, so the item keeps no list of them to set it on. */
|
|
|
390
389
|
"on:qti-assessment-item-connected"?: ((e: CustomEvent) => void) | undefined;
|
|
391
390
|
/** Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing. */
|
|
392
391
|
"on:qti-item-context-updated"?: ((e: CustomEvent) => void) | undefined;
|
|
393
|
-
/** */
|
|
394
|
-
"on:qti-interaction-changed"?: ((e: CustomEvent) => void) | undefined;
|
|
395
|
-
/** */
|
|
396
|
-
"on:qti-outcome-changed"?: ((e: CustomEvent) => void) | undefined;
|
|
397
392
|
|
|
398
393
|
/** Set the innerHTML of the element */
|
|
399
394
|
innerHTML?: string | undefined;
|
|
@@ -3770,7 +3765,8 @@ export type QtiSliderInteractionProps = {
|
|
|
3770
3765
|
max?: QtiSliderInteraction["max"] | undefined;
|
|
3771
3766
|
/** */
|
|
3772
3767
|
step?: QtiSliderInteraction["step"] | undefined;
|
|
3773
|
-
/**
|
|
3768
|
+
/** Shows the value without publishing it: it came from the item (a default or a restored answer) or
|
|
3769
|
+
from the host, which hold it already. Only the candidate's input is published. */
|
|
3774
3770
|
response?: QtiSliderInteraction["response"] | undefined;
|
|
3775
3771
|
/** */
|
|
3776
3772
|
"response-identifier"?:
|
|
@@ -3829,7 +3825,8 @@ export type QtiSliderInteractionSolidJsProps = {
|
|
|
3829
3825
|
"prop:max"?: QtiSliderInteraction["max"] | undefined;
|
|
3830
3826
|
/** */
|
|
3831
3827
|
"prop:step"?: QtiSliderInteraction["step"] | undefined;
|
|
3832
|
-
/**
|
|
3828
|
+
/** Shows the value without publishing it: it came from the item (a default or a restored answer) or
|
|
3829
|
+
from the host, which hold it already. Only the candidate's input is published. */
|
|
3833
3830
|
"prop:response"?: QtiSliderInteraction["response"] | undefined;
|
|
3834
3831
|
/** */
|
|
3835
3832
|
"attr:response-identifier"?:
|
|
@@ -4158,9 +4155,6 @@ export type QtiAssessmentTestProps = {
|
|
|
4158
4155
|
title?: QtiAssessmentTest["title"] | undefined;
|
|
4159
4156
|
/** */
|
|
4160
4157
|
_testContext?: QtiAssessmentTest["_testContext"] | undefined;
|
|
4161
|
-
|
|
4162
|
-
/** */
|
|
4163
|
-
"onqti-assessment-test-connected"?: ((e: CustomEvent) => void) | undefined;
|
|
4164
4158
|
};
|
|
4165
4159
|
|
|
4166
4160
|
export type QtiAssessmentTestSolidJsProps = {
|
|
@@ -4170,8 +4164,6 @@ export type QtiAssessmentTestSolidJsProps = {
|
|
|
4170
4164
|
"prop:title"?: QtiAssessmentTest["title"] | undefined;
|
|
4171
4165
|
/** */
|
|
4172
4166
|
"prop:_testContext"?: QtiAssessmentTest["_testContext"] | undefined;
|
|
4173
|
-
/** */
|
|
4174
|
-
"on:qti-assessment-test-connected"?: ((e: CustomEvent) => void) | undefined;
|
|
4175
4167
|
|
|
4176
4168
|
/** Set the innerHTML of the element */
|
|
4177
4169
|
innerHTML?: string | undefined;
|
|
@@ -4194,11 +4186,6 @@ export type QtiAssessmentItemRefProps = {
|
|
|
4194
4186
|
xmlDoc?: QtiAssessmentItemRef["xmlDoc"] | undefined;
|
|
4195
4187
|
/** */
|
|
4196
4188
|
myTemplate?: QtiAssessmentItemRef["myTemplate"] | undefined;
|
|
4197
|
-
|
|
4198
|
-
/** */
|
|
4199
|
-
"onqti-assessment-item-ref-connected"?:
|
|
4200
|
-
| ((e: CustomEvent) => void)
|
|
4201
|
-
| undefined;
|
|
4202
4189
|
};
|
|
4203
4190
|
|
|
4204
4191
|
export type QtiAssessmentItemRefSolidJsProps = {
|
|
@@ -4216,10 +4203,6 @@ export type QtiAssessmentItemRefSolidJsProps = {
|
|
|
4216
4203
|
"prop:xmlDoc"?: QtiAssessmentItemRef["xmlDoc"] | undefined;
|
|
4217
4204
|
/** */
|
|
4218
4205
|
"prop:myTemplate"?: QtiAssessmentItemRef["myTemplate"] | undefined;
|
|
4219
|
-
/** */
|
|
4220
|
-
"on:qti-assessment-item-ref-connected"?:
|
|
4221
|
-
| ((e: CustomEvent) => void)
|
|
4222
|
-
| undefined;
|
|
4223
4206
|
|
|
4224
4207
|
/** Set the innerHTML of the element */
|
|
4225
4208
|
innerHTML?: string | undefined;
|
|
@@ -4291,6 +4274,21 @@ export type QtiAssessmentSectionSolidJsProps = {
|
|
|
4291
4274
|
textContent?: string | number | undefined;
|
|
4292
4275
|
};
|
|
4293
4276
|
|
|
4277
|
+
export type QtiBranchRuleProps = {
|
|
4278
|
+
/** Required. The identifier of an item ref, section or test part ahead of the parent, or one of the reserved targets `EXIT_SECTION`, `EXIT_TESTPART`, `EXIT_TEST`. */
|
|
4279
|
+
target?: QtiBranchRule["target"] | undefined;
|
|
4280
|
+
};
|
|
4281
|
+
|
|
4282
|
+
export type QtiBranchRuleSolidJsProps = {
|
|
4283
|
+
/** Required. The identifier of an item ref, section or test part ahead of the parent, or one of the reserved targets `EXIT_SECTION`, `EXIT_TESTPART`, `EXIT_TEST`. */
|
|
4284
|
+
"prop:target"?: QtiBranchRule["target"] | undefined;
|
|
4285
|
+
|
|
4286
|
+
/** Set the innerHTML of the element */
|
|
4287
|
+
innerHTML?: string | undefined;
|
|
4288
|
+
/** Set the textContent of the element */
|
|
4289
|
+
textContent?: string | number | undefined;
|
|
4290
|
+
};
|
|
4291
|
+
|
|
4294
4292
|
export type QtiItemSessionControlProps = {
|
|
4295
4293
|
/** */
|
|
4296
4294
|
"max-attempts"?: QtiItemSessionControl["maxAttempts"] | undefined;
|
|
@@ -4371,6 +4369,21 @@ export type QtiItemSessionControlSolidJsProps = {
|
|
|
4371
4369
|
textContent?: string | number | undefined;
|
|
4372
4370
|
};
|
|
4373
4371
|
|
|
4372
|
+
export type QtiNumberPresentedProps = {
|
|
4373
|
+
/** */
|
|
4374
|
+
getVariables?: QtiNumberPresented["getVariables"] | undefined;
|
|
4375
|
+
};
|
|
4376
|
+
|
|
4377
|
+
export type QtiNumberPresentedSolidJsProps = {
|
|
4378
|
+
/** */
|
|
4379
|
+
"prop:getVariables"?: QtiNumberPresented["getVariables"] | undefined;
|
|
4380
|
+
|
|
4381
|
+
/** Set the innerHTML of the element */
|
|
4382
|
+
innerHTML?: string | undefined;
|
|
4383
|
+
/** Set the textContent of the element */
|
|
4384
|
+
textContent?: string | number | undefined;
|
|
4385
|
+
};
|
|
4386
|
+
|
|
4374
4387
|
export type QtiNumberSelectedProps = {
|
|
4375
4388
|
/** */
|
|
4376
4389
|
getVariables?: QtiNumberSelected["getVariables"] | undefined;
|
|
@@ -4386,6 +4399,15 @@ export type QtiNumberSelectedSolidJsProps = {
|
|
|
4386
4399
|
textContent?: string | number | undefined;
|
|
4387
4400
|
};
|
|
4388
4401
|
|
|
4402
|
+
export type QtiPreConditionProps = {};
|
|
4403
|
+
|
|
4404
|
+
export type QtiPreConditionSolidJsProps = {
|
|
4405
|
+
/** Set the innerHTML of the element */
|
|
4406
|
+
innerHTML?: string | undefined;
|
|
4407
|
+
/** Set the textContent of the element */
|
|
4408
|
+
textContent?: string | number | undefined;
|
|
4409
|
+
};
|
|
4410
|
+
|
|
4389
4411
|
export type QtiOutcomeProcessingProps = {};
|
|
4390
4412
|
|
|
4391
4413
|
export type QtiOutcomeProcessingSolidJsProps = {
|
|
@@ -4396,6 +4418,8 @@ export type QtiOutcomeProcessingSolidJsProps = {
|
|
|
4396
4418
|
};
|
|
4397
4419
|
|
|
4398
4420
|
export type QtiTestFeedbackProps = {
|
|
4421
|
+
/** When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`). */
|
|
4422
|
+
access?: QtiTestFeedback["access"] | undefined;
|
|
4399
4423
|
/** */
|
|
4400
4424
|
"show-hide"?: QtiTestFeedback["showHide"] | undefined;
|
|
4401
4425
|
/** */
|
|
@@ -4411,6 +4435,8 @@ export type QtiTestFeedbackProps = {
|
|
|
4411
4435
|
};
|
|
4412
4436
|
|
|
4413
4437
|
export type QtiTestFeedbackSolidJsProps = {
|
|
4438
|
+
/** When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`). */
|
|
4439
|
+
"prop:access"?: QtiTestFeedback["access"] | undefined;
|
|
4414
4440
|
/** */
|
|
4415
4441
|
"attr:show-hide"?: QtiTestFeedback["showHide"] | undefined;
|
|
4416
4442
|
/** */
|
|
@@ -4606,9 +4632,6 @@ export type TestItemLinkProps = {
|
|
|
4606
4632
|
"item-id"?: TestItemLink["itemId"] | undefined;
|
|
4607
4633
|
/** */
|
|
4608
4634
|
itemId?: TestItemLink["itemId"] | undefined;
|
|
4609
|
-
|
|
4610
|
-
/** */
|
|
4611
|
-
"onqti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
|
|
4612
4635
|
};
|
|
4613
4636
|
|
|
4614
4637
|
export type TestItemLinkSolidJsProps = {
|
|
@@ -4616,8 +4639,6 @@ export type TestItemLinkSolidJsProps = {
|
|
|
4616
4639
|
"attr:item-id"?: TestItemLink["itemId"] | undefined;
|
|
4617
4640
|
/** */
|
|
4618
4641
|
"prop:itemId"?: TestItemLink["itemId"] | undefined;
|
|
4619
|
-
/** */
|
|
4620
|
-
"on:qti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
|
|
4621
4642
|
|
|
4622
4643
|
/** Set the innerHTML of the element */
|
|
4623
4644
|
innerHTML?: string | undefined;
|
|
@@ -4846,9 +4867,6 @@ export type TestNextProps = {
|
|
|
4846
4867
|
role?: TestNext["role"] | undefined;
|
|
4847
4868
|
/** */
|
|
4848
4869
|
ariaLabel?: TestNext["ariaLabel"] | undefined;
|
|
4849
|
-
|
|
4850
|
-
/** */
|
|
4851
|
-
"onqti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
|
|
4852
4870
|
};
|
|
4853
4871
|
|
|
4854
4872
|
export type TestNextSolidJsProps = {
|
|
@@ -4864,8 +4882,6 @@ export type TestNextSolidJsProps = {
|
|
|
4864
4882
|
"prop:role"?: TestNext["role"] | undefined;
|
|
4865
4883
|
/** */
|
|
4866
4884
|
"prop:ariaLabel"?: TestNext["ariaLabel"] | undefined;
|
|
4867
|
-
/** */
|
|
4868
|
-
"on:qti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
|
|
4869
4885
|
|
|
4870
4886
|
/** Set the innerHTML of the element */
|
|
4871
4887
|
innerHTML?: string | undefined;
|
|
@@ -4901,9 +4917,6 @@ export type TestPrevProps = {
|
|
|
4901
4917
|
sectionItems?: TestPrev["sectionItems"] | undefined;
|
|
4902
4918
|
/** */
|
|
4903
4919
|
itemIndex?: TestPrev["itemIndex"] | undefined;
|
|
4904
|
-
|
|
4905
|
-
/** */
|
|
4906
|
-
"onqti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
|
|
4907
4920
|
};
|
|
4908
4921
|
|
|
4909
4922
|
export type TestPrevSolidJsProps = {
|
|
@@ -4915,8 +4928,6 @@ export type TestPrevSolidJsProps = {
|
|
|
4915
4928
|
"prop:sectionItems"?: TestPrev["sectionItems"] | undefined;
|
|
4916
4929
|
/** */
|
|
4917
4930
|
"prop:itemIndex"?: TestPrev["itemIndex"] | undefined;
|
|
4918
|
-
/** */
|
|
4919
|
-
"on:qti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
|
|
4920
4931
|
|
|
4921
4932
|
/** Set the innerHTML of the element */
|
|
4922
4933
|
innerHTML?: string | undefined;
|
|
@@ -4961,9 +4972,6 @@ export type TestScoringButtonsProps = {
|
|
|
4961
4972
|
disabled?: TestScoringButtons["disabled"] | undefined;
|
|
4962
4973
|
/** */
|
|
4963
4974
|
myTemplate?: TestScoringButtons["myTemplate"] | undefined;
|
|
4964
|
-
|
|
4965
|
-
/** */
|
|
4966
|
-
"ontest-update-outcome-variable"?: ((e: CustomEvent) => void) | undefined;
|
|
4967
4975
|
};
|
|
4968
4976
|
|
|
4969
4977
|
export type TestScoringButtonsSolidJsProps = {
|
|
@@ -4973,8 +4981,6 @@ export type TestScoringButtonsSolidJsProps = {
|
|
|
4973
4981
|
"prop:disabled"?: TestScoringButtons["disabled"] | undefined;
|
|
4974
4982
|
/** */
|
|
4975
4983
|
"prop:myTemplate"?: TestScoringButtons["myTemplate"] | undefined;
|
|
4976
|
-
/** */
|
|
4977
|
-
"on:test-update-outcome-variable"?: ((e: CustomEvent) => void) | undefined;
|
|
4978
4984
|
|
|
4979
4985
|
/** Set the innerHTML of the element */
|
|
4980
4986
|
innerHTML?: string | undefined;
|
|
@@ -5021,9 +5027,6 @@ export type TestSectionLinkProps = {
|
|
|
5021
5027
|
"section-id"?: TestSectionLink["sectionId"] | undefined;
|
|
5022
5028
|
/** */
|
|
5023
5029
|
sectionId?: TestSectionLink["sectionId"] | undefined;
|
|
5024
|
-
|
|
5025
|
-
/** */
|
|
5026
|
-
"onqti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
|
|
5027
5030
|
};
|
|
5028
5031
|
|
|
5029
5032
|
export type TestSectionLinkSolidJsProps = {
|
|
@@ -5031,8 +5034,6 @@ export type TestSectionLinkSolidJsProps = {
|
|
|
5031
5034
|
"attr:section-id"?: TestSectionLink["sectionId"] | undefined;
|
|
5032
5035
|
/** */
|
|
5033
5036
|
"prop:sectionId"?: TestSectionLink["sectionId"] | undefined;
|
|
5034
|
-
/** */
|
|
5035
|
-
"on:qti-request-navigation"?: ((e: CustomEvent) => void) | undefined;
|
|
5036
5037
|
|
|
5037
5038
|
/** Set the innerHTML of the element */
|
|
5038
5039
|
innerHTML?: string | undefined;
|
|
@@ -5073,9 +5074,6 @@ export type TestViewProps = {
|
|
|
5073
5074
|
"view-options"?: TestView["viewOptions"] | undefined;
|
|
5074
5075
|
/** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
|
|
5075
5076
|
viewOptions?: TestView["viewOptions"] | undefined;
|
|
5076
|
-
|
|
5077
|
-
/** */
|
|
5078
|
-
"onon-test-switch-view"?: ((e: CustomEvent) => void) | undefined;
|
|
5079
5077
|
};
|
|
5080
5078
|
|
|
5081
5079
|
export type TestViewSolidJsProps = {
|
|
@@ -5085,8 +5083,6 @@ export type TestViewSolidJsProps = {
|
|
|
5085
5083
|
"attr:view-options"?: TestView["viewOptions"] | undefined;
|
|
5086
5084
|
/** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
|
|
5087
5085
|
"prop:viewOptions"?: TestView["viewOptions"] | undefined;
|
|
5088
|
-
/** */
|
|
5089
|
-
"on:on-test-switch-view"?: ((e: CustomEvent) => void) | undefined;
|
|
5090
5086
|
|
|
5091
5087
|
/** Set the innerHTML of the element */
|
|
5092
5088
|
innerHTML?: string | undefined;
|
|
@@ -5097,16 +5093,11 @@ export type TestViewSolidJsProps = {
|
|
|
5097
5093
|
export type TestViewToggleProps = {
|
|
5098
5094
|
/** */
|
|
5099
5095
|
myTemplate?: TestViewToggle["myTemplate"] | undefined;
|
|
5100
|
-
|
|
5101
|
-
/** */
|
|
5102
|
-
"onon-test-switch-view"?: ((e: CustomEvent) => void) | undefined;
|
|
5103
5096
|
};
|
|
5104
5097
|
|
|
5105
5098
|
export type TestViewToggleSolidJsProps = {
|
|
5106
5099
|
/** */
|
|
5107
5100
|
"prop:myTemplate"?: TestViewToggle["myTemplate"] | undefined;
|
|
5108
|
-
/** */
|
|
5109
|
-
"on:on-test-switch-view"?: ((e: CustomEvent) => void) | undefined;
|
|
5110
5101
|
|
|
5111
5102
|
/** Set the innerHTML of the element */
|
|
5112
5103
|
innerHTML?: string | undefined;
|
|
@@ -6296,10 +6287,6 @@ follow, so the item keeps no list of them to set it on. */
|
|
|
6296
6287
|
"onqti-assessment-item-connected"?: ((e: CustomEvent) => void) | undefined;
|
|
6297
6288
|
/** Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing. */
|
|
6298
6289
|
"onqti-item-context-updated"?: ((e: CustomEvent) => void) | undefined;
|
|
6299
|
-
/** */
|
|
6300
|
-
"onqti-interaction-changed"?: ((e: CustomEvent) => void) | undefined;
|
|
6301
|
-
/** */
|
|
6302
|
-
"onqti-outcome-changed"?: ((e: CustomEvent) => void) | undefined;
|
|
6303
6290
|
};
|
|
6304
6291
|
|
|
6305
6292
|
export type QtiAssessmentItemCorrectionSolidJsProps = {
|
|
@@ -6337,10 +6324,6 @@ follow, so the item keeps no list of them to set it on. */
|
|
|
6337
6324
|
"on:qti-assessment-item-connected"?: ((e: CustomEvent) => void) | undefined;
|
|
6338
6325
|
/** Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing. */
|
|
6339
6326
|
"on:qti-item-context-updated"?: ((e: CustomEvent) => void) | undefined;
|
|
6340
|
-
/** */
|
|
6341
|
-
"on:qti-interaction-changed"?: ((e: CustomEvent) => void) | undefined;
|
|
6342
|
-
/** */
|
|
6343
|
-
"on:qti-outcome-changed"?: ((e: CustomEvent) => void) | undefined;
|
|
6344
6327
|
|
|
6345
6328
|
/** Set the innerHTML of the element */
|
|
6346
6329
|
innerHTML?: string | undefined;
|
|
@@ -6739,8 +6722,6 @@ export type CustomElements = {
|
|
|
6739
6722
|
*
|
|
6740
6723
|
* - `qti-assessment-item-connected`: undefined
|
|
6741
6724
|
* - `qti-item-context-updated`: Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing.
|
|
6742
|
-
* - `qti-interaction-changed`: undefined
|
|
6743
|
-
* - `qti-outcome-changed`: undefined
|
|
6744
6725
|
*
|
|
6745
6726
|
* ## Methods
|
|
6746
6727
|
*
|
|
@@ -8955,7 +8936,8 @@ export type CustomElements = {
|
|
|
8955
8936
|
* - `lower-bound`/`min`: undefined
|
|
8956
8937
|
* - `upper-bound`/`max`: undefined
|
|
8957
8938
|
* - `step`: undefined
|
|
8958
|
-
* - `response`:
|
|
8939
|
+
* - `response`: Shows the value without publishing it: it came from the item (a default or a restored answer) or
|
|
8940
|
+
* from the host, which hold it already. Only the candidate's input is published.
|
|
8959
8941
|
* - `response-identifier`/`responseIdentifier`: undefined
|
|
8960
8942
|
* - `disabled`: undefined
|
|
8961
8943
|
* - `readonly`: undefined
|
|
@@ -9181,12 +9163,6 @@ export type CustomElements = {
|
|
|
9181
9163
|
* - `identifier`: undefined
|
|
9182
9164
|
* - `title`: undefined
|
|
9183
9165
|
* - `_testContext`: undefined (property only)
|
|
9184
|
-
*
|
|
9185
|
-
* ## Events
|
|
9186
|
-
*
|
|
9187
|
-
* Events that will be emitted by the component.
|
|
9188
|
-
*
|
|
9189
|
-
* - `qti-assessment-test-connected`: undefined
|
|
9190
9166
|
*/
|
|
9191
9167
|
"qti-assessment-test": Partial<
|
|
9192
9168
|
QtiAssessmentTestProps & BaseProps<QtiAssessmentTest> & BaseEvents
|
|
@@ -9213,12 +9189,6 @@ export type CustomElements = {
|
|
|
9213
9189
|
* - `xmlDoc`: undefined (property only)
|
|
9214
9190
|
* - `assessmentItem`: undefined (property only) (readonly)
|
|
9215
9191
|
* - `myTemplate`: undefined (property only)
|
|
9216
|
-
*
|
|
9217
|
-
* ## Events
|
|
9218
|
-
*
|
|
9219
|
-
* Events that will be emitted by the component.
|
|
9220
|
-
*
|
|
9221
|
-
* - `qti-assessment-item-ref-connected`: undefined
|
|
9222
9192
|
*/
|
|
9223
9193
|
"qti-assessment-item-ref": Partial<
|
|
9224
9194
|
QtiAssessmentItemRefProps & BaseProps<QtiAssessmentItemRef> & BaseEvents
|
|
@@ -9251,6 +9221,31 @@ export type CustomElements = {
|
|
|
9251
9221
|
QtiAssessmentSectionProps & BaseProps<QtiAssessmentSection> & BaseEvents
|
|
9252
9222
|
>;
|
|
9253
9223
|
|
|
9224
|
+
/**
|
|
9225
|
+
*
|
|
9226
|
+
*
|
|
9227
|
+
* ## Attributes & Properties
|
|
9228
|
+
*
|
|
9229
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9230
|
+
*
|
|
9231
|
+
* - `target`: Required. The identifier of an item ref, section or test part ahead of the parent, or one of the reserved targets `EXIT_SECTION`, `EXIT_TESTPART`, `EXIT_TEST`.
|
|
9232
|
+
*
|
|
9233
|
+
* ## Slots
|
|
9234
|
+
*
|
|
9235
|
+
* Areas where markup can be added to the component.
|
|
9236
|
+
*
|
|
9237
|
+
* - `(default)`: The boolean expression.
|
|
9238
|
+
*
|
|
9239
|
+
* ## Methods
|
|
9240
|
+
*
|
|
9241
|
+
* Methods that can be called to access component functionality.
|
|
9242
|
+
*
|
|
9243
|
+
* - `evaluate() => boolean`: `true` when the test should jump to `target`.
|
|
9244
|
+
*/
|
|
9245
|
+
"qti-branch-rule": Partial<
|
|
9246
|
+
QtiBranchRuleProps & BaseProps<QtiBranchRule> & BaseEvents
|
|
9247
|
+
>;
|
|
9248
|
+
|
|
9254
9249
|
/**
|
|
9255
9250
|
*
|
|
9256
9251
|
*
|
|
@@ -9276,6 +9271,39 @@ export type CustomElements = {
|
|
|
9276
9271
|
QtiItemSessionControlProps & BaseProps<QtiItemSessionControl> & BaseEvents
|
|
9277
9272
|
>;
|
|
9278
9273
|
|
|
9274
|
+
/**
|
|
9275
|
+
*
|
|
9276
|
+
*
|
|
9277
|
+
* ## Attributes & Properties
|
|
9278
|
+
*
|
|
9279
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9280
|
+
*
|
|
9281
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
9282
|
+
*
|
|
9283
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
9284
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
9285
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
9286
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
9287
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9288
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
9289
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
9290
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
9291
|
+
*
|
|
9292
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
9293
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
9294
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9295
|
+
* - `getVariables`: undefined (property only)
|
|
9296
|
+
*
|
|
9297
|
+
* ## Methods
|
|
9298
|
+
*
|
|
9299
|
+
* Methods that can be called to access component functionality.
|
|
9300
|
+
*
|
|
9301
|
+
* - `calculate() => number`: undefined
|
|
9302
|
+
*/
|
|
9303
|
+
"qti-number-presented": Partial<
|
|
9304
|
+
QtiNumberPresentedProps & BaseProps<QtiNumberPresented> & BaseEvents
|
|
9305
|
+
>;
|
|
9306
|
+
|
|
9279
9307
|
/**
|
|
9280
9308
|
*
|
|
9281
9309
|
*
|
|
@@ -9309,6 +9337,25 @@ export type CustomElements = {
|
|
|
9309
9337
|
QtiNumberSelectedProps & BaseProps<QtiNumberSelected> & BaseEvents
|
|
9310
9338
|
>;
|
|
9311
9339
|
|
|
9340
|
+
/**
|
|
9341
|
+
*
|
|
9342
|
+
*
|
|
9343
|
+
* ## Slots
|
|
9344
|
+
*
|
|
9345
|
+
* Areas where markup can be added to the component.
|
|
9346
|
+
*
|
|
9347
|
+
* - `(default)`: The boolean expression.
|
|
9348
|
+
*
|
|
9349
|
+
* ## Methods
|
|
9350
|
+
*
|
|
9351
|
+
* Methods that can be called to access component functionality.
|
|
9352
|
+
*
|
|
9353
|
+
* - `evaluate() => boolean`: `true` when the parent may be presented.
|
|
9354
|
+
*/
|
|
9355
|
+
"qti-pre-condition": Partial<
|
|
9356
|
+
QtiPreConditionProps & BaseProps<QtiPreCondition> & BaseEvents
|
|
9357
|
+
>;
|
|
9358
|
+
|
|
9312
9359
|
/**
|
|
9313
9360
|
*
|
|
9314
9361
|
*
|
|
@@ -9323,12 +9370,14 @@ export type CustomElements = {
|
|
|
9323
9370
|
>;
|
|
9324
9371
|
|
|
9325
9372
|
/**
|
|
9326
|
-
*
|
|
9373
|
+
* Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
|
|
9374
|
+
* the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
|
|
9327
9375
|
*
|
|
9328
9376
|
* ## Attributes & Properties
|
|
9329
9377
|
*
|
|
9330
9378
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9331
9379
|
*
|
|
9380
|
+
* - `access`: When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`).
|
|
9332
9381
|
* - `show-hide`/`showHide`: undefined
|
|
9333
9382
|
* - `outcome-identifier`/`outcomeIdentifier`: undefined
|
|
9334
9383
|
* - `identifier`: undefined
|
|
@@ -9338,6 +9387,8 @@ export type CustomElements = {
|
|
|
9338
9387
|
*
|
|
9339
9388
|
* Methods that can be called to access component functionality.
|
|
9340
9389
|
*
|
|
9390
|
+
* - `matches(value: string | readonly string[] | null | undefined) => boolean`: Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
|
|
9391
|
+
* when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
|
|
9341
9392
|
* - `openFeedback() => void`: undefined
|
|
9342
9393
|
* - `closeFeedback() => void`: undefined
|
|
9343
9394
|
* - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
|
|
@@ -9540,12 +9591,6 @@ export type CustomElements = {
|
|
|
9540
9591
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9541
9592
|
*
|
|
9542
9593
|
* - `item-id`/`itemId`: undefined
|
|
9543
|
-
*
|
|
9544
|
-
* ## Events
|
|
9545
|
-
*
|
|
9546
|
-
* Events that will be emitted by the component.
|
|
9547
|
-
*
|
|
9548
|
-
* - `qti-request-navigation`: undefined
|
|
9549
9594
|
*/
|
|
9550
9595
|
"test-item-link": Partial<
|
|
9551
9596
|
TestItemLinkProps & BaseProps<TestItemLink> & BaseEvents
|
|
@@ -9811,12 +9856,6 @@ export type CustomElements = {
|
|
|
9811
9856
|
* - `role`: undefined (property only)
|
|
9812
9857
|
* - `ariaLabel`: undefined (property only)
|
|
9813
9858
|
*
|
|
9814
|
-
* ## Events
|
|
9815
|
-
*
|
|
9816
|
-
* Events that will be emitted by the component.
|
|
9817
|
-
*
|
|
9818
|
-
* - `qti-request-navigation`: undefined
|
|
9819
|
-
*
|
|
9820
9859
|
* ## Methods
|
|
9821
9860
|
*
|
|
9822
9861
|
* Methods that can be called to access component functionality.
|
|
@@ -9853,12 +9892,6 @@ export type CustomElements = {
|
|
|
9853
9892
|
* - `sectionItems`: undefined (property only)
|
|
9854
9893
|
* - `itemIndex`: undefined (property only)
|
|
9855
9894
|
*
|
|
9856
|
-
* ## Events
|
|
9857
|
-
*
|
|
9858
|
-
* Events that will be emitted by the component.
|
|
9859
|
-
*
|
|
9860
|
-
* - `qti-request-navigation`: undefined
|
|
9861
|
-
*
|
|
9862
9895
|
* ## Methods
|
|
9863
9896
|
*
|
|
9864
9897
|
* Methods that can be called to access component functionality.
|
|
@@ -9904,12 +9937,6 @@ export type CustomElements = {
|
|
|
9904
9937
|
* - `view`: undefined
|
|
9905
9938
|
* - `disabled`: undefined
|
|
9906
9939
|
* - `myTemplate`: undefined (property only)
|
|
9907
|
-
*
|
|
9908
|
-
* ## Events
|
|
9909
|
-
*
|
|
9910
|
-
* Events that will be emitted by the component.
|
|
9911
|
-
*
|
|
9912
|
-
* - `test-update-outcome-variable`: undefined
|
|
9913
9940
|
*/
|
|
9914
9941
|
"test-scoring-buttons": Partial<
|
|
9915
9942
|
TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents
|
|
@@ -9954,12 +9981,6 @@ export type CustomElements = {
|
|
|
9954
9981
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9955
9982
|
*
|
|
9956
9983
|
* - `section-id`/`sectionId`: undefined
|
|
9957
|
-
*
|
|
9958
|
-
* ## Events
|
|
9959
|
-
*
|
|
9960
|
-
* Events that will be emitted by the component.
|
|
9961
|
-
*
|
|
9962
|
-
* - `qti-request-navigation`: undefined
|
|
9963
9984
|
*/
|
|
9964
9985
|
"test-section-link": Partial<
|
|
9965
9986
|
TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
|
|
@@ -9994,12 +10015,6 @@ export type CustomElements = {
|
|
|
9994
10015
|
*
|
|
9995
10016
|
* - `label`: label accompanying the select view dropdown
|
|
9996
10017
|
* - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
|
|
9997
|
-
*
|
|
9998
|
-
* ## Events
|
|
9999
|
-
*
|
|
10000
|
-
* Events that will be emitted by the component.
|
|
10001
|
-
*
|
|
10002
|
-
* - `on-test-switch-view`: undefined
|
|
10003
10018
|
*/
|
|
10004
10019
|
"test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
|
|
10005
10020
|
|
|
@@ -10012,12 +10027,6 @@ export type CustomElements = {
|
|
|
10012
10027
|
*
|
|
10013
10028
|
* - `myTemplate`: undefined (property only)
|
|
10014
10029
|
*
|
|
10015
|
-
* ## Events
|
|
10016
|
-
*
|
|
10017
|
-
* Events that will be emitted by the component.
|
|
10018
|
-
*
|
|
10019
|
-
* - `on-test-switch-view`: undefined
|
|
10020
|
-
*
|
|
10021
10030
|
* ## Methods
|
|
10022
10031
|
*
|
|
10023
10032
|
* Methods that can be called to access component functionality.
|
|
@@ -12039,8 +12048,6 @@ export type CustomElements = {
|
|
|
12039
12048
|
*
|
|
12040
12049
|
* - `qti-assessment-item-connected`: undefined
|
|
12041
12050
|
* - `qti-item-context-updated`: Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing.
|
|
12042
|
-
* - `qti-interaction-changed`: undefined
|
|
12043
|
-
* - `qti-outcome-changed`: undefined
|
|
12044
12051
|
*
|
|
12045
12052
|
* ## Methods
|
|
12046
12053
|
*
|
|
@@ -12358,8 +12365,6 @@ export type CustomElementsSolidJs = {
|
|
|
12358
12365
|
*
|
|
12359
12366
|
* - `qti-assessment-item-connected`: undefined
|
|
12360
12367
|
* - `qti-item-context-updated`: Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing.
|
|
12361
|
-
* - `qti-interaction-changed`: undefined
|
|
12362
|
-
* - `qti-outcome-changed`: undefined
|
|
12363
12368
|
*
|
|
12364
12369
|
* ## Methods
|
|
12365
12370
|
*
|
|
@@ -14693,7 +14698,8 @@ export type CustomElementsSolidJs = {
|
|
|
14693
14698
|
* - `lower-bound`/`min`: undefined
|
|
14694
14699
|
* - `upper-bound`/`max`: undefined
|
|
14695
14700
|
* - `step`: undefined
|
|
14696
|
-
* - `response`:
|
|
14701
|
+
* - `response`: Shows the value without publishing it: it came from the item (a default or a restored answer) or
|
|
14702
|
+
* from the host, which hold it already. Only the candidate's input is published.
|
|
14697
14703
|
* - `response-identifier`/`responseIdentifier`: undefined
|
|
14698
14704
|
* - `disabled`: undefined
|
|
14699
14705
|
* - `readonly`: undefined
|
|
@@ -14926,12 +14932,6 @@ export type CustomElementsSolidJs = {
|
|
|
14926
14932
|
* - `identifier`: undefined
|
|
14927
14933
|
* - `title`: undefined
|
|
14928
14934
|
* - `_testContext`: undefined (property only)
|
|
14929
|
-
*
|
|
14930
|
-
* ## Events
|
|
14931
|
-
*
|
|
14932
|
-
* Events that will be emitted by the component.
|
|
14933
|
-
*
|
|
14934
|
-
* - `qti-assessment-test-connected`: undefined
|
|
14935
14935
|
*/
|
|
14936
14936
|
"qti-assessment-test": Partial<
|
|
14937
14937
|
QtiAssessmentTestProps &
|
|
@@ -14961,12 +14961,6 @@ export type CustomElementsSolidJs = {
|
|
|
14961
14961
|
* - `xmlDoc`: undefined (property only)
|
|
14962
14962
|
* - `assessmentItem`: undefined (property only) (readonly)
|
|
14963
14963
|
* - `myTemplate`: undefined (property only)
|
|
14964
|
-
*
|
|
14965
|
-
* ## Events
|
|
14966
|
-
*
|
|
14967
|
-
* Events that will be emitted by the component.
|
|
14968
|
-
*
|
|
14969
|
-
* - `qti-assessment-item-ref-connected`: undefined
|
|
14970
14964
|
*/
|
|
14971
14965
|
"qti-assessment-item-ref": Partial<
|
|
14972
14966
|
QtiAssessmentItemRefProps &
|
|
@@ -15005,6 +14999,34 @@ export type CustomElementsSolidJs = {
|
|
|
15005
14999
|
BaseEvents
|
|
15006
15000
|
>;
|
|
15007
15001
|
|
|
15002
|
+
/**
|
|
15003
|
+
*
|
|
15004
|
+
*
|
|
15005
|
+
* ## Attributes & Properties
|
|
15006
|
+
*
|
|
15007
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15008
|
+
*
|
|
15009
|
+
* - `target`: Required. The identifier of an item ref, section or test part ahead of the parent, or one of the reserved targets `EXIT_SECTION`, `EXIT_TESTPART`, `EXIT_TEST`.
|
|
15010
|
+
*
|
|
15011
|
+
* ## Slots
|
|
15012
|
+
*
|
|
15013
|
+
* Areas where markup can be added to the component.
|
|
15014
|
+
*
|
|
15015
|
+
* - `(default)`: The boolean expression.
|
|
15016
|
+
*
|
|
15017
|
+
* ## Methods
|
|
15018
|
+
*
|
|
15019
|
+
* Methods that can be called to access component functionality.
|
|
15020
|
+
*
|
|
15021
|
+
* - `evaluate() => boolean`: `true` when the test should jump to `target`.
|
|
15022
|
+
*/
|
|
15023
|
+
"qti-branch-rule": Partial<
|
|
15024
|
+
QtiBranchRuleProps &
|
|
15025
|
+
QtiBranchRuleSolidJsProps &
|
|
15026
|
+
BaseProps<QtiBranchRule> &
|
|
15027
|
+
BaseEvents
|
|
15028
|
+
>;
|
|
15029
|
+
|
|
15008
15030
|
/**
|
|
15009
15031
|
*
|
|
15010
15032
|
*
|
|
@@ -15033,6 +15055,42 @@ export type CustomElementsSolidJs = {
|
|
|
15033
15055
|
BaseEvents
|
|
15034
15056
|
>;
|
|
15035
15057
|
|
|
15058
|
+
/**
|
|
15059
|
+
*
|
|
15060
|
+
*
|
|
15061
|
+
* ## Attributes & Properties
|
|
15062
|
+
*
|
|
15063
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15064
|
+
*
|
|
15065
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15066
|
+
*
|
|
15067
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15068
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15069
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15070
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15071
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15072
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15073
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15074
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15075
|
+
*
|
|
15076
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15077
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15078
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15079
|
+
* - `getVariables`: undefined (property only)
|
|
15080
|
+
*
|
|
15081
|
+
* ## Methods
|
|
15082
|
+
*
|
|
15083
|
+
* Methods that can be called to access component functionality.
|
|
15084
|
+
*
|
|
15085
|
+
* - `calculate() => number`: undefined
|
|
15086
|
+
*/
|
|
15087
|
+
"qti-number-presented": Partial<
|
|
15088
|
+
QtiNumberPresentedProps &
|
|
15089
|
+
QtiNumberPresentedSolidJsProps &
|
|
15090
|
+
BaseProps<QtiNumberPresented> &
|
|
15091
|
+
BaseEvents
|
|
15092
|
+
>;
|
|
15093
|
+
|
|
15036
15094
|
/**
|
|
15037
15095
|
*
|
|
15038
15096
|
*
|
|
@@ -15069,6 +15127,28 @@ export type CustomElementsSolidJs = {
|
|
|
15069
15127
|
BaseEvents
|
|
15070
15128
|
>;
|
|
15071
15129
|
|
|
15130
|
+
/**
|
|
15131
|
+
*
|
|
15132
|
+
*
|
|
15133
|
+
* ## Slots
|
|
15134
|
+
*
|
|
15135
|
+
* Areas where markup can be added to the component.
|
|
15136
|
+
*
|
|
15137
|
+
* - `(default)`: The boolean expression.
|
|
15138
|
+
*
|
|
15139
|
+
* ## Methods
|
|
15140
|
+
*
|
|
15141
|
+
* Methods that can be called to access component functionality.
|
|
15142
|
+
*
|
|
15143
|
+
* - `evaluate() => boolean`: `true` when the parent may be presented.
|
|
15144
|
+
*/
|
|
15145
|
+
"qti-pre-condition": Partial<
|
|
15146
|
+
QtiPreConditionProps &
|
|
15147
|
+
QtiPreConditionSolidJsProps &
|
|
15148
|
+
BaseProps<QtiPreCondition> &
|
|
15149
|
+
BaseEvents
|
|
15150
|
+
>;
|
|
15151
|
+
|
|
15072
15152
|
/**
|
|
15073
15153
|
*
|
|
15074
15154
|
*
|
|
@@ -15086,12 +15166,14 @@ export type CustomElementsSolidJs = {
|
|
|
15086
15166
|
>;
|
|
15087
15167
|
|
|
15088
15168
|
/**
|
|
15089
|
-
*
|
|
15169
|
+
* Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
|
|
15170
|
+
* the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
|
|
15090
15171
|
*
|
|
15091
15172
|
* ## Attributes & Properties
|
|
15092
15173
|
*
|
|
15093
15174
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15094
15175
|
*
|
|
15176
|
+
* - `access`: When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`).
|
|
15095
15177
|
* - `show-hide`/`showHide`: undefined
|
|
15096
15178
|
* - `outcome-identifier`/`outcomeIdentifier`: undefined
|
|
15097
15179
|
* - `identifier`: undefined
|
|
@@ -15101,6 +15183,8 @@ export type CustomElementsSolidJs = {
|
|
|
15101
15183
|
*
|
|
15102
15184
|
* Methods that can be called to access component functionality.
|
|
15103
15185
|
*
|
|
15186
|
+
* - `matches(value: string | readonly string[] | null | undefined) => boolean`: Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
|
|
15187
|
+
* when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
|
|
15104
15188
|
* - `openFeedback() => void`: undefined
|
|
15105
15189
|
* - `closeFeedback() => void`: undefined
|
|
15106
15190
|
* - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
|
|
@@ -15323,12 +15407,6 @@ export type CustomElementsSolidJs = {
|
|
|
15323
15407
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15324
15408
|
*
|
|
15325
15409
|
* - `item-id`/`itemId`: undefined
|
|
15326
|
-
*
|
|
15327
|
-
* ## Events
|
|
15328
|
-
*
|
|
15329
|
-
* Events that will be emitted by the component.
|
|
15330
|
-
*
|
|
15331
|
-
* - `qti-request-navigation`: undefined
|
|
15332
15410
|
*/
|
|
15333
15411
|
"test-item-link": Partial<
|
|
15334
15412
|
TestItemLinkProps &
|
|
@@ -15624,12 +15702,6 @@ export type CustomElementsSolidJs = {
|
|
|
15624
15702
|
* - `role`: undefined (property only)
|
|
15625
15703
|
* - `ariaLabel`: undefined (property only)
|
|
15626
15704
|
*
|
|
15627
|
-
* ## Events
|
|
15628
|
-
*
|
|
15629
|
-
* Events that will be emitted by the component.
|
|
15630
|
-
*
|
|
15631
|
-
* - `qti-request-navigation`: undefined
|
|
15632
|
-
*
|
|
15633
15705
|
* ## Methods
|
|
15634
15706
|
*
|
|
15635
15707
|
* Methods that can be called to access component functionality.
|
|
@@ -15671,12 +15743,6 @@ export type CustomElementsSolidJs = {
|
|
|
15671
15743
|
* - `sectionItems`: undefined (property only)
|
|
15672
15744
|
* - `itemIndex`: undefined (property only)
|
|
15673
15745
|
*
|
|
15674
|
-
* ## Events
|
|
15675
|
-
*
|
|
15676
|
-
* Events that will be emitted by the component.
|
|
15677
|
-
*
|
|
15678
|
-
* - `qti-request-navigation`: undefined
|
|
15679
|
-
*
|
|
15680
15746
|
* ## Methods
|
|
15681
15747
|
*
|
|
15682
15748
|
* Methods that can be called to access component functionality.
|
|
@@ -15730,12 +15796,6 @@ export type CustomElementsSolidJs = {
|
|
|
15730
15796
|
* - `view`: undefined
|
|
15731
15797
|
* - `disabled`: undefined
|
|
15732
15798
|
* - `myTemplate`: undefined (property only)
|
|
15733
|
-
*
|
|
15734
|
-
* ## Events
|
|
15735
|
-
*
|
|
15736
|
-
* Events that will be emitted by the component.
|
|
15737
|
-
*
|
|
15738
|
-
* - `test-update-outcome-variable`: undefined
|
|
15739
15799
|
*/
|
|
15740
15800
|
"test-scoring-buttons": Partial<
|
|
15741
15801
|
TestScoringButtonsProps &
|
|
@@ -15787,12 +15847,6 @@ export type CustomElementsSolidJs = {
|
|
|
15787
15847
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15788
15848
|
*
|
|
15789
15849
|
* - `section-id`/`sectionId`: undefined
|
|
15790
|
-
*
|
|
15791
|
-
* ## Events
|
|
15792
|
-
*
|
|
15793
|
-
* Events that will be emitted by the component.
|
|
15794
|
-
*
|
|
15795
|
-
* - `qti-request-navigation`: undefined
|
|
15796
15850
|
*/
|
|
15797
15851
|
"test-section-link": Partial<
|
|
15798
15852
|
TestSectionLinkProps &
|
|
@@ -15832,12 +15886,6 @@ export type CustomElementsSolidJs = {
|
|
|
15832
15886
|
*
|
|
15833
15887
|
* - `label`: label accompanying the select view dropdown
|
|
15834
15888
|
* - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
|
|
15835
|
-
*
|
|
15836
|
-
* ## Events
|
|
15837
|
-
*
|
|
15838
|
-
* Events that will be emitted by the component.
|
|
15839
|
-
*
|
|
15840
|
-
* - `on-test-switch-view`: undefined
|
|
15841
15889
|
*/
|
|
15842
15890
|
"test-view": Partial<
|
|
15843
15891
|
TestViewProps & TestViewSolidJsProps & BaseProps<TestView> & BaseEvents
|
|
@@ -15852,12 +15900,6 @@ export type CustomElementsSolidJs = {
|
|
|
15852
15900
|
*
|
|
15853
15901
|
* - `myTemplate`: undefined (property only)
|
|
15854
15902
|
*
|
|
15855
|
-
* ## Events
|
|
15856
|
-
*
|
|
15857
|
-
* Events that will be emitted by the component.
|
|
15858
|
-
*
|
|
15859
|
-
* - `on-test-switch-view`: undefined
|
|
15860
|
-
*
|
|
15861
15903
|
* ## Methods
|
|
15862
15904
|
*
|
|
15863
15905
|
* Methods that can be called to access component functionality.
|
|
@@ -18076,8 +18118,6 @@ export type CustomElementsSolidJs = {
|
|
|
18076
18118
|
*
|
|
18077
18119
|
* - `qti-assessment-item-connected`: undefined
|
|
18078
18120
|
* - `qti-item-context-updated`: Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing.
|
|
18079
|
-
* - `qti-interaction-changed`: undefined
|
|
18080
|
-
* - `qti-outcome-changed`: undefined
|
|
18081
18121
|
*
|
|
18082
18122
|
* ## Methods
|
|
18083
18123
|
*
|