@citolab/qti-components 9.1.0 → 9.2.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 +208 -200
- package/dist/base.d.ts +54 -11
- package/dist/base.js +11 -1
- package/dist/{chunk-QCPN7E6K.js → chunk-7PXUE2GR.js} +3375 -3251
- package/dist/chunk-7PXUE2GR.js.map +1 -0
- package/dist/{chunk-XE7BALDO.js → chunk-A32YH4H5.js} +2 -2
- package/dist/{chunk-XE7BALDO.js.map → chunk-A32YH4H5.js.map} +1 -1
- package/dist/{chunk-MKZ374OJ.js → chunk-FG5JAWSN.js} +2 -2
- package/dist/{chunk-3VQSUWCK.js → chunk-G5RQ5GKG.js} +407 -131
- package/dist/chunk-G5RQ5GKG.js.map +1 -0
- package/dist/{chunk-5SU3MP6Y.js → chunk-GPGUXZ3X.js} +20 -6
- package/dist/{chunk-5SU3MP6Y.js.map → chunk-GPGUXZ3X.js.map} +1 -1
- package/dist/{chunk-5BXJRO5O.js → chunk-JGPWBIVD.js} +389 -229
- package/dist/chunk-JGPWBIVD.js.map +1 -0
- package/dist/{chunk-RT6WZ3P7.js → chunk-JLZCZVRX.js} +2 -2
- package/dist/{chunk-6ITD55QE.js → chunk-LFVPS7KB.js} +2 -2
- package/dist/{chunk-DAUU2NJL.js → chunk-RAJQKCQ3.js} +66 -9
- package/dist/chunk-RAJQKCQ3.js.map +1 -0
- package/dist/{chunk-WKWCOV5P.js → chunk-REKCRWJV.js} +83 -21
- package/dist/chunk-REKCRWJV.js.map +1 -0
- package/dist/{chunk-HDEG6BAZ.js → chunk-TLAVOBEM.js} +16 -8
- package/dist/chunk-TLAVOBEM.js.map +1 -0
- package/dist/{chunk-LDY4C2OT.js → chunk-YIYHCHHM.js} +2 -2
- package/dist/{chunk-WCWJPIUQ.js → chunk-YVZWNLF4.js} +191 -52
- package/dist/chunk-YVZWNLF4.js.map +1 -0
- package/dist/{chunk-KCK27QBP.js → chunk-ZG7FBQFP.js} +2 -2
- package/dist/{chunk-XYQNTF5B.js → chunk-ZOQVTG5L.js} +2 -2
- package/dist/{computed.types.d-CJarqC6s.d.ts → computed.types.d-DB5gfOh9.d.ts} +2 -16
- package/dist/corrections.d.ts +21 -10
- package/dist/corrections.js +20 -20
- package/dist/corrections.js.map +1 -1
- package/dist/elements.d.ts +43 -11
- package/dist/elements.js +4 -4
- package/dist/index.d.ts +14 -13
- package/dist/index.js +37 -15
- package/dist/{interaction.d-CJiMv8H7.d.ts → interaction.d-DegNJ5ZA.d.ts} +1 -1
- package/dist/interactions.d.ts +35 -35
- package/dist/interactions.js +3 -3
- package/dist/item.css +11 -2
- package/dist/item.d.ts +31 -82
- package/dist/item.js +7 -5
- package/dist/{item.types.d-QU7LljEK.d.ts → item.types.d-BDFrq19E.d.ts} +18 -2
- package/dist/loader.d.ts +3 -3
- package/dist/loader.js +2 -2
- package/dist/processing.d.ts +139 -20
- package/dist/processing.js +11 -3
- package/dist/qti-components-jsx.d.ts +1947 -98
- package/dist/{qti-condition-expression.d-CYwXOUb1.d.ts → qti-condition-expression.d-DLboq8bR.d.ts} +1 -1
- package/dist/{qti-expression.d-B_-m9emA.d.ts → qti-expression.d-BksT9iLB.d.ts} +26 -3
- package/dist/{qti-feedback.d-B1EIF-fU.d.ts → qti-feedback.d-D-w6-mJv.d.ts} +1 -1
- package/dist/qti-item.d-D_-9_0e6.d.ts +101 -0
- package/dist/qti-rule-base.d-Bdzg8eGH.d.ts +41 -0
- package/dist/{qti-test.d-C6lCEMRB.d.ts → qti-test.d-BfAZE6UF.d.ts} +61 -9
- package/dist/{qti-text-entry-interaction.d-BGdfV9qG.d.ts → qti-text-entry-interaction.d-CATtcPyX.d.ts} +10 -9
- package/dist/session.context.d-Cjs0BkJB.d.ts +33 -0
- package/dist/test.d.ts +8 -8
- package/dist/test.js +8 -6
- package/dist/transformers.js +1 -1
- package/package.json +12 -11
- package/dist/chunk-3VQSUWCK.js.map +0 -1
- package/dist/chunk-5BXJRO5O.js.map +0 -1
- package/dist/chunk-DAUU2NJL.js.map +0 -1
- package/dist/chunk-HDEG6BAZ.js.map +0 -1
- package/dist/chunk-QCPN7E6K.js.map +0 -1
- package/dist/chunk-WCWJPIUQ.js.map +0 -1
- package/dist/chunk-WKWCOV5P.js.map +0 -1
- package/dist/computed-item.types.d-BKZdSLLJ.d.ts +0 -19
- package/dist/qti-rule-base.d-ajOnfGXY.d.ts +0 -16
- /package/dist/{chunk-MKZ374OJ.js.map → chunk-FG5JAWSN.js.map} +0 -0
- /package/dist/{chunk-RT6WZ3P7.js.map → chunk-JLZCZVRX.js.map} +0 -0
- /package/dist/{chunk-6ITD55QE.js.map → chunk-LFVPS7KB.js.map} +0 -0
- /package/dist/{chunk-LDY4C2OT.js.map → chunk-YIYHCHHM.js.map} +0 -0
- /package/dist/{chunk-KCK27QBP.js.map → chunk-ZG7FBQFP.js.map} +0 -0
- /package/dist/{chunk-XYQNTF5B.js.map → chunk-ZOQVTG5L.js.map} +0 -0
|
@@ -8,6 +8,8 @@ import type {
|
|
|
8
8
|
QtiExpression,
|
|
9
9
|
QtiFeedback,
|
|
10
10
|
QtiRuleElement,
|
|
11
|
+
QtiExitResponseSignal,
|
|
12
|
+
QtiExitTestSignal,
|
|
11
13
|
} from "./base.js";
|
|
12
14
|
import type {
|
|
13
15
|
QtiTemplateConstraint,
|
|
@@ -71,6 +73,7 @@ import type {
|
|
|
71
73
|
QtiAssessmentSection,
|
|
72
74
|
QtiAssessmentTest,
|
|
73
75
|
QtiItemSessionControl,
|
|
76
|
+
QtiNumberSelected,
|
|
74
77
|
QtiOutcomeProcessing,
|
|
75
78
|
QtiOutcomeProcessingProcessor,
|
|
76
79
|
QtiTestFeedback,
|
|
@@ -120,6 +123,9 @@ import type {
|
|
|
120
123
|
QtiDurationLt,
|
|
121
124
|
QtiEqualRounded,
|
|
122
125
|
QtiEqual,
|
|
126
|
+
QtiRule,
|
|
127
|
+
QtiExitResponse,
|
|
128
|
+
QtiExitTest,
|
|
123
129
|
QtiFieldValue,
|
|
124
130
|
QtiGcd,
|
|
125
131
|
QtiGt,
|
|
@@ -131,13 +137,13 @@ import type {
|
|
|
131
137
|
QtiIntegerToFloat,
|
|
132
138
|
QtiIsNull,
|
|
133
139
|
QtiLcm,
|
|
134
|
-
QtiRule,
|
|
135
140
|
QtiLookupOutcomeValue,
|
|
136
141
|
QtiLt,
|
|
137
142
|
QtiLte,
|
|
138
143
|
QtiMapResponsePoint,
|
|
139
144
|
QtiMapResponse,
|
|
140
145
|
QtiMatch,
|
|
146
|
+
QtiMathConstant,
|
|
141
147
|
QtiMathOperator,
|
|
142
148
|
QtiMax,
|
|
143
149
|
QtiMember,
|
|
@@ -166,6 +172,7 @@ import type {
|
|
|
166
172
|
QtiResponseIf,
|
|
167
173
|
QtiResponseElseIf,
|
|
168
174
|
QtiResponseElse,
|
|
175
|
+
QtiResponseProcessingFragment,
|
|
169
176
|
QtiRoundTo,
|
|
170
177
|
QtiRound,
|
|
171
178
|
QtiSetCorrectResponse,
|
|
@@ -320,6 +327,8 @@ export type QtiAssessmentItemProps = {
|
|
|
320
327
|
/** */
|
|
321
328
|
adaptive?: QtiAssessmentItem["adaptive"] | undefined;
|
|
322
329
|
/** */
|
|
330
|
+
"time-dependent"?: QtiAssessmentItem["timeDependent"] | undefined;
|
|
331
|
+
/** */
|
|
323
332
|
timeDependent?: QtiAssessmentItem["timeDependent"] | undefined;
|
|
324
333
|
/** */
|
|
325
334
|
title?: QtiAssessmentItem["title"] | undefined;
|
|
@@ -352,6 +361,8 @@ export type QtiAssessmentItemSolidJsProps = {
|
|
|
352
361
|
/** */
|
|
353
362
|
"prop:adaptive"?: QtiAssessmentItem["adaptive"] | undefined;
|
|
354
363
|
/** */
|
|
364
|
+
"attr:time-dependent"?: QtiAssessmentItem["timeDependent"] | undefined;
|
|
365
|
+
/** */
|
|
355
366
|
"prop:timeDependent"?: QtiAssessmentItem["timeDependent"] | undefined;
|
|
356
367
|
/** */
|
|
357
368
|
"prop:title"?: QtiAssessmentItem["title"] | undefined;
|
|
@@ -900,11 +911,7 @@ export type QtiGapImgProps = {
|
|
|
900
911
|
/** */
|
|
901
912
|
tabindex?: QtiGapImg["tabindex"] | undefined;
|
|
902
913
|
/** `qti-gap-img` is a draggable chip, so it needs ElementInternals to carry the drag states
|
|
903
|
-
(`dragging`, `placeholder`).
|
|
904
|
-
|
|
905
|
-
NOTE: this element never calls `super.connectedCallback()`, so Lit never enables updating
|
|
906
|
-
and it has no shadow root — which makes `qti-gap-img.styles.ts` dead code. Fixing that means
|
|
907
|
-
adding a `<slot>` to a `render()` first, otherwise the authored `<img>` child disappears. */
|
|
914
|
+
(`dragging`, `placeholder`). */
|
|
908
915
|
internals?: QtiGapImg["internals"] | undefined;
|
|
909
916
|
};
|
|
910
917
|
|
|
@@ -912,11 +919,7 @@ export type QtiGapImgSolidJsProps = {
|
|
|
912
919
|
/** */
|
|
913
920
|
"prop:tabindex"?: QtiGapImg["tabindex"] | undefined;
|
|
914
921
|
/** `qti-gap-img` is a draggable chip, so it needs ElementInternals to carry the drag states
|
|
915
|
-
(`dragging`, `placeholder`).
|
|
916
|
-
|
|
917
|
-
NOTE: this element never calls `super.connectedCallback()`, so Lit never enables updating
|
|
918
|
-
and it has no shadow root — which makes `qti-gap-img.styles.ts` dead code. Fixing that means
|
|
919
|
-
adding a `<slot>` to a `render()` first, otherwise the authored `<img>` child disappears. */
|
|
922
|
+
(`dragging`, `placeholder`). */
|
|
920
923
|
"prop:internals"?: QtiGapImg["internals"] | undefined;
|
|
921
924
|
|
|
922
925
|
/** Set the innerHTML of the element */
|
|
@@ -2200,15 +2203,15 @@ export type QtiGraphicGapMatchInteractionSolidJsProps = {
|
|
|
2200
2203
|
};
|
|
2201
2204
|
|
|
2202
2205
|
export type QtiGraphicOrderInteractionProps = {
|
|
2203
|
-
/** */
|
|
2204
|
-
"min-choices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
|
|
2205
|
-
/** */
|
|
2206
|
-
minChoices?: QtiGraphicOrderInteraction["minChoices"] | undefined;
|
|
2207
2206
|
/** */
|
|
2208
2207
|
"max-choices"?: QtiGraphicOrderInteraction["maxChoices"] | undefined;
|
|
2209
2208
|
/** */
|
|
2210
2209
|
maxChoices?: QtiGraphicOrderInteraction["maxChoices"] | undefined;
|
|
2211
2210
|
/** */
|
|
2211
|
+
"min-choices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
|
|
2212
|
+
/** */
|
|
2213
|
+
minChoices?: QtiGraphicOrderInteraction["minChoices"] | undefined;
|
|
2214
|
+
/** */
|
|
2212
2215
|
response?: QtiGraphicOrderInteraction["response"] | undefined;
|
|
2213
2216
|
/** */
|
|
2214
2217
|
"response-identifier"?:
|
|
@@ -2257,15 +2260,15 @@ casts, rather than pretending at an encapsulation the type system was the only t
|
|
|
2257
2260
|
};
|
|
2258
2261
|
|
|
2259
2262
|
export type QtiGraphicOrderInteractionSolidJsProps = {
|
|
2260
|
-
/** */
|
|
2261
|
-
"attr:min-choices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
|
|
2262
|
-
/** */
|
|
2263
|
-
"prop:minChoices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
|
|
2264
2263
|
/** */
|
|
2265
2264
|
"attr:max-choices"?: QtiGraphicOrderInteraction["maxChoices"] | undefined;
|
|
2266
2265
|
/** */
|
|
2267
2266
|
"prop:maxChoices"?: QtiGraphicOrderInteraction["maxChoices"] | undefined;
|
|
2268
2267
|
/** */
|
|
2268
|
+
"attr:min-choices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
|
|
2269
|
+
/** */
|
|
2270
|
+
"prop:minChoices"?: QtiGraphicOrderInteraction["minChoices"] | undefined;
|
|
2271
|
+
/** */
|
|
2269
2272
|
"prop:response"?: QtiGraphicOrderInteraction["response"] | undefined;
|
|
2270
2273
|
/** */
|
|
2271
2274
|
"attr:response-identifier"?:
|
|
@@ -4160,8 +4163,6 @@ export type QtiAssessmentItemRefProps = {
|
|
|
4160
4163
|
/** */
|
|
4161
4164
|
href?: QtiAssessmentItemRef["href"] | undefined;
|
|
4162
4165
|
/** */
|
|
4163
|
-
weigths?: QtiAssessmentItemRef["weigths"] | undefined;
|
|
4164
|
-
/** */
|
|
4165
4166
|
xmlDoc?: QtiAssessmentItemRef["xmlDoc"] | undefined;
|
|
4166
4167
|
/** */
|
|
4167
4168
|
myTemplate?: QtiAssessmentItemRef["myTemplate"] | undefined;
|
|
@@ -4184,8 +4185,6 @@ export type QtiAssessmentItemRefSolidJsProps = {
|
|
|
4184
4185
|
/** */
|
|
4185
4186
|
"prop:href"?: QtiAssessmentItemRef["href"] | undefined;
|
|
4186
4187
|
/** */
|
|
4187
|
-
"prop:weigths"?: QtiAssessmentItemRef["weigths"] | undefined;
|
|
4188
|
-
/** */
|
|
4189
4188
|
"prop:xmlDoc"?: QtiAssessmentItemRef["xmlDoc"] | undefined;
|
|
4190
4189
|
/** */
|
|
4191
4190
|
"prop:myTemplate"?: QtiAssessmentItemRef["myTemplate"] | undefined;
|
|
@@ -4372,6 +4371,21 @@ export type QtiItemSessionControlSolidJsProps = {
|
|
|
4372
4371
|
textContent?: string | number | undefined;
|
|
4373
4372
|
};
|
|
4374
4373
|
|
|
4374
|
+
export type QtiNumberSelectedProps = {
|
|
4375
|
+
/** */
|
|
4376
|
+
getVariables?: QtiNumberSelected["getVariables"] | undefined;
|
|
4377
|
+
};
|
|
4378
|
+
|
|
4379
|
+
export type QtiNumberSelectedSolidJsProps = {
|
|
4380
|
+
/** */
|
|
4381
|
+
"prop:getVariables"?: QtiNumberSelected["getVariables"] | undefined;
|
|
4382
|
+
|
|
4383
|
+
/** Set the innerHTML of the element */
|
|
4384
|
+
innerHTML?: string | undefined;
|
|
4385
|
+
/** Set the textContent of the element */
|
|
4386
|
+
textContent?: string | number | undefined;
|
|
4387
|
+
};
|
|
4388
|
+
|
|
4375
4389
|
export type QtiOutcomeProcessingProps = {};
|
|
4376
4390
|
|
|
4377
4391
|
export type QtiOutcomeProcessingSolidJsProps = {
|
|
@@ -5164,6 +5178,8 @@ export type QtiDurationLtSolidJsProps = {
|
|
|
5164
5178
|
};
|
|
5165
5179
|
|
|
5166
5180
|
export type QtiEqualRoundedProps = {
|
|
5181
|
+
/** */
|
|
5182
|
+
"rounding-mode"?: QtiEqualRounded["roundingMode"] | undefined;
|
|
5167
5183
|
/** */
|
|
5168
5184
|
roundingMode?: QtiEqualRounded["roundingMode"] | undefined;
|
|
5169
5185
|
/** */
|
|
@@ -5171,6 +5187,8 @@ export type QtiEqualRoundedProps = {
|
|
|
5171
5187
|
};
|
|
5172
5188
|
|
|
5173
5189
|
export type QtiEqualRoundedSolidJsProps = {
|
|
5190
|
+
/** */
|
|
5191
|
+
"attr:rounding-mode"?: QtiEqualRounded["roundingMode"] | undefined;
|
|
5174
5192
|
/** */
|
|
5175
5193
|
"prop:roundingMode"?: QtiEqualRounded["roundingMode"] | undefined;
|
|
5176
5194
|
/** */
|
|
@@ -5183,15 +5201,23 @@ export type QtiEqualRoundedSolidJsProps = {
|
|
|
5183
5201
|
};
|
|
5184
5202
|
|
|
5185
5203
|
export type QtiEqualProps = {
|
|
5204
|
+
/** */
|
|
5205
|
+
"tolerance-mode"?: QtiEqual["toleranceMode"] | undefined;
|
|
5186
5206
|
/** */
|
|
5187
5207
|
toleranceMode?: QtiEqual["toleranceMode"] | undefined;
|
|
5208
|
+
/** One or two numbers: the lower and upper tolerance. One means both. */
|
|
5209
|
+
tolerance?: QtiEqual["tolerance"] | undefined;
|
|
5188
5210
|
/** */
|
|
5189
5211
|
getVariables?: QtiEqual["getVariables"] | undefined;
|
|
5190
5212
|
};
|
|
5191
5213
|
|
|
5192
5214
|
export type QtiEqualSolidJsProps = {
|
|
5215
|
+
/** */
|
|
5216
|
+
"attr:tolerance-mode"?: QtiEqual["toleranceMode"] | undefined;
|
|
5193
5217
|
/** */
|
|
5194
5218
|
"prop:toleranceMode"?: QtiEqual["toleranceMode"] | undefined;
|
|
5219
|
+
/** One or two numbers: the lower and upper tolerance. One means both. */
|
|
5220
|
+
"prop:tolerance"?: QtiEqual["tolerance"] | undefined;
|
|
5195
5221
|
/** */
|
|
5196
5222
|
"prop:getVariables"?: QtiEqual["getVariables"] | undefined;
|
|
5197
5223
|
|
|
@@ -5201,6 +5227,33 @@ export type QtiEqualSolidJsProps = {
|
|
|
5201
5227
|
textContent?: string | number | undefined;
|
|
5202
5228
|
};
|
|
5203
5229
|
|
|
5230
|
+
export type QtiRuleProps = {};
|
|
5231
|
+
|
|
5232
|
+
export type QtiRuleSolidJsProps = {
|
|
5233
|
+
/** Set the innerHTML of the element */
|
|
5234
|
+
innerHTML?: string | undefined;
|
|
5235
|
+
/** Set the textContent of the element */
|
|
5236
|
+
textContent?: string | number | undefined;
|
|
5237
|
+
};
|
|
5238
|
+
|
|
5239
|
+
export type QtiExitResponseProps = {};
|
|
5240
|
+
|
|
5241
|
+
export type QtiExitResponseSolidJsProps = {
|
|
5242
|
+
/** Set the innerHTML of the element */
|
|
5243
|
+
innerHTML?: string | undefined;
|
|
5244
|
+
/** Set the textContent of the element */
|
|
5245
|
+
textContent?: string | number | undefined;
|
|
5246
|
+
};
|
|
5247
|
+
|
|
5248
|
+
export type QtiExitTestProps = {};
|
|
5249
|
+
|
|
5250
|
+
export type QtiExitTestSolidJsProps = {
|
|
5251
|
+
/** Set the innerHTML of the element */
|
|
5252
|
+
innerHTML?: string | undefined;
|
|
5253
|
+
/** Set the textContent of the element */
|
|
5254
|
+
textContent?: string | number | undefined;
|
|
5255
|
+
};
|
|
5256
|
+
|
|
5204
5257
|
export type QtiFieldValueProps = {
|
|
5205
5258
|
/** */
|
|
5206
5259
|
getVariables?: QtiFieldValue["getVariables"] | undefined;
|
|
@@ -5378,15 +5431,6 @@ export type QtiLcmSolidJsProps = {
|
|
|
5378
5431
|
textContent?: string | number | undefined;
|
|
5379
5432
|
};
|
|
5380
5433
|
|
|
5381
|
-
export type QtiRuleProps = {};
|
|
5382
|
-
|
|
5383
|
-
export type QtiRuleSolidJsProps = {
|
|
5384
|
-
/** Set the innerHTML of the element */
|
|
5385
|
-
innerHTML?: string | undefined;
|
|
5386
|
-
/** Set the textContent of the element */
|
|
5387
|
-
textContent?: string | number | undefined;
|
|
5388
|
-
};
|
|
5389
|
-
|
|
5390
5434
|
export type QtiLookupOutcomeValueProps = {
|
|
5391
5435
|
/** */
|
|
5392
5436
|
identifier?: QtiLookupOutcomeValue["identifier"] | undefined;
|
|
@@ -5490,6 +5534,25 @@ export type QtiMatchSolidJsProps = {
|
|
|
5490
5534
|
textContent?: string | number | undefined;
|
|
5491
5535
|
};
|
|
5492
5536
|
|
|
5537
|
+
export type QtiMathConstantProps = {
|
|
5538
|
+
/** */
|
|
5539
|
+
name?: QtiMathConstant["name"] | undefined;
|
|
5540
|
+
/** */
|
|
5541
|
+
getVariables?: QtiMathConstant["getVariables"] | undefined;
|
|
5542
|
+
};
|
|
5543
|
+
|
|
5544
|
+
export type QtiMathConstantSolidJsProps = {
|
|
5545
|
+
/** */
|
|
5546
|
+
"prop:name"?: QtiMathConstant["name"] | undefined;
|
|
5547
|
+
/** */
|
|
5548
|
+
"prop:getVariables"?: QtiMathConstant["getVariables"] | undefined;
|
|
5549
|
+
|
|
5550
|
+
/** Set the innerHTML of the element */
|
|
5551
|
+
innerHTML?: string | undefined;
|
|
5552
|
+
/** Set the textContent of the element */
|
|
5553
|
+
textContent?: string | number | undefined;
|
|
5554
|
+
};
|
|
5555
|
+
|
|
5493
5556
|
export type QtiMathOperatorProps = {
|
|
5494
5557
|
/** */
|
|
5495
5558
|
name?: QtiMathOperator["name"] | undefined;
|
|
@@ -5870,6 +5933,15 @@ export type QtiResponseElseSolidJsProps = {
|
|
|
5870
5933
|
textContent?: string | number | undefined;
|
|
5871
5934
|
};
|
|
5872
5935
|
|
|
5936
|
+
export type QtiResponseProcessingFragmentProps = {};
|
|
5937
|
+
|
|
5938
|
+
export type QtiResponseProcessingFragmentSolidJsProps = {
|
|
5939
|
+
/** Set the innerHTML of the element */
|
|
5940
|
+
innerHTML?: string | undefined;
|
|
5941
|
+
/** Set the textContent of the element */
|
|
5942
|
+
textContent?: string | number | undefined;
|
|
5943
|
+
};
|
|
5944
|
+
|
|
5873
5945
|
export type QtiRoundToProps = {
|
|
5874
5946
|
/** */
|
|
5875
5947
|
"rounding-mode"?: QtiRoundTo["roundingMode"] | undefined;
|
|
@@ -6082,6 +6154,8 @@ export type QtiAssessmentItemCorrectionProps = {
|
|
|
6082
6154
|
/** */
|
|
6083
6155
|
adaptive?: QtiAssessmentItemCorrection["adaptive"] | undefined;
|
|
6084
6156
|
/** */
|
|
6157
|
+
"time-dependent"?: QtiAssessmentItemCorrection["timeDependent"] | undefined;
|
|
6158
|
+
/** */
|
|
6085
6159
|
timeDependent?: QtiAssessmentItemCorrection["timeDependent"] | undefined;
|
|
6086
6160
|
/** */
|
|
6087
6161
|
title?: QtiAssessmentItemCorrection["title"] | undefined;
|
|
@@ -6116,6 +6190,10 @@ export type QtiAssessmentItemCorrectionSolidJsProps = {
|
|
|
6116
6190
|
/** */
|
|
6117
6191
|
"prop:adaptive"?: QtiAssessmentItemCorrection["adaptive"] | undefined;
|
|
6118
6192
|
/** */
|
|
6193
|
+
"attr:time-dependent"?:
|
|
6194
|
+
| QtiAssessmentItemCorrection["timeDependent"]
|
|
6195
|
+
| undefined;
|
|
6196
|
+
/** */
|
|
6119
6197
|
"prop:timeDependent"?:
|
|
6120
6198
|
| QtiAssessmentItemCorrection["timeDependent"]
|
|
6121
6199
|
| undefined;
|
|
@@ -6488,7 +6566,7 @@ export type CustomElements = {
|
|
|
6488
6566
|
*
|
|
6489
6567
|
* - `identifier`: undefined
|
|
6490
6568
|
* - `adaptive`: undefined
|
|
6491
|
-
* - `timeDependent`: undefined
|
|
6569
|
+
* - `time-dependent`/`timeDependent`: undefined
|
|
6492
6570
|
* - `title`: undefined
|
|
6493
6571
|
* - `disabled`: undefined
|
|
6494
6572
|
* - `readonly`: undefined
|
|
@@ -6577,14 +6655,33 @@ export type CustomElements = {
|
|
|
6577
6655
|
|
|
6578
6656
|
/**
|
|
6579
6657
|
* https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
|
|
6658
|
+
*
|
|
6659
|
+
* A custom operator is outside the QTI vocabulary, so what it does is supplied
|
|
6660
|
+
* by the delivery engine rather than by the item. Two ways to supply it:
|
|
6661
|
+
*
|
|
6662
|
+
* `definition` names an operator the host registered with
|
|
6663
|
+
* `registerCustomOperator`, or one of the built-ins (`Trim`, `ToAscii`,
|
|
6664
|
+
* `ParseCommaDecimal` under the `depcp:`, `questify:` and `qade:` prefixes).
|
|
6665
|
+
* The operator is handed the calculated values of the child expressions:
|
|
6666
|
+
*
|
|
6667
|
+
* ```xml
|
|
6668
|
+
* <qti-custom-operator definition="depcp:Trim">
|
|
6669
|
+
* <qti-variable identifier="RESPONSE"/>
|
|
6670
|
+
* </qti-custom-operator>
|
|
6671
|
+
* ```
|
|
6672
|
+
*
|
|
6673
|
+
* `class="js.org"` instead runs inline JavaScript out of a CDATA section:
|
|
6674
|
+
*
|
|
6675
|
+
* ```xml
|
|
6580
6676
|
* <qti-custom-operator class="js.org">
|
|
6581
|
-
*
|
|
6582
|
-
*
|
|
6583
|
-
*
|
|
6584
|
-
*
|
|
6585
|
-
*
|
|
6586
|
-
*
|
|
6587
|
-
*
|
|
6677
|
+
* <qti-base-value base-type="string"><![CDATA[
|
|
6678
|
+
* console.log(context.variables);
|
|
6679
|
+
* return 'B'
|
|
6680
|
+
* ]]></qti-base-value>
|
|
6681
|
+
* </qti-custom-operator>
|
|
6682
|
+
* ```
|
|
6683
|
+
*
|
|
6684
|
+
* `definition` is checked first; the two do not interact.
|
|
6588
6685
|
*
|
|
6589
6686
|
* ## Events
|
|
6590
6687
|
*
|
|
@@ -6722,7 +6819,14 @@ export type CustomElements = {
|
|
|
6722
6819
|
* - `identifier`: undefined
|
|
6723
6820
|
* - `cardinality`: undefined
|
|
6724
6821
|
* - `itemContext`: undefined (property only)
|
|
6725
|
-
* - `interpolationTable`:
|
|
6822
|
+
* - `interpolationTable`: The entries of a `qti-interpolation-table`, in document order.
|
|
6823
|
+
*
|
|
6824
|
+
* Order is load-bearing: each entry's `source-value` is the lower bound of a
|
|
6825
|
+
* range, and the lookup takes the first entry whose bound the source value
|
|
6826
|
+
* clears. A Map keyed by source value cannot express that. (property only) (readonly)
|
|
6827
|
+
* - `matchTable`: A qti-match-table maps a source value onto a target exactly, with no
|
|
6828
|
+
* boundaries and no interpolation. Targets keep their authored spelling
|
|
6829
|
+
* because a match table is not restricted to numeric outcomes. (property only) (readonly)
|
|
6726
6830
|
*
|
|
6727
6831
|
* ## Events
|
|
6728
6832
|
*
|
|
@@ -6860,6 +6964,15 @@ export type CustomElements = {
|
|
|
6860
6964
|
* </qti-item>
|
|
6861
6965
|
* ```
|
|
6862
6966
|
*
|
|
6967
|
+
* `view` selects the audience the item is presented to, which is what reveals `view`-tagged
|
|
6968
|
+
* content such as a scorer's `qti-rubric-block` — see `ItemViewMixin`.
|
|
6969
|
+
*
|
|
6970
|
+
* ```html
|
|
6971
|
+
* <qti-item view="scorer">
|
|
6972
|
+
* <item-container item-url="./path/to/item.xml"></item-container>
|
|
6973
|
+
* </qti-item>
|
|
6974
|
+
* ```
|
|
6975
|
+
*
|
|
6863
6976
|
* ## Attributes & Properties
|
|
6864
6977
|
*
|
|
6865
6978
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -6945,11 +7058,7 @@ export type CustomElements = {
|
|
|
6945
7058
|
*
|
|
6946
7059
|
* - `tabindex`: undefined
|
|
6947
7060
|
* - `internals`: `qti-gap-img` is a draggable chip, so it needs ElementInternals to carry the drag states
|
|
6948
|
-
* (`dragging`, `placeholder`).
|
|
6949
|
-
*
|
|
6950
|
-
* NOTE: this element never calls `super.connectedCallback()`, so Lit never enables updating
|
|
6951
|
-
* and it has no shadow root — which makes `qti-gap-img.styles.ts` dead code. Fixing that means
|
|
6952
|
-
* adding a `<slot>` to a `render()` first, otherwise the authored `<img>` child disappears. (property only)
|
|
7061
|
+
* (`dragging`, `placeholder`). (property only)
|
|
6953
7062
|
*/
|
|
6954
7063
|
"qti-gap-img": Partial<QtiGapImgProps & BaseProps<QtiGapImg> & BaseEvents>;
|
|
6955
7064
|
|
|
@@ -7770,8 +7879,8 @@ export type CustomElements = {
|
|
|
7770
7879
|
*
|
|
7771
7880
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
7772
7881
|
*
|
|
7773
|
-
* - `min-choices`/`minChoices`: undefined
|
|
7774
7882
|
* - `max-choices`/`maxChoices`: undefined
|
|
7883
|
+
* - `min-choices`/`minChoices`: undefined
|
|
7775
7884
|
* - `response`: undefined
|
|
7776
7885
|
* - `response-identifier`/`responseIdentifier`: undefined
|
|
7777
7886
|
* - `disabled`: undefined
|
|
@@ -8921,7 +9030,12 @@ export type CustomElements = {
|
|
|
8921
9030
|
* - `required`: undefined
|
|
8922
9031
|
* - `fixed`: undefined
|
|
8923
9032
|
* - `href`: undefined
|
|
8924
|
-
* - `
|
|
9033
|
+
* - `weights`: The `<qti-weight>` children of this ref, keyed by identifier — what
|
|
9034
|
+
* `qti-test-variables`' `weight-identifier` resolves against.
|
|
9035
|
+
*
|
|
9036
|
+
* Read on access rather than cached: the test document is rendered into this
|
|
9037
|
+
* element's light DOM, so the weights are not in place at construction time,
|
|
9038
|
+
* and outcome processing runs long after they are. (property only) (readonly)
|
|
8925
9039
|
* - `xmlDoc`: undefined (property only)
|
|
8926
9040
|
* - `assessmentItem`: undefined (property only) (readonly)
|
|
8927
9041
|
* - `myTemplate`: undefined (property only)
|
|
@@ -9009,6 +9123,39 @@ export type CustomElements = {
|
|
|
9009
9123
|
QtiItemSessionControlProps & BaseProps<QtiItemSessionControl> & BaseEvents
|
|
9010
9124
|
>;
|
|
9011
9125
|
|
|
9126
|
+
/**
|
|
9127
|
+
*
|
|
9128
|
+
*
|
|
9129
|
+
* ## Attributes & Properties
|
|
9130
|
+
*
|
|
9131
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9132
|
+
*
|
|
9133
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
9134
|
+
*
|
|
9135
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
9136
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
9137
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
9138
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
9139
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9140
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
9141
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
9142
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
9143
|
+
*
|
|
9144
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
9145
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
9146
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9147
|
+
* - `getVariables`: undefined (property only)
|
|
9148
|
+
*
|
|
9149
|
+
* ## Methods
|
|
9150
|
+
*
|
|
9151
|
+
* Methods that can be called to access component functionality.
|
|
9152
|
+
*
|
|
9153
|
+
* - `calculate() => number`: undefined
|
|
9154
|
+
*/
|
|
9155
|
+
"qti-number-selected": Partial<
|
|
9156
|
+
QtiNumberSelectedProps & BaseProps<QtiNumberSelected> & BaseEvents
|
|
9157
|
+
>;
|
|
9158
|
+
|
|
9012
9159
|
/**
|
|
9013
9160
|
*
|
|
9014
9161
|
*
|
|
@@ -9082,6 +9229,20 @@ export type CustomElements = {
|
|
|
9082
9229
|
*
|
|
9083
9230
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9084
9231
|
*
|
|
9232
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
9233
|
+
*
|
|
9234
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
9235
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
9236
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
9237
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
9238
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9239
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
9240
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
9241
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
9242
|
+
*
|
|
9243
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
9244
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
9245
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9085
9246
|
* - `getVariables`: undefined (property only)
|
|
9086
9247
|
*
|
|
9087
9248
|
* ## Methods
|
|
@@ -9648,6 +9809,20 @@ export type CustomElements = {
|
|
|
9648
9809
|
*
|
|
9649
9810
|
* - `min`: undefined
|
|
9650
9811
|
* - `max`: undefined
|
|
9812
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
9813
|
+
*
|
|
9814
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
9815
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
9816
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
9817
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
9818
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9819
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
9820
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
9821
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
9822
|
+
*
|
|
9823
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
9824
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
9825
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9651
9826
|
* - `getVariables`: undefined (property only)
|
|
9652
9827
|
*
|
|
9653
9828
|
* ## Methods
|
|
@@ -9666,6 +9841,20 @@ export type CustomElements = {
|
|
|
9666
9841
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9667
9842
|
*
|
|
9668
9843
|
* - `base-type`/`baseType`: undefined
|
|
9844
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
9845
|
+
*
|
|
9846
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
9847
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
9848
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
9849
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
9850
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9851
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
9852
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
9853
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
9854
|
+
*
|
|
9855
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
9856
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
9857
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9669
9858
|
* - `getVariables`: undefined (property only)
|
|
9670
9859
|
*
|
|
9671
9860
|
* ## Methods
|
|
@@ -9685,6 +9874,20 @@ export type CustomElements = {
|
|
|
9685
9874
|
*
|
|
9686
9875
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9687
9876
|
*
|
|
9877
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
9878
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
9879
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
9880
|
+
*
|
|
9881
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
9882
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
9883
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9884
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
9885
|
+
*
|
|
9886
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
9887
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
9888
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
9889
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
9890
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9688
9891
|
* - `getVariables`: undefined (property only)
|
|
9689
9892
|
*
|
|
9690
9893
|
* ## Methods
|
|
@@ -9704,13 +9907,27 @@ export type CustomElements = {
|
|
|
9704
9907
|
*
|
|
9705
9908
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9706
9909
|
*
|
|
9910
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
9911
|
+
*
|
|
9912
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
9913
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
9914
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
9915
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
9916
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9917
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
9918
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
9919
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
9920
|
+
*
|
|
9921
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
9922
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
9923
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9707
9924
|
* - `getVariables`: undefined (property only)
|
|
9708
9925
|
*
|
|
9709
9926
|
* ## Methods
|
|
9710
9927
|
*
|
|
9711
9928
|
* Methods that can be called to access component functionality.
|
|
9712
9929
|
*
|
|
9713
|
-
* - `calculate() => Readonly<
|
|
9930
|
+
* - `calculate() => Readonly<T>`: undefined
|
|
9714
9931
|
*/
|
|
9715
9932
|
"qti-contains": Partial<
|
|
9716
9933
|
QtiContainsProps & BaseProps<QtiContains> & BaseEvents
|
|
@@ -9724,6 +9941,20 @@ export type CustomElements = {
|
|
|
9724
9941
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9725
9942
|
*
|
|
9726
9943
|
* - `interpretation`: undefined (property only) (readonly)
|
|
9944
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
9945
|
+
*
|
|
9946
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
9947
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
9948
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
9949
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
9950
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9951
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
9952
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
9953
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
9954
|
+
*
|
|
9955
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
9956
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
9957
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9727
9958
|
* - `getVariables`: undefined (property only)
|
|
9728
9959
|
*
|
|
9729
9960
|
* ## Methods
|
|
@@ -9742,6 +9973,20 @@ export type CustomElements = {
|
|
|
9742
9973
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9743
9974
|
*
|
|
9744
9975
|
* - `identifier`: undefined
|
|
9976
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
9977
|
+
*
|
|
9978
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
9979
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
9980
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
9981
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
9982
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9983
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
9984
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
9985
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
9986
|
+
*
|
|
9987
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
9988
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
9989
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9745
9990
|
* - `getVariables`: undefined (property only)
|
|
9746
9991
|
*
|
|
9747
9992
|
* ## Methods
|
|
@@ -9759,6 +10004,20 @@ export type CustomElements = {
|
|
|
9759
10004
|
*
|
|
9760
10005
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9761
10006
|
*
|
|
10007
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10008
|
+
*
|
|
10009
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10010
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10011
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10012
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10013
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10014
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10015
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10016
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10017
|
+
*
|
|
10018
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10019
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10020
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9762
10021
|
* - `getVariables`: undefined (property only)
|
|
9763
10022
|
*
|
|
9764
10023
|
* ## Methods
|
|
@@ -9776,6 +10035,14 @@ export type CustomElements = {
|
|
|
9776
10035
|
*
|
|
9777
10036
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9778
10037
|
*
|
|
10038
|
+
* - `resultBaseType`: Always a float, even dividing two integers exactly. (property only) (readonly)
|
|
10039
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10040
|
+
*
|
|
10041
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10042
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10043
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10044
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10045
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9779
10046
|
* - `getVariables`: undefined (property only)
|
|
9780
10047
|
*
|
|
9781
10048
|
* ## Methods
|
|
@@ -9793,6 +10060,20 @@ export type CustomElements = {
|
|
|
9793
10060
|
*
|
|
9794
10061
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9795
10062
|
*
|
|
10063
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10064
|
+
*
|
|
10065
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10066
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10067
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10068
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10069
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10070
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10071
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10072
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10073
|
+
*
|
|
10074
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10075
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10076
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9796
10077
|
* - `getVariables`: undefined (property only)
|
|
9797
10078
|
*
|
|
9798
10079
|
* ## Methods
|
|
@@ -9812,6 +10093,20 @@ export type CustomElements = {
|
|
|
9812
10093
|
*
|
|
9813
10094
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9814
10095
|
*
|
|
10096
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10097
|
+
*
|
|
10098
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10099
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10100
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10101
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10102
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10103
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10104
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10105
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10106
|
+
*
|
|
10107
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10108
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10109
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9815
10110
|
* - `getVariables`: undefined (property only)
|
|
9816
10111
|
*
|
|
9817
10112
|
* ## Methods
|
|
@@ -9831,8 +10126,22 @@ export type CustomElements = {
|
|
|
9831
10126
|
*
|
|
9832
10127
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9833
10128
|
*
|
|
9834
|
-
* - `roundingMode`: undefined
|
|
10129
|
+
* - `rounding-mode`/`roundingMode`: undefined
|
|
9835
10130
|
* - `figures`: undefined (property only) (readonly)
|
|
10131
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10132
|
+
*
|
|
10133
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10134
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10135
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10136
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10137
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10138
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10139
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10140
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10141
|
+
*
|
|
10142
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10143
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10144
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9836
10145
|
* - `getVariables`: undefined (property only)
|
|
9837
10146
|
*
|
|
9838
10147
|
* ## Methods
|
|
@@ -9852,7 +10161,26 @@ export type CustomElements = {
|
|
|
9852
10161
|
*
|
|
9853
10162
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9854
10163
|
*
|
|
9855
|
-
* - `toleranceMode`: undefined
|
|
10164
|
+
* - `tolerance-mode`/`toleranceMode`: undefined
|
|
10165
|
+
* - `tolerance`: One or two numbers: the lower and upper tolerance. One means both.
|
|
10166
|
+
* - `includeLowerBound`: Read off the attribute rather than declared as a Lit boolean property: QTI
|
|
10167
|
+
* writes `include-lower-bound="false"`, and Lit's boolean converter takes the
|
|
10168
|
+
* mere presence of an attribute as true. Both default to true, per the spec. (property only) (readonly)
|
|
10169
|
+
* - `includeUpperBound`: undefined (property only) (readonly)
|
|
10170
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10171
|
+
*
|
|
10172
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10173
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10174
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10175
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10176
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10177
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10178
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10179
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10180
|
+
*
|
|
10181
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10182
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10183
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9856
10184
|
* - `getVariables`: undefined (property only)
|
|
9857
10185
|
*
|
|
9858
10186
|
* ## Methods
|
|
@@ -9863,6 +10191,43 @@ export type CustomElements = {
|
|
|
9863
10191
|
*/
|
|
9864
10192
|
"qti-equal": Partial<QtiEqualProps & BaseProps<QtiEqual> & BaseEvents>;
|
|
9865
10193
|
|
|
10194
|
+
/**
|
|
10195
|
+
*
|
|
10196
|
+
*
|
|
10197
|
+
* ## Methods
|
|
10198
|
+
*
|
|
10199
|
+
* Methods that can be called to access component functionality.
|
|
10200
|
+
*
|
|
10201
|
+
* - `process() => void`: undefined
|
|
10202
|
+
*/
|
|
10203
|
+
"qti-rule": Partial<QtiRuleProps & BaseProps<QtiRule> & BaseEvents>;
|
|
10204
|
+
|
|
10205
|
+
/**
|
|
10206
|
+
*
|
|
10207
|
+
*
|
|
10208
|
+
* ## Methods
|
|
10209
|
+
*
|
|
10210
|
+
* Methods that can be called to access component functionality.
|
|
10211
|
+
*
|
|
10212
|
+
* - `process() => never`: undefined
|
|
10213
|
+
*/
|
|
10214
|
+
"qti-exit-response": Partial<
|
|
10215
|
+
QtiExitResponseProps & BaseProps<QtiExitResponse> & BaseEvents
|
|
10216
|
+
>;
|
|
10217
|
+
|
|
10218
|
+
/**
|
|
10219
|
+
*
|
|
10220
|
+
*
|
|
10221
|
+
* ## Methods
|
|
10222
|
+
*
|
|
10223
|
+
* Methods that can be called to access component functionality.
|
|
10224
|
+
*
|
|
10225
|
+
* - `process() => never`: undefined
|
|
10226
|
+
*/
|
|
10227
|
+
"qti-exit-test": Partial<
|
|
10228
|
+
QtiExitTestProps & BaseProps<QtiExitTest> & BaseEvents
|
|
10229
|
+
>;
|
|
10230
|
+
|
|
9866
10231
|
/**
|
|
9867
10232
|
*
|
|
9868
10233
|
*
|
|
@@ -9870,6 +10235,20 @@ export type CustomElements = {
|
|
|
9870
10235
|
*
|
|
9871
10236
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9872
10237
|
*
|
|
10238
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10239
|
+
*
|
|
10240
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10241
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10242
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10243
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10244
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10245
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10246
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10247
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10248
|
+
*
|
|
10249
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10250
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10251
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9873
10252
|
* - `getVariables`: undefined (property only)
|
|
9874
10253
|
*
|
|
9875
10254
|
* ## Methods
|
|
@@ -9889,6 +10268,20 @@ export type CustomElements = {
|
|
|
9889
10268
|
*
|
|
9890
10269
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9891
10270
|
*
|
|
10271
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10272
|
+
*
|
|
10273
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10274
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10275
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10276
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10277
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10278
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10279
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10280
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10281
|
+
*
|
|
10282
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10283
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10284
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9892
10285
|
* - `getVariables`: undefined (property only)
|
|
9893
10286
|
*
|
|
9894
10287
|
* ## Methods
|
|
@@ -9906,6 +10299,20 @@ export type CustomElements = {
|
|
|
9906
10299
|
*
|
|
9907
10300
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9908
10301
|
*
|
|
10302
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10303
|
+
*
|
|
10304
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10305
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10306
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10307
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10308
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10309
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10310
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10311
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10312
|
+
*
|
|
10313
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10314
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10315
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9909
10316
|
* - `getVariables`: undefined (property only)
|
|
9910
10317
|
*
|
|
9911
10318
|
* ## Methods
|
|
@@ -9923,6 +10330,20 @@ export type CustomElements = {
|
|
|
9923
10330
|
*
|
|
9924
10331
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9925
10332
|
*
|
|
10333
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10334
|
+
*
|
|
10335
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10336
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10337
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10338
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10339
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10340
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10341
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10342
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10343
|
+
*
|
|
10344
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10345
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10346
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9926
10347
|
* - `getVariables`: undefined (property only)
|
|
9927
10348
|
*
|
|
9928
10349
|
* ## Methods
|
|
@@ -9941,6 +10362,20 @@ export type CustomElements = {
|
|
|
9941
10362
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9942
10363
|
*
|
|
9943
10364
|
* - `n`: undefined
|
|
10365
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10366
|
+
*
|
|
10367
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10368
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10369
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10370
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10371
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10372
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10373
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10374
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10375
|
+
*
|
|
10376
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10377
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10378
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9944
10379
|
* - `getVariables`: undefined (property only)
|
|
9945
10380
|
*
|
|
9946
10381
|
* ## Methods
|
|
@@ -9960,6 +10395,20 @@ export type CustomElements = {
|
|
|
9960
10395
|
*
|
|
9961
10396
|
* - `shape`: undefined
|
|
9962
10397
|
* - `coords`: undefined
|
|
10398
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10399
|
+
*
|
|
10400
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10401
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10402
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10403
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10404
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10405
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10406
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10407
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10408
|
+
*
|
|
10409
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10410
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10411
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9963
10412
|
* - `getVariables`: undefined (property only)
|
|
9964
10413
|
*
|
|
9965
10414
|
* ## Methods
|
|
@@ -9977,6 +10426,20 @@ export type CustomElements = {
|
|
|
9977
10426
|
*
|
|
9978
10427
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9979
10428
|
*
|
|
10429
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10430
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10431
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10432
|
+
*
|
|
10433
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10434
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10435
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10436
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10437
|
+
*
|
|
10438
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10439
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10440
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10441
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10442
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9980
10443
|
* - `getVariables`: undefined (property only)
|
|
9981
10444
|
*
|
|
9982
10445
|
* ## Methods
|
|
@@ -9996,6 +10459,20 @@ export type CustomElements = {
|
|
|
9996
10459
|
*
|
|
9997
10460
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9998
10461
|
*
|
|
10462
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10463
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10464
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10465
|
+
*
|
|
10466
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10467
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10468
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10469
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10470
|
+
*
|
|
10471
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10472
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10473
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10474
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10475
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9999
10476
|
* - `getVariables`: undefined (property only)
|
|
10000
10477
|
*
|
|
10001
10478
|
* ## Methods
|
|
@@ -10015,6 +10492,20 @@ export type CustomElements = {
|
|
|
10015
10492
|
*
|
|
10016
10493
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10017
10494
|
*
|
|
10495
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10496
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10497
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10498
|
+
*
|
|
10499
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10500
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10501
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10502
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10503
|
+
*
|
|
10504
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10505
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10506
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10507
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10508
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10018
10509
|
* - `getVariables`: undefined (property only)
|
|
10019
10510
|
*
|
|
10020
10511
|
* ## Methods
|
|
@@ -10034,6 +10525,20 @@ export type CustomElements = {
|
|
|
10034
10525
|
*
|
|
10035
10526
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10036
10527
|
*
|
|
10528
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10529
|
+
*
|
|
10530
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10531
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10532
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10533
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10534
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10535
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10536
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10537
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10538
|
+
*
|
|
10539
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10540
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10541
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10037
10542
|
* - `getVariables`: undefined (property only)
|
|
10038
10543
|
*
|
|
10039
10544
|
* ## Methods
|
|
@@ -10051,6 +10556,20 @@ export type CustomElements = {
|
|
|
10051
10556
|
*
|
|
10052
10557
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10053
10558
|
*
|
|
10559
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10560
|
+
*
|
|
10561
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10562
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10563
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10564
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10565
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10566
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10567
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10568
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10569
|
+
*
|
|
10570
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10571
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10572
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10054
10573
|
* - `getVariables`: undefined (property only)
|
|
10055
10574
|
*
|
|
10056
10575
|
* ## Methods
|
|
@@ -10061,17 +10580,6 @@ export type CustomElements = {
|
|
|
10061
10580
|
*/
|
|
10062
10581
|
"qti-lcm": Partial<QtiLcmProps & BaseProps<QtiLcm> & BaseEvents>;
|
|
10063
10582
|
|
|
10064
|
-
/**
|
|
10065
|
-
*
|
|
10066
|
-
*
|
|
10067
|
-
* ## Methods
|
|
10068
|
-
*
|
|
10069
|
-
* Methods that can be called to access component functionality.
|
|
10070
|
-
*
|
|
10071
|
-
* - `process() => void`: undefined
|
|
10072
|
-
*/
|
|
10073
|
-
"qti-rule": Partial<QtiRuleProps & BaseProps<QtiRule> & BaseEvents>;
|
|
10074
|
-
|
|
10075
10583
|
/**
|
|
10076
10584
|
* The lookupOutcomeValue rule sets the value of an outcome variable to the value obtained
|
|
10077
10585
|
* by looking up the value of the associated expression in the lookupTable associated
|
|
@@ -10094,7 +10602,7 @@ export type CustomElements = {
|
|
|
10094
10602
|
*
|
|
10095
10603
|
* Methods that can be called to access component functionality.
|
|
10096
10604
|
*
|
|
10097
|
-
* - `process() => number`: undefined
|
|
10605
|
+
* - `process() => number | string | null`: undefined
|
|
10098
10606
|
*/
|
|
10099
10607
|
"qti-lookup-outcome-value": Partial<
|
|
10100
10608
|
QtiLookupOutcomeValueProps & BaseProps<QtiLookupOutcomeValue> & BaseEvents
|
|
@@ -10107,6 +10615,20 @@ export type CustomElements = {
|
|
|
10107
10615
|
*
|
|
10108
10616
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10109
10617
|
*
|
|
10618
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10619
|
+
*
|
|
10620
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10621
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10622
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10623
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10624
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10625
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10626
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10627
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10628
|
+
*
|
|
10629
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10630
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10631
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10110
10632
|
* - `getVariables`: undefined (property only)
|
|
10111
10633
|
*
|
|
10112
10634
|
* ## Methods
|
|
@@ -10124,6 +10646,20 @@ export type CustomElements = {
|
|
|
10124
10646
|
*
|
|
10125
10647
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10126
10648
|
*
|
|
10649
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10650
|
+
*
|
|
10651
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10652
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10653
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10654
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10655
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10656
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10657
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10658
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10659
|
+
*
|
|
10660
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10661
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10662
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10127
10663
|
* - `getVariables`: undefined (property only)
|
|
10128
10664
|
*
|
|
10129
10665
|
* ## Methods
|
|
@@ -10142,6 +10678,20 @@ export type CustomElements = {
|
|
|
10142
10678
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10143
10679
|
*
|
|
10144
10680
|
* - `identifier`: undefined
|
|
10681
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10682
|
+
*
|
|
10683
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10684
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10685
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10686
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10687
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10688
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10689
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10690
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10691
|
+
*
|
|
10692
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10693
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10694
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10145
10695
|
* - `getVariables`: undefined (property only)
|
|
10146
10696
|
*
|
|
10147
10697
|
* ## Methods
|
|
@@ -10162,6 +10712,20 @@ export type CustomElements = {
|
|
|
10162
10712
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10163
10713
|
*
|
|
10164
10714
|
* - `identifier`: undefined
|
|
10715
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10716
|
+
*
|
|
10717
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10718
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10719
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10720
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10721
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10722
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10723
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10724
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10725
|
+
*
|
|
10726
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10727
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10728
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10165
10729
|
* - `getVariables`: undefined (property only)
|
|
10166
10730
|
*
|
|
10167
10731
|
* ## Methods
|
|
@@ -10181,6 +10745,20 @@ export type CustomElements = {
|
|
|
10181
10745
|
*
|
|
10182
10746
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10183
10747
|
*
|
|
10748
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10749
|
+
*
|
|
10750
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10751
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10752
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10753
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10754
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10755
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10756
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10757
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10758
|
+
*
|
|
10759
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10760
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10761
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10184
10762
|
* - `getVariables`: undefined (property only)
|
|
10185
10763
|
*
|
|
10186
10764
|
* ## Methods
|
|
@@ -10200,6 +10778,49 @@ export type CustomElements = {
|
|
|
10200
10778
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10201
10779
|
*
|
|
10202
10780
|
* - `name`: undefined
|
|
10781
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10782
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10783
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10784
|
+
*
|
|
10785
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10786
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10787
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10788
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10789
|
+
*
|
|
10790
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10791
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10792
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10793
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10794
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10795
|
+
* - `getVariables`: undefined (property only)
|
|
10796
|
+
*
|
|
10797
|
+
* ## Methods
|
|
10798
|
+
*
|
|
10799
|
+
* Methods that can be called to access component functionality.
|
|
10800
|
+
*
|
|
10801
|
+
* - `calculate() => Readonly<T>`: undefined
|
|
10802
|
+
*/
|
|
10803
|
+
"qti-math-constant": Partial<
|
|
10804
|
+
QtiMathConstantProps & BaseProps<QtiMathConstant> & BaseEvents
|
|
10805
|
+
>;
|
|
10806
|
+
|
|
10807
|
+
/**
|
|
10808
|
+
*
|
|
10809
|
+
*
|
|
10810
|
+
* ## Attributes & Properties
|
|
10811
|
+
*
|
|
10812
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10813
|
+
*
|
|
10814
|
+
* - `name`: undefined
|
|
10815
|
+
* - `resultBaseType`: Float for every function except the three that produce a whole number:
|
|
10816
|
+
* `floor`, `ceil` and `signum`. (property only) (readonly)
|
|
10817
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10818
|
+
*
|
|
10819
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10820
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10821
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10822
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10823
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10203
10824
|
* - `getVariables`: undefined (property only)
|
|
10204
10825
|
*
|
|
10205
10826
|
* ## Methods
|
|
@@ -10219,6 +10840,20 @@ export type CustomElements = {
|
|
|
10219
10840
|
*
|
|
10220
10841
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10221
10842
|
*
|
|
10843
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10844
|
+
*
|
|
10845
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10846
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10847
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10848
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10849
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10850
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10851
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10852
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10853
|
+
*
|
|
10854
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10855
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10856
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10222
10857
|
* - `getVariables`: undefined (property only)
|
|
10223
10858
|
*
|
|
10224
10859
|
* ## Methods
|
|
@@ -10236,6 +10871,20 @@ export type CustomElements = {
|
|
|
10236
10871
|
*
|
|
10237
10872
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10238
10873
|
*
|
|
10874
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10875
|
+
*
|
|
10876
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10877
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10878
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10879
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10880
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10881
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10882
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10883
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10884
|
+
*
|
|
10885
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10886
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10887
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10239
10888
|
* - `getVariables`: undefined (property only)
|
|
10240
10889
|
*
|
|
10241
10890
|
* ## Methods
|
|
@@ -10253,6 +10902,20 @@ export type CustomElements = {
|
|
|
10253
10902
|
*
|
|
10254
10903
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10255
10904
|
*
|
|
10905
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10906
|
+
*
|
|
10907
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10908
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10909
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10910
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10911
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10912
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10913
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10914
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10915
|
+
*
|
|
10916
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10917
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10918
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10256
10919
|
* - `getVariables`: undefined (property only)
|
|
10257
10920
|
*
|
|
10258
10921
|
* ## Methods
|
|
@@ -10270,6 +10933,20 @@ export type CustomElements = {
|
|
|
10270
10933
|
*
|
|
10271
10934
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10272
10935
|
*
|
|
10936
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10937
|
+
*
|
|
10938
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10939
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10940
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10941
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10942
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10943
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10944
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10945
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10946
|
+
*
|
|
10947
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10948
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10949
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10273
10950
|
* - `getVariables`: undefined (property only)
|
|
10274
10951
|
*
|
|
10275
10952
|
* ## Methods
|
|
@@ -10289,6 +10966,20 @@ export type CustomElements = {
|
|
|
10289
10966
|
*
|
|
10290
10967
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10291
10968
|
*
|
|
10969
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10970
|
+
*
|
|
10971
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
10972
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
10973
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
10974
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10975
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10976
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10977
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10978
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10979
|
+
*
|
|
10980
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
10981
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10982
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10292
10983
|
* - `getVariables`: undefined (property only)
|
|
10293
10984
|
*
|
|
10294
10985
|
* ## Methods
|
|
@@ -10306,6 +10997,20 @@ export type CustomElements = {
|
|
|
10306
10997
|
*
|
|
10307
10998
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10308
10999
|
*
|
|
11000
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11001
|
+
*
|
|
11002
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11003
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11004
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11005
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11006
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11007
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11008
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11009
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11010
|
+
*
|
|
11011
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11012
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11013
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10309
11014
|
* - `getVariables`: undefined (property only)
|
|
10310
11015
|
*
|
|
10311
11016
|
* ## Methods
|
|
@@ -10323,6 +11028,20 @@ export type CustomElements = {
|
|
|
10323
11028
|
*
|
|
10324
11029
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10325
11030
|
*
|
|
11031
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11032
|
+
*
|
|
11033
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11034
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11035
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11036
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11037
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11038
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11039
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11040
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11041
|
+
*
|
|
11042
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11043
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11044
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10326
11045
|
* - `getVariables`: undefined (property only)
|
|
10327
11046
|
*
|
|
10328
11047
|
* ## Methods
|
|
@@ -10340,6 +11059,20 @@ export type CustomElements = {
|
|
|
10340
11059
|
*
|
|
10341
11060
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10342
11061
|
*
|
|
11062
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11063
|
+
*
|
|
11064
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11065
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11066
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11067
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11068
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11069
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11070
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11071
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11072
|
+
*
|
|
11073
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11074
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11075
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10343
11076
|
* - `getVariables`: undefined (property only)
|
|
10344
11077
|
*
|
|
10345
11078
|
* ## Methods
|
|
@@ -10416,6 +11149,20 @@ export type CustomElements = {
|
|
|
10416
11149
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10417
11150
|
*
|
|
10418
11151
|
* - `pattern`: undefined
|
|
11152
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11153
|
+
*
|
|
11154
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11155
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11156
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11157
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11158
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11159
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11160
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11161
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11162
|
+
*
|
|
11163
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11164
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11165
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10419
11166
|
* - `getVariables`: undefined (property only)
|
|
10420
11167
|
*
|
|
10421
11168
|
* ## Methods
|
|
@@ -10435,6 +11182,20 @@ export type CustomElements = {
|
|
|
10435
11182
|
*
|
|
10436
11183
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10437
11184
|
*
|
|
11185
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11186
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11187
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11188
|
+
*
|
|
11189
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11190
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11191
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
11192
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11193
|
+
*
|
|
11194
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11195
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11196
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11197
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11198
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10438
11199
|
* - `getVariables`: undefined (property only)
|
|
10439
11200
|
*
|
|
10440
11201
|
* ## Methods
|
|
@@ -10479,6 +11240,20 @@ export type CustomElements = {
|
|
|
10479
11240
|
*
|
|
10480
11241
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10481
11242
|
*
|
|
11243
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11244
|
+
*
|
|
11245
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11246
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11247
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11248
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11249
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11250
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11251
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11252
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11253
|
+
*
|
|
11254
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11255
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11256
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10482
11257
|
* - `getVariables`: undefined (property only)
|
|
10483
11258
|
*
|
|
10484
11259
|
* ## Methods
|
|
@@ -10499,6 +11274,20 @@ export type CustomElements = {
|
|
|
10499
11274
|
* - `min`: undefined
|
|
10500
11275
|
* - `max`: undefined
|
|
10501
11276
|
* - `step`: undefined
|
|
11277
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11278
|
+
*
|
|
11279
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11280
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11281
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11282
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11283
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11284
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11285
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11286
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11287
|
+
*
|
|
11288
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11289
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11290
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10502
11291
|
* - `getVariables`: undefined (property only)
|
|
10503
11292
|
*
|
|
10504
11293
|
* ## Methods
|
|
@@ -10519,6 +11308,20 @@ export type CustomElements = {
|
|
|
10519
11308
|
*
|
|
10520
11309
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10521
11310
|
*
|
|
11311
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11312
|
+
*
|
|
11313
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11314
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11315
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11316
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11317
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11318
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11319
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11320
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11321
|
+
*
|
|
11322
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11323
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11324
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10522
11325
|
* - `getVariables`: undefined (property only)
|
|
10523
11326
|
*
|
|
10524
11327
|
* ## Methods
|
|
@@ -10537,6 +11340,20 @@ export type CustomElements = {
|
|
|
10537
11340
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10538
11341
|
*
|
|
10539
11342
|
* - `number-repeats`/`numberRepeats`: undefined
|
|
11343
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11344
|
+
*
|
|
11345
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11346
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11347
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11348
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11349
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11350
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11351
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11352
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11353
|
+
*
|
|
11354
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11355
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11356
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10540
11357
|
* - `getVariables`: undefined (property only)
|
|
10541
11358
|
*
|
|
10542
11359
|
* ## Methods
|
|
@@ -10605,6 +11422,21 @@ export type CustomElements = {
|
|
|
10605
11422
|
QtiResponseElseProps & BaseProps<QtiResponseElse> & BaseEvents
|
|
10606
11423
|
>;
|
|
10607
11424
|
|
|
11425
|
+
/**
|
|
11426
|
+
*
|
|
11427
|
+
*
|
|
11428
|
+
* ## Methods
|
|
11429
|
+
*
|
|
11430
|
+
* Methods that can be called to access component functionality.
|
|
11431
|
+
*
|
|
11432
|
+
* - `process() => void`: undefined
|
|
11433
|
+
*/
|
|
11434
|
+
"qti-response-processing-fragment": Partial<
|
|
11435
|
+
QtiResponseProcessingFragmentProps &
|
|
11436
|
+
BaseProps<QtiResponseProcessingFragment> &
|
|
11437
|
+
BaseEvents
|
|
11438
|
+
>;
|
|
11439
|
+
|
|
10608
11440
|
/**
|
|
10609
11441
|
*
|
|
10610
11442
|
*
|
|
@@ -10614,6 +11446,20 @@ export type CustomElements = {
|
|
|
10614
11446
|
*
|
|
10615
11447
|
* - `rounding-mode`/`roundingMode`: undefined
|
|
10616
11448
|
* - `figures`: undefined
|
|
11449
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11450
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11451
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11452
|
+
*
|
|
11453
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11454
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11455
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
11456
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11457
|
+
*
|
|
11458
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11459
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11460
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11461
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11462
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10617
11463
|
* - `getVariables`: undefined (property only)
|
|
10618
11464
|
*
|
|
10619
11465
|
* ## Methods
|
|
@@ -10631,6 +11477,20 @@ export type CustomElements = {
|
|
|
10631
11477
|
*
|
|
10632
11478
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10633
11479
|
*
|
|
11480
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11481
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11482
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11483
|
+
*
|
|
11484
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11485
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11486
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
11487
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11488
|
+
*
|
|
11489
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11490
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11491
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11492
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11493
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10634
11494
|
* - `getVariables`: undefined (property only)
|
|
10635
11495
|
*
|
|
10636
11496
|
* ## Methods
|
|
@@ -10706,6 +11566,20 @@ export type CustomElements = {
|
|
|
10706
11566
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10707
11567
|
*
|
|
10708
11568
|
* - `name`: undefined
|
|
11569
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11570
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11571
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11572
|
+
*
|
|
11573
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11574
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11575
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
11576
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11577
|
+
*
|
|
11578
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11579
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11580
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11581
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11582
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10709
11583
|
* - `getVariables`: undefined (property only)
|
|
10710
11584
|
*
|
|
10711
11585
|
* ## Methods
|
|
@@ -10726,6 +11600,20 @@ export type CustomElements = {
|
|
|
10726
11600
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10727
11601
|
*
|
|
10728
11602
|
* - `case-sensitive`/`caseSensitive`: undefined
|
|
11603
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11604
|
+
*
|
|
11605
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11606
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11607
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11608
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11609
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11610
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11611
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11612
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11613
|
+
*
|
|
11614
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11615
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11616
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10729
11617
|
* - `getVariables`: undefined (property only)
|
|
10730
11618
|
*
|
|
10731
11619
|
* ## Methods
|
|
@@ -10746,6 +11634,20 @@ export type CustomElements = {
|
|
|
10746
11634
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10747
11635
|
*
|
|
10748
11636
|
* - `case-sensitive`/`caseSensitive`: undefined
|
|
11637
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11638
|
+
*
|
|
11639
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11640
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11641
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11642
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11643
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11644
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11645
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11646
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11647
|
+
*
|
|
11648
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11649
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11650
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10749
11651
|
* - `getVariables`: undefined (property only)
|
|
10750
11652
|
*
|
|
10751
11653
|
* ## Methods
|
|
@@ -10779,6 +11681,20 @@ export type CustomElements = {
|
|
|
10779
11681
|
*
|
|
10780
11682
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10781
11683
|
*
|
|
11684
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11685
|
+
*
|
|
11686
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11687
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11688
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11689
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11690
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11691
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11692
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11693
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11694
|
+
*
|
|
11695
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11696
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11697
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10782
11698
|
* - `getVariables`: undefined (property only)
|
|
10783
11699
|
*
|
|
10784
11700
|
* ## Methods
|
|
@@ -10796,6 +11712,20 @@ export type CustomElements = {
|
|
|
10796
11712
|
*
|
|
10797
11713
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10798
11714
|
*
|
|
11715
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11716
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11717
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11718
|
+
*
|
|
11719
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11720
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11721
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
11722
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11723
|
+
*
|
|
11724
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11725
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11726
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11727
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11728
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
10799
11729
|
* - `getVariables`: undefined (property only)
|
|
10800
11730
|
*
|
|
10801
11731
|
* ## Methods
|
|
@@ -10815,6 +11745,20 @@ export type CustomElements = {
|
|
|
10815
11745
|
*
|
|
10816
11746
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10817
11747
|
*
|
|
11748
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
11749
|
+
*
|
|
11750
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
11751
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
11752
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
11753
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
11754
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
11755
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
11756
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
11757
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
11758
|
+
*
|
|
11759
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
11760
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
11761
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
10818
11762
|
* - `getVariables`: undefined (property only)
|
|
10819
11763
|
*
|
|
10820
11764
|
* ## Methods
|
|
@@ -10836,7 +11780,7 @@ export type CustomElements = {
|
|
|
10836
11780
|
*
|
|
10837
11781
|
* - `identifier`: undefined
|
|
10838
11782
|
* - `adaptive`: undefined
|
|
10839
|
-
* - `timeDependent`: undefined
|
|
11783
|
+
* - `time-dependent`/`timeDependent`: undefined
|
|
10840
11784
|
* - `title`: undefined
|
|
10841
11785
|
* - `disabled`: undefined
|
|
10842
11786
|
* - `readonly`: undefined
|
|
@@ -10886,6 +11830,19 @@ export type CustomElements = {
|
|
|
10886
11830
|
* - `configContext`: undefined (property only)
|
|
10887
11831
|
* - `qtiContext`: Provided so that descendants (e.g. `<item-container>`) can read the QTI runtime
|
|
10888
11832
|
* context for standalone item delivery, including the optional shuffle `seed`. (property only)
|
|
11833
|
+
*
|
|
11834
|
+
* ## Methods
|
|
11835
|
+
*
|
|
11836
|
+
* Methods that can be called to access component functionality.
|
|
11837
|
+
*
|
|
11838
|
+
* - `updateAssessmentItemView(assessmentItem: QtiAssessmentItem, view: View) => void`: Scorer view IS the answer key, the same pairing `QtiTestCorrection` makes at test level.
|
|
11839
|
+
* A marker switching to `scorer` to read the rubric would otherwise have to ask for the key
|
|
11840
|
+
* separately, and the two would drift apart.
|
|
11841
|
+
*
|
|
11842
|
+
* `scorer` alone because that is what the test side does — not because no other audience has
|
|
11843
|
+
* a use for a key. An author reviewing their own item plainly wants one, and arguably a tutor
|
|
11844
|
+
* does too. If that is ever granted it has to be granted in both places at once, or the same
|
|
11845
|
+
* item answers differently depending on whether it is delivered inside a test.
|
|
10889
11846
|
*/
|
|
10890
11847
|
"qti-item": Partial<
|
|
10891
11848
|
QtiItemCorrectionProps & BaseProps<QtiItemCorrection> & BaseEvents
|
|
@@ -11128,7 +12085,7 @@ export type CustomElementsSolidJs = {
|
|
|
11128
12085
|
*
|
|
11129
12086
|
* - `identifier`: undefined
|
|
11130
12087
|
* - `adaptive`: undefined
|
|
11131
|
-
* - `timeDependent`: undefined
|
|
12088
|
+
* - `time-dependent`/`timeDependent`: undefined
|
|
11132
12089
|
* - `title`: undefined
|
|
11133
12090
|
* - `disabled`: undefined
|
|
11134
12091
|
* - `readonly`: undefined
|
|
@@ -11228,14 +12185,33 @@ export type CustomElementsSolidJs = {
|
|
|
11228
12185
|
|
|
11229
12186
|
/**
|
|
11230
12187
|
* https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
|
|
12188
|
+
*
|
|
12189
|
+
* A custom operator is outside the QTI vocabulary, so what it does is supplied
|
|
12190
|
+
* by the delivery engine rather than by the item. Two ways to supply it:
|
|
12191
|
+
*
|
|
12192
|
+
* `definition` names an operator the host registered with
|
|
12193
|
+
* `registerCustomOperator`, or one of the built-ins (`Trim`, `ToAscii`,
|
|
12194
|
+
* `ParseCommaDecimal` under the `depcp:`, `questify:` and `qade:` prefixes).
|
|
12195
|
+
* The operator is handed the calculated values of the child expressions:
|
|
12196
|
+
*
|
|
12197
|
+
* ```xml
|
|
12198
|
+
* <qti-custom-operator definition="depcp:Trim">
|
|
12199
|
+
* <qti-variable identifier="RESPONSE"/>
|
|
12200
|
+
* </qti-custom-operator>
|
|
12201
|
+
* ```
|
|
12202
|
+
*
|
|
12203
|
+
* `class="js.org"` instead runs inline JavaScript out of a CDATA section:
|
|
12204
|
+
*
|
|
12205
|
+
* ```xml
|
|
11231
12206
|
* <qti-custom-operator class="js.org">
|
|
11232
|
-
*
|
|
11233
|
-
*
|
|
11234
|
-
*
|
|
11235
|
-
*
|
|
11236
|
-
*
|
|
11237
|
-
*
|
|
11238
|
-
*
|
|
12207
|
+
* <qti-base-value base-type="string"><![CDATA[
|
|
12208
|
+
* console.log(context.variables);
|
|
12209
|
+
* return 'B'
|
|
12210
|
+
* ]]></qti-base-value>
|
|
12211
|
+
* </qti-custom-operator>
|
|
12212
|
+
* ```
|
|
12213
|
+
*
|
|
12214
|
+
* `definition` is checked first; the two do not interact.
|
|
11239
12215
|
*
|
|
11240
12216
|
* ## Events
|
|
11241
12217
|
*
|
|
@@ -11388,7 +12364,14 @@ export type CustomElementsSolidJs = {
|
|
|
11388
12364
|
* - `identifier`: undefined
|
|
11389
12365
|
* - `cardinality`: undefined
|
|
11390
12366
|
* - `itemContext`: undefined (property only)
|
|
11391
|
-
* - `interpolationTable`:
|
|
12367
|
+
* - `interpolationTable`: The entries of a `qti-interpolation-table`, in document order.
|
|
12368
|
+
*
|
|
12369
|
+
* Order is load-bearing: each entry's `source-value` is the lower bound of a
|
|
12370
|
+
* range, and the lookup takes the first entry whose bound the source value
|
|
12371
|
+
* clears. A Map keyed by source value cannot express that. (property only) (readonly)
|
|
12372
|
+
* - `matchTable`: A qti-match-table maps a source value onto a target exactly, with no
|
|
12373
|
+
* boundaries and no interpolation. Targets keep their authored spelling
|
|
12374
|
+
* because a match table is not restricted to numeric outcomes. (property only) (readonly)
|
|
11392
12375
|
*
|
|
11393
12376
|
* ## Events
|
|
11394
12377
|
*
|
|
@@ -11547,6 +12530,15 @@ export type CustomElementsSolidJs = {
|
|
|
11547
12530
|
* </qti-item>
|
|
11548
12531
|
* ```
|
|
11549
12532
|
*
|
|
12533
|
+
* `view` selects the audience the item is presented to, which is what reveals `view`-tagged
|
|
12534
|
+
* content such as a scorer's `qti-rubric-block` — see `ItemViewMixin`.
|
|
12535
|
+
*
|
|
12536
|
+
* ```html
|
|
12537
|
+
* <qti-item view="scorer">
|
|
12538
|
+
* <item-container item-url="./path/to/item.xml"></item-container>
|
|
12539
|
+
* </qti-item>
|
|
12540
|
+
* ```
|
|
12541
|
+
*
|
|
11550
12542
|
* ## Attributes & Properties
|
|
11551
12543
|
*
|
|
11552
12544
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -11639,11 +12631,7 @@ export type CustomElementsSolidJs = {
|
|
|
11639
12631
|
*
|
|
11640
12632
|
* - `tabindex`: undefined
|
|
11641
12633
|
* - `internals`: `qti-gap-img` is a draggable chip, so it needs ElementInternals to carry the drag states
|
|
11642
|
-
* (`dragging`, `placeholder`).
|
|
11643
|
-
*
|
|
11644
|
-
* NOTE: this element never calls `super.connectedCallback()`, so Lit never enables updating
|
|
11645
|
-
* and it has no shadow root — which makes `qti-gap-img.styles.ts` dead code. Fixing that means
|
|
11646
|
-
* adding a `<slot>` to a `render()` first, otherwise the authored `<img>` child disappears. (property only)
|
|
12634
|
+
* (`dragging`, `placeholder`). (property only)
|
|
11647
12635
|
*/
|
|
11648
12636
|
"qti-gap-img": Partial<
|
|
11649
12637
|
QtiGapImgProps & QtiGapImgSolidJsProps & BaseProps<QtiGapImg> & BaseEvents
|
|
@@ -12502,8 +13490,8 @@ export type CustomElementsSolidJs = {
|
|
|
12502
13490
|
*
|
|
12503
13491
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
12504
13492
|
*
|
|
12505
|
-
* - `min-choices`/`minChoices`: undefined
|
|
12506
13493
|
* - `max-choices`/`maxChoices`: undefined
|
|
13494
|
+
* - `min-choices`/`minChoices`: undefined
|
|
12507
13495
|
* - `response`: undefined
|
|
12508
13496
|
* - `response-identifier`/`responseIdentifier`: undefined
|
|
12509
13497
|
* - `disabled`: undefined
|
|
@@ -13684,7 +14672,12 @@ export type CustomElementsSolidJs = {
|
|
|
13684
14672
|
* - `required`: undefined
|
|
13685
14673
|
* - `fixed`: undefined
|
|
13686
14674
|
* - `href`: undefined
|
|
13687
|
-
* - `
|
|
14675
|
+
* - `weights`: The `<qti-weight>` children of this ref, keyed by identifier — what
|
|
14676
|
+
* `qti-test-variables`' `weight-identifier` resolves against.
|
|
14677
|
+
*
|
|
14678
|
+
* Read on access rather than cached: the test document is rendered into this
|
|
14679
|
+
* element's light DOM, so the weights are not in place at construction time,
|
|
14680
|
+
* and outcome processing runs long after they are. (property only) (readonly)
|
|
13688
14681
|
* - `xmlDoc`: undefined (property only)
|
|
13689
14682
|
* - `assessmentItem`: undefined (property only) (readonly)
|
|
13690
14683
|
* - `myTemplate`: undefined (property only)
|
|
@@ -13784,6 +14777,42 @@ export type CustomElementsSolidJs = {
|
|
|
13784
14777
|
BaseEvents
|
|
13785
14778
|
>;
|
|
13786
14779
|
|
|
14780
|
+
/**
|
|
14781
|
+
*
|
|
14782
|
+
*
|
|
14783
|
+
* ## Attributes & Properties
|
|
14784
|
+
*
|
|
14785
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14786
|
+
*
|
|
14787
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
14788
|
+
*
|
|
14789
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
14790
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
14791
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
14792
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
14793
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
14794
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
14795
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
14796
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
14797
|
+
*
|
|
14798
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
14799
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
14800
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14801
|
+
* - `getVariables`: undefined (property only)
|
|
14802
|
+
*
|
|
14803
|
+
* ## Methods
|
|
14804
|
+
*
|
|
14805
|
+
* Methods that can be called to access component functionality.
|
|
14806
|
+
*
|
|
14807
|
+
* - `calculate() => number`: undefined
|
|
14808
|
+
*/
|
|
14809
|
+
"qti-number-selected": Partial<
|
|
14810
|
+
QtiNumberSelectedProps &
|
|
14811
|
+
QtiNumberSelectedSolidJsProps &
|
|
14812
|
+
BaseProps<QtiNumberSelected> &
|
|
14813
|
+
BaseEvents
|
|
14814
|
+
>;
|
|
14815
|
+
|
|
13787
14816
|
/**
|
|
13788
14817
|
*
|
|
13789
14818
|
*
|
|
@@ -13866,6 +14895,20 @@ export type CustomElementsSolidJs = {
|
|
|
13866
14895
|
*
|
|
13867
14896
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
13868
14897
|
*
|
|
14898
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
14899
|
+
*
|
|
14900
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
14901
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
14902
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
14903
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
14904
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
14905
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
14906
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
14907
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
14908
|
+
*
|
|
14909
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
14910
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
14911
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
13869
14912
|
* - `getVariables`: undefined (property only)
|
|
13870
14913
|
*
|
|
13871
14914
|
* ## Methods
|
|
@@ -14505,6 +15548,20 @@ export type CustomElementsSolidJs = {
|
|
|
14505
15548
|
*
|
|
14506
15549
|
* - `min`: undefined
|
|
14507
15550
|
* - `max`: undefined
|
|
15551
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15552
|
+
*
|
|
15553
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15554
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15555
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15556
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15557
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15558
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15559
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15560
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15561
|
+
*
|
|
15562
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15563
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15564
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14508
15565
|
* - `getVariables`: undefined (property only)
|
|
14509
15566
|
*
|
|
14510
15567
|
* ## Methods
|
|
@@ -14525,6 +15582,20 @@ export type CustomElementsSolidJs = {
|
|
|
14525
15582
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14526
15583
|
*
|
|
14527
15584
|
* - `base-type`/`baseType`: undefined
|
|
15585
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15586
|
+
*
|
|
15587
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15588
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15589
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15590
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15591
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15592
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15593
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15594
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15595
|
+
*
|
|
15596
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15597
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15598
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14528
15599
|
* - `getVariables`: undefined (property only)
|
|
14529
15600
|
*
|
|
14530
15601
|
* ## Methods
|
|
@@ -14547,6 +15618,20 @@ export type CustomElementsSolidJs = {
|
|
|
14547
15618
|
*
|
|
14548
15619
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14549
15620
|
*
|
|
15621
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15622
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15623
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15624
|
+
*
|
|
15625
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15626
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15627
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15628
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15629
|
+
*
|
|
15630
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15631
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15632
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15633
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15634
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
14550
15635
|
* - `getVariables`: undefined (property only)
|
|
14551
15636
|
*
|
|
14552
15637
|
* ## Methods
|
|
@@ -14569,13 +15654,27 @@ export type CustomElementsSolidJs = {
|
|
|
14569
15654
|
*
|
|
14570
15655
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14571
15656
|
*
|
|
15657
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15658
|
+
*
|
|
15659
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15660
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15661
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15662
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15663
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15664
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15665
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15666
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15667
|
+
*
|
|
15668
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15669
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15670
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14572
15671
|
* - `getVariables`: undefined (property only)
|
|
14573
15672
|
*
|
|
14574
15673
|
* ## Methods
|
|
14575
15674
|
*
|
|
14576
15675
|
* Methods that can be called to access component functionality.
|
|
14577
15676
|
*
|
|
14578
|
-
* - `calculate() => Readonly<
|
|
15677
|
+
* - `calculate() => Readonly<T>`: undefined
|
|
14579
15678
|
*/
|
|
14580
15679
|
"qti-contains": Partial<
|
|
14581
15680
|
QtiContainsProps &
|
|
@@ -14592,6 +15691,20 @@ export type CustomElementsSolidJs = {
|
|
|
14592
15691
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14593
15692
|
*
|
|
14594
15693
|
* - `interpretation`: undefined (property only) (readonly)
|
|
15694
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15695
|
+
*
|
|
15696
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15697
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15698
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15699
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15700
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15701
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15702
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15703
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15704
|
+
*
|
|
15705
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15706
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15707
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14595
15708
|
* - `getVariables`: undefined (property only)
|
|
14596
15709
|
*
|
|
14597
15710
|
* ## Methods
|
|
@@ -14615,6 +15728,20 @@ export type CustomElementsSolidJs = {
|
|
|
14615
15728
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14616
15729
|
*
|
|
14617
15730
|
* - `identifier`: undefined
|
|
15731
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15732
|
+
*
|
|
15733
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15734
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15735
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15736
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15737
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15738
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15739
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15740
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15741
|
+
*
|
|
15742
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15743
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15744
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14618
15745
|
* - `getVariables`: undefined (property only)
|
|
14619
15746
|
*
|
|
14620
15747
|
* ## Methods
|
|
@@ -14637,6 +15764,20 @@ export type CustomElementsSolidJs = {
|
|
|
14637
15764
|
*
|
|
14638
15765
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14639
15766
|
*
|
|
15767
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15768
|
+
*
|
|
15769
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15770
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15771
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15772
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15773
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15774
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15775
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15776
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15777
|
+
*
|
|
15778
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15779
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15780
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14640
15781
|
* - `getVariables`: undefined (property only)
|
|
14641
15782
|
*
|
|
14642
15783
|
* ## Methods
|
|
@@ -14656,6 +15797,14 @@ export type CustomElementsSolidJs = {
|
|
|
14656
15797
|
*
|
|
14657
15798
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14658
15799
|
*
|
|
15800
|
+
* - `resultBaseType`: Always a float, even dividing two integers exactly. (property only) (readonly)
|
|
15801
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15802
|
+
*
|
|
15803
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15804
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15805
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15806
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15807
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
14659
15808
|
* - `getVariables`: undefined (property only)
|
|
14660
15809
|
*
|
|
14661
15810
|
* ## Methods
|
|
@@ -14675,6 +15824,20 @@ export type CustomElementsSolidJs = {
|
|
|
14675
15824
|
*
|
|
14676
15825
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14677
15826
|
*
|
|
15827
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15828
|
+
*
|
|
15829
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15830
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15831
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15832
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15833
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15834
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15835
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15836
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15837
|
+
*
|
|
15838
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15839
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15840
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14678
15841
|
* - `getVariables`: undefined (property only)
|
|
14679
15842
|
*
|
|
14680
15843
|
* ## Methods
|
|
@@ -14697,6 +15860,20 @@ export type CustomElementsSolidJs = {
|
|
|
14697
15860
|
*
|
|
14698
15861
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14699
15862
|
*
|
|
15863
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15864
|
+
*
|
|
15865
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15866
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15867
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15868
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15869
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15870
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15871
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15872
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15873
|
+
*
|
|
15874
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15875
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15876
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14700
15877
|
* - `getVariables`: undefined (property only)
|
|
14701
15878
|
*
|
|
14702
15879
|
* ## Methods
|
|
@@ -14719,8 +15896,22 @@ export type CustomElementsSolidJs = {
|
|
|
14719
15896
|
*
|
|
14720
15897
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14721
15898
|
*
|
|
14722
|
-
* - `roundingMode`: undefined
|
|
15899
|
+
* - `rounding-mode`/`roundingMode`: undefined
|
|
14723
15900
|
* - `figures`: undefined (property only) (readonly)
|
|
15901
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15902
|
+
*
|
|
15903
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15904
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15905
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15906
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15907
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15908
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15909
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15910
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15911
|
+
*
|
|
15912
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15913
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15914
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14724
15915
|
* - `getVariables`: undefined (property only)
|
|
14725
15916
|
*
|
|
14726
15917
|
* ## Methods
|
|
@@ -14743,7 +15934,26 @@ export type CustomElementsSolidJs = {
|
|
|
14743
15934
|
*
|
|
14744
15935
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14745
15936
|
*
|
|
14746
|
-
* - `toleranceMode`: undefined
|
|
15937
|
+
* - `tolerance-mode`/`toleranceMode`: undefined
|
|
15938
|
+
* - `tolerance`: One or two numbers: the lower and upper tolerance. One means both.
|
|
15939
|
+
* - `includeLowerBound`: Read off the attribute rather than declared as a Lit boolean property: QTI
|
|
15940
|
+
* writes `include-lower-bound="false"`, and Lit's boolean converter takes the
|
|
15941
|
+
* mere presence of an attribute as true. Both default to true, per the spec. (property only) (readonly)
|
|
15942
|
+
* - `includeUpperBound`: undefined (property only) (readonly)
|
|
15943
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15944
|
+
*
|
|
15945
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15946
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15947
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15948
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15949
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15950
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15951
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15952
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15953
|
+
*
|
|
15954
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15955
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15956
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14747
15957
|
* - `getVariables`: undefined (property only)
|
|
14748
15958
|
*
|
|
14749
15959
|
* ## Methods
|
|
@@ -14756,6 +15966,51 @@ export type CustomElementsSolidJs = {
|
|
|
14756
15966
|
QtiEqualProps & QtiEqualSolidJsProps & BaseProps<QtiEqual> & BaseEvents
|
|
14757
15967
|
>;
|
|
14758
15968
|
|
|
15969
|
+
/**
|
|
15970
|
+
*
|
|
15971
|
+
*
|
|
15972
|
+
* ## Methods
|
|
15973
|
+
*
|
|
15974
|
+
* Methods that can be called to access component functionality.
|
|
15975
|
+
*
|
|
15976
|
+
* - `process() => void`: undefined
|
|
15977
|
+
*/
|
|
15978
|
+
"qti-rule": Partial<
|
|
15979
|
+
QtiRuleProps & QtiRuleSolidJsProps & BaseProps<QtiRule> & BaseEvents
|
|
15980
|
+
>;
|
|
15981
|
+
|
|
15982
|
+
/**
|
|
15983
|
+
*
|
|
15984
|
+
*
|
|
15985
|
+
* ## Methods
|
|
15986
|
+
*
|
|
15987
|
+
* Methods that can be called to access component functionality.
|
|
15988
|
+
*
|
|
15989
|
+
* - `process() => never`: undefined
|
|
15990
|
+
*/
|
|
15991
|
+
"qti-exit-response": Partial<
|
|
15992
|
+
QtiExitResponseProps &
|
|
15993
|
+
QtiExitResponseSolidJsProps &
|
|
15994
|
+
BaseProps<QtiExitResponse> &
|
|
15995
|
+
BaseEvents
|
|
15996
|
+
>;
|
|
15997
|
+
|
|
15998
|
+
/**
|
|
15999
|
+
*
|
|
16000
|
+
*
|
|
16001
|
+
* ## Methods
|
|
16002
|
+
*
|
|
16003
|
+
* Methods that can be called to access component functionality.
|
|
16004
|
+
*
|
|
16005
|
+
* - `process() => never`: undefined
|
|
16006
|
+
*/
|
|
16007
|
+
"qti-exit-test": Partial<
|
|
16008
|
+
QtiExitTestProps &
|
|
16009
|
+
QtiExitTestSolidJsProps &
|
|
16010
|
+
BaseProps<QtiExitTest> &
|
|
16011
|
+
BaseEvents
|
|
16012
|
+
>;
|
|
16013
|
+
|
|
14759
16014
|
/**
|
|
14760
16015
|
*
|
|
14761
16016
|
*
|
|
@@ -14763,6 +16018,20 @@ export type CustomElementsSolidJs = {
|
|
|
14763
16018
|
*
|
|
14764
16019
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14765
16020
|
*
|
|
16021
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16022
|
+
*
|
|
16023
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16024
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16025
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16026
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16027
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16028
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16029
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16030
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16031
|
+
*
|
|
16032
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16033
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16034
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14766
16035
|
* - `getVariables`: undefined (property only)
|
|
14767
16036
|
*
|
|
14768
16037
|
* ## Methods
|
|
@@ -14785,6 +16054,20 @@ export type CustomElementsSolidJs = {
|
|
|
14785
16054
|
*
|
|
14786
16055
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14787
16056
|
*
|
|
16057
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16058
|
+
*
|
|
16059
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16060
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16061
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16062
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16063
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16064
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16065
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16066
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16067
|
+
*
|
|
16068
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16069
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16070
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14788
16071
|
* - `getVariables`: undefined (property only)
|
|
14789
16072
|
*
|
|
14790
16073
|
* ## Methods
|
|
@@ -14804,6 +16087,20 @@ export type CustomElementsSolidJs = {
|
|
|
14804
16087
|
*
|
|
14805
16088
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14806
16089
|
*
|
|
16090
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16091
|
+
*
|
|
16092
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16093
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16094
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16095
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16096
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16097
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16098
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16099
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16100
|
+
*
|
|
16101
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16102
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16103
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14807
16104
|
* - `getVariables`: undefined (property only)
|
|
14808
16105
|
*
|
|
14809
16106
|
* ## Methods
|
|
@@ -14823,6 +16120,20 @@ export type CustomElementsSolidJs = {
|
|
|
14823
16120
|
*
|
|
14824
16121
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14825
16122
|
*
|
|
16123
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16124
|
+
*
|
|
16125
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16126
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16127
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16128
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16129
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16130
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16131
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16132
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16133
|
+
*
|
|
16134
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16135
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16136
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14826
16137
|
* - `getVariables`: undefined (property only)
|
|
14827
16138
|
*
|
|
14828
16139
|
* ## Methods
|
|
@@ -14843,6 +16154,20 @@ export type CustomElementsSolidJs = {
|
|
|
14843
16154
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14844
16155
|
*
|
|
14845
16156
|
* - `n`: undefined
|
|
16157
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16158
|
+
*
|
|
16159
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16160
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16161
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16162
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16163
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16164
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16165
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16166
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16167
|
+
*
|
|
16168
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16169
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16170
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14846
16171
|
* - `getVariables`: undefined (property only)
|
|
14847
16172
|
*
|
|
14848
16173
|
* ## Methods
|
|
@@ -14864,6 +16189,20 @@ export type CustomElementsSolidJs = {
|
|
|
14864
16189
|
*
|
|
14865
16190
|
* - `shape`: undefined
|
|
14866
16191
|
* - `coords`: undefined
|
|
16192
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16193
|
+
*
|
|
16194
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16195
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16196
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16197
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16198
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16199
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16200
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16201
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16202
|
+
*
|
|
16203
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16204
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16205
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14867
16206
|
* - `getVariables`: undefined (property only)
|
|
14868
16207
|
*
|
|
14869
16208
|
* ## Methods
|
|
@@ -14883,6 +16222,20 @@ export type CustomElementsSolidJs = {
|
|
|
14883
16222
|
*
|
|
14884
16223
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14885
16224
|
*
|
|
16225
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16226
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16227
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16228
|
+
*
|
|
16229
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16230
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16231
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
16232
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16233
|
+
*
|
|
16234
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16235
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16236
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16237
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16238
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
14886
16239
|
* - `getVariables`: undefined (property only)
|
|
14887
16240
|
*
|
|
14888
16241
|
* ## Methods
|
|
@@ -14905,6 +16258,20 @@ export type CustomElementsSolidJs = {
|
|
|
14905
16258
|
*
|
|
14906
16259
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14907
16260
|
*
|
|
16261
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16262
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16263
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16264
|
+
*
|
|
16265
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16266
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16267
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
16268
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16269
|
+
*
|
|
16270
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16271
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16272
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16273
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16274
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
14908
16275
|
* - `getVariables`: undefined (property only)
|
|
14909
16276
|
*
|
|
14910
16277
|
* ## Methods
|
|
@@ -14927,6 +16294,20 @@ export type CustomElementsSolidJs = {
|
|
|
14927
16294
|
*
|
|
14928
16295
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14929
16296
|
*
|
|
16297
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16298
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16299
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16300
|
+
*
|
|
16301
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16302
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16303
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
16304
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16305
|
+
*
|
|
16306
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16307
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16308
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16309
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16310
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
14930
16311
|
* - `getVariables`: undefined (property only)
|
|
14931
16312
|
*
|
|
14932
16313
|
* ## Methods
|
|
@@ -14949,6 +16330,20 @@ export type CustomElementsSolidJs = {
|
|
|
14949
16330
|
*
|
|
14950
16331
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14951
16332
|
*
|
|
16333
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16334
|
+
*
|
|
16335
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16336
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16337
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16338
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16339
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16340
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16341
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16342
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16343
|
+
*
|
|
16344
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16345
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16346
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14952
16347
|
* - `getVariables`: undefined (property only)
|
|
14953
16348
|
*
|
|
14954
16349
|
* ## Methods
|
|
@@ -14968,6 +16363,20 @@ export type CustomElementsSolidJs = {
|
|
|
14968
16363
|
*
|
|
14969
16364
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
14970
16365
|
*
|
|
16366
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16367
|
+
*
|
|
16368
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16369
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16370
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16371
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16372
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16373
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16374
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16375
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16376
|
+
*
|
|
16377
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16378
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16379
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
14971
16380
|
* - `getVariables`: undefined (property only)
|
|
14972
16381
|
*
|
|
14973
16382
|
* ## Methods
|
|
@@ -14980,19 +16389,6 @@ export type CustomElementsSolidJs = {
|
|
|
14980
16389
|
QtiLcmProps & QtiLcmSolidJsProps & BaseProps<QtiLcm> & BaseEvents
|
|
14981
16390
|
>;
|
|
14982
16391
|
|
|
14983
|
-
/**
|
|
14984
|
-
*
|
|
14985
|
-
*
|
|
14986
|
-
* ## Methods
|
|
14987
|
-
*
|
|
14988
|
-
* Methods that can be called to access component functionality.
|
|
14989
|
-
*
|
|
14990
|
-
* - `process() => void`: undefined
|
|
14991
|
-
*/
|
|
14992
|
-
"qti-rule": Partial<
|
|
14993
|
-
QtiRuleProps & QtiRuleSolidJsProps & BaseProps<QtiRule> & BaseEvents
|
|
14994
|
-
>;
|
|
14995
|
-
|
|
14996
16392
|
/**
|
|
14997
16393
|
* The lookupOutcomeValue rule sets the value of an outcome variable to the value obtained
|
|
14998
16394
|
* by looking up the value of the associated expression in the lookupTable associated
|
|
@@ -15015,7 +16411,7 @@ export type CustomElementsSolidJs = {
|
|
|
15015
16411
|
*
|
|
15016
16412
|
* Methods that can be called to access component functionality.
|
|
15017
16413
|
*
|
|
15018
|
-
* - `process() => number`: undefined
|
|
16414
|
+
* - `process() => number | string | null`: undefined
|
|
15019
16415
|
*/
|
|
15020
16416
|
"qti-lookup-outcome-value": Partial<
|
|
15021
16417
|
QtiLookupOutcomeValueProps &
|
|
@@ -15031,6 +16427,20 @@ export type CustomElementsSolidJs = {
|
|
|
15031
16427
|
*
|
|
15032
16428
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15033
16429
|
*
|
|
16430
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16431
|
+
*
|
|
16432
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16433
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16434
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16435
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16436
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16437
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16438
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16439
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16440
|
+
*
|
|
16441
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16442
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16443
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15034
16444
|
* - `getVariables`: undefined (property only)
|
|
15035
16445
|
*
|
|
15036
16446
|
* ## Methods
|
|
@@ -15050,6 +16460,20 @@ export type CustomElementsSolidJs = {
|
|
|
15050
16460
|
*
|
|
15051
16461
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15052
16462
|
*
|
|
16463
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16464
|
+
*
|
|
16465
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16466
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16467
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16468
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16469
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16470
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16471
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16472
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16473
|
+
*
|
|
16474
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16475
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16476
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15053
16477
|
* - `getVariables`: undefined (property only)
|
|
15054
16478
|
*
|
|
15055
16479
|
* ## Methods
|
|
@@ -15070,6 +16494,20 @@ export type CustomElementsSolidJs = {
|
|
|
15070
16494
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15071
16495
|
*
|
|
15072
16496
|
* - `identifier`: undefined
|
|
16497
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16498
|
+
*
|
|
16499
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16500
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16501
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16502
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16503
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16504
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16505
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16506
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16507
|
+
*
|
|
16508
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16509
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16510
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15073
16511
|
* - `getVariables`: undefined (property only)
|
|
15074
16512
|
*
|
|
15075
16513
|
* ## Methods
|
|
@@ -15093,6 +16531,20 @@ export type CustomElementsSolidJs = {
|
|
|
15093
16531
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15094
16532
|
*
|
|
15095
16533
|
* - `identifier`: undefined
|
|
16534
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16535
|
+
*
|
|
16536
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16537
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16538
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16539
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16540
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16541
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16542
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16543
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16544
|
+
*
|
|
16545
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16546
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16547
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15096
16548
|
* - `getVariables`: undefined (property only)
|
|
15097
16549
|
*
|
|
15098
16550
|
* ## Methods
|
|
@@ -15115,6 +16567,20 @@ export type CustomElementsSolidJs = {
|
|
|
15115
16567
|
*
|
|
15116
16568
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15117
16569
|
*
|
|
16570
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16571
|
+
*
|
|
16572
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16573
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16574
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16575
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16576
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16577
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16578
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16579
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16580
|
+
*
|
|
16581
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16582
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16583
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15118
16584
|
* - `getVariables`: undefined (property only)
|
|
15119
16585
|
*
|
|
15120
16586
|
* ## Methods
|
|
@@ -15136,6 +16602,52 @@ export type CustomElementsSolidJs = {
|
|
|
15136
16602
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15137
16603
|
*
|
|
15138
16604
|
* - `name`: undefined
|
|
16605
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16606
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16607
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16608
|
+
*
|
|
16609
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16610
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16611
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
16612
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16613
|
+
*
|
|
16614
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16615
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16616
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16617
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16618
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16619
|
+
* - `getVariables`: undefined (property only)
|
|
16620
|
+
*
|
|
16621
|
+
* ## Methods
|
|
16622
|
+
*
|
|
16623
|
+
* Methods that can be called to access component functionality.
|
|
16624
|
+
*
|
|
16625
|
+
* - `calculate() => Readonly<T>`: undefined
|
|
16626
|
+
*/
|
|
16627
|
+
"qti-math-constant": Partial<
|
|
16628
|
+
QtiMathConstantProps &
|
|
16629
|
+
QtiMathConstantSolidJsProps &
|
|
16630
|
+
BaseProps<QtiMathConstant> &
|
|
16631
|
+
BaseEvents
|
|
16632
|
+
>;
|
|
16633
|
+
|
|
16634
|
+
/**
|
|
16635
|
+
*
|
|
16636
|
+
*
|
|
16637
|
+
* ## Attributes & Properties
|
|
16638
|
+
*
|
|
16639
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
16640
|
+
*
|
|
16641
|
+
* - `name`: undefined
|
|
16642
|
+
* - `resultBaseType`: Float for every function except the three that produce a whole number:
|
|
16643
|
+
* `floor`, `ceil` and `signum`. (property only) (readonly)
|
|
16644
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16645
|
+
*
|
|
16646
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16647
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16648
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16649
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16650
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15139
16651
|
* - `getVariables`: undefined (property only)
|
|
15140
16652
|
*
|
|
15141
16653
|
* ## Methods
|
|
@@ -15158,6 +16670,20 @@ export type CustomElementsSolidJs = {
|
|
|
15158
16670
|
*
|
|
15159
16671
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15160
16672
|
*
|
|
16673
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16674
|
+
*
|
|
16675
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16676
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16677
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16678
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16679
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16680
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16681
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16682
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16683
|
+
*
|
|
16684
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16685
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16686
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15161
16687
|
* - `getVariables`: undefined (property only)
|
|
15162
16688
|
*
|
|
15163
16689
|
* ## Methods
|
|
@@ -15177,6 +16703,20 @@ export type CustomElementsSolidJs = {
|
|
|
15177
16703
|
*
|
|
15178
16704
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15179
16705
|
*
|
|
16706
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16707
|
+
*
|
|
16708
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16709
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16710
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16711
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16712
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16713
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16714
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16715
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16716
|
+
*
|
|
16717
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16718
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16719
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15180
16720
|
* - `getVariables`: undefined (property only)
|
|
15181
16721
|
*
|
|
15182
16722
|
* ## Methods
|
|
@@ -15196,6 +16736,20 @@ export type CustomElementsSolidJs = {
|
|
|
15196
16736
|
*
|
|
15197
16737
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15198
16738
|
*
|
|
16739
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16740
|
+
*
|
|
16741
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16742
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16743
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16744
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16745
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16746
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16747
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16748
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16749
|
+
*
|
|
16750
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16751
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16752
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15199
16753
|
* - `getVariables`: undefined (property only)
|
|
15200
16754
|
*
|
|
15201
16755
|
* ## Methods
|
|
@@ -15215,6 +16769,20 @@ export type CustomElementsSolidJs = {
|
|
|
15215
16769
|
*
|
|
15216
16770
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15217
16771
|
*
|
|
16772
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16773
|
+
*
|
|
16774
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16775
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16776
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16777
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16778
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16779
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16780
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16781
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16782
|
+
*
|
|
16783
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16784
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16785
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15218
16786
|
* - `getVariables`: undefined (property only)
|
|
15219
16787
|
*
|
|
15220
16788
|
* ## Methods
|
|
@@ -15237,6 +16805,20 @@ export type CustomElementsSolidJs = {
|
|
|
15237
16805
|
*
|
|
15238
16806
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15239
16807
|
*
|
|
16808
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16809
|
+
*
|
|
16810
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16811
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16812
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16813
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16814
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16815
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16816
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16817
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16818
|
+
*
|
|
16819
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16820
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16821
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15240
16822
|
* - `getVariables`: undefined (property only)
|
|
15241
16823
|
*
|
|
15242
16824
|
* ## Methods
|
|
@@ -15256,6 +16838,20 @@ export type CustomElementsSolidJs = {
|
|
|
15256
16838
|
*
|
|
15257
16839
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15258
16840
|
*
|
|
16841
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16842
|
+
*
|
|
16843
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16844
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16845
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16846
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16847
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16848
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16849
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16850
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16851
|
+
*
|
|
16852
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16853
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16854
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15259
16855
|
* - `getVariables`: undefined (property only)
|
|
15260
16856
|
*
|
|
15261
16857
|
* ## Methods
|
|
@@ -15275,6 +16871,20 @@ export type CustomElementsSolidJs = {
|
|
|
15275
16871
|
*
|
|
15276
16872
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15277
16873
|
*
|
|
16874
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16875
|
+
*
|
|
16876
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16877
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16878
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16879
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16880
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16881
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16882
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16883
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16884
|
+
*
|
|
16885
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16886
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16887
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15278
16888
|
* - `getVariables`: undefined (property only)
|
|
15279
16889
|
*
|
|
15280
16890
|
* ## Methods
|
|
@@ -15294,6 +16904,20 @@ export type CustomElementsSolidJs = {
|
|
|
15294
16904
|
*
|
|
15295
16905
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15296
16906
|
*
|
|
16907
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16908
|
+
*
|
|
16909
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
16910
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
16911
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
16912
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16913
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
16914
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16915
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16916
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16917
|
+
*
|
|
16918
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
16919
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16920
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15297
16921
|
* - `getVariables`: undefined (property only)
|
|
15298
16922
|
*
|
|
15299
16923
|
* ## Methods
|
|
@@ -15387,6 +17011,20 @@ export type CustomElementsSolidJs = {
|
|
|
15387
17011
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15388
17012
|
*
|
|
15389
17013
|
* - `pattern`: undefined
|
|
17014
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17015
|
+
*
|
|
17016
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17017
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17018
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17019
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17020
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
17021
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17022
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17023
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17024
|
+
*
|
|
17025
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17026
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17027
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15390
17028
|
* - `getVariables`: undefined (property only)
|
|
15391
17029
|
*
|
|
15392
17030
|
* ## Methods
|
|
@@ -15409,6 +17047,20 @@ export type CustomElementsSolidJs = {
|
|
|
15409
17047
|
*
|
|
15410
17048
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15411
17049
|
*
|
|
17050
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17051
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17052
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17053
|
+
*
|
|
17054
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17055
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17056
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
17057
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17058
|
+
*
|
|
17059
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17060
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17061
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17062
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17063
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15412
17064
|
* - `getVariables`: undefined (property only)
|
|
15413
17065
|
*
|
|
15414
17066
|
* ## Methods
|
|
@@ -15458,6 +17110,20 @@ export type CustomElementsSolidJs = {
|
|
|
15458
17110
|
*
|
|
15459
17111
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15460
17112
|
*
|
|
17113
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17114
|
+
*
|
|
17115
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17116
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17117
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17118
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17119
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
17120
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17121
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17122
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17123
|
+
*
|
|
17124
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17125
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17126
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15461
17127
|
* - `getVariables`: undefined (property only)
|
|
15462
17128
|
*
|
|
15463
17129
|
* ## Methods
|
|
@@ -15483,6 +17149,20 @@ export type CustomElementsSolidJs = {
|
|
|
15483
17149
|
* - `min`: undefined
|
|
15484
17150
|
* - `max`: undefined
|
|
15485
17151
|
* - `step`: undefined
|
|
17152
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17153
|
+
*
|
|
17154
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17155
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17156
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17157
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17158
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
17159
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17160
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17161
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17162
|
+
*
|
|
17163
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17164
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17165
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15486
17166
|
* - `getVariables`: undefined (property only)
|
|
15487
17167
|
*
|
|
15488
17168
|
* ## Methods
|
|
@@ -15506,6 +17186,20 @@ export type CustomElementsSolidJs = {
|
|
|
15506
17186
|
*
|
|
15507
17187
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15508
17188
|
*
|
|
17189
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17190
|
+
*
|
|
17191
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17192
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17193
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17194
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17195
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
17196
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17197
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17198
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17199
|
+
*
|
|
17200
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17201
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17202
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15509
17203
|
* - `getVariables`: undefined (property only)
|
|
15510
17204
|
*
|
|
15511
17205
|
* ## Methods
|
|
@@ -15526,6 +17220,20 @@ export type CustomElementsSolidJs = {
|
|
|
15526
17220
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15527
17221
|
*
|
|
15528
17222
|
* - `number-repeats`/`numberRepeats`: undefined
|
|
17223
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17224
|
+
*
|
|
17225
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17226
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17227
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17228
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17229
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
17230
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17231
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17232
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17233
|
+
*
|
|
17234
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17235
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17236
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15529
17237
|
* - `getVariables`: undefined (property only)
|
|
15530
17238
|
*
|
|
15531
17239
|
* ## Methods
|
|
@@ -15608,6 +17316,22 @@ export type CustomElementsSolidJs = {
|
|
|
15608
17316
|
BaseEvents
|
|
15609
17317
|
>;
|
|
15610
17318
|
|
|
17319
|
+
/**
|
|
17320
|
+
*
|
|
17321
|
+
*
|
|
17322
|
+
* ## Methods
|
|
17323
|
+
*
|
|
17324
|
+
* Methods that can be called to access component functionality.
|
|
17325
|
+
*
|
|
17326
|
+
* - `process() => void`: undefined
|
|
17327
|
+
*/
|
|
17328
|
+
"qti-response-processing-fragment": Partial<
|
|
17329
|
+
QtiResponseProcessingFragmentProps &
|
|
17330
|
+
QtiResponseProcessingFragmentSolidJsProps &
|
|
17331
|
+
BaseProps<QtiResponseProcessingFragment> &
|
|
17332
|
+
BaseEvents
|
|
17333
|
+
>;
|
|
17334
|
+
|
|
15611
17335
|
/**
|
|
15612
17336
|
*
|
|
15613
17337
|
*
|
|
@@ -15617,6 +17341,20 @@ export type CustomElementsSolidJs = {
|
|
|
15617
17341
|
*
|
|
15618
17342
|
* - `rounding-mode`/`roundingMode`: undefined
|
|
15619
17343
|
* - `figures`: undefined
|
|
17344
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17345
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17346
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17347
|
+
*
|
|
17348
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17349
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17350
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
17351
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17352
|
+
*
|
|
17353
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17354
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17355
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17356
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17357
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15620
17358
|
* - `getVariables`: undefined (property only)
|
|
15621
17359
|
*
|
|
15622
17360
|
* ## Methods
|
|
@@ -15639,6 +17377,20 @@ export type CustomElementsSolidJs = {
|
|
|
15639
17377
|
*
|
|
15640
17378
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15641
17379
|
*
|
|
17380
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17381
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17382
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17383
|
+
*
|
|
17384
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17385
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17386
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
17387
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17388
|
+
*
|
|
17389
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17390
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17391
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17392
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17393
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15642
17394
|
* - `getVariables`: undefined (property only)
|
|
15643
17395
|
*
|
|
15644
17396
|
* ## Methods
|
|
@@ -15725,6 +17477,20 @@ export type CustomElementsSolidJs = {
|
|
|
15725
17477
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15726
17478
|
*
|
|
15727
17479
|
* - `name`: undefined
|
|
17480
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17481
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17482
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17483
|
+
*
|
|
17484
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17485
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17486
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
17487
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17488
|
+
*
|
|
17489
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17490
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17491
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17492
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17493
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15728
17494
|
* - `getVariables`: undefined (property only)
|
|
15729
17495
|
*
|
|
15730
17496
|
* ## Methods
|
|
@@ -15748,6 +17514,20 @@ export type CustomElementsSolidJs = {
|
|
|
15748
17514
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15749
17515
|
*
|
|
15750
17516
|
* - `case-sensitive`/`caseSensitive`: undefined
|
|
17517
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17518
|
+
*
|
|
17519
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17520
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17521
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17522
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17523
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
17524
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17525
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17526
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17527
|
+
*
|
|
17528
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17529
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17530
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15751
17531
|
* - `getVariables`: undefined (property only)
|
|
15752
17532
|
*
|
|
15753
17533
|
* ## Methods
|
|
@@ -15771,6 +17551,20 @@ export type CustomElementsSolidJs = {
|
|
|
15771
17551
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15772
17552
|
*
|
|
15773
17553
|
* - `case-sensitive`/`caseSensitive`: undefined
|
|
17554
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17555
|
+
*
|
|
17556
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17557
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17558
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17559
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17560
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
17561
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17562
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17563
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17564
|
+
*
|
|
17565
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17566
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17567
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15774
17568
|
* - `getVariables`: undefined (property only)
|
|
15775
17569
|
*
|
|
15776
17570
|
* ## Methods
|
|
@@ -15810,6 +17604,20 @@ export type CustomElementsSolidJs = {
|
|
|
15810
17604
|
*
|
|
15811
17605
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15812
17606
|
*
|
|
17607
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17608
|
+
*
|
|
17609
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17610
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17611
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17612
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17613
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
17614
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17615
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17616
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17617
|
+
*
|
|
17618
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17619
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17620
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15813
17621
|
* - `getVariables`: undefined (property only)
|
|
15814
17622
|
*
|
|
15815
17623
|
* ## Methods
|
|
@@ -15829,6 +17637,20 @@ export type CustomElementsSolidJs = {
|
|
|
15829
17637
|
*
|
|
15830
17638
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15831
17639
|
*
|
|
17640
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17641
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17642
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17643
|
+
*
|
|
17644
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17645
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17646
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
17647
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17648
|
+
*
|
|
17649
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17650
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17651
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17652
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17653
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15832
17654
|
* - `getVariables`: undefined (property only)
|
|
15833
17655
|
*
|
|
15834
17656
|
* ## Methods
|
|
@@ -15851,6 +17673,20 @@ export type CustomElementsSolidJs = {
|
|
|
15851
17673
|
*
|
|
15852
17674
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15853
17675
|
*
|
|
17676
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
17677
|
+
*
|
|
17678
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
17679
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
17680
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
17681
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
17682
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
17683
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
17684
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
17685
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
17686
|
+
*
|
|
17687
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
17688
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
17689
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15854
17690
|
* - `getVariables`: undefined (property only)
|
|
15855
17691
|
*
|
|
15856
17692
|
* ## Methods
|
|
@@ -15875,7 +17711,7 @@ export type CustomElementsSolidJs = {
|
|
|
15875
17711
|
*
|
|
15876
17712
|
* - `identifier`: undefined
|
|
15877
17713
|
* - `adaptive`: undefined
|
|
15878
|
-
* - `timeDependent`: undefined
|
|
17714
|
+
* - `time-dependent`/`timeDependent`: undefined
|
|
15879
17715
|
* - `title`: undefined
|
|
15880
17716
|
* - `disabled`: undefined
|
|
15881
17717
|
* - `readonly`: undefined
|
|
@@ -15926,6 +17762,19 @@ export type CustomElementsSolidJs = {
|
|
|
15926
17762
|
* - `configContext`: undefined (property only)
|
|
15927
17763
|
* - `qtiContext`: Provided so that descendants (e.g. `<item-container>`) can read the QTI runtime
|
|
15928
17764
|
* context for standalone item delivery, including the optional shuffle `seed`. (property only)
|
|
17765
|
+
*
|
|
17766
|
+
* ## Methods
|
|
17767
|
+
*
|
|
17768
|
+
* Methods that can be called to access component functionality.
|
|
17769
|
+
*
|
|
17770
|
+
* - `updateAssessmentItemView(assessmentItem: QtiAssessmentItem, view: View) => void`: Scorer view IS the answer key, the same pairing `QtiTestCorrection` makes at test level.
|
|
17771
|
+
* A marker switching to `scorer` to read the rubric would otherwise have to ask for the key
|
|
17772
|
+
* separately, and the two would drift apart.
|
|
17773
|
+
*
|
|
17774
|
+
* `scorer` alone because that is what the test side does — not because no other audience has
|
|
17775
|
+
* a use for a key. An author reviewing their own item plainly wants one, and arguably a tutor
|
|
17776
|
+
* does too. If that is ever granted it has to be granted in both places at once, or the same
|
|
17777
|
+
* item answers differently depending on whether it is delivered inside a test.
|
|
15929
17778
|
*/
|
|
15930
17779
|
"qti-item": Partial<
|
|
15931
17780
|
QtiItemCorrectionProps &
|