@citolab/qti-components 9.5.0 → 9.6.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 +1761 -204
- package/dist/base.d.ts +10 -10
- package/dist/base.js +7 -1
- package/dist/{chunk-SIE3E4FG.js → chunk-EAQOUBXA.js} +4 -4
- package/dist/{chunk-GBZNFSFY.js → chunk-H72OXVRF.js} +2 -2
- package/dist/{chunk-RU6332MD.js → chunk-I7ACMH74.js} +3 -3
- package/dist/{chunk-DAFB2E5H.js → chunk-LOKULHVY.js} +386 -241
- package/dist/chunk-LOKULHVY.js.map +1 -0
- package/dist/{chunk-MI7774NV.js → chunk-QOFGUIYE.js} +2 -2
- package/dist/{chunk-TDWJ6WZA.js → chunk-QUTM5TT6.js} +37 -1
- package/dist/chunk-QUTM5TT6.js.map +1 -0
- package/dist/chunk-QVZLJY75.js +7 -0
- package/dist/chunk-QVZLJY75.js.map +1 -0
- package/dist/{chunk-FD4AB6TM.js → chunk-RV7ADJ33.js} +2 -2
- package/dist/{chunk-OQDBARD5.js → chunk-TBJT7AGB.js} +2 -2
- package/dist/{chunk-SU63QGGD.js → chunk-TC4257SG.js} +6 -6
- package/dist/{chunk-6U3YPHXU.js → chunk-TFQAUWCM.js} +40 -5
- package/dist/{chunk-6U3YPHXU.js.map → chunk-TFQAUWCM.js.map} +1 -1
- package/dist/{chunk-6K3QWJHH.js → chunk-V3NKEAQY.js} +40 -4
- package/dist/chunk-V3NKEAQY.js.map +1 -0
- package/dist/{chunk-YZRODVYZ.js → chunk-YS6CBO45.js} +2 -2
- package/dist/{computed.types.d-gJrBeUMG.d.ts → computed.types.d-SsTm3ieP.d.ts} +1 -1
- package/dist/corrections.d.ts +9 -9
- package/dist/corrections.js +8 -8
- package/dist/elements.d.ts +2 -2
- package/dist/elements.js +3 -3
- package/dist/index.d.ts +10 -10
- package/dist/index.js +23 -13
- package/dist/interactions.d.ts +4 -4
- package/dist/interactions.js +7 -3
- package/dist/item.css +2 -1
- package/dist/item.d.ts +4 -4
- package/dist/item.js +4 -4
- package/dist/{item.types.d-B55QkJ92.d.ts → item.types.d-DuVR0ZVK.d.ts} +7 -1
- package/dist/loader.d.ts +2 -2
- package/dist/processing.d.ts +10 -3
- package/dist/processing.js +3 -3
- package/dist/qti-components-jsx.d.ts +46 -26
- package/dist/{qti-condition-expression.d-VJH6cWxf.d.ts → qti-condition-expression.d-B-T1NNl0.d.ts} +1 -1
- package/dist/{qti-expression.d-BPxEp8HU.d.ts → qti-expression.d-B-Cfbqlb.d.ts} +1 -1
- package/dist/{qti-feedback.d-wMYNVkkj.d.ts → qti-feedback.d-DbzPSJuK.d.ts} +1 -1
- package/dist/{qti-item.d-DgC1AQbY.d.ts → qti-item.d-DjWvKbfL.d.ts} +1 -1
- package/dist/{qti-test.d-86TlaMlI.d.ts → qti-test.d-DOWT6YNa.d.ts} +4 -4
- package/dist/{qti-text-entry-interaction.d-C4eixT-D.d.ts → qti-text-entry-interaction.d-h5UZ8Qvp.d.ts} +28 -18
- package/dist/{interaction.d-g6XG0T0Z.d.ts → record.d-wB9uYs-j.d.ts} +34 -2
- package/dist/{session.context.d-D5080LVx.d.ts → session.context.d-Cw8GcziG.d.ts} +1 -1
- package/dist/test.d.ts +7 -7
- package/dist/test.js +5 -5
- package/package.json +5 -5
- package/dist/chunk-6K3QWJHH.js.map +0 -1
- package/dist/chunk-DAFB2E5H.js.map +0 -1
- package/dist/chunk-TDWJ6WZA.js.map +0 -1
- package/dist/chunk-ZP6QQYSU.js +0 -7
- package/dist/chunk-ZP6QQYSU.js.map +0 -1
- /package/dist/{chunk-SIE3E4FG.js.map → chunk-EAQOUBXA.js.map} +0 -0
- /package/dist/{chunk-GBZNFSFY.js.map → chunk-H72OXVRF.js.map} +0 -0
- /package/dist/{chunk-RU6332MD.js.map → chunk-I7ACMH74.js.map} +0 -0
- /package/dist/{chunk-MI7774NV.js.map → chunk-QOFGUIYE.js.map} +0 -0
- /package/dist/{chunk-FD4AB6TM.js.map → chunk-RV7ADJ33.js.map} +0 -0
- /package/dist/{chunk-OQDBARD5.js.map → chunk-TBJT7AGB.js.map} +0 -0
- /package/dist/{chunk-SU63QGGD.js.map → chunk-TC4257SG.js.map} +0 -0
- /package/dist/{chunk-YZRODVYZ.js.map → chunk-YS6CBO45.js.map} +0 -0
package/dist/base.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { C as ComputedItemContext } from './session.context.d-
|
|
2
|
-
export { I as INITIAL_SESSION_CONTEXT, S as SessionContext, V as View, s as sessionContext } from './session.context.d-
|
|
3
|
-
import { C as ComputedContext } from './computed.types.d-
|
|
4
|
-
export { a as ComputedItem } from './computed.types.d-
|
|
1
|
+
import { C as ComputedItemContext } from './session.context.d-Cw8GcziG.js';
|
|
2
|
+
export { I as INITIAL_SESSION_CONTEXT, S as SessionContext, V as View, s as sessionContext } from './session.context.d-Cw8GcziG.js';
|
|
3
|
+
import { C as ComputedContext } from './computed.types.d-SsTm3ieP.js';
|
|
4
|
+
export { a as ComputedItem } from './computed.types.d-SsTm3ieP.js';
|
|
5
5
|
export { C as ConfigContext, V as ValidationDisplayMode, c as configContext } from './config.context.d-BvU9r-Mg.js';
|
|
6
|
-
export { C as ChoiceRole, I as Interaction, a as InteractionContext, i as interactionContext } from './
|
|
7
|
-
import { b as ItemContext, B as BaseType } from './item.types.d-
|
|
8
|
-
export { C as Calculate, a as Cardinality, I as InterpolationTableEntry, M as Multiple, O as Ordered, c as OutcomeVariable, Q as QtiAreaMapEntry, d as QtiAreaMapping, e as QtiMapEntry, f as QtiMapping, R as ResponseInteraction, g as ResponseVariable, T as TemplateVariable, V as VariableDeclaration, h as VariableValue, i as areaShape, j as directedPair, k as float, l as integer, m as itemContextVariables } from './item.types.d-
|
|
6
|
+
export { C as ChoiceRole, I as Interaction, a as InteractionContext, R as RecordFieldValues, b as RecordValue, i as inferRecordFieldBaseType, c as interactionContext, d as isRecordValue, r as readRecordFieldValues } from './record.d-wB9uYs-j.js';
|
|
7
|
+
import { b as ItemContext, B as BaseType } from './item.types.d-DuVR0ZVK.js';
|
|
8
|
+
export { C as Calculate, a as Cardinality, I as InterpolationTableEntry, M as Multiple, O as Ordered, c as OutcomeVariable, Q as QtiAreaMapEntry, d as QtiAreaMapping, e as QtiMapEntry, f as QtiMapping, R as ResponseInteraction, g as ResponseVariable, T as TemplateVariable, V as VariableDeclaration, h as VariableValue, i as areaShape, j as directedPair, k as float, l as integer, m as itemContextVariables } from './item.types.d-DuVR0ZVK.js';
|
|
9
9
|
export { Q as QtiContext, a as QtiContextType, S as Seed, b as asSeed, i as isSeed, q as qtiContext } from './qti.context.d-CejJMlfZ.js';
|
|
10
|
-
export { I as INITIAL_TEST_CONTEXT, Q as QtiExpression, a as QtiExpressionBase, T as TestContext, t as testContext } from './qti-expression.d-
|
|
10
|
+
export { I as INITIAL_TEST_CONTEXT, Q as QtiExpression, a as QtiExpressionBase, T as TestContext, t as testContext } from './qti-expression.d-B-Cfbqlb.js';
|
|
11
11
|
import * as lit from 'lit';
|
|
12
|
-
export { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-
|
|
13
|
-
export { Q as QtiConditionExpression } from './qti-condition-expression.d-
|
|
12
|
+
export { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-DbzPSJuK.js';
|
|
13
|
+
export { Q as QtiConditionExpression } from './qti-condition-expression.d-B-T1NNl0.js';
|
|
14
14
|
export { D as DirectedPair, I as Identifier, P as Point, R as ResponseValue, i as iterResponseValues, p as parsePair, a as parsePoint, b as parseResponseAttribute, r as responseAttributeConverter, s as serializePair, c as serializePoint, d as serializeResponseAttribute } from './response.d-_8y4kjGP.js';
|
|
15
15
|
export { F as FormAssociatedInteraction, I as IInteraction, R as ReadonlyInteraction, a as RegisteredInteraction, b as ResettableInteraction, c as ResponseIdentifiedInteraction, d as ResponseInteractionElement, V as ValidatableInteraction } from './interaction.interface.d-CvjHM2bi.js';
|
|
16
16
|
export { Q as QtiExitResponseSignal, a as QtiExitTestSignal, b as QtiRuleBase, c as QtiRuleElement } from './qti-rule-base.d-Bdzg8eGH.js';
|
package/dist/base.js
CHANGED
|
@@ -22,8 +22,10 @@ import {
|
|
|
22
22
|
decimalSeparator,
|
|
23
23
|
dropRegion,
|
|
24
24
|
getCustomOperator,
|
|
25
|
+
inferRecordFieldBaseType,
|
|
25
26
|
installCustomStateSetFallback,
|
|
26
27
|
interactionContext,
|
|
28
|
+
isRecordValue,
|
|
27
29
|
isSeed,
|
|
28
30
|
itemContext,
|
|
29
31
|
itemContextVariables,
|
|
@@ -32,6 +34,7 @@ import {
|
|
|
32
34
|
parsePoint,
|
|
33
35
|
parseResponseAttribute,
|
|
34
36
|
qtiContext,
|
|
37
|
+
readRecordFieldValues,
|
|
35
38
|
registerCustomOperator,
|
|
36
39
|
removeDoubleSlashes,
|
|
37
40
|
responseAttributeConverter,
|
|
@@ -42,7 +45,7 @@ import {
|
|
|
42
45
|
testContext,
|
|
43
46
|
unregisterCustomOperator,
|
|
44
47
|
validationMessage
|
|
45
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-QUTM5TT6.js";
|
|
46
49
|
export {
|
|
47
50
|
CustomStateSetShim,
|
|
48
51
|
INITIAL_SESSION_CONTEXT,
|
|
@@ -67,8 +70,10 @@ export {
|
|
|
67
70
|
decimalSeparator,
|
|
68
71
|
dropRegion,
|
|
69
72
|
getCustomOperator,
|
|
73
|
+
inferRecordFieldBaseType,
|
|
70
74
|
installCustomStateSetFallback,
|
|
71
75
|
interactionContext,
|
|
76
|
+
isRecordValue,
|
|
72
77
|
isSeed,
|
|
73
78
|
itemContext,
|
|
74
79
|
itemContextVariables,
|
|
@@ -77,6 +82,7 @@ export {
|
|
|
77
82
|
parsePoint,
|
|
78
83
|
parseResponseAttribute,
|
|
79
84
|
qtiContext,
|
|
85
|
+
readRecordFieldValues,
|
|
80
86
|
registerCustomOperator,
|
|
81
87
|
removeDoubleSlashes,
|
|
82
88
|
responseAttributeConverter,
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
dispatchDeclared,
|
|
4
4
|
listenDeclared,
|
|
5
5
|
listenPublic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TFQAUWCM.js";
|
|
7
7
|
import {
|
|
8
8
|
item_css_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QVZLJY75.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
12
|
} from "./chunk-4DB4SC5K.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
qtiContext,
|
|
25
25
|
sessionContext,
|
|
26
26
|
testContext
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QUTM5TT6.js";
|
|
28
28
|
|
|
29
29
|
// ../qti-test/dist/components/qti-assessment-item-ref/qti-assessment-item-ref.js
|
|
30
30
|
import { LitElement, nothing as nothing2 } from "lit";
|
|
@@ -5394,4 +5394,4 @@ export {
|
|
|
5394
5394
|
* Portions Copyright (c) 2013, the Dart project authors.
|
|
5395
5395
|
*)
|
|
5396
5396
|
*/
|
|
5397
|
-
//# sourceMappingURL=chunk-
|
|
5397
|
+
//# sourceMappingURL=chunk-EAQOUBXA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
qtiContentElements
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TFQAUWCM.js";
|
|
4
4
|
|
|
5
5
|
// ../qti-elements/dist/register.js
|
|
6
6
|
for (const { tag, ctor } of qtiContentElements) {
|
|
@@ -8,4 +8,4 @@ for (const { tag, ctor } of qtiContentElements) {
|
|
|
8
8
|
customElements.define(tag, ctor);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
11
|
+
//# sourceMappingURL=chunk-H72OXVRF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
item_css_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QVZLJY75.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk-4DB4SC5K.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
computedItemContext,
|
|
12
12
|
configContext,
|
|
13
13
|
qtiContext
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QUTM5TT6.js";
|
|
15
15
|
|
|
16
16
|
// ../qti-item/dist/components/item-container/item-container.js
|
|
17
17
|
import { consume } from "@lit/context";
|
|
@@ -349,4 +349,4 @@ export {
|
|
|
349
349
|
QtiItem,
|
|
350
350
|
qtiItemElements
|
|
351
351
|
};
|
|
352
|
-
//# sourceMappingURL=chunk-
|
|
352
|
+
//# sourceMappingURL=chunk-I7ACMH74.js.map
|