@citolab/qti-components 8.0.2 → 8.1.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 +647 -815
- package/dist/base.d.ts +58 -1
- package/dist/base.js +7 -1
- package/dist/{chunk-NJQHUUTN.js → chunk-3IACYIU2.js} +2 -2
- package/dist/{chunk-TWPXES3S.js → chunk-4XR2JHCP.js} +6 -6
- package/dist/chunk-4XR2JHCP.js.map +1 -0
- package/dist/{chunk-7V4HJFHW.js → chunk-6ITD55QE.js} +2 -2
- package/dist/{chunk-ZII6M3SN.js → chunk-6V3A7NQP.js} +2 -2
- package/dist/{chunk-7AVWRQIS.js → chunk-6XJUP55A.js} +62 -76
- package/dist/{chunk-7AVWRQIS.js.map → chunk-6XJUP55A.js.map} +1 -1
- package/dist/{chunk-J5SQLKNP.js → chunk-CF3DXJWM.js} +6 -6
- package/dist/{chunk-HQESINXH.js → chunk-EKXZI26R.js} +84 -1
- package/dist/chunk-EKXZI26R.js.map +1 -0
- package/dist/{chunk-IJD53WY6.js → chunk-HDEG6BAZ.js} +15 -15
- package/dist/{chunk-IJD53WY6.js.map → chunk-HDEG6BAZ.js.map} +1 -1
- package/dist/{chunk-CK7AV2UJ.js → chunk-IXPDMYKH.js} +3 -3
- package/dist/chunk-IYC7LZV6.js +7 -0
- package/dist/chunk-IYC7LZV6.js.map +1 -0
- package/dist/{chunk-VAE6HBKR.js → chunk-MK2I3MQB.js} +86 -59
- package/dist/chunk-MK2I3MQB.js.map +1 -0
- package/dist/{chunk-BQFWCZFH.js → chunk-NZLW6EX7.js} +2 -2
- package/dist/{chunk-HBSWJC3B.js → chunk-Q52IJELT.js} +5 -5
- package/dist/{chunk-RSVRS5AK.js → chunk-TXIB3SKC.js} +4 -4
- package/dist/corrections.js +8 -8
- package/dist/elements.d.ts +0 -1
- package/dist/elements.js +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +28 -14
- package/dist/interactions.js +3 -3
- package/dist/item.css +370 -532
- package/dist/item.js +5 -5
- package/dist/loader.js +2 -2
- package/dist/processing.d.ts +61 -11
- package/dist/processing.js +10 -2
- package/dist/qti-components-jsx.d.ts +756 -552
- package/dist/test.js +6 -6
- package/dist/transformers.d.ts +1 -1
- package/dist/transformers.js +1 -1
- package/package.json +8 -8
- package/dist/chunk-G6GFQDVN.js +0 -7
- package/dist/chunk-G6GFQDVN.js.map +0 -1
- package/dist/chunk-HQESINXH.js.map +0 -1
- package/dist/chunk-TWPXES3S.js.map +0 -1
- package/dist/chunk-VAE6HBKR.js.map +0 -1
- /package/dist/{chunk-NJQHUUTN.js.map → chunk-3IACYIU2.js.map} +0 -0
- /package/dist/{chunk-7V4HJFHW.js.map → chunk-6ITD55QE.js.map} +0 -0
- /package/dist/{chunk-ZII6M3SN.js.map → chunk-6V3A7NQP.js.map} +0 -0
- /package/dist/{chunk-J5SQLKNP.js.map → chunk-CF3DXJWM.js.map} +0 -0
- /package/dist/{chunk-CK7AV2UJ.js.map → chunk-IXPDMYKH.js.map} +0 -0
- /package/dist/{chunk-BQFWCZFH.js.map → chunk-NZLW6EX7.js.map} +0 -0
- /package/dist/{chunk-HBSWJC3B.js.map → chunk-Q52IJELT.js.map} +0 -0
- /package/dist/{chunk-RSVRS5AK.js.map → chunk-TXIB3SKC.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { O as Orientation, Q as QtiAssociableHotspot, a as QtiAssociateInteracti
|
|
|
7
7
|
export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test.d-BL7GGFJj.js';
|
|
8
8
|
export { qtiTransformManifest } from './transformers.js';
|
|
9
9
|
export { ManifestInfo, getItemByUri, getManifestInfo } from './loader.js';
|
|
10
|
-
export { IsNullOrUndefined, ScoringHelper, boxSizing, computedContext, computedItemContext, convertNumberToUniversalFormat, decimalSeparator, dropRegion, itemContext, removeDoubleSlashes, validationMessage } from './base.js';
|
|
10
|
+
export { CustomStateSetShim, CustomStateSupport, IsNullOrUndefined, ScoringHelper, boxSizing, classifyCustomStateSupport, computedContext, computedItemContext, convertNumberToUniversalFormat, decimalSeparator, dropRegion, installCustomStateSetFallback, itemContext, removeDoubleSlashes, validationMessage } from './base.js';
|
|
11
11
|
export { C as ComputedItemContext } from './computed-item.types.d-BKZdSLLJ.js';
|
|
12
12
|
export { C as ComputedContext, a as ComputedItem, I as INITIAL_SESSION_CONTEXT, S as SessionContext, V as View, s as sessionContext } from './computed.types.d-DpKIYO6e.js';
|
|
13
13
|
export { C as ConfigContext, V as ValidationDisplayMode, c as configContext } from './config.context.d-BvU9r-Mg.js';
|
|
@@ -20,7 +20,7 @@ export { Q as QtiConditionExpression } from './qti-condition-expression.d-aMvBvp
|
|
|
20
20
|
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';
|
|
21
21
|
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';
|
|
22
22
|
export { Q as QtiRuleBase, a as QtiRuleElement } from './qti-rule-base.d-ajOnfGXY.js';
|
|
23
|
-
export { QtiAnd, QtiAnyN, QtiBaseValue, QtiContainerSize, QtiContains, QtiCorrect, QtiDefault, QtiDelete, QtiDivide, QtiDurationGte, QtiDurationLt, QtiEqual, QtiEqualRounded, QtiFieldValue, QtiGcd, QtiGt, QtiGte, QtiIndex, QtiInside, QtiIntegerDivide, QtiIntegerModulus, QtiIntegerToFloat, QtiIsNull, QtiLcm, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMathOperator, QtiMax, QtiMember, QtiMin, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrdered, QtiPatternMatch, QtiPower, QtiPrintedVariable, QtiProduct, QtiRandom, QtiRandomInteger, QtiRepeat, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRound, QtiRoundTo, QtiSetCorrectResponse, QtiSetCorrectResponseRule, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiSetTemplateValue, QtiSetTemplateValueRule, QtiStatsOperator, QtiStringMatch, QtiSubstring, QtiSubtract, QtiSum, QtiSumExpression, QtiTruncate, QtiVariable, qtiAndMixin, qtiSubtractMixin } from './processing.js';
|
|
23
|
+
export { QtiAnd, QtiAnyN, QtiBaseValue, QtiContainerSize, QtiContains, QtiCorrect, QtiDefault, QtiDelete, QtiDivide, QtiDurationGte, QtiDurationLt, QtiEqual, QtiEqualRounded, QtiFieldValue, QtiGcd, QtiGt, QtiGte, QtiIndex, QtiInside, QtiIntegerDivide, QtiIntegerModulus, QtiIntegerToFloat, QtiIsNull, QtiLcm, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMathOperator, QtiMax, QtiMember, QtiMin, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrdered, QtiOutcomeCondition, QtiOutcomeElse, QtiOutcomeElseIf, QtiOutcomeIf, QtiPatternMatch, QtiPower, QtiPrintedVariable, QtiProduct, QtiRandom, QtiRandomInteger, QtiRepeat, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRound, QtiRoundTo, QtiSetCorrectResponse, QtiSetCorrectResponseRule, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiSetTemplateValue, QtiSetTemplateValueRule, QtiStatsOperator, QtiStringMatch, QtiSubstring, QtiSubtract, QtiSum, QtiSumExpression, QtiTruncate, QtiVariable, qtiAndMixin, qtiSubtractMixin } from './processing.js';
|
|
24
24
|
export { CandidateCorrectionMixin, ChoiceCorrectionMixin, CorrectResponseInterface, CorrectResponseMixin, CorrectResponseMode, CorrectionConfig, Correctness, ItemCorrectResponseMode, ItemShowCandidateCorrection, ItemShowCorrectResponse, QtiAssessmentItemCorrection, QtiAssociateInteractionCorrection, QtiChoiceInteractionCorrection, QtiExtendedTextInteractionCorrection, QtiGapMatchInteractionCorrection, QtiGapTextCorrection, QtiGraphicAssociateInteractionCorrection, QtiGraphicGapMatchInteractionCorrection, QtiGraphicOrderInteractionCorrection, QtiHotspotChoiceCorrection, QtiHotspotInteractionCorrection, QtiHottextCorrection, QtiHottextInteractionCorrection, QtiInlineChoiceInteractionCorrection, QtiItemCorrection, QtiMatchInteractionCorrection, QtiOrderInteractionCorrection, QtiPortableCustomInteractionCorrection, QtiSelectPointInteractionCorrection, QtiSimpleAssociableChoiceCorrection, QtiSimpleChoiceCorrection, QtiSliderInteractionCorrection, QtiTestCorrection, QtiTextEntryInteractionCorrection, TestCheckItemCorrection, TestNavigationCorrection, TestShowCorrectResponse, correctionPart } from './corrections.js';
|
|
25
25
|
import 'lit';
|
|
26
26
|
import '@heximal/templates';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-NZLW6EX7.js";
|
|
2
2
|
import {
|
|
3
3
|
CandidateCorrectionMixin,
|
|
4
4
|
ChoiceCorrectionMixin,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
TestNavigationCorrection,
|
|
36
36
|
TestShowCorrectResponse,
|
|
37
37
|
correctionPart
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-CF3DXJWM.js";
|
|
39
39
|
import {
|
|
40
40
|
QtiAssessmentItemRef,
|
|
41
41
|
QtiAssessmentSection,
|
|
@@ -72,8 +72,8 @@ import {
|
|
|
72
72
|
TestView,
|
|
73
73
|
TestViewToggle,
|
|
74
74
|
ttsContext
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import "./chunk-
|
|
75
|
+
} from "./chunk-Q52IJELT.js";
|
|
76
|
+
import "./chunk-3IACYIU2.js";
|
|
77
77
|
import {
|
|
78
78
|
QtiAssessmentItem,
|
|
79
79
|
QtiAssessmentStimulusRef,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
QtiTemplateConstraint,
|
|
95
95
|
QtiTemplateDeclaration,
|
|
96
96
|
QtiTemplateProcessing
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-6XJUP55A.js";
|
|
98
98
|
import {
|
|
99
99
|
QtiAssociableHotspot,
|
|
100
100
|
QtiCustomInteraction,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
QtiPrompt,
|
|
109
109
|
QtiUploadInteraction,
|
|
110
110
|
qtiInteractionElements
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-IXPDMYKH.js";
|
|
112
112
|
import {
|
|
113
113
|
QtiAssociateInteraction,
|
|
114
114
|
QtiChoiceInteraction,
|
|
@@ -131,24 +131,24 @@ import {
|
|
|
131
131
|
QtiSimpleChoice,
|
|
132
132
|
QtiSliderInteraction,
|
|
133
133
|
QtiTextEntryInteraction
|
|
134
|
-
} from "./chunk-
|
|
135
|
-
import "./chunk-
|
|
134
|
+
} from "./chunk-4XR2JHCP.js";
|
|
135
|
+
import "./chunk-6V3A7NQP.js";
|
|
136
136
|
import {
|
|
137
137
|
ItemContainer,
|
|
138
138
|
ItemPrintVariables,
|
|
139
139
|
QtiItem
|
|
140
|
-
} from "./chunk-
|
|
141
|
-
import "./chunk-
|
|
140
|
+
} from "./chunk-TXIB3SKC.js";
|
|
141
|
+
import "./chunk-IYC7LZV6.js";
|
|
142
142
|
import "./chunk-4DB4SC5K.js";
|
|
143
143
|
import {
|
|
144
144
|
getItemByUri,
|
|
145
145
|
getManifestInfo
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-6ITD55QE.js";
|
|
147
147
|
import {
|
|
148
148
|
qtiTransformItem,
|
|
149
149
|
qtiTransformManifest,
|
|
150
150
|
qtiTransformTest
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-HDEG6BAZ.js";
|
|
152
152
|
import {
|
|
153
153
|
QtiAnd,
|
|
154
154
|
QtiAnyN,
|
|
@@ -189,6 +189,10 @@ import {
|
|
|
189
189
|
QtiNull,
|
|
190
190
|
QtiOr,
|
|
191
191
|
QtiOrdered,
|
|
192
|
+
QtiOutcomeCondition,
|
|
193
|
+
QtiOutcomeElse,
|
|
194
|
+
QtiOutcomeElseIf,
|
|
195
|
+
QtiOutcomeIf,
|
|
192
196
|
QtiPatternMatch,
|
|
193
197
|
QtiPower,
|
|
194
198
|
QtiPrintedVariable,
|
|
@@ -218,8 +222,9 @@ import {
|
|
|
218
222
|
QtiVariable,
|
|
219
223
|
qtiAndMixin,
|
|
220
224
|
qtiSubtractMixin
|
|
221
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-MK2I3MQB.js";
|
|
222
226
|
import {
|
|
227
|
+
CustomStateSetShim,
|
|
223
228
|
INITIAL_SESSION_CONTEXT,
|
|
224
229
|
INITIAL_TEST_CONTEXT,
|
|
225
230
|
Interaction,
|
|
@@ -232,12 +237,14 @@ import {
|
|
|
232
237
|
ScoringHelper,
|
|
233
238
|
asSeed,
|
|
234
239
|
boxSizing,
|
|
240
|
+
classifyCustomStateSupport,
|
|
235
241
|
computedContext,
|
|
236
242
|
computedItemContext,
|
|
237
243
|
configContext,
|
|
238
244
|
convertNumberToUniversalFormat,
|
|
239
245
|
decimalSeparator,
|
|
240
246
|
dropRegion,
|
|
247
|
+
installCustomStateSetFallback,
|
|
241
248
|
interactionContext,
|
|
242
249
|
isSeed,
|
|
243
250
|
itemContext,
|
|
@@ -255,12 +262,13 @@ import {
|
|
|
255
262
|
sessionContext,
|
|
256
263
|
testContext,
|
|
257
264
|
validationMessage
|
|
258
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-EKXZI26R.js";
|
|
259
266
|
export {
|
|
260
267
|
CandidateCorrectionMixin,
|
|
261
268
|
ChoiceCorrectionMixin,
|
|
262
269
|
CorrectResponseMixin,
|
|
263
270
|
Correctness,
|
|
271
|
+
CustomStateSetShim,
|
|
264
272
|
INITIAL_SESSION_CONTEXT,
|
|
265
273
|
INITIAL_TEST_CONTEXT,
|
|
266
274
|
Interaction,
|
|
@@ -366,7 +374,11 @@ export {
|
|
|
366
374
|
QtiOrderInteraction,
|
|
367
375
|
QtiOrderInteractionCorrection,
|
|
368
376
|
QtiOrdered,
|
|
377
|
+
QtiOutcomeCondition,
|
|
369
378
|
QtiOutcomeDeclaration,
|
|
379
|
+
QtiOutcomeElse,
|
|
380
|
+
QtiOutcomeElseIf,
|
|
381
|
+
QtiOutcomeIf,
|
|
370
382
|
QtiOutcomeProcessing,
|
|
371
383
|
QtiOutcomeProcessingProcessor,
|
|
372
384
|
QtiPatternMatch,
|
|
@@ -457,6 +469,7 @@ export {
|
|
|
457
469
|
TestViewToggle,
|
|
458
470
|
asSeed,
|
|
459
471
|
boxSizing,
|
|
472
|
+
classifyCustomStateSupport,
|
|
460
473
|
computedContext,
|
|
461
474
|
computedItemContext,
|
|
462
475
|
configContext,
|
|
@@ -466,6 +479,7 @@ export {
|
|
|
466
479
|
dropRegion,
|
|
467
480
|
getItemByUri,
|
|
468
481
|
getManifestInfo,
|
|
482
|
+
installCustomStateSetFallback,
|
|
469
483
|
interactionContext,
|
|
470
484
|
isSeed,
|
|
471
485
|
itemContext,
|
package/dist/interactions.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
QtiPrompt,
|
|
12
12
|
QtiUploadInteraction,
|
|
13
13
|
qtiInteractionElements
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IXPDMYKH.js";
|
|
15
15
|
import {
|
|
16
16
|
QtiAssociateInteraction,
|
|
17
17
|
QtiChoiceInteraction,
|
|
@@ -34,9 +34,9 @@ import {
|
|
|
34
34
|
QtiSimpleChoice,
|
|
35
35
|
QtiSliderInteraction,
|
|
36
36
|
QtiTextEntryInteraction
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4XR2JHCP.js";
|
|
38
38
|
import "./chunk-4DB4SC5K.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-EKXZI26R.js";
|
|
40
40
|
export {
|
|
41
41
|
QtiAssociableHotspot,
|
|
42
42
|
QtiAssociateInteraction,
|