@citolab/qti-components 7.27.2 → 7.27.4
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/index.global.js +1 -1
- package/cdn/index.js +230 -212
- package/custom-elements.json +4214 -1176
- package/dist/base.d.ts +3 -2
- package/dist/base.js +1 -1
- package/dist/{chunk-TZMDZQFG.js → chunk-3HJE3KRM.js} +469 -221
- package/dist/chunk-3HJE3KRM.js.map +1 -0
- package/dist/{chunk-75ME6QG5.js → chunk-424AWLRU.js} +18 -18
- package/dist/{chunk-QUWFDFGZ.js → chunk-FFESMKSD.js} +277 -21
- package/dist/chunk-FFESMKSD.js.map +1 -0
- package/dist/{chunk-G5ZUC3OT.js → chunk-LQZCSHN5.js} +23 -23
- package/dist/chunk-LQZCSHN5.js.map +1 -0
- package/dist/{chunk-DG5TP35K.js → chunk-N7S3GNUP.js} +5 -5
- package/dist/{chunk-DG5TP35K.js.map → chunk-N7S3GNUP.js.map} +1 -1
- package/dist/{chunk-RXRKP6P7.js → chunk-SX63OCDZ.js} +2 -2
- package/dist/{chunk-K7HR6ZAY.js → chunk-UKPCQKPF.js} +2 -2
- package/dist/chunk-UKPCQKPF.js.map +1 -0
- package/dist/{chunk-KY3II5OX.js → chunk-XYTJOQRZ.js} +240 -202
- package/dist/chunk-XYTJOQRZ.js.map +1 -0
- package/dist/{chunk-GG36UR7F.js → chunk-YLIYPNMK.js} +1004 -12
- package/dist/chunk-YLIYPNMK.js.map +1 -0
- package/dist/{chunk-TORB5UN2.js → chunk-Z2SUBRH5.js} +304 -243
- package/dist/chunk-Z2SUBRH5.js.map +1 -0
- package/dist/elements.d.ts +67 -2
- package/dist/elements.js +10 -6
- package/dist/index.d.ts +5 -4
- package/dist/index.js +55 -11
- package/dist/interactions.d.ts +8 -7
- package/dist/interactions.js +3 -3
- package/dist/item.js +4 -4
- package/dist/loader.d.ts +2 -1
- package/dist/loader.js +2 -2
- package/dist/processing.d.ts +374 -17
- package/dist/processing.js +42 -2
- package/dist/qti-components-jsx.d.ts +1183 -126
- package/dist/{qti-rule-base-DGhWN-as.d.ts → qti-condition-expression-B1BYmCcq.d.ts} +1 -14
- package/dist/{qti-feedback-BZjWNyxP.d.ts → qti-feedback-ChmXhZuf.d.ts} +1 -1
- package/dist/qti-rule-base-ajOnfGXY.d.ts +16 -0
- package/dist/test.d.ts +2 -1
- package/dist/test.js +6 -6
- package/dist/transformers.js +1 -1
- package/package.json +11 -11
- package/dist/chunk-G5ZUC3OT.js.map +0 -1
- package/dist/chunk-GG36UR7F.js.map +0 -1
- package/dist/chunk-K7HR6ZAY.js.map +0 -1
- package/dist/chunk-KY3II5OX.js.map +0 -1
- package/dist/chunk-QUWFDFGZ.js.map +0 -1
- package/dist/chunk-TORB5UN2.js.map +0 -1
- package/dist/chunk-TZMDZQFG.js.map +0 -1
- /package/dist/{chunk-75ME6QG5.js.map → chunk-424AWLRU.js.map} +0 -0
- /package/dist/{chunk-RXRKP6P7.js.map → chunk-SX63OCDZ.js.map} +0 -0
package/dist/elements.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import * as lit from 'lit';
|
|
|
2
2
|
import { LitElement, CSSResultGroup, PropertyValueMap } from 'lit';
|
|
3
3
|
import { g as VariableValue, R as ResponseInteraction, f as ResponseVariable, b as OutcomeVariable, V as VariableDeclaration, C as Calculate, B as BaseType, a as Cardinality, T as TemplateVariable } from './variables-CMYcDbyW.js';
|
|
4
4
|
import { I as ItemContext } from './item.context-CkUeDcaO.js';
|
|
5
|
-
import { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback-
|
|
5
|
+
import { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback-ChmXhZuf.js';
|
|
6
|
+
import { Q as QtiRuleBase } from './qti-rule-base-ajOnfGXY.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @summary The qti-assessment-item element contains all the other QTI 3 item structures.
|
|
@@ -69,6 +70,14 @@ declare class QtiAssessmentItem extends LitElement {
|
|
|
69
70
|
* @param value - The new value for the response variable.
|
|
70
71
|
*/
|
|
71
72
|
updateResponseVariable(identifier: string, value: string | string[] | undefined): void;
|
|
73
|
+
/**
|
|
74
|
+
* Updates the template variable with the specified identifier to the given value.
|
|
75
|
+
*/
|
|
76
|
+
updateTemplateVariable(identifier: string, value: string | string[] | undefined): void;
|
|
77
|
+
/**
|
|
78
|
+
* Updates the correct response for the specified response variable.
|
|
79
|
+
*/
|
|
80
|
+
updateCorrectResponse(identifier: string, value: string | string[] | undefined): void;
|
|
72
81
|
setOutcomeVariable(identifier: string, value: string | string[] | undefined): void;
|
|
73
82
|
/**
|
|
74
83
|
* Updates the outcome variable with the specified identifier to the given value.
|
|
@@ -210,7 +219,11 @@ declare global {
|
|
|
210
219
|
}
|
|
211
220
|
|
|
212
221
|
declare class QtiContentBody extends LitElement {
|
|
222
|
+
#private;
|
|
223
|
+
protected context?: ItemContext;
|
|
213
224
|
render(): lit.TemplateResult<1>;
|
|
225
|
+
connectedCallback(): void;
|
|
226
|
+
protected updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
214
227
|
}
|
|
215
228
|
declare global {
|
|
216
229
|
interface HTMLElementTagNameMap {
|
|
@@ -315,6 +328,58 @@ declare global {
|
|
|
315
328
|
}
|
|
316
329
|
}
|
|
317
330
|
|
|
331
|
+
/**
|
|
332
|
+
* @summary The qti-template-processing element contains template processing rules.
|
|
333
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.template-processing
|
|
334
|
+
*/
|
|
335
|
+
declare class QtiTemplateProcessing extends LitElement {
|
|
336
|
+
#private;
|
|
337
|
+
static styles: lit.CSSResult[];
|
|
338
|
+
render(): lit.TemplateResult<1>;
|
|
339
|
+
/**
|
|
340
|
+
* Process template rules to set template variable values
|
|
341
|
+
*/
|
|
342
|
+
process(): void;
|
|
343
|
+
firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
344
|
+
}
|
|
345
|
+
declare global {
|
|
346
|
+
interface HTMLElementTagNameMap {
|
|
347
|
+
'qti-template-processing': QtiTemplateProcessing;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* @summary The qti-template-constraint element is a processing rule available only in Template Processing.
|
|
353
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.template-constraint
|
|
354
|
+
*
|
|
355
|
+
* It terminates Template Processing and re-runs it from the beginning if the condition
|
|
356
|
+
* specified in the template constraint is not satisfied. This can be used to iterate
|
|
357
|
+
* the Template Processing with different randomly-generated values until a predetermined
|
|
358
|
+
* condition is satisfied.
|
|
359
|
+
*/
|
|
360
|
+
declare class QtiTemplateConstraint extends LitElement implements QtiRuleBase {
|
|
361
|
+
render(): lit.TemplateResult<1>;
|
|
362
|
+
/**
|
|
363
|
+
* Evaluates the constraint condition
|
|
364
|
+
* @returns true if constraint is satisfied, false if template processing should restart
|
|
365
|
+
*/
|
|
366
|
+
calculate(): boolean;
|
|
367
|
+
/**
|
|
368
|
+
* Template constraints don't have sub-rules like conditions
|
|
369
|
+
*/
|
|
370
|
+
getSubRules(): QtiRuleBase[];
|
|
371
|
+
/**
|
|
372
|
+
* Process the template constraint
|
|
373
|
+
* @returns true if constraint is satisfied, false if template processing should restart
|
|
374
|
+
*/
|
|
375
|
+
process(): boolean;
|
|
376
|
+
}
|
|
377
|
+
declare global {
|
|
378
|
+
interface HTMLElementTagNameMap {
|
|
379
|
+
'qti-template-constraint': QtiTemplateConstraint;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
318
383
|
/**
|
|
319
384
|
* @summary The qti-context-declaration element declares context variables for an item.
|
|
320
385
|
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.qti-context-declaration
|
|
@@ -331,4 +396,4 @@ declare global {
|
|
|
331
396
|
}
|
|
332
397
|
}
|
|
333
398
|
|
|
334
|
-
export { QtiAssessmentItem, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiCompanionMaterialsInfo, QtiContentBody, QtiContextDeclaration, QtiCustomOperator, QtiFeedbackBlock, QtiFeedbackInline, QtiItemBody, QtiModalFeedback, QtiOutcomeDeclaration, QtiResponseDeclaration, QtiResponseProcessing, QtiRubricBlock, QtiStylesheet, QtiTemplateDeclaration };
|
|
399
|
+
export { QtiAssessmentItem, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiCompanionMaterialsInfo, QtiContentBody, QtiContextDeclaration, QtiCustomOperator, QtiFeedbackBlock, QtiFeedbackInline, QtiItemBody, QtiModalFeedback, QtiOutcomeDeclaration, QtiResponseDeclaration, QtiResponseProcessing, QtiRubricBlock, QtiStylesheet, QtiTemplateConstraint, QtiTemplateDeclaration, QtiTemplateProcessing };
|
package/dist/elements.js
CHANGED
|
@@ -15,11 +15,13 @@ import {
|
|
|
15
15
|
QtiResponseProcessing,
|
|
16
16
|
QtiRubricBlock,
|
|
17
17
|
QtiStylesheet,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
import "./chunk-
|
|
18
|
+
QtiTemplateConstraint,
|
|
19
|
+
QtiTemplateDeclaration,
|
|
20
|
+
QtiTemplateProcessing
|
|
21
|
+
} from "./chunk-FFESMKSD.js";
|
|
22
|
+
import "./chunk-N7S3GNUP.js";
|
|
23
|
+
import "./chunk-UKPCQKPF.js";
|
|
24
|
+
import "./chunk-Z2SUBRH5.js";
|
|
23
25
|
import "./chunk-QXBXORM3.js";
|
|
24
26
|
export {
|
|
25
27
|
QtiAssessmentItem,
|
|
@@ -38,6 +40,8 @@ export {
|
|
|
38
40
|
QtiResponseProcessing,
|
|
39
41
|
QtiRubricBlock,
|
|
40
42
|
QtiStylesheet,
|
|
41
|
-
|
|
43
|
+
QtiTemplateConstraint,
|
|
44
|
+
QtiTemplateDeclaration,
|
|
45
|
+
QtiTemplateProcessing
|
|
42
46
|
};
|
|
43
47
|
//# sourceMappingURL=elements.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { IMyQtiTest, IQtiTest, ITestNavigationMixin, ITestProcessingMixin, QtiAssessmentItemRef, QtiAssessmentSection, QtiAssessmentTest, QtiTest, QtiTestFeedback, QtiTestPart, TestCheckItem, TestContainer, TestEndAttempt, TestItemLink, TestNavigation, TestNext, TestPagingButtonsStamp, TestPrev, TestPrintContext, TestPrintVariables, TestScoringButtons, TestScoringFeedback, TestSectionButtonsStamp, TestSectionLink, TestShowCorrectResponse, TestStamp, TestView, TestViewToggle } from './test.js';
|
|
2
2
|
export { ItemContainer, ItemCorrectResponseMode, ItemPrintVariables, ItemShowCandidateCorrection, ItemShowCorrectResponse, QtiItem } from './item.js';
|
|
3
|
-
export { QtiAssessmentItem, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiCompanionMaterialsInfo, QtiContentBody, QtiContextDeclaration, QtiCustomOperator, QtiFeedbackBlock, QtiFeedbackInline, QtiItemBody, QtiModalFeedback, QtiOutcomeDeclaration, QtiResponseDeclaration, QtiResponseProcessing, QtiRubricBlock, QtiStylesheet, QtiTemplateDeclaration } from './elements.js';
|
|
3
|
+
export { QtiAssessmentItem, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiCompanionMaterialsInfo, QtiContentBody, QtiContextDeclaration, QtiCustomOperator, QtiFeedbackBlock, QtiFeedbackInline, QtiItemBody, QtiModalFeedback, QtiOutcomeDeclaration, QtiResponseDeclaration, QtiResponseProcessing, QtiRubricBlock, QtiStylesheet, QtiTemplateConstraint, QtiTemplateDeclaration, QtiTemplateProcessing } from './elements.js';
|
|
4
4
|
export { Orientation, QtiAssociableHotspot, QtiAssociateInteraction, QtiChoiceInteraction, QtiCustomInteraction, QtiEndAttemptInteraction, QtiExtendedTextInteraction, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, QtiMatchInteraction, QtiMediaInteraction, QtiOrderInteraction, QtiPortableCustomInteraction, QtiPositionObjectInteraction, QtiPositionObjectStage, QtiPrompt, QtiSelectPointInteraction, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiTextEntryInteraction, QtiUploadInteraction } from './interactions.js';
|
|
5
5
|
export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test-C2fL4PtU.js';
|
|
6
6
|
export { qtiTransformManifest } from './transformers.js';
|
|
@@ -13,10 +13,11 @@ export { IsNullOrUndefined, ScoringHelper, convertNumberToUniversalFormat, decim
|
|
|
13
13
|
export { Q as QtiContext, a as QtiContextType, q as qtiContext } from './qti.context-B8PSyIWm.js';
|
|
14
14
|
export { I as INITIAL_TEST_CONTEXT, T as TestContext, t as testContext } from './test.context-CByZZjkR.js';
|
|
15
15
|
export { C as Correctness, I as IInteraction, a as Interaction } from './interaction-Bgzlw7Iu.js';
|
|
16
|
-
export { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback-
|
|
17
|
-
export { Q as QtiConditionExpression, a as QtiExpression, b as QtiExpressionBase
|
|
16
|
+
export { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback-ChmXhZuf.js';
|
|
17
|
+
export { Q as QtiConditionExpression, a as QtiExpression, b as QtiExpressionBase } from './qti-condition-expression-B1BYmCcq.js';
|
|
18
18
|
export { B as BaseType, C as Calculate, a as Cardinality, M as Multiple, O as Ordered, b as OutcomeVariable, Q as QtiAreaMapEntry, c as QtiAreaMapping, d as QtiMapEntry, e as QtiMapping, R as ResponseInteraction, f as ResponseVariable, T as TemplateVariable, V as VariableDeclaration, g as VariableValue, h as areaShape, i as directedPair, j as float, k as integer } from './variables-CMYcDbyW.js';
|
|
19
|
-
export {
|
|
19
|
+
export { Q as QtiRuleBase, a as QtiRuleElement } from './qti-rule-base-ajOnfGXY.js';
|
|
20
|
+
export { QtiAnd, QtiAnyN, QtiBaseValue, QtiContainerSize, QtiContains, QtiCorrect, QtiDefault, QtiDelete, QtiDivide, QtiDurationGte, QtiDurationLt, QtiEqual, QtiEqualRounded, QtiFieldValue, QtiGcd, QtiGt, QtiGte, QtiIndex, QtiInside, QtiIntegerDivide, QtiIntegerModulus, QtiIntegerToFloat, QtiIsNull, QtiLcm, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMathOperator, QtiMax, QtiMember, QtiMin, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrdered, QtiPatternMatch, QtiPower, QtiPrintedVariable, QtiProduct, QtiRandom, QtiRandomInteger, QtiRepeat, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRound, QtiRoundTo, QtiSetCorrectResponse, QtiSetCorrectResponseRule, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiSetTemplateValue, QtiSetTemplateValueRule, QtiStatsOperator, QtiStringMatch, QtiSubstring, QtiSubtract, QtiSum, QtiSumExpression, QtiTruncate, QtiVariable, qtiAndMixin, qtiSubtractMixin } from './processing.js';
|
|
20
21
|
import 'lit';
|
|
21
22
|
import '@heximal/templates';
|
|
22
23
|
import 'lit/directives/ref.js';
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
QtiSliderInteraction,
|
|
32
32
|
QtiTextEntryInteraction,
|
|
33
33
|
QtiUploadInteraction
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XYTJOQRZ.js";
|
|
35
35
|
import {
|
|
36
36
|
ItemContainer,
|
|
37
37
|
ItemCorrectResponseMode,
|
|
@@ -39,19 +39,23 @@ import {
|
|
|
39
39
|
ItemShowCandidateCorrection,
|
|
40
40
|
ItemShowCorrectResponse,
|
|
41
41
|
QtiItem
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-424AWLRU.js";
|
|
43
43
|
import {
|
|
44
44
|
getItemByUri,
|
|
45
45
|
getManifestInfo
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-SX63OCDZ.js";
|
|
47
47
|
import {
|
|
48
48
|
QtiAnd,
|
|
49
|
+
QtiAnyN,
|
|
49
50
|
QtiBaseValue,
|
|
50
51
|
QtiContainerSize,
|
|
51
52
|
QtiContains,
|
|
52
53
|
QtiCorrect,
|
|
53
54
|
QtiDefault,
|
|
54
55
|
QtiDelete,
|
|
56
|
+
QtiDivide,
|
|
57
|
+
QtiDurationGte,
|
|
58
|
+
QtiDurationLt,
|
|
55
59
|
QtiEqual,
|
|
56
60
|
QtiEqualRounded,
|
|
57
61
|
QtiFieldValue,
|
|
@@ -59,7 +63,12 @@ import {
|
|
|
59
63
|
QtiGt,
|
|
60
64
|
QtiGte,
|
|
61
65
|
QtiIndex,
|
|
66
|
+
QtiInside,
|
|
67
|
+
QtiIntegerDivide,
|
|
68
|
+
QtiIntegerModulus,
|
|
69
|
+
QtiIntegerToFloat,
|
|
62
70
|
QtiIsNull,
|
|
71
|
+
QtiLcm,
|
|
63
72
|
QtiLookupOutcomeValue,
|
|
64
73
|
QtiLt,
|
|
65
74
|
QtiLte,
|
|
@@ -67,33 +76,44 @@ import {
|
|
|
67
76
|
QtiMapResponsePoint,
|
|
68
77
|
QtiMatch,
|
|
69
78
|
QtiMathOperator,
|
|
79
|
+
QtiMax,
|
|
70
80
|
QtiMember,
|
|
81
|
+
QtiMin,
|
|
71
82
|
QtiMultiple,
|
|
72
83
|
QtiNot,
|
|
73
84
|
QtiNull,
|
|
74
85
|
QtiOr,
|
|
75
86
|
QtiOrdered,
|
|
87
|
+
QtiPatternMatch,
|
|
76
88
|
QtiPower,
|
|
77
89
|
QtiPrintedVariable,
|
|
78
90
|
QtiProduct,
|
|
79
91
|
QtiRandom,
|
|
80
92
|
QtiRandomInteger,
|
|
93
|
+
QtiRepeat,
|
|
81
94
|
QtiResponseCondition,
|
|
82
95
|
QtiResponseElse,
|
|
83
96
|
QtiResponseElseIf,
|
|
84
97
|
QtiResponseIf,
|
|
85
98
|
QtiRound,
|
|
86
99
|
QtiRoundTo,
|
|
100
|
+
QtiSetCorrectResponse,
|
|
101
|
+
QtiSetCorrectResponseRule,
|
|
87
102
|
QtiSetOutcomeValue,
|
|
88
103
|
QtiSetOutcomeValueRule,
|
|
104
|
+
QtiSetTemplateValue,
|
|
105
|
+
QtiSetTemplateValueRule,
|
|
106
|
+
QtiStatsOperator,
|
|
89
107
|
QtiStringMatch,
|
|
108
|
+
QtiSubstring,
|
|
90
109
|
QtiSubtract,
|
|
91
110
|
QtiSum,
|
|
92
111
|
QtiSumExpression,
|
|
112
|
+
QtiTruncate,
|
|
93
113
|
QtiVariable,
|
|
94
114
|
qtiAndMixin,
|
|
95
115
|
qtiSubtractMixin
|
|
96
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-YLIYPNMK.js";
|
|
97
117
|
import {
|
|
98
118
|
QtiAssessmentItemRef,
|
|
99
119
|
QtiAssessmentSection,
|
|
@@ -119,7 +139,7 @@ import {
|
|
|
119
139
|
TestStamp,
|
|
120
140
|
TestView,
|
|
121
141
|
TestViewToggle
|
|
122
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-3HJE3KRM.js";
|
|
123
143
|
import {
|
|
124
144
|
QtiAssessmentItem,
|
|
125
145
|
QtiAssessmentStimulusRef,
|
|
@@ -137,15 +157,17 @@ import {
|
|
|
137
157
|
QtiResponseProcessing,
|
|
138
158
|
QtiRubricBlock,
|
|
139
159
|
QtiStylesheet,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
160
|
+
QtiTemplateConstraint,
|
|
161
|
+
QtiTemplateDeclaration,
|
|
162
|
+
QtiTemplateProcessing
|
|
163
|
+
} from "./chunk-FFESMKSD.js";
|
|
164
|
+
import "./chunk-N7S3GNUP.js";
|
|
165
|
+
import "./chunk-LQZCSHN5.js";
|
|
144
166
|
import {
|
|
145
167
|
qtiTransformItem,
|
|
146
168
|
qtiTransformManifest,
|
|
147
169
|
qtiTransformTest
|
|
148
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-UKPCQKPF.js";
|
|
149
171
|
import {
|
|
150
172
|
Correctness,
|
|
151
173
|
INITIAL_SESSION_CONTEXT,
|
|
@@ -169,7 +191,7 @@ import {
|
|
|
169
191
|
removeDoubleSlashes,
|
|
170
192
|
sessionContext,
|
|
171
193
|
testContext
|
|
172
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-Z2SUBRH5.js";
|
|
173
195
|
import "./chunk-QXBXORM3.js";
|
|
174
196
|
export {
|
|
175
197
|
Correctness,
|
|
@@ -183,6 +205,7 @@ export {
|
|
|
183
205
|
ItemShowCandidateCorrection,
|
|
184
206
|
ItemShowCorrectResponse,
|
|
185
207
|
QtiAnd,
|
|
208
|
+
QtiAnyN,
|
|
186
209
|
QtiAssessmentItem,
|
|
187
210
|
QtiAssessmentItemRef,
|
|
188
211
|
QtiAssessmentSection,
|
|
@@ -204,6 +227,9 @@ export {
|
|
|
204
227
|
QtiCustomOperator,
|
|
205
228
|
QtiDefault,
|
|
206
229
|
QtiDelete,
|
|
230
|
+
QtiDivide,
|
|
231
|
+
QtiDurationGte,
|
|
232
|
+
QtiDurationLt,
|
|
207
233
|
QtiEndAttemptInteraction,
|
|
208
234
|
QtiEqual,
|
|
209
235
|
QtiEqualRounded,
|
|
@@ -230,9 +256,14 @@ export {
|
|
|
230
256
|
QtiIndex,
|
|
231
257
|
QtiInlineChoice,
|
|
232
258
|
QtiInlineChoiceInteraction,
|
|
259
|
+
QtiInside,
|
|
260
|
+
QtiIntegerDivide,
|
|
261
|
+
QtiIntegerModulus,
|
|
262
|
+
QtiIntegerToFloat,
|
|
233
263
|
QtiIsNull,
|
|
234
264
|
QtiItem,
|
|
235
265
|
QtiItemBody,
|
|
266
|
+
QtiLcm,
|
|
236
267
|
QtiLookupOutcomeValue,
|
|
237
268
|
QtiLt,
|
|
238
269
|
QtiLte,
|
|
@@ -241,8 +272,10 @@ export {
|
|
|
241
272
|
QtiMatch,
|
|
242
273
|
QtiMatchInteraction,
|
|
243
274
|
QtiMathOperator,
|
|
275
|
+
QtiMax,
|
|
244
276
|
QtiMediaInteraction,
|
|
245
277
|
QtiMember,
|
|
278
|
+
QtiMin,
|
|
246
279
|
QtiModalFeedback,
|
|
247
280
|
QtiMultiple,
|
|
248
281
|
QtiNot,
|
|
@@ -251,6 +284,7 @@ export {
|
|
|
251
284
|
QtiOrderInteraction,
|
|
252
285
|
QtiOrdered,
|
|
253
286
|
QtiOutcomeDeclaration,
|
|
287
|
+
QtiPatternMatch,
|
|
254
288
|
QtiPortableCustomInteraction,
|
|
255
289
|
QtiPositionObjectInteraction,
|
|
256
290
|
QtiPositionObjectStage,
|
|
@@ -260,6 +294,7 @@ export {
|
|
|
260
294
|
QtiPrompt,
|
|
261
295
|
QtiRandom,
|
|
262
296
|
QtiRandomInteger,
|
|
297
|
+
QtiRepeat,
|
|
263
298
|
QtiResponseCondition,
|
|
264
299
|
QtiResponseDeclaration,
|
|
265
300
|
QtiResponseElse,
|
|
@@ -271,21 +306,30 @@ export {
|
|
|
271
306
|
QtiRubricBlock,
|
|
272
307
|
QtiRuleElement,
|
|
273
308
|
QtiSelectPointInteraction,
|
|
309
|
+
QtiSetCorrectResponse,
|
|
310
|
+
QtiSetCorrectResponseRule,
|
|
274
311
|
QtiSetOutcomeValue,
|
|
275
312
|
QtiSetOutcomeValueRule,
|
|
313
|
+
QtiSetTemplateValue,
|
|
314
|
+
QtiSetTemplateValueRule,
|
|
276
315
|
QtiSimpleAssociableChoice,
|
|
277
316
|
QtiSimpleChoice,
|
|
278
317
|
QtiSliderInteraction,
|
|
318
|
+
QtiStatsOperator,
|
|
279
319
|
QtiStringMatch,
|
|
280
320
|
QtiStylesheet,
|
|
321
|
+
QtiSubstring,
|
|
281
322
|
QtiSubtract,
|
|
282
323
|
QtiSum,
|
|
283
324
|
QtiSumExpression,
|
|
325
|
+
QtiTemplateConstraint,
|
|
284
326
|
QtiTemplateDeclaration,
|
|
327
|
+
QtiTemplateProcessing,
|
|
285
328
|
QtiTest,
|
|
286
329
|
QtiTestFeedback,
|
|
287
330
|
QtiTestPart,
|
|
288
331
|
QtiTextEntryInteraction,
|
|
332
|
+
QtiTruncate,
|
|
289
333
|
QtiUploadInteraction,
|
|
290
334
|
QtiVariable,
|
|
291
335
|
QtiVariableDeclaration,
|
package/dist/interactions.d.ts
CHANGED
|
@@ -399,7 +399,7 @@ declare global {
|
|
|
399
399
|
|
|
400
400
|
declare const QtiSimpleAssociableChoice_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
|
|
401
401
|
declare class QtiSimpleAssociableChoice extends QtiSimpleAssociableChoice_base {
|
|
402
|
-
static styles:
|
|
402
|
+
static styles: CSSResultGroup;
|
|
403
403
|
/** the minimal number of selections a candidate must make */
|
|
404
404
|
matchMin: number;
|
|
405
405
|
/** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
|
|
@@ -798,7 +798,7 @@ declare global {
|
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
declare class QtiGapImg extends LitElement {
|
|
801
|
-
static styles:
|
|
801
|
+
static styles: CSSResultGroup;
|
|
802
802
|
tabindex: number | undefined;
|
|
803
803
|
connectedCallback(): void;
|
|
804
804
|
}
|
|
@@ -810,7 +810,7 @@ declare global {
|
|
|
810
810
|
|
|
811
811
|
declare const QtiGapText_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
|
|
812
812
|
declare class QtiGapText extends QtiGapText_base {
|
|
813
|
-
static styles:
|
|
813
|
+
static styles: CSSResultGroup;
|
|
814
814
|
tabindex: number | undefined;
|
|
815
815
|
connectedCallback(): void;
|
|
816
816
|
render(): lit.TemplateResult<1>;
|
|
@@ -822,7 +822,7 @@ declare global {
|
|
|
822
822
|
}
|
|
823
823
|
|
|
824
824
|
declare class QtiGap extends LitElement {
|
|
825
|
-
static styles:
|
|
825
|
+
static styles: CSSResultGroup;
|
|
826
826
|
tabindex: number | undefined;
|
|
827
827
|
render(): lit.TemplateResult<1>;
|
|
828
828
|
}
|
|
@@ -849,7 +849,7 @@ declare global {
|
|
|
849
849
|
|
|
850
850
|
declare const QtiHottext_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
|
|
851
851
|
declare class QtiHottext extends QtiHottext_base {
|
|
852
|
-
static styles:
|
|
852
|
+
static styles: CSSResultGroup;
|
|
853
853
|
render(): lit.TemplateResult<1>;
|
|
854
854
|
}
|
|
855
855
|
declare global {
|
|
@@ -880,7 +880,7 @@ declare global {
|
|
|
880
880
|
|
|
881
881
|
declare const QtiHotspotChoice_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
|
|
882
882
|
declare class QtiHotspotChoice extends QtiHotspotChoice_base {
|
|
883
|
-
static styles:
|
|
883
|
+
static styles: CSSResultGroup;
|
|
884
884
|
order: number;
|
|
885
885
|
orderCorrect: number;
|
|
886
886
|
}
|
|
@@ -891,7 +891,7 @@ declare global {
|
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
declare class QtiAssociableHotspot extends LitElement {
|
|
894
|
-
static styles:
|
|
894
|
+
static styles: CSSResultGroup;
|
|
895
895
|
connectedCallback(): void;
|
|
896
896
|
render(): lit.TemplateResult<1>;
|
|
897
897
|
}
|
|
@@ -902,6 +902,7 @@ declare global {
|
|
|
902
902
|
}
|
|
903
903
|
|
|
904
904
|
declare class QtiPrompt extends LitElement {
|
|
905
|
+
static styles: CSSResultGroup;
|
|
905
906
|
render(): lit.TemplateResult<1>;
|
|
906
907
|
connectedCallback(): void;
|
|
907
908
|
}
|
package/dist/interactions.js
CHANGED
|
@@ -31,9 +31,9 @@ import {
|
|
|
31
31
|
QtiSliderInteraction,
|
|
32
32
|
QtiTextEntryInteraction,
|
|
33
33
|
QtiUploadInteraction
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-XYTJOQRZ.js";
|
|
35
|
+
import "./chunk-N7S3GNUP.js";
|
|
36
|
+
import "./chunk-Z2SUBRH5.js";
|
|
37
37
|
import "./chunk-QXBXORM3.js";
|
|
38
38
|
export {
|
|
39
39
|
QtiAssociableHotspot,
|
package/dist/item.js
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
ItemShowCandidateCorrection,
|
|
6
6
|
ItemShowCorrectResponse,
|
|
7
7
|
QtiItem
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-424AWLRU.js";
|
|
9
|
+
import "./chunk-LQZCSHN5.js";
|
|
10
|
+
import "./chunk-UKPCQKPF.js";
|
|
11
|
+
import "./chunk-Z2SUBRH5.js";
|
|
12
12
|
import "./chunk-QXBXORM3.js";
|
|
13
13
|
export {
|
|
14
14
|
ItemContainer,
|
package/dist/loader.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import { QtiAssessmentItem } from './elements.js';
|
|
|
2
2
|
import 'lit';
|
|
3
3
|
import './variables-CMYcDbyW.js';
|
|
4
4
|
import './item.context-CkUeDcaO.js';
|
|
5
|
-
import './qti-feedback-
|
|
5
|
+
import './qti-feedback-ChmXhZuf.js';
|
|
6
|
+
import './qti-rule-base-ajOnfGXY.js';
|
|
6
7
|
|
|
7
8
|
type ManifestInfo = {
|
|
8
9
|
testIdentifier: string;
|