@citolab/qti-components 6.9.1-beta.76 → 6.9.1-beta.78
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-element-eslint-rules.js +67 -67
- package/dist/custom-elements.json +14018 -13959
- package/dist/index.global.js +1 -1
- package/dist/index.js +10 -1
- package/dist/index.min.js +4 -4
- package/dist/qti-components/index.cjs +10 -1
- package/dist/qti-components/index.d.cts +2 -2
- package/dist/qti-components/index.d.ts +2 -2
- package/dist/qti-components/index.js +10 -1
- package/dist/qti-components-jsx.d.ts +677 -699
- package/dist/qti-item/index.d.cts +1 -1
- package/dist/qti-item/index.d.ts +1 -1
- package/dist/qti-loader/index.d.cts +1 -1
- package/dist/qti-loader/index.d.ts +1 -1
- package/dist/{qti-simple-choice-C7xBKYaS.d.cts → qti-simple-choice-DC5DJota.d.cts} +5 -3
- package/dist/{qti-simple-choice-C7xBKYaS.d.ts → qti-simple-choice-DC5DJota.d.ts} +5 -3
- package/dist/vscode.html-custom-data.json +406 -406
- package/package.json +43 -18
package/dist/qti-item/index.d.ts
CHANGED
|
@@ -436,7 +436,6 @@ type Choice = HTMLElement & ChoiceInterface & {
|
|
|
436
436
|
internals: ElementInternals;
|
|
437
437
|
};
|
|
438
438
|
interface ChoicesInterface extends IInteraction {
|
|
439
|
-
_choiceElements: Array<Choice>;
|
|
440
439
|
correctResponse: string | string[];
|
|
441
440
|
}
|
|
442
441
|
|
|
@@ -478,11 +477,13 @@ declare global {
|
|
|
478
477
|
}
|
|
479
478
|
}
|
|
480
479
|
|
|
480
|
+
type Orientation = 'horizontal' | 'vertical' | undefined;
|
|
481
481
|
declare const QtiChoiceInteraction_base: (abstract new (...args: any[]) => {}) & (abstract new (...args: any[]) => {}) & (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
|
|
482
482
|
declare class QtiChoiceInteraction extends QtiChoiceInteraction_base implements ChoicesInterface {
|
|
483
483
|
static styles: CSSResultGroup;
|
|
484
|
+
constructor();
|
|
484
485
|
/** orientation of choices */
|
|
485
|
-
orientation:
|
|
486
|
+
orientation: Orientation;
|
|
486
487
|
render(): lit_html.TemplateResult<1>;
|
|
487
488
|
}
|
|
488
489
|
declare global {
|
|
@@ -796,6 +797,7 @@ declare global {
|
|
|
796
797
|
declare const QtiGraphicOrderInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
|
|
797
798
|
declare class QtiGraphicOrderInteraction extends QtiGraphicOrderInteraction_base {
|
|
798
799
|
choiceOrdering: boolean;
|
|
800
|
+
protected _choiceElements: Choice[];
|
|
799
801
|
static styles: lit.CSSResult[];
|
|
800
802
|
render(): lit_html.TemplateResult<1>;
|
|
801
803
|
private setHotspotOrder;
|
|
@@ -1132,4 +1134,4 @@ declare global {
|
|
|
1132
1134
|
}
|
|
1133
1135
|
}
|
|
1134
1136
|
|
|
1135
|
-
export {
|
|
1137
|
+
export { QtiPortableCustomInteraction as $, type ActiveElementMixinInterface as A, type BaseType as B, type Calculate as C, QtiRubricBlock as D, QtiFeedbackBlock as E, QtiFeedbackInline as F, QtiModalFeedback as G, QtiExtendedTextInteraction as H, type ItemContext as I, QtiTextEntryInteraction as J, QtiHottextInteraction as K, QtiInlineChoiceInteraction as L, type Multiple as M, type Orientation as N, type OutcomeChangedDetails as O, QtiChoiceInteraction as P, QtiRule as Q, type ResponseVariable as R, QtiOutcomeProcessing as S, QtiOutcomeProcessingProcessor as T, QtiResponseProcessing as U, type VariableDeclaration as V, QtiLookupOutcomeValue as W, QtiAnd as X, type MockQtiExpression as Y, qtiAndMixin as Z, QtiMapping as _, type QtiRuleBase as a, QtiAssociateInteraction as a0, QtiCustomInteraction as a1, QtiEndAttemptInteraction as a2, QtiGapMatchInteraction as a3, QtiGraphicAssociateInteraction as a4, QtiGraphicGapMatchInteraction as a5, QtiGraphicOrderInteraction as a6, QtiHotspotInteraction as a7, QtiMatchInteraction as a8, QtiMediaInteraction as a9, QtiOrderInteraction as aa, QtiPositionObjectStage as ab, QtiSelectPointInteraction as ac, QtiSliderInteraction as ad, itemContextVariables as ae, itemContext as af, QtiCustomOperator as ag, Interaction as ah, QtiAssociableHotspot as ai, QtiGap as aj, QtiGapImg as ak, QtiGapText as al, QtiHotspotChoice as am, QtiHottext as an, QtiInlineChoice as ao, QtiSimpleAssociableChoice as ap, QtiSimpleChoice as aq, type QtiExpressionBase as b, QtiExpression as c, QtiConditionExpression as d, type InteractionChangedDetails as e, type QtiInteractionChanged as f, type QtiOutcomeChanged as g, type directedPair as h, type ResponseInteraction as i, type float as j, type integer as k, type Ordered as l, type Cardinality as m, type VariableValue as n, type OutcomeVariable as o, QtiAssessmentItem as p, QtiAssessmentStimulusRef as q, type ChoiceInterface as r, ActiveElementMixin as s, QtiItemBody as t, QtiPrompt as u, QtiStylesheet as v, QtiOutcomeDeclaration as w, QtiResponseDeclaration as x, QtiCompanionMaterialsInfo as y, QtiContentBody as z };
|
|
@@ -436,7 +436,6 @@ type Choice = HTMLElement & ChoiceInterface & {
|
|
|
436
436
|
internals: ElementInternals;
|
|
437
437
|
};
|
|
438
438
|
interface ChoicesInterface extends IInteraction {
|
|
439
|
-
_choiceElements: Array<Choice>;
|
|
440
439
|
correctResponse: string | string[];
|
|
441
440
|
}
|
|
442
441
|
|
|
@@ -478,11 +477,13 @@ declare global {
|
|
|
478
477
|
}
|
|
479
478
|
}
|
|
480
479
|
|
|
480
|
+
type Orientation = 'horizontal' | 'vertical' | undefined;
|
|
481
481
|
declare const QtiChoiceInteraction_base: (abstract new (...args: any[]) => {}) & (abstract new (...args: any[]) => {}) & (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
|
|
482
482
|
declare class QtiChoiceInteraction extends QtiChoiceInteraction_base implements ChoicesInterface {
|
|
483
483
|
static styles: CSSResultGroup;
|
|
484
|
+
constructor();
|
|
484
485
|
/** orientation of choices */
|
|
485
|
-
orientation:
|
|
486
|
+
orientation: Orientation;
|
|
486
487
|
render(): lit_html.TemplateResult<1>;
|
|
487
488
|
}
|
|
488
489
|
declare global {
|
|
@@ -796,6 +797,7 @@ declare global {
|
|
|
796
797
|
declare const QtiGraphicOrderInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
|
|
797
798
|
declare class QtiGraphicOrderInteraction extends QtiGraphicOrderInteraction_base {
|
|
798
799
|
choiceOrdering: boolean;
|
|
800
|
+
protected _choiceElements: Choice[];
|
|
799
801
|
static styles: lit.CSSResult[];
|
|
800
802
|
render(): lit_html.TemplateResult<1>;
|
|
801
803
|
private setHotspotOrder;
|
|
@@ -1132,4 +1134,4 @@ declare global {
|
|
|
1132
1134
|
}
|
|
1133
1135
|
}
|
|
1134
1136
|
|
|
1135
|
-
export {
|
|
1137
|
+
export { QtiPortableCustomInteraction as $, type ActiveElementMixinInterface as A, type BaseType as B, type Calculate as C, QtiRubricBlock as D, QtiFeedbackBlock as E, QtiFeedbackInline as F, QtiModalFeedback as G, QtiExtendedTextInteraction as H, type ItemContext as I, QtiTextEntryInteraction as J, QtiHottextInteraction as K, QtiInlineChoiceInteraction as L, type Multiple as M, type Orientation as N, type OutcomeChangedDetails as O, QtiChoiceInteraction as P, QtiRule as Q, type ResponseVariable as R, QtiOutcomeProcessing as S, QtiOutcomeProcessingProcessor as T, QtiResponseProcessing as U, type VariableDeclaration as V, QtiLookupOutcomeValue as W, QtiAnd as X, type MockQtiExpression as Y, qtiAndMixin as Z, QtiMapping as _, type QtiRuleBase as a, QtiAssociateInteraction as a0, QtiCustomInteraction as a1, QtiEndAttemptInteraction as a2, QtiGapMatchInteraction as a3, QtiGraphicAssociateInteraction as a4, QtiGraphicGapMatchInteraction as a5, QtiGraphicOrderInteraction as a6, QtiHotspotInteraction as a7, QtiMatchInteraction as a8, QtiMediaInteraction as a9, QtiOrderInteraction as aa, QtiPositionObjectStage as ab, QtiSelectPointInteraction as ac, QtiSliderInteraction as ad, itemContextVariables as ae, itemContext as af, QtiCustomOperator as ag, Interaction as ah, QtiAssociableHotspot as ai, QtiGap as aj, QtiGapImg as ak, QtiGapText as al, QtiHotspotChoice as am, QtiHottext as an, QtiInlineChoice as ao, QtiSimpleAssociableChoice as ap, QtiSimpleChoice as aq, type QtiExpressionBase as b, QtiExpression as c, QtiConditionExpression as d, type InteractionChangedDetails as e, type QtiInteractionChanged as f, type QtiOutcomeChanged as g, type directedPair as h, type ResponseInteraction as i, type float as j, type integer as k, type Ordered as l, type Cardinality as m, type VariableValue as n, type OutcomeVariable as o, QtiAssessmentItem as p, QtiAssessmentStimulusRef as q, type ChoiceInterface as r, ActiveElementMixin as s, QtiItemBody as t, QtiPrompt as u, QtiStylesheet as v, QtiOutcomeDeclaration as w, QtiResponseDeclaration as x, QtiCompanionMaterialsInfo as y, QtiContentBody as z };
|