@citolab/qti-components 7.0.11 → 7.0.12
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-34HKCUN3.js +1 -0
- package/cdn/chunks/chunk-4HUJGZW6.js +1 -0
- package/cdn/chunks/chunk-7HFMTJAH.js +1 -0
- package/cdn/chunks/chunk-ARBRHQDY.js +951 -0
- package/cdn/chunks/chunk-BGM3IB5N.js +8 -0
- package/cdn/chunks/chunk-CIN2QCYB.js +3537 -0
- package/cdn/chunks/chunk-DJM7EUKM.js +1 -0
- package/cdn/chunks/chunk-F7RWORNK.js +951 -0
- package/cdn/chunks/chunk-HD7EMR2A.js +1 -0
- package/cdn/chunks/chunk-HEKMMOBI.js +1 -0
- package/cdn/chunks/chunk-I76GONMP.js +951 -0
- package/cdn/chunks/chunk-KVCXK3CQ.js +8 -0
- package/cdn/chunks/chunk-LICVWYUY.js +3537 -0
- package/cdn/chunks/chunk-LWN3NRJE.js +3560 -0
- package/cdn/chunks/chunk-MBWNNFLY.js +951 -0
- package/cdn/chunks/chunk-MCTQZZG4.js +1 -0
- package/cdn/chunks/chunk-NGC3MISE.js +1 -0
- package/cdn/chunks/chunk-NP3JIBVS.js +1 -0
- package/cdn/chunks/chunk-NTR5PVWP.js +3560 -0
- package/cdn/chunks/chunk-P2YEZLMB.js +951 -0
- package/cdn/chunks/chunk-QWJABXM7.js +951 -0
- package/cdn/chunks/chunk-TCHROQU3.js +1 -0
- package/cdn/chunks/chunk-TSTGSXP2.js +951 -0
- package/cdn/chunks/chunk-V6G6L6I3.js +3537 -0
- package/cdn/exports/computed-item.context.js +1 -0
- package/cdn/exports/qti-condition-expression.js +1 -1
- package/cdn/exports/qti-expression.js +1 -1
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +1 -1
- package/cdn/qti-components/index.js +1 -1
- package/cdn/qti-item/core/index.js +1 -1
- package/cdn/qti-test/components/index.js +1 -1
- package/cdn/qti-test/components/test-navigation.js +1 -1
- package/cdn/qti-test/components/test-next.js +1 -1
- package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -1
- package/cdn/qti-test/components/test-prev.js +1 -1
- package/cdn/qti-test/components/test-print-item-variables.js +1 -1
- package/cdn/qti-test/components/test-section-buttons-stamp.js +1 -1
- package/cdn/qti-test/components/test-view.js +1 -1
- package/cdn/qti-test/core/index.js +1 -1
- package/dist/chunks/chunk-4QYZHR36.js +6541 -0
- package/dist/chunks/chunk-4QYZHR36.js.map +1 -0
- package/dist/chunks/chunk-5QYVCPUS.js +3775 -0
- package/dist/chunks/chunk-5QYVCPUS.js.map +1 -0
- package/dist/chunks/chunk-6Z5YR5U2.js +8 -0
- package/dist/chunks/chunk-6Z5YR5U2.js.map +1 -0
- package/dist/chunks/chunk-7YUCREDM.js +3783 -0
- package/dist/chunks/chunk-7YUCREDM.js.map +1 -0
- package/dist/chunks/chunk-BIQNE2L4.js +6558 -0
- package/dist/chunks/chunk-BIQNE2L4.js.map +1 -0
- package/dist/chunks/chunk-CBSVVXVJ.js +6558 -0
- package/dist/chunks/chunk-CBSVVXVJ.js.map +1 -0
- package/dist/chunks/chunk-D4QP2AIX.js +222 -0
- package/dist/chunks/chunk-D4QP2AIX.js.map +1 -0
- package/dist/chunks/chunk-DACJEGD7.js +95 -0
- package/dist/chunks/chunk-DACJEGD7.js.map +1 -0
- package/dist/chunks/chunk-EFTOJP3Z.js +99 -0
- package/dist/chunks/chunk-EFTOJP3Z.js.map +1 -0
- package/dist/chunks/chunk-FSIQI3KQ.js +6541 -0
- package/dist/chunks/chunk-FSIQI3KQ.js.map +1 -0
- package/dist/chunks/chunk-KOQLAE5C.js +211 -0
- package/dist/chunks/chunk-KOQLAE5C.js.map +1 -0
- package/dist/chunks/chunk-KX5XK2I2.js +636 -0
- package/dist/chunks/chunk-KX5XK2I2.js.map +1 -0
- package/dist/chunks/chunk-LUJE2OUT.js +637 -0
- package/dist/chunks/chunk-LUJE2OUT.js.map +1 -0
- package/dist/chunks/chunk-M3ODN2LD.js +30 -0
- package/dist/chunks/chunk-M3ODN2LD.js.map +1 -0
- package/dist/chunks/chunk-O233FYKS.js +45 -0
- package/dist/chunks/chunk-O233FYKS.js.map +1 -0
- package/dist/chunks/chunk-STT3B34J.js +43 -0
- package/dist/chunks/chunk-STT3B34J.js.map +1 -0
- package/dist/chunks/chunk-TYV2BDMU.js +8 -0
- package/dist/chunks/chunk-TYV2BDMU.js.map +1 -0
- package/dist/chunks/chunk-UDUW5VX5.js +6545 -0
- package/dist/chunks/chunk-UDUW5VX5.js.map +1 -0
- package/dist/chunks/chunk-UIVMRBML.js +230 -0
- package/dist/chunks/chunk-UIVMRBML.js.map +1 -0
- package/dist/chunks/chunk-VYXSKCOZ.js +3706 -0
- package/dist/chunks/chunk-VYXSKCOZ.js.map +1 -0
- package/dist/chunks/chunk-X4BXOQJA.js +6558 -0
- package/dist/chunks/chunk-X4BXOQJA.js.map +1 -0
- package/dist/exports/computed-item.context.d.ts +16 -0
- package/dist/exports/computed-item.context.js +8 -0
- package/dist/exports/computed-item.context.js.map +1 -0
- package/dist/exports/computed.context.d.ts +4 -11
- package/dist/exports/computed.context.js +1 -1
- package/dist/exports/session.context.d.ts +2 -2
- package/dist/index.d.ts +5 -4
- package/dist/index.js +21 -16
- package/dist/qti-components/index.d.ts +2 -2
- package/dist/qti-components/index.js +2 -2
- package/dist/qti-components-jsx.d.ts +27 -1
- package/dist/qti-item/core/index.d.ts +35 -1
- package/dist/qti-item/core/index.js +6 -1
- package/dist/qti-loader/index.d.ts +2 -2
- package/dist/qti-response-declaration-CBb7rZqd.d.ts +1054 -0
- package/dist/qti-response-declaration-CgrlodE6.d.ts +1052 -0
- package/dist/qti-response-declaration-DZzGH8xM.d.ts +1057 -0
- package/dist/qti-response-declaration-DbMCe0zZ.d.ts +1052 -0
- package/dist/qti-test/components/index.d.ts +3 -2
- package/dist/qti-test/components/index.js +12 -12
- package/dist/qti-test/components/test-navigation.d.ts +4 -3
- package/dist/qti-test/components/test-navigation.js +2 -2
- package/dist/qti-test/components/test-next.d.ts +1 -0
- package/dist/qti-test/components/test-next.js +2 -2
- package/dist/qti-test/components/test-paging-buttons-stamp.js +2 -2
- package/dist/qti-test/components/test-prev.d.ts +1 -0
- package/dist/qti-test/components/test-prev.js +2 -2
- package/dist/qti-test/components/test-print-item-variables.d.ts +1 -0
- package/dist/qti-test/components/test-print-item-variables.js +2 -2
- package/dist/qti-test/components/test-section-buttons-stamp.js +2 -2
- package/dist/qti-test/core/index.d.ts +4 -4
- package/dist/qti-test/core/index.js +1 -1
- package/dist/qti-test-part-B8Dq08t9.d.ts +85 -0
- package/dist/qti-test-part-BYdORfcD.d.ts +85 -0
- package/dist/qti-test-part-CQycFqJC.d.ts +85 -0
- package/dist/qti-test-part-a-IuoG8-.d.ts +85 -0
- package/dist/vscode.html-custom-data.json +12 -0
- package/package.json +1 -1
|
@@ -13,13 +13,14 @@ export { TestSectionLink } from './test-section-link.js';
|
|
|
13
13
|
import 'lit-html';
|
|
14
14
|
import 'lit';
|
|
15
15
|
import '../../exports/computed.context.js';
|
|
16
|
+
import '../../exports/computed-item.context.js';
|
|
16
17
|
import '../../exports/config.context.js';
|
|
17
|
-
import '../../qti-test-part-
|
|
18
|
+
import '../../qti-test-part-a-IuoG8-.js';
|
|
18
19
|
import '../../exports/test.context.js';
|
|
19
20
|
import '../../exports/item.context.js';
|
|
20
21
|
import '../../variables-D70AFbp2.js';
|
|
21
22
|
import '../../exports/expression-result.js';
|
|
22
|
-
import '../../qti-response-declaration-
|
|
23
|
+
import '../../qti-response-declaration-DZzGH8xM.js';
|
|
23
24
|
import '../../exports/interaction.interface.js';
|
|
24
25
|
import '../../exports/interaction.js';
|
|
25
26
|
import 'lit-html/directives/ref.js';
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
import "../../chunks/chunk-KB5LRYDB.js";
|
|
2
|
+
import {
|
|
3
|
+
TestView
|
|
4
|
+
} from "../../chunks/chunk-CHINL5UJ.js";
|
|
5
|
+
import {
|
|
6
|
+
TestNavigation
|
|
7
|
+
} from "../../chunks/chunk-UIVMRBML.js";
|
|
2
8
|
import {
|
|
3
9
|
TestNext
|
|
4
|
-
} from "../../chunks/chunk-
|
|
10
|
+
} from "../../chunks/chunk-EFTOJP3Z.js";
|
|
5
11
|
import {
|
|
6
12
|
TestPagingButtonsStamp
|
|
7
|
-
} from "../../chunks/chunk-
|
|
13
|
+
} from "../../chunks/chunk-O233FYKS.js";
|
|
8
14
|
import {
|
|
9
15
|
TestPrev
|
|
10
|
-
} from "../../chunks/chunk-
|
|
16
|
+
} from "../../chunks/chunk-DACJEGD7.js";
|
|
11
17
|
import "../../chunks/chunk-K6EUKFNW.js";
|
|
12
18
|
import {
|
|
13
19
|
TestPrintVariables
|
|
14
|
-
} from "../../chunks/chunk-
|
|
20
|
+
} from "../../chunks/chunk-M3ODN2LD.js";
|
|
15
21
|
import {
|
|
16
22
|
TestSectionButtonsStamp
|
|
17
|
-
} from "../../chunks/chunk-
|
|
23
|
+
} from "../../chunks/chunk-STT3B34J.js";
|
|
18
24
|
import {
|
|
19
25
|
TestSectionLink
|
|
20
26
|
} from "../../chunks/chunk-JMIFSDZ7.js";
|
|
21
27
|
import {
|
|
22
28
|
TestShowCorrectResponse
|
|
23
29
|
} from "../../chunks/chunk-MBF6HEKO.js";
|
|
24
|
-
import {
|
|
25
|
-
TestView
|
|
26
|
-
} from "../../chunks/chunk-CHINL5UJ.js";
|
|
27
30
|
import {
|
|
28
31
|
TestContainer
|
|
29
32
|
} from "../../chunks/chunk-5OMC3DTZ.js";
|
|
@@ -34,15 +37,12 @@ import {
|
|
|
34
37
|
TestItemLink
|
|
35
38
|
} from "../../chunks/chunk-ZJHKJMHR.js";
|
|
36
39
|
import "../../chunks/chunk-4O5F7WV7.js";
|
|
37
|
-
import {
|
|
38
|
-
TestNavigation
|
|
39
|
-
} from "../../chunks/chunk-FRNEKC5E.js";
|
|
40
40
|
import "../../chunks/chunk-QTH3WLGY.js";
|
|
41
41
|
import "../../chunks/chunk-ODLYMQOS.js";
|
|
42
42
|
import "../../chunks/chunk-D3RGDWKP.js";
|
|
43
43
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
44
44
|
import "../../chunks/chunk-XDMSEAYC.js";
|
|
45
|
-
import "../../chunks/chunk-
|
|
45
|
+
import "../../chunks/chunk-6Z5YR5U2.js";
|
|
46
46
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
47
47
|
export {
|
|
48
48
|
TestContainer,
|
|
@@ -2,14 +2,15 @@ import * as lit_html from 'lit-html';
|
|
|
2
2
|
import { LitElement, PropertyValues } from 'lit';
|
|
3
3
|
import { ComputedContext } from '../../exports/computed.context.js';
|
|
4
4
|
import { ConfigContext } from '../../exports/config.context.js';
|
|
5
|
-
import { S as SessionContext } from '../../qti-test-part-
|
|
5
|
+
import { S as SessionContext } from '../../qti-test-part-a-IuoG8-.js';
|
|
6
6
|
import { TestContext } from '../../exports/test.context.js';
|
|
7
|
-
import '../../
|
|
7
|
+
import '../../exports/computed-item.context.js';
|
|
8
|
+
import '../../qti-response-declaration-DZzGH8xM.js';
|
|
8
9
|
import '../../exports/expression-result.js';
|
|
9
10
|
import '../../variables-D70AFbp2.js';
|
|
11
|
+
import '../../exports/item.context.js';
|
|
10
12
|
import '../../exports/interaction.interface.js';
|
|
11
13
|
import '../../exports/interaction.js';
|
|
12
|
-
import '../../exports/item.context.js';
|
|
13
14
|
import 'lit-html/directives/ref.js';
|
|
14
15
|
import '../../exports/qti-expression.js';
|
|
15
16
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestNavigation
|
|
3
|
-
} from "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-UIVMRBML.js";
|
|
4
4
|
import "../../chunks/chunk-QTH3WLGY.js";
|
|
5
5
|
import "../../chunks/chunk-ODLYMQOS.js";
|
|
6
|
-
import "../../chunks/chunk-
|
|
6
|
+
import "../../chunks/chunk-6Z5YR5U2.js";
|
|
7
7
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
8
8
|
export {
|
|
9
9
|
TestNavigation
|
|
@@ -2,6 +2,7 @@ import * as lit_html from 'lit-html';
|
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { LitElement } from 'lit';
|
|
4
4
|
import { ComputedContext, ComputedItem } from '../../exports/computed.context.js';
|
|
5
|
+
import '../../exports/computed-item.context.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Represents a custom element for navigating to the next test item.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestNext
|
|
3
|
-
} from "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-EFTOJP3Z.js";
|
|
4
4
|
import "../../chunks/chunk-K6EUKFNW.js";
|
|
5
5
|
import "../../chunks/chunk-4O5F7WV7.js";
|
|
6
6
|
import "../../chunks/chunk-D3RGDWKP.js";
|
|
7
7
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
8
|
-
import "../../chunks/chunk-
|
|
8
|
+
import "../../chunks/chunk-6Z5YR5U2.js";
|
|
9
9
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
10
10
|
export {
|
|
11
11
|
TestNext
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestPagingButtonsStamp
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-O233FYKS.js";
|
|
4
|
+
import "../../chunks/chunk-6Z5YR5U2.js";
|
|
5
5
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
6
6
|
export {
|
|
7
7
|
TestPagingButtonsStamp
|
|
@@ -2,6 +2,7 @@ import * as lit_html from 'lit-html';
|
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { LitElement } from 'lit';
|
|
4
4
|
import { ComputedItem, ComputedContext } from '../../exports/computed.context.js';
|
|
5
|
+
import '../../exports/computed-item.context.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Represents a custom element for navigating to the previous test item.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestPrev
|
|
3
|
-
} from "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-DACJEGD7.js";
|
|
4
4
|
import "../../chunks/chunk-K6EUKFNW.js";
|
|
5
5
|
import "../../chunks/chunk-4O5F7WV7.js";
|
|
6
6
|
import "../../chunks/chunk-D3RGDWKP.js";
|
|
7
7
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
8
|
-
import "../../chunks/chunk-
|
|
8
|
+
import "../../chunks/chunk-6Z5YR5U2.js";
|
|
9
9
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
10
10
|
export {
|
|
11
11
|
TestPrev
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as lit_html from 'lit-html';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
3
|
import { ComputedContext } from '../../exports/computed.context.js';
|
|
4
|
+
import '../../exports/computed-item.context.js';
|
|
4
5
|
|
|
5
6
|
declare class TestPrintVariables extends LitElement {
|
|
6
7
|
computedContext?: ComputedContext;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestPrintVariables
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-M3ODN2LD.js";
|
|
4
|
+
import "../../chunks/chunk-6Z5YR5U2.js";
|
|
5
5
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
6
6
|
export {
|
|
7
7
|
TestPrintVariables
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestSectionButtonsStamp
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-STT3B34J.js";
|
|
4
|
+
import "../../chunks/chunk-6Z5YR5U2.js";
|
|
5
5
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
6
6
|
export {
|
|
7
7
|
TestSectionButtonsStamp
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as lit_html from 'lit-html';
|
|
2
2
|
import { O as OutcomeVariable, V as VariableDeclaration } from '../../variables-D70AFbp2.js';
|
|
3
3
|
import { LitElement } from 'lit';
|
|
4
|
-
import { S as SessionContext, b as QtiAssessmentTest } from '../../qti-test-part-
|
|
5
|
-
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, c as QtiTestPart } from '../../qti-test-part-
|
|
4
|
+
import { S as SessionContext, b as QtiAssessmentTest } from '../../qti-test-part-a-IuoG8-.js';
|
|
5
|
+
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, c as QtiTestPart } from '../../qti-test-part-a-IuoG8-.js';
|
|
6
6
|
import { TestContext } from '../../exports/test.context.js';
|
|
7
7
|
export { testContext } from '../../exports/test.context.js';
|
|
8
8
|
import '../../exports/expression-result.js';
|
|
9
|
-
import '../../qti-response-declaration-
|
|
9
|
+
import '../../qti-response-declaration-DZzGH8xM.js';
|
|
10
|
+
import '../../exports/item.context.js';
|
|
10
11
|
import '../../exports/interaction.interface.js';
|
|
11
12
|
import '../../exports/interaction.js';
|
|
12
|
-
import '../../exports/item.context.js';
|
|
13
13
|
import 'lit-html/directives/ref.js';
|
|
14
14
|
import '../../exports/qti-expression.js';
|
|
15
15
|
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as lit_html from 'lit-html';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
import { TestContext } from './exports/test.context.js';
|
|
4
|
+
import { Q as QtiAssessmentItem } from './qti-response-declaration-CBb7rZqd.js';
|
|
5
|
+
|
|
6
|
+
type View = 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor' | '';
|
|
7
|
+
|
|
8
|
+
interface SessionContext {
|
|
9
|
+
navPartId?: string | null;
|
|
10
|
+
navSectionId?: string | null;
|
|
11
|
+
navItemId?: string | null;
|
|
12
|
+
navItemLoading?: boolean;
|
|
13
|
+
navTestLoading?: boolean;
|
|
14
|
+
view?: View;
|
|
15
|
+
}
|
|
16
|
+
declare const sessionContext: {
|
|
17
|
+
__context__: Readonly<SessionContext>;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
declare class QtiAssessmentItemRef extends LitElement {
|
|
21
|
+
category?: string;
|
|
22
|
+
identifier?: string;
|
|
23
|
+
required?: boolean;
|
|
24
|
+
fixed?: boolean;
|
|
25
|
+
href?: string;
|
|
26
|
+
_testContext?: TestContext;
|
|
27
|
+
weigths: Map<string, number>;
|
|
28
|
+
xmlDoc: DocumentFragment;
|
|
29
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
30
|
+
get assessmentItem(): QtiAssessmentItem | null;
|
|
31
|
+
connectedCallback(): Promise<void>;
|
|
32
|
+
render(): lit_html.TemplateResult<1>;
|
|
33
|
+
}
|
|
34
|
+
declare global {
|
|
35
|
+
interface HTMLElementTagNameMap {
|
|
36
|
+
'qti-assessment-item-ref': QtiAssessmentItemRef;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare class QtiAssessmentSection extends LitElement {
|
|
41
|
+
identifier: string;
|
|
42
|
+
required: string;
|
|
43
|
+
fixed: boolean;
|
|
44
|
+
title: string;
|
|
45
|
+
visible: boolean;
|
|
46
|
+
keepTogether: boolean;
|
|
47
|
+
_testContext?: TestContext;
|
|
48
|
+
connectedCallback(): Promise<void>;
|
|
49
|
+
render(): lit_html.TemplateResult<1>;
|
|
50
|
+
}
|
|
51
|
+
declare global {
|
|
52
|
+
interface HTMLElementTagNameMap {
|
|
53
|
+
'qti-assessment-section': QtiAssessmentSection;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class QtiAssessmentTest extends LitElement {
|
|
58
|
+
identifier: string;
|
|
59
|
+
title: string;
|
|
60
|
+
_testContext?: TestContext;
|
|
61
|
+
connectedCallback(): Promise<void>;
|
|
62
|
+
render(): lit_html.TemplateResult<1>;
|
|
63
|
+
}
|
|
64
|
+
declare global {
|
|
65
|
+
interface HTMLElementTagNameMap {
|
|
66
|
+
'qti-assessment-test': QtiAssessmentTest;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class QtiTestPart extends LitElement {
|
|
71
|
+
identifier: string;
|
|
72
|
+
title: string;
|
|
73
|
+
class: string;
|
|
74
|
+
NavigationMode: 'linear' | 'nonlinear';
|
|
75
|
+
submissionMode: 'individual' | 'simultaneous';
|
|
76
|
+
connectedCallback(): Promise<void>;
|
|
77
|
+
render(): lit_html.TemplateResult<1>;
|
|
78
|
+
}
|
|
79
|
+
declare global {
|
|
80
|
+
interface HTMLElementTagNameMap {
|
|
81
|
+
'qti-test-part': QtiTestPart;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { QtiAssessmentItemRef as Q, type SessionContext as S, QtiAssessmentSection as a, QtiAssessmentTest as b, QtiTestPart as c, sessionContext as s };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as lit_html from 'lit-html';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
import { TestContext } from './exports/test.context.js';
|
|
4
|
+
import { Q as QtiAssessmentItem } from './qti-response-declaration-DbMCe0zZ.js';
|
|
5
|
+
|
|
6
|
+
type View = 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor' | '';
|
|
7
|
+
|
|
8
|
+
interface SessionContext {
|
|
9
|
+
navPartId?: string | null;
|
|
10
|
+
navSectionId?: string | null;
|
|
11
|
+
navItemId?: string | null;
|
|
12
|
+
navItemLoading?: boolean;
|
|
13
|
+
navTestLoading?: boolean;
|
|
14
|
+
view?: View;
|
|
15
|
+
}
|
|
16
|
+
declare const sessionContext: {
|
|
17
|
+
__context__: Readonly<SessionContext>;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
declare class QtiAssessmentItemRef extends LitElement {
|
|
21
|
+
category?: string;
|
|
22
|
+
identifier?: string;
|
|
23
|
+
required?: boolean;
|
|
24
|
+
fixed?: boolean;
|
|
25
|
+
href?: string;
|
|
26
|
+
_testContext?: TestContext;
|
|
27
|
+
weigths: Map<string, number>;
|
|
28
|
+
xmlDoc: DocumentFragment;
|
|
29
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
30
|
+
get assessmentItem(): QtiAssessmentItem | null;
|
|
31
|
+
connectedCallback(): Promise<void>;
|
|
32
|
+
render(): lit_html.TemplateResult<1>;
|
|
33
|
+
}
|
|
34
|
+
declare global {
|
|
35
|
+
interface HTMLElementTagNameMap {
|
|
36
|
+
'qti-assessment-item-ref': QtiAssessmentItemRef;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare class QtiAssessmentSection extends LitElement {
|
|
41
|
+
identifier: string;
|
|
42
|
+
required: string;
|
|
43
|
+
fixed: boolean;
|
|
44
|
+
title: string;
|
|
45
|
+
visible: boolean;
|
|
46
|
+
keepTogether: boolean;
|
|
47
|
+
_testContext?: TestContext;
|
|
48
|
+
connectedCallback(): Promise<void>;
|
|
49
|
+
render(): lit_html.TemplateResult<1>;
|
|
50
|
+
}
|
|
51
|
+
declare global {
|
|
52
|
+
interface HTMLElementTagNameMap {
|
|
53
|
+
'qti-assessment-section': QtiAssessmentSection;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class QtiAssessmentTest extends LitElement {
|
|
58
|
+
identifier: string;
|
|
59
|
+
title: string;
|
|
60
|
+
_testContext?: TestContext;
|
|
61
|
+
connectedCallback(): Promise<void>;
|
|
62
|
+
render(): lit_html.TemplateResult<1>;
|
|
63
|
+
}
|
|
64
|
+
declare global {
|
|
65
|
+
interface HTMLElementTagNameMap {
|
|
66
|
+
'qti-assessment-test': QtiAssessmentTest;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class QtiTestPart extends LitElement {
|
|
71
|
+
identifier: string;
|
|
72
|
+
title: string;
|
|
73
|
+
class: string;
|
|
74
|
+
NavigationMode: 'linear' | 'nonlinear';
|
|
75
|
+
submissionMode: 'individual' | 'simultaneous';
|
|
76
|
+
connectedCallback(): Promise<void>;
|
|
77
|
+
render(): lit_html.TemplateResult<1>;
|
|
78
|
+
}
|
|
79
|
+
declare global {
|
|
80
|
+
interface HTMLElementTagNameMap {
|
|
81
|
+
'qti-test-part': QtiTestPart;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { QtiAssessmentItemRef as Q, type SessionContext as S, QtiAssessmentSection as a, QtiAssessmentTest as b, QtiTestPart as c, sessionContext as s };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as lit_html from 'lit-html';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
import { TestContext } from './exports/test.context.js';
|
|
4
|
+
import { Q as QtiAssessmentItem } from './qti-response-declaration-CgrlodE6.js';
|
|
5
|
+
|
|
6
|
+
type View = 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor' | '';
|
|
7
|
+
|
|
8
|
+
interface SessionContext {
|
|
9
|
+
navPartId?: string | null;
|
|
10
|
+
navSectionId?: string | null;
|
|
11
|
+
navItemId?: string | null;
|
|
12
|
+
navItemLoading?: boolean;
|
|
13
|
+
navTestLoading?: boolean;
|
|
14
|
+
view?: View;
|
|
15
|
+
}
|
|
16
|
+
declare const sessionContext: {
|
|
17
|
+
__context__: Readonly<SessionContext>;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
declare class QtiAssessmentItemRef extends LitElement {
|
|
21
|
+
category?: string;
|
|
22
|
+
identifier?: string;
|
|
23
|
+
required?: boolean;
|
|
24
|
+
fixed?: boolean;
|
|
25
|
+
href?: string;
|
|
26
|
+
_testContext?: TestContext;
|
|
27
|
+
weigths: Map<string, number>;
|
|
28
|
+
xmlDoc: DocumentFragment;
|
|
29
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
30
|
+
get assessmentItem(): QtiAssessmentItem | null;
|
|
31
|
+
connectedCallback(): Promise<void>;
|
|
32
|
+
render(): lit_html.TemplateResult<1>;
|
|
33
|
+
}
|
|
34
|
+
declare global {
|
|
35
|
+
interface HTMLElementTagNameMap {
|
|
36
|
+
'qti-assessment-item-ref': QtiAssessmentItemRef;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare class QtiAssessmentSection extends LitElement {
|
|
41
|
+
identifier: string;
|
|
42
|
+
required: string;
|
|
43
|
+
fixed: boolean;
|
|
44
|
+
title: string;
|
|
45
|
+
visible: boolean;
|
|
46
|
+
keepTogether: boolean;
|
|
47
|
+
_testContext?: TestContext;
|
|
48
|
+
connectedCallback(): Promise<void>;
|
|
49
|
+
render(): lit_html.TemplateResult<1>;
|
|
50
|
+
}
|
|
51
|
+
declare global {
|
|
52
|
+
interface HTMLElementTagNameMap {
|
|
53
|
+
'qti-assessment-section': QtiAssessmentSection;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class QtiAssessmentTest extends LitElement {
|
|
58
|
+
identifier: string;
|
|
59
|
+
title: string;
|
|
60
|
+
_testContext?: TestContext;
|
|
61
|
+
connectedCallback(): Promise<void>;
|
|
62
|
+
render(): lit_html.TemplateResult<1>;
|
|
63
|
+
}
|
|
64
|
+
declare global {
|
|
65
|
+
interface HTMLElementTagNameMap {
|
|
66
|
+
'qti-assessment-test': QtiAssessmentTest;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class QtiTestPart extends LitElement {
|
|
71
|
+
identifier: string;
|
|
72
|
+
title: string;
|
|
73
|
+
class: string;
|
|
74
|
+
NavigationMode: 'linear' | 'nonlinear';
|
|
75
|
+
submissionMode: 'individual' | 'simultaneous';
|
|
76
|
+
connectedCallback(): Promise<void>;
|
|
77
|
+
render(): lit_html.TemplateResult<1>;
|
|
78
|
+
}
|
|
79
|
+
declare global {
|
|
80
|
+
interface HTMLElementTagNameMap {
|
|
81
|
+
'qti-test-part': QtiTestPart;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { QtiAssessmentItemRef as Q, type SessionContext as S, QtiAssessmentSection as a, QtiAssessmentTest as b, QtiTestPart as c, sessionContext as s };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as lit_html from 'lit-html';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
import { TestContext } from './exports/test.context.js';
|
|
4
|
+
import { Q as QtiAssessmentItem } from './qti-response-declaration-DZzGH8xM.js';
|
|
5
|
+
|
|
6
|
+
type View = 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor' | '';
|
|
7
|
+
|
|
8
|
+
interface SessionContext {
|
|
9
|
+
navPartId?: string | null;
|
|
10
|
+
navSectionId?: string | null;
|
|
11
|
+
navItemId?: string | null;
|
|
12
|
+
navItemLoading?: boolean;
|
|
13
|
+
navTestLoading?: boolean;
|
|
14
|
+
view?: View;
|
|
15
|
+
}
|
|
16
|
+
declare const sessionContext: {
|
|
17
|
+
__context__: Readonly<SessionContext>;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
declare class QtiAssessmentItemRef extends LitElement {
|
|
21
|
+
category?: string;
|
|
22
|
+
identifier?: string;
|
|
23
|
+
required?: boolean;
|
|
24
|
+
fixed?: boolean;
|
|
25
|
+
href?: string;
|
|
26
|
+
_testContext?: TestContext;
|
|
27
|
+
weigths: Map<string, number>;
|
|
28
|
+
xmlDoc: DocumentFragment;
|
|
29
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
30
|
+
get assessmentItem(): QtiAssessmentItem | null;
|
|
31
|
+
connectedCallback(): Promise<void>;
|
|
32
|
+
render(): lit_html.TemplateResult<1>;
|
|
33
|
+
}
|
|
34
|
+
declare global {
|
|
35
|
+
interface HTMLElementTagNameMap {
|
|
36
|
+
'qti-assessment-item-ref': QtiAssessmentItemRef;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare class QtiAssessmentSection extends LitElement {
|
|
41
|
+
identifier: string;
|
|
42
|
+
required: string;
|
|
43
|
+
fixed: boolean;
|
|
44
|
+
title: string;
|
|
45
|
+
visible: boolean;
|
|
46
|
+
keepTogether: boolean;
|
|
47
|
+
_testContext?: TestContext;
|
|
48
|
+
connectedCallback(): Promise<void>;
|
|
49
|
+
render(): lit_html.TemplateResult<1>;
|
|
50
|
+
}
|
|
51
|
+
declare global {
|
|
52
|
+
interface HTMLElementTagNameMap {
|
|
53
|
+
'qti-assessment-section': QtiAssessmentSection;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class QtiAssessmentTest extends LitElement {
|
|
58
|
+
identifier: string;
|
|
59
|
+
title: string;
|
|
60
|
+
_testContext?: TestContext;
|
|
61
|
+
connectedCallback(): Promise<void>;
|
|
62
|
+
render(): lit_html.TemplateResult<1>;
|
|
63
|
+
}
|
|
64
|
+
declare global {
|
|
65
|
+
interface HTMLElementTagNameMap {
|
|
66
|
+
'qti-assessment-test': QtiAssessmentTest;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class QtiTestPart extends LitElement {
|
|
71
|
+
identifier: string;
|
|
72
|
+
title: string;
|
|
73
|
+
class: string;
|
|
74
|
+
NavigationMode: 'linear' | 'nonlinear';
|
|
75
|
+
submissionMode: 'individual' | 'simultaneous';
|
|
76
|
+
connectedCallback(): Promise<void>;
|
|
77
|
+
render(): lit_html.TemplateResult<1>;
|
|
78
|
+
}
|
|
79
|
+
declare global {
|
|
80
|
+
interface HTMLElementTagNameMap {
|
|
81
|
+
'qti-test-part': QtiTestPart;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { QtiAssessmentItemRef as Q, type SessionContext as S, QtiAssessmentSection as a, QtiAssessmentTest as b, QtiTestPart as c, sessionContext as s };
|
|
@@ -762,6 +762,18 @@
|
|
|
762
762
|
],
|
|
763
763
|
"references": []
|
|
764
764
|
},
|
|
765
|
+
{
|
|
766
|
+
"name": "print-item-variables",
|
|
767
|
+
"description": "\n---\n",
|
|
768
|
+
"attributes": [],
|
|
769
|
+
"references": []
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "item-show-correct-response",
|
|
773
|
+
"description": "\n---\n",
|
|
774
|
+
"attributes": [],
|
|
775
|
+
"references": []
|
|
776
|
+
},
|
|
765
777
|
{
|
|
766
778
|
"name": "qti-item",
|
|
767
779
|
"description": "`<qti-item>` is a custom element designed for rendering a single `qti-assessment-item`.\nIt can also host some functionalities to interact with the item like scoring, showing feedback, etc.\nPlacing a mandatory `<item-container>` inside '<qti-item>' will load or parse the item and render it.\nSee `<item-container>` for more details.\n\n```html\n<qti-item>\n <item-container class=\"m-4 bg-white\" item-url=\"./path/to/item.xml\"></item-container>\n</qti-item>\n```\n---\n",
|