@citolab/qti-components 7.0.6-beta.0 → 7.0.6-beta.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/{chunk-QGKK4T2J.js → chunks/chunk-3V6LA7B3.js} +1 -1
- package/cdn/chunks/chunk-4UJBK6JO.js +1 -0
- package/cdn/chunks/chunk-4WXQYE2P.js +8 -0
- package/cdn/{chunk-L4TDHAKL.js → chunks/chunk-5BR5CJFH.js} +5 -5
- package/cdn/chunks/chunk-5GCSZ3CH.js +73 -0
- package/cdn/{chunk-BLKKKK6C.js → chunks/chunk-5P7CTN7Q.js} +1 -1
- package/cdn/{chunk-A536ZOJJ.js → chunks/chunk-6S4CDN3T.js} +1 -1
- package/cdn/chunks/chunk-DZCKF45D.js +5 -0
- package/cdn/chunks/chunk-EHK76KRT.js +1 -0
- package/cdn/chunks/chunk-FTKONGII.js +934 -0
- package/cdn/chunks/chunk-IAP2CEE7.js +1 -0
- package/cdn/chunks/chunk-IMJOPCFR.js +1 -0
- package/cdn/chunks/chunk-KWPDTFYH.js +1 -0
- package/cdn/{chunk-MFWSHIPH.js → chunks/chunk-L4CUWIE6.js} +1 -1
- package/cdn/{chunk-4DFVJE2A.js → chunks/chunk-LZZB4VGC.js} +1 -1
- package/cdn/{chunk-SQDSHH6N.js → chunks/chunk-MJMONWKB.js} +1 -1
- package/cdn/{chunk-ROXN2HIJ.js → chunks/chunk-PKT2SJQD.js} +1 -1
- package/cdn/chunks/chunk-QQCGUVEV.js +1 -0
- package/cdn/chunks/chunk-R33OODNX.js +1 -0
- package/cdn/chunks/chunk-RXKI3AO4.js +1 -0
- package/cdn/chunks/chunk-TQBDBMWL.js +5 -0
- package/cdn/chunks/chunk-X2KBNXRO.js +6 -0
- package/cdn/chunks/chunk-XUJ7TXHW.js +1 -0
- package/cdn/exports/expression-result.js +0 -0
- package/cdn/exports/interaction.interface.js +0 -0
- package/cdn/exports/interaction.js +1 -0
- package/cdn/exports/item.context.js +1 -0
- package/cdn/exports/qti-assessment-item.context.js +1 -0
- package/cdn/exports/qti-condition-expression.js +1 -0
- package/cdn/exports/qti-expression.js +1 -0
- package/cdn/exports/variables.js +0 -0
- package/cdn/index.global.js +7 -58
- 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-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-component.abstract.js +1 -1
- package/cdn/qti-test/components/test-item-link.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-view.js +1 -1
- package/cdn/qti-test/core/index.js +1 -1
- package/cdn/qti-transformers/index.js +1 -1
- package/dist/{chunk-OO6JSYLP.js → chunks/chunk-2V6LQV2K.js} +6 -6
- package/dist/chunks/chunk-2V6LQV2K.js.map +1 -0
- package/dist/{chunk-ANLIJZBL.js → chunks/chunk-3EU75IUF.js} +4 -4
- package/dist/chunks/chunk-3EU75IUF.js.map +1 -0
- package/dist/{chunk-CNQYM52B.js → chunks/chunk-4GNVYCBN.js} +65 -7
- package/dist/chunks/chunk-4GNVYCBN.js.map +1 -0
- package/dist/{chunk-UB5K44DB.js → chunks/chunk-4O5F7WV7.js} +1 -1
- package/dist/chunks/chunk-4O5F7WV7.js.map +1 -0
- package/dist/{chunk-6SG3NMKU.js → chunks/chunk-4WVLWWYJ.js} +6 -6
- package/dist/chunks/chunk-4WVLWWYJ.js.map +1 -0
- package/dist/chunks/chunk-6JXR63MH.js +50 -0
- package/dist/chunks/chunk-6JXR63MH.js.map +1 -0
- package/dist/{chunk-4FH7P7YI.js → chunks/chunk-7QMCKYDR.js} +4 -4
- package/dist/chunks/chunk-7QMCKYDR.js.map +1 -0
- package/dist/{chunk-3TFUBCJW.js → chunks/chunk-A24F75DB.js} +4 -4
- package/dist/chunks/chunk-A24F75DB.js.map +1 -0
- package/dist/chunks/chunk-BPHQLJWE.js +102 -0
- package/dist/chunks/chunk-BPHQLJWE.js.map +1 -0
- package/dist/chunks/chunk-D3RGDWKP.js +37 -0
- package/dist/chunks/chunk-D3RGDWKP.js.map +1 -0
- package/dist/chunks/chunk-DLUJN2FW.js +22 -0
- package/dist/chunks/chunk-DLUJN2FW.js.map +1 -0
- package/dist/{chunk-UBZPSVSE.js → chunks/chunk-DU37U6PW.js} +5125 -5329
- package/dist/chunks/chunk-DU37U6PW.js.map +1 -0
- package/dist/{chunk-4YG2FPKK.js → chunks/chunk-ELDMXTUQ.js} +1 -1
- package/dist/chunks/chunk-ELDMXTUQ.js.map +1 -0
- package/dist/chunks/chunk-FV7HWK54.js +29 -0
- package/dist/chunks/chunk-FV7HWK54.js.map +1 -0
- package/dist/chunks/chunk-GSWZT6N2.js +50 -0
- package/dist/chunks/chunk-GSWZT6N2.js.map +1 -0
- package/dist/chunks/chunk-H2JE6IVU.js +15 -0
- package/dist/{chunk-QYN5S4EM.js → chunks/chunk-HHVRU3AJ.js} +5 -5
- package/dist/chunks/chunk-HHVRU3AJ.js.map +1 -0
- package/dist/{chunk-2CHF3TMY.js → chunks/chunk-J2SHENRN.js} +1 -1
- package/dist/chunks/chunk-KOEILLVS.js +8 -0
- package/dist/chunks/chunk-KOEILLVS.js.map +1 -0
- package/dist/{chunk-F7HTXGGH.js → chunks/chunk-KYAIMBP5.js} +3 -3
- package/dist/chunks/chunk-KYAIMBP5.js.map +1 -0
- package/dist/chunks/chunk-O6WEZVEM.js +43 -0
- package/dist/chunks/chunk-O6WEZVEM.js.map +1 -0
- package/dist/{chunk-F3NTI6TX.js → chunks/chunk-UFYWCLXF.js} +1 -1
- package/dist/chunks/chunk-UFYWCLXF.js.map +1 -0
- package/dist/chunks/chunk-UN2IFSGC.js +1 -0
- package/dist/{chunk-2OA7E3E7.js → chunks/chunk-XDMSEAYC.js} +1 -1
- package/dist/chunks/chunk-XDMSEAYC.js.map +1 -0
- package/dist/chunks/chunk-XSI6FXGD.js +19 -0
- package/dist/chunks/chunk-XSI6FXGD.js.map +1 -0
- package/dist/chunks/chunk-ZPNJ2HP5.js +71 -0
- package/dist/chunks/chunk-ZPNJ2HP5.js.map +1 -0
- package/dist/exports/expression-result.d.ts +19 -0
- package/dist/exports/expression-result.js +1 -0
- package/dist/exports/expression-result.js.map +1 -0
- package/dist/exports/interaction.d.ts +23 -0
- package/dist/exports/interaction.interface.d.ts +13 -0
- package/dist/exports/interaction.interface.js +1 -0
- package/dist/exports/interaction.interface.js.map +1 -0
- package/dist/exports/interaction.js +8 -0
- package/dist/exports/interaction.js.map +1 -0
- package/dist/exports/item.context.d.ts +12 -0
- package/dist/exports/item.context.js +8 -0
- package/dist/exports/item.context.js.map +1 -0
- package/dist/exports/qti-assessment-item.context.d.ts +10 -0
- package/dist/exports/qti-assessment-item.context.js +8 -0
- package/dist/exports/qti-assessment-item.context.js.map +1 -0
- package/dist/exports/qti-condition-expression.d.ts +13 -0
- package/dist/exports/qti-condition-expression.js +10 -0
- package/dist/exports/qti-condition-expression.js.map +1 -0
- package/dist/exports/qti-expression.d.ts +21 -0
- package/dist/exports/qti-expression.js +9 -0
- package/dist/exports/qti-expression.js.map +1 -0
- package/dist/exports/variables.d.ts +3 -0
- package/dist/exports/variables.js +1 -0
- package/dist/exports/variables.js.map +1 -0
- package/dist/index.d.ts +12 -3
- package/dist/index.js +35 -28
- package/dist/qti-components/index.d.ts +36 -9
- package/dist/qti-components/index.js +10 -16
- package/dist/qti-components-jsx.d.ts +328 -623
- package/dist/qti-item/core/index.js +5 -5
- package/dist/qti-loader/index.d.ts +7 -1
- package/dist/qti-loader/index.js +5 -23
- package/dist/qti-loader/index.js.map +1 -1
- package/dist/{qti-simple-choice-DxWcdKHi.d.ts → qti-response-declaration-DAeBp8HH.d.ts} +463 -613
- package/dist/qti-test/components/index.d.ts +8 -2
- package/dist/qti-test/components/index.js +12 -11
- package/dist/qti-test/components/styles.js +2 -2
- package/dist/qti-test/components/test-component.abstract.d.ts +8 -2
- package/dist/qti-test/components/test-component.abstract.js +5 -4
- package/dist/qti-test/components/test-item-link.d.ts +8 -2
- package/dist/qti-test/components/test-item-link.js +7 -6
- package/dist/qti-test/components/test-next.d.ts +8 -2
- package/dist/qti-test/components/test-next.js +7 -6
- package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +8 -2
- package/dist/qti-test/components/test-paging-buttons-stamp.js +6 -5
- package/dist/qti-test/components/test-prev.d.ts +8 -2
- package/dist/qti-test/components/test-prev.js +7 -6
- package/dist/qti-test/components/test-view.d.ts +8 -2
- package/dist/qti-test/components/test-view.js +6 -5
- package/dist/qti-test/core/index.d.ts +15 -4
- package/dist/qti-test/core/index.js +6 -6
- package/dist/qti-transformers/index.js +2 -2
- package/dist/{test.context-DbSTxKk_.d.ts → test.context-CaENAJNk.d.ts} +4 -2
- package/dist/variables-cO3DzqJy.d.ts +33 -0
- package/dist/vscode.html-custom-data.json +208 -275
- package/package.json +14 -20
- package/cdn/chunk-4I75QSIL.js +0 -8
- package/cdn/chunk-5WCOPF7O.js +0 -73
- package/cdn/chunk-DC2R556M.js +0 -5
- package/cdn/chunk-GALSGMIP.js +0 -5
- package/cdn/chunk-KYOTSBCX.js +0 -1
- package/cdn/chunk-T4A5AZCI.js +0 -939
- package/cdn/chunk-VI2WKTN4.js +0 -1
- package/cdn/qti-components/index.global.js +0 -226
- package/cdn/qti-item/core/index.global.js +0 -149
- package/cdn/qti-loader/index.global.js +0 -1
- package/cdn/qti-test/components/index.global.js +0 -207
- package/cdn/qti-test/components/styles.global.js +0 -44
- package/cdn/qti-test/components/test-component.abstract.global.js +0 -170
- package/cdn/qti-test/components/test-item-link.global.js +0 -170
- package/cdn/qti-test/components/test-next.global.js +0 -170
- package/cdn/qti-test/components/test-next.spec.css +0 -1
- package/cdn/qti-test/components/test-next.spec.global.js +0 -64
- package/cdn/qti-test/components/test-next.spec.js +0 -713
- package/cdn/qti-test/components/test-paging-buttons-stamp.global.js +0 -207
- package/cdn/qti-test/components/test-prev.global.js +0 -170
- package/cdn/qti-test/components/test-view.global.js +0 -170
- package/cdn/qti-test/core/index.global.js +0 -205
- package/cdn/qti-transformers/index.global.js +0 -1
- package/dist/chunk-2OA7E3E7.js.map +0 -1
- package/dist/chunk-3TFUBCJW.js.map +0 -1
- package/dist/chunk-44VE5POH.js +0 -55
- package/dist/chunk-4FH7P7YI.js.map +0 -1
- package/dist/chunk-4YG2FPKK.js.map +0 -1
- package/dist/chunk-6SG3NMKU.js.map +0 -1
- package/dist/chunk-ANLIJZBL.js.map +0 -1
- package/dist/chunk-CNQYM52B.js.map +0 -1
- package/dist/chunk-F3NTI6TX.js.map +0 -1
- package/dist/chunk-F7HTXGGH.js.map +0 -1
- package/dist/chunk-MAC76UNI.js +0 -1
- package/dist/chunk-OO6JSYLP.js.map +0 -1
- package/dist/chunk-QYN5S4EM.js.map +0 -1
- package/dist/chunk-UB5K44DB.js.map +0 -1
- package/dist/chunk-UBZPSVSE.js.map +0 -1
- package/dist/qti-test/components/test-next.spec.css +0 -2481
- package/dist/qti-test/components/test-next.spec.css.map +0 -1
- package/dist/qti-test/components/test-next.spec.d.ts +0 -13
- package/dist/qti-test/components/test-next.spec.js +0 -45904
- package/dist/qti-test/components/test-next.spec.js.map +0 -1
- /package/cdn/{chunk-22HAPLRD.js → chunks/chunk-3GO57DNP.js} +0 -0
- /package/cdn/{chunk-LVW3MHTI.js → chunks/chunk-5FCXUJAG.js} +0 -0
- /package/cdn/{chunk-IXSX4SJX.js → chunks/chunk-6MCYE7P5.js} +0 -0
- /package/cdn/{chunk-M6AATWPS.js → chunks/chunk-FRS2J3OS.js} +0 -0
- /package/dist/{chunk-44VE5POH.js.map → chunks/chunk-H2JE6IVU.js.map} +0 -0
- /package/dist/{chunk-2CHF3TMY.js.map → chunks/chunk-J2SHENRN.js.map} +0 -0
- /package/dist/{chunk-MAC76UNI.js.map → chunks/chunk-UN2IFSGC.js.map} +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as lit_html from 'lit-html';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { LitElement } from 'lit';
|
|
4
|
+
import { V as VariableDeclaration } from '../variables-cO3DzqJy.js';
|
|
5
|
+
import { ItemContext } from './item.context.js';
|
|
6
|
+
import './expression-result.js';
|
|
7
|
+
|
|
8
|
+
interface QtiExpressionBase<T> {
|
|
9
|
+
calculate(): Readonly<T>;
|
|
10
|
+
}
|
|
11
|
+
declare abstract class QtiExpression<T> extends LitElement implements QtiExpressionBase<T> {
|
|
12
|
+
protected result: any;
|
|
13
|
+
static styles: lit.CSSResult;
|
|
14
|
+
render(): lit_html.TemplateResult<1>;
|
|
15
|
+
calculate(): Readonly<T>;
|
|
16
|
+
protected getResult(): Readonly<T>;
|
|
17
|
+
protected context?: ItemContext;
|
|
18
|
+
getVariables: () => VariableDeclaration<number | string | (number | string)[] | null>[];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { QtiExpression, type QtiExpressionBase };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=variables.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { QtiBaseValue, QtiContains, QtiCorrect, QtiEqual, QtiEqualRounded, QtiGt, QtiGte, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMatch, QtiMember, QtiMultiple, QtiNot, QtiOr, QtiOrdered, QtiPositionObjectInteraction, QtiPrintedVariable, QtiProduct, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiStringMatch, QtiSum, QtiSumExpression, QtiVariable } from './qti-components/index.js';
|
|
1
|
+
export { O as Orientation, Q as QtiAssessmentItem, a as QtiAssessmentStimulusRef, g as QtiAssociableHotspot, h as QtiAssociateInteraction, i as QtiChoiceInteraction, b as QtiCompanionMaterialsInfo, W as QtiContentBody, j as QtiCustomInteraction, c as QtiCustomOperator, k as QtiEndAttemptInteraction, l as QtiExtendedTextInteraction, d as QtiFeedbackBlock, e as QtiFeedbackInline, p as QtiGap, m as QtiGapImg, n as QtiGapMatchInteraction, o as QtiGapText, q as QtiGraphicAssociateInteraction, r as QtiGraphicGapMatchInteraction, s as QtiGraphicOrderInteraction, t as QtiHotspotChoice, u as QtiHotspotInteraction, w as QtiHottext, v as QtiHottextInteraction, y as QtiInlineChoice, x as QtiInlineChoiceInteraction, K as QtiItemBody, R as QtiLookupOutcomeValue, z as QtiMatchInteraction, A as QtiMediaInteraction, f as QtiModalFeedback, B as QtiOrderInteraction, Z as QtiOutcomeDeclaration, L as QtiOutcomeProcessing, M as QtiOutcomeProcessingProcessor, C as QtiPortableCustomInteraction, D as QtiPositionObjectStage, N as QtiPrompt, _ as QtiResponseDeclaration, P as QtiResponseProcessing, X as QtiRubricBlock, U as QtiRule, V as QtiRuleBase, E as QtiSelectPointInteraction, F as QtiSimpleAssociableChoice, G as QtiSimpleChoice, H as QtiSliderInteraction, Y as QtiStylesheet, S as QtiSubtract, I as QtiTextEntryInteraction, J as QtiUploadInteraction, T as qtiSubtractMixin } from './qti-response-declaration-DAeBp8HH.js';
|
|
2
|
+
export { QtiAnd, QtiBaseValue, QtiContains, QtiCorrect, QtiEqual, QtiEqualRounded, QtiGt, QtiGte, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMatch, QtiMember, QtiMultiple, QtiNot, QtiOr, QtiOrdered, QtiPositionObjectInteraction, QtiPrintedVariable, QtiProduct, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiStringMatch, QtiSum, QtiSumExpression, QtiVariable, qtiAndMixin } from './qti-components/index.js';
|
|
3
|
+
export { Q as QtiMapping } from './variables-cO3DzqJy.js';
|
|
3
4
|
export { QtiTest, TestContainer } from './qti-test/core/index.js';
|
|
4
|
-
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, b as QtiAssessmentTest, c as QtiTestPart, T as TestContext, d as TestElement, t as testContext, e as testElement } from './test.context-
|
|
5
|
+
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, b as QtiAssessmentTest, c as QtiTestPart, T as TestContext, d as TestElement, t as testContext, e as testElement } from './test.context-CaENAJNk.js';
|
|
5
6
|
export { TestComponent } from './qti-test/components/test-component.abstract.js';
|
|
6
7
|
export { TestNext } from './qti-test/components/test-next.js';
|
|
7
8
|
export { TestPrev } from './qti-test/components/test-prev.js';
|
|
@@ -9,6 +10,14 @@ export { TestView } from './qti-test/components/test-view.js';
|
|
|
9
10
|
export { TestItemLink } from './qti-test/components/test-item-link.js';
|
|
10
11
|
export { TestPagingButtonsStamp } from './qti-test/components/test-paging-buttons-stamp.js';
|
|
11
12
|
export { ItemContainer, QtiItem } from './qti-item/core/index.js';
|
|
13
|
+
export { ManifestInfo, getItemByUri, getManifestInfo } from './qti-loader/index.js';
|
|
14
|
+
export { qtiTransformItem, qtiTransformManifest, qtiTransformTest, transformItemApi, transformTestApi } from './qti-transformers/index.js';
|
|
12
15
|
import 'lit-html';
|
|
13
16
|
import 'lit';
|
|
17
|
+
import './exports/expression-result.js';
|
|
18
|
+
import './exports/interaction.interface.js';
|
|
19
|
+
import './exports/interaction.js';
|
|
14
20
|
import 'lit-html/directives/ref.js';
|
|
21
|
+
import './exports/qti-expression.js';
|
|
22
|
+
import './exports/item.context.js';
|
|
23
|
+
import './exports/qti-condition-expression.js';
|
package/dist/index.js
CHANGED
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
QtiTest,
|
|
6
6
|
QtiTestPart,
|
|
7
7
|
TestContainer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunks/chunk-4GNVYCBN.js";
|
|
9
9
|
import {
|
|
10
|
-
ActiveElementMixin,
|
|
11
|
-
Interaction,
|
|
12
10
|
QtiAnd,
|
|
13
11
|
QtiAssessmentItem,
|
|
14
12
|
QtiAssessmentStimulusRef,
|
|
@@ -17,7 +15,6 @@ import {
|
|
|
17
15
|
QtiBaseValue,
|
|
18
16
|
QtiChoiceInteraction,
|
|
19
17
|
QtiCompanionMaterialsInfo,
|
|
20
|
-
QtiConditionExpression,
|
|
21
18
|
QtiContains,
|
|
22
19
|
QtiContentBody,
|
|
23
20
|
QtiCorrect,
|
|
@@ -26,7 +23,6 @@ import {
|
|
|
26
23
|
QtiEndAttemptInteraction,
|
|
27
24
|
QtiEqual,
|
|
28
25
|
QtiEqualRounded,
|
|
29
|
-
QtiExpression,
|
|
30
26
|
QtiExtendedTextInteraction,
|
|
31
27
|
QtiFeedbackBlock,
|
|
32
28
|
QtiFeedbackInline,
|
|
@@ -93,46 +89,56 @@ import {
|
|
|
93
89
|
QtiTextEntryInteraction,
|
|
94
90
|
QtiUploadInteraction,
|
|
95
91
|
QtiVariable,
|
|
96
|
-
itemContext,
|
|
97
|
-
itemContextVariables,
|
|
98
92
|
qtiAndMixin,
|
|
99
93
|
qtiSubtractMixin
|
|
100
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunks/chunk-DU37U6PW.js";
|
|
95
|
+
import {
|
|
96
|
+
getItemByUri,
|
|
97
|
+
getManifestInfo
|
|
98
|
+
} from "./chunks/chunk-FV7HWK54.js";
|
|
101
99
|
import {
|
|
102
100
|
ItemContainer,
|
|
103
101
|
QtiItem
|
|
104
|
-
} from "./chunk-
|
|
105
|
-
import "./chunk-
|
|
106
|
-
import
|
|
107
|
-
|
|
102
|
+
} from "./chunks/chunk-HHVRU3AJ.js";
|
|
103
|
+
import "./chunks/chunk-J2SHENRN.js";
|
|
104
|
+
import {
|
|
105
|
+
qtiTransformItem,
|
|
106
|
+
qtiTransformManifest,
|
|
107
|
+
qtiTransformTest
|
|
108
|
+
} from "./chunks/chunk-XDMSEAYC.js";
|
|
109
|
+
import "./chunks/chunk-UN2IFSGC.js";
|
|
108
110
|
import {
|
|
109
111
|
TestItemLink
|
|
110
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunks/chunk-7QMCKYDR.js";
|
|
111
113
|
import {
|
|
112
114
|
TestNext
|
|
113
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunks/chunk-6JXR63MH.js";
|
|
114
116
|
import {
|
|
115
117
|
TestPagingButtonsStamp
|
|
116
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunks/chunk-KYAIMBP5.js";
|
|
117
119
|
import {
|
|
118
120
|
TestPrev
|
|
119
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunks/chunk-GSWZT6N2.js";
|
|
120
122
|
import {
|
|
121
123
|
TestView
|
|
122
|
-
} from "./chunk-
|
|
123
|
-
import "./chunk-
|
|
124
|
+
} from "./chunks/chunk-A24F75DB.js";
|
|
125
|
+
import "./chunks/chunk-4O5F7WV7.js";
|
|
124
126
|
import {
|
|
125
127
|
TestComponent
|
|
126
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunks/chunk-3EU75IUF.js";
|
|
127
129
|
import {
|
|
128
130
|
testContext,
|
|
129
131
|
testElement
|
|
130
|
-
} from "./chunk-
|
|
131
|
-
import "./chunk-
|
|
132
|
-
import "./chunk-
|
|
132
|
+
} from "./chunks/chunk-UFYWCLXF.js";
|
|
133
|
+
import "./chunks/chunk-D3RGDWKP.js";
|
|
134
|
+
import "./chunks/chunk-ELDMXTUQ.js";
|
|
135
|
+
import "./chunks/chunk-ZPNJ2HP5.js";
|
|
136
|
+
import "./chunks/chunk-DLUJN2FW.js";
|
|
137
|
+
import "./chunks/chunk-XSI6FXGD.js";
|
|
138
|
+
import "./chunks/chunk-BPHQLJWE.js";
|
|
139
|
+
import "./chunks/chunk-KOEILLVS.js";
|
|
140
|
+
import "./chunks/chunk-H2JE6IVU.js";
|
|
133
141
|
export {
|
|
134
|
-
ActiveElementMixin,
|
|
135
|
-
Interaction,
|
|
136
142
|
ItemContainer,
|
|
137
143
|
QtiAnd,
|
|
138
144
|
QtiAssessmentItem,
|
|
@@ -145,7 +151,6 @@ export {
|
|
|
145
151
|
QtiBaseValue,
|
|
146
152
|
QtiChoiceInteraction,
|
|
147
153
|
QtiCompanionMaterialsInfo,
|
|
148
|
-
QtiConditionExpression,
|
|
149
154
|
QtiContains,
|
|
150
155
|
QtiContentBody,
|
|
151
156
|
QtiCorrect,
|
|
@@ -154,7 +159,6 @@ export {
|
|
|
154
159
|
QtiEndAttemptInteraction,
|
|
155
160
|
QtiEqual,
|
|
156
161
|
QtiEqualRounded,
|
|
157
|
-
QtiExpression,
|
|
158
162
|
QtiExtendedTextInteraction,
|
|
159
163
|
QtiFeedbackBlock,
|
|
160
164
|
QtiFeedbackInline,
|
|
@@ -231,10 +235,13 @@ export {
|
|
|
231
235
|
TestPagingButtonsStamp,
|
|
232
236
|
TestPrev,
|
|
233
237
|
TestView,
|
|
234
|
-
|
|
235
|
-
|
|
238
|
+
getItemByUri,
|
|
239
|
+
getManifestInfo,
|
|
236
240
|
qtiAndMixin,
|
|
237
241
|
qtiSubtractMixin,
|
|
242
|
+
qtiTransformItem,
|
|
243
|
+
qtiTransformManifest,
|
|
244
|
+
qtiTransformTest,
|
|
238
245
|
testContext,
|
|
239
246
|
testElement
|
|
240
247
|
};
|
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import * as lit_html from 'lit-html';
|
|
1
|
+
import { U as QtiRule, V as QtiRuleBase } from '../qti-response-declaration-DAeBp8HH.js';
|
|
2
|
+
export { O as Orientation, Q as QtiAssessmentItem, a as QtiAssessmentStimulusRef, g as QtiAssociableHotspot, h as QtiAssociateInteraction, i as QtiChoiceInteraction, b as QtiCompanionMaterialsInfo, W as QtiContentBody, j as QtiCustomInteraction, c as QtiCustomOperator, k as QtiEndAttemptInteraction, l as QtiExtendedTextInteraction, d as QtiFeedbackBlock, e as QtiFeedbackInline, p as QtiGap, m as QtiGapImg, n as QtiGapMatchInteraction, o as QtiGapText, q as QtiGraphicAssociateInteraction, r as QtiGraphicGapMatchInteraction, s as QtiGraphicOrderInteraction, t as QtiHotspotChoice, u as QtiHotspotInteraction, w as QtiHottext, v as QtiHottextInteraction, y as QtiInlineChoice, x as QtiInlineChoiceInteraction, K as QtiItemBody, R as QtiLookupOutcomeValue, z as QtiMatchInteraction, A as QtiMediaInteraction, f as QtiModalFeedback, B as QtiOrderInteraction, Z as QtiOutcomeDeclaration, L as QtiOutcomeProcessing, M as QtiOutcomeProcessingProcessor, C as QtiPortableCustomInteraction, D as QtiPositionObjectStage, N as QtiPrompt, _ as QtiResponseDeclaration, P as QtiResponseProcessing, X as QtiRubricBlock, E as QtiSelectPointInteraction, F as QtiSimpleAssociableChoice, G as QtiSimpleChoice, H as QtiSliderInteraction, Y as QtiStylesheet, S as QtiSubtract, I as QtiTextEntryInteraction, J as QtiUploadInteraction, T as qtiSubtractMixin } from '../qti-response-declaration-DAeBp8HH.js';
|
|
4
3
|
import * as lit from 'lit';
|
|
5
4
|
import { LitElement } from 'lit';
|
|
5
|
+
import * as lit_html from 'lit-html';
|
|
6
|
+
import { QtiExpressionBase, QtiExpression } from '../exports/qti-expression.js';
|
|
7
|
+
import { QtiConditionExpression } from '../exports/qti-condition-expression.js';
|
|
8
|
+
import { BaseType } from '../exports/expression-result.js';
|
|
9
|
+
import { R as ResponseVariable, V as VariableDeclaration } from '../variables-cO3DzqJy.js';
|
|
10
|
+
export { Q as QtiMapping } from '../variables-cO3DzqJy.js';
|
|
11
|
+
import { ItemContext } from '../exports/item.context.js';
|
|
12
|
+
import '../exports/interaction.interface.js';
|
|
13
|
+
import '../exports/interaction.js';
|
|
6
14
|
import 'lit-html/directives/ref.js';
|
|
7
15
|
|
|
16
|
+
declare class QtiPositionObjectInteraction extends LitElement {
|
|
17
|
+
render(): lit_html.TemplateResult<1>;
|
|
18
|
+
static styles: lit.CSSResult[];
|
|
19
|
+
}
|
|
20
|
+
|
|
8
21
|
declare class QtiResponseCondition extends QtiRule {
|
|
9
22
|
render(): lit_html.TemplateResult<1>;
|
|
10
23
|
process(): void;
|
|
@@ -35,6 +48,25 @@ declare class QtiResponseElseIf extends QtiResponseIf {
|
|
|
35
48
|
render(): lit_html.TemplateResult<1>;
|
|
36
49
|
}
|
|
37
50
|
|
|
51
|
+
type Constructor<T> = new (...args: any[]) => T;
|
|
52
|
+
declare const QtiAnd_base: {
|
|
53
|
+
new (...args: any[]): {
|
|
54
|
+
calculateChildren(children: Array<MockQtiExpression<any>>): boolean;
|
|
55
|
+
};
|
|
56
|
+
} & Constructor<QtiConditionExpression>;
|
|
57
|
+
declare class QtiAnd extends QtiAnd_base {
|
|
58
|
+
calculate(): boolean;
|
|
59
|
+
}
|
|
60
|
+
type MockQtiExpression<T> = {
|
|
61
|
+
calculate: () => T;
|
|
62
|
+
};
|
|
63
|
+
type MockConstructor = new (...args: any[]) => {};
|
|
64
|
+
declare function qtiAndMixin<TBase extends MockConstructor>(Base: TBase): {
|
|
65
|
+
new (...args: any[]): {
|
|
66
|
+
calculateChildren(children: Array<MockQtiExpression<any>>): boolean;
|
|
67
|
+
};
|
|
68
|
+
} & TBase;
|
|
69
|
+
|
|
38
70
|
declare class QtiBaseValue extends QtiExpression<string> {
|
|
39
71
|
baseType: BaseType;
|
|
40
72
|
getResult(): string;
|
|
@@ -142,9 +174,4 @@ declare class QtiVariable extends QtiExpression<string | string[]> {
|
|
|
142
174
|
getResult(): Readonly<string | string[]>;
|
|
143
175
|
}
|
|
144
176
|
|
|
145
|
-
|
|
146
|
-
render(): lit_html.TemplateResult<1>;
|
|
147
|
-
static styles: lit.CSSResult[];
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
export { BaseType, ItemContext, QtiBaseValue, QtiConditionExpression, QtiContains, QtiCorrect, QtiEqual, QtiEqualRounded, QtiExpression, QtiExpressionBase, QtiGt, QtiGte, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMatch, QtiMember, QtiMultiple, QtiNot, QtiOr, QtiOrdered, QtiPositionObjectInteraction, QtiPrintedVariable, QtiProduct, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRule, QtiRuleBase, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiStringMatch, QtiSum, QtiSumExpression, QtiVariable, ResponseVariable, VariableDeclaration };
|
|
177
|
+
export { QtiAnd, QtiBaseValue, QtiContains, QtiCorrect, QtiEqual, QtiEqualRounded, QtiGt, QtiGte, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMatch, QtiMember, QtiMultiple, QtiNot, QtiOr, QtiOrdered, QtiPositionObjectInteraction, QtiPrintedVariable, QtiProduct, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRule, QtiRuleBase, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiStringMatch, QtiSum, QtiSumExpression, QtiVariable, qtiAndMixin };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ActiveElementMixin,
|
|
3
|
-
Interaction,
|
|
4
2
|
QtiAnd,
|
|
5
3
|
QtiAssessmentItem,
|
|
6
4
|
QtiAssessmentStimulusRef,
|
|
@@ -9,7 +7,6 @@ import {
|
|
|
9
7
|
QtiBaseValue,
|
|
10
8
|
QtiChoiceInteraction,
|
|
11
9
|
QtiCompanionMaterialsInfo,
|
|
12
|
-
QtiConditionExpression,
|
|
13
10
|
QtiContains,
|
|
14
11
|
QtiContentBody,
|
|
15
12
|
QtiCorrect,
|
|
@@ -18,7 +15,6 @@ import {
|
|
|
18
15
|
QtiEndAttemptInteraction,
|
|
19
16
|
QtiEqual,
|
|
20
17
|
QtiEqualRounded,
|
|
21
|
-
QtiExpression,
|
|
22
18
|
QtiExtendedTextInteraction,
|
|
23
19
|
QtiFeedbackBlock,
|
|
24
20
|
QtiFeedbackInline,
|
|
@@ -85,17 +81,19 @@ import {
|
|
|
85
81
|
QtiTextEntryInteraction,
|
|
86
82
|
QtiUploadInteraction,
|
|
87
83
|
QtiVariable,
|
|
88
|
-
itemContext,
|
|
89
|
-
itemContextVariables,
|
|
90
84
|
qtiAndMixin,
|
|
91
85
|
qtiSubtractMixin
|
|
92
|
-
} from "../chunk-
|
|
93
|
-
import "../chunk-
|
|
94
|
-
import "../chunk-
|
|
95
|
-
import "../chunk-
|
|
86
|
+
} from "../chunks/chunk-DU37U6PW.js";
|
|
87
|
+
import "../chunks/chunk-XDMSEAYC.js";
|
|
88
|
+
import "../chunks/chunk-D3RGDWKP.js";
|
|
89
|
+
import "../chunks/chunk-ELDMXTUQ.js";
|
|
90
|
+
import "../chunks/chunk-ZPNJ2HP5.js";
|
|
91
|
+
import "../chunks/chunk-DLUJN2FW.js";
|
|
92
|
+
import "../chunks/chunk-XSI6FXGD.js";
|
|
93
|
+
import "../chunks/chunk-BPHQLJWE.js";
|
|
94
|
+
import "../chunks/chunk-KOEILLVS.js";
|
|
95
|
+
import "../chunks/chunk-H2JE6IVU.js";
|
|
96
96
|
export {
|
|
97
|
-
ActiveElementMixin,
|
|
98
|
-
Interaction,
|
|
99
97
|
QtiAnd,
|
|
100
98
|
QtiAssessmentItem,
|
|
101
99
|
QtiAssessmentStimulusRef,
|
|
@@ -104,7 +102,6 @@ export {
|
|
|
104
102
|
QtiBaseValue,
|
|
105
103
|
QtiChoiceInteraction,
|
|
106
104
|
QtiCompanionMaterialsInfo,
|
|
107
|
-
QtiConditionExpression,
|
|
108
105
|
QtiContains,
|
|
109
106
|
QtiContentBody,
|
|
110
107
|
QtiCorrect,
|
|
@@ -113,7 +110,6 @@ export {
|
|
|
113
110
|
QtiEndAttemptInteraction,
|
|
114
111
|
QtiEqual,
|
|
115
112
|
QtiEqualRounded,
|
|
116
|
-
QtiExpression,
|
|
117
113
|
QtiExtendedTextInteraction,
|
|
118
114
|
QtiFeedbackBlock,
|
|
119
115
|
QtiFeedbackInline,
|
|
@@ -180,8 +176,6 @@ export {
|
|
|
180
176
|
QtiTextEntryInteraction,
|
|
181
177
|
QtiUploadInteraction,
|
|
182
178
|
QtiVariable,
|
|
183
|
-
itemContext,
|
|
184
|
-
itemContextVariables,
|
|
185
179
|
qtiAndMixin,
|
|
186
180
|
qtiSubtractMixin
|
|
187
181
|
};
|