@citolab/qti-components 10.0.0-next.6 → 10.0.0-next.8
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 +1774 -222
- 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-BIU7J6B7.js} +16 -5
- package/dist/{chunk-7IRGNPCV.js.map → chunk-BIU7J6B7.js.map} +1 -1
- 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-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-X7ZKR5D7.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/{chunk-KXYSYDIM.js → chunk-YOUQARPK.js} +2 -2
- 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 +21 -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-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-O5HGNYB2.js.map → chunk-RWMY7KRT.js.map} +0 -0
- /package/dist/{chunk-WAHTXGBK.js.map → chunk-X7ZKR5D7.js.map} +0 -0
- /package/dist/{chunk-KXYSYDIM.js.map → chunk-YOUQARPK.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-utFyp1DH.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, q as TestCheckItem, v 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-B1gffYCL.js';
|
|
8
|
+
import { V as View, C as ComputedItemContext } from './session.context.d-DW09Lrie.js';
|
|
9
|
+
import { l as QtiTest, q as TestCheckItem, v as TestNavigation } from './qti-test.d-CHIATIDg.js';
|
|
10
|
+
import { a as ComputedItem, C as ComputedContext } from './computed.types.d-IXACuBr7.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-X7ZKR5D7.js";
|
|
38
38
|
import {
|
|
39
39
|
qtiTestElements
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-BIU7J6B7.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-YOUQARPK.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-X7ZKR5D7.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-BIU7J6B7.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,
|
|
@@ -97,6 +99,7 @@ import type {
|
|
|
97
99
|
TestCheckItem,
|
|
98
100
|
TestPrintContext,
|
|
99
101
|
TestPrintVariables,
|
|
102
|
+
formatVariableValue,
|
|
100
103
|
TestScoringButtons,
|
|
101
104
|
TestScoringFeedback,
|
|
102
105
|
TestStamp,
|
|
@@ -3169,11 +3172,11 @@ export type QtiPortableCustomInteractionProps = {
|
|
|
3169
3172
|
| undefined;
|
|
3170
3173
|
/** */
|
|
3171
3174
|
requireShimJson?: QtiPortableCustomInteraction["requireShimJson"] | undefined;
|
|
3172
|
-
/**
|
|
3175
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3173
3176
|
"data-require-js-url"?:
|
|
3174
3177
|
| QtiPortableCustomInteraction["requireJsUrl"]
|
|
3175
3178
|
| undefined;
|
|
3176
|
-
/**
|
|
3179
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3177
3180
|
requireJsUrl?: QtiPortableCustomInteraction["requireJsUrl"] | undefined;
|
|
3178
3181
|
/** */
|
|
3179
3182
|
"data-base-url"?: QtiPortableCustomInteraction["baseUrl"] | undefined;
|
|
@@ -3278,11 +3281,11 @@ export type QtiPortableCustomInteractionSolidJsProps = {
|
|
|
3278
3281
|
"prop:requireShimJson"?:
|
|
3279
3282
|
| QtiPortableCustomInteraction["requireShimJson"]
|
|
3280
3283
|
| undefined;
|
|
3281
|
-
/**
|
|
3284
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3282
3285
|
"attr:data-require-js-url"?:
|
|
3283
3286
|
| QtiPortableCustomInteraction["requireJsUrl"]
|
|
3284
3287
|
| undefined;
|
|
3285
|
-
/**
|
|
3288
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3286
3289
|
"prop:requireJsUrl"?:
|
|
3287
3290
|
| QtiPortableCustomInteraction["requireJsUrl"]
|
|
3288
3291
|
| undefined;
|
|
@@ -3397,11 +3400,11 @@ export type QtiPortableCustomInteractionTestProps = {
|
|
|
3397
3400
|
requireShimJson?:
|
|
3398
3401
|
| QtiPortableCustomInteractionTest["requireShimJson"]
|
|
3399
3402
|
| undefined;
|
|
3400
|
-
/**
|
|
3403
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3401
3404
|
"data-require-js-url"?:
|
|
3402
3405
|
| QtiPortableCustomInteractionTest["requireJsUrl"]
|
|
3403
3406
|
| undefined;
|
|
3404
|
-
/**
|
|
3407
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3405
3408
|
requireJsUrl?: QtiPortableCustomInteractionTest["requireJsUrl"] | undefined;
|
|
3406
3409
|
/** */
|
|
3407
3410
|
"data-base-url"?: QtiPortableCustomInteractionTest["baseUrl"] | undefined;
|
|
@@ -3508,11 +3511,11 @@ export type QtiPortableCustomInteractionTestSolidJsProps = {
|
|
|
3508
3511
|
"prop:requireShimJson"?:
|
|
3509
3512
|
| QtiPortableCustomInteractionTest["requireShimJson"]
|
|
3510
3513
|
| undefined;
|
|
3511
|
-
/**
|
|
3514
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3512
3515
|
"attr:data-require-js-url"?:
|
|
3513
3516
|
| QtiPortableCustomInteractionTest["requireJsUrl"]
|
|
3514
3517
|
| undefined;
|
|
3515
|
-
/**
|
|
3518
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3516
3519
|
"prop:requireJsUrl"?:
|
|
3517
3520
|
| QtiPortableCustomInteractionTest["requireJsUrl"]
|
|
3518
3521
|
| undefined;
|
|
@@ -8656,7 +8659,7 @@ export type CustomElements = {
|
|
|
8656
8659
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
8657
8660
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
8658
8661
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
8659
|
-
* - `data-require-js-url`/`requireJsUrl`:
|
|
8662
|
+
* - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
|
|
8660
8663
|
* - `data-base-url`/`baseUrl`: undefined
|
|
8661
8664
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
8662
8665
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -8739,7 +8742,7 @@ export type CustomElements = {
|
|
|
8739
8742
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
8740
8743
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
8741
8744
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
8742
|
-
* - `data-require-js-url`/`requireJsUrl`:
|
|
8745
|
+
* - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
|
|
8743
8746
|
* - `data-base-url`/`baseUrl`: undefined
|
|
8744
8747
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
8745
8748
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -10515,6 +10518,9 @@ export type CustomElements = {
|
|
|
10515
10518
|
*
|
|
10516
10519
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10517
10520
|
*
|
|
10521
|
+
* - `resultBaseType`: The base type of the field last read: as declared on the record's correct response when it
|
|
10522
|
+
* is, otherwise read off the value. The value alone is a string like `"4.1"` or `"455 250"`, and
|
|
10523
|
+
* an operator reading it as text would refuse to compare it as a number or test it as a point. (property only) (readonly)
|
|
10518
10524
|
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10519
10525
|
*
|
|
10520
10526
|
* This is the supported way to inspect a scoring run: process the responses,
|
|
@@ -10522,13 +10528,6 @@ export type CustomElements = {
|
|
|
10522
10528
|
* to visualise how a score came about gets the whole tree annotated with its
|
|
10523
10529
|
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10524
10530
|
* - `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
10531
|
* - `getVariables`: undefined (property only)
|
|
10533
10532
|
*
|
|
10534
10533
|
* ## Methods
|
|
@@ -14429,7 +14428,7 @@ export type CustomElementsSolidJs = {
|
|
|
14429
14428
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
14430
14429
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
14431
14430
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
14432
|
-
* - `data-require-js-url`/`requireJsUrl`:
|
|
14431
|
+
* - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
|
|
14433
14432
|
* - `data-base-url`/`baseUrl`: undefined
|
|
14434
14433
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
14435
14434
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -14513,7 +14512,7 @@ export type CustomElementsSolidJs = {
|
|
|
14513
14512
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
14514
14513
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
14515
14514
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
14516
|
-
* - `data-require-js-url`/`requireJsUrl`:
|
|
14515
|
+
* - `data-require-js-url`/`requireJsUrl`: A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts).
|
|
14517
14516
|
* - `data-base-url`/`baseUrl`: undefined
|
|
14518
14517
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
14519
14518
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -16454,6 +16453,9 @@ export type CustomElementsSolidJs = {
|
|
|
16454
16453
|
*
|
|
16455
16454
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
16456
16455
|
*
|
|
16456
|
+
* - `resultBaseType`: The base type of the field last read: as declared on the record's correct response when it
|
|
16457
|
+
* is, otherwise read off the value. The value alone is a string like `"4.1"` or `"455 250"`, and
|
|
16458
|
+
* an operator reading it as text would refuse to compare it as a number or test it as a point. (property only) (readonly)
|
|
16457
16459
|
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16458
16460
|
*
|
|
16459
16461
|
* This is the supported way to inspect a scoring run: process the responses,
|
|
@@ -16461,13 +16463,6 @@ export type CustomElementsSolidJs = {
|
|
|
16461
16463
|
* to visualise how a score came about gets the whole tree annotated with its
|
|
16462
16464
|
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16463
16465
|
* - `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
16466
|
* - `getVariables`: undefined (property only)
|
|
16472
16467
|
*
|
|
16473
16468
|
* ## 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
|
|