@citolab/qti-components 10.0.0-next.13 → 10.0.0-next.15

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.
Files changed (72) hide show
  1. package/cdn/index.global.js +1 -1
  2. package/cdn/index.js +522 -435
  3. package/dist/base.d.ts +4 -4
  4. package/dist/base.js +1 -1
  5. package/dist/{chunk-PHRHLDQB.js → chunk-32PI7KWX.js} +2 -2
  6. package/dist/{chunk-MDBNEEPH.js → chunk-5AJZGRWI.js} +8 -3
  7. package/dist/chunk-5AJZGRWI.js.map +1 -0
  8. package/dist/{chunk-LFVPS7KB.js → chunk-DAOLVUTR.js} +2 -2
  9. package/dist/{chunk-K4WLYVDT.js → chunk-F553IZPL.js} +2 -2
  10. package/dist/{chunk-HOGJ5ZNW.js → chunk-G2EIC7H2.js} +221 -107
  11. package/dist/chunk-G2EIC7H2.js.map +1 -0
  12. package/dist/{chunk-EIBGCCXH.js → chunk-HT3LSWXL.js} +2 -2
  13. package/dist/{chunk-WUIA4OOX.js → chunk-IM5AKPIJ.js} +34 -6
  14. package/dist/chunk-IM5AKPIJ.js.map +1 -0
  15. package/dist/{chunk-FLAD6SC6.js → chunk-IWNRQVNW.js} +2 -2
  16. package/dist/{chunk-TLAVOBEM.js → chunk-LORYM4U2.js} +120 -1
  17. package/dist/chunk-LORYM4U2.js.map +1 -0
  18. package/dist/{chunk-Y5DZTCDP.js → chunk-MIQZBDTB.js} +225 -258
  19. package/dist/chunk-MIQZBDTB.js.map +1 -0
  20. package/dist/{chunk-AKX4YMWU.js → chunk-QT7WQXCS.js} +237 -95
  21. package/dist/chunk-QT7WQXCS.js.map +1 -0
  22. package/dist/chunk-RNLSNH4N.js +7 -0
  23. package/dist/chunk-RNLSNH4N.js.map +1 -0
  24. package/dist/{chunk-H3GITIPE.js → chunk-URYYGVTA.js} +23 -7
  25. package/dist/chunk-URYYGVTA.js.map +1 -0
  26. package/dist/{chunk-G6LTYTJR.js → chunk-WIUPAUJV.js} +2 -2
  27. package/dist/{chunk-PYHKCIYN.js → chunk-XY5DHYIH.js} +4 -4
  28. package/dist/{config.context.d-BniMHSBB.d.ts → config.context.d-CCqlJXpE.d.ts} +2 -1
  29. package/dist/corrections.d.ts +8 -8
  30. package/dist/corrections.js +9 -9
  31. package/dist/elements.d.ts +84 -14
  32. package/dist/elements.js +4 -4
  33. package/dist/index.d.ts +9 -9
  34. package/dist/index.js +15 -15
  35. package/dist/interactions.d.ts +17 -5
  36. package/dist/interactions.js +3 -3
  37. package/dist/item.css +132 -18
  38. package/dist/item.d.ts +4 -4
  39. package/dist/item.js +5 -5
  40. package/dist/loader.d.ts +2 -2
  41. package/dist/loader.js +2 -2
  42. package/dist/processing.d.ts +8 -4
  43. package/dist/processing.js +3 -3
  44. package/dist/qti-components-jsx.d.ts +291 -115
  45. package/dist/{qti-feedback.d-DbzPSJuK.d.ts → qti-feedback.d-GAqMqAt6.d.ts} +7 -0
  46. package/dist/{qti-item.d-BqWYBdV2.d.ts → qti-item.d-pFcNk0th.d.ts} +1 -1
  47. package/dist/{qti-rule-base.d-Bdzg8eGH.d.ts → qti-rule-base.d-CeKP0Ooi.d.ts} +2 -2
  48. package/dist/{qti-test.d-B6AGSQlk.d.ts → qti-test.d-BjhVQnQy.d.ts} +31 -5
  49. package/dist/{qti-text-entry-interaction.d-B44Z3qUG.d.ts → qti-text-entry-interaction.d-DECzpIzi.d.ts} +50 -14
  50. package/dist/{qti-transform-test.d-BL7GGFJj.d.ts → qti-transform-test.d-Bb9vnLzP.d.ts} +1 -0
  51. package/dist/{record.d-C6m0Y4xr.d.ts → record.d-CljDLwRz.d.ts} +1 -1
  52. package/dist/test.d.ts +6 -6
  53. package/dist/test.js +6 -6
  54. package/dist/transformers.d.ts +1 -1
  55. package/dist/transformers.js +1 -1
  56. package/package.json +11 -11
  57. package/dist/chunk-AKX4YMWU.js.map +0 -1
  58. package/dist/chunk-DVLSXMXD.js +0 -7
  59. package/dist/chunk-DVLSXMXD.js.map +0 -1
  60. package/dist/chunk-H3GITIPE.js.map +0 -1
  61. package/dist/chunk-HOGJ5ZNW.js.map +0 -1
  62. package/dist/chunk-MDBNEEPH.js.map +0 -1
  63. package/dist/chunk-TLAVOBEM.js.map +0 -1
  64. package/dist/chunk-WUIA4OOX.js.map +0 -1
  65. package/dist/chunk-Y5DZTCDP.js.map +0 -1
  66. /package/dist/{chunk-PHRHLDQB.js.map → chunk-32PI7KWX.js.map} +0 -0
  67. /package/dist/{chunk-LFVPS7KB.js.map → chunk-DAOLVUTR.js.map} +0 -0
  68. /package/dist/{chunk-K4WLYVDT.js.map → chunk-F553IZPL.js.map} +0 -0
  69. /package/dist/{chunk-EIBGCCXH.js.map → chunk-HT3LSWXL.js.map} +0 -0
  70. /package/dist/{chunk-FLAD6SC6.js.map → chunk-IWNRQVNW.js.map} +0 -0
  71. /package/dist/{chunk-G6LTYTJR.js.map → chunk-WIUPAUJV.js.map} +0 -0
  72. /package/dist/{chunk-PYHKCIYN.js.map → chunk-XY5DHYIH.js.map} +0 -0
@@ -16,6 +16,13 @@ declare abstract class QtiFeedback extends LitElement {
16
16
  private get _context();
17
17
  private _computedContext?;
18
18
  checkShowFeedback(outcomeIdentifier: string): void;
19
+ /**
20
+ * Called when this feedback is about to show. Return `false` to keep it hidden: the host shows the
21
+ * content itself. The elements dispatch `cito-feedback-show` here.
22
+ */
23
+ protected feedbackShowing(): boolean;
24
+ /** Called when this feedback is about to hide. Return `false` to keep it showing: the host hides it itself. */
25
+ protected feedbackHiding(): boolean;
19
26
  }
20
27
 
21
28
  export { QtiFeedback as Q, QtiVariableDeclaration as a };
@@ -2,7 +2,7 @@ import * as lit from 'lit';
2
2
  import { LitElement } from 'lit';
3
3
  import { Q as QtiContext } from './qti.context.d-CejJMlfZ.js';
4
4
  import { C as ComputedItemContext, V as View } from './session.context.d-DW09Lrie.js';
5
- import { C as ConfigContext } from './config.context.d-BniMHSBB.js';
5
+ import { C as ConfigContext } from './config.context.d-CCqlJXpE.js';
6
6
  import { QtiAssessmentItem } from './elements.js';
7
7
 
8
8
  /**
@@ -21,8 +21,8 @@ declare abstract class QtiRuleElement extends LitElement implements QtiRuleBase
21
21
  * every one of those loops without each of them having to report upwards.
22
22
  *
23
23
  * `qti-response-processing` catches it at the top of the run. The outcomes set
24
- * before the exit are kept, because each `qti-set-outcome-value` has already
25
- * dispatched by the time this is thrown.
24
+ * before the exit are kept: they are already on the run's working copy, which
25
+ * the item applies once the run ends.
26
26
  */
27
27
  declare class QtiExitResponseSignal extends Error {
28
28
  constructor();
@@ -1,6 +1,6 @@
1
1
  import * as lit from 'lit';
2
2
  import { LitElement, PropertyValues, TemplateResult, nothing } from 'lit';
3
- import { b as transformTestApi, t as transformItemApi } from './qti-transform-test.d-BL7GGFJj.js';
3
+ import { b as transformTestApi, t as transformItemApi } from './qti-transform-test.d-Bb9vnLzP.js';
4
4
  import { C as ComputedContext, a as ComputedItem } from './computed.types.d-IXACuBr7.js';
5
5
  import { QtiAssessmentItem, QtiModalFeedback } from './elements.js';
6
6
  import { Q as QtiContext } from './qti.context.d-CejJMlfZ.js';
@@ -8,8 +8,8 @@ import { T as TestContext, Q as QtiExpression, a as QtiExpressionBase } from './
8
8
  import { TemplateFunction } from '@heximal/templates';
9
9
  import { h as VariableValue, b as ItemContext, c as OutcomeVariable, V as VariableDeclaration } from './item.types.d-DuVR0ZVK.js';
10
10
  import { S as SessionContext, V as View } from './session.context.d-DW09Lrie.js';
11
- import { C as ConfigContext } from './config.context.d-BniMHSBB.js';
12
- import { b as QtiRuleBase } from './qti-rule-base.d-Bdzg8eGH.js';
11
+ import { C as ConfigContext } from './config.context.d-CCqlJXpE.js';
12
+ import { b as QtiRuleBase } from './qti-rule-base.d-CeKP0Ooi.js';
13
13
 
14
14
  declare class QtiAssessmentTest extends LitElement {
15
15
  #private;
@@ -491,6 +491,7 @@ declare class TestNavigation extends LitElement {
491
491
  protected get activeAssessmentItem(): QtiAssessmentItem | undefined;
492
492
  render(): lit.TemplateResult<1>;
493
493
  protected willUpdate(_changedProperties: PropertyValues): void;
494
+ protected updated(changedProperties: PropertyValues): void;
494
495
  }
495
496
  declare global {
496
497
  interface HTMLElementTagNameMap {
@@ -516,7 +517,7 @@ declare class TestNext extends LitElement {
516
517
  sectionItems: ComputedItem[];
517
518
  itemIndex: number;
518
519
  _handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext): void;
519
- static styles: lit.CSSResult;
520
+ static styles: lit.CSSResult[];
520
521
  constructor();
521
522
  connectedCallback(): void;
522
523
  willUpdate(_changedProperties: Map<string | number | symbol, unknown>): void;
@@ -573,9 +574,34 @@ declare global {
573
574
  }
574
575
  }
575
576
 
577
+ /**
578
+ * A button that ends the attempt of an item: its response is processed, `numAttempts` goes up and
579
+ * feedback is shown as the item's session control allows. It dispatches `cito-test-end-attempt`,
580
+ * which `<test-navigation>` handles.
581
+ *
582
+ * Put it inside `<test-navigation>`, either in the toolbar, where it ends the attempt of the item on
583
+ * screen, or in the `<template item-ref>`, where each item gets its own and it ends the attempt of
584
+ * that item: with `<qti-test navigate="section">` every item of the section is on screen, each with
585
+ * its own button. Give it an `item` (an item-ref identifier) to end the attempt of that item instead,
586
+ * wherever the button sits.
587
+ *
588
+ * It is `disabled` by the state of its item: when the attempts allowed by `max-attempts` are used
589
+ * (non-adaptive items), when the last attempt was already optimal (non-adaptive items), when an
590
+ * adaptive item is completed, or, when skipping is not allowed, while the response is invalid or
591
+ * still the default.
592
+ *
593
+ * @slot - The label.
594
+ * @attr require-answer - Also disabled while the response is invalid or still the default, without `allow-skipping="false"` (which is about leaving an item, not about ending its attempt).
595
+ * @attr item - The item-ref identifier whose attempt this button ends; without it, the item it is stamped into, or else the one on screen.
596
+ * @attr disabled - Reflected: the item's attempt cannot be ended.
597
+ */
576
598
  declare class TestEndAttempt extends LitElement {
599
+ #private;
577
600
  protected computedContext: ComputedContext;
578
601
  _internalDisabled: boolean;
602
+ item?: string;
603
+ /** Ends no attempt until the response is valid and not the default, whatever the item's `allow-skipping` says. */
604
+ requireAnswer: boolean;
579
605
  _handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext): void;
580
606
  static styles: lit.CSSResult;
581
607
  constructor();
@@ -675,7 +701,7 @@ declare class TestBookmark extends LitElement {
675
701
  item?: string;
676
702
  bookmarked: boolean;
677
703
  disabled: boolean;
678
- static styles: lit.CSSResult;
704
+ static styles: lit.CSSResult[];
679
705
  constructor();
680
706
  connectedCallback(): void;
681
707
  protected willUpdate(): void;
@@ -1,8 +1,8 @@
1
1
  import * as lit from 'lit';
2
2
  import { LitElement, CSSResultGroup, PropertyValues } from 'lit';
3
- import { I as Interaction, b as RecordValue } from './record.d-C6m0Y4xr.js';
3
+ import { I as Interaction, b as RecordValue } from './record.d-CljDLwRz.js';
4
4
  import { V as ValidatableInteraction } from './interaction.interface.d-CvjHM2bi.js';
5
- import { C as ConfigContext } from './config.context.d-BniMHSBB.js';
5
+ import { C as ConfigContext } from './config.context.d-CCqlJXpE.js';
6
6
  import { B as BaseType, a as Cardinality, b as ItemContext, Q as QtiAreaMapEntry } from './item.types.d-DuVR0ZVK.js';
7
7
  import { Q as QtiContext } from './qti.context.d-CejJMlfZ.js';
8
8
  import * as lit_directives_ref_js from 'lit/directives/ref.js';
@@ -695,6 +695,8 @@ declare const QtiGapMatchInteraction_base: (abstract new (...args: any[]) => Dra
695
695
  */
696
696
  declare class QtiGapMatchInteraction extends QtiGapMatchInteraction_base {
697
697
  static styles: CSSResultGroup;
698
+ /** QTI's default (information model §5.57). */
699
+ maxAssociations: number;
698
700
  render(): lit.TemplateResult<1>;
699
701
  }
700
702
  declare global {
@@ -753,6 +755,8 @@ declare const QtiGraphicGapMatchInteraction_base: (abstract new (...args: any[])
753
755
  declare class QtiGraphicGapMatchInteraction extends QtiGraphicGapMatchInteraction_base {
754
756
  #private;
755
757
  static styles: CSSResultGroup;
758
+ /** QTI's default (information model §5.60). */
759
+ maxAssociations: number;
756
760
  /**
757
761
  * A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
758
762
  * `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
@@ -867,7 +871,11 @@ declare const QtiInlineChoiceInteraction_base: (abstract new (...args: any[]) =>
867
871
  *
868
872
  * @attr {string} response-identifier - Required. Identifier of the bound response variable.
869
873
  * @attr {string} data-prompt - Placeholder shown before a choice is picked. Falls back to
870
- * the item configuration's `inlineChoicePrompt`, then to `select`.
874
+ * the item configuration's `inlineChoicePrompt`, then to `select`. An empty value
875
+ * (`data-prompt=""`) is kept: the placeholder is then empty, and the menu leaves the empty
876
+ * prompt row out until a choice is made; from then on that row is a clear button (an x glyph).
877
+ * @attr {string} [data-clear-label=Clear] - Accessible name of the clear row shown, in place of an
878
+ * empty `data-prompt`, once a choice is made. Selecting that row clears the answer.
871
879
  * @attr {boolean} [shuffle=false] - Requests option shuffling. Applied by the transform
872
880
  * pipeline (`qti-transformers`), not by this element.
873
881
  * @attr {boolean} [required=false] - Whether a choice must be selected for the response to be
@@ -881,8 +889,10 @@ declare const QtiInlineChoiceInteraction_base: (abstract new (...args: any[]) =>
881
889
  * @csspart value - The currently displayed value inside the trigger.
882
890
  * @csspart dropdown-icon - The chevron icon inside the trigger; also carries `dropdown-icon-open` when open.
883
891
  * @csspart menu - The popover element containing the option list.
884
- * @csspart option - Each option button; also carries `option-prompt` and `option-selected` variants.
892
+ * @csspart option - Each option button; also carries `option-prompt`, `option-selected` and
893
+ * `option-clear` (the prompt row as a clear button, see `data-clear-label`) variants.
885
894
  * @csspart option-content - The content wrapper inside each option.
895
+ * @csspart clear-icon - The x glyph inside the clear row.
886
896
  */
887
897
  declare class QtiInlineChoiceInteraction extends QtiInlineChoiceInteraction_base {
888
898
  #private;
@@ -901,9 +911,15 @@ declare class QtiInlineChoiceInteraction extends QtiInlineChoiceInteraction_base
901
911
  * manifest, the generated types and the Storybook controls — and so that changing it
902
912
  * re-renders, which reading `dataset` at render time never did.
903
913
  *
904
- * Falls back to the item configuration's `inlineChoicePrompt`, then to `select`.
914
+ * Falls back to the item configuration's `inlineChoicePrompt`, then to `select`. An empty
915
+ * string is a value, not a missing one: `data-prompt=""` shows an empty placeholder.
905
916
  */
906
917
  dataPrompt: string;
918
+ /**
919
+ * Accessible name of the clear row: the prompt row when `data-prompt` is empty and a choice has
920
+ * been made. It has no text to read, only an x glyph, so it needs a name. Defaults to `Clear`.
921
+ */
922
+ dataClearLabel: string;
907
923
  protected _handleDataPromptChange: () => void;
908
924
  /**
909
925
  * Whether a choice must be selected for the response to be valid. QTI defaults this to
@@ -927,7 +943,13 @@ declare class QtiInlineChoiceInteraction extends QtiInlineChoiceInteraction_base
927
943
  protected _handleRequiredChange: () => void;
928
944
  /** The closed combobox — the box showing the chosen option. */
929
945
  protected renderTrigger(): unknown;
930
- /** The popover listbox. */
946
+ /**
947
+ * The popover listbox. Its first row is the prompt — the way back to "nothing chosen", as the
948
+ * spec's figure of an open dropdown shows it. With an empty prompt there is nothing to read, so:
949
+ * while nothing is chosen the row is hidden (it would read as an empty option, and there is
950
+ * nothing to clear), and once something is chosen it is a clear button — an x glyph named by
951
+ * `data-clear-label`. Either way selecting it does the same: `#selectValue('')`.
952
+ */
931
953
  protected renderMenu(): unknown;
932
954
  /** Hidden until `Interaction.reportValidity` shows it. */
933
955
  protected renderValidationMessage(): unknown;
@@ -936,6 +958,13 @@ declare class QtiInlineChoiceInteraction extends QtiInlineChoiceInteraction_base
936
958
  disconnectedCallback(): void;
937
959
  willUpdate(changed: PropertyValues): void;
938
960
  updated(changed: PropertyValues): void;
961
+ /**
962
+ * Leaves the prompt row out of the width measurement when the prompt is empty. That row is hidden
963
+ * while nothing is chosen (measures 0) and a clear glyph once something is (measures a glyph), so
964
+ * counting it would let the closed field change width on the first choice. Its text is empty
965
+ * either way, so it has nothing to contribute.
966
+ */
967
+ menuAutoSizeRows(): HTMLElement[];
939
968
  /**
940
969
  * Autosizing is on unless a host turns it off (`configContext.inlineChoiceAutosize: false`), and an
941
970
  * explicit `qti-input-width-*` class always wins. On by default because without it the field sizes
@@ -948,7 +977,8 @@ declare class QtiInlineChoiceInteraction extends QtiInlineChoiceInteraction_base
948
977
  */
949
978
  shouldAutoSizeMenu(): boolean;
950
979
  /**
951
- * The chevron sits in the trigger and not in the menu, so the menu never measures it.
980
+ * The chevron (and the gap before it) sits in the trigger and not in the menu, so the menu never
981
+ * measures it.
952
982
  *
953
983
  * `offsetWidth`, NOT `getBoundingClientRect().width`: the icon rotates when the menu opens, and a
954
984
  * client rect reports the TRANSFORMED box — so a chevron caught mid-rotation measures wider than
@@ -982,15 +1012,17 @@ declare const QtiMatchInteraction_base: (abstract new (...args: any[]) => DragDr
982
1012
  * @customElement qti-match-interaction
983
1013
  *
984
1014
  * @attr {string} response-identifier - Required. Identifier of the bound response variable.
985
- * @attr {number} [max-associations=0] - Maximum pairings across the whole interaction; `0`
986
- * means unlimited. QTI's own default is `1`; this element defaults to unlimited because a
987
- * literal `1` breaks any multi-pair match item. See plans/interaction-attribute-spec-conformance.md.
988
- * @attr {number} [min-associations=1] - Minimum pairings for a valid response.
1015
+ * @attr {number} [max-associations=1] - Maximum pairings across the whole interaction; `0`
1016
+ * means unlimited. Without the attribute it is QTI's default of 1 (information model §5.89).
1017
+ * @attr {number} [min-associations=0] - Minimum pairings for a valid response (QTI's default).
1018
+ * @attr {string} data-first-column-header - QTI shared vocabulary, with `qti-match-tabular`: the
1019
+ * text of the table's top-left cell.
989
1020
  * @attr {boolean} [shuffle=false] - Requests shuffling of both match sets. Applied by the
990
1021
  * transform pipeline (`qti-transformers`), not by this element.
991
- * @attr {'qti-match-tabular'|'qti-choices-top'|'qti-choices-bottom'|'qti-choices-left'|'qti-choices-right'} class -
1022
+ * @attr {'qti-match-tabular'|'qti-header-hidden'|'qti-choices-top'|'qti-choices-bottom'|'qti-choices-left'|'qti-choices-right'} class -
992
1023
  * QTI shared presentation vocabulary. `qti-match-tabular` renders a checkbox/radio grid
993
- * instead of drag-and-drop; the `qti-choices-*` values position the source set.
1024
+ * instead of drag-and-drop, and with it `qti-header-hidden` leaves out the column-header row;
1025
+ * the `qti-choices-*` values position the source set.
994
1026
  * @attr {boolean} [auto-size-dropzones=false] - Extension, not QTI. Sizes every drop target to
995
1027
  * the widest chip so placement does not reflow the layout. The mixin default is `true`; this
996
1028
  * interaction is the one that overrides it to `false`, because a match target is a category card
@@ -1004,7 +1036,7 @@ declare const QtiMatchInteraction_base: (abstract new (...args: any[]) => DragDr
1004
1036
  * @slot - Default slot for the two match sets (drag-and-drop mode).
1005
1037
  *
1006
1038
  * @csspart grid - The tabular grid container.
1007
- * @csspart corner - The top-left corner cell of the grid.
1039
+ * @csspart corner - The top-left corner cell of the grid; shows `data-first-column-header`.
1008
1040
  * @csspart cols-wrap - Wrapper row for the column headers.
1009
1041
  * @csspart c-header - The column header slot wrapper.
1010
1042
  * @csspart rows-wrap - Wrapper column for the row headers.
@@ -1033,10 +1065,14 @@ declare class QtiMatchInteraction extends QtiMatchInteraction_base {
1033
1065
  * their drops are exactly the widest chip plus the inset.
1034
1066
  */
1035
1067
  autoSizeDropzones: boolean;
1068
+ /** QTI's defaults (information model §5.89). */
1069
+ maxAssociations: number;
1070
+ minAssociations: number;
1036
1071
  protected sourceChoices: QtiSimpleAssociableChoice[];
1037
1072
  protected targetChoices: QtiSimpleAssociableChoice[];
1038
1073
  protected lastCheckedRadio: HTMLInputElement | null;
1039
1074
  class: string;
1075
+ dataFirstColumnHeader: string;
1040
1076
  protected _response: string | string[];
1041
1077
  get response(): string[];
1042
1078
  set response(val: string[]);
@@ -27,6 +27,7 @@ type transformItemApi = {
27
27
  convertCDATAtoComment: () => transformItemApi;
28
28
  shuffleInteractions: (seed?: string | number | null) => transformItemApi;
29
29
  stripStyleSheets: () => transformItemApi;
30
+ validateBindings: () => transformItemApi;
30
31
  html: () => string;
31
32
  xml: () => string;
32
33
  htmlDoc: (registry?: CustomElementRegistry) => DocumentFragment;
@@ -1,5 +1,5 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
- import { C as ConfigContext, V as ValidationDisplayMode } from './config.context.d-BniMHSBB.js';
2
+ import { C as ConfigContext, V as ValidationDisplayMode } from './config.context.d-CCqlJXpE.js';
3
3
  import { V as ValidatableInteraction } from './interaction.interface.d-CvjHM2bi.js';
4
4
  import { g as ResponseVariable, B as BaseType } from './item.types.d-DuVR0ZVK.js';
5
5
 
package/dist/test.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- import { u as TestItemToSpeech, G as TestTtsNext, H as TestTtsPause, J as TestTtsPick, K as TestTtsPlay, L as TestTtsPrev, M as TestTtsResume, N as TestTtsStop, q as TestCheckItem, T as TestBookmark, y as TestPrintContext, A as TestPrintVariables, z as TestPrintState, B as TestScoringButtons, C as TestScoringFeedback, E as TestStamp, F as TestSubmit, O as TestView, P as TestViewToggle, S as QtiTestPluginState$1, U as ItemVariableValue, I as ITestNavigationMixin, a as ITestStateMixin } from './qti-test.d-B6AGSQlk.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, D as TestSectionLink, R as bookmarkedItems } from './qti-test.d-B6AGSQlk.js';
1
+ import { u as TestItemToSpeech, G as TestTtsNext, H as TestTtsPause, J as TestTtsPick, K as TestTtsPlay, L as TestTtsPrev, M as TestTtsResume, N as TestTtsStop, q as TestCheckItem, T as TestBookmark, y as TestPrintContext, A as TestPrintVariables, z as TestPrintState, B as TestScoringButtons, C as TestScoringFeedback, E as TestStamp, F as TestSubmit, O as TestView, P as TestViewToggle, S as QtiTestPluginState$1, U as ItemVariableValue, I as ITestNavigationMixin, a as ITestStateMixin } from './qti-test.d-BjhVQnQy.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, D as TestSectionLink, R as bookmarkedItems } from './qti-test.d-BjhVQnQy.js';
3
3
  import { C as ComputedContext } from './computed.types.d-IXACuBr7.js';
4
4
  import { LitElement } from 'lit';
5
5
  import { b as ItemContext, c as OutcomeVariable, V as VariableDeclaration } from './item.types.d-DuVR0ZVK.js';
6
6
  import { S as SessionContext } from './session.context.d-DW09Lrie.js';
7
- import { C as ConfigContext } from './config.context.d-BniMHSBB.js';
7
+ import { C as ConfigContext } from './config.context.d-CCqlJXpE.js';
8
8
  import { T as TestContext } from './qti-expression.d-B-Cfbqlb.js';
9
- import './qti-transform-test.d-BL7GGFJj.js';
9
+ import './qti-transform-test.d-Bb9vnLzP.js';
10
10
  import './elements.js';
11
11
  import './interaction.interface.d-CvjHM2bi.js';
12
- import './qti-feedback.d-DbzPSJuK.js';
13
- import './qti-rule-base.d-Bdzg8eGH.js';
12
+ import './qti-feedback.d-GAqMqAt6.js';
13
+ import './qti-rule-base.d-CeKP0Ooi.js';
14
14
  import './qti.context.d-CejJMlfZ.js';
15
15
  import '@heximal/templates';
16
16
 
package/dist/test.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./chunk-EIBGCCXH.js";
1
+ import "./chunk-HT3LSWXL.js";
2
2
  import {
3
3
  QTI_TEST_STATE_VERSION,
4
4
  QtiAssessmentItemRef,
@@ -46,12 +46,12 @@ import {
46
46
  pluginElements,
47
47
  pluginState,
48
48
  ttsElements
49
- } from "./chunk-Y5DZTCDP.js";
50
- import "./chunk-AKX4YMWU.js";
51
- import "./chunk-DVLSXMXD.js";
49
+ } from "./chunk-MIQZBDTB.js";
50
+ import "./chunk-QT7WQXCS.js";
51
+ import "./chunk-RNLSNH4N.js";
52
52
  import "./chunk-4DB4SC5K.js";
53
- import "./chunk-TLAVOBEM.js";
54
- import "./chunk-WUIA4OOX.js";
53
+ import "./chunk-LORYM4U2.js";
54
+ import "./chunk-IM5AKPIJ.js";
55
55
  export {
56
56
  QTI_TEST_STATE_VERSION,
57
57
  QtiAssessmentItemRef,
@@ -1,4 +1,4 @@
1
- export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test.d-BL7GGFJj.js';
1
+ export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test.d-Bb9vnLzP.js';
2
2
 
3
3
  declare const qtiTransformManifest: () => {
4
4
  load: (uri: string, signal?: AbortSignal) => Promise<{
@@ -2,7 +2,7 @@ import {
2
2
  qtiTransformItem,
3
3
  qtiTransformManifest,
4
4
  qtiTransformTest
5
- } from "./chunk-TLAVOBEM.js";
5
+ } from "./chunk-LORYM4U2.js";
6
6
  export {
7
7
  qtiTransformItem,
8
8
  qtiTransformManifest,
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.13",
4
+ "version": "10.0.0-next.15",
5
5
  "author": "",
6
6
  "dependencies": {
7
7
  "@heximal/templates": "^0.1.5",
@@ -10,16 +10,16 @@
10
10
  "lit-html": "^3.3.1"
11
11
  },
12
12
  "devDependencies": {
13
- "@qti-components/base": "^3.0.0-next.3",
14
- "@qti-components/corrections": "^0.5.0-next.6",
15
- "@qti-components/elements": "^1.10.0-next.4",
16
- "@qti-components/interactions": "^1.10.5-next.5",
17
- "@qti-components/item": "^1.5.1-next.4",
18
- "@qti-components/loader": "^1.3.4-next.0",
19
- "@qti-components/processing": "^1.6.1-next.3",
20
- "@qti-components/test": "^2.0.0-next.11",
21
- "@qti-components/theme": "^2.3.0-next.3",
22
- "@qti-components/transformers": "^1.7.3"
13
+ "@qti-components/base": "^3.0.0-next.5",
14
+ "@qti-components/corrections": "^0.5.0-next.8",
15
+ "@qti-components/elements": "^2.0.0-next.6",
16
+ "@qti-components/interactions": "^1.10.5-next.7",
17
+ "@qti-components/item": "^1.5.1-next.6",
18
+ "@qti-components/loader": "^1.3.4-next.2",
19
+ "@qti-components/processing": "^1.6.1-next.4",
20
+ "@qti-components/test": "^2.0.0-next.13",
21
+ "@qti-components/theme": "^2.3.0-next.5",
22
+ "@qti-components/transformers": "^1.8.0-next.0"
23
23
  },
24
24
  "exports": {
25
25
  ".": {