@citolab/qti-components 6.0.4-2 → 6.0.5
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-67UY4OJW.js +2121 -0
- package/dist/chunk-7RTSAPMF.js +2135 -0
- package/dist/chunk-E7DMNXUW.js +2127 -0
- package/dist/chunk-MGEP4U4L.js +2139 -0
- package/dist/chunk-OIQME3LC.js +2212 -0
- package/dist/chunk-QH4IMEWP.js +2175 -0
- package/dist/chunk-TI6G3PT6.js +2172 -0
- package/dist/custom-elements.json +575 -434
- package/dist/index.css +263 -262
- package/dist/index.d.ts +35 -2
- package/dist/index.js +329 -319
- package/dist/qti-components/index.d.ts +36 -3
- package/dist/qti-components/index.js +71 -62
- package/dist/qti-item/index.js +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-e1c352e0.d.ts +352 -0
- package/package.json +8 -2
package/dist/index.d.ts
CHANGED
|
@@ -515,7 +515,7 @@ declare class QtiInlineChoiceInteraction extends Interaction {
|
|
|
515
515
|
* @summary The ChoiceInteraction.Type (qti-choice-interaction) interaction presents a collection of choices to the candidate.
|
|
516
516
|
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.j9nu1oa1tu3b
|
|
517
517
|
* @status stable
|
|
518
|
-
* @since
|
|
518
|
+
* @since 6.0
|
|
519
519
|
*
|
|
520
520
|
* @event qti-register-interaction - emitted when the interaction wants to register itself
|
|
521
521
|
* @event qti-interaction-response - emitted when the interaction changes
|
|
@@ -608,6 +608,14 @@ declare class QtiGte extends QtiConditionExpression {
|
|
|
608
608
|
calculate(): boolean;
|
|
609
609
|
}
|
|
610
610
|
|
|
611
|
+
declare class QtiLt extends QtiExpression<boolean> {
|
|
612
|
+
calculate(): boolean;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
declare class QtiLte extends QtiConditionExpression {
|
|
616
|
+
calculate(): boolean;
|
|
617
|
+
}
|
|
618
|
+
|
|
611
619
|
declare class QtiAnd extends QtiConditionExpression {
|
|
612
620
|
render(): lit_html.TemplateResult<1>;
|
|
613
621
|
calculate(): boolean;
|
|
@@ -858,7 +866,31 @@ declare class QtiSelectPointInteraction extends Interaction {
|
|
|
858
866
|
disconnectedCallback(): void;
|
|
859
867
|
}
|
|
860
868
|
|
|
869
|
+
/**
|
|
870
|
+
* @summary The SliderInteraction.Type (qti-slider-interaction) presents the candidate with a control for selecting a numerical value between a lower and upper bound.
|
|
871
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.s61xcrj4qcyj
|
|
872
|
+
* @status stable
|
|
873
|
+
* @since 6.0
|
|
874
|
+
*
|
|
875
|
+
* @event qti-register-interaction - emitted when the interaction wants to register itself
|
|
876
|
+
* @event qti-interaction-response - emitted when the interaction changes
|
|
877
|
+
*
|
|
878
|
+
* @cssprop --show-value - shows the current value while sliding
|
|
879
|
+
* @cssprop --show-ticks - shows the ticks according to steps
|
|
880
|
+
* @cssprop --show-bounds - shows value for lower and upper boundary
|
|
881
|
+
*
|
|
882
|
+
* @csspart slider -- slider inluding, bounds and ticks and value, use it for paddings and margins
|
|
883
|
+
* @csspart bounds -- div for bounds, containing two divs for with min, and max bounds value
|
|
884
|
+
* @csspart ticks -- div for ticks, use lineair gradient and exposed css variables for styling
|
|
885
|
+
* @csspart rail -- div for rail, style according to needs
|
|
886
|
+
* @csspart knob -- div, should be relative or absolute
|
|
887
|
+
* @csspart value -- div, containing value
|
|
888
|
+
*
|
|
889
|
+
* @slot - The default slot where <qti-simple-choice> must be placed.
|
|
890
|
+
* @slot prompt - slot where the prompt is placed.
|
|
891
|
+
*/
|
|
861
892
|
declare class QtiSliderInteraction extends Interaction {
|
|
893
|
+
csLive: CSSStyleDeclaration;
|
|
862
894
|
private _knob;
|
|
863
895
|
private _rail;
|
|
864
896
|
value: number;
|
|
@@ -877,6 +909,7 @@ declare class QtiSliderInteraction extends Interaction {
|
|
|
877
909
|
_handleReadonlyChange: (old: any, readonly: any) => void;
|
|
878
910
|
reset(): void;
|
|
879
911
|
validate(): boolean;
|
|
912
|
+
constructor();
|
|
880
913
|
set response(myResponse: string | string[]);
|
|
881
914
|
static styles: lit.CSSResult[];
|
|
882
915
|
render(): lit_html.TemplateResult<1>;
|
|
@@ -990,4 +1023,4 @@ declare const qtiTransform: (xmlValue: string) => {
|
|
|
990
1023
|
xml(): string;
|
|
991
1024
|
};
|
|
992
1025
|
|
|
993
|
-
export { BaseType, Calculate, Cardinality, Events, InteractionChangedDetails, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, qtiChoiceElementSelected as QtiChoiceElementSelected, QtiCompanionMaterialsInfo, QtiContains, QtiCorrect, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, 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, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiModalFeedback, QtiMultiple, QtiOr, QtiOrderInteraction, QtiOrdered, qtiOutcomeChanged as QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiPrompt, qtiRegisterChoice as QtiRegisterChoice, qtiRegisterHotspot as QtiRegisterHotspot, qtiRegisterInteraction as QtiRegisterInteraction, qtiRegisterVariable as QtiRegisterVariable, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSliderInteraction, QtiStylesheet, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, directedPair, float, integer, qtiContentBody, qtiRubricBlock, qtiTransform };
|
|
1026
|
+
export { BaseType, Calculate, Cardinality, Events, InteractionChangedDetails, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, qtiChoiceElementSelected as QtiChoiceElementSelected, QtiCompanionMaterialsInfo, QtiContains, QtiCorrect, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, 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, QtiModalFeedback, QtiMultiple, QtiOr, QtiOrderInteraction, QtiOrdered, qtiOutcomeChanged as QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiPrompt, qtiRegisterChoice as QtiRegisterChoice, qtiRegisterHotspot as QtiRegisterHotspot, qtiRegisterInteraction as QtiRegisterInteraction, qtiRegisterVariable as QtiRegisterVariable, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSliderInteraction, QtiStylesheet, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, directedPair, float, integer, qtiContentBody, qtiRubricBlock, qtiTransform };
|