@citolab/qti-components 6.0.30 → 6.0.31
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/custom-elements.json +456 -402
- package/dist/index.cjs +61 -58
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +59 -56
- package/dist/qti-components/index.cjs +40 -37
- package/dist/qti-components/index.d.cts +8 -2
- package/dist/qti-components/index.d.ts +8 -2
- package/dist/qti-components/index.js +70 -67
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { V as VariableDeclaration, B as BaseType, C as Cardinality, a as Choices, b as Interaction, c as QtiRule, Q as QtiAssessmentItem, R as ResponseVariable, d as QtiChoice } from '../qti-simple-choice-9a8c789b.js';
|
|
2
2
|
export { g as Calculate, I as InteractionChangedDetails, M as Multiple, j as Ordered, O 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, f as ResponseInteraction, t as ResultVariable, e as directedPair, h as float, i as integer } from '../qti-simple-choice-9a8c789b.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
|
-
import { LitElement } from 'lit';
|
|
4
|
+
import { LitElement, PropertyValueMap } from 'lit';
|
|
5
5
|
import * as lit_html from 'lit-html';
|
|
6
6
|
import { Audience } from '../context/index.cjs';
|
|
7
7
|
import { ContextConsumer } from '@lit-labs/context';
|
|
@@ -100,6 +100,7 @@ declare class QtiModalFeedback extends QtiFeedback {
|
|
|
100
100
|
declare class QtiFeedbackBlock extends QtiFeedback {
|
|
101
101
|
static styles: lit.CSSResult;
|
|
102
102
|
render(): lit_html.TemplateResult<1>;
|
|
103
|
+
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
declare class QtiHottextInteraction extends Choices {
|
|
@@ -269,6 +270,11 @@ declare class QtiVariable extends QtiExpression<string | string[]> {
|
|
|
269
270
|
calculate(): string | string[];
|
|
270
271
|
}
|
|
271
272
|
|
|
273
|
+
declare class QtiStringMatch extends QtiExpression<boolean> {
|
|
274
|
+
caseSensitive: string;
|
|
275
|
+
calculate(): boolean;
|
|
276
|
+
}
|
|
277
|
+
|
|
272
278
|
declare class QtiPortableCustomInteraction extends LitElement {
|
|
273
279
|
private responseIdentifier;
|
|
274
280
|
private module;
|
|
@@ -550,4 +556,4 @@ declare class QtiHotspotChoice extends QtiChoice {
|
|
|
550
556
|
declare class QtiInlineChoice extends LitElement {
|
|
551
557
|
}
|
|
552
558
|
|
|
553
|
-
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 };
|
|
559
|
+
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, QtiStringMatch, QtiStylesheet, QtiVariable, ResponseVariable, VariableDeclaration, qtiContentBody, qtiRubricBlock };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { V as VariableDeclaration, B as BaseType, C as Cardinality, a as Choices, b as Interaction, c as QtiRule, Q as QtiAssessmentItem, R as ResponseVariable, d as QtiChoice } from '../qti-simple-choice-9a8c789b.js';
|
|
2
2
|
export { g as Calculate, I as InteractionChangedDetails, M as Multiple, j as Ordered, O 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, f as ResponseInteraction, t as ResultVariable, e as directedPair, h as float, i as integer } from '../qti-simple-choice-9a8c789b.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
|
-
import { LitElement } from 'lit';
|
|
4
|
+
import { LitElement, PropertyValueMap } from 'lit';
|
|
5
5
|
import * as lit_html from 'lit-html';
|
|
6
6
|
import { Audience } from '../context/index.js';
|
|
7
7
|
import { ContextConsumer } from '@lit-labs/context';
|
|
@@ -100,6 +100,7 @@ declare class QtiModalFeedback extends QtiFeedback {
|
|
|
100
100
|
declare class QtiFeedbackBlock extends QtiFeedback {
|
|
101
101
|
static styles: lit.CSSResult;
|
|
102
102
|
render(): lit_html.TemplateResult<1>;
|
|
103
|
+
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
declare class QtiHottextInteraction extends Choices {
|
|
@@ -269,6 +270,11 @@ declare class QtiVariable extends QtiExpression<string | string[]> {
|
|
|
269
270
|
calculate(): string | string[];
|
|
270
271
|
}
|
|
271
272
|
|
|
273
|
+
declare class QtiStringMatch extends QtiExpression<boolean> {
|
|
274
|
+
caseSensitive: string;
|
|
275
|
+
calculate(): boolean;
|
|
276
|
+
}
|
|
277
|
+
|
|
272
278
|
declare class QtiPortableCustomInteraction extends LitElement {
|
|
273
279
|
private responseIdentifier;
|
|
274
280
|
private module;
|
|
@@ -550,4 +556,4 @@ declare class QtiHotspotChoice extends QtiChoice {
|
|
|
550
556
|
declare class QtiInlineChoice extends LitElement {
|
|
551
557
|
}
|
|
552
558
|
|
|
553
|
-
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 };
|
|
559
|
+
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, QtiStringMatch, QtiStylesheet, QtiVariable, ResponseVariable, VariableDeclaration, qtiContentBody, qtiRubricBlock };
|