@citolab/qti-components 6.0.31 → 6.0.33
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-G7BJTOY4.cjs +17 -0
- package/dist/{chunk-3S2ODAEN.cjs → chunk-P55XHWZV.cjs} +7 -2
- package/dist/chunk-UE4QJK43.js +17 -0
- package/dist/{chunk-KT5PFIUE.js → chunk-X3ZKCOOQ.js} +8 -3
- package/dist/custom-elements.json +390 -338
- package/dist/index.cjs +48 -43
- package/dist/index.css +5 -0
- package/dist/index.d.cts +11 -4
- package/dist/index.d.ts +11 -4
- package/dist/index.js +36 -31
- package/dist/qti-components/index.cjs +19 -19
- package/dist/qti-components/index.d.cts +7 -3
- package/dist/qti-components/index.d.ts +7 -3
- package/dist/qti-components/index.js +63 -63
- package/dist/qti-item/index.cjs +1 -1
- package/dist/qti-item/index.js +1 -1
- package/dist/qti-item-react/index.cjs +1 -1
- package/dist/qti-item-react/index.d.cts +1 -1
- package/dist/qti-item-react/index.d.ts +1 -1
- package/dist/qti-item-react/index.js +1 -1
- package/dist/{qti-simple-choice-9a8c789b.d.ts → qti-simple-choice-e2bc67b1.d.ts} +6 -3
- package/dist/qti-transform/index.cjs +1 -1
- package/dist/qti-transform/index.js +1 -1
- package/package.json +41 -42
- package/dist/chunk-OO5TITDR.js +0 -17
- package/dist/chunk-Z2P5ZMVD.cjs +0 -17
package/dist/index.css
CHANGED
|
@@ -683,6 +683,11 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-rea
|
|
|
683
683
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
+
qti-choice-interaction qti-simple-choice > p{
|
|
687
|
+
margin: 0px;
|
|
688
|
+
padding: 0px;
|
|
689
|
+
}
|
|
690
|
+
|
|
686
691
|
qti-text-entry-interaction{
|
|
687
692
|
margin-top: 0.5rem;
|
|
688
693
|
margin-bottom: 0.5rem;
|
package/dist/index.d.cts
CHANGED
|
@@ -481,8 +481,11 @@ declare abstract class Choices extends Interaction {
|
|
|
481
481
|
private _looseChoiceElement;
|
|
482
482
|
private _determineInputType;
|
|
483
483
|
private _setInputType;
|
|
484
|
-
|
|
485
|
-
|
|
484
|
+
protected _choiceElementSelectedHandler(event: CustomEvent<{
|
|
485
|
+
identifier: string;
|
|
486
|
+
checked: boolean;
|
|
487
|
+
}>): void;
|
|
488
|
+
protected _choiceElementSelected(): void;
|
|
486
489
|
}
|
|
487
490
|
|
|
488
491
|
declare class QtiHottextInteraction extends Choices {
|
|
@@ -524,7 +527,7 @@ declare class QtiChoiceInteraction extends Choices {
|
|
|
524
527
|
static styles: CSSResultGroup;
|
|
525
528
|
/** orientation of choices */
|
|
526
529
|
orientation: 'horizontal' | 'vertical';
|
|
527
|
-
render
|
|
530
|
+
render(): lit_html.TemplateResult<1>;
|
|
528
531
|
}
|
|
529
532
|
declare global {
|
|
530
533
|
interface HTMLElementTagNameMap {
|
|
@@ -703,6 +706,10 @@ declare class QtiStringMatch extends QtiExpression<boolean> {
|
|
|
703
706
|
calculate(): boolean;
|
|
704
707
|
}
|
|
705
708
|
|
|
709
|
+
declare class QtiSum extends QtiExpression<number> {
|
|
710
|
+
calculate(): number;
|
|
711
|
+
}
|
|
712
|
+
|
|
706
713
|
declare class QtiPortableCustomInteraction extends LitElement {
|
|
707
714
|
private responseIdentifier;
|
|
708
715
|
private module;
|
|
@@ -1044,4 +1051,4 @@ declare const qtiTransform: (xmlValue: string) => {
|
|
|
1044
1051
|
xml(): string;
|
|
1045
1052
|
};
|
|
1046
1053
|
|
|
1047
|
-
export { BaseType, Calculate, Cardinality, Events, InteractionChangedDetails, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, qtiChoiceElementSelected as QtiChoiceElementSelected, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiConditionExpression, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, qtiInteractionChanged as QtiInteractionChanged, qtiInteractionResponse as QtiInteractionResponse, QtiIsNull, QtiItem, qtiLooseChoice as QtiLooseChoice, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, qtiOutcomeChanged as QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, qtiRegisterChoice as QtiRegisterChoice, qtiRegisterHotspot as QtiRegisterHotspot, qtiRegisterInteraction as QtiRegisterInteraction, qtiRegisterVariable as QtiRegisterVariable, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, ResultVariable, VariableDeclaration, directedPair, float, integer, qtiContentBody, qtiRubricBlock, qtiTransform };
|
|
1054
|
+
export { BaseType, Calculate, Cardinality, Events, Interaction, InteractionChangedDetails, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, qtiChoiceElementSelected as QtiChoiceElementSelected, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiConditionExpression, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, qtiInteractionChanged as QtiInteractionChanged, qtiInteractionResponse as QtiInteractionResponse, QtiIsNull, QtiItem, qtiLooseChoice as QtiLooseChoice, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, qtiOutcomeChanged as QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, qtiRegisterChoice as QtiRegisterChoice, qtiRegisterHotspot as QtiRegisterHotspot, qtiRegisterInteraction as QtiRegisterInteraction, qtiRegisterVariable as QtiRegisterVariable, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSum, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, ResultVariable, VariableDeclaration, directedPair, float, integer, qtiContentBody, qtiRubricBlock, qtiTransform };
|
package/dist/index.d.ts
CHANGED
|
@@ -481,8 +481,11 @@ declare abstract class Choices extends Interaction {
|
|
|
481
481
|
private _looseChoiceElement;
|
|
482
482
|
private _determineInputType;
|
|
483
483
|
private _setInputType;
|
|
484
|
-
|
|
485
|
-
|
|
484
|
+
protected _choiceElementSelectedHandler(event: CustomEvent<{
|
|
485
|
+
identifier: string;
|
|
486
|
+
checked: boolean;
|
|
487
|
+
}>): void;
|
|
488
|
+
protected _choiceElementSelected(): void;
|
|
486
489
|
}
|
|
487
490
|
|
|
488
491
|
declare class QtiHottextInteraction extends Choices {
|
|
@@ -524,7 +527,7 @@ declare class QtiChoiceInteraction extends Choices {
|
|
|
524
527
|
static styles: CSSResultGroup;
|
|
525
528
|
/** orientation of choices */
|
|
526
529
|
orientation: 'horizontal' | 'vertical';
|
|
527
|
-
render
|
|
530
|
+
render(): lit_html.TemplateResult<1>;
|
|
528
531
|
}
|
|
529
532
|
declare global {
|
|
530
533
|
interface HTMLElementTagNameMap {
|
|
@@ -703,6 +706,10 @@ declare class QtiStringMatch extends QtiExpression<boolean> {
|
|
|
703
706
|
calculate(): boolean;
|
|
704
707
|
}
|
|
705
708
|
|
|
709
|
+
declare class QtiSum extends QtiExpression<number> {
|
|
710
|
+
calculate(): number;
|
|
711
|
+
}
|
|
712
|
+
|
|
706
713
|
declare class QtiPortableCustomInteraction extends LitElement {
|
|
707
714
|
private responseIdentifier;
|
|
708
715
|
private module;
|
|
@@ -1044,4 +1051,4 @@ declare const qtiTransform: (xmlValue: string) => {
|
|
|
1044
1051
|
xml(): string;
|
|
1045
1052
|
};
|
|
1046
1053
|
|
|
1047
|
-
export { BaseType, Calculate, Cardinality, Events, InteractionChangedDetails, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, qtiChoiceElementSelected as QtiChoiceElementSelected, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiConditionExpression, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, qtiInteractionChanged as QtiInteractionChanged, qtiInteractionResponse as QtiInteractionResponse, QtiIsNull, QtiItem, qtiLooseChoice as QtiLooseChoice, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, qtiOutcomeChanged as QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, qtiRegisterChoice as QtiRegisterChoice, qtiRegisterHotspot as QtiRegisterHotspot, qtiRegisterInteraction as QtiRegisterInteraction, qtiRegisterVariable as QtiRegisterVariable, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, ResultVariable, VariableDeclaration, directedPair, float, integer, qtiContentBody, qtiRubricBlock, qtiTransform };
|
|
1054
|
+
export { BaseType, Calculate, Cardinality, Events, Interaction, InteractionChangedDetails, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, qtiChoiceElementSelected as QtiChoiceElementSelected, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiConditionExpression, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, qtiInteractionChanged as QtiInteractionChanged, qtiInteractionResponse as QtiInteractionResponse, QtiIsNull, QtiItem, qtiLooseChoice as QtiLooseChoice, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, qtiOutcomeChanged as QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, qtiRegisterChoice as QtiRegisterChoice, qtiRegisterHotspot as QtiRegisterHotspot, qtiRegisterInteraction as QtiRegisterInteraction, qtiRegisterVariable as QtiRegisterVariable, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSum, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, ResultVariable, VariableDeclaration, directedPair, float, integer, qtiContentBody, qtiRubricBlock, qtiTransform };
|