@citolab/qti-components 7.0.4 → 7.0.6-beta.0

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 (143) hide show
  1. package/cdn/chunk-22HAPLRD.js +0 -0
  2. package/cdn/chunk-4DFVJE2A.js +48 -0
  3. package/cdn/chunk-4I75QSIL.js +8 -0
  4. package/cdn/chunk-5WCOPF7O.js +73 -0
  5. package/cdn/chunk-A536ZOJJ.js +43 -0
  6. package/cdn/chunk-BLKKKK6C.js +11 -0
  7. package/cdn/chunk-DC2R556M.js +5 -0
  8. package/cdn/chunk-GALSGMIP.js +5 -0
  9. package/cdn/chunk-IXSX4SJX.js +1 -0
  10. package/cdn/chunk-KYOTSBCX.js +1 -0
  11. package/cdn/chunk-L4TDHAKL.js +24 -0
  12. package/cdn/chunk-LVW3MHTI.js +23 -0
  13. package/cdn/chunk-M6AATWPS.js +59 -0
  14. package/cdn/chunk-MFWSHIPH.js +17 -0
  15. package/cdn/chunk-QGKK4T2J.js +8 -0
  16. package/cdn/chunk-ROXN2HIJ.js +8 -0
  17. package/cdn/chunk-SQDSHH6N.js +3539 -0
  18. package/cdn/chunk-T4A5AZCI.js +939 -0
  19. package/cdn/chunk-VI2WKTN4.js +1 -0
  20. package/cdn/index.global.js +36 -36
  21. package/cdn/index.js +1 -4783
  22. package/cdn/qti-components/index.global.js +226 -0
  23. package/cdn/qti-components/index.js +1 -0
  24. package/cdn/qti-item/core/index.global.js +149 -0
  25. package/cdn/qti-item/core/index.js +1 -0
  26. package/cdn/qti-loader/index.global.js +1 -0
  27. package/cdn/qti-loader/index.js +1 -0
  28. package/cdn/qti-test/components/index.global.js +207 -0
  29. package/cdn/qti-test/components/index.js +1 -0
  30. package/cdn/qti-test/components/styles.global.js +44 -0
  31. package/cdn/qti-test/components/styles.js +1 -0
  32. package/cdn/qti-test/components/test-component.abstract.global.js +170 -0
  33. package/cdn/qti-test/components/test-component.abstract.js +1 -0
  34. package/cdn/qti-test/components/test-item-link.global.js +170 -0
  35. package/cdn/qti-test/components/test-item-link.js +1 -0
  36. package/cdn/qti-test/components/test-next.global.js +170 -0
  37. package/cdn/qti-test/components/test-next.js +1 -0
  38. package/cdn/qti-test/components/test-next.spec.css +1 -0
  39. package/cdn/qti-test/components/test-next.spec.global.js +64 -0
  40. package/cdn/qti-test/components/test-next.spec.js +713 -0
  41. package/cdn/qti-test/components/test-paging-buttons-stamp.global.js +207 -0
  42. package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -0
  43. package/cdn/qti-test/components/test-prev.global.js +170 -0
  44. package/cdn/qti-test/components/test-prev.js +1 -0
  45. package/cdn/qti-test/components/test-view.global.js +170 -0
  46. package/cdn/qti-test/components/test-view.js +1 -0
  47. package/cdn/qti-test/core/index.global.js +205 -0
  48. package/cdn/qti-test/core/index.js +1 -0
  49. package/cdn/qti-transformers/index.global.js +1 -0
  50. package/cdn/qti-transformers/index.js +1 -0
  51. package/dist/chunk-2CHF3TMY.js +3529 -0
  52. package/dist/chunk-2CHF3TMY.js.map +1 -0
  53. package/dist/{transformers/index.js → chunk-2OA7E3E7.js} +2 -1
  54. package/dist/chunk-2OA7E3E7.js.map +1 -0
  55. package/dist/chunk-3TFUBCJW.js +72 -0
  56. package/dist/chunk-3TFUBCJW.js.map +1 -0
  57. package/dist/chunk-44VE5POH.js +55 -0
  58. package/dist/chunk-44VE5POH.js.map +1 -0
  59. package/dist/chunk-4FH7P7YI.js +43 -0
  60. package/dist/chunk-4FH7P7YI.js.map +1 -0
  61. package/dist/chunk-4YG2FPKK.js +31 -0
  62. package/dist/chunk-4YG2FPKK.js.map +1 -0
  63. package/dist/chunk-6SG3NMKU.js +50 -0
  64. package/dist/chunk-6SG3NMKU.js.map +1 -0
  65. package/dist/chunk-ANLIJZBL.js +118 -0
  66. package/dist/chunk-ANLIJZBL.js.map +1 -0
  67. package/dist/chunk-CNQYM52B.js +569 -0
  68. package/dist/chunk-CNQYM52B.js.map +1 -0
  69. package/dist/chunk-F3NTI6TX.js +10 -0
  70. package/dist/chunk-F3NTI6TX.js.map +1 -0
  71. package/dist/chunk-F7HTXGGH.js +78 -0
  72. package/dist/chunk-F7HTXGGH.js.map +1 -0
  73. package/dist/chunk-MAC76UNI.js +1 -0
  74. package/dist/chunk-MAC76UNI.js.map +1 -0
  75. package/dist/chunk-OO6JSYLP.js +50 -0
  76. package/dist/chunk-OO6JSYLP.js.map +1 -0
  77. package/dist/chunk-QYN5S4EM.js +107 -0
  78. package/dist/chunk-QYN5S4EM.js.map +1 -0
  79. package/dist/chunk-UB5K44DB.js +30 -0
  80. package/dist/chunk-UB5K44DB.js.map +1 -0
  81. package/dist/chunk-UBZPSVSE.js +6301 -0
  82. package/dist/chunk-UBZPSVSE.js.map +1 -0
  83. package/dist/index.d.ts +13 -503
  84. package/dist/index.js +132 -13584
  85. package/dist/index.js.map +1 -1
  86. package/dist/item.css +10 -10
  87. package/dist/qti-components/index.d.ts +150 -0
  88. package/dist/qti-components/index.js +188 -0
  89. package/dist/qti-components/index.js.map +1 -0
  90. package/dist/qti-components-jsx.d.ts +147 -201
  91. package/dist/qti-item/core/index.d.ts +61 -0
  92. package/dist/qti-item/core/index.js +13 -0
  93. package/dist/qti-item/core/index.js.map +1 -0
  94. package/dist/{loader → qti-loader}/index.d.ts +1 -1
  95. package/dist/qti-loader/index.js +29 -0
  96. package/dist/qti-loader/index.js.map +1 -0
  97. package/dist/{qti-simple-choice-D0GiMrqD.d.ts → qti-simple-choice-DxWcdKHi.d.ts} +30 -40
  98. package/dist/qti-test/components/index.d.ts +11 -0
  99. package/dist/qti-test/components/index.js +32 -0
  100. package/dist/qti-test/components/index.js.map +1 -0
  101. package/dist/qti-test/components/styles.d.ts +8 -0
  102. package/dist/qti-test/components/styles.js +14 -0
  103. package/dist/qti-test/components/styles.js.map +1 -0
  104. package/dist/qti-test/components/test-component.abstract.d.ts +22 -0
  105. package/dist/qti-test/components/test-component.abstract.js +10 -0
  106. package/dist/qti-test/components/test-component.abstract.js.map +1 -0
  107. package/dist/qti-test/components/test-item-link.d.ts +20 -0
  108. package/dist/qti-test/components/test-item-link.js +12 -0
  109. package/dist/qti-test/components/test-item-link.js.map +1 -0
  110. package/dist/qti-test/components/test-next.d.ts +31 -0
  111. package/dist/qti-test/components/test-next.js +12 -0
  112. package/dist/qti-test/components/test-next.js.map +1 -0
  113. package/dist/qti-test/components/test-next.spec.css +2481 -0
  114. package/dist/qti-test/components/test-next.spec.css.map +1 -0
  115. package/dist/qti-test/components/test-next.spec.d.ts +13 -0
  116. package/dist/qti-test/components/test-next.spec.js +45904 -0
  117. package/dist/qti-test/components/test-next.spec.js.map +1 -0
  118. package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +21 -0
  119. package/dist/qti-test/components/test-paging-buttons-stamp.js +11 -0
  120. package/dist/qti-test/components/test-paging-buttons-stamp.js.map +1 -0
  121. package/dist/qti-test/components/test-prev.d.ts +31 -0
  122. package/dist/qti-test/components/test-prev.js +12 -0
  123. package/dist/qti-test/components/test-prev.js.map +1 -0
  124. package/dist/qti-test/components/test-view.d.ts +26 -0
  125. package/dist/qti-test/components/test-view.js +11 -0
  126. package/dist/qti-test/components/test-view.js.map +1 -0
  127. package/dist/qti-test/core/index.d.ts +121 -0
  128. package/dist/qti-test/core/index.js +27 -0
  129. package/dist/qti-test/core/index.js.map +1 -0
  130. package/dist/qti-transformers/index.js +12 -0
  131. package/dist/qti-transformers/index.js.map +1 -0
  132. package/dist/test.context-DbSTxKk_.d.ts +99 -0
  133. package/dist/vscode.html-custom-data.json +53 -42
  134. package/package.json +100 -111
  135. package/dist/custom-element-eslint-rules.js +0 -329
  136. package/dist/custom-elements.json +0 -27271
  137. package/dist/loader/index.js +0 -310
  138. package/dist/loader/index.js.map +0 -1
  139. package/dist/qti-simple-choice-CfgBEvdI.d.ts +0 -1143
  140. package/dist/qti-simple-choice-UTrFa_RQ.d.ts +0 -1177
  141. package/dist/qti-simple-choice-zEsDq3c0.d.ts +0 -1147
  142. package/dist/transformers/index.js.map +0 -1
  143. /package/dist/{transformers → qti-transformers}/index.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { e as QtiAssessmentItem } from '../qti-simple-choice-D0GiMrqD.js';
1
+ import { j as QtiAssessmentItem } from '../qti-simple-choice-DxWcdKHi.js';
2
2
  import 'lit-html';
3
3
  import 'lit';
4
4
  import 'lit-html/directives/ref.js';
@@ -0,0 +1,29 @@
1
+ import {
2
+ qtiTransformItem,
3
+ qtiTransformManifest,
4
+ qtiTransformTest
5
+ } from "../chunk-2OA7E3E7.js";
6
+ import "../chunk-44VE5POH.js";
7
+
8
+ // src/lib/qti-loader/qti-loader.ts
9
+ var getManifestInfo = async (manifestURL) => {
10
+ const baseURI = manifestURL.substring(0, manifestURL.lastIndexOf("/"));
11
+ const test = await qtiTransformManifest().load(`${manifestURL}`).then((api) => api.assessmentTest());
12
+ const testHTMLDoc = await qtiTransformTest().load(`${baseURI}/${test.href}`).then((api) => api.htmlDoc());
13
+ const items = await qtiTransformTest().load(`${baseURI}/${test.href}`).then((api) => api.items());
14
+ const testURL = `${baseURI}/${test.href}`;
15
+ const testURI = `${baseURI}/${test.href.substring(0, test.href.lastIndexOf("/"))}`;
16
+ return {
17
+ testHTMLDoc,
18
+ testURI,
19
+ testURL,
20
+ items,
21
+ testIdentifier: test.identifier
22
+ };
23
+ };
24
+ var getItemByUri = async (itemUri) => qtiTransformItem().load(itemUri).then((api) => api.htmlDoc().firstElementChild);
25
+ export {
26
+ getItemByUri,
27
+ getManifestInfo
28
+ };
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/lib/qti-loader/qti-loader.ts"],"sourcesContent":["import { QtiAssessmentItem } from '../qti-components';\nimport { qtiTransformItem, qtiTransformTest } from '../qti-transformers';\nimport { qtiTransformManifest } from '../qti-transformers/qti-transform-manifest';\n\nexport type ManifestInfo = {\n testIdentifier: string;\n testHTMLDoc: DocumentFragment;\n testURI: string;\n testURL: string;\n items: {\n identifier: string;\n href: string;\n category: string;\n }[];\n};\n\n// Utility function to ensure package URIs end with a '/'\n// const normalizeUri = (uri: string) => (uri.endsWith('/') ? uri : `${uri}/`);\n\n// Fetches assessment data from the manifest\nexport const getManifestInfo = async (manifestURL: string): Promise<ManifestInfo> => {\n const baseURI = manifestURL.substring(0, manifestURL.lastIndexOf('/'));\n\n const test = await qtiTransformManifest()\n .load(`${manifestURL}`)\n .then(api => api.assessmentTest());\n\n const testHTMLDoc = await qtiTransformTest()\n .load(`${baseURI}/${test.href}`)\n .then(api => api.htmlDoc());\n\n const items = await qtiTransformTest()\n .load(`${baseURI}/${test.href}`)\n .then(api => api.items());\n\n const testURL = `${baseURI}/${test.href}`;\n const testURI = `${baseURI}/${test.href.substring(0, test.href.lastIndexOf('/'))}`;\n\n return {\n testHTMLDoc,\n testURI,\n testURL,\n items,\n testIdentifier: test.identifier\n };\n};\n\n// Fetches a single item by URI\nexport const getItemByUri = async (itemUri: string): Promise<QtiAssessmentItem> =>\n qtiTransformItem()\n .load(itemUri)\n .then(api => api.htmlDoc().firstElementChild as QtiAssessmentItem);\n"],"mappings":";;;;;;;;AAoBO,IAAM,kBAAkB,OAAO,gBAA+C;AACnF,QAAM,UAAU,YAAY,UAAU,GAAG,YAAY,YAAY,GAAG,CAAC;AAErE,QAAM,OAAO,MAAM,qBAAqB,EACrC,KAAK,GAAG,WAAW,EAAE,EACrB,KAAK,SAAO,IAAI,eAAe,CAAC;AAEnC,QAAM,cAAc,MAAM,iBAAiB,EACxC,KAAK,GAAG,OAAO,IAAI,KAAK,IAAI,EAAE,EAC9B,KAAK,SAAO,IAAI,QAAQ,CAAC;AAE5B,QAAM,QAAQ,MAAM,iBAAiB,EAClC,KAAK,GAAG,OAAO,IAAI,KAAK,IAAI,EAAE,EAC9B,KAAK,SAAO,IAAI,MAAM,CAAC;AAE1B,QAAM,UAAU,GAAG,OAAO,IAAI,KAAK,IAAI;AACvC,QAAM,UAAU,GAAG,OAAO,IAAI,KAAK,KAAK,UAAU,GAAG,KAAK,KAAK,YAAY,GAAG,CAAC,CAAC;AAEhF,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,gBAAgB,KAAK;AAAA,EACvB;AACF;AAGO,IAAM,eAAe,OAAO,YACjC,iBAAiB,EACd,KAAK,OAAO,EACZ,KAAK,SAAO,IAAI,QAAQ,EAAE,iBAAsC;","names":[]}
@@ -387,24 +387,24 @@ declare abstract class Interaction extends LitElement implements IInteraction {
387
387
  }
388
388
 
389
389
  declare class QtiExtendedTextInteraction extends Interaction {
390
- private _rows;
390
+ static styles: CSSResultGroup;
391
+ protected _rows: number;
391
392
  /** expected length is mapped to the property maxlength on the textarea */
392
393
  expectedLength: number;
393
394
  patternMask: string;
394
395
  /** text appearing in the extended-text-nteraction if it is empty */
395
396
  placeholderText: string;
396
397
  dataPatternmaskMessage: string;
397
- private _value;
398
+ protected _value: string;
398
399
  classNames: any;
399
400
  handleclassNamesChange(_: any, classes: string): void;
400
401
  get value(): string | string[];
401
402
  set value(val: string | string[]);
402
403
  validate(): boolean;
403
404
  reportValidity(): boolean;
404
- static get styles(): lit.CSSResult[];
405
405
  render(): lit_html.TemplateResult<1>;
406
406
  protected textChanged(event: Event): void;
407
- private setEmptyAttribute;
407
+ protected setEmptyAttribute(text: string): void;
408
408
  }
409
409
  declare global {
410
410
  interface HTMLElementTagNameMap {
@@ -444,7 +444,6 @@ interface ChoicesInterface extends IInteraction {
444
444
 
445
445
  declare const QtiHottextInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
446
446
  declare class QtiHottextInteraction extends QtiHottextInteraction_base {
447
- connectedCallback(): void;
448
447
  render: () => lit_html.TemplateResult<1>;
449
448
  }
450
449
  declare global {
@@ -461,8 +460,8 @@ interface OptionType {
461
460
  declare class QtiInlineChoiceInteraction extends Interaction {
462
461
  static get styles(): lit.CSSResult[];
463
462
  static inputWidthClass: string[];
464
- options: OptionType[];
465
- correctOption: string;
463
+ protected options: OptionType[];
464
+ protected correctOption: string;
466
465
  dataPrompt: string;
467
466
  render(): lit_html.TemplateResult<1>;
468
467
  connectedCallback(): void;
@@ -472,7 +471,7 @@ declare class QtiInlineChoiceInteraction extends Interaction {
472
471
  set value(value: string);
473
472
  get value(): string;
474
473
  set correctResponse(value: string | string[]);
475
- choiceSelected(event: Event): void;
474
+ protected choiceSelected(event: Event): void;
476
475
  }
477
476
  declare global {
478
477
  interface HTMLElementTagNameMap {
@@ -739,11 +738,11 @@ declare global {
739
738
 
740
739
  declare const QtiAssociateInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
741
740
  declare class QtiAssociateInteraction extends QtiAssociateInteraction_base {
742
- private _childrenMap;
743
741
  static styles: CSSResultGroup;
744
- private _registerChoiceHandler;
742
+ protected _childrenMap: Element[];
743
+ protected _registerChoiceHandler: (event: CustomEvent) => void;
745
744
  constructor();
746
- private _registerChoice;
745
+ protected _registerChoice(event: CustomEvent): void;
747
746
  render(): lit_html.TemplateResult<1>;
748
747
  disconnectedCallback(): void;
749
748
  }
@@ -784,12 +783,12 @@ declare global {
784
783
  }
785
784
  }
786
785
 
787
- declare class QtiEndAttemptInteraction extends Interaction {
788
- countAttempt: string;
789
- title: 'end attempt';
790
- validate(): boolean;
791
- get value(): string | string[];
792
- set value(_: string | string[]);
786
+ declare class QtiEndAttemptInteraction extends LitElement {
787
+ responseIdentifier: any;
788
+ disabled: boolean;
789
+ /** Defines the number of attempts that a user can make using the 'endAttemptInteraction' mechanism (this can be used to limit the number of hints, etc.). [More information](https://www.imsglobal.org/sites/default/files/spec/qti/v3/info/index.html#DataCharacteristic_EndAttemptInteraction.Attr_count-attempt) */
790
+ countAttempt: 'true' | 'false' | null;
791
+ title: string;
793
792
  render(): lit_html.TemplateResult<1>;
794
793
  endAttempt(_: Event): void;
795
794
  }
@@ -812,23 +811,14 @@ declare global {
812
811
  }
813
812
 
814
813
  declare class QtiGraphicAssociateInteraction extends Interaction {
815
- choiceOrdering: boolean;
816
- hotspots: any;
817
- startPoint: any;
818
- endPoint: any;
819
- _lines: any[];
820
- startCoord: {
821
- x: any;
822
- y: any;
823
- };
824
- mouseCoord: {
825
- x: number;
826
- y: number;
827
- };
828
- svgContainer: any;
829
- grImage: any;
830
- static styles: lit.CSSResult[];
831
- svg: SVGSVGElement;
814
+ static styles: CSSResultGroup;
815
+ private hotspots;
816
+ private startPoint;
817
+ private endPoint;
818
+ private _lines;
819
+ private startCoord;
820
+ private mouseCoord;
821
+ private grImage;
832
822
  constructor();
833
823
  reset(): void;
834
824
  validate(): boolean;
@@ -861,9 +851,9 @@ declare global {
861
851
 
862
852
  declare const QtiGraphicOrderInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
863
853
  declare class QtiGraphicOrderInteraction extends QtiGraphicOrderInteraction_base {
864
- choiceOrdering: boolean;
854
+ static styles: CSSResultGroup;
855
+ protected choiceOrdering: boolean;
865
856
  protected _choiceElements: Choice[];
866
- static styles: lit.CSSResult[];
867
857
  render(): lit_html.TemplateResult<1>;
868
858
  private setHotspotOrder;
869
859
  private positionHotspotOnRegister;
@@ -878,7 +868,7 @@ declare global {
878
868
 
879
869
  declare const QtiHotspotInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
880
870
  declare class QtiHotspotInteraction extends QtiHotspotInteraction_base {
881
- static styles: lit.CSSResult[];
871
+ static styles: CSSResultGroup;
882
872
  render(): lit_html.TemplateResult<1>;
883
873
  private positionHotspotOnRegister;
884
874
  connectedCallback(): void;
@@ -958,8 +948,8 @@ declare global {
958
948
  declare const QtiOrderInteraction_base: (abstract new (...args: any[]) => {}) & (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
959
949
  declare class QtiOrderInteraction extends QtiOrderInteraction_base {
960
950
  static styles: lit.CSSResult;
961
- childrenMap: Element[];
962
- nrChoices: number;
951
+ protected childrenMap: Element[];
952
+ protected nrChoices: number;
963
953
  correctResponses: string[];
964
954
  showCorrectResponses: boolean;
965
955
  /** orientation of choices */
@@ -1165,4 +1155,4 @@ declare global {
1165
1155
  }
1166
1156
  }
1167
1157
 
1168
- export { QtiSubtract as $, type ActiveElementMixinInterface as A, type BaseType as B, type Calculate as C, QtiRubricBlock as D, QtiFeedbackBlock as E, QtiFeedbackInline as F, QtiModalFeedback as G, QtiExtendedTextInteraction as H, type ItemContext as I, QtiTextEntryInteraction as J, QtiHottextInteraction as K, QtiInlineChoiceInteraction as L, type Multiple as M, type Orientation as N, type OutcomeChangedDetails as O, QtiChoiceInteraction as P, QtiRule as Q, type ResponseVariable as R, QtiUploadInteraction as S, QtiOutcomeProcessing as T, QtiOutcomeProcessingProcessor as U, type VariableDeclaration as V, QtiResponseProcessing as W, QtiLookupOutcomeValue as X, QtiAnd as Y, qtiAndMixin as Z, QtiMapping as _, type QtiRuleBase as a, qtiSubtractMixin as a0, QtiPortableCustomInteraction as a1, QtiAssociateInteraction as a2, QtiCustomInteraction as a3, QtiEndAttemptInteraction as a4, QtiGapMatchInteraction as a5, QtiGraphicAssociateInteraction as a6, QtiGraphicGapMatchInteraction as a7, QtiGraphicOrderInteraction as a8, QtiHotspotInteraction as a9, QtiMatchInteraction as aa, QtiMediaInteraction as ab, QtiOrderInteraction as ac, QtiPositionObjectStage as ad, QtiSelectPointInteraction as ae, QtiSliderInteraction as af, itemContextVariables as ag, itemContext as ah, QtiCustomOperator as ai, Interaction as aj, QtiAssociableHotspot as ak, QtiGap as al, QtiGapImg as am, QtiGapText as an, QtiHotspotChoice as ao, QtiHottext as ap, QtiInlineChoice as aq, QtiSimpleAssociableChoice as ar, QtiSimpleChoice as as, type QtiExpressionBase as b, QtiExpression as c, QtiConditionExpression as d, QtiAssessmentItem as e, type InteractionChangedDetails as f, type QtiInteractionChanged as g, type QtiOutcomeChanged as h, type directedPair as i, type ResponseInteraction as j, type float as k, type integer as l, type Ordered as m, type Cardinality as n, type VariableValue as o, type OutcomeVariable as p, QtiAssessmentStimulusRef as q, type ChoiceInterface as r, ActiveElementMixin as s, QtiItemBody as t, QtiPrompt as u, QtiStylesheet as v, QtiOutcomeDeclaration as w, QtiResponseDeclaration as x, QtiCompanionMaterialsInfo as y, QtiContentBody as z };
1158
+ export { type QtiRuleBase as $, type ActiveElementMixinInterface as A, type BaseType as B, type Calculate as C, QtiHottextInteraction as D, QtiInlineChoiceInteraction as E, type Orientation as F, QtiChoiceInteraction as G, QtiUploadInteraction as H, type InteractionChangedDetails as I, QtiOutcomeProcessing as J, QtiOutcomeProcessingProcessor as K, QtiResponseProcessing as L, type Multiple as M, QtiLookupOutcomeValue as N, type OutcomeChangedDetails as O, QtiAnd as P, type QtiInteractionChanged as Q, type ResponseInteraction as R, qtiAndMixin as S, QtiConditionExpression as T, type QtiExpressionBase as U, type VariableValue as V, QtiExpression as W, QtiMapping as X, QtiSubtract as Y, qtiSubtractMixin as Z, QtiRule as _, type QtiOutcomeChanged as a, QtiPortableCustomInteraction as a0, QtiAssociateInteraction as a1, QtiCustomInteraction as a2, QtiEndAttemptInteraction as a3, QtiGapMatchInteraction as a4, QtiGraphicAssociateInteraction as a5, QtiGraphicGapMatchInteraction as a6, QtiGraphicOrderInteraction as a7, QtiHotspotInteraction as a8, QtiMatchInteraction as a9, QtiMediaInteraction as aa, QtiOrderInteraction as ab, QtiPositionObjectStage as ac, QtiSelectPointInteraction as ad, QtiSliderInteraction as ae, type ItemContext as af, itemContextVariables as ag, itemContext as ah, QtiCustomOperator as ai, Interaction as aj, QtiAssociableHotspot as ak, QtiGap as al, QtiGapImg as am, QtiGapText as an, QtiHotspotChoice as ao, QtiHottext as ap, QtiInlineChoice as aq, QtiSimpleAssociableChoice as ar, QtiSimpleChoice as as, type Ordered as b, type Cardinality as c, type directedPair as d, type VariableDeclaration as e, type float as f, type OutcomeVariable as g, type ResponseVariable as h, type integer as i, QtiAssessmentItem as j, QtiAssessmentStimulusRef as k, type ChoiceInterface as l, ActiveElementMixin as m, QtiItemBody as n, QtiPrompt as o, QtiStylesheet as p, QtiOutcomeDeclaration as q, QtiResponseDeclaration as r, QtiCompanionMaterialsInfo as s, QtiContentBody as t, QtiRubricBlock as u, QtiFeedbackBlock as v, QtiFeedbackInline as w, QtiModalFeedback as x, QtiExtendedTextInteraction as y, QtiTextEntryInteraction as z };
@@ -0,0 +1,11 @@
1
+ export { TestComponent } from './test-component.abstract.js';
2
+ export { TestNext } from './test-next.js';
3
+ export { TestPrev } from './test-prev.js';
4
+ export { TestView } from './test-view.js';
5
+ export { TestItemLink } from './test-item-link.js';
6
+ export { TestPagingButtonsStamp } from './test-paging-buttons-stamp.js';
7
+ import 'lit';
8
+ import '../../test.context-DbSTxKk_.js';
9
+ import 'lit-html';
10
+ import '../../qti-simple-choice-DxWcdKHi.js';
11
+ import 'lit-html/directives/ref.js';
@@ -0,0 +1,32 @@
1
+ import "../../chunk-MAC76UNI.js";
2
+ import {
3
+ TestItemLink
4
+ } from "../../chunk-4FH7P7YI.js";
5
+ import {
6
+ TestNext
7
+ } from "../../chunk-OO6JSYLP.js";
8
+ import {
9
+ TestPagingButtonsStamp
10
+ } from "../../chunk-F7HTXGGH.js";
11
+ import {
12
+ TestPrev
13
+ } from "../../chunk-6SG3NMKU.js";
14
+ import {
15
+ TestView
16
+ } from "../../chunk-3TFUBCJW.js";
17
+ import "../../chunk-UB5K44DB.js";
18
+ import {
19
+ TestComponent
20
+ } from "../../chunk-ANLIJZBL.js";
21
+ import "../../chunk-F3NTI6TX.js";
22
+ import "../../chunk-4YG2FPKK.js";
23
+ import "../../chunk-44VE5POH.js";
24
+ export {
25
+ TestComponent,
26
+ TestItemLink,
27
+ TestNext,
28
+ TestPagingButtonsStamp,
29
+ TestPrev,
30
+ TestView
31
+ };
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,8 @@
1
+ import * as lit from 'lit';
2
+
3
+ declare const form: lit.CSSResult;
4
+ declare const btn: lit.CSSResult;
5
+ declare const dis: lit.CSSResult;
6
+ declare const ind: lit.CSSResult;
7
+
8
+ export { btn, dis, form, ind };
@@ -0,0 +1,14 @@
1
+ import {
2
+ btn,
3
+ dis,
4
+ form,
5
+ ind
6
+ } from "../../chunk-UB5K44DB.js";
7
+ import "../../chunk-44VE5POH.js";
8
+ export {
9
+ btn,
10
+ dis,
11
+ form,
12
+ ind
13
+ };
14
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,22 @@
1
+ import { LitElement } from 'lit';
2
+ import { T as TestContext, d as TestElement } from '../../test.context-DbSTxKk_.js';
3
+ import 'lit-html';
4
+ import '../../qti-simple-choice-DxWcdKHi.js';
5
+ import 'lit-html/directives/ref.js';
6
+
7
+ declare abstract class TestComponent extends LitElement {
8
+ disabled: boolean;
9
+ protected _testContext?: TestContext;
10
+ protected _testElement?: TestElement;
11
+ _handleTestElementChange(_oldValue: TestElement, newValue: TestElement): void;
12
+ protected _internals: ElementInternals;
13
+ protected items: any;
14
+ protected itemIndex: any;
15
+ protected view: any;
16
+ constructor();
17
+ protected willUpdate(changedProperties: Map<string | number | symbol, unknown>): void;
18
+ protected _switchView(view: string): void;
19
+ protected _requestItem(identifier: string): void;
20
+ }
21
+
22
+ export { TestComponent };
@@ -0,0 +1,10 @@
1
+ import {
2
+ TestComponent
3
+ } from "../../chunk-ANLIJZBL.js";
4
+ import "../../chunk-F3NTI6TX.js";
5
+ import "../../chunk-4YG2FPKK.js";
6
+ import "../../chunk-44VE5POH.js";
7
+ export {
8
+ TestComponent
9
+ };
10
+ //# sourceMappingURL=test-component.abstract.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,20 @@
1
+ import * as lit_html from 'lit-html';
2
+ import * as lit from 'lit';
3
+ import { TestComponent } from './test-component.abstract.js';
4
+ import '../../test.context-DbSTxKk_.js';
5
+ import '../../qti-simple-choice-DxWcdKHi.js';
6
+ import 'lit-html/directives/ref.js';
7
+
8
+ declare class TestItemLink extends TestComponent {
9
+ static styles: lit.CSSResult;
10
+ private itemId;
11
+ constructor();
12
+ render(): lit_html.TemplateResult<1>;
13
+ }
14
+ declare global {
15
+ interface HTMLElementTagNameMap {
16
+ 'test-item-link': TestItemLink;
17
+ }
18
+ }
19
+
20
+ export { TestItemLink };
@@ -0,0 +1,12 @@
1
+ import {
2
+ TestItemLink
3
+ } from "../../chunk-4FH7P7YI.js";
4
+ import "../../chunk-UB5K44DB.js";
5
+ import "../../chunk-ANLIJZBL.js";
6
+ import "../../chunk-F3NTI6TX.js";
7
+ import "../../chunk-4YG2FPKK.js";
8
+ import "../../chunk-44VE5POH.js";
9
+ export {
10
+ TestItemLink
11
+ };
12
+ //# sourceMappingURL=test-item-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,31 @@
1
+ import * as lit_html from 'lit-html';
2
+ import * as lit from 'lit';
3
+ import { TestComponent } from './test-component.abstract.js';
4
+ import '../../test.context-DbSTxKk_.js';
5
+ import '../../qti-simple-choice-DxWcdKHi.js';
6
+ import 'lit-html/directives/ref.js';
7
+
8
+ /**
9
+ * Represents a custom element for navigating to the next test item.
10
+ *
11
+ * @remarks
12
+ * This element provides functionality for navigating to the next test item.
13
+ *
14
+ * @example
15
+ * ```html
16
+ * <test-next></test-next>
17
+ * ```
18
+ */
19
+ declare class TestNext extends TestComponent {
20
+ static styles: lit.CSSResult;
21
+ constructor();
22
+ willUpdate(changedProperties: Map<string | number | symbol, unknown>): void;
23
+ render(): lit_html.TemplateResult<1>;
24
+ }
25
+ declare global {
26
+ interface HTMLElementTagNameMap {
27
+ 'test-next': TestNext;
28
+ }
29
+ }
30
+
31
+ export { TestNext };
@@ -0,0 +1,12 @@
1
+ import {
2
+ TestNext
3
+ } from "../../chunk-OO6JSYLP.js";
4
+ import "../../chunk-UB5K44DB.js";
5
+ import "../../chunk-ANLIJZBL.js";
6
+ import "../../chunk-F3NTI6TX.js";
7
+ import "../../chunk-4YG2FPKK.js";
8
+ import "../../chunk-44VE5POH.js";
9
+ export {
10
+ TestNext
11
+ };
12
+ //# sourceMappingURL=test-next.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}