@citolab/qti-components 10.0.0-next.4 → 10.0.0-next.6
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 +338 -300
- package/dist/base.d.ts +4 -4
- package/dist/base.js +1 -1
- package/dist/{chunk-UTW5VDTD.js → chunk-7IRGNPCV.js} +2098 -2032
- package/dist/chunk-7IRGNPCV.js.map +1 -0
- package/dist/{chunk-MI7774NV.js → chunk-CXTHPEUN.js} +2 -2
- package/dist/{chunk-RU6332MD.js → chunk-GZVLORVJ.js} +3 -3
- package/dist/{chunk-TDWJ6WZA.js → chunk-JZZMY3FA.js} +1 -1
- package/dist/chunk-JZZMY3FA.js.map +1 -0
- package/dist/{chunk-KQSR6LZH.js → chunk-KXYSYDIM.js} +2 -2
- package/dist/{chunk-GBZNFSFY.js → chunk-O5HGNYB2.js} +2 -2
- package/dist/{chunk-6U3YPHXU.js → chunk-QU23PPEZ.js} +2 -2
- package/dist/chunk-QVZLJY75.js +7 -0
- package/dist/chunk-QVZLJY75.js.map +1 -0
- package/dist/{chunk-6K3QWJHH.js → chunk-R7ZCUQU2.js} +2 -2
- package/dist/{chunk-RSMYGGQK.js → chunk-VY2DM47N.js} +174 -120
- package/dist/chunk-VY2DM47N.js.map +1 -0
- package/dist/{chunk-FD4AB6TM.js → chunk-W4NUIWRO.js} +2 -2
- package/dist/{chunk-F7FKSHZS.js → chunk-WAHTXGBK.js} +6 -6
- package/dist/{chunk-35WWWFS6.js → chunk-Z545U7O3.js} +2 -2
- package/dist/{computed.types.d-gJrBeUMG.d.ts → computed.types.d-DvxBgnze.d.ts} +10 -1
- package/dist/corrections.d.ts +5 -5
- package/dist/corrections.js +8 -8
- package/dist/elements.js +3 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.js +23 -19
- package/dist/interactions.d.ts +2 -2
- package/dist/interactions.js +3 -3
- package/dist/item.css +2 -1
- package/dist/item.d.ts +2 -2
- package/dist/item.js +4 -4
- package/dist/processing.js +3 -3
- package/dist/qti-components-jsx.d.ts +770 -760
- package/dist/{qti-item.d-DgC1AQbY.d.ts → qti-item.d-klsgIEKQ.d.ts} +1 -1
- package/dist/{qti-test.d-7YudNPea.d.ts → qti-test.d-Cra3sS-2.d.ts} +124 -104
- package/dist/{qti-text-entry-interaction.d-q8u5BiVK.d.ts → qti-text-entry-interaction.d-828kFi2A.d.ts} +14 -0
- package/dist/{session.context.d-D5080LVx.d.ts → session.context.d-DYAdqSer.d.ts} +6 -0
- package/dist/test.d.ts +111 -6
- package/dist/test.js +15 -11
- package/package.json +8 -8
- package/dist/chunk-RSMYGGQK.js.map +0 -1
- package/dist/chunk-TDWJ6WZA.js.map +0 -1
- package/dist/chunk-UTW5VDTD.js.map +0 -1
- package/dist/chunk-ZP6QQYSU.js +0 -7
- package/dist/chunk-ZP6QQYSU.js.map +0 -1
- /package/dist/{chunk-MI7774NV.js.map → chunk-CXTHPEUN.js.map} +0 -0
- /package/dist/{chunk-RU6332MD.js.map → chunk-GZVLORVJ.js.map} +0 -0
- /package/dist/{chunk-KQSR6LZH.js.map → chunk-KXYSYDIM.js.map} +0 -0
- /package/dist/{chunk-GBZNFSFY.js.map → chunk-O5HGNYB2.js.map} +0 -0
- /package/dist/{chunk-6U3YPHXU.js.map → chunk-QU23PPEZ.js.map} +0 -0
- /package/dist/{chunk-6K3QWJHH.js.map → chunk-R7ZCUQU2.js.map} +0 -0
- /package/dist/{chunk-FD4AB6TM.js.map → chunk-W4NUIWRO.js.map} +0 -0
- /package/dist/{chunk-F7FKSHZS.js.map → chunk-WAHTXGBK.js.map} +0 -0
- /package/dist/{chunk-35WWWFS6.js.map → chunk-Z545U7O3.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
qtiItemElements
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GZVLORVJ.js";
|
|
4
4
|
|
|
5
5
|
// ../qti-item/dist/register.js
|
|
6
6
|
for (const { tag, ctor } of qtiItemElements) {
|
|
@@ -8,4 +8,4 @@ for (const { tag, ctor } of qtiItemElements) {
|
|
|
8
8
|
customElements.define(tag, ctor);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
11
|
+
//# sourceMappingURL=chunk-W4NUIWRO.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
QtiTest,
|
|
3
3
|
TestCheckItem,
|
|
4
4
|
TestNavigation
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7IRGNPCV.js";
|
|
6
6
|
import {
|
|
7
7
|
QtiAssessmentItem
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QU23PPEZ.js";
|
|
9
9
|
import {
|
|
10
10
|
QtiAssociateInteraction,
|
|
11
11
|
QtiChoiceInteraction,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
QtiSimpleChoice,
|
|
29
29
|
QtiSliderInteraction,
|
|
30
30
|
QtiTextEntryInteraction
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VY2DM47N.js";
|
|
32
32
|
import {
|
|
33
33
|
QtiItem
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GZVLORVJ.js";
|
|
35
35
|
import {
|
|
36
36
|
watch
|
|
37
37
|
} from "./chunk-4DB4SC5K.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
computedItemContext,
|
|
42
42
|
configContext,
|
|
43
43
|
responseAttributeConverter
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JZZMY3FA.js";
|
|
45
45
|
|
|
46
46
|
// ../qti-corrections/dist/components/item-correct-response-mode/item-correct-response-mode.js
|
|
47
47
|
import { html, LitElement } from "lit";
|
|
@@ -1661,4 +1661,4 @@ export {
|
|
|
1661
1661
|
QtiTestCorrection,
|
|
1662
1662
|
TestCheckItemCorrection
|
|
1663
1663
|
};
|
|
1664
|
-
//# sourceMappingURL=chunk-
|
|
1664
|
+
//# sourceMappingURL=chunk-WAHTXGBK.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
elements8,
|
|
22
22
|
elements9,
|
|
23
23
|
qtiInteractionElements
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VY2DM47N.js";
|
|
25
25
|
|
|
26
26
|
// ../qti-interactions/dist/register-all.js
|
|
27
27
|
for (const { tag, ctor } of qtiInteractionElements) {
|
|
@@ -176,4 +176,4 @@ for (const { tag, ctor } of elements21) {
|
|
|
176
176
|
customElements.define(tag, ctor);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-Z545U7O3.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as View, C as ComputedItemContext } from './session.context.d-
|
|
1
|
+
import { V as View, C as ComputedItemContext } from './session.context.d-DYAdqSer.js';
|
|
2
2
|
|
|
3
3
|
type ComputedItem = ComputedItemContext & {
|
|
4
4
|
categories?: string[];
|
|
@@ -18,6 +18,8 @@ type ComputedItem = ComputedItemContext & {
|
|
|
18
18
|
};
|
|
19
19
|
type ComputedContext = {
|
|
20
20
|
view: View;
|
|
21
|
+
/** What test plugins keep, by plugin name (`QtiTestState.session.plugins`). Read-only; write with `cito-test-update-plugin-state`. */
|
|
22
|
+
plugins?: Readonly<Record<string, unknown>>;
|
|
21
23
|
identifier: string;
|
|
22
24
|
title: string;
|
|
23
25
|
testParts: {
|
|
@@ -37,6 +39,13 @@ type ComputedContext = {
|
|
|
37
39
|
allowSkipping?: boolean;
|
|
38
40
|
}[];
|
|
39
41
|
}[];
|
|
42
|
+
/**
|
|
43
|
+
* The rendered `qti-assessment-item` for an item-ref identifier, or null when it is not on the
|
|
44
|
+
* page. Looked up when called, so it is never a stale element; ask again after the context
|
|
45
|
+
* updates (it does when an item is rendered). A function, so `JSON.stringify` leaves it out.
|
|
46
|
+
* Set by `test-navigation`; for plugins that read an item's content (e.g. text-to-speech).
|
|
47
|
+
*/
|
|
48
|
+
itemElement?: (identifier: string) => HTMLElement | null;
|
|
40
49
|
};
|
|
41
50
|
|
|
42
51
|
export type { ComputedContext as C, ComputedItem as a };
|
package/dist/corrections.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import { I as Interaction } from './interaction.d-g6XG0T0Z.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-828kFi2A.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,
|
|
10
|
-
import { a as ComputedItem, C as ComputedContext } from './computed.types.d-
|
|
7
|
+
import { Q as QtiItem } from './qti-item.d-klsgIEKQ.js';
|
|
8
|
+
import { V as View, C as ComputedItemContext } from './session.context.d-DYAdqSer.js';
|
|
9
|
+
import { l as QtiTest, q as TestCheckItem, v as TestNavigation } from './qti-test.d-Cra3sS-2.js';
|
|
10
|
+
import { a as ComputedItem, C as ComputedContext } from './computed.types.d-DvxBgnze.js';
|
|
11
11
|
import './config.context.d-BvU9r-Mg.js';
|
|
12
12
|
import './interaction.interface.d-CvjHM2bi.js';
|
|
13
13
|
import './item.types.d-B55QkJ92.js';
|
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-WAHTXGBK.js";
|
|
38
38
|
import {
|
|
39
39
|
qtiTestElements
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7IRGNPCV.js";
|
|
41
41
|
import {
|
|
42
42
|
qtiContentElements
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-QU23PPEZ.js";
|
|
44
44
|
import {
|
|
45
45
|
qtiInteractionElements
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-VY2DM47N.js";
|
|
47
47
|
import {
|
|
48
48
|
qtiItemElements
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-GZVLORVJ.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-R7ZCUQU2.js";
|
|
56
56
|
import {
|
|
57
57
|
qtiBaseElements
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-JZZMY3FA.js";
|
|
59
59
|
|
|
60
60
|
// ../qti-corrections/dist/elements.js
|
|
61
61
|
var qtiCorrectionElements = [
|
package/dist/elements.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-O5HGNYB2.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-QU23PPEZ.js";
|
|
29
29
|
import "./chunk-4DB4SC5K.js";
|
|
30
30
|
import "./chunk-TLAVOBEM.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-JZZMY3FA.js";
|
|
32
32
|
export {
|
|
33
33
|
PUBLIC_ITEM_EVENTS,
|
|
34
34
|
QtiAssessmentItem,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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,
|
|
2
|
-
export { IMyQtiTest, IQtiTest, ITestProcessingMixin, QTI_TEST_STATE_VERSION, QtiTestState, QtiTestStateItem, QtiTestStateSession, QtiTestStateValue } from './test.js';
|
|
3
|
-
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-
|
|
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-Cra3sS-2.js';
|
|
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-klsgIEKQ.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 } from './qti-text-entry-interaction.d-828kFi2A.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-DYAdqSer.js';
|
|
13
|
+
export { C as ComputedContext, a as ComputedItem } from './computed.types.d-DvxBgnze.js';
|
|
14
14
|
export { C as ConfigContext, V as ValidationDisplayMode, c as configContext } from './config.context.d-BvU9r-Mg.js';
|
|
15
15
|
export { C as ChoiceRole, I as Interaction, a as InteractionContext, i as interactionContext } from './interaction.d-g6XG0T0Z.js';
|
|
16
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-B55QkJ92.js';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-KXYSYDIM.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-WAHTXGBK.js";
|
|
39
39
|
import {
|
|
40
40
|
QTI_TEST_STATE_VERSION,
|
|
41
41
|
QtiAssessmentItemRef,
|
|
@@ -53,6 +53,7 @@ import {
|
|
|
53
53
|
QtiTestPart,
|
|
54
54
|
QtiTestVariables,
|
|
55
55
|
QtiTestVariablesExpression,
|
|
56
|
+
TestBookmark,
|
|
56
57
|
TestCheckItem,
|
|
57
58
|
TestContainer,
|
|
58
59
|
TestEndAttempt,
|
|
@@ -60,13 +61,11 @@ import {
|
|
|
60
61
|
TestItemToSpeech,
|
|
61
62
|
TestNavigation,
|
|
62
63
|
TestNext,
|
|
63
|
-
TestPagingButtonsStamp,
|
|
64
64
|
TestPrev,
|
|
65
65
|
TestPrintContext,
|
|
66
66
|
TestPrintVariables,
|
|
67
67
|
TestScoringButtons,
|
|
68
68
|
TestScoringFeedback,
|
|
69
|
-
TestSectionButtonsStamp,
|
|
70
69
|
TestSectionLink,
|
|
71
70
|
TestStamp,
|
|
72
71
|
TestTtsNext,
|
|
@@ -78,9 +77,12 @@ import {
|
|
|
78
77
|
TestTtsStop,
|
|
79
78
|
TestView,
|
|
80
79
|
TestViewToggle,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
bookmarkedItems,
|
|
81
|
+
pluginElements,
|
|
82
|
+
pluginState,
|
|
83
|
+
ttsElements
|
|
84
|
+
} from "./chunk-7IRGNPCV.js";
|
|
85
|
+
import "./chunk-O5HGNYB2.js";
|
|
84
86
|
import {
|
|
85
87
|
PUBLIC_ITEM_EVENTS,
|
|
86
88
|
QtiAssessmentItem,
|
|
@@ -107,8 +109,8 @@ import {
|
|
|
107
109
|
dispatchPublic,
|
|
108
110
|
listenDeclared,
|
|
109
111
|
listenPublic
|
|
110
|
-
} from "./chunk-
|
|
111
|
-
import "./chunk-
|
|
112
|
+
} from "./chunk-QU23PPEZ.js";
|
|
113
|
+
import "./chunk-Z545U7O3.js";
|
|
112
114
|
import {
|
|
113
115
|
QtiAssociableHotspot,
|
|
114
116
|
QtiAssociateInteraction,
|
|
@@ -143,15 +145,15 @@ import {
|
|
|
143
145
|
QtiTextEntryInteraction,
|
|
144
146
|
QtiUploadInteraction,
|
|
145
147
|
qtiInteractionElements
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
148
|
+
} from "./chunk-VY2DM47N.js";
|
|
149
|
+
import "./chunk-W4NUIWRO.js";
|
|
148
150
|
import {
|
|
149
151
|
ItemContainer,
|
|
150
152
|
ItemPrintVariables,
|
|
151
153
|
ItemViewMixin,
|
|
152
154
|
QtiItem
|
|
153
|
-
} from "./chunk-
|
|
154
|
-
import "./chunk-
|
|
155
|
+
} from "./chunk-GZVLORVJ.js";
|
|
156
|
+
import "./chunk-QVZLJY75.js";
|
|
155
157
|
import "./chunk-4DB4SC5K.js";
|
|
156
158
|
import {
|
|
157
159
|
getItemByUri,
|
|
@@ -162,7 +164,7 @@ import {
|
|
|
162
164
|
qtiTransformManifest,
|
|
163
165
|
qtiTransformTest
|
|
164
166
|
} from "./chunk-TLAVOBEM.js";
|
|
165
|
-
import "./chunk-
|
|
167
|
+
import "./chunk-CXTHPEUN.js";
|
|
166
168
|
import {
|
|
167
169
|
QtiAnd,
|
|
168
170
|
QtiAnyN,
|
|
@@ -240,7 +242,7 @@ import {
|
|
|
240
242
|
QtiVariable,
|
|
241
243
|
qtiAndMixin,
|
|
242
244
|
qtiSubtractMixin
|
|
243
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-R7ZCUQU2.js";
|
|
244
246
|
import {
|
|
245
247
|
CustomStateSetShim,
|
|
246
248
|
INITIAL_SESSION_CONTEXT,
|
|
@@ -285,7 +287,7 @@ import {
|
|
|
285
287
|
testContext,
|
|
286
288
|
unregisterCustomOperator,
|
|
287
289
|
validationMessage
|
|
288
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-JZZMY3FA.js";
|
|
289
291
|
export {
|
|
290
292
|
CandidateCorrectionMixin,
|
|
291
293
|
ChoiceCorrectionMixin,
|
|
@@ -478,6 +480,7 @@ export {
|
|
|
478
480
|
QtiVariable,
|
|
479
481
|
QtiVariableDeclaration,
|
|
480
482
|
ScoringHelper,
|
|
483
|
+
TestBookmark,
|
|
481
484
|
TestCheckItem,
|
|
482
485
|
TestCheckItemCorrection,
|
|
483
486
|
TestContainer,
|
|
@@ -487,13 +490,11 @@ export {
|
|
|
487
490
|
TestNavigation,
|
|
488
491
|
TestNavigationCorrection,
|
|
489
492
|
TestNext,
|
|
490
|
-
TestPagingButtonsStamp,
|
|
491
493
|
TestPrev,
|
|
492
494
|
TestPrintContext,
|
|
493
495
|
TestPrintVariables,
|
|
494
496
|
TestScoringButtons,
|
|
495
497
|
TestScoringFeedback,
|
|
496
|
-
TestSectionButtonsStamp,
|
|
497
498
|
TestSectionLink,
|
|
498
499
|
TestShowCorrectResponse,
|
|
499
500
|
TestStamp,
|
|
@@ -507,6 +508,7 @@ export {
|
|
|
507
508
|
TestView,
|
|
508
509
|
TestViewToggle,
|
|
509
510
|
asSeed,
|
|
511
|
+
bookmarkedItems,
|
|
510
512
|
boxSizing,
|
|
511
513
|
classifyCustomStateSupport,
|
|
512
514
|
computedContext,
|
|
@@ -532,6 +534,8 @@ export {
|
|
|
532
534
|
parsePair,
|
|
533
535
|
parsePoint,
|
|
534
536
|
parseResponseAttribute,
|
|
537
|
+
pluginElements,
|
|
538
|
+
pluginState,
|
|
535
539
|
qtiAndMixin,
|
|
536
540
|
qtiContext,
|
|
537
541
|
qtiInteractionElements,
|
|
@@ -547,7 +551,7 @@ export {
|
|
|
547
551
|
serializeResponseAttribute,
|
|
548
552
|
sessionContext,
|
|
549
553
|
testContext,
|
|
550
|
-
|
|
554
|
+
ttsElements,
|
|
551
555
|
unregisterCustomOperator,
|
|
552
556
|
validationMessage
|
|
553
557
|
};
|
package/dist/interactions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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, z 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-
|
|
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, z 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-828kFi2A.js';
|
|
2
|
+
export { O as Orientation } from './qti-text-entry-interaction.d-828kFi2A.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { CSSResultGroup, LitElement, PropertyValueMap } from 'lit';
|
|
5
5
|
import { I as Interaction } from './interaction.d-g6XG0T0Z.js';
|
package/dist/interactions.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-Z545U7O3.js";
|
|
2
2
|
import {
|
|
3
3
|
QtiAssociableHotspot,
|
|
4
4
|
QtiAssociateInteraction,
|
|
@@ -33,9 +33,9 @@ import {
|
|
|
33
33
|
QtiTextEntryInteraction,
|
|
34
34
|
QtiUploadInteraction,
|
|
35
35
|
qtiInteractionElements
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-VY2DM47N.js";
|
|
37
37
|
import "./chunk-4DB4SC5K.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-JZZMY3FA.js";
|
|
39
39
|
export {
|
|
40
40
|
QtiAssociableHotspot,
|
|
41
41
|
QtiAssociateInteraction,
|
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,6 +1,6 @@
|
|
|
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-klsgIEKQ.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-DYAdqSer.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';
|
package/dist/item.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-W4NUIWRO.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-GZVLORVJ.js";
|
|
8
|
+
import "./chunk-QVZLJY75.js";
|
|
9
9
|
import "./chunk-4DB4SC5K.js";
|
|
10
10
|
import "./chunk-TLAVOBEM.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-JZZMY3FA.js";
|
|
12
12
|
export {
|
|
13
13
|
ItemContainer,
|
|
14
14
|
ItemPrintVariables,
|
package/dist/processing.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-CXTHPEUN.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-R7ZCUQU2.js";
|
|
80
|
+
import "./chunk-JZZMY3FA.js";
|
|
81
81
|
export {
|
|
82
82
|
QtiAnd,
|
|
83
83
|
QtiAnyN,
|