@citolab/qti-components 6.0.27 → 6.0.29
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-C4C24R3I.cjs → chunk-M4CYU6DC.cjs} +1 -1
- package/dist/{chunk-EGPC25SK.cjs → chunk-PNQIHQ4E.cjs} +3 -5
- package/dist/{chunk-OKBEUQM2.js → chunk-QFISTKXH.js} +2 -4
- package/dist/{chunk-BVYXUE3V.js → chunk-QROD4MVT.js} +1 -1
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.d.cts +8 -1
- package/dist/context/index.d.ts +8 -1
- package/dist/context/index.js +1 -1
- package/dist/custom-elements.json +487 -484
- package/dist/decorators/index.cjs +1 -1
- package/dist/decorators/index.js +1 -1
- package/dist/index.cjs +91 -80
- package/dist/index.css +0 -2
- package/dist/index.d.cts +7 -12
- package/dist/index.d.ts +7 -12
- package/dist/index.js +91 -80
- package/dist/qti-components/index.cjs +67 -54
- package/dist/qti-components/index.d.cts +10 -15
- package/dist/qti-components/index.d.ts +10 -15
- package/dist/qti-components/index.js +76 -63
- package/dist/qti-item/index.cjs +1 -1
- package/dist/qti-item/index.d.cts +19 -3
- package/dist/qti-item/index.d.ts +19 -3
- package/dist/qti-item/index.js +1 -1
- package/dist/qti-item-react/index.cjs +1 -1
- package/dist/qti-item-react/index.d.cts +2 -2
- package/dist/qti-item-react/index.d.ts +2 -2
- package/dist/qti-item-react/index.js +1 -1
- package/dist/{qti-simple-choice-86f433b6.d.ts → qti-simple-choice-9a8c789b.d.ts} +1 -1
- package/dist/qti-transform/index.cjs +1 -1
- package/dist/qti-transform/index.js +1 -1
- package/package.json +19 -18
- package/dist/audience-context-444478f4.d.ts +0 -8
- package/dist/qti-item-395a9535.d.ts +0 -19
- /package/dist/{chunk-NMCIOGD2.js → chunk-343LZK3D.js} +0 -0
- /package/dist/{chunk-HOQW4KDA.cjs → chunk-6G76D2MI.cjs} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { V as VariableDeclaration, B as BaseType, C as Cardinality, a as Choices,
|
|
2
|
-
export {
|
|
1
|
+
import { V as VariableDeclaration, B as BaseType, C as Cardinality, a as Choices, b as Interaction, c as QtiRule, Q as QtiAssessmentItem, R as ResponseVariable, d as QtiChoice } from '../qti-simple-choice-9a8c789b.js';
|
|
2
|
+
export { g as Calculate, I as InteractionChangedDetails, M as Multiple, j as Ordered, O as OutcomeChangedDetails, u as OutcomeVariable, s as QtiChoiceElementSelected, x as QtiChoiceInteraction, w as QtiExtendedTextInteraction, A as QtiHottext, k as QtiInteractionChanged, r as QtiInteractionResponse, p as QtiLooseChoice, z as QtiMapping, q as QtiOutcomeChanged, n as QtiRegisterChoice, o as QtiRegisterHotspot, m as QtiRegisterInteraction, l as QtiRegisterVariable, y as QtiResponseProcessing, D as QtiSimpleChoice, v as QtiTextEntryInteraction, f as ResponseInteraction, t as ResultVariable, e as directedPair, h as float, i as integer } from '../qti-simple-choice-9a8c789b.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { LitElement, PropertyValueMap } from 'lit';
|
|
5
5
|
import * as lit_html from 'lit-html';
|
|
6
|
-
import {
|
|
6
|
+
import { Audience } from '../context/index.cjs';
|
|
7
7
|
import { ContextConsumer } from '@lit-labs/context';
|
|
8
8
|
import 'lit-html/directives/ref';
|
|
9
9
|
|
|
@@ -112,19 +112,12 @@ interface OptionType {
|
|
|
112
112
|
selected: boolean;
|
|
113
113
|
}
|
|
114
114
|
declare class QtiInlineChoiceInteraction extends Interaction {
|
|
115
|
-
options: OptionType[];
|
|
116
115
|
static inputWidthClass: string[];
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
type: ArrayConstructor;
|
|
120
|
-
value: any[];
|
|
121
|
-
attribute: boolean;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
connectedCallback(): void;
|
|
116
|
+
options: OptionType[];
|
|
117
|
+
dataPrompt: string;
|
|
125
118
|
static get styles(): lit.CSSResult[];
|
|
126
119
|
render(): lit_html.TemplateResult<1>;
|
|
127
|
-
|
|
120
|
+
firstUpdated(val: any): void;
|
|
128
121
|
validate(): boolean;
|
|
129
122
|
reset(): void;
|
|
130
123
|
set response(value: string);
|
|
@@ -394,8 +387,10 @@ declare class QtiSimpleAssociableChoice extends LitElement {
|
|
|
394
387
|
declare const QtiMatchInteraction_base: (new (...args: any[]) => IInteraction) & typeof LitElement;
|
|
395
388
|
declare class QtiMatchInteraction extends QtiMatchInteraction_base {
|
|
396
389
|
static styles: any[];
|
|
397
|
-
rows:
|
|
398
|
-
cols:
|
|
390
|
+
rows: QtiSimpleAssociableChoice[];
|
|
391
|
+
cols: QtiSimpleAssociableChoice[];
|
|
392
|
+
response: any[];
|
|
393
|
+
responseIdentifier: string;
|
|
399
394
|
connectedCallback(): void;
|
|
400
395
|
render(): lit_html.TemplateResult<1>;
|
|
401
396
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { V as VariableDeclaration, B as BaseType, C as Cardinality, a as Choices,
|
|
2
|
-
export {
|
|
1
|
+
import { V as VariableDeclaration, B as BaseType, C as Cardinality, a as Choices, b as Interaction, c as QtiRule, Q as QtiAssessmentItem, R as ResponseVariable, d as QtiChoice } from '../qti-simple-choice-9a8c789b.js';
|
|
2
|
+
export { g as Calculate, I as InteractionChangedDetails, M as Multiple, j as Ordered, O as OutcomeChangedDetails, u as OutcomeVariable, s as QtiChoiceElementSelected, x as QtiChoiceInteraction, w as QtiExtendedTextInteraction, A as QtiHottext, k as QtiInteractionChanged, r as QtiInteractionResponse, p as QtiLooseChoice, z as QtiMapping, q as QtiOutcomeChanged, n as QtiRegisterChoice, o as QtiRegisterHotspot, m as QtiRegisterInteraction, l as QtiRegisterVariable, y as QtiResponseProcessing, D as QtiSimpleChoice, v as QtiTextEntryInteraction, f as ResponseInteraction, t as ResultVariable, e as directedPair, h as float, i as integer } from '../qti-simple-choice-9a8c789b.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { LitElement, PropertyValueMap } from 'lit';
|
|
5
5
|
import * as lit_html from 'lit-html';
|
|
6
|
-
import {
|
|
6
|
+
import { Audience } from '../context/index.js';
|
|
7
7
|
import { ContextConsumer } from '@lit-labs/context';
|
|
8
8
|
import 'lit-html/directives/ref';
|
|
9
9
|
|
|
@@ -112,19 +112,12 @@ interface OptionType {
|
|
|
112
112
|
selected: boolean;
|
|
113
113
|
}
|
|
114
114
|
declare class QtiInlineChoiceInteraction extends Interaction {
|
|
115
|
-
options: OptionType[];
|
|
116
115
|
static inputWidthClass: string[];
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
type: ArrayConstructor;
|
|
120
|
-
value: any[];
|
|
121
|
-
attribute: boolean;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
connectedCallback(): void;
|
|
116
|
+
options: OptionType[];
|
|
117
|
+
dataPrompt: string;
|
|
125
118
|
static get styles(): lit.CSSResult[];
|
|
126
119
|
render(): lit_html.TemplateResult<1>;
|
|
127
|
-
|
|
120
|
+
firstUpdated(val: any): void;
|
|
128
121
|
validate(): boolean;
|
|
129
122
|
reset(): void;
|
|
130
123
|
set response(value: string);
|
|
@@ -394,8 +387,10 @@ declare class QtiSimpleAssociableChoice extends LitElement {
|
|
|
394
387
|
declare const QtiMatchInteraction_base: (new (...args: any[]) => IInteraction) & typeof LitElement;
|
|
395
388
|
declare class QtiMatchInteraction extends QtiMatchInteraction_base {
|
|
396
389
|
static styles: any[];
|
|
397
|
-
rows:
|
|
398
|
-
cols:
|
|
390
|
+
rows: QtiSimpleAssociableChoice[];
|
|
391
|
+
cols: QtiSimpleAssociableChoice[];
|
|
392
|
+
response: any[];
|
|
393
|
+
responseIdentifier: string;
|
|
399
394
|
connectedCallback(): void;
|
|
400
395
|
render(): lit_html.TemplateResult<1>;
|
|
401
396
|
}
|