@citolab/qti-components 10.0.0-next.6 → 10.0.0-next.7
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 +1750 -198
- package/dist/base.d.ts +10 -10
- package/dist/base.js +7 -1
- package/dist/{chunk-GZVLORVJ.js → chunk-3TUGZHKB.js} +2 -2
- package/dist/{chunk-7IRGNPCV.js → chunk-6PCCBSPB.js} +3 -3
- package/dist/{chunk-Z545U7O3.js → chunk-DJHH5D3E.js} +2 -2
- package/dist/{chunk-R7ZCUQU2.js → chunk-LCGPLQLE.js} +40 -4
- package/dist/chunk-LCGPLQLE.js.map +1 -0
- package/dist/{chunk-CXTHPEUN.js → chunk-M7X6TWSX.js} +2 -2
- package/dist/{chunk-W4NUIWRO.js → chunk-Q3C7XFVS.js} +2 -2
- package/dist/{chunk-KXYSYDIM.js → chunk-RN3MD444.js} +2 -2
- package/dist/{chunk-VY2DM47N.js → chunk-RSSEBILM.js} +215 -124
- package/dist/chunk-RSSEBILM.js.map +1 -0
- package/dist/{chunk-O5HGNYB2.js → chunk-RWMY7KRT.js} +2 -2
- package/dist/{chunk-JZZMY3FA.js → chunk-T7YSBBAA.js} +37 -1
- package/dist/chunk-T7YSBBAA.js.map +1 -0
- package/dist/{chunk-WAHTXGBK.js → chunk-VG5YI2OB.js} +6 -6
- package/dist/{chunk-QU23PPEZ.js → chunk-YOCOLMGB.js} +40 -5
- package/dist/{chunk-QU23PPEZ.js.map → chunk-YOCOLMGB.js.map} +1 -1
- package/dist/{computed.types.d-DvxBgnze.d.ts → computed.types.d-IXACuBr7.d.ts} +1 -1
- package/dist/corrections.d.ts +9 -9
- package/dist/corrections.js +7 -7
- package/dist/elements.d.ts +2 -2
- package/dist/elements.js +3 -3
- package/dist/index.d.ts +10 -10
- package/dist/index.js +22 -12
- package/dist/interactions.d.ts +4 -4
- package/dist/interactions.js +7 -3
- package/dist/item.d.ts +4 -4
- package/dist/item.js +3 -3
- 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 +20 -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-klsgIEKQ.d.ts → qti-item.d-B1gffYCL.d.ts} +1 -1
- package/dist/{qti-test.d-Cra3sS-2.d.ts → qti-test.d-CHIATIDg.d.ts} +4 -4
- package/dist/{qti-text-entry-interaction.d-828kFi2A.d.ts → qti-text-entry-interaction.d-utFyp1DH.d.ts} +14 -18
- package/dist/{interaction.d-g6XG0T0Z.d.ts → record.d-wB9uYs-j.d.ts} +34 -2
- package/dist/{session.context.d-DYAdqSer.d.ts → session.context.d-DW09Lrie.d.ts} +1 -1
- package/dist/test.d.ts +7 -7
- package/dist/test.js +4 -4
- package/package.json +9 -9
- package/dist/chunk-JZZMY3FA.js.map +0 -1
- package/dist/chunk-R7ZCUQU2.js.map +0 -1
- package/dist/chunk-VY2DM47N.js.map +0 -1
- /package/dist/{chunk-GZVLORVJ.js.map → chunk-3TUGZHKB.js.map} +0 -0
- /package/dist/{chunk-7IRGNPCV.js.map → chunk-6PCCBSPB.js.map} +0 -0
- /package/dist/{chunk-Z545U7O3.js.map → chunk-DJHH5D3E.js.map} +0 -0
- /package/dist/{chunk-CXTHPEUN.js.map → chunk-M7X6TWSX.js.map} +0 -0
- /package/dist/{chunk-W4NUIWRO.js.map → chunk-Q3C7XFVS.js.map} +0 -0
- /package/dist/{chunk-KXYSYDIM.js.map → chunk-RN3MD444.js.map} +0 -0
- /package/dist/{chunk-O5HGNYB2.js.map → chunk-RWMY7KRT.js.map} +0 -0
- /package/dist/{chunk-WAHTXGBK.js.map → chunk-VG5YI2OB.js.map} +0 -0
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-VG5YI2OB.js";
|
|
38
38
|
import {
|
|
39
39
|
qtiTestElements
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-6PCCBSPB.js";
|
|
41
41
|
import {
|
|
42
42
|
qtiContentElements
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YOCOLMGB.js";
|
|
44
44
|
import {
|
|
45
45
|
qtiInteractionElements
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RSSEBILM.js";
|
|
47
47
|
import {
|
|
48
48
|
qtiItemElements
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-3TUGZHKB.js";
|
|
50
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-LCGPLQLE.js";
|
|
56
56
|
import {
|
|
57
57
|
qtiBaseElements
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-T7YSBBAA.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-RWMY7KRT.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-YOCOLMGB.js";
|
|
29
29
|
import "./chunk-4DB4SC5K.js";
|
|
30
30
|
import "./chunk-TLAVOBEM.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-T7YSBBAA.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, T as TestBookmark, q as TestCheckItem, r as TestContainer, s as TestEndAttempt, t as TestItemLink, u as TestItemToSpeech, v as TestNavigation, w as TestNext, x as TestPrev, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, C as TestSectionLink, D as TestStamp, E as TestTtsNext, F as TestTtsPause, G as TestTtsPick, H as TestTtsPlay, J as TestTtsPrev, K as TestTtsResume, L as TestTtsStop, M as TestView, N as TestViewToggle, O as bookmarkedItems } 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, T as TestBookmark, q as TestCheckItem, r as TestContainer, s as TestEndAttempt, t as TestItemLink, u as TestItemToSpeech, v as TestNavigation, w as TestNext, x as TestPrev, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, C as TestSectionLink, D as TestStamp, E as TestTtsNext, F as TestTtsPause, G as TestTtsPick, H as TestTtsPlay, J as TestTtsPrev, K as TestTtsResume, L as TestTtsStop, M as TestView, N as TestViewToggle, O as bookmarkedItems } from './qti-test.d-CHIATIDg.js';
|
|
2
2
|
export { IMyQtiTest, IQtiTest, ITestProcessingMixin, QTI_TEST_STATE_VERSION, QtiTestPluginState, QtiTestState, QtiTestStateItem, QtiTestStateSession, QtiTestStateValue, pluginElements, pluginState, ttsElements } 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-B1gffYCL.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-utFyp1DH.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-DW09Lrie.js';
|
|
13
|
+
export { C as ComputedContext, a as ComputedItem } from './computed.types.d-IXACuBr7.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-RN3MD444.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-VG5YI2OB.js";
|
|
39
39
|
import {
|
|
40
40
|
QTI_TEST_STATE_VERSION,
|
|
41
41
|
QtiAssessmentItemRef,
|
|
@@ -81,8 +81,8 @@ import {
|
|
|
81
81
|
pluginElements,
|
|
82
82
|
pluginState,
|
|
83
83
|
ttsElements
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import "./chunk-
|
|
84
|
+
} from "./chunk-6PCCBSPB.js";
|
|
85
|
+
import "./chunk-RWMY7KRT.js";
|
|
86
86
|
import {
|
|
87
87
|
PUBLIC_ITEM_EVENTS,
|
|
88
88
|
QtiAssessmentItem,
|
|
@@ -109,8 +109,8 @@ import {
|
|
|
109
109
|
dispatchPublic,
|
|
110
110
|
listenDeclared,
|
|
111
111
|
listenPublic
|
|
112
|
-
} from "./chunk-
|
|
113
|
-
import "./chunk-
|
|
112
|
+
} from "./chunk-YOCOLMGB.js";
|
|
113
|
+
import "./chunk-DJHH5D3E.js";
|
|
114
114
|
import {
|
|
115
115
|
QtiAssociableHotspot,
|
|
116
116
|
QtiAssociateInteraction,
|
|
@@ -144,15 +144,17 @@ import {
|
|
|
144
144
|
QtiSliderInteraction,
|
|
145
145
|
QtiTextEntryInteraction,
|
|
146
146
|
QtiUploadInteraction,
|
|
147
|
+
inlineScriptText,
|
|
148
|
+
inlineStyleText,
|
|
147
149
|
qtiInteractionElements
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-
|
|
150
|
+
} from "./chunk-RSSEBILM.js";
|
|
151
|
+
import "./chunk-Q3C7XFVS.js";
|
|
150
152
|
import {
|
|
151
153
|
ItemContainer,
|
|
152
154
|
ItemPrintVariables,
|
|
153
155
|
ItemViewMixin,
|
|
154
156
|
QtiItem
|
|
155
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-3TUGZHKB.js";
|
|
156
158
|
import "./chunk-QVZLJY75.js";
|
|
157
159
|
import "./chunk-4DB4SC5K.js";
|
|
158
160
|
import {
|
|
@@ -164,7 +166,7 @@ import {
|
|
|
164
166
|
qtiTransformManifest,
|
|
165
167
|
qtiTransformTest
|
|
166
168
|
} from "./chunk-TLAVOBEM.js";
|
|
167
|
-
import "./chunk-
|
|
169
|
+
import "./chunk-M7X6TWSX.js";
|
|
168
170
|
import {
|
|
169
171
|
QtiAnd,
|
|
170
172
|
QtiAnyN,
|
|
@@ -242,7 +244,7 @@ import {
|
|
|
242
244
|
QtiVariable,
|
|
243
245
|
qtiAndMixin,
|
|
244
246
|
qtiSubtractMixin
|
|
245
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-LCGPLQLE.js";
|
|
246
248
|
import {
|
|
247
249
|
CustomStateSetShim,
|
|
248
250
|
INITIAL_SESSION_CONTEXT,
|
|
@@ -267,8 +269,10 @@ import {
|
|
|
267
269
|
decimalSeparator,
|
|
268
270
|
dropRegion,
|
|
269
271
|
getCustomOperator,
|
|
272
|
+
inferRecordFieldBaseType,
|
|
270
273
|
installCustomStateSetFallback,
|
|
271
274
|
interactionContext,
|
|
275
|
+
isRecordValue,
|
|
272
276
|
isSeed,
|
|
273
277
|
itemContext,
|
|
274
278
|
itemContextVariables,
|
|
@@ -277,6 +281,7 @@ import {
|
|
|
277
281
|
parsePoint,
|
|
278
282
|
parseResponseAttribute,
|
|
279
283
|
qtiContext,
|
|
284
|
+
readRecordFieldValues,
|
|
280
285
|
registerCustomOperator,
|
|
281
286
|
removeDoubleSlashes,
|
|
282
287
|
responseAttributeConverter,
|
|
@@ -287,7 +292,7 @@ import {
|
|
|
287
292
|
testContext,
|
|
288
293
|
unregisterCustomOperator,
|
|
289
294
|
validationMessage
|
|
290
|
-
} from "./chunk-
|
|
295
|
+
} from "./chunk-T7YSBBAA.js";
|
|
291
296
|
export {
|
|
292
297
|
CandidateCorrectionMixin,
|
|
293
298
|
ChoiceCorrectionMixin,
|
|
@@ -523,8 +528,12 @@ export {
|
|
|
523
528
|
getCustomOperator,
|
|
524
529
|
getItemByUri,
|
|
525
530
|
getManifestInfo,
|
|
531
|
+
inferRecordFieldBaseType,
|
|
532
|
+
inlineScriptText,
|
|
533
|
+
inlineStyleText,
|
|
526
534
|
installCustomStateSetFallback,
|
|
527
535
|
interactionContext,
|
|
536
|
+
isRecordValue,
|
|
528
537
|
isSeed,
|
|
529
538
|
itemContext,
|
|
530
539
|
itemContextVariables,
|
|
@@ -543,6 +552,7 @@ export {
|
|
|
543
552
|
qtiTransformItem,
|
|
544
553
|
qtiTransformManifest,
|
|
545
554
|
qtiTransformTest,
|
|
555
|
+
readRecordFieldValues,
|
|
546
556
|
registerCustomOperator,
|
|
547
557
|
removeDoubleSlashes,
|
|
548
558
|
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-utFyp1DH.js';
|
|
2
|
+
export { O as Orientation, z as inlineScriptText, A as inlineStyleText } from './qti-text-entry-interaction.d-utFyp1DH.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-DJHH5D3E.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-RSSEBILM.js";
|
|
37
39
|
import "./chunk-4DB4SC5K.js";
|
|
38
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-T7YSBBAA.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.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-B1gffYCL.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-DW09Lrie.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-Q3C7XFVS.js";
|
|
2
2
|
import {
|
|
3
3
|
ItemContainer,
|
|
4
4
|
ItemPrintVariables,
|
|
5
5
|
ItemViewMixin,
|
|
6
6
|
QtiItem
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3TUGZHKB.js";
|
|
8
8
|
import "./chunk-QVZLJY75.js";
|
|
9
9
|
import "./chunk-4DB4SC5K.js";
|
|
10
10
|
import "./chunk-TLAVOBEM.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-T7YSBBAA.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-M7X6TWSX.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-LCGPLQLE.js";
|
|
80
|
+
import "./chunk-T7YSBBAA.js";
|
|
81
81
|
export {
|
|
82
82
|
QtiAnd,
|
|
83
83
|
QtiAnyN,
|
|
@@ -61,6 +61,8 @@ import type {
|
|
|
61
61
|
QtiMediaInteraction,
|
|
62
62
|
QtiOrderInteraction,
|
|
63
63
|
QtiPortableCustomInteraction,
|
|
64
|
+
inlineScriptText,
|
|
65
|
+
inlineStyleText,
|
|
64
66
|
QtiPortableCustomInteractionTest,
|
|
65
67
|
QtiPositionObjectInteraction,
|
|
66
68
|
QtiPositionObjectStage,
|
|
@@ -3169,11 +3171,11 @@ export type QtiPortableCustomInteractionProps = {
|
|
|
3169
3171
|
| undefined;
|
|
3170
3172
|
/** */
|
|
3171
3173
|
requireShimJson?: QtiPortableCustomInteraction["requireShimJson"] | undefined;
|
|
3172
|
-
/**
|
|
3174
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3173
3175
|
"data-require-js-url"?:
|
|
3174
3176
|
| QtiPortableCustomInteraction["requireJsUrl"]
|
|
3175
3177
|
| undefined;
|
|
3176
|
-
/**
|
|
3178
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3177
3179
|
requireJsUrl?: QtiPortableCustomInteraction["requireJsUrl"] | undefined;
|
|
3178
3180
|
/** */
|
|
3179
3181
|
"data-base-url"?: QtiPortableCustomInteraction["baseUrl"] | undefined;
|
|
@@ -3278,11 +3280,11 @@ export type QtiPortableCustomInteractionSolidJsProps = {
|
|
|
3278
3280
|
"prop:requireShimJson"?:
|
|
3279
3281
|
| QtiPortableCustomInteraction["requireShimJson"]
|
|
3280
3282
|
| undefined;
|
|
3281
|
-
/**
|
|
3283
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3282
3284
|
"attr:data-require-js-url"?:
|
|
3283
3285
|
| QtiPortableCustomInteraction["requireJsUrl"]
|
|
3284
3286
|
| undefined;
|
|
3285
|
-
/**
|
|
3287
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3286
3288
|
"prop:requireJsUrl"?:
|
|
3287
3289
|
| QtiPortableCustomInteraction["requireJsUrl"]
|
|
3288
3290
|
| undefined;
|
|
@@ -3397,11 +3399,11 @@ export type QtiPortableCustomInteractionTestProps = {
|
|
|
3397
3399
|
requireShimJson?:
|
|
3398
3400
|
| QtiPortableCustomInteractionTest["requireShimJson"]
|
|
3399
3401
|
| undefined;
|
|
3400
|
-
/**
|
|
3402
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3401
3403
|
"data-require-js-url"?:
|
|
3402
3404
|
| QtiPortableCustomInteractionTest["requireJsUrl"]
|
|
3403
3405
|
| undefined;
|
|
3404
|
-
/**
|
|
3406
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3405
3407
|
requireJsUrl?: QtiPortableCustomInteractionTest["requireJsUrl"] | undefined;
|
|
3406
3408
|
/** */
|
|
3407
3409
|
"data-base-url"?: QtiPortableCustomInteractionTest["baseUrl"] | undefined;
|
|
@@ -3508,11 +3510,11 @@ export type QtiPortableCustomInteractionTestSolidJsProps = {
|
|
|
3508
3510
|
"prop:requireShimJson"?:
|
|
3509
3511
|
| QtiPortableCustomInteractionTest["requireShimJson"]
|
|
3510
3512
|
| undefined;
|
|
3511
|
-
/**
|
|
3513
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3512
3514
|
"attr:data-require-js-url"?:
|
|
3513
3515
|
| QtiPortableCustomInteractionTest["requireJsUrl"]
|
|
3514
3516
|
| undefined;
|
|
3515
|
-
/**
|
|
3517
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3516
3518
|
"prop:requireJsUrl"?:
|
|
3517
3519
|
| QtiPortableCustomInteractionTest["requireJsUrl"]
|
|
3518
3520
|
| undefined;
|
|
@@ -8656,7 +8658,7 @@ export type CustomElements = {
|
|
|
8656
8658
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
8657
8659
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
8658
8660
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
8659
|
-
* - `data-require-js-url`/`requireJsUrl`:
|
|
8661
|
+
* - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
|
|
8660
8662
|
* - `data-base-url`/`baseUrl`: undefined
|
|
8661
8663
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
8662
8664
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -8739,7 +8741,7 @@ export type CustomElements = {
|
|
|
8739
8741
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
8740
8742
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
8741
8743
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
8742
|
-
* - `data-require-js-url`/`requireJsUrl`:
|
|
8744
|
+
* - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
|
|
8743
8745
|
* - `data-base-url`/`baseUrl`: undefined
|
|
8744
8746
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
8745
8747
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -10515,6 +10517,9 @@ export type CustomElements = {
|
|
|
10515
10517
|
*
|
|
10516
10518
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10517
10519
|
*
|
|
10520
|
+
* - `resultBaseType`: The base type of the field last read: as declared on the record's correct response when it
|
|
10521
|
+
* is, otherwise read off the value. The value alone is a string like `"4.1"` or `"455 250"`, and
|
|
10522
|
+
* an operator reading it as text would refuse to compare it as a number or test it as a point. (property only) (readonly)
|
|
10518
10523
|
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10519
10524
|
*
|
|
10520
10525
|
* This is the supported way to inspect a scoring run: process the responses,
|
|
@@ -10522,13 +10527,6 @@ export type CustomElements = {
|
|
|
10522
10527
|
* to visualise how a score came about gets the whole tree annotated with its
|
|
10523
10528
|
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10524
10529
|
* - `lastVariables`: undefined (property only) (readonly)
|
|
10525
|
-
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10526
|
-
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10527
|
-
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10528
|
-
*
|
|
10529
|
-
* Left undefined by operators whose result type follows their operands (a
|
|
10530
|
-
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10531
|
-
* all; the type is then read off the value. (property only) (readonly)
|
|
10532
10530
|
* - `getVariables`: undefined (property only)
|
|
10533
10531
|
*
|
|
10534
10532
|
* ## Methods
|
|
@@ -14429,7 +14427,7 @@ export type CustomElementsSolidJs = {
|
|
|
14429
14427
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
14430
14428
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
14431
14429
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
14432
|
-
* - `data-require-js-url`/`requireJsUrl`:
|
|
14430
|
+
* - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
|
|
14433
14431
|
* - `data-base-url`/`baseUrl`: undefined
|
|
14434
14432
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
14435
14433
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -14513,7 +14511,7 @@ export type CustomElementsSolidJs = {
|
|
|
14513
14511
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
14514
14512
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
14515
14513
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
14516
|
-
* - `data-require-js-url`/`requireJsUrl`:
|
|
14514
|
+
* - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
|
|
14517
14515
|
* - `data-base-url`/`baseUrl`: undefined
|
|
14518
14516
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
14519
14517
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -16454,6 +16452,9 @@ export type CustomElementsSolidJs = {
|
|
|
16454
16452
|
*
|
|
16455
16453
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
16456
16454
|
*
|
|
16455
|
+
* - `resultBaseType`: The base type of the field last read: as declared on the record's correct response when it
|
|
16456
|
+
* is, otherwise read off the value. The value alone is a string like `"4.1"` or `"455 250"`, and
|
|
16457
|
+
* an operator reading it as text would refuse to compare it as a number or test it as a point. (property only) (readonly)
|
|
16457
16458
|
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16458
16459
|
*
|
|
16459
16460
|
* This is the supported way to inspect a scoring run: process the responses,
|
|
@@ -16461,13 +16462,6 @@ export type CustomElementsSolidJs = {
|
|
|
16461
16462
|
* to visualise how a score came about gets the whole tree annotated with its
|
|
16462
16463
|
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16463
16464
|
* - `lastVariables`: undefined (property only) (readonly)
|
|
16464
|
-
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16465
|
-
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16466
|
-
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16467
|
-
*
|
|
16468
|
-
* Left undefined by operators whose result type follows their operands (a
|
|
16469
|
-
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16470
|
-
* all; the type is then read off the value. (property only) (readonly)
|
|
16471
16465
|
* - `getVariables`: undefined (property only)
|
|
16472
16466
|
*
|
|
16473
16467
|
* ## Methods
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as lit from 'lit';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
|
-
import { b as ItemContext, V as VariableDeclaration, g as ResponseVariable, B as BaseType } from './item.types.d-
|
|
3
|
+
import { b as ItemContext, V as VariableDeclaration, g as ResponseVariable, B as BaseType } from './item.types.d-DuVR0ZVK.js';
|
|
4
4
|
import { a as QtiContextType, Q as QtiContext } from './qti.context.d-CejJMlfZ.js';
|
|
5
5
|
|
|
6
6
|
interface TestContext {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as lit from 'lit';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
|
-
import { a as Cardinality } from './item.types.d-
|
|
3
|
+
import { a as Cardinality } from './item.types.d-DuVR0ZVK.js';
|
|
4
4
|
|
|
5
5
|
declare abstract class QtiVariableDeclaration extends LitElement {
|
|
6
6
|
render(): lit.TemplateResult<1>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as lit from 'lit';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
3
|
import { Q as QtiContext } from './qti.context.d-CejJMlfZ.js';
|
|
4
|
-
import { C as ComputedItemContext, V as View } from './session.context.d-
|
|
4
|
+
import { C as ComputedItemContext, V as View } from './session.context.d-DW09Lrie.js';
|
|
5
5
|
import { C as ConfigContext } from './config.context.d-BvU9r-Mg.js';
|
|
6
6
|
import { QtiAssessmentItem } from './elements.js';
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as lit from 'lit';
|
|
2
2
|
import { LitElement, PropertyValues, nothing } from 'lit';
|
|
3
3
|
import { b as transformTestApi, t as transformItemApi } from './qti-transform-test.d-BL7GGFJj.js';
|
|
4
|
-
import { C as ComputedContext, a as ComputedItem } from './computed.types.d-
|
|
4
|
+
import { C as ComputedContext, a as ComputedItem } from './computed.types.d-IXACuBr7.js';
|
|
5
5
|
import { QtiAssessmentItem, QtiModalFeedback } from './elements.js';
|
|
6
6
|
import { Q as QtiContext } from './qti.context.d-CejJMlfZ.js';
|
|
7
|
-
import { T as TestContext, Q as QtiExpression, a as QtiExpressionBase } from './qti-expression.d-
|
|
7
|
+
import { T as TestContext, Q as QtiExpression, a as QtiExpressionBase } from './qti-expression.d-B-Cfbqlb.js';
|
|
8
8
|
import { TemplateFunction } from '@heximal/templates';
|
|
9
|
-
import { h as VariableValue, b as ItemContext, c as OutcomeVariable, V as VariableDeclaration } from './item.types.d-
|
|
10
|
-
import { S as SessionContext, V as View } from './session.context.d-
|
|
9
|
+
import { h as VariableValue, b as ItemContext, c as OutcomeVariable, V as VariableDeclaration } from './item.types.d-DuVR0ZVK.js';
|
|
10
|
+
import { S as SessionContext, V as View } from './session.context.d-DW09Lrie.js';
|
|
11
11
|
import { C as ConfigContext } from './config.context.d-BvU9r-Mg.js';
|
|
12
12
|
import { b as QtiRuleBase } from './qti-rule-base.d-Bdzg8eGH.js';
|
|
13
13
|
|