@citolab/qti-components 6.0.23 → 6.0.25
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/dist/chunk-BVYXUE3V.js +1 -0
- package/dist/chunk-C4C24R3I.cjs +1 -0
- package/dist/chunk-OO5TITDR.js +17 -0
- package/dist/{chunk-EHTDKAYF.js → chunk-VBLA6PHI.cjs} +3 -3
- package/dist/{chunk-VI35S4EM.cjs → chunk-YFSV2M2E.js} +3 -3
- package/dist/chunk-Z2P5ZMVD.cjs +17 -0
- package/dist/custom-elements.json +612 -616
- package/dist/decorators/index.cjs +1 -1
- package/dist/decorators/index.js +1 -1
- package/dist/index.cjs +85 -81
- package/dist/index.d.cts +83 -91
- package/dist/index.d.ts +83 -91
- package/dist/index.js +80 -76
- package/dist/qti-components/index.cjs +34 -30
- package/dist/qti-components/index.d.cts +45 -49
- package/dist/qti-components/index.d.ts +45 -49
- package/dist/qti-components/index.js +63 -59
- package/dist/qti-item/index.cjs +1 -1
- package/dist/qti-item/index.d.cts +1 -2
- package/dist/qti-item/index.d.ts +1 -2
- package/dist/qti-item/index.js +1 -1
- package/dist/qti-item-395a9535.d.ts +19 -0
- package/dist/qti-item-react/index.cjs +1 -1
- package/dist/qti-item-react/index.d.cts +7 -15
- package/dist/qti-item-react/index.d.ts +7 -15
- package/dist/qti-item-react/index.js +1 -1
- package/dist/{qti-simple-choice-b4b79072.d.ts → qti-simple-choice-f19f8469.d.ts} +112 -5
- package/dist/qti-transform/index.cjs +1 -17
- package/dist/qti-transform/index.d.cts +1 -0
- package/dist/qti-transform/index.d.ts +1 -0
- package/dist/qti-transform/index.js +1 -17
- package/package.json +6 -7
- package/dist/chunk-3O4URV5U.cjs +0 -1
- package/dist/chunk-6RJ7J4AE.cjs +0 -1
- package/dist/chunk-M7QOVOG6.js +0 -1
- package/dist/chunk-WFLR5TH7.js +0 -1
- package/dist/qti-assessment-item-e8a67444.d.ts +0 -109
- package/dist/qti-item-77742afa.d.ts +0 -30
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { B as BaseType, C as Cardinality, Q as
|
|
2
|
-
export {
|
|
3
|
-
import { C as Choices, I as Interaction, Q as QtiRule, a as QtiChoice } from '../qti-simple-choice-b4b79072.js';
|
|
4
|
-
export { b as InteractionChangedDetails, O as OutcomeChangedDetails, j as QtiChoiceElementSelected, m as QtiChoiceInteraction, l as QtiExtendedTextInteraction, o as QtiHottext, c as QtiInteractionChanged, i as QtiInteractionResponse, h as QtiLooseChoice, q as QtiOutcomeChanged, f as QtiRegisterChoice, g as QtiRegisterHotspot, e as QtiRegisterInteraction, d as QtiRegisterVariable, n as QtiResponseProcessing, p as QtiSimpleChoice, k as QtiTextEntryInteraction } from '../qti-simple-choice-b4b79072.js';
|
|
1
|
+
import { V as VariableDeclaration, B as BaseType, C as Cardinality, a as Choices, I as Interaction, Q as QtiRule, b as QtiAssessmentItem, R as ResponseVariable, c as QtiChoice } from '../qti-simple-choice-f19f8469.js';
|
|
2
|
+
export { f as Calculate, j as InteractionChangedDetails, M as Multiple, O as Ordered, h as OutcomeChangedDetails, u as OutcomeVariable, s as QtiChoiceElementSelected, x as QtiChoiceInteraction, w as QtiExtendedTextInteraction, A as QtiHottext, k as QtiInteractionChanged, r as QtiInteractionResponse, p as QtiLooseChoice, z as QtiMapping, q as QtiOutcomeChanged, n as QtiRegisterChoice, o as QtiRegisterHotspot, m as QtiRegisterInteraction, l as QtiRegisterVariable, y as QtiResponseProcessing, D as QtiSimpleChoice, v as QtiTextEntryInteraction, e as ResponseInteraction, t as ResultVariable, d as directedPair, g as float, i as integer } from '../qti-simple-choice-f19f8469.js';
|
|
5
3
|
import * as lit from 'lit';
|
|
6
4
|
import { LitElement, PropertyValueMap } from 'lit';
|
|
7
5
|
import * as lit_html from 'lit-html';
|
|
@@ -37,6 +35,7 @@ declare class QtiPrompt extends LitElement {
|
|
|
37
35
|
|
|
38
36
|
declare class QtiVariableDeclaration extends LitElement {
|
|
39
37
|
render(): lit_html.TemplateResult<1>;
|
|
38
|
+
protected defaultValues(variable: VariableDeclaration<string | string[] | null>): string | string[];
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
declare class QtiResponseDeclaration extends QtiVariableDeclaration {
|
|
@@ -164,50 +163,37 @@ declare class QtiResponseElseIf extends QtiResponseIf {
|
|
|
164
163
|
}
|
|
165
164
|
|
|
166
165
|
declare abstract class QtiExpression<T> extends LitElement {
|
|
166
|
+
protected _result: any;
|
|
167
167
|
protected _error: any[];
|
|
168
|
+
private _debug;
|
|
168
169
|
protected set error(val: string);
|
|
169
170
|
static styles: lit.CSSResult;
|
|
170
171
|
render(): lit_html.TemplateResult<1>;
|
|
171
172
|
calculate(): T;
|
|
172
173
|
protected get assessmentItem(): QtiAssessmentItem;
|
|
173
|
-
protected getVariables: () => VariableDeclaration<number | string | string[] |
|
|
174
|
+
protected getVariables: () => VariableDeclaration<number | string | (number | string)[] | null>[];
|
|
174
175
|
}
|
|
175
176
|
|
|
176
|
-
declare class
|
|
177
|
-
calculate(): boolean;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
declare class QtiConditionExpression extends QtiExpression<boolean> {
|
|
181
|
-
render(): lit_html.TemplateResult<1>;
|
|
182
|
-
calculate(): boolean;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
declare class QtiGte extends QtiConditionExpression {
|
|
177
|
+
declare abstract class QtiConditionExpression extends QtiExpression<boolean> {
|
|
186
178
|
calculate(): boolean;
|
|
187
179
|
}
|
|
188
180
|
|
|
189
|
-
declare class
|
|
181
|
+
declare class QtiAnd extends QtiConditionExpression {
|
|
190
182
|
calculate(): boolean;
|
|
191
183
|
}
|
|
192
184
|
|
|
193
|
-
declare class
|
|
194
|
-
|
|
185
|
+
declare class QtiBaseValue extends QtiExpression<string> {
|
|
186
|
+
baseType: BaseType;
|
|
187
|
+
calculate(): string;
|
|
195
188
|
}
|
|
196
189
|
|
|
197
|
-
declare class
|
|
198
|
-
render(): lit_html.TemplateResult<1>;
|
|
190
|
+
declare class QtiContains extends QtiConditionExpression {
|
|
199
191
|
calculate(): boolean;
|
|
200
192
|
}
|
|
201
193
|
|
|
202
|
-
declare class
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
calculate(): number;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
declare class QtiOr extends QtiConditionExpression {
|
|
209
|
-
render(): lit_html.TemplateResult<1>;
|
|
210
|
-
calculate(): boolean;
|
|
194
|
+
declare class QtiCorrect extends QtiExpression<string | string[]> {
|
|
195
|
+
get interpretation(): string;
|
|
196
|
+
calculate(): string | string[];
|
|
211
197
|
}
|
|
212
198
|
|
|
213
199
|
declare class QtiEqual extends QtiExpression<boolean> {
|
|
@@ -221,27 +207,23 @@ declare class QtiEqualRounded extends QtiExpression<boolean> {
|
|
|
221
207
|
calculate(): boolean;
|
|
222
208
|
}
|
|
223
209
|
|
|
224
|
-
declare class
|
|
225
|
-
|
|
226
|
-
calculate(): string;
|
|
210
|
+
declare class QtiGt extends QtiExpression<boolean> {
|
|
211
|
+
calculate(): boolean;
|
|
227
212
|
}
|
|
228
213
|
|
|
229
|
-
declare class
|
|
214
|
+
declare class QtiGte extends QtiConditionExpression {
|
|
230
215
|
calculate(): boolean;
|
|
231
216
|
}
|
|
232
217
|
|
|
233
|
-
declare class
|
|
234
|
-
|
|
235
|
-
get interpretation(): string;
|
|
236
|
-
calculate(): string | string[];
|
|
218
|
+
declare class QtiIsNull extends QtiExpression<boolean> {
|
|
219
|
+
calculate(): boolean;
|
|
237
220
|
}
|
|
238
221
|
|
|
239
|
-
declare class
|
|
222
|
+
declare class QtiLt extends QtiExpression<boolean> {
|
|
240
223
|
calculate(): boolean;
|
|
241
224
|
}
|
|
242
225
|
|
|
243
|
-
declare class
|
|
244
|
-
render(): lit_html.TemplateResult<1>;
|
|
226
|
+
declare class QtiLte extends QtiConditionExpression {
|
|
245
227
|
calculate(): boolean;
|
|
246
228
|
}
|
|
247
229
|
|
|
@@ -251,32 +233,46 @@ declare class QtiMapResponse extends QtiExpression<number> {
|
|
|
251
233
|
}
|
|
252
234
|
|
|
253
235
|
declare class QtiMatch extends QtiExpression<boolean> {
|
|
254
|
-
calculate():
|
|
236
|
+
calculate(): any;
|
|
237
|
+
static match(valueToMap: ResponseVariable, correctValueInfo: ResponseVariable): boolean;
|
|
255
238
|
}
|
|
256
239
|
|
|
257
|
-
declare class
|
|
258
|
-
|
|
259
|
-
calculate(): string | number | string[];
|
|
240
|
+
declare class QtiMember extends QtiExpression<boolean | null> {
|
|
241
|
+
calculate(): boolean;
|
|
260
242
|
}
|
|
261
243
|
|
|
262
244
|
declare class QtiMultiple extends QtiExpression<VariableDeclaration<string | string[]>[]> {
|
|
263
245
|
calculate(): ResponseVariable[];
|
|
264
246
|
}
|
|
265
247
|
|
|
248
|
+
declare class QtiNot extends QtiExpression<boolean> {
|
|
249
|
+
render(): lit_html.TemplateResult<1>;
|
|
250
|
+
calculate(): boolean;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
declare class QtiOr extends QtiConditionExpression {
|
|
254
|
+
render(): lit_html.TemplateResult<1>;
|
|
255
|
+
calculate(): boolean;
|
|
256
|
+
}
|
|
257
|
+
|
|
266
258
|
declare class QtiOrdered extends QtiExpression<ResponseVariable[]> {
|
|
267
259
|
calculate(): ResponseVariable[];
|
|
268
260
|
}
|
|
269
261
|
|
|
270
262
|
declare class QtPrintedVariable extends LitElement {
|
|
271
263
|
identifier: string;
|
|
272
|
-
value: string | string[]
|
|
264
|
+
value: string | string[];
|
|
273
265
|
render(): lit_html.TemplateResult<1>;
|
|
274
266
|
constructor();
|
|
275
|
-
calculate(): string | string[]
|
|
267
|
+
calculate(): string | string[];
|
|
276
268
|
}
|
|
277
269
|
|
|
278
|
-
declare class
|
|
279
|
-
calculate():
|
|
270
|
+
declare class QtiProduct extends QtiExpression<number> {
|
|
271
|
+
calculate(): number;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
declare class QtiVariable extends QtiExpression<string | string[]> {
|
|
275
|
+
calculate(): string | string[];
|
|
280
276
|
}
|
|
281
277
|
|
|
282
278
|
declare class QtiPortableCustomInteraction extends LitElement {
|
|
@@ -558,4 +554,4 @@ declare class QtiHotspotChoice extends QtiChoice {
|
|
|
558
554
|
declare class QtiInlineChoice extends LitElement {
|
|
559
555
|
}
|
|
560
556
|
|
|
561
|
-
export { BaseType, Cardinality, Events, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, QtiCompanionMaterialsInfo, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSliderInteraction, QtiStylesheet, QtiVariable, ResponseVariable, qtiContentBody, qtiRubricBlock };
|
|
557
|
+
export { BaseType, Cardinality, Events, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, QtiCompanionMaterialsInfo, QtiConditionExpression, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSliderInteraction, QtiStylesheet, QtiVariable, ResponseVariable, VariableDeclaration, qtiContentBody, qtiRubricBlock };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { B as BaseType, C as Cardinality, Q as
|
|
2
|
-
export {
|
|
3
|
-
import { C as Choices, I as Interaction, Q as QtiRule, a as QtiChoice } from '../qti-simple-choice-b4b79072.js';
|
|
4
|
-
export { b as InteractionChangedDetails, O as OutcomeChangedDetails, j as QtiChoiceElementSelected, m as QtiChoiceInteraction, l as QtiExtendedTextInteraction, o as QtiHottext, c as QtiInteractionChanged, i as QtiInteractionResponse, h as QtiLooseChoice, q as QtiOutcomeChanged, f as QtiRegisterChoice, g as QtiRegisterHotspot, e as QtiRegisterInteraction, d as QtiRegisterVariable, n as QtiResponseProcessing, p as QtiSimpleChoice, k as QtiTextEntryInteraction } from '../qti-simple-choice-b4b79072.js';
|
|
1
|
+
import { V as VariableDeclaration, B as BaseType, C as Cardinality, a as Choices, I as Interaction, Q as QtiRule, b as QtiAssessmentItem, R as ResponseVariable, c as QtiChoice } from '../qti-simple-choice-f19f8469.js';
|
|
2
|
+
export { f as Calculate, j as InteractionChangedDetails, M as Multiple, O as Ordered, h as OutcomeChangedDetails, u as OutcomeVariable, s as QtiChoiceElementSelected, x as QtiChoiceInteraction, w as QtiExtendedTextInteraction, A as QtiHottext, k as QtiInteractionChanged, r as QtiInteractionResponse, p as QtiLooseChoice, z as QtiMapping, q as QtiOutcomeChanged, n as QtiRegisterChoice, o as QtiRegisterHotspot, m as QtiRegisterInteraction, l as QtiRegisterVariable, y as QtiResponseProcessing, D as QtiSimpleChoice, v as QtiTextEntryInteraction, e as ResponseInteraction, t as ResultVariable, d as directedPair, g as float, i as integer } from '../qti-simple-choice-f19f8469.js';
|
|
5
3
|
import * as lit from 'lit';
|
|
6
4
|
import { LitElement, PropertyValueMap } from 'lit';
|
|
7
5
|
import * as lit_html from 'lit-html';
|
|
@@ -37,6 +35,7 @@ declare class QtiPrompt extends LitElement {
|
|
|
37
35
|
|
|
38
36
|
declare class QtiVariableDeclaration extends LitElement {
|
|
39
37
|
render(): lit_html.TemplateResult<1>;
|
|
38
|
+
protected defaultValues(variable: VariableDeclaration<string | string[] | null>): string | string[];
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
declare class QtiResponseDeclaration extends QtiVariableDeclaration {
|
|
@@ -164,50 +163,37 @@ declare class QtiResponseElseIf extends QtiResponseIf {
|
|
|
164
163
|
}
|
|
165
164
|
|
|
166
165
|
declare abstract class QtiExpression<T> extends LitElement {
|
|
166
|
+
protected _result: any;
|
|
167
167
|
protected _error: any[];
|
|
168
|
+
private _debug;
|
|
168
169
|
protected set error(val: string);
|
|
169
170
|
static styles: lit.CSSResult;
|
|
170
171
|
render(): lit_html.TemplateResult<1>;
|
|
171
172
|
calculate(): T;
|
|
172
173
|
protected get assessmentItem(): QtiAssessmentItem;
|
|
173
|
-
protected getVariables: () => VariableDeclaration<number | string | string[] |
|
|
174
|
+
protected getVariables: () => VariableDeclaration<number | string | (number | string)[] | null>[];
|
|
174
175
|
}
|
|
175
176
|
|
|
176
|
-
declare class
|
|
177
|
-
calculate(): boolean;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
declare class QtiConditionExpression extends QtiExpression<boolean> {
|
|
181
|
-
render(): lit_html.TemplateResult<1>;
|
|
182
|
-
calculate(): boolean;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
declare class QtiGte extends QtiConditionExpression {
|
|
177
|
+
declare abstract class QtiConditionExpression extends QtiExpression<boolean> {
|
|
186
178
|
calculate(): boolean;
|
|
187
179
|
}
|
|
188
180
|
|
|
189
|
-
declare class
|
|
181
|
+
declare class QtiAnd extends QtiConditionExpression {
|
|
190
182
|
calculate(): boolean;
|
|
191
183
|
}
|
|
192
184
|
|
|
193
|
-
declare class
|
|
194
|
-
|
|
185
|
+
declare class QtiBaseValue extends QtiExpression<string> {
|
|
186
|
+
baseType: BaseType;
|
|
187
|
+
calculate(): string;
|
|
195
188
|
}
|
|
196
189
|
|
|
197
|
-
declare class
|
|
198
|
-
render(): lit_html.TemplateResult<1>;
|
|
190
|
+
declare class QtiContains extends QtiConditionExpression {
|
|
199
191
|
calculate(): boolean;
|
|
200
192
|
}
|
|
201
193
|
|
|
202
|
-
declare class
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
calculate(): number;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
declare class QtiOr extends QtiConditionExpression {
|
|
209
|
-
render(): lit_html.TemplateResult<1>;
|
|
210
|
-
calculate(): boolean;
|
|
194
|
+
declare class QtiCorrect extends QtiExpression<string | string[]> {
|
|
195
|
+
get interpretation(): string;
|
|
196
|
+
calculate(): string | string[];
|
|
211
197
|
}
|
|
212
198
|
|
|
213
199
|
declare class QtiEqual extends QtiExpression<boolean> {
|
|
@@ -221,27 +207,23 @@ declare class QtiEqualRounded extends QtiExpression<boolean> {
|
|
|
221
207
|
calculate(): boolean;
|
|
222
208
|
}
|
|
223
209
|
|
|
224
|
-
declare class
|
|
225
|
-
|
|
226
|
-
calculate(): string;
|
|
210
|
+
declare class QtiGt extends QtiExpression<boolean> {
|
|
211
|
+
calculate(): boolean;
|
|
227
212
|
}
|
|
228
213
|
|
|
229
|
-
declare class
|
|
214
|
+
declare class QtiGte extends QtiConditionExpression {
|
|
230
215
|
calculate(): boolean;
|
|
231
216
|
}
|
|
232
217
|
|
|
233
|
-
declare class
|
|
234
|
-
|
|
235
|
-
get interpretation(): string;
|
|
236
|
-
calculate(): string | string[];
|
|
218
|
+
declare class QtiIsNull extends QtiExpression<boolean> {
|
|
219
|
+
calculate(): boolean;
|
|
237
220
|
}
|
|
238
221
|
|
|
239
|
-
declare class
|
|
222
|
+
declare class QtiLt extends QtiExpression<boolean> {
|
|
240
223
|
calculate(): boolean;
|
|
241
224
|
}
|
|
242
225
|
|
|
243
|
-
declare class
|
|
244
|
-
render(): lit_html.TemplateResult<1>;
|
|
226
|
+
declare class QtiLte extends QtiConditionExpression {
|
|
245
227
|
calculate(): boolean;
|
|
246
228
|
}
|
|
247
229
|
|
|
@@ -251,32 +233,46 @@ declare class QtiMapResponse extends QtiExpression<number> {
|
|
|
251
233
|
}
|
|
252
234
|
|
|
253
235
|
declare class QtiMatch extends QtiExpression<boolean> {
|
|
254
|
-
calculate():
|
|
236
|
+
calculate(): any;
|
|
237
|
+
static match(valueToMap: ResponseVariable, correctValueInfo: ResponseVariable): boolean;
|
|
255
238
|
}
|
|
256
239
|
|
|
257
|
-
declare class
|
|
258
|
-
|
|
259
|
-
calculate(): string | number | string[];
|
|
240
|
+
declare class QtiMember extends QtiExpression<boolean | null> {
|
|
241
|
+
calculate(): boolean;
|
|
260
242
|
}
|
|
261
243
|
|
|
262
244
|
declare class QtiMultiple extends QtiExpression<VariableDeclaration<string | string[]>[]> {
|
|
263
245
|
calculate(): ResponseVariable[];
|
|
264
246
|
}
|
|
265
247
|
|
|
248
|
+
declare class QtiNot extends QtiExpression<boolean> {
|
|
249
|
+
render(): lit_html.TemplateResult<1>;
|
|
250
|
+
calculate(): boolean;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
declare class QtiOr extends QtiConditionExpression {
|
|
254
|
+
render(): lit_html.TemplateResult<1>;
|
|
255
|
+
calculate(): boolean;
|
|
256
|
+
}
|
|
257
|
+
|
|
266
258
|
declare class QtiOrdered extends QtiExpression<ResponseVariable[]> {
|
|
267
259
|
calculate(): ResponseVariable[];
|
|
268
260
|
}
|
|
269
261
|
|
|
270
262
|
declare class QtPrintedVariable extends LitElement {
|
|
271
263
|
identifier: string;
|
|
272
|
-
value: string | string[]
|
|
264
|
+
value: string | string[];
|
|
273
265
|
render(): lit_html.TemplateResult<1>;
|
|
274
266
|
constructor();
|
|
275
|
-
calculate(): string | string[]
|
|
267
|
+
calculate(): string | string[];
|
|
276
268
|
}
|
|
277
269
|
|
|
278
|
-
declare class
|
|
279
|
-
calculate():
|
|
270
|
+
declare class QtiProduct extends QtiExpression<number> {
|
|
271
|
+
calculate(): number;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
declare class QtiVariable extends QtiExpression<string | string[]> {
|
|
275
|
+
calculate(): string | string[];
|
|
280
276
|
}
|
|
281
277
|
|
|
282
278
|
declare class QtiPortableCustomInteraction extends LitElement {
|
|
@@ -558,4 +554,4 @@ declare class QtiHotspotChoice extends QtiChoice {
|
|
|
558
554
|
declare class QtiInlineChoice extends LitElement {
|
|
559
555
|
}
|
|
560
556
|
|
|
561
|
-
export { BaseType, Cardinality, Events, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, QtiCompanionMaterialsInfo, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSliderInteraction, QtiStylesheet, QtiVariable, ResponseVariable, qtiContentBody, qtiRubricBlock };
|
|
557
|
+
export { BaseType, Cardinality, Events, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, QtiCompanionMaterialsInfo, QtiConditionExpression, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSliderInteraction, QtiStylesheet, QtiVariable, ResponseVariable, VariableDeclaration, qtiContentBody, qtiRubricBlock };
|