@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/corrections.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { I as Interaction } from './
|
|
1
|
+
import { I as Interaction } from './record.d-wB9uYs-j.js';
|
|
2
2
|
import { R as ResponseValue } from './response.d-_8y4kjGP.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { LitElement } from 'lit';
|
|
5
|
-
import { g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, f as QtiGapMatchInteraction, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, C as Choice, l as QtiHotspotInteraction, n as QtiHottextInteraction, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, u as QtiSelectPointInteraction, x as QtiSliderInteraction, y as QtiTextEntryInteraction } from './qti-text-entry-interaction.d-
|
|
5
|
+
import { g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, f as QtiGapMatchInteraction, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, C as Choice, l as QtiHotspotInteraction, n as QtiHottextInteraction, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, u as QtiSelectPointInteraction, x as QtiSliderInteraction, y as QtiTextEntryInteraction } from './qti-text-entry-interaction.d-h5UZ8Qvp.js';
|
|
6
6
|
import { QtiAssessmentItem } from './elements.js';
|
|
7
|
-
import { Q as QtiItem } from './qti-item.d-
|
|
8
|
-
import { V as View, C as ComputedItemContext } from './session.context.d-
|
|
9
|
-
import { l as QtiTest, T as TestCheckItem, u as TestNavigation } from './qti-test.d-
|
|
10
|
-
import { a as ComputedItem, C as ComputedContext } from './computed.types.d-
|
|
7
|
+
import { Q as QtiItem } from './qti-item.d-DjWvKbfL.js';
|
|
8
|
+
import { V as View, C as ComputedItemContext } from './session.context.d-Cw8GcziG.js';
|
|
9
|
+
import { l as QtiTest, T as TestCheckItem, u as TestNavigation } from './qti-test.d-DOWT6YNa.js';
|
|
10
|
+
import { a as ComputedItem, C as ComputedContext } from './computed.types.d-SsTm3ieP.js';
|
|
11
11
|
import './config.context.d-BvU9r-Mg.js';
|
|
12
12
|
import './interaction.interface.d-CvjHM2bi.js';
|
|
13
|
-
import './item.types.d-
|
|
13
|
+
import './item.types.d-DuVR0ZVK.js';
|
|
14
14
|
import './qti.context.d-CejJMlfZ.js';
|
|
15
15
|
import 'lit/directives/ref.js';
|
|
16
|
-
import './qti-feedback.d-
|
|
16
|
+
import './qti-feedback.d-DbzPSJuK.js';
|
|
17
17
|
import './qti-rule-base.d-Bdzg8eGH.js';
|
|
18
18
|
import './qti-transform-test.d-BL7GGFJj.js';
|
|
19
|
-
import './qti-expression.d-
|
|
19
|
+
import './qti-expression.d-B-Cfbqlb.js';
|
|
20
20
|
import '@heximal/templates';
|
|
21
21
|
|
|
22
22
|
type AbstractConstructor$2<T = {}> = abstract new (...args: any[]) => T;
|
package/dist/corrections.js
CHANGED
|
@@ -34,28 +34,28 @@ import {
|
|
|
34
34
|
TestNavigationCorrection,
|
|
35
35
|
TestShowCorrectResponse,
|
|
36
36
|
correctionPart
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-TC4257SG.js";
|
|
38
38
|
import {
|
|
39
39
|
qtiTestElements
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EAQOUBXA.js";
|
|
41
41
|
import {
|
|
42
42
|
qtiContentElements
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TFQAUWCM.js";
|
|
44
44
|
import {
|
|
45
45
|
qtiInteractionElements
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-LOKULHVY.js";
|
|
47
47
|
import {
|
|
48
48
|
qtiItemElements
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-I7ACMH74.js";
|
|
50
|
+
import "./chunk-QVZLJY75.js";
|
|
51
51
|
import "./chunk-4DB4SC5K.js";
|
|
52
52
|
import "./chunk-TLAVOBEM.js";
|
|
53
53
|
import {
|
|
54
54
|
qtiProcessingElements
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-V3NKEAQY.js";
|
|
56
56
|
import {
|
|
57
57
|
qtiBaseElements
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-QUTM5TT6.js";
|
|
59
59
|
|
|
60
60
|
// ../qti-corrections/dist/elements.js
|
|
61
61
|
var qtiCorrectionElements = [
|
package/dist/elements.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as ItemContext, h as VariableValue, R as ResponseInteraction, g as ResponseVariable, c as OutcomeVariable, V as VariableDeclaration, C as Calculate, B as BaseType, a as Cardinality, I as InterpolationTableEntry, T as TemplateVariable } from './item.types.d-
|
|
1
|
+
import { b as ItemContext, h as VariableValue, R as ResponseInteraction, g as ResponseVariable, c as OutcomeVariable, V as VariableDeclaration, C as Calculate, B as BaseType, a as Cardinality, I as InterpolationTableEntry, T as TemplateVariable } from './item.types.d-DuVR0ZVK.js';
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { LitElement, PropertyValues, CSSResultGroup, PropertyValueMap } from 'lit';
|
|
4
4
|
import { a as RegisteredInteraction } from './interaction.interface.d-CvjHM2bi.js';
|
|
5
|
-
import { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-
|
|
5
|
+
import { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-DbzPSJuK.js';
|
|
6
6
|
import { b as QtiRuleBase } from './qti-rule-base.d-Bdzg8eGH.js';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/elements.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-H72OXVRF.js";
|
|
2
2
|
import {
|
|
3
3
|
PUBLIC_ITEM_EVENTS,
|
|
4
4
|
QtiAssessmentItem,
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
dispatchPublic,
|
|
26
26
|
listenDeclared,
|
|
27
27
|
listenPublic
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TFQAUWCM.js";
|
|
29
29
|
import "./chunk-4DB4SC5K.js";
|
|
30
30
|
import "./chunk-TLAVOBEM.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-QUTM5TT6.js";
|
|
32
32
|
export {
|
|
33
33
|
PUBLIC_ITEM_EVENTS,
|
|
34
34
|
QtiAssessmentItem,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
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, S as SpeechState, T as TestCheckItem, q as TestContainer, r as TestEndAttempt, s as TestItemLink, t as TestItemToSpeech, u as TestNavigation, v as TestNext, w as TestPagingButtonsStamp, x as TestPrev, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, C as TestSectionButtonsStamp, D as TestSectionLink, E as TestStamp, F as TestTtsNext, G as TestTtsPause, H as TestTtsPick, J as TestTtsPlay, K as TestTtsPrev, L as TestTtsResume, M as TestTtsStop, N as TestView, O as TestViewToggle, P as TtsContext, R as ttsContext } from './qti-test.d-
|
|
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, S as SpeechState, T as TestCheckItem, q as TestContainer, r as TestEndAttempt, s as TestItemLink, t as TestItemToSpeech, u as TestNavigation, v as TestNext, w as TestPagingButtonsStamp, x as TestPrev, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, C as TestSectionButtonsStamp, D as TestSectionLink, E as TestStamp, F as TestTtsNext, G as TestTtsPause, H as TestTtsPick, J as TestTtsPlay, K as TestTtsPrev, L as TestTtsResume, M as TestTtsStop, N as TestView, O as TestViewToggle, P as TtsContext, R as ttsContext } from './qti-test.d-DOWT6YNa.js';
|
|
2
2
|
export { IMyQtiTest, IQtiTest, ITestProcessingMixin, QTI_TEST_STATE_VERSION, QtiTestState, QtiTestStateItem, QtiTestStateSession, QtiTestStateValue } from './test.js';
|
|
3
|
-
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-
|
|
3
|
+
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-DjWvKbfL.js';
|
|
4
4
|
export { ItemViewMixin } from './item.js';
|
|
5
5
|
export { PUBLIC_ITEM_EVENTS, PublicEventDeclaration, PublicItemEventMap, PublicItemEventName, QtiAssessmentItem, QtiAssessmentStimulus, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiCompanionMaterialsInfo, QtiContentBody, QtiContextDeclaration, QtiCustomOperator, QtiFeedbackBlock, QtiFeedbackInline, QtiItemBody, QtiModalFeedback, QtiOutcomeDeclaration, QtiResponseDeclaration, QtiResponseProcessing, QtiRubricBlock, QtiStylesheet, QtiTemplateConstraint, QtiTemplateDeclaration, QtiTemplateProcessing, RubricPlacement, dispatchDeclared, dispatchPublic, listenDeclared, listenPublic } from './elements.js';
|
|
6
6
|
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-
|
|
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, z as inlineScriptText, A as inlineStyleText } from './qti-text-entry-interaction.d-h5UZ8Qvp.js';
|
|
8
8
|
export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test.d-BL7GGFJj.js';
|
|
9
9
|
export { qtiTransformManifest } from './transformers.js';
|
|
10
10
|
export { ManifestInfo, getItemByUri, getManifestInfo } from './loader.js';
|
|
11
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-
|
|
12
|
+
export { C as ComputedItemContext, I as INITIAL_SESSION_CONTEXT, S as SessionContext, V as View, s as sessionContext } from './session.context.d-Cw8GcziG.js';
|
|
13
|
+
export { C as ComputedContext, a as ComputedItem } from './computed.types.d-SsTm3ieP.js';
|
|
14
14
|
export { C as ConfigContext, V as ValidationDisplayMode, c as configContext } from './config.context.d-BvU9r-Mg.js';
|
|
15
|
-
export { C as ChoiceRole, I as Interaction, a as InteractionContext, i as interactionContext } from './
|
|
16
|
-
export { B as BaseType, C as Calculate, a as Cardinality, I as InterpolationTableEntry, b as ItemContext, 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-
|
|
15
|
+
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';
|
|
16
|
+
export { B as BaseType, C as Calculate, a as Cardinality, I as InterpolationTableEntry, b as ItemContext, 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';
|
|
17
17
|
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-
|
|
18
|
+
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';
|
|
19
|
+
export { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-DbzPSJuK.js';
|
|
20
|
+
export { Q as QtiConditionExpression } from './qti-condition-expression.d-B-T1NNl0.js';
|
|
21
21
|
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';
|
|
22
22
|
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
23
|
export { Q as QtiExitResponseSignal, a as QtiExitTestSignal, b as QtiRuleBase, c as QtiRuleElement } from './qti-rule-base.d-Bdzg8eGH.js';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-TBJT7AGB.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-TC4257SG.js";
|
|
39
39
|
import {
|
|
40
40
|
QTI_TEST_STATE_VERSION,
|
|
41
41
|
QtiAssessmentItemRef,
|
|
@@ -79,8 +79,8 @@ import {
|
|
|
79
79
|
TestView,
|
|
80
80
|
TestViewToggle,
|
|
81
81
|
ttsContext
|
|
82
|
-
} from "./chunk-
|
|
83
|
-
import "./chunk-
|
|
82
|
+
} from "./chunk-EAQOUBXA.js";
|
|
83
|
+
import "./chunk-H72OXVRF.js";
|
|
84
84
|
import {
|
|
85
85
|
PUBLIC_ITEM_EVENTS,
|
|
86
86
|
QtiAssessmentItem,
|
|
@@ -107,8 +107,8 @@ import {
|
|
|
107
107
|
dispatchPublic,
|
|
108
108
|
listenDeclared,
|
|
109
109
|
listenPublic
|
|
110
|
-
} from "./chunk-
|
|
111
|
-
import "./chunk-
|
|
110
|
+
} from "./chunk-TFQAUWCM.js";
|
|
111
|
+
import "./chunk-YS6CBO45.js";
|
|
112
112
|
import {
|
|
113
113
|
QtiAssociableHotspot,
|
|
114
114
|
QtiAssociateInteraction,
|
|
@@ -142,16 +142,18 @@ import {
|
|
|
142
142
|
QtiSliderInteraction,
|
|
143
143
|
QtiTextEntryInteraction,
|
|
144
144
|
QtiUploadInteraction,
|
|
145
|
+
inlineScriptText,
|
|
146
|
+
inlineStyleText,
|
|
145
147
|
qtiInteractionElements
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
148
|
+
} from "./chunk-LOKULHVY.js";
|
|
149
|
+
import "./chunk-RV7ADJ33.js";
|
|
148
150
|
import {
|
|
149
151
|
ItemContainer,
|
|
150
152
|
ItemPrintVariables,
|
|
151
153
|
ItemViewMixin,
|
|
152
154
|
QtiItem
|
|
153
|
-
} from "./chunk-
|
|
154
|
-
import "./chunk-
|
|
155
|
+
} from "./chunk-I7ACMH74.js";
|
|
156
|
+
import "./chunk-QVZLJY75.js";
|
|
155
157
|
import "./chunk-4DB4SC5K.js";
|
|
156
158
|
import {
|
|
157
159
|
getItemByUri,
|
|
@@ -162,7 +164,7 @@ import {
|
|
|
162
164
|
qtiTransformManifest,
|
|
163
165
|
qtiTransformTest
|
|
164
166
|
} from "./chunk-TLAVOBEM.js";
|
|
165
|
-
import "./chunk-
|
|
167
|
+
import "./chunk-QOFGUIYE.js";
|
|
166
168
|
import {
|
|
167
169
|
QtiAnd,
|
|
168
170
|
QtiAnyN,
|
|
@@ -240,7 +242,7 @@ import {
|
|
|
240
242
|
QtiVariable,
|
|
241
243
|
qtiAndMixin,
|
|
242
244
|
qtiSubtractMixin
|
|
243
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-V3NKEAQY.js";
|
|
244
246
|
import {
|
|
245
247
|
CustomStateSetShim,
|
|
246
248
|
INITIAL_SESSION_CONTEXT,
|
|
@@ -265,8 +267,10 @@ import {
|
|
|
265
267
|
decimalSeparator,
|
|
266
268
|
dropRegion,
|
|
267
269
|
getCustomOperator,
|
|
270
|
+
inferRecordFieldBaseType,
|
|
268
271
|
installCustomStateSetFallback,
|
|
269
272
|
interactionContext,
|
|
273
|
+
isRecordValue,
|
|
270
274
|
isSeed,
|
|
271
275
|
itemContext,
|
|
272
276
|
itemContextVariables,
|
|
@@ -275,6 +279,7 @@ import {
|
|
|
275
279
|
parsePoint,
|
|
276
280
|
parseResponseAttribute,
|
|
277
281
|
qtiContext,
|
|
282
|
+
readRecordFieldValues,
|
|
278
283
|
registerCustomOperator,
|
|
279
284
|
removeDoubleSlashes,
|
|
280
285
|
responseAttributeConverter,
|
|
@@ -285,7 +290,7 @@ import {
|
|
|
285
290
|
testContext,
|
|
286
291
|
unregisterCustomOperator,
|
|
287
292
|
validationMessage
|
|
288
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-QUTM5TT6.js";
|
|
289
294
|
export {
|
|
290
295
|
CandidateCorrectionMixin,
|
|
291
296
|
ChoiceCorrectionMixin,
|
|
@@ -521,8 +526,12 @@ export {
|
|
|
521
526
|
getCustomOperator,
|
|
522
527
|
getItemByUri,
|
|
523
528
|
getManifestInfo,
|
|
529
|
+
inferRecordFieldBaseType,
|
|
530
|
+
inlineScriptText,
|
|
531
|
+
inlineStyleText,
|
|
524
532
|
installCustomStateSetFallback,
|
|
525
533
|
interactionContext,
|
|
534
|
+
isRecordValue,
|
|
526
535
|
isSeed,
|
|
527
536
|
itemContext,
|
|
528
537
|
itemContextVariables,
|
|
@@ -539,6 +548,7 @@ export {
|
|
|
539
548
|
qtiTransformItem,
|
|
540
549
|
qtiTransformManifest,
|
|
541
550
|
qtiTransformTest,
|
|
551
|
+
readRecordFieldValues,
|
|
542
552
|
registerCustomOperator,
|
|
543
553
|
removeDoubleSlashes,
|
|
544
554
|
responseAttributeConverter,
|
package/dist/interactions.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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-h5UZ8Qvp.js';
|
|
2
|
+
export { O as Orientation, z as inlineScriptText, A as inlineStyleText } from './qti-text-entry-interaction.d-h5UZ8Qvp.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { CSSResultGroup, LitElement, PropertyValueMap } from 'lit';
|
|
5
|
-
import { I as Interaction } from './
|
|
5
|
+
import { I as Interaction } from './record.d-wB9uYs-j.js';
|
|
6
6
|
import './interaction.interface.d-CvjHM2bi.js';
|
|
7
7
|
import './config.context.d-BvU9r-Mg.js';
|
|
8
|
-
import './item.types.d-
|
|
8
|
+
import './item.types.d-DuVR0ZVK.js';
|
|
9
9
|
import './qti.context.d-CejJMlfZ.js';
|
|
10
10
|
import 'lit/directives/ref.js';
|
|
11
11
|
|
package/dist/interactions.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-YS6CBO45.js";
|
|
2
2
|
import {
|
|
3
3
|
QtiAssociableHotspot,
|
|
4
4
|
QtiAssociateInteraction,
|
|
@@ -32,10 +32,12 @@ import {
|
|
|
32
32
|
QtiSliderInteraction,
|
|
33
33
|
QtiTextEntryInteraction,
|
|
34
34
|
QtiUploadInteraction,
|
|
35
|
+
inlineScriptText,
|
|
36
|
+
inlineStyleText,
|
|
35
37
|
qtiInteractionElements
|
|
36
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-LOKULHVY.js";
|
|
37
39
|
import "./chunk-4DB4SC5K.js";
|
|
38
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-QUTM5TT6.js";
|
|
39
41
|
export {
|
|
40
42
|
QtiAssociableHotspot,
|
|
41
43
|
QtiAssociateInteraction,
|
|
@@ -69,6 +71,8 @@ export {
|
|
|
69
71
|
QtiSliderInteraction,
|
|
70
72
|
QtiTextEntryInteraction,
|
|
71
73
|
QtiUploadInteraction,
|
|
74
|
+
inlineScriptText,
|
|
75
|
+
inlineStyleText,
|
|
72
76
|
qtiInteractionElements
|
|
73
77
|
};
|
|
74
78
|
//# sourceMappingURL=interactions.js.map
|
package/dist/item.css
CHANGED
|
@@ -2720,7 +2720,8 @@
|
|
|
2720
2720
|
* (positionShapes), so they scale along — see qti-graphic-gap-match-interaction.styles.ts.
|
|
2721
2721
|
* reset.css gives every picture inside an interaction `max-width: none`, which outranks that
|
|
2722
2722
|
* component's ::slotted() rule, so the fluid sizing is restated here for the graphic alone: a
|
|
2723
|
-
* direct child, never a chip's picture
|
|
2723
|
+
* direct child, never a chip's picture: a chip scales by the graphic's factor as a whole
|
|
2724
|
+
* (`--qti-graphic-scale`, qti-gap-img.styles.ts), the same in the bank and the hotspot.
|
|
2724
2725
|
*/
|
|
2725
2726
|
qti-graphic-gap-match-interaction > img,qti-graphic-gap-match-interaction > object {
|
|
2726
2727
|
max-width: 100%;
|
package/dist/item.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-
|
|
1
|
+
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-DjWvKbfL.js';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
|
-
import { V as View } from './session.context.d-
|
|
3
|
+
import { V as View } from './session.context.d-Cw8GcziG.js';
|
|
4
4
|
import { QtiAssessmentItem } from './elements.js';
|
|
5
5
|
import './qti.context.d-CejJMlfZ.js';
|
|
6
6
|
import './config.context.d-BvU9r-Mg.js';
|
|
7
|
-
import './item.types.d-
|
|
7
|
+
import './item.types.d-DuVR0ZVK.js';
|
|
8
8
|
import './interaction.interface.d-CvjHM2bi.js';
|
|
9
|
-
import './qti-feedback.d-
|
|
9
|
+
import './qti-feedback.d-DbzPSJuK.js';
|
|
10
10
|
import './qti-rule-base.d-Bdzg8eGH.js';
|
|
11
11
|
|
|
12
12
|
type Constructor<T = {}> = abstract new (...args: any[]) => T;
|
package/dist/item.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-RV7ADJ33.js";
|
|
2
2
|
import {
|
|
3
3
|
ItemContainer,
|
|
4
4
|
ItemPrintVariables,
|
|
5
5
|
ItemViewMixin,
|
|
6
6
|
QtiItem
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-I7ACMH74.js";
|
|
8
|
+
import "./chunk-QVZLJY75.js";
|
|
9
9
|
import "./chunk-4DB4SC5K.js";
|
|
10
10
|
import "./chunk-TLAVOBEM.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-QUTM5TT6.js";
|
|
12
12
|
export {
|
|
13
13
|
ItemContainer,
|
|
14
14
|
ItemPrintVariables,
|
|
@@ -12,7 +12,7 @@ interface Calculate {
|
|
|
12
12
|
}
|
|
13
13
|
type float = number;
|
|
14
14
|
type integer = number;
|
|
15
|
-
type BaseType = 'boolean' | 'directedPair' | 'duration' | 'float' | 'integer' | 'string' | 'identifier' | 'pair' | 'record';
|
|
15
|
+
type BaseType = 'boolean' | 'directedPair' | 'duration' | 'float' | 'integer' | 'string' | 'identifier' | 'pair' | 'point' | 'record';
|
|
16
16
|
type Multiple = string | string[][];
|
|
17
17
|
type Ordered = string | string[][];
|
|
18
18
|
type Cardinality = 'multiple' | 'ordered' | 'single' | 'record';
|
|
@@ -76,6 +76,12 @@ interface ResponseVariable extends VariableDeclaration<string | string[] | null>
|
|
|
76
76
|
mapping?: QtiMapping;
|
|
77
77
|
areaMapping?: QtiAreaMapping;
|
|
78
78
|
correctResponse?: string | string[] | null;
|
|
79
|
+
/**
|
|
80
|
+
* For `record` cardinality: the base type of each field, by field identifier, as declared on the
|
|
81
|
+
* `qti-value` elements of the correct response. A record declaration has no `base-type` of its
|
|
82
|
+
* own, so this is the only place the field types are known once the value is stored.
|
|
83
|
+
*/
|
|
84
|
+
fieldBaseTypes?: Record<string, BaseType>;
|
|
79
85
|
}
|
|
80
86
|
interface TemplateVariable extends VariableDeclaration<string | string[] | number | boolean | null> {
|
|
81
87
|
type: 'template';
|
package/dist/loader.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { QtiAssessmentItem } from './elements.js';
|
|
2
|
-
import './item.types.d-
|
|
2
|
+
import './item.types.d-DuVR0ZVK.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import './interaction.interface.d-CvjHM2bi.js';
|
|
5
|
-
import './qti-feedback.d-
|
|
5
|
+
import './qti-feedback.d-DbzPSJuK.js';
|
|
6
6
|
import './qti-rule-base.d-Bdzg8eGH.js';
|
|
7
7
|
|
|
8
8
|
type ManifestInfo = {
|
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
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-
|
|
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-
|
|
4
|
+
import { b as ItemContext, B as BaseType, g as ResponseVariable, V as VariableDeclaration } from './item.types.d-DuVR0ZVK.js';
|
|
5
|
+
import { Q as QtiExpression, a as QtiExpressionBase, T as TestContext } from './qti-expression.d-B-Cfbqlb.js';
|
|
6
|
+
import { Q as QtiConditionExpression } from './qti-condition-expression.d-B-T1NNl0.js';
|
|
7
7
|
import './qti.context.d-CejJMlfZ.js';
|
|
8
8
|
|
|
9
9
|
declare class QtiRule extends LitElement implements QtiRuleBase {
|
|
@@ -481,6 +481,13 @@ declare global {
|
|
|
481
481
|
* Special cases: Returns NULL if sub-expression is NULL or field does not exist.
|
|
482
482
|
*/
|
|
483
483
|
declare class QtiFieldValue extends QtiExpression<string | string[] | null> {
|
|
484
|
+
#private;
|
|
485
|
+
/**
|
|
486
|
+
* The base type of the field last read: as declared on the record's correct response when it
|
|
487
|
+
* is, otherwise read off the value. The value alone is a string like `"4.1"` or `"455 250"`, and
|
|
488
|
+
* an operator reading it as text would refuse to compare it as a number or test it as a point.
|
|
489
|
+
*/
|
|
490
|
+
get resultBaseType(): BaseType | undefined;
|
|
484
491
|
/**
|
|
485
492
|
* Every failure here is NULL rather than a thrown error. `qti-is-null` over a
|
|
486
493
|
* `qti-field-value` is the specified way to ask whether a record carries a
|
package/dist/processing.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-QOFGUIYE.js";
|
|
2
2
|
import {
|
|
3
3
|
QtiAnd,
|
|
4
4
|
QtiAnyN,
|
|
@@ -76,8 +76,8 @@ import {
|
|
|
76
76
|
QtiVariable,
|
|
77
77
|
qtiAndMixin,
|
|
78
78
|
qtiSubtractMixin
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import "./chunk-
|
|
79
|
+
} from "./chunk-V3NKEAQY.js";
|
|
80
|
+
import "./chunk-QUTM5TT6.js";
|
|
81
81
|
export {
|
|
82
82
|
QtiAnd,
|
|
83
83
|
QtiAnyN,
|