@citolab/qti-components 10.0.0-next.2 → 10.0.0-next.21
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 +4334 -2688
- package/dist/base.d.ts +39 -13
- package/dist/base.js +14 -1
- package/dist/{chunk-RU6332MD.js → chunk-2A52V5TQ.js} +4 -4
- package/dist/{chunk-2KP5UU5A.js → chunk-55WWIRLN.js} +117 -92
- package/dist/chunk-55WWIRLN.js.map +1 -0
- package/dist/{chunk-MI7774NV.js → chunk-5BP2A7BI.js} +2 -2
- package/dist/{chunk-35WWWFS6.js → chunk-DAESCCLR.js} +2 -2
- package/dist/chunk-DJ7PB252.js +7 -0
- package/dist/chunk-DJ7PB252.js.map +1 -0
- package/dist/{chunk-TDWJ6WZA.js → chunk-GPC53O7P.js} +166 -10
- package/dist/chunk-GPC53O7P.js.map +1 -0
- package/dist/{chunk-6U3YPHXU.js → chunk-H6DO5UHC.js} +277 -154
- package/dist/chunk-H6DO5UHC.js.map +1 -0
- package/dist/chunk-J6VX4N7M.js +197 -0
- package/dist/chunk-J6VX4N7M.js.map +1 -0
- package/dist/{chunk-3ZNECUPV.js → chunk-JIDSFFFD.js} +2 -2
- package/dist/{chunk-FD4AB6TM.js → chunk-KQ2LED4X.js} +2 -2
- package/dist/{chunk-6K3QWJHH.js → chunk-LPYZVKHX.js} +48 -7
- package/dist/chunk-LPYZVKHX.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +10 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/{chunk-K3VKQ6QF.js → chunk-TB2OI3ED.js} +677 -1894
- package/dist/chunk-TB2OI3ED.js.map +1 -0
- package/dist/{chunk-GBZNFSFY.js → chunk-TSJGL6FI.js} +2 -2
- package/dist/{chunk-RSMYGGQK.js → chunk-TZCOXFPB.js} +1590 -610
- package/dist/chunk-TZCOXFPB.js.map +1 -0
- package/dist/chunk-UCXLDQYA.js +56 -0
- package/dist/chunk-UCXLDQYA.js.map +1 -0
- package/dist/chunk-WWY2H2YO.js +7 -0
- package/dist/chunk-WWY2H2YO.js.map +1 -0
- package/dist/{chunk-LFVPS7KB.js → chunk-XWRZP2RM.js} +2 -2
- package/dist/{chunk-TLAVOBEM.js → chunk-ZRORBAHB.js} +122 -3
- package/dist/chunk-ZRORBAHB.js.map +1 -0
- package/dist/computed.types.d-6Ht-HNRx.d.ts +80 -0
- package/dist/{config.context.d-BvU9r-Mg.d.ts → config.context.d-Dm11aAuw.d.ts} +21 -3
- package/dist/corrections.d.ts +137 -24
- package/dist/corrections.js +12 -12
- package/dist/corrections.js.map +1 -1
- package/dist/elements.d.ts +66 -73
- package/dist/elements.js +9 -6
- package/dist/index.d.ts +21 -17
- package/dist/index.js +47 -61
- package/dist/interactions.d.ts +98 -19
- package/dist/interactions.js +8 -3
- package/dist/item.css +1948 -1946
- package/dist/item.d.ts +8 -6
- package/dist/item.js +6 -5
- package/dist/item.types.d-Zc6ZQDhu.d.ts +25 -0
- package/dist/loader.d.ts +5 -3
- package/dist/loader.js +3 -2
- package/dist/processing.d.ts +19 -7
- package/dist/processing.js +4 -3
- package/dist/public-events.d-3dGip9pd.d.ts +105 -0
- package/dist/qti-components-jsx.d.ts +1780 -1727
- package/dist/{qti-condition-expression.d-VJH6cWxf.d.ts → qti-condition-expression.d-7Kd4LBxn.d.ts} +1 -1
- package/dist/{qti-expression.d-BPxEp8HU.d.ts → qti-expression.d-iH3w6mqf.d.ts} +2 -1
- package/dist/{qti-feedback.d-wMYNVkkj.d.ts → qti-feedback.d-CT0W-8Gm.d.ts} +8 -1
- package/dist/{qti-item.d-DgC1AQbY.d.ts → qti-item.d-CxP6KtCH.d.ts} +3 -2
- package/dist/{qti-rule-base.d-Bdzg8eGH.d.ts → qti-rule-base.d-CeKP0Ooi.d.ts} +2 -2
- package/dist/qti-test-state-CF9S8X9C.d.ts +68 -0
- package/dist/qti-test-state.d-D8Q89RzZ.d.ts +57 -0
- package/dist/{qti-test.d-DkpBNcsv.d.ts → qti-test.d-DBT-YpRu.d.ts} +124 -485
- package/dist/{qti-text-entry-interaction.d-q8u5BiVK.d.ts → qti-text-entry-interaction.d-m0EFv9no.d.ts} +221 -73
- package/dist/{qti-transform-test.d-BL7GGFJj.d.ts → qti-transform-test.d-Bb9vnLzP.d.ts} +1 -0
- package/dist/{interaction.d-g6XG0T0Z.d.ts → record.d-N1Bq7e1f.d.ts} +67 -4
- package/dist/{session.context.d-D5080LVx.d.ts → session.context.d-9gRdGK4T.d.ts} +7 -1
- package/dist/test-plugin-api.d.ts +134 -0
- package/dist/test-plugin-api.js +19 -0
- package/dist/test-plugin-api.js.map +1 -0
- package/dist/test.d.ts +26 -57
- package/dist/test.js +19 -48
- package/dist/transformers.d.ts +1 -1
- package/dist/transformers.js +2 -1
- package/dist/{item.types.d-B55QkJ92.d.ts → variables.d-DWHlTszN.d.ts} +8 -24
- package/package.json +16 -11
- package/dist/chunk-2KP5UU5A.js.map +0 -1
- package/dist/chunk-6K3QWJHH.js.map +0 -1
- package/dist/chunk-6U3YPHXU.js.map +0 -1
- package/dist/chunk-K3VKQ6QF.js.map +0 -1
- package/dist/chunk-RSMYGGQK.js.map +0 -1
- package/dist/chunk-TDWJ6WZA.js.map +0 -1
- package/dist/chunk-TLAVOBEM.js.map +0 -1
- package/dist/chunk-ZP6QQYSU.js +0 -7
- package/dist/chunk-ZP6QQYSU.js.map +0 -1
- package/dist/computed.types.d-gJrBeUMG.d.ts +0 -42
- /package/dist/{chunk-RU6332MD.js.map → chunk-2A52V5TQ.js.map} +0 -0
- /package/dist/{chunk-MI7774NV.js.map → chunk-5BP2A7BI.js.map} +0 -0
- /package/dist/{chunk-35WWWFS6.js.map → chunk-DAESCCLR.js.map} +0 -0
- /package/dist/{chunk-3ZNECUPV.js.map → chunk-JIDSFFFD.js.map} +0 -0
- /package/dist/{chunk-FD4AB6TM.js.map → chunk-KQ2LED4X.js.map} +0 -0
- /package/dist/{chunk-GBZNFSFY.js.map → chunk-TSJGL6FI.js.map} +0 -0
- /package/dist/{chunk-LFVPS7KB.js.map → chunk-XWRZP2RM.js.map} +0 -0
package/dist/elements.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-TSJGL6FI.js";
|
|
2
2
|
import {
|
|
3
|
-
PUBLIC_ITEM_EVENTS,
|
|
4
3
|
QtiAssessmentItem,
|
|
5
4
|
QtiAssessmentStimulus,
|
|
6
5
|
QtiAssessmentStimulusRef,
|
|
@@ -20,15 +19,19 @@ import {
|
|
|
20
19
|
QtiStylesheet,
|
|
21
20
|
QtiTemplateConstraint,
|
|
22
21
|
QtiTemplateDeclaration,
|
|
23
|
-
QtiTemplateProcessing
|
|
22
|
+
QtiTemplateProcessing
|
|
23
|
+
} from "./chunk-H6DO5UHC.js";
|
|
24
|
+
import {
|
|
25
|
+
PUBLIC_ITEM_EVENTS,
|
|
24
26
|
dispatchDeclared,
|
|
25
27
|
dispatchPublic,
|
|
26
28
|
listenDeclared,
|
|
27
29
|
listenPublic
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UCXLDQYA.js";
|
|
29
31
|
import "./chunk-4DB4SC5K.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-ZRORBAHB.js";
|
|
33
|
+
import "./chunk-GPC53O7P.js";
|
|
34
|
+
import "./chunk-PZ5AY32C.js";
|
|
32
35
|
export {
|
|
33
36
|
PUBLIC_ITEM_EVENTS,
|
|
34
37
|
QtiAssessmentItem,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
export { I as ITestNavigationMixin, a as ITestStateMixin, b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as QtiBranchRule, f as QtiItemSessionControl, g as
|
|
2
|
-
export { IMyQtiTest, IQtiTest, ITestProcessingMixin,
|
|
3
|
-
export {
|
|
1
|
+
export { I as ITestNavigationMixin, a as ITestStateMixin, b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as QtiBranchRule, f as QtiItemSessionControl, g as QtiNumberPresented, h as QtiNumberSelected, i as QtiOutcomeProcessing, j as QtiOutcomeProcessingProcessor, k as QtiPreCondition, l as QtiTest, m as QtiTestFeedback, n as QtiTestPart, o as QtiTestVariables, p as QtiTestVariablesExpression, T as TestContainer, q as TestEndAttempt, r as TestNavigation, s as TestNext, t as TestPrev, u as TestSubmit } from './qti-test.d-DBT-YpRu.js';
|
|
2
|
+
export { IMyQtiTest, IQtiTest, ITestProcessingMixin, pluginElements } from './test.js';
|
|
3
|
+
export { Q as QTI_TEST_STATE_VERSION, a as QtiTestPluginState, b as QtiTestState, c as QtiTestStateItem, d as QtiTestStateSession, e as QtiTestStateValue, p as pluginState } from './qti-test-state-CF9S8X9C.js';
|
|
4
|
+
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-CxP6KtCH.js';
|
|
4
5
|
export { ItemViewMixin } from './item.js';
|
|
5
|
-
export {
|
|
6
|
+
export { F as FeedbackEventDetail, P as PUBLIC_ITEM_EVENTS, a as PublicEventDeclaration, b as PublicItemEventMap, c as PublicItemEventName, R as RubricPlacement, d as dispatchDeclared, e as dispatchPublic, l as listenDeclared, f as listenPublic } from './public-events.d-3dGip9pd.js';
|
|
7
|
+
export { QtiAssessmentItem, QtiAssessmentStimulus, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiCompanionMaterialsInfo, QtiContentBody, QtiContextDeclaration, QtiCustomOperator, QtiFeedbackBlock, QtiFeedbackInline, QtiItemBody, QtiModalFeedback, QtiOutcomeDeclaration, QtiResponseDeclaration, QtiResponseProcessing, QtiRubricBlock, QtiStylesheet, QtiTemplateConstraint, QtiTemplateDeclaration, QtiTemplateProcessing } from './elements.js';
|
|
6
8
|
export { QtiCustomInteraction, QtiEndAttemptInteraction, QtiMediaInteraction, QtiPositionObjectInteraction, QtiPositionObjectStage, QtiUploadInteraction, qtiInteractionElements } from './interactions.js';
|
|
7
|
-
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-
|
|
8
|
-
export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test.d-
|
|
9
|
+
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, z as inlineScriptText, A as inlineStyleText } from './qti-text-entry-interaction.d-m0EFv9no.js';
|
|
10
|
+
export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test.d-Bb9vnLzP.js';
|
|
9
11
|
export { qtiTransformManifest } from './transformers.js';
|
|
10
12
|
export { ManifestInfo, getItemByUri, getManifestInfo } from './loader.js';
|
|
11
|
-
export { CustomOperator, CustomOperatorValue, CustomStateSetShim, CustomStateSupport, IsNullOrUndefined, ScoringHelper, boxSizing, classifyCustomStateSupport, computedContext, computedItemContext, convertNumberToUniversalFormat, decimalSeparator, dropRegion, getCustomOperator, installCustomStateSetFallback, itemContext, registerCustomOperator, removeDoubleSlashes, unregisterCustomOperator, validationMessage } from './base.js';
|
|
12
|
-
export { C as ComputedItemContext, I as INITIAL_SESSION_CONTEXT, S as SessionContext, V as View, s as sessionContext } from './session.context.d-
|
|
13
|
-
export { C as ComputedContext, a as ComputedItem } from './computed.types.d-
|
|
14
|
-
export { C as ConfigContext, V as ValidationDisplayMode, c as configContext } from './config.context.d-
|
|
15
|
-
export { C as ChoiceRole, I as Interaction, a as InteractionContext, i as interactionContext } from './
|
|
16
|
-
export {
|
|
13
|
+
export { CustomOperator, CustomOperatorValue, CustomStateSetShim, CustomStateSupport, IsNullOrUndefined, STATE_ALIASES, ScoringHelper, boxSizing, classifyCustomStateSupport, computedContext, computedItemContext, convertNumberToUniversalFormat, decimalSeparator, dropRegion, getCustomOperator, hasState, installCustomStateSetFallback, itemContext, registerCustomOperator, removeDoubleSlashes, setState, unregisterCustomOperator, validationMessage } from './base.js';
|
|
14
|
+
export { C as ComputedItemContext, I as INITIAL_SESSION_CONTEXT, S as SessionContext, V as View, s as sessionContext } from './session.context.d-9gRdGK4T.js';
|
|
15
|
+
export { C as ComputedContext, a as ComputedItem, S as SessionControl } from './computed.types.d-6Ht-HNRx.js';
|
|
16
|
+
export { C as ConfigContext, V as ValidationDisplayMode, c as configContext } from './config.context.d-Dm11aAuw.js';
|
|
17
|
+
export { C as ChoiceRole, I as Interaction, a as InteractionContext, R as RecordFieldValues, b as RecordValue, V as ValidityKind, c as ValidityTrigger, i as inferRecordFieldBaseType, d as interactionContext, e as isRecordValue, r as readRecordFieldValues } from './record.d-N1Bq7e1f.js';
|
|
18
|
+
export { I as ItemContext, i as itemContextVariables } from './item.types.d-Zc6ZQDhu.js';
|
|
17
19
|
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';
|
|
18
|
-
export { I as INITIAL_TEST_CONTEXT, Q as QtiExpression, a as QtiExpressionBase, T as TestContext, t as testContext } from './qti-expression.d-
|
|
19
|
-
export { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-
|
|
20
|
-
export { Q as QtiConditionExpression } from './qti-condition-expression.d-
|
|
20
|
+
export { I as INITIAL_TEST_CONTEXT, Q as QtiExpression, a as QtiExpressionBase, T as TestContext, t as testContext } from './qti-expression.d-iH3w6mqf.js';
|
|
21
|
+
export { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-CT0W-8Gm.js';
|
|
22
|
+
export { Q as QtiConditionExpression } from './qti-condition-expression.d-7Kd4LBxn.js';
|
|
21
23
|
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';
|
|
24
|
+
export { B as BaseType, C as Calculate, a as Cardinality, I as InterpolationTableEntry, 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 } from './variables.d-DWHlTszN.js';
|
|
22
25
|
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';
|
|
23
|
-
export { Q as QtiExitResponseSignal, a as QtiExitTestSignal, b as QtiRuleBase, c as QtiRuleElement } from './qti-rule-base.d-
|
|
26
|
+
export { Q as QtiExitResponseSignal, a as QtiExitTestSignal, b as QtiRuleBase, c as QtiRuleElement } from './qti-rule-base.d-CeKP0Ooi.js';
|
|
24
27
|
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 } from './processing.js';
|
|
25
|
-
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,
|
|
28
|
+
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, TestNavigationCorrection, TestShowCorrectResponse, correctionPart } from './corrections.js';
|
|
26
29
|
import 'lit';
|
|
27
30
|
import '@heximal/templates';
|
|
31
|
+
import './qti-test-state.d-D8Q89RzZ.js';
|
|
28
32
|
import 'lit/directives/ref.js';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-JIDSFFFD.js";
|
|
2
|
+
import {
|
|
3
|
+
pluginState
|
|
4
|
+
} from "./chunk-DJ7PB252.js";
|
|
2
5
|
import {
|
|
3
6
|
CandidateCorrectionMixin,
|
|
4
7
|
ChoiceCorrectionMixin,
|
|
@@ -31,11 +34,10 @@ import {
|
|
|
31
34
|
QtiSliderInteractionCorrection,
|
|
32
35
|
QtiTestCorrection,
|
|
33
36
|
QtiTextEntryInteractionCorrection,
|
|
34
|
-
TestCheckItemCorrection,
|
|
35
37
|
TestNavigationCorrection,
|
|
36
38
|
TestShowCorrectResponse,
|
|
37
39
|
correctionPart
|
|
38
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-55WWIRLN.js";
|
|
39
41
|
import {
|
|
40
42
|
QTI_TEST_STATE_VERSION,
|
|
41
43
|
QtiAssessmentItemRef,
|
|
@@ -43,6 +45,7 @@ import {
|
|
|
43
45
|
QtiAssessmentTest,
|
|
44
46
|
QtiBranchRule,
|
|
45
47
|
QtiItemSessionControl,
|
|
48
|
+
QtiNumberPresented,
|
|
46
49
|
QtiNumberSelected,
|
|
47
50
|
QtiOutcomeProcessing,
|
|
48
51
|
QtiOutcomeProcessingProcessor,
|
|
@@ -52,36 +55,17 @@ import {
|
|
|
52
55
|
QtiTestPart,
|
|
53
56
|
QtiTestVariables,
|
|
54
57
|
QtiTestVariablesExpression,
|
|
55
|
-
TestCheckItem,
|
|
56
58
|
TestContainer,
|
|
57
59
|
TestEndAttempt,
|
|
58
|
-
TestItemLink,
|
|
59
|
-
TestItemToSpeech,
|
|
60
60
|
TestNavigation,
|
|
61
61
|
TestNext,
|
|
62
|
-
TestPagingButtonsStamp,
|
|
63
62
|
TestPrev,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
TestSectionLink,
|
|
70
|
-
TestStamp,
|
|
71
|
-
TestTtsNext,
|
|
72
|
-
TestTtsPause,
|
|
73
|
-
TestTtsPick,
|
|
74
|
-
TestTtsPlay,
|
|
75
|
-
TestTtsPrev,
|
|
76
|
-
TestTtsResume,
|
|
77
|
-
TestTtsStop,
|
|
78
|
-
TestView,
|
|
79
|
-
TestViewToggle,
|
|
80
|
-
ttsContext
|
|
81
|
-
} from "./chunk-K3VKQ6QF.js";
|
|
82
|
-
import "./chunk-GBZNFSFY.js";
|
|
63
|
+
TestSubmit,
|
|
64
|
+
pluginElements
|
|
65
|
+
} from "./chunk-TB2OI3ED.js";
|
|
66
|
+
import "./chunk-J6VX4N7M.js";
|
|
67
|
+
import "./chunk-TSJGL6FI.js";
|
|
83
68
|
import {
|
|
84
|
-
PUBLIC_ITEM_EVENTS,
|
|
85
69
|
QtiAssessmentItem,
|
|
86
70
|
QtiAssessmentStimulus,
|
|
87
71
|
QtiAssessmentStimulusRef,
|
|
@@ -101,13 +85,16 @@ import {
|
|
|
101
85
|
QtiStylesheet,
|
|
102
86
|
QtiTemplateConstraint,
|
|
103
87
|
QtiTemplateDeclaration,
|
|
104
|
-
QtiTemplateProcessing
|
|
88
|
+
QtiTemplateProcessing
|
|
89
|
+
} from "./chunk-H6DO5UHC.js";
|
|
90
|
+
import {
|
|
91
|
+
PUBLIC_ITEM_EVENTS,
|
|
105
92
|
dispatchDeclared,
|
|
106
93
|
dispatchPublic,
|
|
107
94
|
listenDeclared,
|
|
108
95
|
listenPublic
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import "./chunk-
|
|
96
|
+
} from "./chunk-UCXLDQYA.js";
|
|
97
|
+
import "./chunk-DAESCCLR.js";
|
|
111
98
|
import {
|
|
112
99
|
QtiAssociableHotspot,
|
|
113
100
|
QtiAssociateInteraction,
|
|
@@ -141,27 +128,29 @@ import {
|
|
|
141
128
|
QtiSliderInteraction,
|
|
142
129
|
QtiTextEntryInteraction,
|
|
143
130
|
QtiUploadInteraction,
|
|
131
|
+
inlineScriptText,
|
|
132
|
+
inlineStyleText,
|
|
144
133
|
qtiInteractionElements
|
|
145
|
-
} from "./chunk-
|
|
146
|
-
import "./chunk-
|
|
134
|
+
} from "./chunk-TZCOXFPB.js";
|
|
135
|
+
import "./chunk-KQ2LED4X.js";
|
|
147
136
|
import {
|
|
148
137
|
ItemContainer,
|
|
149
138
|
ItemPrintVariables,
|
|
150
139
|
ItemViewMixin,
|
|
151
140
|
QtiItem
|
|
152
|
-
} from "./chunk-
|
|
153
|
-
import "./chunk-
|
|
141
|
+
} from "./chunk-2A52V5TQ.js";
|
|
142
|
+
import "./chunk-WWY2H2YO.js";
|
|
154
143
|
import "./chunk-4DB4SC5K.js";
|
|
155
144
|
import {
|
|
156
145
|
getItemByUri,
|
|
157
146
|
getManifestInfo
|
|
158
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-XWRZP2RM.js";
|
|
159
148
|
import {
|
|
160
149
|
qtiTransformItem,
|
|
161
150
|
qtiTransformManifest,
|
|
162
151
|
qtiTransformTest
|
|
163
|
-
} from "./chunk-
|
|
164
|
-
import "./chunk-
|
|
152
|
+
} from "./chunk-ZRORBAHB.js";
|
|
153
|
+
import "./chunk-5BP2A7BI.js";
|
|
165
154
|
import {
|
|
166
155
|
QtiAnd,
|
|
167
156
|
QtiAnyN,
|
|
@@ -239,7 +228,7 @@ import {
|
|
|
239
228
|
QtiVariable,
|
|
240
229
|
qtiAndMixin,
|
|
241
230
|
qtiSubtractMixin
|
|
242
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-LPYZVKHX.js";
|
|
243
232
|
import {
|
|
244
233
|
CustomStateSetShim,
|
|
245
234
|
INITIAL_SESSION_CONTEXT,
|
|
@@ -253,6 +242,7 @@ import {
|
|
|
253
242
|
QtiFeedback,
|
|
254
243
|
QtiRuleElement,
|
|
255
244
|
QtiVariableDeclaration,
|
|
245
|
+
STATE_ALIASES,
|
|
256
246
|
ScoringHelper,
|
|
257
247
|
asSeed,
|
|
258
248
|
boxSizing,
|
|
@@ -264,8 +254,11 @@ import {
|
|
|
264
254
|
decimalSeparator,
|
|
265
255
|
dropRegion,
|
|
266
256
|
getCustomOperator,
|
|
257
|
+
hasState,
|
|
258
|
+
inferRecordFieldBaseType,
|
|
267
259
|
installCustomStateSetFallback,
|
|
268
260
|
interactionContext,
|
|
261
|
+
isRecordValue,
|
|
269
262
|
isSeed,
|
|
270
263
|
itemContext,
|
|
271
264
|
itemContextVariables,
|
|
@@ -274,6 +267,7 @@ import {
|
|
|
274
267
|
parsePoint,
|
|
275
268
|
parseResponseAttribute,
|
|
276
269
|
qtiContext,
|
|
270
|
+
readRecordFieldValues,
|
|
277
271
|
registerCustomOperator,
|
|
278
272
|
removeDoubleSlashes,
|
|
279
273
|
responseAttributeConverter,
|
|
@@ -281,10 +275,12 @@ import {
|
|
|
281
275
|
serializePoint,
|
|
282
276
|
serializeResponseAttribute,
|
|
283
277
|
sessionContext,
|
|
278
|
+
setState,
|
|
284
279
|
testContext,
|
|
285
280
|
unregisterCustomOperator,
|
|
286
281
|
validationMessage
|
|
287
|
-
} from "./chunk-
|
|
282
|
+
} from "./chunk-GPC53O7P.js";
|
|
283
|
+
import "./chunk-PZ5AY32C.js";
|
|
288
284
|
export {
|
|
289
285
|
CandidateCorrectionMixin,
|
|
290
286
|
ChoiceCorrectionMixin,
|
|
@@ -403,6 +399,7 @@ export {
|
|
|
403
399
|
QtiMultiple,
|
|
404
400
|
QtiNot,
|
|
405
401
|
QtiNull,
|
|
402
|
+
QtiNumberPresented,
|
|
406
403
|
QtiNumberSelected,
|
|
407
404
|
QtiOr,
|
|
408
405
|
QtiOrderInteraction,
|
|
@@ -475,35 +472,16 @@ export {
|
|
|
475
472
|
QtiUploadInteraction,
|
|
476
473
|
QtiVariable,
|
|
477
474
|
QtiVariableDeclaration,
|
|
475
|
+
STATE_ALIASES,
|
|
478
476
|
ScoringHelper,
|
|
479
|
-
TestCheckItem,
|
|
480
|
-
TestCheckItemCorrection,
|
|
481
477
|
TestContainer,
|
|
482
478
|
TestEndAttempt,
|
|
483
|
-
TestItemLink,
|
|
484
|
-
TestItemToSpeech,
|
|
485
479
|
TestNavigation,
|
|
486
480
|
TestNavigationCorrection,
|
|
487
481
|
TestNext,
|
|
488
|
-
TestPagingButtonsStamp,
|
|
489
482
|
TestPrev,
|
|
490
|
-
TestPrintContext,
|
|
491
|
-
TestPrintVariables,
|
|
492
|
-
TestScoringButtons,
|
|
493
|
-
TestScoringFeedback,
|
|
494
|
-
TestSectionButtonsStamp,
|
|
495
|
-
TestSectionLink,
|
|
496
483
|
TestShowCorrectResponse,
|
|
497
|
-
|
|
498
|
-
TestTtsNext,
|
|
499
|
-
TestTtsPause,
|
|
500
|
-
TestTtsPick,
|
|
501
|
-
TestTtsPlay,
|
|
502
|
-
TestTtsPrev,
|
|
503
|
-
TestTtsResume,
|
|
504
|
-
TestTtsStop,
|
|
505
|
-
TestView,
|
|
506
|
-
TestViewToggle,
|
|
484
|
+
TestSubmit,
|
|
507
485
|
asSeed,
|
|
508
486
|
boxSizing,
|
|
509
487
|
classifyCustomStateSupport,
|
|
@@ -519,8 +497,13 @@ export {
|
|
|
519
497
|
getCustomOperator,
|
|
520
498
|
getItemByUri,
|
|
521
499
|
getManifestInfo,
|
|
500
|
+
hasState,
|
|
501
|
+
inferRecordFieldBaseType,
|
|
502
|
+
inlineScriptText,
|
|
503
|
+
inlineStyleText,
|
|
522
504
|
installCustomStateSetFallback,
|
|
523
505
|
interactionContext,
|
|
506
|
+
isRecordValue,
|
|
524
507
|
isSeed,
|
|
525
508
|
itemContext,
|
|
526
509
|
itemContextVariables,
|
|
@@ -530,6 +513,8 @@ export {
|
|
|
530
513
|
parsePair,
|
|
531
514
|
parsePoint,
|
|
532
515
|
parseResponseAttribute,
|
|
516
|
+
pluginElements,
|
|
517
|
+
pluginState,
|
|
533
518
|
qtiAndMixin,
|
|
534
519
|
qtiContext,
|
|
535
520
|
qtiInteractionElements,
|
|
@@ -537,6 +522,7 @@ export {
|
|
|
537
522
|
qtiTransformItem,
|
|
538
523
|
qtiTransformManifest,
|
|
539
524
|
qtiTransformTest,
|
|
525
|
+
readRecordFieldValues,
|
|
540
526
|
registerCustomOperator,
|
|
541
527
|
removeDoubleSlashes,
|
|
542
528
|
responseAttributeConverter,
|
|
@@ -544,8 +530,8 @@ export {
|
|
|
544
530
|
serializePoint,
|
|
545
531
|
serializeResponseAttribute,
|
|
546
532
|
sessionContext,
|
|
533
|
+
setState,
|
|
547
534
|
testContext,
|
|
548
|
-
ttsContext,
|
|
549
535
|
unregisterCustomOperator,
|
|
550
536
|
validationMessage
|
|
551
537
|
};
|
package/dist/interactions.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, f as QtiGapMatchInteraction, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, l as QtiHotspotInteraction, n as QtiHottextInteraction, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction,
|
|
2
|
-
export { O as Orientation } from './qti-text-entry-interaction.d-
|
|
1
|
+
import { a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, f as QtiGapMatchInteraction, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, l as QtiHotspotInteraction, n as QtiHottextInteraction, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, B as QtiPortableCustomInteractionTest, u as QtiSelectPointInteraction, x as QtiSliderInteraction, y as QtiTextEntryInteraction, Q as QtiAssociableHotspot, d as QtiGap, e as QtiGapImg, g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, o as QtiInlineChoice, t as QtiPrompt, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice } from './qti-text-entry-interaction.d-m0EFv9no.js';
|
|
2
|
+
export { O as Orientation, z as inlineScriptText, A as inlineStyleText } from './qti-text-entry-interaction.d-m0EFv9no.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
|
-
import { CSSResultGroup, LitElement
|
|
5
|
-
import { I as Interaction } from './
|
|
4
|
+
import { CSSResultGroup, LitElement } from 'lit';
|
|
5
|
+
import { I as Interaction, c as ValidityTrigger } from './record.d-N1Bq7e1f.js';
|
|
6
6
|
import './interaction.interface.d-CvjHM2bi.js';
|
|
7
|
-
import './config.context.d-
|
|
8
|
-
import './
|
|
7
|
+
import './config.context.d-Dm11aAuw.js';
|
|
8
|
+
import './variables.d-DWHlTszN.js';
|
|
9
|
+
import './item.types.d-Zc6ZQDhu.js';
|
|
9
10
|
import './qti.context.d-CejJMlfZ.js';
|
|
10
11
|
import 'lit/directives/ref.js';
|
|
11
12
|
|
|
@@ -13,6 +14,10 @@ import 'lit/directives/ref.js';
|
|
|
13
14
|
* Upload interaction: candidates attach a file as their response.
|
|
14
15
|
*
|
|
15
16
|
* @slot prompt - The prompt shown above the file input.
|
|
17
|
+
*
|
|
18
|
+
* @csspart input - The file input element.
|
|
19
|
+
* @cssstate disabled - The interaction is switched off.
|
|
20
|
+
* @cssstate readonly - The interaction is frozen: it shows its value and takes no input.
|
|
16
21
|
*/
|
|
17
22
|
declare class QtiUploadInteraction extends Interaction {
|
|
18
23
|
#private;
|
|
@@ -33,27 +38,76 @@ declare global {
|
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
/**
|
|
36
|
-
* Position
|
|
41
|
+
* Position object interaction (QTI 3, 3.2.16): the candidate places copies of an image (the
|
|
42
|
+
* object) on another image (the stage, the parent `qti-position-object-stage`). The response is a
|
|
43
|
+
* list of `point`s, each the object's centre point in the stage image's own coordinates (its
|
|
44
|
+
* `width`/`height` attributes, else its natural size), whatever size the stage is shown at.
|
|
45
|
+
*
|
|
46
|
+
* Placing:
|
|
47
|
+
* - drag the object onto the stage, or click it and then click the stage;
|
|
48
|
+
* - keyboard: focus the object and press Enter or Space to place a copy at the stage's centre;
|
|
49
|
+
* on a placed copy, the arrow keys move it (Shift: ten times as far) and Delete or Backspace
|
|
50
|
+
* removes it;
|
|
51
|
+
* - drag a placed copy to move it, or off the stage to remove it.
|
|
52
|
+
*
|
|
53
|
+
* At `max-choices` (default 1; 0 = no limit) no further copy is placed and the host carries
|
|
54
|
+
* `:state(used)`. Area-mapping areas are never shown, only the candidate's positions.
|
|
55
|
+
*
|
|
56
|
+
* @customElement qti-position-object-interaction
|
|
57
|
+
* @slot - The object image (`img` or `picture`).
|
|
58
|
+
* @attr {number} [max-choices=1] - Most positions; 0 = no limit.
|
|
59
|
+
* @attr {number} [min-choices=0] - Fewest positions for a valid response.
|
|
60
|
+
* @attr {string} center-point - The object's centre point, `x y` (or `x,y`) from its top-left, in
|
|
61
|
+
* the object's own pixels. Default: the centre of its box.
|
|
37
62
|
*
|
|
38
|
-
* @
|
|
63
|
+
* @csspart object - The object to place, beside the stage. Tokens: `selected` while a click has
|
|
64
|
+
* picked it up (the next click on the stage places it); `used` at `max-choices`.
|
|
65
|
+
* @csspart point - Each placed copy on the stage.
|
|
66
|
+
* @csspart message - The validation message, hidden until `reportValidity` shows it.
|
|
67
|
+
* @cssstate used - Every allowed copy is placed (`max-choices` reached).
|
|
68
|
+
* @cssstate disabled - The interaction is switched off.
|
|
69
|
+
* @cssstate readonly - The interaction is frozen: it shows its value and takes no input.
|
|
39
70
|
*/
|
|
40
|
-
declare class QtiPositionObjectInteraction extends
|
|
71
|
+
declare class QtiPositionObjectInteraction extends Interaction {
|
|
72
|
+
#private;
|
|
41
73
|
static styles: CSSResultGroup;
|
|
74
|
+
maxChoices: number;
|
|
75
|
+
minChoices: number;
|
|
76
|
+
centerPoint: string | null;
|
|
77
|
+
response: string[] | null;
|
|
78
|
+
/** Bumped when the stage image changes size, so the copies are placed again. */
|
|
79
|
+
private _layout;
|
|
80
|
+
/** A copy following the pointer: the index it moves (-1: a new one) and where it is, in client px. */
|
|
81
|
+
private _drag;
|
|
82
|
+
/** The object was clicked: the next click on the stage places it. */
|
|
83
|
+
private _armed;
|
|
84
|
+
protected _handleResponseChange: () => void;
|
|
85
|
+
validate(): boolean;
|
|
86
|
+
reportValidity(options?: {
|
|
87
|
+
trigger?: ValidityTrigger;
|
|
88
|
+
}): boolean;
|
|
89
|
+
reset(): void;
|
|
90
|
+
connectedCallback(): void;
|
|
91
|
+
disconnectedCallback(): void;
|
|
42
92
|
render(): lit.TemplateResult<1>;
|
|
43
93
|
}
|
|
94
|
+
declare global {
|
|
95
|
+
interface HTMLElementTagNameMap {
|
|
96
|
+
'qti-position-object-interaction': QtiPositionObjectInteraction;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
44
99
|
|
|
100
|
+
/**
|
|
101
|
+
* The stage of one or more position object interactions: the image the objects are placed on, and
|
|
102
|
+
* the containing block of their placed copies. Layout only: each `qti-position-object-interaction`
|
|
103
|
+
* inside it handles its own input and response, measured against this stage's image.
|
|
104
|
+
*
|
|
105
|
+
* @customElement qti-position-object-stage
|
|
106
|
+
* @slot - The stage image (`img` or `picture`), then the interactions.
|
|
107
|
+
*/
|
|
45
108
|
declare class QtiPositionObjectStage extends LitElement {
|
|
46
109
|
static styles: CSSResultGroup;
|
|
47
|
-
choiceOrdering: boolean;
|
|
48
|
-
startX: any;
|
|
49
|
-
startY: any;
|
|
50
|
-
dragElement: any;
|
|
51
110
|
render(): lit.TemplateResult<1>;
|
|
52
|
-
constructor();
|
|
53
|
-
dragElementHandler(event: MouseEvent): void;
|
|
54
|
-
firstUpdated(a: PropertyValueMap<any>): void;
|
|
55
|
-
removeMoveListener(): void;
|
|
56
|
-
disconnectedCallback(): void;
|
|
57
111
|
}
|
|
58
112
|
declare global {
|
|
59
113
|
interface HTMLElementTagNameMap {
|
|
@@ -66,6 +120,11 @@ declare global {
|
|
|
66
120
|
*
|
|
67
121
|
* @slot prompt - The prompt shown above the media element.
|
|
68
122
|
* @slot - Default slot for the embedded media element.
|
|
123
|
+
*
|
|
124
|
+
* No parts: the media element is slotted light DOM and is styled directly.
|
|
125
|
+
*
|
|
126
|
+
* @cssstate disabled - The interaction is switched off.
|
|
127
|
+
* @cssstate readonly - The interaction is frozen: it shows its value and takes no input.
|
|
69
128
|
*/
|
|
70
129
|
declare class QtiMediaInteraction extends Interaction {
|
|
71
130
|
#private;
|
|
@@ -94,13 +153,28 @@ declare global {
|
|
|
94
153
|
/**
|
|
95
154
|
* A button that ends the current attempt.
|
|
96
155
|
*
|
|
156
|
+
* It follows its item: it cannot be pressed while the item is `disabled` or `readonly`, or once an
|
|
157
|
+
* adaptive item is done. An adaptive item that sets `completionStatus` to `completed` closes its
|
|
158
|
+
* session, so no further attempt can start (QTI info model §2.5).
|
|
159
|
+
*
|
|
97
160
|
* @csspart button - The end-attempt button element.
|
|
161
|
+
*
|
|
162
|
+
* No states: the element has no internals; `disabled` and `readonly` are read off the item and
|
|
163
|
+
* land on the button's `disabled` attribute.
|
|
98
164
|
*/
|
|
99
165
|
declare class QtiEndAttemptInteraction extends LitElement {
|
|
166
|
+
#private;
|
|
100
167
|
static styles: CSSResultGroup;
|
|
101
168
|
responseIdentifier: string;
|
|
102
169
|
disabled: boolean;
|
|
103
|
-
|
|
170
|
+
private _itemContext?;
|
|
171
|
+
/**
|
|
172
|
+
* Whether ending the attempt with this button counts as an attempt (`numAttempts` goes up), so it
|
|
173
|
+
* uses up one of the item's `max-attempts`. Only `"false"` does not count: a hint button that
|
|
174
|
+
* should not use up an attempt says so. QTI 3 gives the attribute no default; an absent value counts,
|
|
175
|
+
* as QTI 2.x's default `true` did and as amp-up and QTI.JS do.
|
|
176
|
+
* [More information](https://www.imsglobal.org/spec/qti/v3p0/info#Data_EndAttemptInteraction)
|
|
177
|
+
*/
|
|
104
178
|
countAttempt: 'true' | 'false' | null;
|
|
105
179
|
title: string;
|
|
106
180
|
render(): lit.TemplateResult<1>;
|
|
@@ -136,6 +210,11 @@ declare global {
|
|
|
136
210
|
*
|
|
137
211
|
* Messages are sent to all parent windows to support embedding scenarios like Storybook
|
|
138
212
|
* where window.top might not be the actual host application.
|
|
213
|
+
*
|
|
214
|
+
* No parts: the interaction renders inside an iframe it owns, and the iframe is not themed.
|
|
215
|
+
*
|
|
216
|
+
* @cssstate disabled - The interaction is switched off.
|
|
217
|
+
* @cssstate readonly - The interaction is frozen: it shows its value and takes no input.
|
|
139
218
|
*/
|
|
140
219
|
declare class QtiCustomInteraction extends Interaction {
|
|
141
220
|
#private;
|
package/dist/interactions.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-DAESCCLR.js";
|
|
2
2
|
import {
|
|
3
3
|
QtiAssociableHotspot,
|
|
4
4
|
QtiAssociateInteraction,
|
|
@@ -32,10 +32,13 @@ import {
|
|
|
32
32
|
QtiSliderInteraction,
|
|
33
33
|
QtiTextEntryInteraction,
|
|
34
34
|
QtiUploadInteraction,
|
|
35
|
+
inlineScriptText,
|
|
36
|
+
inlineStyleText,
|
|
35
37
|
qtiInteractionElements
|
|
36
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TZCOXFPB.js";
|
|
37
39
|
import "./chunk-4DB4SC5K.js";
|
|
38
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-GPC53O7P.js";
|
|
41
|
+
import "./chunk-PZ5AY32C.js";
|
|
39
42
|
export {
|
|
40
43
|
QtiAssociableHotspot,
|
|
41
44
|
QtiAssociateInteraction,
|
|
@@ -69,6 +72,8 @@ export {
|
|
|
69
72
|
QtiSliderInteraction,
|
|
70
73
|
QtiTextEntryInteraction,
|
|
71
74
|
QtiUploadInteraction,
|
|
75
|
+
inlineScriptText,
|
|
76
|
+
inlineStyleText,
|
|
72
77
|
qtiInteractionElements
|
|
73
78
|
};
|
|
74
79
|
//# sourceMappingURL=interactions.js.map
|