@citolab/qti-components 10.0.0-next.0 → 10.0.0-next.10
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 +1975 -361
- package/dist/base.d.ts +10 -10
- package/dist/base.js +7 -1
- package/dist/{chunk-F7R7GSWL.js → chunk-3TUGZHKB.js} +3 -3
- package/dist/{chunk-CNFVA3AA.js → chunk-AHULN3UB.js} +390 -243
- package/dist/chunk-AHULN3UB.js.map +1 -0
- package/dist/{chunk-GPNWMLLA.js → chunk-CQ3WU35R.js} +2 -2
- package/dist/{chunk-3BAQWO5C.js → chunk-LCGPLQLE.js} +40 -4
- package/dist/chunk-LCGPLQLE.js.map +1 -0
- package/dist/{chunk-ACRN7YJM.js → chunk-M7X6TWSX.js} +2 -2
- package/dist/{chunk-WNAOVXXN.js → chunk-Q3C7XFVS.js} +2 -2
- package/dist/chunk-QVZLJY75.js +7 -0
- package/dist/chunk-QVZLJY75.js.map +1 -0
- package/dist/{chunk-EUKU5QKV.js → chunk-RRMCWCSA.js} +2520 -2071
- package/dist/chunk-RRMCWCSA.js.map +1 -0
- package/dist/{chunk-SVYHZIJ7.js → chunk-RWMY7KRT.js} +2 -2
- package/dist/{chunk-R7MMMDP7.js → chunk-T7YSBBAA.js} +56 -2
- package/dist/chunk-T7YSBBAA.js.map +1 -0
- package/dist/{chunk-QD3Y6UK3.js → chunk-WPILS3CW.js} +2 -2
- package/dist/{chunk-AWTQKBC4.js → chunk-YOCOLMGB.js} +40 -5
- package/dist/{chunk-AWTQKBC4.js.map → chunk-YOCOLMGB.js.map} +1 -1
- package/dist/{chunk-EPSUZIWL.js → chunk-YYZCTIZY.js} +6 -6
- package/dist/{computed.types.d-gJrBeUMG.d.ts → computed.types.d-IXACuBr7.d.ts} +10 -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 +11 -11
- package/dist/index.js +41 -19
- 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 +1065 -774
- package/dist/{qti-condition-expression.d-L7yb3Rzy.d.ts → qti-condition-expression.d-B-T1NNl0.d.ts} +1 -1
- package/dist/{qti-expression.d-CuaLjZ6g.d.ts → qti-expression.d-B-Cfbqlb.d.ts} +8 -1
- package/dist/{qti-feedback.d-wMYNVkkj.d.ts → qti-feedback.d-DbzPSJuK.d.ts} +1 -1
- package/dist/{qti-item.d-DgC1AQbY.d.ts → qti-item.d-B1gffYCL.d.ts} +1 -1
- package/dist/{qti-test.d-_THYXPzd.d.ts → qti-test.d-D-RYWphm.d.ts} +242 -99
- 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-D5080LVx.d.ts → session.context.d-DW09Lrie.d.ts} +7 -1
- package/dist/test.d.ts +117 -9
- package/dist/test.js +23 -11
- package/package.json +9 -9
- package/dist/chunk-3BAQWO5C.js.map +0 -1
- package/dist/chunk-CNFVA3AA.js.map +0 -1
- package/dist/chunk-EUKU5QKV.js.map +0 -1
- package/dist/chunk-R7MMMDP7.js.map +0 -1
- package/dist/chunk-ZP6QQYSU.js +0 -7
- package/dist/chunk-ZP6QQYSU.js.map +0 -1
- /package/dist/{chunk-F7R7GSWL.js.map → chunk-3TUGZHKB.js.map} +0 -0
- /package/dist/{chunk-GPNWMLLA.js.map → chunk-CQ3WU35R.js.map} +0 -0
- /package/dist/{chunk-ACRN7YJM.js.map → chunk-M7X6TWSX.js.map} +0 -0
- /package/dist/{chunk-WNAOVXXN.js.map → chunk-Q3C7XFVS.js.map} +0 -0
- /package/dist/{chunk-SVYHZIJ7.js.map → chunk-RWMY7KRT.js.map} +0 -0
- /package/dist/{chunk-QD3Y6UK3.js.map → chunk-WPILS3CW.js.map} +0 -0
- /package/dist/{chunk-EPSUZIWL.js.map → chunk-YYZCTIZY.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
|
2
2
|
import { C as ConfigContext, V as ValidationDisplayMode } from './config.context.d-BvU9r-Mg.js';
|
|
3
3
|
import { V as ValidatableInteraction } from './interaction.interface.d-CvjHM2bi.js';
|
|
4
|
-
import { g as ResponseVariable } from './item.types.d-
|
|
4
|
+
import { g as ResponseVariable, B as BaseType } from './item.types.d-DuVR0ZVK.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* What a choice element should render and behave as. The same element — `qti-simple-choice`,
|
|
@@ -123,4 +123,36 @@ declare abstract class Interaction extends LitElement implements ValidatableInte
|
|
|
123
123
|
protected firstUpdated(_changedProperties?: PropertyValues): void;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
/**
|
|
127
|
+
* The value of a variable with `record` cardinality: its fields by field identifier.
|
|
128
|
+
*
|
|
129
|
+
* Field values are kept the way every other response value is kept, as QTI string literals — a
|
|
130
|
+
* float is `"4.12"`, a point is `"455 250"` — with a list-valued field as an array of them.
|
|
131
|
+
*/
|
|
132
|
+
type RecordValue = Record<string, string | string[] | null>;
|
|
133
|
+
/** A record's field values with the base type each `qti-value` declared for its field. */
|
|
134
|
+
interface RecordFieldValues {
|
|
135
|
+
value: RecordValue;
|
|
136
|
+
baseTypes: Record<string, BaseType>;
|
|
137
|
+
}
|
|
138
|
+
/** Whether a variable value is a record: a plain object, not a list and not NULL. */
|
|
139
|
+
declare const isRecordValue: (value: unknown) => value is RecordValue;
|
|
140
|
+
/**
|
|
141
|
+
* Reads the field values of a record out of `qti-value field-identifier="…" base-type="…"`
|
|
142
|
+
* elements, as found in a `qti-correct-response` or `qti-default-value` of a record declaration.
|
|
143
|
+
*
|
|
144
|
+
* A value without a `field-identifier` is not a record field and is skipped. A field without a
|
|
145
|
+
* `base-type` gets no entry in `baseTypes`, so a reader can tell "declared string" from "unknown".
|
|
146
|
+
*/
|
|
147
|
+
declare const readRecordFieldValues: (valueElements: Iterable<Element>) => RecordFieldValues;
|
|
148
|
+
/**
|
|
149
|
+
* A best guess at a record field's base type, for when the declaration does not say.
|
|
150
|
+
*
|
|
151
|
+
* A record field value carries no type of its own once it is stored, and a record response
|
|
152
|
+
* declaration has no `base-type`, so this is the fallback. A number is a float (or an integer
|
|
153
|
+
* when given as a whole JS number), two numbers separated by whitespace are a point, and
|
|
154
|
+
* anything else is a string.
|
|
155
|
+
*/
|
|
156
|
+
declare const inferRecordFieldBaseType: (value: unknown) => BaseType;
|
|
157
|
+
|
|
158
|
+
export { type ChoiceRole as C, Interaction as I, type RecordFieldValues as R, type InteractionContext as a, type RecordValue as b, interactionContext as c, isRecordValue as d, inferRecordFieldBaseType as i, readRecordFieldValues as r };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as VariableDeclaration } from './item.types.d-
|
|
1
|
+
import { V as VariableDeclaration } from './item.types.d-DuVR0ZVK.js';
|
|
2
2
|
|
|
3
3
|
type ComputedItemContext = {
|
|
4
4
|
identifier: string;
|
|
@@ -26,6 +26,12 @@ interface SessionContext {
|
|
|
26
26
|
/** @deprecated Never set by the library. Removed in the next major. */
|
|
27
27
|
navTestLoading?: boolean;
|
|
28
28
|
view?: View;
|
|
29
|
+
/**
|
|
30
|
+
* What test plugins keep, by plugin name: JSON the test stores and restores without reading it.
|
|
31
|
+
* Part of the persisted state (`QtiTestState.session.plugins`); written through the
|
|
32
|
+
* `cito-test-update-plugin-state` request.
|
|
33
|
+
*/
|
|
34
|
+
plugins?: Readonly<Record<string, unknown>>;
|
|
29
35
|
}
|
|
30
36
|
declare const INITIAL_SESSION_CONTEXT: Readonly<SessionContext>;
|
|
31
37
|
declare const sessionContext: {
|
package/dist/test.d.ts
CHANGED
|
@@ -1,19 +1,116 @@
|
|
|
1
|
-
import { O as ItemVariableValue, I as ITestNavigationMixin, a as ITestStateMixin } from './qti-test.d-
|
|
2
|
-
export { b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as
|
|
1
|
+
import { u as TestItemToSpeech, F as TestTtsNext, G as TestTtsPause, H as TestTtsPick, J as TestTtsPlay, K as TestTtsPrev, L as TestTtsResume, M as TestTtsStop, q as TestCheckItem, T as TestBookmark, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, D as TestStamp, E as TestSubmit, N as TestView, O as TestViewToggle, R as QtiTestPluginState$1, S as ItemVariableValue, I as ITestNavigationMixin, a as ITestStateMixin } from './qti-test.d-D-RYWphm.js';
|
|
2
|
+
export { 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, r as TestContainer, s as TestEndAttempt, t as TestItemLink, v as TestNavigation, w as TestNext, x as TestPrev, C as TestSectionLink, P as bookmarkedItems } from './qti-test.d-D-RYWphm.js';
|
|
3
|
+
import { C as ComputedContext } from './computed.types.d-IXACuBr7.js';
|
|
3
4
|
import { LitElement } from 'lit';
|
|
4
|
-
import { b as ItemContext, c as OutcomeVariable, V as VariableDeclaration } from './item.types.d-
|
|
5
|
-
import { S as SessionContext } from './session.context.d-
|
|
5
|
+
import { b as ItemContext, c as OutcomeVariable, V as VariableDeclaration } from './item.types.d-DuVR0ZVK.js';
|
|
6
|
+
import { S as SessionContext } from './session.context.d-DW09Lrie.js';
|
|
6
7
|
import { C as ConfigContext } from './config.context.d-BvU9r-Mg.js';
|
|
7
|
-
import { T as TestContext } from './qti-expression.d-
|
|
8
|
+
import { T as TestContext } from './qti-expression.d-B-Cfbqlb.js';
|
|
8
9
|
import './qti-transform-test.d-BL7GGFJj.js';
|
|
9
|
-
import './computed.types.d-gJrBeUMG.js';
|
|
10
10
|
import './elements.js';
|
|
11
11
|
import './interaction.interface.d-CvjHM2bi.js';
|
|
12
|
-
import './qti-feedback.d-
|
|
12
|
+
import './qti-feedback.d-DbzPSJuK.js';
|
|
13
13
|
import './qti-rule-base.d-Bdzg8eGH.js';
|
|
14
14
|
import './qti.context.d-CejJMlfZ.js';
|
|
15
15
|
import '@heximal/templates';
|
|
16
16
|
|
|
17
|
+
/** The text-to-speech elements, for registering them yourself (e.g. in a scoped registry). Defines nothing. */
|
|
18
|
+
declare const ttsElements: readonly [{
|
|
19
|
+
readonly tag: "test-item-to-speech";
|
|
20
|
+
readonly ctor: typeof TestItemToSpeech;
|
|
21
|
+
}, {
|
|
22
|
+
readonly tag: "test-tts-next";
|
|
23
|
+
readonly ctor: typeof TestTtsNext;
|
|
24
|
+
}, {
|
|
25
|
+
readonly tag: "test-tts-pause";
|
|
26
|
+
readonly ctor: typeof TestTtsPause;
|
|
27
|
+
}, {
|
|
28
|
+
readonly tag: "test-tts-pick";
|
|
29
|
+
readonly ctor: typeof TestTtsPick;
|
|
30
|
+
}, {
|
|
31
|
+
readonly tag: "test-tts-play";
|
|
32
|
+
readonly ctor: typeof TestTtsPlay;
|
|
33
|
+
}, {
|
|
34
|
+
readonly tag: "test-tts-prev";
|
|
35
|
+
readonly ctor: typeof TestTtsPrev;
|
|
36
|
+
}, {
|
|
37
|
+
readonly tag: "test-tts-resume";
|
|
38
|
+
readonly ctor: typeof TestTtsResume;
|
|
39
|
+
}, {
|
|
40
|
+
readonly tag: "test-tts-stop";
|
|
41
|
+
readonly ctor: typeof TestTtsStop;
|
|
42
|
+
}];
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Every test plugin's elements in one list. `qti-test` registers them with the rest of its
|
|
46
|
+
* elements, and a scoped registry can use the list directly. Defines nothing.
|
|
47
|
+
*
|
|
48
|
+
* A plugin is the set of files listed for it in `plugin-boundary.spec.ts` (`PLUGINS`); this file is
|
|
49
|
+
* the one place that names them all.
|
|
50
|
+
*/
|
|
51
|
+
declare const pluginElements: readonly [{
|
|
52
|
+
readonly tag: "test-check-item";
|
|
53
|
+
readonly ctor: typeof TestCheckItem;
|
|
54
|
+
}, {
|
|
55
|
+
readonly tag: "test-bookmark";
|
|
56
|
+
readonly ctor: typeof TestBookmark;
|
|
57
|
+
}, {
|
|
58
|
+
readonly tag: "test-print-context";
|
|
59
|
+
readonly ctor: typeof TestPrintContext;
|
|
60
|
+
}, {
|
|
61
|
+
readonly tag: "test-print-item-variables";
|
|
62
|
+
readonly ctor: typeof TestPrintVariables;
|
|
63
|
+
}, {
|
|
64
|
+
readonly tag: "test-scoring-buttons";
|
|
65
|
+
readonly ctor: typeof TestScoringButtons;
|
|
66
|
+
}, {
|
|
67
|
+
readonly tag: "test-scoring-feedback";
|
|
68
|
+
readonly ctor: typeof TestScoringFeedback;
|
|
69
|
+
}, {
|
|
70
|
+
readonly tag: "test-stamp";
|
|
71
|
+
readonly ctor: typeof TestStamp;
|
|
72
|
+
}, {
|
|
73
|
+
readonly tag: "test-submit";
|
|
74
|
+
readonly ctor: typeof TestSubmit;
|
|
75
|
+
}, {
|
|
76
|
+
readonly tag: "test-view";
|
|
77
|
+
readonly ctor: typeof TestView;
|
|
78
|
+
}, {
|
|
79
|
+
readonly tag: "test-view-toggle";
|
|
80
|
+
readonly ctor: typeof TestViewToggle;
|
|
81
|
+
}, {
|
|
82
|
+
readonly tag: "test-item-to-speech";
|
|
83
|
+
readonly ctor: typeof TestItemToSpeech;
|
|
84
|
+
}, {
|
|
85
|
+
readonly tag: "test-tts-next";
|
|
86
|
+
readonly ctor: typeof TestTtsNext;
|
|
87
|
+
}, {
|
|
88
|
+
readonly tag: "test-tts-pause";
|
|
89
|
+
readonly ctor: typeof TestTtsPause;
|
|
90
|
+
}, {
|
|
91
|
+
readonly tag: "test-tts-pick";
|
|
92
|
+
readonly ctor: typeof TestTtsPick;
|
|
93
|
+
}, {
|
|
94
|
+
readonly tag: "test-tts-play";
|
|
95
|
+
readonly ctor: typeof TestTtsPlay;
|
|
96
|
+
}, {
|
|
97
|
+
readonly tag: "test-tts-prev";
|
|
98
|
+
readonly ctor: typeof TestTtsPrev;
|
|
99
|
+
}, {
|
|
100
|
+
readonly tag: "test-tts-resume";
|
|
101
|
+
readonly ctor: typeof TestTtsResume;
|
|
102
|
+
}, {
|
|
103
|
+
readonly tag: "test-tts-stop";
|
|
104
|
+
readonly ctor: typeof TestTtsStop;
|
|
105
|
+
}];
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* A plugin's entry in the state, typed through `QtiTestPluginState`, or `undefined` before the
|
|
109
|
+
* plugin has stored anything. Read it from `computedContext`; write it by dispatching
|
|
110
|
+
* `cito-test-update-plugin-state` (`dispatchPublic`).
|
|
111
|
+
*/
|
|
112
|
+
declare const pluginState: <K extends keyof QtiTestPluginState$1 & string>(context: Pick<ComputedContext, "plugins"> | undefined, plugin: K) => QtiTestPluginState$1[K] | undefined;
|
|
113
|
+
|
|
17
114
|
interface IQtiTest extends LitElement, ITestNavigationMixin, ITestProcessingMixin, ITestStateMixin, IMyQtiTest {
|
|
18
115
|
}
|
|
19
116
|
interface IMyQtiTest {
|
|
@@ -68,12 +165,23 @@ interface QtiTestStateValue {
|
|
|
68
165
|
identifier: string;
|
|
69
166
|
value: string | string[] | null;
|
|
70
167
|
}
|
|
71
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* What each plugin keeps in the state, by plugin name. Empty here: a plugin adds its own entry by
|
|
170
|
+
* augmenting this interface (`declare module` on the module that declares it, with
|
|
171
|
+
* `interface QtiTestPluginState { bookmarks: string[] }`), and reads it with
|
|
172
|
+
* `pluginState(computedContext, 'bookmarks')`. The test never reads an entry; it
|
|
173
|
+
* stores and restores it, so a value must survive `JSON.stringify`.
|
|
174
|
+
*/
|
|
175
|
+
interface QtiTestPluginState {
|
|
176
|
+
}
|
|
177
|
+
/** Where the candidate is, and what plugins keep. */
|
|
72
178
|
interface QtiTestStateSession {
|
|
179
|
+
/** Plugin entries by plugin name. Entries of plugins that are not loaded are kept as they are. */
|
|
180
|
+
plugins?: Partial<QtiTestPluginState> & Record<string, unknown>;
|
|
73
181
|
navPartId?: string | null;
|
|
74
182
|
navSectionId?: string | null;
|
|
75
183
|
navItemRefId?: string | null;
|
|
76
184
|
}
|
|
77
185
|
declare const QTI_TEST_STATE_VERSION = 1;
|
|
78
186
|
|
|
79
|
-
export { type IMyQtiTest, type IQtiTest, ITestNavigationMixin, type ITestProcessingMixin, ITestStateMixin, QTI_TEST_STATE_VERSION, type QtiTestState, type QtiTestStateItem, type QtiTestStateSession, type QtiTestStateValue };
|
|
187
|
+
export { type IMyQtiTest, type IQtiTest, ITestNavigationMixin, type ITestProcessingMixin, ITestStateMixin, QTI_TEST_STATE_VERSION, type QtiTestPluginState, type QtiTestState, type QtiTestStateItem, type QtiTestStateSession, type QtiTestStateValue, TestBookmark, TestCheckItem, TestItemToSpeech, TestPrintContext, TestPrintVariables, TestScoringButtons, TestScoringFeedback, TestStamp, TestSubmit, TestTtsNext, TestTtsPause, TestTtsPick, TestTtsPlay, TestTtsPrev, TestTtsResume, TestTtsStop, TestView, TestViewToggle, pluginElements, pluginState, ttsElements };
|
package/dist/test.js
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-WPILS3CW.js";
|
|
2
2
|
import {
|
|
3
3
|
QTI_TEST_STATE_VERSION,
|
|
4
4
|
QtiAssessmentItemRef,
|
|
5
5
|
QtiAssessmentSection,
|
|
6
6
|
QtiAssessmentTest,
|
|
7
|
+
QtiBranchRule,
|
|
7
8
|
QtiItemSessionControl,
|
|
9
|
+
QtiNumberPresented,
|
|
8
10
|
QtiNumberSelected,
|
|
9
11
|
QtiOutcomeProcessing,
|
|
10
12
|
QtiOutcomeProcessingProcessor,
|
|
13
|
+
QtiPreCondition,
|
|
11
14
|
QtiTest,
|
|
12
15
|
QtiTestFeedback,
|
|
13
16
|
QtiTestPart,
|
|
14
17
|
QtiTestVariables,
|
|
15
18
|
QtiTestVariablesExpression,
|
|
19
|
+
TestBookmark,
|
|
16
20
|
TestCheckItem,
|
|
17
21
|
TestContainer,
|
|
18
22
|
TestEndAttempt,
|
|
@@ -20,15 +24,14 @@ import {
|
|
|
20
24
|
TestItemToSpeech,
|
|
21
25
|
TestNavigation,
|
|
22
26
|
TestNext,
|
|
23
|
-
TestPagingButtonsStamp,
|
|
24
27
|
TestPrev,
|
|
25
28
|
TestPrintContext,
|
|
26
29
|
TestPrintVariables,
|
|
27
30
|
TestScoringButtons,
|
|
28
31
|
TestScoringFeedback,
|
|
29
|
-
TestSectionButtonsStamp,
|
|
30
32
|
TestSectionLink,
|
|
31
33
|
TestStamp,
|
|
34
|
+
TestSubmit,
|
|
32
35
|
TestTtsNext,
|
|
33
36
|
TestTtsPause,
|
|
34
37
|
TestTtsPick,
|
|
@@ -38,27 +41,34 @@ import {
|
|
|
38
41
|
TestTtsStop,
|
|
39
42
|
TestView,
|
|
40
43
|
TestViewToggle,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
bookmarkedItems,
|
|
45
|
+
pluginElements,
|
|
46
|
+
pluginState,
|
|
47
|
+
ttsElements
|
|
48
|
+
} from "./chunk-RRMCWCSA.js";
|
|
49
|
+
import "./chunk-YOCOLMGB.js";
|
|
50
|
+
import "./chunk-QVZLJY75.js";
|
|
45
51
|
import "./chunk-4DB4SC5K.js";
|
|
46
52
|
import "./chunk-TLAVOBEM.js";
|
|
47
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-T7YSBBAA.js";
|
|
48
54
|
export {
|
|
49
55
|
QTI_TEST_STATE_VERSION,
|
|
50
56
|
QtiAssessmentItemRef,
|
|
51
57
|
QtiAssessmentSection,
|
|
52
58
|
QtiAssessmentTest,
|
|
59
|
+
QtiBranchRule,
|
|
53
60
|
QtiItemSessionControl,
|
|
61
|
+
QtiNumberPresented,
|
|
54
62
|
QtiNumberSelected,
|
|
55
63
|
QtiOutcomeProcessing,
|
|
56
64
|
QtiOutcomeProcessingProcessor,
|
|
65
|
+
QtiPreCondition,
|
|
57
66
|
QtiTest,
|
|
58
67
|
QtiTestFeedback,
|
|
59
68
|
QtiTestPart,
|
|
60
69
|
QtiTestVariables,
|
|
61
70
|
QtiTestVariablesExpression,
|
|
71
|
+
TestBookmark,
|
|
62
72
|
TestCheckItem,
|
|
63
73
|
TestContainer,
|
|
64
74
|
TestEndAttempt,
|
|
@@ -66,15 +76,14 @@ export {
|
|
|
66
76
|
TestItemToSpeech,
|
|
67
77
|
TestNavigation,
|
|
68
78
|
TestNext,
|
|
69
|
-
TestPagingButtonsStamp,
|
|
70
79
|
TestPrev,
|
|
71
80
|
TestPrintContext,
|
|
72
81
|
TestPrintVariables,
|
|
73
82
|
TestScoringButtons,
|
|
74
83
|
TestScoringFeedback,
|
|
75
|
-
TestSectionButtonsStamp,
|
|
76
84
|
TestSectionLink,
|
|
77
85
|
TestStamp,
|
|
86
|
+
TestSubmit,
|
|
78
87
|
TestTtsNext,
|
|
79
88
|
TestTtsPause,
|
|
80
89
|
TestTtsPick,
|
|
@@ -84,6 +93,9 @@ export {
|
|
|
84
93
|
TestTtsStop,
|
|
85
94
|
TestView,
|
|
86
95
|
TestViewToggle,
|
|
87
|
-
|
|
96
|
+
bookmarkedItems,
|
|
97
|
+
pluginElements,
|
|
98
|
+
pluginState,
|
|
99
|
+
ttsElements
|
|
88
100
|
};
|
|
89
101
|
//# sourceMappingURL=test.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citolab/qti-components",
|
|
3
3
|
"description": "QTI component utilities",
|
|
4
|
-
"version": "10.0.0-next.
|
|
4
|
+
"version": "10.0.0-next.10",
|
|
5
5
|
"author": "",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@heximal/templates": "^0.1.5",
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"lit-html": "^3.3.1"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@qti-components/base": "^2.
|
|
14
|
-
"@qti-components/corrections": "^0.4.1-next.
|
|
15
|
-
"@qti-components/elements": "^1.10.0-next.
|
|
16
|
-
"@qti-components/interactions": "^1.10.5-next.
|
|
17
|
-
"@qti-components/item": "^1.5.1-next.
|
|
13
|
+
"@qti-components/base": "^2.5.0-next.2",
|
|
14
|
+
"@qti-components/corrections": "^0.4.1-next.4",
|
|
15
|
+
"@qti-components/elements": "^1.10.0-next.3",
|
|
16
|
+
"@qti-components/interactions": "^1.10.5-next.3",
|
|
17
|
+
"@qti-components/item": "^1.5.1-next.3",
|
|
18
18
|
"@qti-components/loader": "^1.3.4-next.0",
|
|
19
|
-
"@qti-components/processing": "^1.6.
|
|
20
|
-
"@qti-components/test": "^
|
|
21
|
-
"@qti-components/theme": "^2.
|
|
19
|
+
"@qti-components/processing": "^1.6.1-next.2",
|
|
20
|
+
"@qti-components/test": "^2.0.0-next.8",
|
|
21
|
+
"@qti-components/theme": "^2.3.0-next.1",
|
|
22
22
|
"@qti-components/transformers": "^1.7.3"
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|