@citolab/qti-components 10.0.0-next.2 → 10.0.0-next.3
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 +158 -158
- package/dist/{chunk-2KP5UU5A.js → chunk-D3BYGEQU.js} +2 -2
- package/dist/{chunk-3ZNECUPV.js → chunk-OQDBARD5.js} +2 -2
- package/dist/{chunk-K3VKQ6QF.js → chunk-SIE3E4FG.js} +269 -177
- package/dist/chunk-SIE3E4FG.js.map +1 -0
- package/dist/corrections.d.ts +1 -1
- package/dist/corrections.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -3
- package/dist/qti-components-jsx.d.ts +99 -2
- package/dist/{qti-test.d-DkpBNcsv.d.ts → qti-test.d-86TlaMlI.d.ts} +40 -1
- package/dist/test.d.ts +2 -2
- package/dist/test.js +4 -2
- package/package.json +2 -2
- package/dist/chunk-K3VKQ6QF.js.map +0 -1
- /package/dist/{chunk-2KP5UU5A.js.map → chunk-D3BYGEQU.js.map} +0 -0
- /package/dist/{chunk-3ZNECUPV.js.map → chunk-OQDBARD5.js.map} +0 -0
package/dist/corrections.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, v as QtiSimple
|
|
|
6
6
|
import { QtiAssessmentItem } from './elements.js';
|
|
7
7
|
import { Q as QtiItem } from './qti-item.d-DgC1AQbY.js';
|
|
8
8
|
import { V as View, C as ComputedItemContext } from './session.context.d-D5080LVx.js';
|
|
9
|
-
import {
|
|
9
|
+
import { l as QtiTest, T as TestCheckItem, u as TestNavigation } from './qti-test.d-86TlaMlI.js';
|
|
10
10
|
import { a as ComputedItem, C as ComputedContext } from './computed.types.d-gJrBeUMG.js';
|
|
11
11
|
import './config.context.d-BvU9r-Mg.js';
|
|
12
12
|
import './interaction.interface.d-CvjHM2bi.js';
|
package/dist/corrections.js
CHANGED
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
TestNavigationCorrection,
|
|
35
35
|
TestShowCorrectResponse,
|
|
36
36
|
correctionPart
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-D3BYGEQU.js";
|
|
38
38
|
import {
|
|
39
39
|
qtiTestElements
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SIE3E4FG.js";
|
|
41
41
|
import {
|
|
42
42
|
qtiContentElements
|
|
43
43
|
} from "./chunk-6U3YPHXU.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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, S as SpeechState, T as TestCheckItem, q as TestContainer, r as TestEndAttempt, s as TestItemLink, t as TestItemToSpeech, u as TestNavigation, v as TestNext, w as TestPagingButtonsStamp, x as TestPrev, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, C as TestSectionButtonsStamp, D as TestSectionLink, E as TestStamp, F as TestTtsNext, G as TestTtsPause, H as TestTtsPick, J as TestTtsPlay, K as TestTtsPrev, L as TestTtsResume, M as TestTtsStop, N as TestView, O as TestViewToggle, P as TtsContext, R as ttsContext } from './qti-test.d-86TlaMlI.js';
|
|
2
2
|
export { IMyQtiTest, IQtiTest, ITestProcessingMixin, QTI_TEST_STATE_VERSION, QtiTestState, QtiTestStateItem, QtiTestStateSession, QtiTestStateValue } from './test.js';
|
|
3
3
|
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-DgC1AQbY.js';
|
|
4
4
|
export { ItemViewMixin } from './item.js';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-OQDBARD5.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-D3BYGEQU.js";
|
|
39
39
|
import {
|
|
40
40
|
QTI_TEST_STATE_VERSION,
|
|
41
41
|
QtiAssessmentItemRef,
|
|
@@ -43,6 +43,7 @@ import {
|
|
|
43
43
|
QtiAssessmentTest,
|
|
44
44
|
QtiBranchRule,
|
|
45
45
|
QtiItemSessionControl,
|
|
46
|
+
QtiNumberPresented,
|
|
46
47
|
QtiNumberSelected,
|
|
47
48
|
QtiOutcomeProcessing,
|
|
48
49
|
QtiOutcomeProcessingProcessor,
|
|
@@ -78,7 +79,7 @@ import {
|
|
|
78
79
|
TestView,
|
|
79
80
|
TestViewToggle,
|
|
80
81
|
ttsContext
|
|
81
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-SIE3E4FG.js";
|
|
82
83
|
import "./chunk-GBZNFSFY.js";
|
|
83
84
|
import {
|
|
84
85
|
PUBLIC_ITEM_EVENTS,
|
|
@@ -403,6 +404,7 @@ export {
|
|
|
403
404
|
QtiMultiple,
|
|
404
405
|
QtiNot,
|
|
405
406
|
QtiNull,
|
|
407
|
+
QtiNumberPresented,
|
|
406
408
|
QtiNumberSelected,
|
|
407
409
|
QtiOr,
|
|
408
410
|
QtiOrderInteraction,
|
|
@@ -75,6 +75,7 @@ import type {
|
|
|
75
75
|
QtiAssessmentSection,
|
|
76
76
|
QtiBranchRule,
|
|
77
77
|
QtiItemSessionControl,
|
|
78
|
+
QtiNumberPresented,
|
|
78
79
|
QtiNumberSelected,
|
|
79
80
|
QtiPreCondition,
|
|
80
81
|
QtiOutcomeProcessing,
|
|
@@ -4372,6 +4373,21 @@ export type QtiItemSessionControlSolidJsProps = {
|
|
|
4372
4373
|
textContent?: string | number | undefined;
|
|
4373
4374
|
};
|
|
4374
4375
|
|
|
4376
|
+
export type QtiNumberPresentedProps = {
|
|
4377
|
+
/** */
|
|
4378
|
+
getVariables?: QtiNumberPresented["getVariables"] | undefined;
|
|
4379
|
+
};
|
|
4380
|
+
|
|
4381
|
+
export type QtiNumberPresentedSolidJsProps = {
|
|
4382
|
+
/** */
|
|
4383
|
+
"prop:getVariables"?: QtiNumberPresented["getVariables"] | undefined;
|
|
4384
|
+
|
|
4385
|
+
/** Set the innerHTML of the element */
|
|
4386
|
+
innerHTML?: string | undefined;
|
|
4387
|
+
/** Set the textContent of the element */
|
|
4388
|
+
textContent?: string | number | undefined;
|
|
4389
|
+
};
|
|
4390
|
+
|
|
4375
4391
|
export type QtiNumberSelectedProps = {
|
|
4376
4392
|
/** */
|
|
4377
4393
|
getVariables?: QtiNumberSelected["getVariables"] | undefined;
|
|
@@ -4406,6 +4422,8 @@ export type QtiOutcomeProcessingSolidJsProps = {
|
|
|
4406
4422
|
};
|
|
4407
4423
|
|
|
4408
4424
|
export type QtiTestFeedbackProps = {
|
|
4425
|
+
/** When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`). */
|
|
4426
|
+
access?: QtiTestFeedback["access"] | undefined;
|
|
4409
4427
|
/** */
|
|
4410
4428
|
"show-hide"?: QtiTestFeedback["showHide"] | undefined;
|
|
4411
4429
|
/** */
|
|
@@ -4421,6 +4439,8 @@ export type QtiTestFeedbackProps = {
|
|
|
4421
4439
|
};
|
|
4422
4440
|
|
|
4423
4441
|
export type QtiTestFeedbackSolidJsProps = {
|
|
4442
|
+
/** When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`). */
|
|
4443
|
+
"prop:access"?: QtiTestFeedback["access"] | undefined;
|
|
4424
4444
|
/** */
|
|
4425
4445
|
"attr:show-hide"?: QtiTestFeedback["showHide"] | undefined;
|
|
4426
4446
|
/** */
|
|
@@ -9255,6 +9275,39 @@ export type CustomElements = {
|
|
|
9255
9275
|
QtiItemSessionControlProps & BaseProps<QtiItemSessionControl> & BaseEvents
|
|
9256
9276
|
>;
|
|
9257
9277
|
|
|
9278
|
+
/**
|
|
9279
|
+
*
|
|
9280
|
+
*
|
|
9281
|
+
* ## Attributes & Properties
|
|
9282
|
+
*
|
|
9283
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9284
|
+
*
|
|
9285
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
9286
|
+
*
|
|
9287
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
9288
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
9289
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
9290
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
9291
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
9292
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
9293
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
9294
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
9295
|
+
*
|
|
9296
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
9297
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
9298
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
9299
|
+
* - `getVariables`: undefined (property only)
|
|
9300
|
+
*
|
|
9301
|
+
* ## Methods
|
|
9302
|
+
*
|
|
9303
|
+
* Methods that can be called to access component functionality.
|
|
9304
|
+
*
|
|
9305
|
+
* - `calculate() => number`: undefined
|
|
9306
|
+
*/
|
|
9307
|
+
"qti-number-presented": Partial<
|
|
9308
|
+
QtiNumberPresentedProps & BaseProps<QtiNumberPresented> & BaseEvents
|
|
9309
|
+
>;
|
|
9310
|
+
|
|
9258
9311
|
/**
|
|
9259
9312
|
*
|
|
9260
9313
|
*
|
|
@@ -9321,12 +9374,14 @@ export type CustomElements = {
|
|
|
9321
9374
|
>;
|
|
9322
9375
|
|
|
9323
9376
|
/**
|
|
9324
|
-
*
|
|
9377
|
+
* Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
|
|
9378
|
+
* the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
|
|
9325
9379
|
*
|
|
9326
9380
|
* ## Attributes & Properties
|
|
9327
9381
|
*
|
|
9328
9382
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9329
9383
|
*
|
|
9384
|
+
* - `access`: When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`).
|
|
9330
9385
|
* - `show-hide`/`showHide`: undefined
|
|
9331
9386
|
* - `outcome-identifier`/`outcomeIdentifier`: undefined
|
|
9332
9387
|
* - `identifier`: undefined
|
|
@@ -9336,6 +9391,8 @@ export type CustomElements = {
|
|
|
9336
9391
|
*
|
|
9337
9392
|
* Methods that can be called to access component functionality.
|
|
9338
9393
|
*
|
|
9394
|
+
* - `matches(value: string | readonly string[] | null | undefined) => boolean`: Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
|
|
9395
|
+
* when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
|
|
9339
9396
|
* - `openFeedback() => void`: undefined
|
|
9340
9397
|
* - `closeFeedback() => void`: undefined
|
|
9341
9398
|
* - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
|
|
@@ -15002,6 +15059,42 @@ export type CustomElementsSolidJs = {
|
|
|
15002
15059
|
BaseEvents
|
|
15003
15060
|
>;
|
|
15004
15061
|
|
|
15062
|
+
/**
|
|
15063
|
+
*
|
|
15064
|
+
*
|
|
15065
|
+
* ## Attributes & Properties
|
|
15066
|
+
*
|
|
15067
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15068
|
+
*
|
|
15069
|
+
* - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
|
|
15070
|
+
*
|
|
15071
|
+
* This is the supported way to inspect a scoring run: process the responses,
|
|
15072
|
+
* then walk the rule tree reading this off each expression. A tool that wants
|
|
15073
|
+
* to visualise how a score came about gets the whole tree annotated with its
|
|
15074
|
+
* values, without the components having to re-render to show them. (property only) (readonly)
|
|
15075
|
+
* - `lastVariables`: undefined (property only) (readonly)
|
|
15076
|
+
* - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
|
|
15077
|
+
* one regardless of its operands — `qti-divide` is a float even dividing two
|
|
15078
|
+
* integers exactly, and `qti-round` is an integer whatever it rounds.
|
|
15079
|
+
*
|
|
15080
|
+
* Left undefined by operators whose result type follows their operands (a
|
|
15081
|
+
* `qti-sum` of integers is an integer) and by those that return no number at
|
|
15082
|
+
* all; the type is then read off the value. (property only) (readonly)
|
|
15083
|
+
* - `getVariables`: undefined (property only)
|
|
15084
|
+
*
|
|
15085
|
+
* ## Methods
|
|
15086
|
+
*
|
|
15087
|
+
* Methods that can be called to access component functionality.
|
|
15088
|
+
*
|
|
15089
|
+
* - `calculate() => number`: undefined
|
|
15090
|
+
*/
|
|
15091
|
+
"qti-number-presented": Partial<
|
|
15092
|
+
QtiNumberPresentedProps &
|
|
15093
|
+
QtiNumberPresentedSolidJsProps &
|
|
15094
|
+
BaseProps<QtiNumberPresented> &
|
|
15095
|
+
BaseEvents
|
|
15096
|
+
>;
|
|
15097
|
+
|
|
15005
15098
|
/**
|
|
15006
15099
|
*
|
|
15007
15100
|
*
|
|
@@ -15077,12 +15170,14 @@ export type CustomElementsSolidJs = {
|
|
|
15077
15170
|
>;
|
|
15078
15171
|
|
|
15079
15172
|
/**
|
|
15080
|
-
*
|
|
15173
|
+
* Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
|
|
15174
|
+
* the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
|
|
15081
15175
|
*
|
|
15082
15176
|
* ## Attributes & Properties
|
|
15083
15177
|
*
|
|
15084
15178
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
15085
15179
|
*
|
|
15180
|
+
* - `access`: When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`).
|
|
15086
15181
|
* - `show-hide`/`showHide`: undefined
|
|
15087
15182
|
* - `outcome-identifier`/`outcomeIdentifier`: undefined
|
|
15088
15183
|
* - `identifier`: undefined
|
|
@@ -15092,6 +15187,8 @@ export type CustomElementsSolidJs = {
|
|
|
15092
15187
|
*
|
|
15093
15188
|
* Methods that can be called to access component functionality.
|
|
15094
15189
|
*
|
|
15190
|
+
* - `matches(value: string | readonly string[] | null | undefined) => boolean`: Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
|
|
15191
|
+
* when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
|
|
15095
15192
|
* - `openFeedback() => void`: undefined
|
|
15096
15193
|
* - `closeFeedback() => void`: undefined
|
|
15097
15194
|
* - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
|
|
@@ -184,6 +184,33 @@ declare global {
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
+
/**
|
|
188
|
+
* @summary The qti-number-presented expression counts the selected items that have been presented to the candidate.
|
|
189
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.number-presented
|
|
190
|
+
*
|
|
191
|
+
* Outcome processing only. `section-identifier`, `include-category` and
|
|
192
|
+
* `exclude-category` narrow which item references are counted, the same way as
|
|
193
|
+
* for `qti-number-selected` and `qti-test-variables`.
|
|
194
|
+
*
|
|
195
|
+
* An item is presented once its `completionStatus` has left `not_attempted`:
|
|
196
|
+
* presenting an item starts its first attempt. An item a linear test part
|
|
197
|
+
* passed over (pre-condition, branch rule) or one the candidate has not reached
|
|
198
|
+
* keeps `not_attempted`. That makes this the count to use for a total over the
|
|
199
|
+
* candidate's own route, such as a maximum score of one point per presented item.
|
|
200
|
+
*/
|
|
201
|
+
declare class QtiNumberPresented extends QtiExpression<number> {
|
|
202
|
+
#private;
|
|
203
|
+
_testContext?: TestContext;
|
|
204
|
+
constructor();
|
|
205
|
+
getResult(): number;
|
|
206
|
+
calculate(): number;
|
|
207
|
+
}
|
|
208
|
+
declare global {
|
|
209
|
+
interface HTMLElementTagNameMap {
|
|
210
|
+
'qti-number-presented': QtiNumberPresented;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
187
214
|
/**
|
|
188
215
|
* @summary The qti-number-selected expression counts the item refs selected for the test.
|
|
189
216
|
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.number-selected
|
|
@@ -247,8 +274,19 @@ declare class QtiOutcomeProcessingProcessor {
|
|
|
247
274
|
process(rules: QtiRuleBase[]): void;
|
|
248
275
|
}
|
|
249
276
|
|
|
277
|
+
/**
|
|
278
|
+
* Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
|
|
279
|
+
* the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
|
|
280
|
+
*/
|
|
250
281
|
declare class QtiTestFeedback extends QtiModalFeedback {
|
|
251
282
|
static styles: lit.CSSResult;
|
|
283
|
+
/** When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`). */
|
|
284
|
+
access: 'atEnd' | 'during';
|
|
285
|
+
/**
|
|
286
|
+
* Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
|
|
287
|
+
* when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
|
|
288
|
+
*/
|
|
289
|
+
matches(value: string | readonly string[] | null | undefined): boolean;
|
|
252
290
|
render(): lit.TemplateResult<1>;
|
|
253
291
|
}
|
|
254
292
|
declare global {
|
|
@@ -1006,6 +1044,7 @@ declare const QtiTest_base: (abstract new (...args: any[]) => ITestNavigationMix
|
|
|
1006
1044
|
getOutcome(identifier: string): Readonly<OutcomeVariable>;
|
|
1007
1045
|
getVariable(identifier: string): Readonly<VariableDeclaration<string | string[] | null>>;
|
|
1008
1046
|
outcomeProcessing(): boolean;
|
|
1047
|
+
getTestFeedback(access?: "atEnd" | "during"): QtiTestFeedback[];
|
|
1009
1048
|
}) & (abstract new (...args: any[]) => ITestStateMixin) & (abstract new (...args: any[]) => TestBaseInterface) & typeof LitElement;
|
|
1010
1049
|
/**
|
|
1011
1050
|
* `<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.
|
|
@@ -1084,4 +1123,4 @@ declare global {
|
|
|
1084
1123
|
}
|
|
1085
1124
|
}
|
|
1086
1125
|
|
|
1087
|
-
export {
|
|
1126
|
+
export { TestScoringButtons as A, TestScoringFeedback as B, TestSectionButtonsStamp as C, TestSectionLink as D, TestStamp as E, TestTtsNext as F, TestTtsPause as G, TestTtsPick as H, type ITestNavigationMixin as I, TestTtsPlay as J, TestTtsPrev as K, TestTtsResume as L, TestTtsStop as M, TestView as N, TestViewToggle as O, type TtsContext as P, QtiAssessmentItemRef as Q, ttsContext as R, type SpeechState as S, TestCheckItem as T, type ItemVariableValue as U, type ITestStateMixin as a, type ItemRefTemplateModel as b, QtiAssessmentSection as c, QtiAssessmentTest as d, QtiBranchRule as e, QtiItemSessionControl as f, QtiNumberPresented as g, QtiNumberSelected as h, QtiOutcomeProcessing as i, QtiOutcomeProcessingProcessor as j, QtiPreCondition as k, QtiTest as l, QtiTestFeedback as m, QtiTestPart as n, QtiTestVariables as o, QtiTestVariablesExpression as p, TestContainer as q, TestEndAttempt as r, TestItemLink as s, TestItemToSpeech as t, TestNavigation as u, TestNext as v, TestPagingButtonsStamp as w, TestPrev as x, TestPrintContext as y, TestPrintVariables as z };
|
package/dist/test.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as QtiBranchRule, f as QtiItemSessionControl, g as
|
|
1
|
+
import { U as ItemVariableValue, I as ITestNavigationMixin, a as ITestStateMixin } from './qti-test.d-86TlaMlI.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, S as SpeechState, T as TestCheckItem, q as TestContainer, r as TestEndAttempt, s as TestItemLink, t as TestItemToSpeech, u as TestNavigation, v as TestNext, w as TestPagingButtonsStamp, x as TestPrev, y as TestPrintContext, z as TestPrintVariables, A as TestScoringButtons, B as TestScoringFeedback, C as TestSectionButtonsStamp, D as TestSectionLink, E as TestStamp, F as TestTtsNext, G as TestTtsPause, H as TestTtsPick, J as TestTtsPlay, K as TestTtsPrev, L as TestTtsResume, M as TestTtsStop, N as TestView, O as TestViewToggle, P as TtsContext, R as ttsContext } from './qti-test.d-86TlaMlI.js';
|
|
3
3
|
import { LitElement } from 'lit';
|
|
4
4
|
import { b as ItemContext, c as OutcomeVariable, V as VariableDeclaration } from './item.types.d-B55QkJ92.js';
|
|
5
5
|
import { S as SessionContext } from './session.context.d-D5080LVx.js';
|
package/dist/test.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-OQDBARD5.js";
|
|
2
2
|
import {
|
|
3
3
|
QTI_TEST_STATE_VERSION,
|
|
4
4
|
QtiAssessmentItemRef,
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
QtiAssessmentTest,
|
|
7
7
|
QtiBranchRule,
|
|
8
8
|
QtiItemSessionControl,
|
|
9
|
+
QtiNumberPresented,
|
|
9
10
|
QtiNumberSelected,
|
|
10
11
|
QtiOutcomeProcessing,
|
|
11
12
|
QtiOutcomeProcessingProcessor,
|
|
@@ -41,7 +42,7 @@ import {
|
|
|
41
42
|
TestView,
|
|
42
43
|
TestViewToggle,
|
|
43
44
|
ttsContext
|
|
44
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-SIE3E4FG.js";
|
|
45
46
|
import "./chunk-6U3YPHXU.js";
|
|
46
47
|
import "./chunk-ZP6QQYSU.js";
|
|
47
48
|
import "./chunk-4DB4SC5K.js";
|
|
@@ -54,6 +55,7 @@ export {
|
|
|
54
55
|
QtiAssessmentTest,
|
|
55
56
|
QtiBranchRule,
|
|
56
57
|
QtiItemSessionControl,
|
|
58
|
+
QtiNumberPresented,
|
|
57
59
|
QtiNumberSelected,
|
|
58
60
|
QtiOutcomeProcessing,
|
|
59
61
|
QtiOutcomeProcessingProcessor,
|
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.3",
|
|
5
5
|
"author": "",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@heximal/templates": "^0.1.5",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@qti-components/item": "^1.5.1-next.1",
|
|
18
18
|
"@qti-components/loader": "^1.3.4-next.0",
|
|
19
19
|
"@qti-components/processing": "^1.6.1-next.0",
|
|
20
|
-
"@qti-components/test": "^1.10.0-next.
|
|
20
|
+
"@qti-components/test": "^1.10.0-next.3",
|
|
21
21
|
"@qti-components/theme": "^2.2.2-next.0",
|
|
22
22
|
"@qti-components/transformers": "^1.7.3"
|
|
23
23
|
},
|