@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as BaseType, C as Cardinality, Q as QtiAssessmentItem, R as ResponseVariable } from '../qti-assessment-item-f1fcf393.js';
|
|
2
2
|
export { b as Calculate, M as Multiple, O as Ordered, c as OutcomeVariable, e as QtiMapping, a as ResponseInteraction, d as directedPair, f as float, i as integer } from '../qti-assessment-item-f1fcf393.js';
|
|
3
|
-
import { C as Choices, I as Interaction, Q as QtiRule, a as QtiChoice } from '../qti-simple-choice-
|
|
4
|
-
export { b as InteractionChangedDetails, O as OutcomeChangedDetails, j as QtiChoiceElementSelected, l as QtiExtendedTextInteraction, n 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, m as QtiResponseProcessing, k as QtiTextEntryInteraction } from '../qti-simple-choice-
|
|
3
|
+
import { C as Choices, I as Interaction, Q as QtiRule, a as QtiChoice } from '../qti-simple-choice-e1c352e0.js';
|
|
4
|
+
export { b as InteractionChangedDetails, O as OutcomeChangedDetails, j as QtiChoiceElementSelected, l as QtiExtendedTextInteraction, n 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, m as QtiResponseProcessing, k as QtiTextEntryInteraction } from '../qti-simple-choice-e1c352e0.js';
|
|
5
5
|
import * as lit from 'lit';
|
|
6
6
|
import { LitElement } from 'lit';
|
|
7
7
|
import * as lit_html from 'lit-html';
|
|
@@ -180,6 +180,14 @@ declare class QtiGte extends QtiConditionExpression {
|
|
|
180
180
|
calculate(): boolean;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
declare class QtiLt extends QtiExpression<boolean> {
|
|
184
|
+
calculate(): boolean;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
declare class QtiLte extends QtiConditionExpression {
|
|
188
|
+
calculate(): boolean;
|
|
189
|
+
}
|
|
190
|
+
|
|
183
191
|
declare class QtiAnd extends QtiConditionExpression {
|
|
184
192
|
render(): lit_html.TemplateResult<1>;
|
|
185
193
|
calculate(): boolean;
|
|
@@ -430,7 +438,31 @@ declare class QtiSelectPointInteraction extends Interaction {
|
|
|
430
438
|
disconnectedCallback(): void;
|
|
431
439
|
}
|
|
432
440
|
|
|
441
|
+
/**
|
|
442
|
+
* @summary The SliderInteraction.Type (qti-slider-interaction) presents the candidate with a control for selecting a numerical value between a lower and upper bound.
|
|
443
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.s61xcrj4qcyj
|
|
444
|
+
* @status stable
|
|
445
|
+
* @since 6.0
|
|
446
|
+
*
|
|
447
|
+
* @event qti-register-interaction - emitted when the interaction wants to register itself
|
|
448
|
+
* @event qti-interaction-response - emitted when the interaction changes
|
|
449
|
+
*
|
|
450
|
+
* @cssprop --show-value - shows the current value while sliding
|
|
451
|
+
* @cssprop --show-ticks - shows the ticks according to steps
|
|
452
|
+
* @cssprop --show-bounds - shows value for lower and upper boundary
|
|
453
|
+
*
|
|
454
|
+
* @csspart slider -- slider inluding, bounds and ticks and value, use it for paddings and margins
|
|
455
|
+
* @csspart bounds -- div for bounds, containing two divs for with min, and max bounds value
|
|
456
|
+
* @csspart ticks -- div for ticks, use lineair gradient and exposed css variables for styling
|
|
457
|
+
* @csspart rail -- div for rail, style according to needs
|
|
458
|
+
* @csspart knob -- div, should be relative or absolute
|
|
459
|
+
* @csspart value -- div, containing value
|
|
460
|
+
*
|
|
461
|
+
* @slot - The default slot where <qti-simple-choice> must be placed.
|
|
462
|
+
* @slot prompt - slot where the prompt is placed.
|
|
463
|
+
*/
|
|
433
464
|
declare class QtiSliderInteraction extends Interaction {
|
|
465
|
+
csLive: CSSStyleDeclaration;
|
|
434
466
|
private _knob;
|
|
435
467
|
private _rail;
|
|
436
468
|
value: number;
|
|
@@ -449,6 +481,7 @@ declare class QtiSliderInteraction extends Interaction {
|
|
|
449
481
|
_handleReadonlyChange: (old: any, readonly: any) => void;
|
|
450
482
|
reset(): void;
|
|
451
483
|
validate(): boolean;
|
|
484
|
+
constructor();
|
|
452
485
|
set response(myResponse: string | string[]);
|
|
453
486
|
static styles: lit.CSSResult[];
|
|
454
487
|
render(): lit_html.TemplateResult<1>;
|
|
@@ -490,4 +523,4 @@ declare class QtiHotspotChoice extends QtiChoice {
|
|
|
490
523
|
declare class QtiInlineChoice extends LitElement {
|
|
491
524
|
}
|
|
492
525
|
|
|
493
|
-
export { BaseType, Cardinality, Events, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, QtiCompanionMaterialsInfo, QtiContains, QtiCorrect, QtiEqual, QtiEqualRounded, QtiExpression, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, QtiIsNull, QtiMapResponse, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiModalFeedback, QtiMultiple, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSliderInteraction, QtiStylesheet, QtiVariable, ResponseVariable, qtiContentBody, qtiRubricBlock };
|
|
526
|
+
export { BaseType, Cardinality, Events, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, QtiCompanionMaterialsInfo, QtiContains, QtiCorrect, QtiEqual, QtiEqualRounded, QtiExpression, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiModalFeedback, QtiMultiple, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSliderInteraction, QtiStylesheet, QtiVariable, ResponseVariable, qtiContentBody, qtiRubricBlock };
|