@citolab/qti-components 7.2.0 → 7.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk-2CXOEWW3.js +5 -0
- package/cdn/chunks/chunk-42AQQPRG.js +5 -0
- package/cdn/chunks/chunk-5SM3KVCK.js +5 -0
- package/cdn/chunks/chunk-A5GQJBQ4.js +5 -0
- package/cdn/chunks/chunk-IHVEZOAV.js +5 -0
- package/cdn/chunks/chunk-JXU7B3Q3.js +5 -0
- package/cdn/chunks/chunk-OK2KV5ZV.js +1033 -0
- package/cdn/chunks/chunk-PX7O5JO2.js +1033 -0
- package/cdn/chunks/chunk-QBLSG366.js +1033 -0
- package/cdn/chunks/chunk-SNS5XDXU.js +1033 -0
- package/cdn/chunks/chunk-XAGT5BEK.js +1033 -0
- package/cdn/chunks/chunk-ZOMLA6TY.js +1033 -0
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +1 -1
- package/cdn/qti-components/index.js +1 -1
- package/cdn/qti-test/components/index.js +1 -1
- package/cdn/qti-test/core/index.js +1 -1
- package/dist/chunks/chunk-4IPSXNHA.js +870 -0
- package/dist/chunks/chunk-4IPSXNHA.js.map +1 -0
- package/dist/chunks/chunk-E7YBWRAI.js +870 -0
- package/dist/chunks/chunk-E7YBWRAI.js.map +1 -0
- package/dist/chunks/chunk-ERWBN3ZB.js +6899 -0
- package/dist/chunks/chunk-ERWBN3ZB.js.map +1 -0
- package/dist/chunks/chunk-JVAVUINW.js +870 -0
- package/dist/chunks/chunk-JVAVUINW.js.map +1 -0
- package/dist/chunks/chunk-LD4XIWJQ.js +6908 -0
- package/dist/chunks/chunk-LD4XIWJQ.js.map +1 -0
- package/dist/chunks/chunk-LHF73NOA.js +6899 -0
- package/dist/chunks/chunk-LHF73NOA.js.map +1 -0
- package/dist/chunks/chunk-Q5QUG5DL.js +870 -0
- package/dist/chunks/chunk-Q5QUG5DL.js.map +1 -0
- package/dist/chunks/chunk-QYH6VORA.js +6895 -0
- package/dist/chunks/chunk-QYH6VORA.js.map +1 -0
- package/dist/chunks/chunk-S4YY5LQ6.js +870 -0
- package/dist/chunks/chunk-S4YY5LQ6.js.map +1 -0
- package/dist/chunks/chunk-SKXNZMFN.js +870 -0
- package/dist/chunks/chunk-SKXNZMFN.js.map +1 -0
- package/dist/chunks/chunk-WLVDQ3UA.js +6898 -0
- package/dist/chunks/chunk-WLVDQ3UA.js.map +1 -0
- package/dist/chunks/chunk-Y7BBA7SG.js +6895 -0
- package/dist/chunks/chunk-Y7BBA7SG.js.map +1 -0
- package/dist/index.js +16 -16
- package/dist/qti-components/index.js +1 -1
- package/dist/qti-response-declaration-CNh-wf6q.d.ts +1146 -0
- package/dist/qti-test/components/index.js +7 -7
- package/dist/qti-test/core/index.js +2 -2
- package/dist/qti-test-feedback-DaBphqnZ.d.ts +98 -0
- package/package.json +1 -1
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import "../../chunks/chunk-UUEOV5NM.js";
|
|
2
|
-
import {
|
|
3
|
-
TestViewToggle
|
|
4
|
-
} from "../../chunks/chunk-SOT463MH.js";
|
|
5
2
|
import {
|
|
6
3
|
TestView
|
|
7
4
|
} from "../../chunks/chunk-HXGGGOV2.js";
|
|
8
|
-
import {
|
|
9
|
-
TestPrintContext
|
|
10
|
-
} from "../../chunks/chunk-WPUMEBSF.js";
|
|
11
5
|
import {
|
|
12
6
|
TestPrintVariables
|
|
13
7
|
} from "../../chunks/chunk-MQS7RZFR.js";
|
|
@@ -29,6 +23,9 @@ import {
|
|
|
29
23
|
import {
|
|
30
24
|
TestStamp
|
|
31
25
|
} from "../../chunks/chunk-A5IAS5VV.js";
|
|
26
|
+
import {
|
|
27
|
+
TestViewToggle
|
|
28
|
+
} from "../../chunks/chunk-SOT463MH.js";
|
|
32
29
|
import {
|
|
33
30
|
TestContainer
|
|
34
31
|
} from "../../chunks/chunk-6ZK4ZDQA.js";
|
|
@@ -51,8 +48,11 @@ import {
|
|
|
51
48
|
TestPrev
|
|
52
49
|
} from "../../chunks/chunk-3AKMYTDK.js";
|
|
53
50
|
import "../../chunks/chunk-K6EUKFNW.js";
|
|
54
|
-
import
|
|
51
|
+
import {
|
|
52
|
+
TestPrintContext
|
|
53
|
+
} from "../../chunks/chunk-WPUMEBSF.js";
|
|
55
54
|
import "../../chunks/chunk-KD26ZB2H.js";
|
|
55
|
+
import "../../chunks/chunk-5ZHHNEDA.js";
|
|
56
56
|
import "../../chunks/chunk-UZ4QB5IO.js";
|
|
57
57
|
import "../../chunks/chunk-CJADUWEC.js";
|
|
58
58
|
import "../../chunks/chunk-D3RGDWKP.js";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
QtiTest,
|
|
6
6
|
QtiTestFeedback,
|
|
7
7
|
QtiTestPart
|
|
8
|
-
} from "../../chunks/chunk-
|
|
8
|
+
} from "../../chunks/chunk-4IPSXNHA.js";
|
|
9
9
|
import "../../chunks/chunk-UZ4QB5IO.js";
|
|
10
10
|
import {
|
|
11
11
|
INITIAL_TEST_CONTEXT,
|
|
12
12
|
testContext
|
|
13
13
|
} from "../../chunks/chunk-CJADUWEC.js";
|
|
14
|
-
import "../../chunks/chunk-
|
|
14
|
+
import "../../chunks/chunk-Y7BBA7SG.js";
|
|
15
15
|
import "../../chunks/chunk-D3RGDWKP.js";
|
|
16
16
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
17
17
|
import "../../chunks/chunk-OOQLWOYU.js";
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Q as QtiAssessmentItem, f as QtiModalFeedback } from './qti-response-declaration-CNh-wf6q.js';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { LitElement } from 'lit';
|
|
4
|
+
import { TemplateFunction } from 'stampino';
|
|
5
|
+
import * as lit_html from 'lit-html';
|
|
6
|
+
import { TestContext } from './exports/test.context.js';
|
|
7
|
+
|
|
8
|
+
type View = 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor' | '';
|
|
9
|
+
|
|
10
|
+
interface SessionContext {
|
|
11
|
+
navPartId?: string | null;
|
|
12
|
+
navSectionId?: string | null;
|
|
13
|
+
navItemId?: string | null;
|
|
14
|
+
navItemLoading?: boolean;
|
|
15
|
+
navTestLoading?: boolean;
|
|
16
|
+
view?: View;
|
|
17
|
+
}
|
|
18
|
+
declare const INITIAL_SESSION_CONTEXT: Readonly<SessionContext>;
|
|
19
|
+
declare const sessionContext: {
|
|
20
|
+
__context__: Readonly<SessionContext>;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
declare class QtiAssessmentItemRef extends LitElement {
|
|
24
|
+
category?: string;
|
|
25
|
+
identifier?: string;
|
|
26
|
+
required?: boolean;
|
|
27
|
+
fixed?: boolean;
|
|
28
|
+
href?: string;
|
|
29
|
+
weigths: Map<string, number>;
|
|
30
|
+
xmlDoc: DocumentFragment;
|
|
31
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
32
|
+
get assessmentItem(): QtiAssessmentItem | null;
|
|
33
|
+
myTemplate: TemplateFunction;
|
|
34
|
+
connectedCallback(): Promise<void>;
|
|
35
|
+
render(): unknown;
|
|
36
|
+
}
|
|
37
|
+
declare global {
|
|
38
|
+
interface HTMLElementTagNameMap {
|
|
39
|
+
'qti-assessment-item-ref': QtiAssessmentItemRef;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare class QtiAssessmentSection extends LitElement {
|
|
44
|
+
identifier: string;
|
|
45
|
+
required: string;
|
|
46
|
+
fixed: boolean;
|
|
47
|
+
title: string;
|
|
48
|
+
visible: boolean;
|
|
49
|
+
keepTogether: boolean;
|
|
50
|
+
_testContext?: TestContext;
|
|
51
|
+
connectedCallback(): Promise<void>;
|
|
52
|
+
render(): lit_html.TemplateResult<1>;
|
|
53
|
+
}
|
|
54
|
+
declare global {
|
|
55
|
+
interface HTMLElementTagNameMap {
|
|
56
|
+
'qti-assessment-section': QtiAssessmentSection;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare class QtiAssessmentTest extends LitElement {
|
|
61
|
+
identifier: string;
|
|
62
|
+
title: string;
|
|
63
|
+
_testContext?: TestContext;
|
|
64
|
+
connectedCallback(): Promise<void>;
|
|
65
|
+
render(): lit_html.TemplateResult<1>;
|
|
66
|
+
}
|
|
67
|
+
declare global {
|
|
68
|
+
interface HTMLElementTagNameMap {
|
|
69
|
+
'qti-assessment-test': QtiAssessmentTest;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
declare class QtiTestPart extends LitElement {
|
|
74
|
+
identifier: string;
|
|
75
|
+
title: string;
|
|
76
|
+
class: string;
|
|
77
|
+
NavigationMode: 'linear' | 'nonlinear';
|
|
78
|
+
submissionMode: 'individual' | 'simultaneous';
|
|
79
|
+
connectedCallback(): Promise<void>;
|
|
80
|
+
render(): lit_html.TemplateResult<1>;
|
|
81
|
+
}
|
|
82
|
+
declare global {
|
|
83
|
+
interface HTMLElementTagNameMap {
|
|
84
|
+
'qti-test-part': QtiTestPart;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
declare class QtiTestFeedback extends QtiModalFeedback {
|
|
89
|
+
static styles: lit.CSSResult;
|
|
90
|
+
render(): lit_html.TemplateResult<1>;
|
|
91
|
+
}
|
|
92
|
+
declare global {
|
|
93
|
+
interface HTMLElementTagNameMap {
|
|
94
|
+
'qti-test-feedback': QtiTestFeedback;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export { INITIAL_SESSION_CONTEXT as I, QtiAssessmentItemRef as Q, type SessionContext as S, QtiAssessmentSection as a, QtiAssessmentTest as b, QtiTestPart as c, QtiTestFeedback as d, sessionContext as s };
|