@citolab/qti-components 10.0.0-next.2 → 10.0.0-next.4

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.
@@ -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 { k as QtiTest, T as TestCheckItem, t as TestNavigation } from './qti-test.d-DkpBNcsv.js';
9
+ import { l as QtiTest, T as TestCheckItem, u as TestNavigation } from './qti-test.d-7YudNPea.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';
@@ -34,10 +34,10 @@ import {
34
34
  TestNavigationCorrection,
35
35
  TestShowCorrectResponse,
36
36
  correctionPart
37
- } from "./chunk-2KP5UU5A.js";
37
+ } from "./chunk-F7FKSHZS.js";
38
38
  import {
39
39
  qtiTestElements
40
- } from "./chunk-K3VKQ6QF.js";
40
+ } from "./chunk-UTW5VDTD.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 QtiNumberSelected, h as QtiOutcomeProcessing, i as QtiOutcomeProcessingProcessor, j as QtiPreCondition, k as QtiTest, l as QtiTestFeedback, m as QtiTestPart, n as QtiTestVariables, o as QtiTestVariablesExpression, S as SpeechState, T as TestCheckItem, p as TestContainer, q as TestEndAttempt, r as TestItemLink, s as TestItemToSpeech, t as TestNavigation, u as TestNext, v as TestPagingButtonsStamp, w as TestPrev, x as TestPrintContext, y as TestPrintVariables, z as TestScoringButtons, A as TestScoringFeedback, B as TestSectionButtonsStamp, 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 TtsContext, P as ttsContext } from './qti-test.d-DkpBNcsv.js';
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-7YudNPea.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-3ZNECUPV.js";
1
+ import "./chunk-KQSR6LZH.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-2KP5UU5A.js";
38
+ } from "./chunk-F7FKSHZS.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-K3VKQ6QF.js";
82
+ } from "./chunk-UTW5VDTD.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
  /** */
@@ -4583,9 +4603,15 @@ object, do not mutate it: an in-place change does not notify the components insi
4583
4603
  textContent?: string | number | undefined;
4584
4604
  };
4585
4605
 
4586
- export type TestCheckItemProps = {};
4606
+ export type TestCheckItemProps = {
4607
+ /** The view to switch to after the attempt ended. */
4608
+ view?: TestCheckItem["view"] | undefined;
4609
+ };
4587
4610
 
4588
4611
  export type TestCheckItemSolidJsProps = {
4612
+ /** The view to switch to after the attempt ended. */
4613
+ "prop:view"?: TestCheckItem["view"] | undefined;
4614
+
4589
4615
  /** Set the innerHTML of the element */
4590
4616
  innerHTML?: string | undefined;
4591
4617
  /** Set the textContent of the element */
@@ -6438,9 +6464,15 @@ object, do not mutate it: an in-place change does not notify the components insi
6438
6464
  textContent?: string | number | undefined;
6439
6465
  };
6440
6466
 
6441
- export type TestCheckItemCorrectionProps = {};
6467
+ export type TestCheckItemCorrectionProps = {
6468
+ /** The view to switch to after the attempt ended. */
6469
+ view?: TestCheckItemCorrection["view"] | undefined;
6470
+ };
6442
6471
 
6443
6472
  export type TestCheckItemCorrectionSolidJsProps = {
6473
+ /** The view to switch to after the attempt ended. */
6474
+ "prop:view"?: TestCheckItemCorrection["view"] | undefined;
6475
+
6444
6476
  /** Set the innerHTML of the element */
6445
6477
  innerHTML?: string | undefined;
6446
6478
  /** Set the textContent of the element */
@@ -9255,6 +9287,39 @@ export type CustomElements = {
9255
9287
  QtiItemSessionControlProps & BaseProps<QtiItemSessionControl> & BaseEvents
9256
9288
  >;
9257
9289
 
9290
+ /**
9291
+ *
9292
+ *
9293
+ * ## Attributes & Properties
9294
+ *
9295
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9296
+ *
9297
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
9298
+ *
9299
+ * This is the supported way to inspect a scoring run: process the responses,
9300
+ * then walk the rule tree reading this off each expression. A tool that wants
9301
+ * to visualise how a score came about gets the whole tree annotated with its
9302
+ * values, without the components having to re-render to show them. (property only) (readonly)
9303
+ * - `lastVariables`: undefined (property only) (readonly)
9304
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
9305
+ * one regardless of its operands — `qti-divide` is a float even dividing two
9306
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
9307
+ *
9308
+ * Left undefined by operators whose result type follows their operands (a
9309
+ * `qti-sum` of integers is an integer) and by those that return no number at
9310
+ * all; the type is then read off the value. (property only) (readonly)
9311
+ * - `getVariables`: undefined (property only)
9312
+ *
9313
+ * ## Methods
9314
+ *
9315
+ * Methods that can be called to access component functionality.
9316
+ *
9317
+ * - `calculate() => number`: undefined
9318
+ */
9319
+ "qti-number-presented": Partial<
9320
+ QtiNumberPresentedProps & BaseProps<QtiNumberPresented> & BaseEvents
9321
+ >;
9322
+
9258
9323
  /**
9259
9324
  *
9260
9325
  *
@@ -9321,12 +9386,14 @@ export type CustomElements = {
9321
9386
  >;
9322
9387
 
9323
9388
  /**
9324
- *
9389
+ * Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
9390
+ * the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
9325
9391
  *
9326
9392
  * ## Attributes & Properties
9327
9393
  *
9328
9394
  * Component attributes and properties that can be applied to the element or by using JavaScript.
9329
9395
  *
9396
+ * - `access`: When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`).
9330
9397
  * - `show-hide`/`showHide`: undefined
9331
9398
  * - `outcome-identifier`/`outcomeIdentifier`: undefined
9332
9399
  * - `identifier`: undefined
@@ -9336,6 +9403,8 @@ export type CustomElements = {
9336
9403
  *
9337
9404
  * Methods that can be called to access component functionality.
9338
9405
  *
9406
+ * - `matches(value: string | readonly string[] | null | undefined) => boolean`: Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
9407
+ * when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
9339
9408
  * - `openFeedback() => void`: undefined
9340
9409
  * - `closeFeedback() => void`: undefined
9341
9410
  * - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
@@ -9504,7 +9573,15 @@ export type CustomElements = {
9504
9573
  "qti-test": Partial<QtiTestProps & BaseProps<QtiTest> & BaseEvents>;
9505
9574
 
9506
9575
  /**
9576
+ * Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
9577
+ * reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
9578
+ * something switches it back (`test-view-toggle`).
9579
+ *
9580
+ * ## Attributes & Properties
9507
9581
  *
9582
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
9583
+ *
9584
+ * - `view`: The view to switch to after the attempt ended.
9508
9585
  */
9509
9586
  "test-check-item": Partial<
9510
9587
  TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents
@@ -12108,6 +12185,12 @@ export type CustomElements = {
12108
12185
 
12109
12186
  /**
12110
12187
  * Check-item extension that reveals the correct response after scoring.
12188
+ *
12189
+ * ## Attributes & Properties
12190
+ *
12191
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
12192
+ *
12193
+ * - `view`: The view to switch to after the attempt ended.
12111
12194
  */
12112
12195
  "test-check-item": Partial<
12113
12196
  TestCheckItemCorrectionProps &
@@ -15002,6 +15085,42 @@ export type CustomElementsSolidJs = {
15002
15085
  BaseEvents
15003
15086
  >;
15004
15087
 
15088
+ /**
15089
+ *
15090
+ *
15091
+ * ## Attributes & Properties
15092
+ *
15093
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15094
+ *
15095
+ * - `lastResult`: What the last `calculate()` produced, or undefined if it has not run.
15096
+ *
15097
+ * This is the supported way to inspect a scoring run: process the responses,
15098
+ * then walk the rule tree reading this off each expression. A tool that wants
15099
+ * to visualise how a score came about gets the whole tree annotated with its
15100
+ * values, without the components having to re-render to show them. (property only) (readonly)
15101
+ * - `lastVariables`: undefined (property only) (readonly)
15102
+ * - `resultBaseType`: The base type this operator always produces, when the QTI vocabulary fixes
15103
+ * one regardless of its operands — `qti-divide` is a float even dividing two
15104
+ * integers exactly, and `qti-round` is an integer whatever it rounds.
15105
+ *
15106
+ * Left undefined by operators whose result type follows their operands (a
15107
+ * `qti-sum` of integers is an integer) and by those that return no number at
15108
+ * all; the type is then read off the value. (property only) (readonly)
15109
+ * - `getVariables`: undefined (property only)
15110
+ *
15111
+ * ## Methods
15112
+ *
15113
+ * Methods that can be called to access component functionality.
15114
+ *
15115
+ * - `calculate() => number`: undefined
15116
+ */
15117
+ "qti-number-presented": Partial<
15118
+ QtiNumberPresentedProps &
15119
+ QtiNumberPresentedSolidJsProps &
15120
+ BaseProps<QtiNumberPresented> &
15121
+ BaseEvents
15122
+ >;
15123
+
15005
15124
  /**
15006
15125
  *
15007
15126
  *
@@ -15077,12 +15196,14 @@ export type CustomElementsSolidJs = {
15077
15196
  >;
15078
15197
 
15079
15198
  /**
15080
- *
15199
+ * Test-level feedback. It renders nothing where it is declared: where and when it appears is up to
15200
+ * the host. After outcome processing, `qtiTest.getTestFeedback(access)` returns the ones that apply.
15081
15201
  *
15082
15202
  * ## Attributes & Properties
15083
15203
  *
15084
15204
  * Component attributes and properties that can be applied to the element or by using JavaScript.
15085
15205
  *
15206
+ * - `access`: When the feedback may be shown: at the end of the test (`atEnd`), or while it runs (`during`).
15086
15207
  * - `show-hide`/`showHide`: undefined
15087
15208
  * - `outcome-identifier`/`outcomeIdentifier`: undefined
15088
15209
  * - `identifier`: undefined
@@ -15092,6 +15213,8 @@ export type CustomElementsSolidJs = {
15092
15213
  *
15093
15214
  * Methods that can be called to access component functionality.
15094
15215
  *
15216
+ * - `matches(value: string | readonly string[] | null | undefined) => boolean`: Whether this feedback applies for a value of its `outcome-identifier`: with `show-hide="show"`
15217
+ * when the value is (or, for a container, holds) its `identifier`; with `hide` when it is not.
15095
15218
  * - `openFeedback() => void`: undefined
15096
15219
  * - `closeFeedback() => void`: undefined
15097
15220
  * - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
@@ -15274,7 +15397,15 @@ export type CustomElementsSolidJs = {
15274
15397
  >;
15275
15398
 
15276
15399
  /**
15400
+ * Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
15401
+ * reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
15402
+ * something switches it back (`test-view-toggle`).
15403
+ *
15404
+ * ## Attributes & Properties
15405
+ *
15406
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
15277
15407
  *
15408
+ * - `view`: The view to switch to after the attempt ended.
15278
15409
  */
15279
15410
  "test-check-item": Partial<
15280
15411
  TestCheckItemProps &
@@ -18146,6 +18277,12 @@ export type CustomElementsSolidJs = {
18146
18277
 
18147
18278
  /**
18148
18279
  * Check-item extension that reveals the correct response after scoring.
18280
+ *
18281
+ * ## Attributes & Properties
18282
+ *
18283
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
18284
+ *
18285
+ * - `view`: The view to switch to after the attempt ended.
18149
18286
  */
18150
18287
  "test-check-item": Partial<
18151
18288
  TestCheckItemCorrectionProps &
@@ -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 {
@@ -738,8 +776,15 @@ declare global {
738
776
  }
739
777
  }
740
778
 
779
+ /**
780
+ * Ends the attempt on the current item and switches the test to `view` (default `scorer`), which
781
+ * reveals the `[view]` content for that view, such as a scorer's rubric. The view stays until
782
+ * something switches it back (`test-view-toggle`).
783
+ *
784
+ * @attr view - The view to switch to after the attempt ended.
785
+ */
741
786
  declare class TestCheckItem extends LitElement {
742
- protected testHost?: TestHost;
787
+ view: View;
743
788
  static styles: lit.CSSResult;
744
789
  constructor();
745
790
  render(): lit.TemplateResult<1>;
@@ -1006,6 +1051,7 @@ declare const QtiTest_base: (abstract new (...args: any[]) => ITestNavigationMix
1006
1051
  getOutcome(identifier: string): Readonly<OutcomeVariable>;
1007
1052
  getVariable(identifier: string): Readonly<VariableDeclaration<string | string[] | null>>;
1008
1053
  outcomeProcessing(): boolean;
1054
+ getTestFeedback(access?: "atEnd" | "during"): QtiTestFeedback[];
1009
1055
  }) & (abstract new (...args: any[]) => ITestStateMixin) & (abstract new (...args: any[]) => TestBaseInterface) & typeof LitElement;
1010
1056
  /**
1011
1057
  * `<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.
@@ -1084,4 +1130,4 @@ declare global {
1084
1130
  }
1085
1131
  }
1086
1132
 
1087
- export { TestScoringFeedback as A, TestSectionButtonsStamp as B, TestSectionLink as C, TestStamp as D, TestTtsNext as E, TestTtsPause as F, TestTtsPick as G, TestTtsPlay as H, type ITestNavigationMixin as I, TestTtsPrev as J, TestTtsResume as K, TestTtsStop as L, TestView as M, TestViewToggle as N, type TtsContext as O, ttsContext as P, QtiAssessmentItemRef as Q, type ItemVariableValue as R, type SpeechState as S, TestCheckItem as T, type ITestStateMixin as a, type ItemRefTemplateModel as b, QtiAssessmentSection as c, QtiAssessmentTest as d, QtiBranchRule as e, QtiItemSessionControl as f, QtiNumberSelected as g, QtiOutcomeProcessing as h, QtiOutcomeProcessingProcessor as i, QtiPreCondition as j, QtiTest as k, QtiTestFeedback as l, QtiTestPart as m, QtiTestVariables as n, QtiTestVariablesExpression as o, TestContainer as p, TestEndAttempt as q, TestItemLink as r, TestItemToSpeech as s, TestNavigation as t, TestNext as u, TestPagingButtonsStamp as v, TestPrev as w, TestPrintContext as x, TestPrintVariables as y, TestScoringButtons as z };
1133
+ 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 { R as ItemVariableValue, I as ITestNavigationMixin, a as ITestStateMixin } from './qti-test.d-DkpBNcsv.js';
2
- export { b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as QtiBranchRule, f as QtiItemSessionControl, g as QtiNumberSelected, h as QtiOutcomeProcessing, i as QtiOutcomeProcessingProcessor, j as QtiPreCondition, k as QtiTest, l as QtiTestFeedback, m as QtiTestPart, n as QtiTestVariables, o as QtiTestVariablesExpression, S as SpeechState, T as TestCheckItem, p as TestContainer, q as TestEndAttempt, r as TestItemLink, s as TestItemToSpeech, t as TestNavigation, u as TestNext, v as TestPagingButtonsStamp, w as TestPrev, x as TestPrintContext, y as TestPrintVariables, z as TestScoringButtons, A as TestScoringFeedback, B as TestSectionButtonsStamp, 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 TtsContext, P as ttsContext } from './qti-test.d-DkpBNcsv.js';
1
+ import { U as ItemVariableValue, I as ITestNavigationMixin, a as ITestStateMixin } from './qti-test.d-7YudNPea.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-7YudNPea.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-3ZNECUPV.js";
1
+ import "./chunk-KQSR6LZH.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-K3VKQ6QF.js";
45
+ } from "./chunk-UTW5VDTD.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.2",
4
+ "version": "10.0.0-next.4",
5
5
  "author": "",
6
6
  "dependencies": {
7
7
  "@heximal/templates": "^0.1.5",
@@ -11,13 +11,13 @@
11
11
  },
12
12
  "devDependencies": {
13
13
  "@qti-components/base": "^2.4.1-next.0",
14
- "@qti-components/corrections": "^0.4.1-next.1",
14
+ "@qti-components/corrections": "^0.4.1-next.2",
15
15
  "@qti-components/elements": "^1.10.0-next.1",
16
16
  "@qti-components/interactions": "^1.10.5-next.1",
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.2",
20
+ "@qti-components/test": "^2.0.0-next.4",
21
21
  "@qti-components/theme": "^2.2.2-next.0",
22
22
  "@qti-components/transformers": "^1.7.3"
23
23
  },