@citolab/qti-components 10.0.0-next.13 → 10.0.0-next.15
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/cdn/index.global.js +1 -1
- package/cdn/index.js +522 -435
- package/dist/base.d.ts +4 -4
- package/dist/base.js +1 -1
- package/dist/{chunk-PHRHLDQB.js → chunk-32PI7KWX.js} +2 -2
- package/dist/{chunk-MDBNEEPH.js → chunk-5AJZGRWI.js} +8 -3
- package/dist/chunk-5AJZGRWI.js.map +1 -0
- package/dist/{chunk-LFVPS7KB.js → chunk-DAOLVUTR.js} +2 -2
- package/dist/{chunk-K4WLYVDT.js → chunk-F553IZPL.js} +2 -2
- package/dist/{chunk-HOGJ5ZNW.js → chunk-G2EIC7H2.js} +221 -107
- package/dist/chunk-G2EIC7H2.js.map +1 -0
- package/dist/{chunk-EIBGCCXH.js → chunk-HT3LSWXL.js} +2 -2
- package/dist/{chunk-WUIA4OOX.js → chunk-IM5AKPIJ.js} +34 -6
- package/dist/chunk-IM5AKPIJ.js.map +1 -0
- package/dist/{chunk-FLAD6SC6.js → chunk-IWNRQVNW.js} +2 -2
- package/dist/{chunk-TLAVOBEM.js → chunk-LORYM4U2.js} +120 -1
- package/dist/chunk-LORYM4U2.js.map +1 -0
- package/dist/{chunk-Y5DZTCDP.js → chunk-MIQZBDTB.js} +225 -258
- package/dist/chunk-MIQZBDTB.js.map +1 -0
- package/dist/{chunk-AKX4YMWU.js → chunk-QT7WQXCS.js} +237 -95
- package/dist/chunk-QT7WQXCS.js.map +1 -0
- package/dist/chunk-RNLSNH4N.js +7 -0
- package/dist/chunk-RNLSNH4N.js.map +1 -0
- package/dist/{chunk-H3GITIPE.js → chunk-URYYGVTA.js} +23 -7
- package/dist/chunk-URYYGVTA.js.map +1 -0
- package/dist/{chunk-G6LTYTJR.js → chunk-WIUPAUJV.js} +2 -2
- package/dist/{chunk-PYHKCIYN.js → chunk-XY5DHYIH.js} +4 -4
- package/dist/{config.context.d-BniMHSBB.d.ts → config.context.d-CCqlJXpE.d.ts} +2 -1
- package/dist/corrections.d.ts +8 -8
- package/dist/corrections.js +9 -9
- package/dist/elements.d.ts +84 -14
- package/dist/elements.js +4 -4
- package/dist/index.d.ts +9 -9
- package/dist/index.js +15 -15
- package/dist/interactions.d.ts +17 -5
- package/dist/interactions.js +3 -3
- package/dist/item.css +132 -18
- package/dist/item.d.ts +4 -4
- package/dist/item.js +5 -5
- package/dist/loader.d.ts +2 -2
- package/dist/loader.js +2 -2
- package/dist/processing.d.ts +8 -4
- package/dist/processing.js +3 -3
- package/dist/qti-components-jsx.d.ts +291 -115
- package/dist/{qti-feedback.d-DbzPSJuK.d.ts → qti-feedback.d-GAqMqAt6.d.ts} +7 -0
- package/dist/{qti-item.d-BqWYBdV2.d.ts → qti-item.d-pFcNk0th.d.ts} +1 -1
- package/dist/{qti-rule-base.d-Bdzg8eGH.d.ts → qti-rule-base.d-CeKP0Ooi.d.ts} +2 -2
- package/dist/{qti-test.d-B6AGSQlk.d.ts → qti-test.d-BjhVQnQy.d.ts} +31 -5
- package/dist/{qti-text-entry-interaction.d-B44Z3qUG.d.ts → qti-text-entry-interaction.d-DECzpIzi.d.ts} +50 -14
- package/dist/{qti-transform-test.d-BL7GGFJj.d.ts → qti-transform-test.d-Bb9vnLzP.d.ts} +1 -0
- package/dist/{record.d-C6m0Y4xr.d.ts → record.d-CljDLwRz.d.ts} +1 -1
- package/dist/test.d.ts +6 -6
- package/dist/test.js +6 -6
- package/dist/transformers.d.ts +1 -1
- package/dist/transformers.js +1 -1
- package/package.json +11 -11
- package/dist/chunk-AKX4YMWU.js.map +0 -1
- package/dist/chunk-DVLSXMXD.js +0 -7
- package/dist/chunk-DVLSXMXD.js.map +0 -1
- package/dist/chunk-H3GITIPE.js.map +0 -1
- package/dist/chunk-HOGJ5ZNW.js.map +0 -1
- package/dist/chunk-MDBNEEPH.js.map +0 -1
- package/dist/chunk-TLAVOBEM.js.map +0 -1
- package/dist/chunk-WUIA4OOX.js.map +0 -1
- package/dist/chunk-Y5DZTCDP.js.map +0 -1
- /package/dist/{chunk-PHRHLDQB.js.map → chunk-32PI7KWX.js.map} +0 -0
- /package/dist/{chunk-LFVPS7KB.js.map → chunk-DAOLVUTR.js.map} +0 -0
- /package/dist/{chunk-K4WLYVDT.js.map → chunk-F553IZPL.js.map} +0 -0
- /package/dist/{chunk-EIBGCCXH.js.map → chunk-HT3LSWXL.js.map} +0 -0
- /package/dist/{chunk-FLAD6SC6.js.map → chunk-IWNRQVNW.js.map} +0 -0
- /package/dist/{chunk-G6LTYTJR.js.map → chunk-WIUPAUJV.js.map} +0 -0
- /package/dist/{chunk-PYHKCIYN.js.map → chunk-XY5DHYIH.js.map} +0 -0
package/dist/item.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-
|
|
1
|
+
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-pFcNk0th.js';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
3
|
import { V as View } from './session.context.d-DW09Lrie.js';
|
|
4
4
|
import { QtiAssessmentItem } from './elements.js';
|
|
5
5
|
import './qti.context.d-CejJMlfZ.js';
|
|
6
|
-
import './config.context.d-
|
|
6
|
+
import './config.context.d-CCqlJXpE.js';
|
|
7
7
|
import './item.types.d-DuVR0ZVK.js';
|
|
8
8
|
import './interaction.interface.d-CvjHM2bi.js';
|
|
9
|
-
import './qti-feedback.d-
|
|
10
|
-
import './qti-rule-base.d-
|
|
9
|
+
import './qti-feedback.d-GAqMqAt6.js';
|
|
10
|
+
import './qti-rule-base.d-CeKP0Ooi.js';
|
|
11
11
|
|
|
12
12
|
type Constructor<T = {}> = abstract new (...args: any[]) => T;
|
|
13
13
|
declare class ItemViewInterface {
|
package/dist/item.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-WIUPAUJV.js";
|
|
2
2
|
import {
|
|
3
3
|
ItemContainer,
|
|
4
4
|
ItemPrintVariables,
|
|
5
5
|
ItemViewMixin,
|
|
6
6
|
QtiItem
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-XY5DHYIH.js";
|
|
8
|
+
import "./chunk-RNLSNH4N.js";
|
|
9
9
|
import "./chunk-4DB4SC5K.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-LORYM4U2.js";
|
|
11
|
+
import "./chunk-IM5AKPIJ.js";
|
|
12
12
|
export {
|
|
13
13
|
ItemContainer,
|
|
14
14
|
ItemPrintVariables,
|
package/dist/loader.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { QtiAssessmentItem } from './elements.js';
|
|
|
2
2
|
import './item.types.d-DuVR0ZVK.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import './interaction.interface.d-CvjHM2bi.js';
|
|
5
|
-
import './qti-feedback.d-
|
|
6
|
-
import './qti-rule-base.d-
|
|
5
|
+
import './qti-feedback.d-GAqMqAt6.js';
|
|
6
|
+
import './qti-rule-base.d-CeKP0Ooi.js';
|
|
7
7
|
|
|
8
8
|
type ManifestInfo = {
|
|
9
9
|
testIdentifier: string;
|
package/dist/loader.js
CHANGED
package/dist/processing.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as lit from 'lit';
|
|
2
2
|
import { LitElement, nothing } from 'lit';
|
|
3
|
-
import { b as QtiRuleBase } from './qti-rule-base.d-
|
|
3
|
+
import { b as QtiRuleBase } from './qti-rule-base.d-CeKP0Ooi.js';
|
|
4
4
|
import { b as ItemContext, B as BaseType, g as ResponseVariable, V as VariableDeclaration } from './item.types.d-DuVR0ZVK.js';
|
|
5
5
|
import { Q as QtiExpression, a as QtiExpressionBase, T as TestContext } from './qti-expression.d-B-Cfbqlb.js';
|
|
6
6
|
import { Q as QtiConditionExpression } from './qti-condition-expression.d-B-T1NNl0.js';
|
|
@@ -69,7 +69,11 @@ declare abstract class QtiConditionElseBase extends QtiConditionBranchBase {
|
|
|
69
69
|
* remaining children are the sub-rules processed when it evaluates to true.
|
|
70
70
|
*/
|
|
71
71
|
declare abstract class QtiConditionIfBase extends QtiConditionBranchBase {
|
|
72
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Variables and base values hold a boolean as the string `'true'` or `'false'`, and `'false'` is
|
|
74
|
+
* truthy, so the condition applies only to `true` itself; `false` and NULL do not.
|
|
75
|
+
*/
|
|
76
|
+
shouldProcess(): boolean;
|
|
73
77
|
getSubRules(): QtiRule[];
|
|
74
78
|
}
|
|
75
79
|
/**
|
|
@@ -444,8 +448,8 @@ declare class QtiIsNull extends QtiExpression<boolean> {
|
|
|
444
448
|
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.exit-response
|
|
445
449
|
*
|
|
446
450
|
* No rule after it runs, at any depth. The outcomes already set are kept: a
|
|
447
|
-
* `qti-set-outcome-value` writes as it is processed,
|
|
448
|
-
*
|
|
451
|
+
* `qti-set-outcome-value` writes to the run's working copy as it is processed,
|
|
452
|
+
* and the item applies that copy once the run ends.
|
|
449
453
|
*/
|
|
450
454
|
declare class QtiExitResponse extends QtiRule {
|
|
451
455
|
process(): never;
|
package/dist/processing.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-32PI7KWX.js";
|
|
2
2
|
import {
|
|
3
3
|
QtiAnd,
|
|
4
4
|
QtiAnyN,
|
|
@@ -76,8 +76,8 @@ import {
|
|
|
76
76
|
QtiVariable,
|
|
77
77
|
qtiAndMixin,
|
|
78
78
|
qtiSubtractMixin
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import "./chunk-
|
|
79
|
+
} from "./chunk-5AJZGRWI.js";
|
|
80
|
+
import "./chunk-IM5AKPIJ.js";
|
|
81
81
|
export {
|
|
82
82
|
QtiAnd,
|
|
83
83
|
QtiAnyN,
|