@citolab/qti-components 10.0.0-next.5 → 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 +1758 -201
- package/dist/base.d.ts +10 -10
- package/dist/base.js +7 -1
- package/dist/{chunk-JNZ3HSFI.js → chunk-3TUGZHKB.js} +3 -3
- package/dist/{chunk-A2AP6CUL.js → chunk-6PCCBSPB.js} +4 -4
- package/dist/{chunk-WVDQLBMT.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-F7QDRKCR.js → chunk-Q3C7XFVS.js} +2 -2
- package/dist/chunk-QVZLJY75.js +7 -0
- package/dist/chunk-QVZLJY75.js.map +1 -0
- package/dist/{chunk-WV53LUE3.js → chunk-RN3MD444.js} +2 -2
- package/dist/{chunk-WC3P4KCV.js → chunk-RSSEBILM.js} +386 -241
- 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-KB2NJTSD.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 +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-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-q8u5BiVK.d.ts → qti-text-entry-interaction.d-utFyp1DH.d.ts} +28 -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 +5 -5
- package/package.json +9 -9
- package/dist/chunk-JZZMY3FA.js.map +0 -1
- package/dist/chunk-R7ZCUQU2.js.map +0 -1
- package/dist/chunk-WC3P4KCV.js.map +0 -1
- package/dist/chunk-ZP6QQYSU.js +0 -7
- package/dist/chunk-ZP6QQYSU.js.map +0 -1
- /package/dist/{chunk-JNZ3HSFI.js.map → chunk-3TUGZHKB.js.map} +0 -0
- /package/dist/{chunk-A2AP6CUL.js.map → chunk-6PCCBSPB.js.map} +0 -0
- /package/dist/{chunk-WVDQLBMT.js.map → chunk-DJHH5D3E.js.map} +0 -0
- /package/dist/{chunk-CXTHPEUN.js.map → chunk-M7X6TWSX.js.map} +0 -0
- /package/dist/{chunk-F7QDRKCR.js.map → chunk-Q3C7XFVS.js.map} +0 -0
- /package/dist/{chunk-WV53LUE3.js.map → chunk-RN3MD444.js.map} +0 -0
- /package/dist/{chunk-O5HGNYB2.js.map → chunk-RWMY7KRT.js.map} +0 -0
- /package/dist/{chunk-KB2NJTSD.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-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-3TUGZHKB.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-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,16 +144,18 @@ 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-
|
|
156
|
-
import "./chunk-
|
|
157
|
+
} from "./chunk-3TUGZHKB.js";
|
|
158
|
+
import "./chunk-QVZLJY75.js";
|
|
157
159
|
import "./chunk-4DB4SC5K.js";
|
|
158
160
|
import {
|
|
159
161
|
getItemByUri,
|
|
@@ -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.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-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-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-3TUGZHKB.js";
|
|
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,
|
|
@@ -2171,6 +2173,14 @@ casts, rather than pretending at an encapsulation the type system was the only t
|
|
|
2171
2173
|
};
|
|
2172
2174
|
|
|
2173
2175
|
export type QtiGraphicGapMatchInteractionProps = {
|
|
2176
|
+
/** A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
2177
|
+
`--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
2178
|
+
beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
2179
|
+
declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
2180
|
+
their hotspots through `--qti-graphic-scale` instead. */
|
|
2181
|
+
autoSizeDropzones?:
|
|
2182
|
+
| QtiGraphicGapMatchInteraction["autoSizeDropzones"]
|
|
2183
|
+
| undefined;
|
|
2174
2184
|
/** */
|
|
2175
2185
|
allowReorder?: QtiGraphicGapMatchInteraction["allowReorder"] | undefined;
|
|
2176
2186
|
/** */
|
|
@@ -2184,6 +2194,14 @@ export type QtiGraphicGapMatchInteractionProps = {
|
|
|
2184
2194
|
};
|
|
2185
2195
|
|
|
2186
2196
|
export type QtiGraphicGapMatchInteractionSolidJsProps = {
|
|
2197
|
+
/** A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
2198
|
+
`--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
2199
|
+
beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
2200
|
+
declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
2201
|
+
their hotspots through `--qti-graphic-scale` instead. */
|
|
2202
|
+
"prop:autoSizeDropzones"?:
|
|
2203
|
+
| QtiGraphicGapMatchInteraction["autoSizeDropzones"]
|
|
2204
|
+
| undefined;
|
|
2187
2205
|
/** */
|
|
2188
2206
|
"prop:allowReorder"?:
|
|
2189
2207
|
| QtiGraphicGapMatchInteraction["allowReorder"]
|
|
@@ -3153,11 +3171,11 @@ export type QtiPortableCustomInteractionProps = {
|
|
|
3153
3171
|
| undefined;
|
|
3154
3172
|
/** */
|
|
3155
3173
|
requireShimJson?: QtiPortableCustomInteraction["requireShimJson"] | undefined;
|
|
3156
|
-
/**
|
|
3174
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3157
3175
|
"data-require-js-url"?:
|
|
3158
3176
|
| QtiPortableCustomInteraction["requireJsUrl"]
|
|
3159
3177
|
| undefined;
|
|
3160
|
-
/**
|
|
3178
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3161
3179
|
requireJsUrl?: QtiPortableCustomInteraction["requireJsUrl"] | undefined;
|
|
3162
3180
|
/** */
|
|
3163
3181
|
"data-base-url"?: QtiPortableCustomInteraction["baseUrl"] | undefined;
|
|
@@ -3262,11 +3280,11 @@ export type QtiPortableCustomInteractionSolidJsProps = {
|
|
|
3262
3280
|
"prop:requireShimJson"?:
|
|
3263
3281
|
| QtiPortableCustomInteraction["requireShimJson"]
|
|
3264
3282
|
| undefined;
|
|
3265
|
-
/**
|
|
3283
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3266
3284
|
"attr:data-require-js-url"?:
|
|
3267
3285
|
| QtiPortableCustomInteraction["requireJsUrl"]
|
|
3268
3286
|
| undefined;
|
|
3269
|
-
/**
|
|
3287
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3270
3288
|
"prop:requireJsUrl"?:
|
|
3271
3289
|
| QtiPortableCustomInteraction["requireJsUrl"]
|
|
3272
3290
|
| undefined;
|
|
@@ -3381,11 +3399,11 @@ export type QtiPortableCustomInteractionTestProps = {
|
|
|
3381
3399
|
requireShimJson?:
|
|
3382
3400
|
| QtiPortableCustomInteractionTest["requireShimJson"]
|
|
3383
3401
|
| undefined;
|
|
3384
|
-
/**
|
|
3402
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3385
3403
|
"data-require-js-url"?:
|
|
3386
3404
|
| QtiPortableCustomInteractionTest["requireJsUrl"]
|
|
3387
3405
|
| undefined;
|
|
3388
|
-
/**
|
|
3406
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3389
3407
|
requireJsUrl?: QtiPortableCustomInteractionTest["requireJsUrl"] | undefined;
|
|
3390
3408
|
/** */
|
|
3391
3409
|
"data-base-url"?: QtiPortableCustomInteractionTest["baseUrl"] | undefined;
|
|
@@ -3492,11 +3510,11 @@ export type QtiPortableCustomInteractionTestSolidJsProps = {
|
|
|
3492
3510
|
"prop:requireShimJson"?:
|
|
3493
3511
|
| QtiPortableCustomInteractionTest["requireShimJson"]
|
|
3494
3512
|
| undefined;
|
|
3495
|
-
/**
|
|
3513
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3496
3514
|
"attr:data-require-js-url"?:
|
|
3497
3515
|
| QtiPortableCustomInteractionTest["requireJsUrl"]
|
|
3498
3516
|
| undefined;
|
|
3499
|
-
/**
|
|
3517
|
+
/** A RequireJS to load in the iframe instead of the inlined copy (src/vendor/require-js.ts). */
|
|
3500
3518
|
"prop:requireJsUrl"?:
|
|
3501
3519
|
| QtiPortableCustomInteractionTest["requireJsUrl"]
|
|
3502
3520
|
| undefined;
|
|
@@ -7971,6 +7989,11 @@ export type CustomElements = {
|
|
|
7971
7989
|
*
|
|
7972
7990
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
7973
7991
|
*
|
|
7992
|
+
* - `autoSizeDropzones`: A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
7993
|
+
* `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
7994
|
+
* beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
7995
|
+
* declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
7996
|
+
* their hotspots through `--qti-graphic-scale` instead. (property only)
|
|
7974
7997
|
* - `allowReorder`: undefined (property only)
|
|
7975
7998
|
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
7976
7999
|
* - `sortableAnimationConfig`: undefined (property only)
|
|
@@ -8635,7 +8658,7 @@ export type CustomElements = {
|
|
|
8635
8658
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
8636
8659
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
8637
8660
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
8638
|
-
* - `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).
|
|
8639
8662
|
* - `data-base-url`/`baseUrl`: undefined
|
|
8640
8663
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
8641
8664
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -8718,7 +8741,7 @@ export type CustomElements = {
|
|
|
8718
8741
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
8719
8742
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
8720
8743
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
8721
|
-
* - `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).
|
|
8722
8745
|
* - `data-base-url`/`baseUrl`: undefined
|
|
8723
8746
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
8724
8747
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -10494,6 +10517,9 @@ export type CustomElements = {
|
|
|
10494
10517
|
*
|
|
10495
10518
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10496
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)
|
|
10497
10523
|
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
10498
10524
|
*
|
|
10499
10525
|
* This is the supported way to inspect a scoring run: process the responses,
|
|
@@ -10501,13 +10527,6 @@ export type CustomElements = {
|
|
|
10501
10527
|
* to visualise how a score came about gets the whole tree annotated with its
|
|
10502
10528
|
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
10503
10529
|
* - `lastVariables`: undefined (property only) (readonly)
|
|
10504
|
-
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
10505
|
-
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
10506
|
-
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
10507
|
-
*
|
|
10508
|
-
* Left undefined by operators whose result type follows their operands (a
|
|
10509
|
-
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
10510
|
-
* all; the type is then read off the value. (property only) (readonly)
|
|
10511
10530
|
* - `getVariables`: undefined (property only)
|
|
10512
10531
|
*
|
|
10513
10532
|
* ## Methods
|
|
@@ -13721,6 +13740,11 @@ export type CustomElementsSolidJs = {
|
|
|
13721
13740
|
*
|
|
13722
13741
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
13723
13742
|
*
|
|
13743
|
+
* - `autoSizeDropzones`: A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
13744
|
+
* `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
13745
|
+
* beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
13746
|
+
* declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
13747
|
+
* their hotspots through `--qti-graphic-scale` instead. (property only)
|
|
13724
13748
|
* - `allowReorder`: undefined (property only)
|
|
13725
13749
|
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
13726
13750
|
* - `sortableAnimationConfig`: undefined (property only)
|
|
@@ -14403,7 +14427,7 @@ export type CustomElementsSolidJs = {
|
|
|
14403
14427
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
14404
14428
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
14405
14429
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
14406
|
-
* - `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).
|
|
14407
14431
|
* - `data-base-url`/`baseUrl`: undefined
|
|
14408
14432
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
14409
14433
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -14487,7 +14511,7 @@ export type CustomElementsSolidJs = {
|
|
|
14487
14511
|
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
14488
14512
|
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
14489
14513
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
14490
|
-
* - `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).
|
|
14491
14515
|
* - `data-base-url`/`baseUrl`: undefined
|
|
14492
14516
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
14493
14517
|
* - `data-status`/`status`: Item lifecycle status handed to the PCI in its `getInstance` configuration.
|
|
@@ -16428,6 +16452,9 @@ export type CustomElementsSolidJs = {
|
|
|
16428
16452
|
*
|
|
16429
16453
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
16430
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)
|
|
16431
16458
|
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
16432
16459
|
*
|
|
16433
16460
|
* This is the supported way to inspect a scoring run: process the responses,
|
|
@@ -16435,13 +16462,6 @@ export type CustomElementsSolidJs = {
|
|
|
16435
16462
|
* to visualise how a score came about gets the whole tree annotated with its
|
|
16436
16463
|
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
16437
16464
|
* - `lastVariables`: undefined (property only) (readonly)
|
|
16438
|
-
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
16439
|
-
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
16440
|
-
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
16441
|
-
*
|
|
16442
|
-
* Left undefined by operators whose result type follows their operands (a
|
|
16443
|
-
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
16444
|
-
* all; the type is then read off the value. (property only) (readonly)
|
|
16445
16465
|
* - `getVariables`: undefined (property only)
|
|
16446
16466
|
*
|
|
16447
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>;
|