@citolab/qti-components 7.3.5 → 7.3.7
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-2VU43EIZ.js +8 -0
- package/cdn/chunks/chunk-2WJEB7LD.js +1 -0
- package/cdn/chunks/chunk-34G25RYG.js +8 -0
- package/cdn/chunks/chunk-7543U7PC.js +1 -0
- package/cdn/chunks/chunk-A73O6JDN.js +5 -0
- package/cdn/chunks/chunk-AV6ISYP4.js +41 -0
- package/cdn/chunks/chunk-AYRVSFDB.js +1 -0
- package/cdn/chunks/chunk-BJRPEBBQ.js +1 -0
- package/cdn/chunks/chunk-C3UTBQLI.js +8 -0
- package/cdn/chunks/chunk-CHA2MSUC.js +1 -0
- package/cdn/chunks/chunk-D5X3UG54.js +1 -0
- package/cdn/chunks/chunk-DS3TJWSG.js +8 -0
- package/cdn/chunks/chunk-FTIKZVQS.js +0 -0
- package/cdn/chunks/chunk-GHYJJLM6.js +5 -0
- package/cdn/chunks/chunk-H5VQY4UD.js +1 -0
- package/cdn/chunks/chunk-IYTC7IL7.js +48 -0
- package/cdn/chunks/chunk-JB5OTSUJ.js +1 -0
- package/cdn/chunks/chunk-JR322KXH.js +1 -0
- package/cdn/chunks/chunk-JYB6NVDN.js +1 -0
- package/cdn/chunks/chunk-LXJSKVMQ.js +6 -0
- package/cdn/chunks/chunk-NN2AW26H.js +5 -0
- package/cdn/chunks/chunk-ONSO5XEG.js +1464 -0
- package/cdn/chunks/chunk-PMW5NIBL.js +8 -0
- package/cdn/chunks/chunk-Q54YYIH7.js +8 -0
- package/cdn/chunks/chunk-QIEEN6C7.js +8 -0
- package/cdn/chunks/chunk-RALUW4CJ.js +5 -0
- package/cdn/chunks/chunk-RTHQAQWR.js +2 -0
- package/cdn/chunks/chunk-SB62LFF7.js +10 -0
- package/cdn/chunks/chunk-TI7HI3OS.js +1464 -0
- package/cdn/chunks/chunk-VWTYL7A3.js +48 -0
- package/cdn/chunks/chunk-W4QXZT2Y.js +8 -0
- package/cdn/chunks/chunk-YNBLRM6A.js +1 -0
- package/cdn/chunks/chunk-ZPQBCZQ2.js +3589 -0
- package/cdn/exports/computed-item.context.js +1 -1
- package/cdn/exports/computed.context.js +1 -1
- package/cdn/exports/config.context.js +1 -1
- package/cdn/exports/interaction.js +1 -1
- package/cdn/exports/item.context.js +1 -1
- package/cdn/exports/qti-assessment-item.context.js +1 -1
- package/cdn/exports/qti-condition-expression.js +1 -1
- package/cdn/exports/qti-expression.js +1 -1
- package/cdn/exports/session.context.js +1 -1
- package/cdn/exports/test.context.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/components/item-container.js +1 -1
- package/cdn/qti-item/components/item-show-correct-response.js +1 -1
- package/cdn/qti-item/components/print-item-variables.js +1 -1
- package/cdn/qti-item/components/styles.js +1 -1
- package/cdn/qti-item/core/index.js +1 -1
- package/cdn/qti-loader/index.js +1 -1
- package/cdn/qti-test/components/index.js +1 -1
- package/cdn/qti-test/components/styles.js +1 -1
- package/cdn/qti-test/components/test-check-item.js +1 -1
- package/cdn/qti-test/components/test-container.js +1 -1
- package/cdn/qti-test/components/test-end-attempt.js +1 -1
- package/cdn/qti-test/components/test-item-link.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-context.js +1 -1
- package/cdn/qti-test/components/test-print-item-variables.js +1 -1
- package/cdn/qti-test/components/test-scoring-buttons.js +1 -1
- package/cdn/qti-test/components/test-scoring-feedback.js +1 -1
- package/cdn/qti-test/components/test-section-buttons-stamp.js +1 -1
- package/cdn/qti-test/components/test-section-link.js +1 -1
- package/cdn/qti-test/components/test-show-correct-response.js +1 -1
- package/cdn/qti-test/components/test-stamp.js +1 -1
- package/cdn/qti-test/components/test-view-toggle.js +1 -1
- package/cdn/qti-test/components/test-view.js +1 -1
- package/cdn/qti-test/core/index.js +1 -1
- package/cdn/qti-transformers/index.js +1 -1
- package/dist/chunks/chunk-3TX2EBTU.js +94 -0
- package/dist/chunks/chunk-3TX2EBTU.js.map +1 -0
- package/dist/chunks/chunk-7K44TDQO.js +91 -0
- package/dist/chunks/chunk-7K44TDQO.js.map +1 -0
- package/dist/chunks/chunk-AZJR5HSV.js +7960 -0
- package/dist/chunks/chunk-AZJR5HSV.js.map +1 -0
- package/dist/chunks/chunk-B3C3IFYR.js +7960 -0
- package/dist/chunks/chunk-B3C3IFYR.js.map +1 -0
- package/dist/chunks/chunk-BV2QSR2N.js +3 -0
- package/dist/chunks/chunk-BV2QSR2N.js.map +1 -0
- package/dist/chunks/chunk-CP34TICQ.js +45 -0
- package/dist/chunks/chunk-CP34TICQ.js.map +1 -0
- package/dist/chunks/chunk-EMVOKXSA.js +84 -0
- package/dist/chunks/chunk-EMVOKXSA.js.map +1 -0
- package/dist/chunks/chunk-GAHXUFMQ.js +93 -0
- package/dist/chunks/chunk-GAHXUFMQ.js.map +1 -0
- package/dist/chunks/chunk-GRQYHS5X.js +269 -0
- package/dist/chunks/chunk-GRQYHS5X.js.map +1 -0
- package/dist/chunks/chunk-KSXNC564.js +43 -0
- package/dist/chunks/chunk-KSXNC564.js.map +1 -0
- package/dist/chunks/chunk-LNL2LY75.js +94 -0
- package/dist/chunks/chunk-LNL2LY75.js.map +1 -0
- package/dist/chunks/chunk-NBCXOMMU.js +887 -0
- package/dist/chunks/chunk-NBCXOMMU.js.map +1 -0
- package/dist/chunks/chunk-NJ26K2SA.js +3579 -0
- package/dist/chunks/chunk-NJ26K2SA.js.map +1 -0
- package/dist/chunks/chunk-TUKEQ36K.js +60 -0
- package/dist/chunks/chunk-TUKEQ36K.js.map +1 -0
- package/dist/chunks/chunk-VVXIAK5M.js +82 -0
- package/dist/chunks/chunk-VVXIAK5M.js.map +1 -0
- package/dist/chunks/chunk-YKLITOZB.js +887 -0
- package/dist/chunks/chunk-YKLITOZB.js.map +1 -0
- package/dist/exports/computed.context.d.ts +2 -2
- package/dist/exports/session.context.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -13
- package/dist/item.css +0 -3
- package/dist/qti-components/index.js +2 -1
- package/dist/qti-components-jsx.d.ts +4 -8
- package/dist/qti-item/components/item-container.js +2 -2
- package/dist/qti-item/core/index.js +2 -2
- package/dist/qti-test/components/index.d.ts +2 -2
- package/dist/qti-test/components/index.js +12 -10
- package/dist/qti-test/components/test-container.js +2 -2
- package/dist/qti-test/components/test-navigation.d.ts +2 -2
- package/dist/qti-test/components/test-navigation.js +1 -1
- package/dist/qti-test/components/test-next.d.ts +18 -15
- package/dist/qti-test/components/test-next.js +4 -1
- package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +1 -1
- package/dist/qti-test/components/test-paging-buttons-stamp.js +1 -1
- package/dist/qti-test/components/test-prev.d.ts +19 -18
- package/dist/qti-test/components/test-prev.js +4 -1
- package/dist/qti-test/components/test-print-context.d.ts +2 -2
- package/dist/qti-test/components/test-print-item-variables.d.ts +2 -2
- package/dist/qti-test/components/test-scoring-buttons.d.ts +2 -2
- package/dist/qti-test/components/test-scoring-buttons.js +1 -1
- package/dist/qti-test/components/test-scoring-feedback.d.ts +2 -2
- package/dist/qti-test/components/test-section-buttons-stamp.d.ts +1 -1
- package/dist/qti-test/components/test-section-buttons-stamp.js +1 -1
- package/dist/qti-test/components/test-show-correct-response.d.ts +2 -2
- package/dist/qti-test/components/test-stamp.d.ts +1 -1
- package/dist/qti-test/components/test-stamp.js +1 -1
- package/dist/qti-test/components/test-view-toggle.js +1 -1
- package/dist/qti-test/core/index.d.ts +3 -3
- package/dist/qti-test/core/index.js +3 -2
- package/dist/qti-test-feedback-DCZDtUuH.d.ts +85 -0
- package/dist/vscode.html-custom-data.json +4 -16
- package/package.json +3 -3
|
@@ -1,42 +1,43 @@
|
|
|
1
1
|
import * as lit_html from 'lit-html';
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { LitElement } from 'lit';
|
|
4
|
-
import { ComputedItem } from '../../exports/computed.context.js';
|
|
5
|
-
import '../../qti-test-feedback-
|
|
4
|
+
import { ComputedItem, ComputedContext } from '../../exports/computed.context.js';
|
|
5
|
+
import '../../qti-test-feedback-DCZDtUuH.js';
|
|
6
6
|
import '../../qti-response-declaration-pCFZA_aW.js';
|
|
7
7
|
import '../../exports/expression-result.js';
|
|
8
8
|
import '../../exports/interaction.interface.js';
|
|
9
9
|
import 'lit-html/directives/ref.js';
|
|
10
|
-
import '
|
|
10
|
+
import '@heximal/templates';
|
|
11
11
|
import '../../exports/test.context.js';
|
|
12
12
|
import '../../exports/computed-item.context.js';
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Represents a custom element for navigating to the previous test item.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* This element provides functionality for navigating to the previous test item.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```html
|
|
22
|
+
* <test-prev></test-prev>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
14
25
|
declare class TestPrev extends LitElement {
|
|
15
|
-
|
|
16
|
-
* External input: allows parent to disable this element.
|
|
17
|
-
*/
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Internal logic + external flag = effective disabled state (reflected)
|
|
21
|
-
*/
|
|
22
|
-
get _effectiveDisabled(): boolean;
|
|
23
|
-
private set _effectiveDisabled(value);
|
|
26
|
+
_internalDisabled: boolean;
|
|
24
27
|
private computedContext;
|
|
25
28
|
sectionItems: ComputedItem[];
|
|
26
29
|
itemIndex: number;
|
|
27
|
-
|
|
30
|
+
_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext): void;
|
|
28
31
|
static styles: lit.CSSResult;
|
|
29
|
-
private _internals;
|
|
30
32
|
constructor();
|
|
31
|
-
willUpdate(): void;
|
|
32
|
-
|
|
33
|
-
private _updateInternalDisabledState;
|
|
33
|
+
willUpdate(_changedProperties: Map<string | number | symbol, unknown>): void;
|
|
34
|
+
checkDisabled(): void;
|
|
34
35
|
protected _requestItem(identifier: string): void;
|
|
35
36
|
render(): lit_html.TemplateResult<1>;
|
|
36
37
|
}
|
|
37
38
|
declare global {
|
|
38
39
|
interface HTMLElementTagNameMap {
|
|
39
|
-
'test-
|
|
40
|
+
'test-previous': TestPrev;
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestPrev
|
|
3
|
-
} from "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-EMVOKXSA.js";
|
|
4
|
+
import "../../chunks/chunk-BV2QSR2N.js";
|
|
4
5
|
import "../../chunks/chunk-5ZHHNEDA.js";
|
|
6
|
+
import "../../chunks/chunk-D3RGDWKP.js";
|
|
7
|
+
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
5
8
|
import "../../chunks/chunk-AZIKAG7K.js";
|
|
6
9
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
7
10
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
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 '../../qti-test-feedback-
|
|
4
|
+
import '../../qti-test-feedback-DCZDtUuH.js';
|
|
5
5
|
import '../../qti-response-declaration-pCFZA_aW.js';
|
|
6
6
|
import '../../exports/expression-result.js';
|
|
7
7
|
import '../../exports/interaction.interface.js';
|
|
8
8
|
import 'lit-html/directives/ref.js';
|
|
9
|
-
import '
|
|
9
|
+
import '@heximal/templates';
|
|
10
10
|
import '../../exports/test.context.js';
|
|
11
11
|
import '../../exports/computed-item.context.js';
|
|
12
12
|
|
|
@@ -2,12 +2,12 @@ import * as lit_html from 'lit-html';
|
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { LitElement } from 'lit';
|
|
4
4
|
import { ComputedContext } from '../../exports/computed.context.js';
|
|
5
|
-
import '../../qti-test-feedback-
|
|
5
|
+
import '../../qti-test-feedback-DCZDtUuH.js';
|
|
6
6
|
import '../../qti-response-declaration-pCFZA_aW.js';
|
|
7
7
|
import '../../exports/expression-result.js';
|
|
8
8
|
import '../../exports/interaction.interface.js';
|
|
9
9
|
import 'lit-html/directives/ref.js';
|
|
10
|
-
import '
|
|
10
|
+
import '@heximal/templates';
|
|
11
11
|
import '../../exports/test.context.js';
|
|
12
12
|
import '../../exports/computed-item.context.js';
|
|
13
13
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as lit_html from 'lit-html';
|
|
2
2
|
import { LitElement, nothing } from 'lit';
|
|
3
|
-
import { TemplateFunction } from '
|
|
3
|
+
import { TemplateFunction } from '@heximal/templates';
|
|
4
4
|
import { ComputedContext } from '../../exports/computed.context.js';
|
|
5
|
-
import '../../qti-test-feedback-
|
|
5
|
+
import '../../qti-test-feedback-DCZDtUuH.js';
|
|
6
6
|
import '../../qti-response-declaration-pCFZA_aW.js';
|
|
7
7
|
import '../../exports/expression-result.js';
|
|
8
8
|
import '../../exports/interaction.interface.js';
|
|
@@ -2,12 +2,12 @@ import * as lit_html from 'lit-html';
|
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
3
|
import { ComputedContext } from '../../exports/computed.context.js';
|
|
4
4
|
import { ViewMode } from 'storybook/internal/types';
|
|
5
|
-
import '../../qti-test-feedback-
|
|
5
|
+
import '../../qti-test-feedback-DCZDtUuH.js';
|
|
6
6
|
import '../../qti-response-declaration-pCFZA_aW.js';
|
|
7
7
|
import '../../exports/expression-result.js';
|
|
8
8
|
import '../../exports/interaction.interface.js';
|
|
9
9
|
import 'lit-html/directives/ref.js';
|
|
10
|
-
import '
|
|
10
|
+
import '@heximal/templates';
|
|
11
11
|
import '../../exports/test.context.js';
|
|
12
12
|
import '../../exports/computed-item.context.js';
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as lit_html from 'lit-html';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
|
-
import { TemplateFunction } from '
|
|
3
|
+
import { TemplateFunction } from '@heximal/templates';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated test-section-buttons-stamp is deprecated and will be removed in the future.
|
|
@@ -2,12 +2,12 @@ import * as lit_html from 'lit-html';
|
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { LitElement } from 'lit';
|
|
4
4
|
import { ComputedContext } from '../../exports/computed.context.js';
|
|
5
|
-
import '../../qti-test-feedback-
|
|
5
|
+
import '../../qti-test-feedback-DCZDtUuH.js';
|
|
6
6
|
import '../../qti-response-declaration-pCFZA_aW.js';
|
|
7
7
|
import '../../exports/expression-result.js';
|
|
8
8
|
import '../../exports/interaction.interface.js';
|
|
9
9
|
import 'lit-html/directives/ref.js';
|
|
10
|
-
import '
|
|
10
|
+
import '@heximal/templates';
|
|
11
11
|
import '../../exports/test.context.js';
|
|
12
12
|
import '../../exports/computed-item.context.js';
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as lit_html from 'lit-html';
|
|
2
2
|
import { LitElement, PropertyValues } from 'lit';
|
|
3
|
-
import { TemplateFunction } from '
|
|
3
|
+
import { TemplateFunction } from '@heximal/templates';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A custom web component that renders a test stamp using the Lit framework.
|
|
@@ -4,12 +4,12 @@ import { LitElement } from 'lit';
|
|
|
4
4
|
import { SessionContext } from '../../exports/session.context.js';
|
|
5
5
|
import { TestContext } from '../../exports/test.context.js';
|
|
6
6
|
export { INITIAL_TEST_CONTEXT, testContext } from '../../exports/test.context.js';
|
|
7
|
-
import { b as QtiAssessmentTest } from '../../qti-test-feedback-
|
|
8
|
-
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, d as QtiTestFeedback, c as QtiTestPart } from '../../qti-test-feedback-
|
|
7
|
+
import { b as QtiAssessmentTest } from '../../qti-test-feedback-DCZDtUuH.js';
|
|
8
|
+
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, d as QtiTestFeedback, c as QtiTestPart } from '../../qti-test-feedback-DCZDtUuH.js';
|
|
9
9
|
import '../../exports/expression-result.js';
|
|
10
10
|
import '../../exports/interaction.interface.js';
|
|
11
11
|
import 'lit-html/directives/ref.js';
|
|
12
|
-
import '
|
|
12
|
+
import '@heximal/templates';
|
|
13
13
|
|
|
14
14
|
declare abstract class TestBase extends LitElement {
|
|
15
15
|
testContext: Readonly<TestContext>;
|
|
@@ -5,13 +5,14 @@ import {
|
|
|
5
5
|
QtiTest,
|
|
6
6
|
QtiTestFeedback,
|
|
7
7
|
QtiTestPart
|
|
8
|
-
} from "../../chunks/chunk-
|
|
8
|
+
} from "../../chunks/chunk-YKLITOZB.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-
|
|
14
|
+
import "../../chunks/chunk-B3C3IFYR.js";
|
|
15
|
+
import "../../chunks/chunk-D3RGDWKP.js";
|
|
15
16
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
16
17
|
import "../../chunks/chunk-OOQLWOYU.js";
|
|
17
18
|
import "../../chunks/chunk-I7HVKMDI.js";
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Q as QtiAssessmentItem, f as QtiModalFeedback } from './qti-response-declaration-pCFZA_aW.js';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { LitElement } from 'lit';
|
|
4
|
+
import { TemplateFunction } from '@heximal/templates';
|
|
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
|
+
declare class QtiAssessmentItemRef extends LitElement {
|
|
11
|
+
category?: string;
|
|
12
|
+
identifier?: string;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
fixed?: boolean;
|
|
15
|
+
href?: string;
|
|
16
|
+
weigths: Map<string, number>;
|
|
17
|
+
xmlDoc: DocumentFragment;
|
|
18
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
19
|
+
get assessmentItem(): QtiAssessmentItem | null;
|
|
20
|
+
myTemplate: TemplateFunction;
|
|
21
|
+
connectedCallback(): Promise<void>;
|
|
22
|
+
render(): unknown;
|
|
23
|
+
}
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLElementTagNameMap {
|
|
26
|
+
'qti-assessment-item-ref': QtiAssessmentItemRef;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class QtiAssessmentSection extends LitElement {
|
|
31
|
+
identifier: string;
|
|
32
|
+
required: string;
|
|
33
|
+
fixed: boolean;
|
|
34
|
+
title: string;
|
|
35
|
+
visible: boolean;
|
|
36
|
+
keepTogether: boolean;
|
|
37
|
+
_testContext?: TestContext;
|
|
38
|
+
connectedCallback(): Promise<void>;
|
|
39
|
+
render(): lit_html.TemplateResult<1>;
|
|
40
|
+
}
|
|
41
|
+
declare global {
|
|
42
|
+
interface HTMLElementTagNameMap {
|
|
43
|
+
'qti-assessment-section': QtiAssessmentSection;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare class QtiAssessmentTest extends LitElement {
|
|
48
|
+
identifier: string;
|
|
49
|
+
title: string;
|
|
50
|
+
_testContext?: TestContext;
|
|
51
|
+
connectedCallback(): Promise<void>;
|
|
52
|
+
render(): lit_html.TemplateResult<1>;
|
|
53
|
+
}
|
|
54
|
+
declare global {
|
|
55
|
+
interface HTMLElementTagNameMap {
|
|
56
|
+
'qti-assessment-test': QtiAssessmentTest;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare class QtiTestPart extends LitElement {
|
|
61
|
+
identifier: string;
|
|
62
|
+
title: string;
|
|
63
|
+
class: string;
|
|
64
|
+
navigationMode: 'linear' | 'nonlinear';
|
|
65
|
+
submissionMode: 'individual' | 'simultaneous';
|
|
66
|
+
connectedCallback(): Promise<void>;
|
|
67
|
+
render(): lit_html.TemplateResult<1>;
|
|
68
|
+
}
|
|
69
|
+
declare global {
|
|
70
|
+
interface HTMLElementTagNameMap {
|
|
71
|
+
'qti-test-part': QtiTestPart;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare class QtiTestFeedback extends QtiModalFeedback {
|
|
76
|
+
static styles: lit.CSSResult;
|
|
77
|
+
render(): lit_html.TemplateResult<1>;
|
|
78
|
+
}
|
|
79
|
+
declare global {
|
|
80
|
+
interface HTMLElementTagNameMap {
|
|
81
|
+
'qti-test-feedback': QtiTestFeedback;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { QtiAssessmentItemRef as Q, type View as V, QtiAssessmentSection as a, QtiAssessmentTest as b, QtiTestPart as c, QtiTestFeedback as d };
|
|
@@ -861,26 +861,14 @@
|
|
|
861
861
|
},
|
|
862
862
|
{
|
|
863
863
|
"name": "test-next",
|
|
864
|
-
"description": "
|
|
865
|
-
"attributes": [
|
|
866
|
-
{
|
|
867
|
-
"name": "disabled",
|
|
868
|
-
"description": "Internal logic + external flag = effective disabled state (reflected)",
|
|
869
|
-
"values": []
|
|
870
|
-
}
|
|
871
|
-
],
|
|
864
|
+
"description": "Represents a custom element for navigating to the next test item.\n---\n\n\n### **Events:**\n - **qti-request-navigation**",
|
|
865
|
+
"attributes": [{ "name": "disabled", "values": [] }],
|
|
872
866
|
"references": []
|
|
873
867
|
},
|
|
874
868
|
{
|
|
875
869
|
"name": "test-prev",
|
|
876
|
-
"description": "
|
|
877
|
-
"attributes": [
|
|
878
|
-
{
|
|
879
|
-
"name": "disabled",
|
|
880
|
-
"description": "Internal logic + external flag = effective disabled state (reflected)",
|
|
881
|
-
"values": []
|
|
882
|
-
}
|
|
883
|
-
],
|
|
870
|
+
"description": "Represents a custom element for navigating to the previous test item.\n---\n\n\n### **Events:**\n - **qti-request-navigation**",
|
|
871
|
+
"attributes": [{ "name": "disabled", "values": [] }],
|
|
884
872
|
"references": []
|
|
885
873
|
},
|
|
886
874
|
{
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=20.0.0"
|
|
23
23
|
},
|
|
24
|
-
"version": "7.3.
|
|
24
|
+
"version": "7.3.7",
|
|
25
25
|
"type": "module",
|
|
26
26
|
"main": "dist/index.js",
|
|
27
27
|
"exports": {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@lit/context": "^1.1.3",
|
|
77
77
|
"lit": "^3.2.1",
|
|
78
|
-
"
|
|
78
|
+
"@heximal/templates": "^0.1.5"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@arethetypeswrong/cli": "^0.17.4",
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"prettier-v2": "npm:prettier@2.8.8",
|
|
144
144
|
"remark-gfm": "^4.0.1",
|
|
145
145
|
"shadow-dom-testing-library": "^1.12.0",
|
|
146
|
-
"
|
|
146
|
+
"@heximal/templates": "0.1.5",
|
|
147
147
|
"storybook": "^8.6.12",
|
|
148
148
|
"storybook-addon-tag-badges": "^1.4.0",
|
|
149
149
|
"stylelint": "^16.15.0",
|