@citolab/qti-components 7.3.16 → 7.3.17

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 (52) hide show
  1. package/cdn/chunks/chunk-2LJEUBOG.js +5 -0
  2. package/cdn/chunks/chunk-2M6EI7MI.js +1460 -0
  3. package/cdn/chunks/chunk-4PJRTAIR.js +1460 -0
  4. package/cdn/chunks/chunk-AQJ4JQBU.js +5 -0
  5. package/cdn/chunks/chunk-DG7XTM6Y.js +1460 -0
  6. package/cdn/chunks/chunk-GLMWZ45H.js +5 -0
  7. package/cdn/chunks/chunk-H2LVGFMN.js +5 -0
  8. package/cdn/chunks/chunk-IPYW2MV6.js +1460 -0
  9. package/cdn/chunks/chunk-ISBB3BFP.js +1460 -0
  10. package/cdn/chunks/chunk-JS2Y72PB.js +5 -0
  11. package/cdn/chunks/chunk-Q4WUJXUN.js +1460 -0
  12. package/cdn/chunks/chunk-RP3435WM.js +5 -0
  13. package/cdn/index.global.js +1 -1
  14. package/cdn/index.js +1 -1
  15. package/cdn/qti-components/index.js +1 -1
  16. package/cdn/qti-test/components/index.js +1 -1
  17. package/cdn/qti-test/core/index.js +1 -1
  18. package/dist/chunks/chunk-5HOBUFR5.js +913 -0
  19. package/dist/chunks/chunk-5HOBUFR5.js.map +1 -0
  20. package/dist/chunks/chunk-7PVT6ZVK.js +8003 -0
  21. package/dist/chunks/chunk-7PVT6ZVK.js.map +1 -0
  22. package/dist/chunks/chunk-B2VGV4M2.js +913 -0
  23. package/dist/chunks/chunk-B2VGV4M2.js.map +1 -0
  24. package/dist/chunks/chunk-EYVBI7LZ.js +8002 -0
  25. package/dist/chunks/chunk-EYVBI7LZ.js.map +1 -0
  26. package/dist/chunks/chunk-F4RFJRRC.js +8002 -0
  27. package/dist/chunks/chunk-F4RFJRRC.js.map +1 -0
  28. package/dist/chunks/chunk-FVSOTRH4.js +8003 -0
  29. package/dist/chunks/chunk-FVSOTRH4.js.map +1 -0
  30. package/dist/chunks/chunk-FXTXKTA7.js +913 -0
  31. package/dist/chunks/chunk-FXTXKTA7.js.map +1 -0
  32. package/dist/chunks/chunk-GU63TKJM.js +913 -0
  33. package/dist/chunks/chunk-GU63TKJM.js.map +1 -0
  34. package/dist/chunks/chunk-H2GDD7MM.js +8002 -0
  35. package/dist/chunks/chunk-H2GDD7MM.js.map +1 -0
  36. package/dist/chunks/chunk-KND43FZM.js +913 -0
  37. package/dist/chunks/chunk-KND43FZM.js.map +1 -0
  38. package/dist/chunks/chunk-PV7YR6CL.js +913 -0
  39. package/dist/chunks/chunk-PV7YR6CL.js.map +1 -0
  40. package/dist/chunks/chunk-QJK2ONRE.js +913 -0
  41. package/dist/chunks/chunk-QJK2ONRE.js.map +1 -0
  42. package/dist/chunks/chunk-R22TEK2I.js +8003 -0
  43. package/dist/chunks/chunk-R22TEK2I.js.map +1 -0
  44. package/dist/chunks/chunk-Y5JPI5OZ.js +8003 -0
  45. package/dist/chunks/chunk-Y5JPI5OZ.js.map +1 -0
  46. package/dist/index.js +17 -17
  47. package/dist/qti-components/index.js +1 -1
  48. package/dist/qti-response-declaration-Br3wU-dT.d.ts +1357 -0
  49. package/dist/qti-test/components/index.js +8 -8
  50. package/dist/qti-test/core/index.js +2 -2
  51. package/dist/qti-test-feedback-Dxie3GQ5.d.ts +90 -0
  52. package/package.json +1 -1
@@ -1,16 +1,10 @@
1
1
  import "../../chunks/chunk-ZGSNDSK3.js";
2
- import {
3
- TestStamp
4
- } from "../../chunks/chunk-GAHXUFMQ.js";
5
2
  import {
6
3
  TestViewToggle
7
4
  } from "../../chunks/chunk-TUKEQ36K.js";
8
5
  import {
9
6
  TestView
10
7
  } from "../../chunks/chunk-YS4T2ORC.js";
11
- import {
12
- TestPrev
13
- } from "../../chunks/chunk-EMVOKXSA.js";
14
8
  import {
15
9
  TestPrintContext
16
10
  } from "../../chunks/chunk-WFFIUFJJ.js";
@@ -32,6 +26,9 @@ import {
32
26
  import {
33
27
  TestShowCorrectResponse
34
28
  } from "../../chunks/chunk-TWYN56XO.js";
29
+ import {
30
+ TestStamp
31
+ } from "../../chunks/chunk-GAHXUFMQ.js";
35
32
  import {
36
33
  TestCheckItem
37
34
  } from "../../chunks/chunk-7OMJMXHK.js";
@@ -50,12 +47,15 @@ import {
50
47
  import {
51
48
  TestNext
52
49
  } from "../../chunks/chunk-7K44TDQO.js";
53
- import "../../chunks/chunk-BV2QSR2N.js";
54
- import "../../chunks/chunk-5ZHHNEDA.js";
55
50
  import {
56
51
  TestPagingButtonsStamp
57
52
  } from "../../chunks/chunk-CP34TICQ.js";
53
+ import {
54
+ TestPrev
55
+ } from "../../chunks/chunk-EMVOKXSA.js";
56
+ import "../../chunks/chunk-BV2QSR2N.js";
58
57
  import "../../chunks/chunk-6TDSFDGN.js";
58
+ import "../../chunks/chunk-5ZHHNEDA.js";
59
59
  import "../../chunks/chunk-22IRJWWY.js";
60
60
  import "../../chunks/chunk-CJADUWEC.js";
61
61
  import "../../chunks/chunk-D3RGDWKP.js";
@@ -5,13 +5,13 @@ import {
5
5
  QtiTest,
6
6
  QtiTestFeedback,
7
7
  QtiTestPart
8
- } from "../../chunks/chunk-4PEYPZIA.js";
8
+ } from "../../chunks/chunk-FXTXKTA7.js";
9
9
  import "../../chunks/chunk-22IRJWWY.js";
10
10
  import {
11
11
  INITIAL_TEST_CONTEXT,
12
12
  testContext
13
13
  } from "../../chunks/chunk-CJADUWEC.js";
14
- import "../../chunks/chunk-A3PNKSD5.js";
14
+ import "../../chunks/chunk-EYVBI7LZ.js";
15
15
  import "../../chunks/chunk-D3RGDWKP.js";
16
16
  import "../../chunks/chunk-ELDMXTUQ.js";
17
17
  import "../../chunks/chunk-2GCEXNHI.js";
@@ -0,0 +1,90 @@
1
+ import { Q as QtiAssessmentItem, f as QtiModalFeedback } from './qti-response-declaration-Br3wU-dT.js';
2
+ import * as lit from 'lit';
3
+ import { LitElement } from 'lit';
4
+ import { TemplateFunction } from '@heximal/templates';
5
+ import { TestContext } from './exports/test.context.js';
6
+
7
+ type View = 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor' | '';
8
+
9
+ declare class QtiAssessmentItemRef extends LitElement {
10
+ category?: string;
11
+ identifier?: string;
12
+ required?: boolean;
13
+ fixed?: boolean;
14
+ href?: string;
15
+ weigths: Map<string, number>;
16
+ xmlDoc: DocumentFragment;
17
+ protected createRenderRoot(): HTMLElement | DocumentFragment;
18
+ get assessmentItem(): QtiAssessmentItem | null;
19
+ myTemplate: TemplateFunction;
20
+ connectedCallback(): Promise<void>;
21
+ render(): unknown;
22
+ }
23
+ declare global {
24
+ interface HTMLElementTagNameMap {
25
+ 'qti-assessment-item-ref': QtiAssessmentItemRef;
26
+ }
27
+ }
28
+
29
+ declare class QtiAssessmentSection extends LitElement {
30
+ identifier: string;
31
+ required: string;
32
+ fixed: boolean;
33
+ get title(): string;
34
+ set title(value: string);
35
+ visible: boolean;
36
+ keepTogether: boolean;
37
+ _testContext?: TestContext;
38
+ private _title;
39
+ connectedCallback(): Promise<void>;
40
+ render(): lit.TemplateResult<1>;
41
+ }
42
+ declare global {
43
+ interface HTMLElementTagNameMap {
44
+ 'qti-assessment-section': QtiAssessmentSection;
45
+ }
46
+ }
47
+
48
+ declare class QtiAssessmentTest extends LitElement {
49
+ identifier: string;
50
+ get title(): string;
51
+ set title(value: string);
52
+ _testContext?: TestContext;
53
+ private _title;
54
+ connectedCallback(): Promise<void>;
55
+ render(): lit.TemplateResult<1>;
56
+ }
57
+ declare global {
58
+ interface HTMLElementTagNameMap {
59
+ 'qti-assessment-test': QtiAssessmentTest;
60
+ }
61
+ }
62
+
63
+ declare class QtiTestPart extends LitElement {
64
+ identifier: string;
65
+ get title(): string;
66
+ set title(value: string);
67
+ class: string;
68
+ navigationMode: 'linear' | 'nonlinear';
69
+ submissionMode: 'individual' | 'simultaneous';
70
+ private _title;
71
+ connectedCallback(): Promise<void>;
72
+ render(): lit.TemplateResult<1>;
73
+ }
74
+ declare global {
75
+ interface HTMLElementTagNameMap {
76
+ 'qti-test-part': QtiTestPart;
77
+ }
78
+ }
79
+
80
+ declare class QtiTestFeedback extends QtiModalFeedback {
81
+ static styles: lit.CSSResult;
82
+ render(): lit.TemplateResult<1>;
83
+ }
84
+ declare global {
85
+ interface HTMLElementTagNameMap {
86
+ 'qti-test-feedback': QtiTestFeedback;
87
+ }
88
+ }
89
+
90
+ export { QtiAssessmentItemRef as Q, type View as V, QtiAssessmentSection as a, QtiAssessmentTest as b, QtiTestPart as c, QtiTestFeedback as d };
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "engines": {
22
22
  "node": ">=20.0.0"
23
23
  },
24
- "version": "7.3.16",
24
+ "version": "7.3.17",
25
25
  "type": "module",
26
26
  "main": "dist/index.js",
27
27
  "exports": {