@citolab/qti-components 8.0.1 → 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 +648 -816
- package/dist/base.d.ts +61 -4
- package/dist/base.js +7 -1
- package/dist/{chunk-V5G7X53Y.js → chunk-3IACYIU2.js} +2 -2
- package/dist/chunk-4DB4SC5K.js +100 -0
- package/dist/chunk-4DB4SC5K.js.map +1 -0
- package/dist/{chunk-F4BNJWYN.js → chunk-4XR2JHCP.js} +646 -677
- package/dist/chunk-4XR2JHCP.js.map +1 -0
- package/dist/{chunk-7V4HJFHW.js → chunk-6ITD55QE.js} +2 -2
- package/dist/{chunk-3AJOQCDU.js → chunk-6V3A7NQP.js} +2 -2
- package/dist/{chunk-WVVMNF74.js → chunk-6XJUP55A.js} +248 -234
- package/dist/chunk-6XJUP55A.js.map +1 -0
- package/dist/{chunk-XU7HNT4F.js → chunk-CF3DXJWM.js} +145 -119
- package/dist/{chunk-XU7HNT4F.js.map → chunk-CF3DXJWM.js.map} +1 -1
- package/dist/chunk-EKXZI26R.js +917 -0
- 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-LVBIQDPM.js → chunk-IXPDMYKH.js} +147 -101
- package/dist/chunk-IXPDMYKH.js.map +1 -0
- package/dist/chunk-IYC7LZV6.js +7 -0
- package/dist/chunk-IYC7LZV6.js.map +1 -0
- package/dist/{chunk-NA2N2WSG.js → chunk-MK2I3MQB.js} +244 -193
- package/dist/chunk-MK2I3MQB.js.map +1 -0
- package/dist/{chunk-CAO4JRLY.js → chunk-NZLW6EX7.js} +2 -2
- package/dist/{chunk-RXGDQDOV.js → chunk-Q52IJELT.js} +479 -393
- package/dist/chunk-Q52IJELT.js.map +1 -0
- package/dist/{chunk-QECOPVPO.js → chunk-TXIB3SKC.js} +60 -59
- package/dist/chunk-TXIB3SKC.js.map +1 -0
- package/dist/{computed.types.d-rKLSPvVG.d.ts → computed.types.d-DpKIYO6e.d.ts} +2 -0
- package/dist/corrections.d.ts +12 -29
- package/dist/corrections.js +9 -10
- package/dist/elements.d.ts +86 -87
- package/dist/elements.js +5 -6
- package/dist/index.d.ts +8 -39
- package/dist/index.js +29 -16
- package/dist/{interaction.d-D4MstYRz.d.ts → interaction.d-CJiMv8H7.d.ts} +13 -2
- package/dist/interactions.d.ts +11 -1299
- package/dist/interactions.js +4 -5
- package/dist/item.css +370 -532
- package/dist/item.d.ts +3 -3
- package/dist/item.js +6 -6
- 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 +293 -69
- package/dist/qti-test.d-_YAlhDbt.d.ts +702 -0
- package/dist/qti-text-entry-interaction.d-BGdfV9qG.d.ts +1567 -0
- package/dist/test.d.ts +11 -678
- package/dist/test.js +7 -8
- package/dist/transformers.d.ts +1 -1
- package/dist/transformers.js +1 -1
- package/package.json +11 -10
- package/dist/chunk-64XSIBGO.js +0 -241
- package/dist/chunk-64XSIBGO.js.map +0 -1
- package/dist/chunk-7HC5SMCU.js +0 -102
- package/dist/chunk-7HC5SMCU.js.map +0 -1
- package/dist/chunk-F4BNJWYN.js.map +0 -1
- package/dist/chunk-H3J7LFRO.js +0 -2243
- package/dist/chunk-H3J7LFRO.js.map +0 -1
- package/dist/chunk-LVBIQDPM.js.map +0 -1
- package/dist/chunk-NA2N2WSG.js.map +0 -1
- package/dist/chunk-QECOPVPO.js.map +0 -1
- package/dist/chunk-RXGDQDOV.js.map +0 -1
- package/dist/chunk-WVVMNF74.js.map +0 -1
- package/dist/chunk-X3E5HXG2.js +0 -20
- package/dist/chunk-X3E5HXG2.js.map +0 -1
- /package/dist/{chunk-V5G7X53Y.js.map → chunk-3IACYIU2.js.map} +0 -0
- /package/dist/{chunk-7V4HJFHW.js.map → chunk-6ITD55QE.js.map} +0 -0
- /package/dist/{chunk-3AJOQCDU.js.map → chunk-6V3A7NQP.js.map} +0 -0
- /package/dist/{chunk-CAO4JRLY.js.map → chunk-NZLW6EX7.js.map} +0 -0
package/dist/elements.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-3IACYIU2.js";
|
|
2
2
|
import {
|
|
3
3
|
QtiAssessmentItem,
|
|
4
4
|
QtiAssessmentStimulusRef,
|
|
@@ -19,11 +19,10 @@ import {
|
|
|
19
19
|
QtiTemplateConstraint,
|
|
20
20
|
QtiTemplateDeclaration,
|
|
21
21
|
QtiTemplateProcessing
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-H3J7LFRO.js";
|
|
22
|
+
} from "./chunk-6XJUP55A.js";
|
|
23
|
+
import "./chunk-4DB4SC5K.js";
|
|
24
|
+
import "./chunk-HDEG6BAZ.js";
|
|
25
|
+
import "./chunk-EKXZI26R.js";
|
|
27
26
|
export {
|
|
28
27
|
QtiAssessmentItem,
|
|
29
28
|
QtiAssessmentStimulusRef,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { I as ITestNavigationMixin, Q as QtiAssessmentItemRef, a as QtiAssessmentSection, b as QtiAssessmentTest, c as QtiOutcomeProcessing, d as QtiOutcomeProcessingProcessor, e as QtiTest, f as QtiTestFeedback, g as QtiTestPart, h as QtiTestVariables, i as QtiTestVariablesExpression, S as SpeechState, T as TestCheckItem, j as TestContainer, k as TestEndAttempt, l as TestItemLink, m as TestItemToSpeech, n as TestNavigation, o as TestNext, p as TestPagingButtonsStamp, q as TestPrev, r as TestPrintContext, s as TestPrintVariables, t as TestScoringButtons, u as TestScoringFeedback, v as TestSectionButtonsStamp, w as TestSectionLink, x as TestStamp, y as TestTtsNext, z as TestTtsPause, A as TestTtsPlay, B as TestTtsPrev, C as TestTtsResume, D as TestTtsStop, E as TestView, F as TestViewToggle, G as TtsContext, H as ttsContext } from './qti-test.d-_YAlhDbt.js';
|
|
2
|
+
export { IMyQtiTest, IQtiTest, ITestProcessingMixin } from './test.js';
|
|
2
3
|
export { ItemContainer, ItemPrintVariables, QtiItem } from './item.js';
|
|
3
4
|
export { QtiAssessmentItem, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiCompanionMaterialsInfo, QtiContentBody, QtiContextDeclaration, QtiCustomOperator, QtiFeedbackBlock, QtiFeedbackInline, QtiItemBody, QtiModalFeedback, QtiOutcomeDeclaration, QtiResponseDeclaration, QtiResponseProcessing, QtiRubricBlock, QtiStylesheet, QtiTemplateConstraint, QtiTemplateDeclaration, QtiTemplateProcessing } from './elements.js';
|
|
4
|
-
export {
|
|
5
|
-
export
|
|
6
|
-
export * from '@qti-components/interactions-core/elements/qti-gap-text';
|
|
7
|
-
export * from '@qti-components/interactions-core/elements/qti-gap';
|
|
8
|
-
export * from '@qti-components/interactions-core/elements/qti-inline-choice';
|
|
9
|
-
export * from '@qti-components/interactions-core/elements/qti-hottext';
|
|
10
|
-
export * from '@qti-components/interactions-core/elements/qti-simple-associable-choice';
|
|
11
|
-
export * from '@qti-components/interactions-core/elements/qti-simple-choice';
|
|
12
|
-
export * from '@qti-components/interactions-core/elements/qti-hotspot-choice';
|
|
13
|
-
export * from '@qti-components/interactions-core/elements/qti-associable-hotspot';
|
|
14
|
-
export * from '@qti-components/interactions-core/elements/qti-prompt';
|
|
5
|
+
export { QtiCustomInteraction, QtiEndAttemptInteraction, QtiMediaInteraction, QtiPositionObjectInteraction, QtiPositionObjectStage, QtiUploadInteraction, qtiInteractionElements } from './interactions.js';
|
|
6
|
+
export { O as Orientation, Q as QtiAssociableHotspot, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, d as QtiGap, e as QtiGapImg, f as QtiGapMatchInteraction, g as QtiGapText, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, k as QtiHotspotChoice, l as QtiHotspotInteraction, m as QtiHottext, n as QtiHottextInteraction, o as QtiInlineChoice, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, t as QtiPrompt, u as QtiSelectPointInteraction, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, x as QtiSliderInteraction, y as QtiTextEntryInteraction } from './qti-text-entry-interaction.d-BGdfV9qG.js';
|
|
15
7
|
export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test.d-BL7GGFJj.js';
|
|
16
8
|
export { qtiTransformManifest } from './transformers.js';
|
|
17
9
|
export { ManifestInfo, getItemByUri, getManifestInfo } from './loader.js';
|
|
18
|
-
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';
|
|
19
11
|
export { C as ComputedItemContext } from './computed-item.types.d-BKZdSLLJ.js';
|
|
20
|
-
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-
|
|
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';
|
|
21
13
|
export { C as ConfigContext, V as ValidationDisplayMode, c as configContext } from './config.context.d-BvU9r-Mg.js';
|
|
22
|
-
export { C as ChoiceRole, I as Interaction, a as InteractionContext, i as interactionContext } from './interaction.d-
|
|
14
|
+
export { C as ChoiceRole, I as Interaction, a as InteractionContext, i as interactionContext } from './interaction.d-CJiMv8H7.js';
|
|
23
15
|
export { B as BaseType, C as Calculate, a as Cardinality, I as ItemContext, M as Multiple, O as Ordered, b as OutcomeVariable, Q as QtiAreaMapEntry, c as QtiAreaMapping, d as QtiMapEntry, e as QtiMapping, R as ResponseInteraction, f as ResponseVariable, T as TemplateVariable, V as VariableDeclaration, g as VariableValue, h as areaShape, i as directedPair, j as float, k as integer, l as itemContextVariables } from './item.types.d-QU7LljEK.js';
|
|
24
16
|
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';
|
|
25
17
|
export { I as INITIAL_TEST_CONTEXT, Q as QtiExpression, a as QtiExpressionBase, T as TestContext, t as testContext } from './qti-expression.d-BietT_8b.js';
|
|
@@ -28,31 +20,8 @@ export { Q as QtiConditionExpression } from './qti-condition-expression.d-aMvBvp
|
|
|
28
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';
|
|
29
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';
|
|
30
22
|
export { Q as QtiRuleBase, a as QtiRuleElement } from './qti-rule-base.d-ajOnfGXY.js';
|
|
31
|
-
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';
|
|
32
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';
|
|
33
25
|
import 'lit';
|
|
34
26
|
import '@heximal/templates';
|
|
35
|
-
import '@qti-components/elements/elements';
|
|
36
27
|
import 'lit/directives/ref.js';
|
|
37
|
-
import '@qti-components/portable-custom-interaction/qti-portable-custom-test-interaction.js';
|
|
38
|
-
import '@qti-components/interactions-core/mixins/drag-drop-observables';
|
|
39
|
-
import '@qti-components/interactions-core/mixins/menu-auto-size';
|
|
40
|
-
import '@qti-components/interactions-core/mixins/choices/choices.mixin';
|
|
41
|
-
import '@qti-components/item/elements';
|
|
42
|
-
import '@qti-components/test/elements';
|
|
43
|
-
import '@qti-components/associate-interaction/elements';
|
|
44
|
-
import '@qti-components/choice-interaction/elements';
|
|
45
|
-
import '@qti-components/extended-text-interaction/elements';
|
|
46
|
-
import '@qti-components/gap-match-interaction/elements';
|
|
47
|
-
import '@qti-components/graphic-associate-interaction/elements';
|
|
48
|
-
import '@qti-components/graphic-gap-match-interaction/elements';
|
|
49
|
-
import '@qti-components/graphic-order-interaction/elements';
|
|
50
|
-
import '@qti-components/hotspot-interaction/elements';
|
|
51
|
-
import '@qti-components/hottext-interaction/elements';
|
|
52
|
-
import '@qti-components/inline-choice-interaction/elements';
|
|
53
|
-
import '@qti-components/match-interaction/elements';
|
|
54
|
-
import '@qti-components/order-interaction/elements';
|
|
55
|
-
import '@qti-components/portable-custom-interaction/elements';
|
|
56
|
-
import '@qti-components/select-point-interaction/elements';
|
|
57
|
-
import '@qti-components/slider-interaction/elements';
|
|
58
|
-
import '@qti-components/text-entry-interaction/elements';
|
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,25 +131,24 @@ import {
|
|
|
131
131
|
QtiSimpleChoice,
|
|
132
132
|
QtiSliderInteraction,
|
|
133
133
|
QtiTextEntryInteraction
|
|
134
|
-
} from "./chunk-
|
|
135
|
-
import "./chunk-
|
|
136
|
-
import "./chunk-3AJOQCDU.js";
|
|
134
|
+
} from "./chunk-4XR2JHCP.js";
|
|
135
|
+
import "./chunk-6V3A7NQP.js";
|
|
137
136
|
import {
|
|
138
137
|
ItemContainer,
|
|
139
138
|
ItemPrintVariables,
|
|
140
139
|
QtiItem
|
|
141
|
-
} from "./chunk-
|
|
142
|
-
import "./chunk-
|
|
143
|
-
import "./chunk-
|
|
140
|
+
} from "./chunk-TXIB3SKC.js";
|
|
141
|
+
import "./chunk-IYC7LZV6.js";
|
|
142
|
+
import "./chunk-4DB4SC5K.js";
|
|
144
143
|
import {
|
|
145
144
|
getItemByUri,
|
|
146
145
|
getManifestInfo
|
|
147
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-6ITD55QE.js";
|
|
148
147
|
import {
|
|
149
148
|
qtiTransformItem,
|
|
150
149
|
qtiTransformManifest,
|
|
151
150
|
qtiTransformTest
|
|
152
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-HDEG6BAZ.js";
|
|
153
152
|
import {
|
|
154
153
|
QtiAnd,
|
|
155
154
|
QtiAnyN,
|
|
@@ -190,6 +189,10 @@ import {
|
|
|
190
189
|
QtiNull,
|
|
191
190
|
QtiOr,
|
|
192
191
|
QtiOrdered,
|
|
192
|
+
QtiOutcomeCondition,
|
|
193
|
+
QtiOutcomeElse,
|
|
194
|
+
QtiOutcomeElseIf,
|
|
195
|
+
QtiOutcomeIf,
|
|
193
196
|
QtiPatternMatch,
|
|
194
197
|
QtiPower,
|
|
195
198
|
QtiPrintedVariable,
|
|
@@ -219,8 +222,9 @@ import {
|
|
|
219
222
|
QtiVariable,
|
|
220
223
|
qtiAndMixin,
|
|
221
224
|
qtiSubtractMixin
|
|
222
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-MK2I3MQB.js";
|
|
223
226
|
import {
|
|
227
|
+
CustomStateSetShim,
|
|
224
228
|
INITIAL_SESSION_CONTEXT,
|
|
225
229
|
INITIAL_TEST_CONTEXT,
|
|
226
230
|
Interaction,
|
|
@@ -233,12 +237,14 @@ import {
|
|
|
233
237
|
ScoringHelper,
|
|
234
238
|
asSeed,
|
|
235
239
|
boxSizing,
|
|
240
|
+
classifyCustomStateSupport,
|
|
236
241
|
computedContext,
|
|
237
242
|
computedItemContext,
|
|
238
243
|
configContext,
|
|
239
244
|
convertNumberToUniversalFormat,
|
|
240
245
|
decimalSeparator,
|
|
241
246
|
dropRegion,
|
|
247
|
+
installCustomStateSetFallback,
|
|
242
248
|
interactionContext,
|
|
243
249
|
isSeed,
|
|
244
250
|
itemContext,
|
|
@@ -256,12 +262,13 @@ import {
|
|
|
256
262
|
sessionContext,
|
|
257
263
|
testContext,
|
|
258
264
|
validationMessage
|
|
259
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-EKXZI26R.js";
|
|
260
266
|
export {
|
|
261
267
|
CandidateCorrectionMixin,
|
|
262
268
|
ChoiceCorrectionMixin,
|
|
263
269
|
CorrectResponseMixin,
|
|
264
270
|
Correctness,
|
|
271
|
+
CustomStateSetShim,
|
|
265
272
|
INITIAL_SESSION_CONTEXT,
|
|
266
273
|
INITIAL_TEST_CONTEXT,
|
|
267
274
|
Interaction,
|
|
@@ -367,7 +374,11 @@ export {
|
|
|
367
374
|
QtiOrderInteraction,
|
|
368
375
|
QtiOrderInteractionCorrection,
|
|
369
376
|
QtiOrdered,
|
|
377
|
+
QtiOutcomeCondition,
|
|
370
378
|
QtiOutcomeDeclaration,
|
|
379
|
+
QtiOutcomeElse,
|
|
380
|
+
QtiOutcomeElseIf,
|
|
381
|
+
QtiOutcomeIf,
|
|
371
382
|
QtiOutcomeProcessing,
|
|
372
383
|
QtiOutcomeProcessingProcessor,
|
|
373
384
|
QtiPatternMatch,
|
|
@@ -458,6 +469,7 @@ export {
|
|
|
458
469
|
TestViewToggle,
|
|
459
470
|
asSeed,
|
|
460
471
|
boxSizing,
|
|
472
|
+
classifyCustomStateSupport,
|
|
461
473
|
computedContext,
|
|
462
474
|
computedItemContext,
|
|
463
475
|
configContext,
|
|
@@ -467,6 +479,7 @@ export {
|
|
|
467
479
|
dropRegion,
|
|
468
480
|
getItemByUri,
|
|
469
481
|
getManifestInfo,
|
|
482
|
+
installCustomStateSetFallback,
|
|
470
483
|
interactionContext,
|
|
471
484
|
isSeed,
|
|
472
485
|
itemContext,
|
|
@@ -108,8 +108,19 @@ declare abstract class Interaction extends LitElement implements ValidatableInte
|
|
|
108
108
|
connectedCallback(): void;
|
|
109
109
|
saveResponse(value: string | string[], state?: string | null): void;
|
|
110
110
|
constructor();
|
|
111
|
-
/**
|
|
112
|
-
|
|
111
|
+
/**
|
|
112
|
+
* Optional lifecycle bridge for interaction subclasses that do not need changed-property data.
|
|
113
|
+
*
|
|
114
|
+
* The parameter is `PropertyValues`, matching LitElement, and NOT `PropertyValues<this>`.
|
|
115
|
+
* The polymorphic `this` narrowed the parameter per subclass, which made every interaction
|
|
116
|
+
* class structurally incompatible with `LitElement` — so `Constructor<LitElement>`, the
|
|
117
|
+
* standard constraint for a Lit mixin, rejected all of them and consumers could not wrap an
|
|
118
|
+
* interaction in a mixin without casting. `this` buys nothing in a parameter position and
|
|
119
|
+
* costs contravariant compatibility with the base class.
|
|
120
|
+
*
|
|
121
|
+
* Still optional, so subclasses that ignore the argument can override with `firstUpdated()`.
|
|
122
|
+
*/
|
|
123
|
+
protected firstUpdated(_changedProperties?: PropertyValues): void;
|
|
113
124
|
}
|
|
114
125
|
|
|
115
126
|
export { type ChoiceRole as C, Interaction as I, type InteractionContext as a, interactionContext as i };
|