@citolab/qti-components 6.6.1-1 → 6.6.1-11
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-KRFEDZFG.cjs +1 -0
- package/dist/custom-elements.json +8 -8
- package/dist/index.cjs +720 -0
- package/dist/index.js +84 -90
- package/dist/qti-components/index.cjs +461 -0
- package/dist/{index.d.ts → qti-components/index.d.cts} +3 -47
- package/dist/qti-components/index.d.ts +3 -3
- package/dist/qti-components/index.js +72 -78
- package/dist/qti-transformers/index.cjs +36 -0
- package/dist/qti-transformers/index.d.cts +45 -0
- package/dist/qti-transformers/index.js +1 -1
- package/package.json +23 -31
- /package/dist/{chunk-343LZK3D.js → chunk-BKTGSVMP.js} +0 -0
- /package/dist/{styles.bundled.css → item.css} +0 -0
- /package/dist/{styles.css → item.minimal.css} +0 -0
|
@@ -287,11 +287,11 @@ declare class QtiResponseDeclaration extends QtiVariableDeclaration {
|
|
|
287
287
|
declare class QtiCompanionMaterialsInfo extends LitElement {
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
-
declare class
|
|
290
|
+
declare class QtiContentBody extends LitElement {
|
|
291
291
|
render(): lit_html.TemplateResult<1>;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
declare class
|
|
294
|
+
declare class QtiRubricBlock extends LitElement {
|
|
295
295
|
id: any;
|
|
296
296
|
use: 'instructions' | 'scoring' | 'navigation';
|
|
297
297
|
view: 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor';
|
|
@@ -985,48 +985,4 @@ declare global {
|
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
987
|
|
|
988
|
-
|
|
989
|
-
* Returns an object with methods to load, parse, transform and serialize QTI XML items.
|
|
990
|
-
* @returns An object with methods to load, parse, transform and serialize QTI XML items.
|
|
991
|
-
* @example
|
|
992
|
-
* const qtiTransformer = qtiTransformItem();
|
|
993
|
-
* await qtiTransformer.load('path/to/xml/file.xml');
|
|
994
|
-
* qtiTransformer.path('/assessmentItem/itemBody');
|
|
995
|
-
* const html = qtiTransformer.html();
|
|
996
|
-
* const xml = qtiTransformer.xml();
|
|
997
|
-
*
|
|
998
|
-
* qtiTransformItem().parse(storyXML).html()
|
|
999
|
-
*/
|
|
1000
|
-
/**
|
|
1001
|
-
* This module exports a function that returns an object with methods to load, parse, transform and serialize QTI XML items.
|
|
1002
|
-
* @returns An object with methods to load, parse, transform and serialize QTI XML items.
|
|
1003
|
-
*/
|
|
1004
|
-
declare const qtiTransformItem: () => {
|
|
1005
|
-
load(uri: any): Promise<any>;
|
|
1006
|
-
parse(xmlString: any): any;
|
|
1007
|
-
path: (location: string) => any;
|
|
1008
|
-
html(): string;
|
|
1009
|
-
xml(): string;
|
|
1010
|
-
};
|
|
1011
|
-
/**
|
|
1012
|
-
* Returns an object with methods to load, parse and transform QTI tests.
|
|
1013
|
-
* @returns An object with methods to load, parse and transform QTI tests.
|
|
1014
|
-
* @example
|
|
1015
|
-
* const qtiTransformer = qtiTransformTest();
|
|
1016
|
-
* await qtiTransformer.load('https://example.com/test.xml');
|
|
1017
|
-
* const items = qtiTransformer.items();
|
|
1018
|
-
* const html = qtiTransformer.html();
|
|
1019
|
-
* const xml = qtiTransformer.xml();
|
|
1020
|
-
*/
|
|
1021
|
-
declare const qtiTransformTest: () => {
|
|
1022
|
-
load(uri: any): Promise<any>;
|
|
1023
|
-
items(): {
|
|
1024
|
-
identifier: string;
|
|
1025
|
-
href: string;
|
|
1026
|
-
category: string;
|
|
1027
|
-
}[];
|
|
1028
|
-
html(): string;
|
|
1029
|
-
xml(): string;
|
|
1030
|
-
};
|
|
1031
|
-
|
|
1032
|
-
export { BaseType, Calculate, Cardinality, Interaction, InteractionChangedDetails, ItemContext, MockQtiExpression, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, 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, QtiIsNull, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSum, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, VariableDeclaration, VariableValue, directedPair, float, integer, itemContext, qtiAndMixin, qtiContentBody, qtiRubricBlock, qtiTransformItem, qtiTransformTest };
|
|
988
|
+
export { type BaseType, type Calculate, type Cardinality, Interaction, type InteractionChangedDetails, type ItemContext, type MockQtiExpression, type Multiple, type Ordered, type OutcomeChangedDetails, type OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiConditionExpression, QtiContains, QtiContentBody, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, type QtiInteractionChanged, QtiIsNull, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, type QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRubricBlock, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSum, QtiTextEntryInteraction, QtiVariable, type ResponseInteraction, type ResponseVariable, type VariableDeclaration, type VariableValue, type directedPair, type float, type integer, itemContext, qtiAndMixin };
|
|
@@ -287,11 +287,11 @@ declare class QtiResponseDeclaration extends QtiVariableDeclaration {
|
|
|
287
287
|
declare class QtiCompanionMaterialsInfo extends LitElement {
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
-
declare class
|
|
290
|
+
declare class QtiContentBody extends LitElement {
|
|
291
291
|
render(): lit_html.TemplateResult<1>;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
declare class
|
|
294
|
+
declare class QtiRubricBlock extends LitElement {
|
|
295
295
|
id: any;
|
|
296
296
|
use: 'instructions' | 'scoring' | 'navigation';
|
|
297
297
|
view: 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor';
|
|
@@ -985,4 +985,4 @@ declare global {
|
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
987
|
|
|
988
|
-
export { BaseType, Calculate, Cardinality, Interaction, InteractionChangedDetails, ItemContext, MockQtiExpression, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, 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, QtiIsNull, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSum, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, VariableDeclaration, VariableValue, directedPair, float, integer, itemContext, qtiAndMixin
|
|
988
|
+
export { type BaseType, type Calculate, type Cardinality, Interaction, type InteractionChangedDetails, type ItemContext, type MockQtiExpression, type Multiple, type Ordered, type OutcomeChangedDetails, type OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiConditionExpression, QtiContains, QtiContentBody, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, type QtiInteractionChanged, QtiIsNull, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiMember, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, type QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRubricBlock, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSum, QtiTextEntryInteraction, QtiVariable, type ResponseInteraction, type ResponseVariable, type VariableDeclaration, type VariableValue, type directedPair, type float, type integer, itemContext, qtiAndMixin };
|