@citolab/qti-components 3.0.77 → 3.0.80
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/package.json +12 -12
- package/environments/environment.d.ts +0 -6
- package/environments/environment.prod.d.ts +0 -6
- package/index.css +0 -2885
- package/index.d.ts +0 -52
- package/index.js +0 -377
- package/index.umd.css +0 -2885
- package/index.umd.js +0 -490
- package/lab/qti-context/qti-context.d.ts +0 -7
- package/lab/qti-custom/qti-custom-operator/qti-custom-operator-levenshtein.d.ts +0 -11
- package/lab/qti-custom/qti-custom-operator/qti-custom-operator-numeric-parse-nl.d.ts +0 -11
- package/lab/qti-custom/qti-custom-operator/qti-custom-operator-numeric.d.ts +0 -6
- package/lab/qti-custom/qti-custom-operator/qti-custom-operator-remove-spaces.d.ts +0 -6
- package/lab/qti-custom/qti-custom-operator/qti-custom-operator-trim.d.ts +0 -6
- package/lab/qti-item/qti-item.d.ts +0 -20
- package/lab/qti-manual-scoring/qti-manual-scoring.d.ts +0 -15
- package/lab/qti-test/index.d.ts +0 -2
- package/lab/qti-test/qti-test-buttons.d.ts +0 -1
- package/lab/qti-test/qti-test.d.ts +0 -58
- package/lib/qti-base/qti-assessment-item/qti-assessment-item.d.ts +0 -44
- package/lib/qti-base/qti-choice/qti-choice.d.ts +0 -34
- package/lib/qti-base/qti-choice/qti-hottext/qti-hottext.d.ts +0 -9
- package/lib/qti-base/qti-choice/qti-simple-choice/qti-simple-choice.d.ts +0 -9
- package/lib/qti-base/qti-companion-materials-info/qti-companion-materials-info.d.ts +0 -3
- package/lib/qti-base/qti-feedback/qti-feedback-inline/qti-feedback-inline.d.ts +0 -5
- package/lib/qti-base/qti-feedback/qti-feedback.d.ts +0 -30
- package/lib/qti-base/qti-feedback/qti-modal-feedback/qti-modal-feedback.d.ts +0 -5
- package/lib/qti-base/qti-interaction/qti-choice-interaction/qti-choice-interaction.d.ts +0 -11
- package/lib/qti-base/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.d.ts +0 -19
- package/lib/qti-base/qti-interaction/qti-hottext-interaction/qti-hottext-interaction.d.ts +0 -6
- package/lib/qti-base/qti-interaction/qti-inline-choice-interaction/qti-inline-choice-interaction.d.ts +0 -27
- package/lib/qti-base/qti-interaction/qti-text-entry-interaction/qti-text-entry-interaction.d.ts +0 -34
- package/lib/qti-base/qti-item-body/qti-item-body.d.ts +0 -5
- package/lib/qti-base/qti-preview/qti-associable-hotspot.d.ts +0 -6
- package/lib/qti-base/qti-preview/qti-associate-interaction/qti-associate-interaction.d.ts +0 -10
- package/lib/qti-base/qti-preview/qti-associate-interaction/qti-simple-associable-choice.d.ts +0 -5
- package/lib/qti-base/qti-preview/qti-custom-interaction/qti-portable-custom-interaction.d.ts +0 -34
- package/lib/qti-base/qti-preview/qti-gap-match-interaction/qti-gap-match-interaction.d.ts +0 -8
- package/lib/qti-base/qti-preview/qti-gap-match-interaction/qti-gap-text.d.ts +0 -5
- package/lib/qti-base/qti-preview/qti-gap-match-interaction/qti-gap.d.ts +0 -4
- package/lib/qti-base/qti-preview/qti-graphic-associate-interaction/qti-graphic-associate-interaction.d.ts +0 -10
- package/lib/qti-base/qti-preview/qti-graphic-gap-match-interaction/qti-gap-img.d.ts +0 -3
- package/lib/qti-base/qti-preview/qti-graphic-gap-match-interaction/qti-graphic-gap-match-interaction.d.ts +0 -11
- package/lib/qti-base/qti-preview/qti-graphic-order-interaction/qti-graphic-order-interaction.d.ts +0 -11
- package/lib/qti-base/qti-preview/qti-hotspot-choice.d.ts +0 -5
- package/lib/qti-base/qti-preview/qti-hotspot-interaction/qti-hotspot-interaction.d.ts +0 -9
- package/lib/qti-base/qti-preview/qti-match-interaction/qti-match-interaction.d.ts +0 -8
- package/lib/qti-base/qti-preview/qti-media-interaction/qti-media-interaction.d.ts +0 -19
- package/lib/qti-base/qti-preview/qti-order-interaction/qti-order-interaction.d.ts +0 -23
- package/lib/qti-base/qti-preview/qti-preview-badge.d.ts +0 -1
- package/lib/qti-base/qti-preview/qti-select-point-interaction/qti-select-point-interaction.d.ts +0 -10
- package/lib/qti-base/qti-preview/qti-slider-interaction/qti-slider-interaction.d.ts +0 -32
- package/lib/qti-base/qti-prompt/qti-prompt.d.ts +0 -6
- package/lib/qti-base/qti-responseprocessing/index.d.ts +0 -18
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-and/qti-and.d.ts +0 -7
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-basevalue/qti-basevalue.d.ts +0 -6
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-contains/qti-contains.d.ts +0 -6
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-correct/qti-correct.d.ts +0 -6
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-expression.d.ts +0 -6
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-gte/qti-gte.d.ts +0 -6
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-is-null/qti-is-null.d.ts +0 -6
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-mapresponse/qti-mapresponse.d.ts +0 -4
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-match/qti-match.d.ts +0 -4
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.d.ts +0 -4
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-or/qti-or.d.ts +0 -7
- package/lib/qti-base/qti-responseprocessing/qti-expression/qti-variable/qti-variable.d.ts +0 -6
- package/lib/qti-base/qti-responseprocessing/qti-responseelse/qti-responseelse.d.ts +0 -15
- package/lib/qti-base/qti-responseprocessing/qti-responseelse/qti-responseif/qti-responseelseif/qti-responseelseif.d.ts +0 -4
- package/lib/qti-base/qti-responseprocessing/qti-responseelse/qti-responseif/qti-responseif.d.ts +0 -7
- package/lib/qti-base/qti-responseprocessing/qti-responseprocessing/qti-responseprocessing.d.ts +0 -7
- package/lib/qti-base/qti-responseprocessing/qti-rule/qti-responsecondition/qti-responsecondition.d.ts +0 -5
- package/lib/qti-base/qti-responseprocessing/qti-rule/qti-rule.d.ts +0 -5
- package/lib/qti-base/qti-responseprocessing/qti-rule/qti-setoutcomevalue/qti-setoutcomevalue.d.ts +0 -4
- package/lib/qti-base/qti-rubric-block/qti-content-body.d.ts +0 -5
- package/lib/qti-base/qti-rubric-block/qti-rubric-block.d.ts +0 -16
- package/lib/qti-base/qti-stylesheet/qti-stylesheet.d.ts +0 -7
- package/lib/qti-base/qti-variabledeclaration/qti-outcomedeclaration/qti-outcomedeclaration.d.ts +0 -5
- package/lib/qti-base/qti-variabledeclaration/qti-responsedeclaration/qti-responsedeclaration.d.ts +0 -9
- package/lib/qti-base/qti-variabledeclaration/qti-variabledeclaration.d.ts +0 -4
- package/lib/qti-utilities/EventStrings.d.ts +0 -19
- package/lib/qti-utilities/EventTypes.d.ts +0 -7
- package/lib/qti-utilities/ExpressionResult.d.ts +0 -43
- package/lib/qti-utilities/OutcomeVariable.d.ts +0 -8
- package/lib/qti-utilities/ResponseVariable.d.ts +0 -28
- package/lib/qti-utilities/TemplateStrings.d.ts +0 -3
- package/lib/qti-utilities/VariableDeclaration.d.ts +0 -7
- package/lib/utilities/choice/choices.d.ts +0 -23
- package/lib/utilities/decorators/liveQuery.d.ts +0 -10
- package/lib/utilities/decorators/watch.d.ts +0 -14
- package/lib/utilities/drag-drop/drag-drop-api.d.ts +0 -91
- package/lib/utilities/drag-drop/drag-drop-interaction-mixin.d.ts +0 -5
- package/lib/utilities/drag-drop/draggables-mixin.d.ts +0 -0
- package/lib/utilities/drag-drop/droppables-mixin.d.ts +0 -6
- package/lib/utilities/drag-drop/flippables-mixin.d.ts +0 -8
- package/lib/utilities/drag-drop/index.d.ts +0 -4
- package/lib/utilities/element/qti-element.d.ts +0 -6
- package/lib/utilities/hotspots/hotspot.d.ts +0 -2
- package/lib/utilities/interaction/interaction.d.ts +0 -14
- package/lib/utilities/interaction/interaction.interface.d.ts +0 -8
- package/lib/utilities/reset-styles/reset-shadowroot-styles.d.ts +0 -1
- package/lib/utilities/scale-to-fit/scale-to-fit.mixin.d.ts +0 -6
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Calculate } from '../../../lib/qti-utilities/ExpressionResult';
|
|
2
|
-
import { LitElement } from 'lit';
|
|
3
|
-
export declare class QtiCustomOperatorLevenshtein extends LitElement implements Calculate {
|
|
4
|
-
value: any;
|
|
5
|
-
static properties: {
|
|
6
|
-
value: {};
|
|
7
|
-
};
|
|
8
|
-
render: () => import("lit-html").TemplateResult<1>;
|
|
9
|
-
private levenshtein;
|
|
10
|
-
calculate(): any;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { Calculate } from '../../../lib/qti-utilities/ExpressionResult';
|
|
3
|
-
export declare class QtiCustomOperatorParseNumberLocalNl extends LitElement implements Calculate {
|
|
4
|
-
value: any;
|
|
5
|
-
static properties: {
|
|
6
|
-
value: {};
|
|
7
|
-
};
|
|
8
|
-
render: () => import("lit-html").TemplateResult<1>;
|
|
9
|
-
calculate(): any;
|
|
10
|
-
private parseNumber;
|
|
11
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import { Calculate } from '../../../lib/qti-utilities/ExpressionResult';
|
|
3
|
-
export declare class QtiCustomOperatorNumericOnly extends LitElement implements Calculate {
|
|
4
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
-
calculate(): string;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import { Calculate } from '../../../lib/qti-utilities/ExpressionResult';
|
|
3
|
-
export declare class QtiCustomOperatorRemoveAllSpaces extends LitElement implements Calculate {
|
|
4
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
-
calculate(): string;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { Calculate } from '../../../lib/qti-utilities/ExpressionResult';
|
|
3
|
-
export declare class QtiCustomOperatorTrim extends LitElement implements Calculate {
|
|
4
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
-
calculate(): string;
|
|
6
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { InputResponseFormat, QtiVariableJSON } from '../../lib/qti-utilities/ExpressionResult';
|
|
2
|
-
import { LitElement } from 'lit';
|
|
3
|
-
import { QtiAssessmentItem } from '../../lib/qti-base/qti-assessment-item/qti-assessment-item';
|
|
4
|
-
declare const QtiItem_base: (new (...args: any[]) => import("../../lib/utilities/scale-to-fit/scale-to-fit.mixin").ScaleToFitInterface) & typeof LitElement;
|
|
5
|
-
export declare class QtiItem extends QtiItem_base {
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
handleDisabledChange(old: any, disabled: boolean): void;
|
|
8
|
-
readonly: boolean;
|
|
9
|
-
handleReadonlyChange(old: any, readonly: boolean): void;
|
|
10
|
-
responses: InputResponseFormat<QtiVariableJSON>;
|
|
11
|
-
handleResponsesChange(old: any, responses: InputResponseFormat<QtiVariableJSON>): void;
|
|
12
|
-
_item: QtiAssessmentItem;
|
|
13
|
-
static styles: import("lit").CSSResult;
|
|
14
|
-
processResponse: () => boolean;
|
|
15
|
-
validateResponses: () => boolean;
|
|
16
|
-
resetInteractions: () => void;
|
|
17
|
-
private handleSlotchange;
|
|
18
|
-
render: () => import("lit-html").TemplateResult<1>;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ContextConsumer } from '@lit-labs/context';
|
|
2
|
-
import QtiElement from '../../lib/utilities/element/qti-element';
|
|
3
|
-
export declare class QtiManualScoring extends QtiElement {
|
|
4
|
-
static styles: import("lit").CSSResult;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
readonly: boolean;
|
|
7
|
-
value: string;
|
|
8
|
-
min: number;
|
|
9
|
-
max: number;
|
|
10
|
-
protected textChanged(event: Event): void;
|
|
11
|
-
logger: ContextConsumer<{
|
|
12
|
-
__context__: import("../qti-context/qti-context").Logger;
|
|
13
|
-
}, this>;
|
|
14
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
15
|
-
}
|
package/lab/qti-test/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { InputResponseFormat, QtiVariableJSON } from '../../lib/qti-utilities/ExpressionResult';
|
|
3
|
-
import './qti-test.scss';
|
|
4
|
-
export declare const TestEvents: {
|
|
5
|
-
ON_ITEM_WAS_FINISHED: string;
|
|
6
|
-
ON_NO_RESPONSE_ON_SUBMIT: string;
|
|
7
|
-
ON_REQUEST_ITEM: string;
|
|
8
|
-
ON_TEST_FINISHED: string;
|
|
9
|
-
ON_ITEM_READY: string;
|
|
10
|
-
};
|
|
11
|
-
export declare enum NavigationMode {
|
|
12
|
-
linear = "linear",
|
|
13
|
-
nonlinear = "nonlinear"
|
|
14
|
-
}
|
|
15
|
-
export declare enum SubmissionMode {
|
|
16
|
-
individual = "individual",
|
|
17
|
-
simultaneous = "simultaneous"
|
|
18
|
-
}
|
|
19
|
-
export declare class QtiTest extends LitElement {
|
|
20
|
-
prevButton: HTMLElement;
|
|
21
|
-
nextButton: HTMLElement;
|
|
22
|
-
/** TEST CHANGES */
|
|
23
|
-
/** if test is disabled every item in the test will be disabled */
|
|
24
|
-
private readonly disabled;
|
|
25
|
-
/** if test is readonly every item in the test will be readonly */
|
|
26
|
-
private readonly readonly;
|
|
27
|
-
/** The navigation mode is set to linear mode restricting the candidate to attempt each item in turn. Once the candidate moves on they are not permitted to return */
|
|
28
|
-
private _navigationMode;
|
|
29
|
-
handleNavigationModeChange(old: any, navMode: NavigationMode): void;
|
|
30
|
-
/** The submission mode is set to individual mode requiring the candidate to submit their responses on an item-by-item basis */
|
|
31
|
-
private _submissionMode;
|
|
32
|
-
/** All the items in the test with, href=file (used for location), identifier=uniqueInTest (used for responses) */
|
|
33
|
-
items: {
|
|
34
|
-
href: string;
|
|
35
|
-
identifier: string;
|
|
36
|
-
}[];
|
|
37
|
-
/** ITEM CHANGES */
|
|
38
|
-
/** The item index, set from outside */
|
|
39
|
-
readonly itemIndex = 0;
|
|
40
|
-
handleItemIndexChange(old: any, itemIndex: Number): void;
|
|
41
|
-
private _itemRef;
|
|
42
|
-
set qtiContext(context: {
|
|
43
|
-
view: 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor';
|
|
44
|
-
});
|
|
45
|
-
set itemXML(xml: string);
|
|
46
|
-
set manualOutcomeValue(value: any);
|
|
47
|
-
set itemResponse(val: InputResponseFormat<QtiVariableJSON>);
|
|
48
|
-
private provider;
|
|
49
|
-
private _onCheckItem;
|
|
50
|
-
private _onScoreItem;
|
|
51
|
-
private _onPrevItem;
|
|
52
|
-
private _onNextItem;
|
|
53
|
-
private _onShowCorrect;
|
|
54
|
-
private _onRequestItem;
|
|
55
|
-
private _handleSlotchange;
|
|
56
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
57
|
-
emit(name: string, options?: CustomEventInit): void;
|
|
58
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ResponseType, QtiVariableJSON, InputResponseFormat } from '../../qti-utilities/ExpressionResult';
|
|
2
|
-
import { ResponseVariable } from '../../qti-utilities/ResponseVariable';
|
|
3
|
-
import { OutcomeVariable } from '../../qti-utilities/OutcomeVariable';
|
|
4
|
-
import QtiElement from '../../utilities/element/qti-element';
|
|
5
|
-
export declare class QtiAssessmentItem extends QtiElement {
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
readonly: boolean;
|
|
8
|
-
private variables;
|
|
9
|
-
private feedbackElements;
|
|
10
|
-
private interactionElements;
|
|
11
|
-
static get properties(): {
|
|
12
|
-
title: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
};
|
|
15
|
-
identifier: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
};
|
|
18
|
-
disabled: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
};
|
|
21
|
-
readonly: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
identifier: string;
|
|
26
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
27
|
-
updated(changedProperties: any): void;
|
|
28
|
-
constructor();
|
|
29
|
-
disconnectedCallback(): void;
|
|
30
|
-
private _registerVariable;
|
|
31
|
-
showCorrectResponse(): void;
|
|
32
|
-
processResponse(): boolean;
|
|
33
|
-
set responses(myResponses: InputResponseFormat<QtiVariableJSON>);
|
|
34
|
-
resetInteractions(): void;
|
|
35
|
-
validateResponses(): boolean;
|
|
36
|
-
getVariableValue(identifier: string): ResponseType;
|
|
37
|
-
getResponse(identifier: string): ResponseVariable | void;
|
|
38
|
-
getOutcome(identifier: string): OutcomeVariable;
|
|
39
|
-
private registerFeedbackElement;
|
|
40
|
-
private registerInteractionElement;
|
|
41
|
-
private interactionResponse;
|
|
42
|
-
private outcomeChanged;
|
|
43
|
-
setOutcomeValue(identifier: string, value: ResponseType): void;
|
|
44
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import './qti-choice.scss';
|
|
2
|
-
import QtiElement from '../../utilities/element/qti-element';
|
|
3
|
-
/**
|
|
4
|
-
* @summary qti-choice is used by qti-simple-choice, qti-inline-choice, qti-hottext, qti-hotspot-choice.
|
|
5
|
-
*
|
|
6
|
-
* @since 1.0
|
|
7
|
-
* @status stable
|
|
8
|
-
*
|
|
9
|
-
* @event on-register-choice - register itselves on a qti-choice-interaction element.
|
|
10
|
-
* @event on-loose-choice - de-register itselves on a qti-choice-interaction element.
|
|
11
|
-
* @event choice-element-selected - Emitted when the choice is selected.
|
|
12
|
-
*
|
|
13
|
-
* @slot - The choices slot element
|
|
14
|
-
*/
|
|
15
|
-
export declare class QtiChoice extends QtiElement {
|
|
16
|
-
identifier: string;
|
|
17
|
-
tabindex: number;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
readonly: boolean;
|
|
20
|
-
checked: boolean;
|
|
21
|
-
handleDisabledChange(old: any, disabled: boolean): void;
|
|
22
|
-
connectedCallback(): void;
|
|
23
|
-
disconnectedCallback(): void;
|
|
24
|
-
reset(): void;
|
|
25
|
-
private _onKeyUp;
|
|
26
|
-
private _onClick;
|
|
27
|
-
private _toggleChecked;
|
|
28
|
-
render(): import("lit-html").TemplateResult<1 | 2>;
|
|
29
|
-
}
|
|
30
|
-
declare global {
|
|
31
|
-
interface HTMLElementTagNameMap {
|
|
32
|
-
'qti-choice': QtiChoice;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { ResponseType } from '../../qti-utilities/ExpressionResult';
|
|
3
|
-
export declare abstract class QtiFeedback extends LitElement {
|
|
4
|
-
protected showHide: string;
|
|
5
|
-
protected outcomeIdentifier: string;
|
|
6
|
-
protected identifier: string;
|
|
7
|
-
protected showStatus: string;
|
|
8
|
-
static get properties(): {
|
|
9
|
-
showStatus: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
attribute: boolean;
|
|
12
|
-
reflect: boolean;
|
|
13
|
-
};
|
|
14
|
-
showHide: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
attribute: string;
|
|
17
|
-
};
|
|
18
|
-
outcomeIdentifier: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
attribute: string;
|
|
21
|
-
};
|
|
22
|
-
identifier: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
constructor();
|
|
27
|
-
connectedCallback(): void;
|
|
28
|
-
checkShowFeedback(_outcomeIdentifier: string, outcomeValue: ResponseType): void;
|
|
29
|
-
private showFeedback;
|
|
30
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Choices } from '../../../utilities/choice/choices';
|
|
2
|
-
import './qti-choice-interaction.scss';
|
|
3
|
-
export declare class QtiChoiceInteraction extends Choices {
|
|
4
|
-
/** orientation of choices */
|
|
5
|
-
private _orientation;
|
|
6
|
-
/** ~~shuffle not yet implemented~~ */
|
|
7
|
-
private _shuffle;
|
|
8
|
-
static layoutClass: string[];
|
|
9
|
-
static presentationClass: string[];
|
|
10
|
-
render: () => import("lit-html").TemplateResult<1>;
|
|
11
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Interaction } from '../../../utilities/interaction/interaction';
|
|
2
|
-
import './qti-extended-text-interaction.scss';
|
|
3
|
-
export declare class QtiExtendedTextInteraction extends Interaction {
|
|
4
|
-
static rowHeightClass: string[];
|
|
5
|
-
textareaRef: import("lit-html/directives/ref").Ref<HTMLTextAreaElement>;
|
|
6
|
-
expectedLength: any;
|
|
7
|
-
patternMask: any;
|
|
8
|
-
placeholderText: any;
|
|
9
|
-
value: string;
|
|
10
|
-
classNames: any;
|
|
11
|
-
handleclassNamesChange(old: any, disabled: boolean): void;
|
|
12
|
-
set response(value: string);
|
|
13
|
-
validate(): boolean;
|
|
14
|
-
static get styles(): import("lit").CSSResult[];
|
|
15
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
-
protected textChanged(event: Event): void;
|
|
17
|
-
reset(): void;
|
|
18
|
-
private setEmptyAttribute;
|
|
19
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Interaction } from '../../../utilities/interaction/interaction';
|
|
2
|
-
import './qti-inline-choice-interaction.scss';
|
|
3
|
-
interface OptionType {
|
|
4
|
-
textContent: string;
|
|
5
|
-
value: string;
|
|
6
|
-
selected: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare class QtiInlineChoiceInteraction extends Interaction {
|
|
9
|
-
options: OptionType[];
|
|
10
|
-
static inputWidthClass: string[];
|
|
11
|
-
static get properties(): {
|
|
12
|
-
options: {
|
|
13
|
-
type: ArrayConstructor;
|
|
14
|
-
value: any[];
|
|
15
|
-
attribute: boolean;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
connectedCallback(): void;
|
|
19
|
-
static get styles(): import("lit").CSSResult[];
|
|
20
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
21
|
-
constructor();
|
|
22
|
-
validate(): boolean;
|
|
23
|
-
reset(): void;
|
|
24
|
-
set response(value: string);
|
|
25
|
-
choiceSelected(event: Event): void;
|
|
26
|
-
}
|
|
27
|
-
export {};
|
package/lib/qti-base/qti-interaction/qti-text-entry-interaction/qti-text-entry-interaction.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Interaction } from '../../../utilities/interaction/interaction';
|
|
2
|
-
import './qti-text-entry-interaction.scss';
|
|
3
|
-
export declare class QtiTextEntryInteraction extends Interaction {
|
|
4
|
-
static inputWidthClass: string[];
|
|
5
|
-
value: string;
|
|
6
|
-
expectedLength: any;
|
|
7
|
-
placeholderText: any;
|
|
8
|
-
patternMask: any;
|
|
9
|
-
static get properties(): {
|
|
10
|
-
expectedLength: {
|
|
11
|
-
type: NumberConstructor;
|
|
12
|
-
attribute: string;
|
|
13
|
-
};
|
|
14
|
-
patternMask: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
attribute: string;
|
|
17
|
-
};
|
|
18
|
-
placeholderText: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
attribute: string;
|
|
21
|
-
};
|
|
22
|
-
value: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
constructor();
|
|
27
|
-
set response(value: string | undefined);
|
|
28
|
-
validate(): boolean;
|
|
29
|
-
static get styles(): import("lit").CSSResult[];
|
|
30
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
31
|
-
protected textChanged(event: Event): void;
|
|
32
|
-
reset(): void;
|
|
33
|
-
private setEmptyAttribute;
|
|
34
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import QtiElement from '../../../utilities/element/qti-element';
|
|
2
|
-
import './qti-associate-interaction.scss';
|
|
3
|
-
declare const QtiAssociateInteraction_base: (new (...args: any[]) => import("../../../utilities/interaction/interaction.interface").IInteraction) & typeof QtiElement;
|
|
4
|
-
export declare class QtiAssociateInteraction extends QtiAssociateInteraction_base {
|
|
5
|
-
private _childrenMap;
|
|
6
|
-
static styles: import("lit").CSSResult;
|
|
7
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
-
connectedCallback(): void;
|
|
9
|
-
}
|
|
10
|
-
export {};
|
package/lib/qti-base/qti-preview/qti-custom-interaction/qti-portable-custom-interaction.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import QtiElement from '../../../utilities/element/qti-element';
|
|
2
|
-
export declare class QtiPortableCustomInteraction extends QtiElement {
|
|
3
|
-
private responseIdentifier;
|
|
4
|
-
private module;
|
|
5
|
-
private customInteractionTypeIdentifier;
|
|
6
|
-
private baseUrl;
|
|
7
|
-
private _errorMessage;
|
|
8
|
-
static get properties(): {
|
|
9
|
-
responseIdentifier: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
attribute: string;
|
|
12
|
-
};
|
|
13
|
-
module: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
attribute: string;
|
|
16
|
-
};
|
|
17
|
-
customInteractionTypeIdentifier: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
attribute: string;
|
|
20
|
-
};
|
|
21
|
-
baseUrl: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
attribute: string;
|
|
24
|
-
};
|
|
25
|
-
_errorMessage: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
state: boolean;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
getTAOConfig(node: any): {} | void;
|
|
31
|
-
register(item: any): void;
|
|
32
|
-
connectedCallback(): void;
|
|
33
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
34
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import './qti-gap-match-interaction.scss';
|
|
3
|
-
declare const QtiGapMatchInteraction_base: (new (...args: any[]) => import("../../../utilities/interaction/interaction.interface").IInteraction) & typeof LitElement;
|
|
4
|
-
export declare class QtiGapMatchInteraction extends QtiGapMatchInteraction_base {
|
|
5
|
-
static styles: import("lit").CSSResult;
|
|
6
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
-
}
|
|
8
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Choices } from '../../../utilities/choice/choices';
|
|
2
|
-
import './qti-graphic-associate-interaction.scss';
|
|
3
|
-
export declare class QtiGraphicAssociateInteraction extends Choices {
|
|
4
|
-
choiceOrdering: boolean;
|
|
5
|
-
static styles: import("lit").CSSResult[];
|
|
6
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
-
private positionHotspotOnRegister;
|
|
8
|
-
connectedCallback(): void;
|
|
9
|
-
disconnectedCallback(): void;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import QtiElement from '../../../utilities/element/qti-element';
|
|
2
|
-
import './qti-graphic-gap-match-interaction.scss';
|
|
3
|
-
declare const QtiGraphicGapMatchInteraction_base: (new (...args: any[]) => import("../../../utilities/interaction/interaction.interface").IInteraction) & typeof QtiElement;
|
|
4
|
-
export declare class QtiGraphicGapMatchInteraction extends QtiGraphicGapMatchInteraction_base {
|
|
5
|
-
static styles: import("lit").CSSResult;
|
|
6
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
-
private positionHotspotOnRegister;
|
|
8
|
-
connectedCallback(): void;
|
|
9
|
-
disconnectedCallback(): void;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
package/lib/qti-base/qti-preview/qti-graphic-order-interaction/qti-graphic-order-interaction.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Choices } from '../../../utilities/choice/choices';
|
|
2
|
-
import './qti-graphic-order-interaction.scss';
|
|
3
|
-
export declare class QtiGraphicOrderInteraction extends Choices {
|
|
4
|
-
choiceOrdering: boolean;
|
|
5
|
-
static styles: import("lit").CSSResult[];
|
|
6
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
-
private setHotspotOrder;
|
|
8
|
-
private positionHotspotOnRegister;
|
|
9
|
-
connectedCallback(): void;
|
|
10
|
-
disconnectedCallback(): void;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Choices } from '../../../utilities/choice/choices';
|
|
2
|
-
import './qti-hotspot-interaction.scss';
|
|
3
|
-
export declare class QtiHotspotInteraction extends Choices {
|
|
4
|
-
static styles: import("lit").CSSResult[];
|
|
5
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
-
private positionHotspotOnRegister;
|
|
7
|
-
connectedCallback(): void;
|
|
8
|
-
disconnectedCallback(): void;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import './qti-match-interaction.scss';
|
|
3
|
-
declare const QtiMatchInteraction_base: (new (...args: any[]) => import("../../../utilities/interaction/interaction.interface").IInteraction) & typeof LitElement;
|
|
4
|
-
export declare class QtiMatchInteraction extends QtiMatchInteraction_base {
|
|
5
|
-
static styles: import("lit").CSSResult[];
|
|
6
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
-
}
|
|
8
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Interaction } from '../../../utilities/interaction/interaction';
|
|
2
|
-
import './qti-media-interaction.scss';
|
|
3
|
-
export declare class QtiMediaInteraction extends Interaction {
|
|
4
|
-
value: number;
|
|
5
|
-
reset(): void;
|
|
6
|
-
validate(): boolean;
|
|
7
|
-
set response(val: unknown);
|
|
8
|
-
static get properties(): {
|
|
9
|
-
step: {
|
|
10
|
-
type: NumberConstructor;
|
|
11
|
-
attribute: string;
|
|
12
|
-
default: number;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
static styles: import("lit").CSSResult[];
|
|
16
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
-
constructor();
|
|
18
|
-
connectedCallback(): void;
|
|
19
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import QtiElement from '../../../utilities/element/qti-element';
|
|
2
|
-
import './qti-order-interaction.scss';
|
|
3
|
-
declare const QtiOrderInteraction_base: (new (...args: any[]) => import("../../../utilities/interaction/interaction.interface").IInteraction) & typeof QtiElement;
|
|
4
|
-
export declare class QtiOrderInteraction extends QtiOrderInteraction_base {
|
|
5
|
-
childrenMap: Element[];
|
|
6
|
-
private _classNames;
|
|
7
|
-
private _orientation;
|
|
8
|
-
static layoutClass: string[];
|
|
9
|
-
static get properties(): {
|
|
10
|
-
_classNames: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
attribute: string;
|
|
13
|
-
};
|
|
14
|
-
_orientation: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
attribute: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
static styles: import("lit").CSSResult[];
|
|
20
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
21
|
-
connectedCallback(): void;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const previewBadgeStyles: import("lit").CSSResult;
|
package/lib/qti-base/qti-preview/qti-select-point-interaction/qti-select-point-interaction.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Choices } from '../../../utilities/choice/choices';
|
|
2
|
-
import './qti-select-point-interaction.scss';
|
|
3
|
-
export declare class QtiSelectPointInteraction extends Choices {
|
|
4
|
-
static styles: import("lit").CSSResult[];
|
|
5
|
-
choiceOrdering: boolean;
|
|
6
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
-
constructor();
|
|
8
|
-
connectedCallback(): void;
|
|
9
|
-
disconnectedCallback(): void;
|
|
10
|
-
}
|