@citolab/qti-components 9.1.0 → 9.3.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 +338 -213
- package/dist/base.d.ts +54 -11
- package/dist/base.js +11 -1
- package/dist/{chunk-XYQNTF5B.js → chunk-7VDR765S.js} +2 -2
- 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-5SU3MP6Y.js → chunk-CQHGVPOT.js} +20 -6
- package/dist/{chunk-5SU3MP6Y.js.map → chunk-CQHGVPOT.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-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-QCPN7E6K.js → chunk-TDWLV5OD.js} +3767 -3271
- package/dist/chunk-TDWLV5OD.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/{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 +39 -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 +2254 -132
- 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-D-ELy0Mr.d.ts} +150 -20
- 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 +10 -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-XYQNTF5B.js.map → chunk-7VDR765S.js.map} +0 -0
- /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/processing.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as lit from 'lit';
|
|
2
2
|
import { LitElement, nothing } from 'lit';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { Q as QtiExpression, a as QtiExpressionBase, T as TestContext } from './qti-expression.d-
|
|
6
|
-
import { Q as QtiConditionExpression } from './qti-condition-expression.d-
|
|
3
|
+
import { b as QtiRuleBase } from './qti-rule-base.d-Bdzg8eGH.js';
|
|
4
|
+
import { b as ItemContext, B as BaseType, g as ResponseVariable, V as VariableDeclaration } from './item.types.d-BDFrq19E.js';
|
|
5
|
+
import { Q as QtiExpression, a as QtiExpressionBase, T as TestContext } from './qti-expression.d-BksT9iLB.js';
|
|
6
|
+
import { Q as QtiConditionExpression } from './qti-condition-expression.d-DLboq8bR.js';
|
|
7
7
|
import './qti.context.d-CejJMlfZ.js';
|
|
8
8
|
|
|
9
9
|
declare class QtiRule extends LitElement implements QtiRuleBase {
|
|
@@ -22,10 +22,11 @@ declare global {
|
|
|
22
22
|
* with the outcome's declaration.
|
|
23
23
|
*/
|
|
24
24
|
declare class QtiLookupOutcomeValue extends QtiRule {
|
|
25
|
+
#private;
|
|
25
26
|
identifier: string;
|
|
26
27
|
protected context?: ItemContext;
|
|
27
28
|
get childExpression(): QtiExpression<string>;
|
|
28
|
-
process(): number;
|
|
29
|
+
process(): number | string | null;
|
|
29
30
|
}
|
|
30
31
|
declare global {
|
|
31
32
|
interface HTMLElementTagNameMap {
|
|
@@ -182,11 +183,33 @@ declare class QtiBaseValue extends QtiExpression<string> {
|
|
|
182
183
|
* Special cases: Returns 0 if the sub-expression is NULL.
|
|
183
184
|
*/
|
|
184
185
|
declare class QtiContainerSize extends QtiExpression<number> {
|
|
186
|
+
get resultBaseType(): BaseType;
|
|
185
187
|
getResult(): number;
|
|
186
188
|
}
|
|
187
189
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
+
/**
|
|
191
|
+
* @summary The qti-contains operator tests whether one container holds another.
|
|
192
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/info/index.html#contains
|
|
193
|
+
*
|
|
194
|
+
* Takes 2 sub-expressions of the same base-type and the same cardinality,
|
|
195
|
+
* either both multiple or both ordered.
|
|
196
|
+
*
|
|
197
|
+
* Cardinality decides what containment means. An unordered container holds
|
|
198
|
+
* another when every one of its values is present, multiplicity included and
|
|
199
|
+
* order disregarded: `[A,B,C]` contains `[C,A]`. An ordered container needs the
|
|
200
|
+
* second to appear as a strict sub-sequence: `[A,B,C]` contains `[B,C]` but not
|
|
201
|
+
* `[C,A]`.
|
|
202
|
+
*
|
|
203
|
+
* Special cases: Returns NULL if either sub-expression is NULL.
|
|
204
|
+
*/
|
|
205
|
+
declare class QtiContains extends QtiExpression<boolean | null> {
|
|
206
|
+
#private;
|
|
207
|
+
getResult(): boolean | null;
|
|
208
|
+
}
|
|
209
|
+
declare global {
|
|
210
|
+
interface HTMLElementTagNameMap {
|
|
211
|
+
'qti-contains': QtiContains;
|
|
212
|
+
}
|
|
190
213
|
}
|
|
191
214
|
|
|
192
215
|
/**
|
|
@@ -241,6 +264,7 @@ declare class QtiEqualRounded extends QtiExpression<boolean> {
|
|
|
241
264
|
* Special cases: Returns NULL if input is NULL or NaN.
|
|
242
265
|
*/
|
|
243
266
|
declare class QtiRound extends QtiExpression<number | null> {
|
|
267
|
+
get resultBaseType(): BaseType;
|
|
244
268
|
getResult(): number | null;
|
|
245
269
|
}
|
|
246
270
|
|
|
@@ -256,6 +280,7 @@ declare class QtiRoundTo extends QtiExpression<number | null> {
|
|
|
256
280
|
#private;
|
|
257
281
|
roundingMode: 'decimalPlaces' | 'significantFigures';
|
|
258
282
|
figures: number;
|
|
283
|
+
get resultBaseType(): BaseType;
|
|
259
284
|
getResult(): number | null;
|
|
260
285
|
}
|
|
261
286
|
|
|
@@ -264,12 +289,23 @@ declare class QtiRoundTo extends QtiExpression<number | null> {
|
|
|
264
289
|
* @documentation https://www.imsglobal.org/spec/qti/v3p0/info/index.html#equal
|
|
265
290
|
*
|
|
266
291
|
* Takes 2 sub-expressions with numerical base-types and single cardinality.
|
|
267
|
-
* Supports tolerance-mode (exact, absolute, relative) for floating-point comparisons
|
|
292
|
+
* Supports tolerance-mode (exact, absolute, relative) for floating-point comparisons,
|
|
293
|
+
* with 'tolerance', 'include-lower-bound' and 'include-upper-bound'.
|
|
268
294
|
* Returns true if numerically equal within specified tolerance, false otherwise.
|
|
269
295
|
* Special cases: Returns NULL if either sub-expression is NULL.
|
|
270
296
|
*/
|
|
271
297
|
declare class QtiEqual extends QtiExpression<boolean> {
|
|
298
|
+
#private;
|
|
272
299
|
toleranceMode: 'exact' | 'relative' | 'absolute';
|
|
300
|
+
/** One or two numbers: the lower and upper tolerance. One means both. */
|
|
301
|
+
tolerance: string;
|
|
302
|
+
/**
|
|
303
|
+
* Read off the attribute rather than declared as a Lit boolean property: QTI
|
|
304
|
+
* writes `include-lower-bound="false"`, and Lit's boolean converter takes the
|
|
305
|
+
* mere presence of an attribute as true. Both default to true, per the spec.
|
|
306
|
+
*/
|
|
307
|
+
get includeLowerBound(): boolean;
|
|
308
|
+
get includeUpperBound(): boolean;
|
|
273
309
|
getResult(): boolean;
|
|
274
310
|
}
|
|
275
311
|
|
|
@@ -283,6 +319,8 @@ declare class QtiEqual extends QtiExpression<boolean> {
|
|
|
283
319
|
*/
|
|
284
320
|
declare class QtiDivide extends QtiExpression<number | null> {
|
|
285
321
|
#private;
|
|
322
|
+
/** Always a float, even dividing two integers exactly. */
|
|
323
|
+
get resultBaseType(): BaseType;
|
|
286
324
|
getResult(): number | null;
|
|
287
325
|
}
|
|
288
326
|
|
|
@@ -342,6 +380,7 @@ declare class QtiInside extends QtiExpression<boolean | null> {
|
|
|
342
380
|
*/
|
|
343
381
|
declare class QtiIntegerDivide extends QtiExpression<number | null> {
|
|
344
382
|
#private;
|
|
383
|
+
get resultBaseType(): BaseType;
|
|
345
384
|
getResult(): number | null;
|
|
346
385
|
}
|
|
347
386
|
|
|
@@ -350,11 +389,12 @@ declare class QtiIntegerDivide extends QtiExpression<number | null> {
|
|
|
350
389
|
* @documentation https://www.imsglobal.org/spec/qti/v3p0/info/index.html#integerModulus
|
|
351
390
|
*
|
|
352
391
|
* Takes 2 sub-expressions with base-type integer and single cardinality.
|
|
353
|
-
* Returns the remainder
|
|
392
|
+
* Returns the remainder that goes with qti-integer-divide, which rounds down.
|
|
354
393
|
* Special cases: Returns NULL if any argument is NULL or if divisor is 0.
|
|
355
394
|
*/
|
|
356
395
|
declare class QtiIntegerModulus extends QtiExpression<number | null> {
|
|
357
396
|
#private;
|
|
397
|
+
get resultBaseType(): BaseType;
|
|
358
398
|
getResult(): number | null;
|
|
359
399
|
}
|
|
360
400
|
|
|
@@ -367,6 +407,7 @@ declare class QtiIntegerModulus extends QtiExpression<number | null> {
|
|
|
367
407
|
* Special cases: Returns NULL if sub-expression is NULL.
|
|
368
408
|
*/
|
|
369
409
|
declare class QtiIntegerToFloat extends QtiExpression<number | null> {
|
|
410
|
+
get resultBaseType(): BaseType;
|
|
370
411
|
getResult(): number | null;
|
|
371
412
|
}
|
|
372
413
|
|
|
@@ -398,6 +439,39 @@ declare class QtiIsNull extends QtiExpression<boolean> {
|
|
|
398
439
|
getResult(): boolean;
|
|
399
440
|
}
|
|
400
441
|
|
|
442
|
+
/**
|
|
443
|
+
* @summary The qti-exit-response rule ends the response processing of an attempt.
|
|
444
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.exit-response
|
|
445
|
+
*
|
|
446
|
+
* No rule after it runs, at any depth. The outcomes already set are kept: a
|
|
447
|
+
* `qti-set-outcome-value` writes as it is processed, so everything before the
|
|
448
|
+
* exit has landed by the time this throws.
|
|
449
|
+
*/
|
|
450
|
+
declare class QtiExitResponse extends QtiRule {
|
|
451
|
+
process(): never;
|
|
452
|
+
}
|
|
453
|
+
declare global {
|
|
454
|
+
interface HTMLElementTagNameMap {
|
|
455
|
+
'qti-exit-response': QtiExitResponse;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* @summary The qti-exit-test rule ends the outcome processing of a test.
|
|
461
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.exit-test
|
|
462
|
+
*
|
|
463
|
+
* The test-level counterpart of `qti-exit-response`. No rule after it runs, at
|
|
464
|
+
* any depth, and the test outcomes already set are kept.
|
|
465
|
+
*/
|
|
466
|
+
declare class QtiExitTest extends QtiRule {
|
|
467
|
+
process(): never;
|
|
468
|
+
}
|
|
469
|
+
declare global {
|
|
470
|
+
interface HTMLElementTagNameMap {
|
|
471
|
+
'qti-exit-test': QtiExitTest;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
401
475
|
/**
|
|
402
476
|
* @summary The qti-field-value operator retrieves a specific field from a record.
|
|
403
477
|
* @documentation https://www.imsglobal.org/spec/qti/v3p0/info/index.html#fieldValue
|
|
@@ -406,7 +480,13 @@ declare class QtiIsNull extends QtiExpression<boolean> {
|
|
|
406
480
|
* Returns the value of the specified field.
|
|
407
481
|
* Special cases: Returns NULL if sub-expression is NULL or field does not exist.
|
|
408
482
|
*/
|
|
409
|
-
declare class QtiFieldValue extends QtiExpression<string | string[]> {
|
|
483
|
+
declare class QtiFieldValue extends QtiExpression<string | string[] | null> {
|
|
484
|
+
/**
|
|
485
|
+
* Every failure here is NULL rather than a thrown error. `qti-is-null` over a
|
|
486
|
+
* `qti-field-value` is the specified way to ask whether a record carries a
|
|
487
|
+
* field at all, so a missing one has to be an ordinary value — throwing
|
|
488
|
+
* aborted the whole response processing run instead.
|
|
489
|
+
*/
|
|
410
490
|
getResult(): any;
|
|
411
491
|
}
|
|
412
492
|
|
|
@@ -436,6 +516,25 @@ declare class QtiMapResponsePoint extends QtiExpression<number> {
|
|
|
436
516
|
getResult(): number;
|
|
437
517
|
}
|
|
438
518
|
|
|
519
|
+
/**
|
|
520
|
+
* @summary The qti-math-constant expression returns a mathematical constant.
|
|
521
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.math-constant
|
|
522
|
+
*
|
|
523
|
+
* Takes no sub-expressions. The 'name' attribute selects the constant.
|
|
524
|
+
* Returns a single float.
|
|
525
|
+
* Special cases: Returns NULL for a name outside the vocabulary.
|
|
526
|
+
*/
|
|
527
|
+
declare class QtiMathConstant extends QtiExpression<number | null> {
|
|
528
|
+
name: string;
|
|
529
|
+
get resultBaseType(): BaseType;
|
|
530
|
+
getResult(): number | null;
|
|
531
|
+
}
|
|
532
|
+
declare global {
|
|
533
|
+
interface HTMLElementTagNameMap {
|
|
534
|
+
'qti-math-constant': QtiMathConstant;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
439
538
|
/**
|
|
440
539
|
* @summary The qti-math-operator performs mathematical operations on numerical values.
|
|
441
540
|
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.math-operator
|
|
@@ -447,6 +546,11 @@ declare class QtiMapResponsePoint extends QtiExpression<number> {
|
|
|
447
546
|
declare class QtiMathOperator extends QtiExpression<number | null> {
|
|
448
547
|
#private;
|
|
449
548
|
name: string;
|
|
549
|
+
/**
|
|
550
|
+
* Float for every function except the three that produce a whole number:
|
|
551
|
+
* `floor`, `ceil` and `signum`.
|
|
552
|
+
*/
|
|
553
|
+
get resultBaseType(): BaseType;
|
|
450
554
|
getResult(): number | null;
|
|
451
555
|
}
|
|
452
556
|
|
|
@@ -535,6 +639,7 @@ declare class QtiOrdered extends QtiExpression<ResponseVariable[]> {
|
|
|
535
639
|
* Returns NULL if either expression is NULL or if the result is outside the float value set.
|
|
536
640
|
*/
|
|
537
641
|
declare class QtiPower extends QtiExpression<number | null> {
|
|
642
|
+
get resultBaseType(): BaseType;
|
|
538
643
|
getResult(): number | null;
|
|
539
644
|
}
|
|
540
645
|
|
|
@@ -547,6 +652,7 @@ declare class QtiPower extends QtiExpression<number | null> {
|
|
|
547
652
|
* Special cases: Returns NULL if sub-expression is NULL.
|
|
548
653
|
*/
|
|
549
654
|
declare class QtiPatternMatch extends QtiExpression<boolean | null> {
|
|
655
|
+
#private;
|
|
550
656
|
pattern: string;
|
|
551
657
|
getResult(): boolean | null;
|
|
552
658
|
}
|
|
@@ -596,14 +702,6 @@ declare class QtiProduct extends QtiExpression<number> {
|
|
|
596
702
|
getResult(): number;
|
|
597
703
|
}
|
|
598
704
|
|
|
599
|
-
/**
|
|
600
|
-
* @summary The qti-repeat operator generates a container by repeating an expression.
|
|
601
|
-
* @documentation https://www.imsglobal.org/spec/qti/v3p0/info/index.html#repeat
|
|
602
|
-
*
|
|
603
|
-
* Attributes 'number-repeats' determines the count of iterations.
|
|
604
|
-
* Returns an ordered container filled with results of the evaluated sub-expressions.
|
|
605
|
-
* Special cases: Returns NULL if number-repeats < 1; ignores evaluated NULL values.
|
|
606
|
-
*/
|
|
607
705
|
declare class QtiRepeat extends QtiExpression<ResponseVariable[]> {
|
|
608
706
|
#private;
|
|
609
707
|
numberRepeats: string;
|
|
@@ -661,13 +759,14 @@ declare class QtiSetTemplateValueRule<T> implements QtiRuleBase {
|
|
|
661
759
|
* @documentation https://www.imsglobal.org/spec/qti/v3p0/info/index.html#statsOperator
|
|
662
760
|
*
|
|
663
761
|
* Takes 1 container (multiple/ordered) of numerical base-type.
|
|
664
|
-
* 'name' attribute identifies function (mean,
|
|
762
|
+
* 'name' attribute identifies function (mean, median, popVariance, popSD, sampleVariance, sampleSD).
|
|
665
763
|
* Returns result as a single float.
|
|
666
764
|
* Special cases: Returns NULL if any values in container are NULL or non-numerical.
|
|
667
765
|
*/
|
|
668
766
|
declare class QtiStatsOperator extends QtiExpression<number | null> {
|
|
669
767
|
#private;
|
|
670
768
|
name: string;
|
|
769
|
+
get resultBaseType(): BaseType;
|
|
671
770
|
getResult(): number | null;
|
|
672
771
|
}
|
|
673
772
|
|
|
@@ -748,6 +847,7 @@ declare class QtiSumExpression implements QtiExpressionBase<number> {
|
|
|
748
847
|
* Special cases: Returns NULL if input is NULL or NaN.
|
|
749
848
|
*/
|
|
750
849
|
declare class QtiTruncate extends QtiExpression<number | null> {
|
|
850
|
+
get resultBaseType(): BaseType;
|
|
751
851
|
getResult(): number | null;
|
|
752
852
|
}
|
|
753
853
|
|
|
@@ -803,4 +903,23 @@ declare class QtiIndex extends QtiExpression<any> {
|
|
|
803
903
|
getResult(): any;
|
|
804
904
|
}
|
|
805
905
|
|
|
806
|
-
|
|
906
|
+
/**
|
|
907
|
+
* @summary The qti-response-processing-fragment groups rules for reuse.
|
|
908
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.response-processing-fragment
|
|
909
|
+
*
|
|
910
|
+
* A fragment is a transparent container: its rules run in place, in document
|
|
911
|
+
* order, exactly as if they had been written where the fragment sits.
|
|
912
|
+
*
|
|
913
|
+
* A fragment held in a separate file is not pulled in, because `qti-include` is
|
|
914
|
+
* not resolved — only the rules authored inside this element run.
|
|
915
|
+
*/
|
|
916
|
+
declare class QtiResponseProcessingFragment extends QtiRule {
|
|
917
|
+
process(): void;
|
|
918
|
+
}
|
|
919
|
+
declare global {
|
|
920
|
+
interface HTMLElementTagNameMap {
|
|
921
|
+
'qti-response-processing-fragment': QtiResponseProcessingFragment;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
export { QtiAnd, QtiAnyN, QtiBaseValue, QtiContainerSize, QtiContains, QtiCorrect, QtiDefault, QtiDelete, QtiDivide, QtiDurationGte, QtiDurationLt, QtiEqual, QtiEqualRounded, QtiExitResponse, QtiExitTest, QtiFieldValue, QtiGcd, QtiGt, QtiGte, QtiIndex, QtiInside, QtiIntegerDivide, QtiIntegerModulus, QtiIntegerToFloat, QtiIsNull, QtiLcm, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMathConstant, QtiMathOperator, QtiMax, QtiMember, QtiMin, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrdered, QtiOutcomeCondition, QtiOutcomeElse, QtiOutcomeElseIf, QtiOutcomeIf, QtiPatternMatch, QtiPower, QtiPrintedVariable, QtiProduct, QtiRandom, QtiRandomInteger, QtiRepeat, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessingFragment, QtiRound, QtiRoundTo, QtiSetCorrectResponse, QtiSetCorrectResponseRule, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiSetTemplateValue, QtiSetTemplateValueRule, QtiStatsOperator, QtiStringMatch, QtiSubstring, QtiSubtract, QtiSum, QtiSumExpression, QtiTruncate, QtiVariable, qtiAndMixin, qtiSubtractMixin };
|
package/dist/processing.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-ZG7FBQFP.js";
|
|
2
2
|
import {
|
|
3
3
|
QtiAnd,
|
|
4
4
|
QtiAnyN,
|
|
@@ -13,6 +13,8 @@ import {
|
|
|
13
13
|
QtiDurationLt,
|
|
14
14
|
QtiEqual,
|
|
15
15
|
QtiEqualRounded,
|
|
16
|
+
QtiExitResponse,
|
|
17
|
+
QtiExitTest,
|
|
16
18
|
QtiFieldValue,
|
|
17
19
|
QtiGcd,
|
|
18
20
|
QtiGt,
|
|
@@ -30,6 +32,7 @@ import {
|
|
|
30
32
|
QtiMapResponse,
|
|
31
33
|
QtiMapResponsePoint,
|
|
32
34
|
QtiMatch,
|
|
35
|
+
QtiMathConstant,
|
|
33
36
|
QtiMathOperator,
|
|
34
37
|
QtiMax,
|
|
35
38
|
QtiMember,
|
|
@@ -54,6 +57,7 @@ import {
|
|
|
54
57
|
QtiResponseElse,
|
|
55
58
|
QtiResponseElseIf,
|
|
56
59
|
QtiResponseIf,
|
|
60
|
+
QtiResponseProcessingFragment,
|
|
57
61
|
QtiRound,
|
|
58
62
|
QtiRoundTo,
|
|
59
63
|
QtiSetCorrectResponse,
|
|
@@ -72,8 +76,8 @@ import {
|
|
|
72
76
|
QtiVariable,
|
|
73
77
|
qtiAndMixin,
|
|
74
78
|
qtiSubtractMixin
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import "./chunk-
|
|
79
|
+
} from "./chunk-G5RQ5GKG.js";
|
|
80
|
+
import "./chunk-YVZWNLF4.js";
|
|
77
81
|
export {
|
|
78
82
|
QtiAnd,
|
|
79
83
|
QtiAnyN,
|
|
@@ -88,6 +92,8 @@ export {
|
|
|
88
92
|
QtiDurationLt,
|
|
89
93
|
QtiEqual,
|
|
90
94
|
QtiEqualRounded,
|
|
95
|
+
QtiExitResponse,
|
|
96
|
+
QtiExitTest,
|
|
91
97
|
QtiFieldValue,
|
|
92
98
|
QtiGcd,
|
|
93
99
|
QtiGt,
|
|
@@ -105,6 +111,7 @@ export {
|
|
|
105
111
|
QtiMapResponse,
|
|
106
112
|
QtiMapResponsePoint,
|
|
107
113
|
QtiMatch,
|
|
114
|
+
QtiMathConstant,
|
|
108
115
|
QtiMathOperator,
|
|
109
116
|
QtiMax,
|
|
110
117
|
QtiMember,
|
|
@@ -129,6 +136,7 @@ export {
|
|
|
129
136
|
QtiResponseElse,
|
|
130
137
|
QtiResponseElseIf,
|
|
131
138
|
QtiResponseIf,
|
|
139
|
+
QtiResponseProcessingFragment,
|
|
132
140
|
QtiRound,
|
|
133
141
|
QtiRoundTo,
|
|
134
142
|
QtiSetCorrectResponse,
|