@qti-components/processing 1.3.4 → 1.4.1
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/components/qti-condition/qti-condition-base.d.ts +48 -0
- package/dist/components/qti-condition/qti-condition-base.js +79 -0
- package/dist/components/qti-condition/qti-condition-base.js.map +1 -0
- package/dist/components/qti-outcome-condition/qti-outcome-condition.d.ts +3 -0
- package/dist/components/qti-outcome-condition/qti-outcome-condition.js +4 -0
- package/dist/components/qti-outcome-condition/qti-outcome-condition.js.map +1 -0
- package/dist/components/qti-outcome-else/qti-outcome-else.d.ts +3 -0
- package/dist/components/qti-outcome-else/qti-outcome-else.js +4 -0
- package/dist/components/qti-outcome-else/qti-outcome-else.js.map +1 -0
- package/dist/components/qti-outcome-else-if/qti-outcome-else-if.d.ts +3 -0
- package/dist/components/qti-outcome-else-if/qti-outcome-else-if.js +4 -0
- package/dist/components/qti-outcome-else-if/qti-outcome-else-if.js.map +1 -0
- package/dist/components/qti-outcome-if/qti-outcome-if.d.ts +3 -0
- package/dist/components/qti-outcome-if/qti-outcome-if.js +4 -0
- package/dist/components/qti-outcome-if/qti-outcome-if.js.map +1 -0
- package/dist/components/qti-response-condition/qti-response-condition.d.ts +2 -4
- package/dist/components/qti-response-condition/qti-response-condition.js +2 -16
- package/dist/components/qti-response-condition/qti-response-condition.js.map +1 -1
- package/dist/components/qti-response-else/qti-response-else.d.ts +2 -7
- package/dist/components/qti-response-else/qti-response-else.js +2 -18
- package/dist/components/qti-response-else/qti-response-else.js.map +1 -1
- package/dist/components/qti-response-else-if/qti-response-else-if.d.ts +0 -1
- package/dist/components/qti-response-else-if/qti-response-else-if.js +0 -4
- package/dist/components/qti-response-else-if/qti-response-else-if.js.map +1 -1
- package/dist/components/qti-response-if/qti-response-if.d.ts +2 -5
- package/dist/components/qti-response-if/qti-response-if.js +2 -14
- package/dist/components/qti-response-if/qti-response-if.js.map +1 -1
- package/dist/components/qti-variable/qti-variable.d.ts +1 -1
- package/dist/components/qti-variable/qti-variable.js +5 -3
- package/dist/components/qti-variable/qti-variable.js.map +1 -1
- package/dist/elements.d.ts +17 -1
- package/dist/elements.js +9 -1
- package/dist/elements.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { QtiRule } from '../qti-rule/qti-rule';
|
|
3
|
+
/**
|
|
4
|
+
* Shared logic for the QTI `responseCondition` / `outcomeCondition` family.
|
|
5
|
+
*
|
|
6
|
+
* Both conditions are structurally identical: a container that walks its
|
|
7
|
+
* branches (if / else-if / else) in order and processes the sub-rules of the
|
|
8
|
+
* first branch whose `shouldProcess()` returns true. The only difference
|
|
9
|
+
* between response- and outcome- variants is the custom element tag name, so
|
|
10
|
+
* the behaviour lives here and the concrete classes are empty subclasses that
|
|
11
|
+
* `elements.ts` maps onto their tags.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* A single branch of a condition (if / else-if / else). It owns the sub-rule
|
|
15
|
+
* processing; subclasses decide whether the branch applies (`shouldProcess`)
|
|
16
|
+
* and which of its children are sub-rules (`getSubRules`).
|
|
17
|
+
*/
|
|
18
|
+
export declare abstract class QtiConditionBranchBase extends LitElement {
|
|
19
|
+
render(): import("lit").TemplateResult<1>;
|
|
20
|
+
/** Whether this branch's sub-rules should be processed. */
|
|
21
|
+
abstract shouldProcess(): boolean;
|
|
22
|
+
/** The sub-rules to process when this branch applies. */
|
|
23
|
+
abstract getSubRules(): QtiRule[];
|
|
24
|
+
process(): void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The `else` branch: no condition (always applies), every child is a sub-rule.
|
|
28
|
+
*/
|
|
29
|
+
export declare abstract class QtiConditionElseBase extends QtiConditionBranchBase {
|
|
30
|
+
shouldProcess(): boolean;
|
|
31
|
+
getSubRules(): QtiRule[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The `if` / `else-if` branch: first child is the boolean expression, the
|
|
35
|
+
* remaining children are the sub-rules processed when it evaluates to true.
|
|
36
|
+
*/
|
|
37
|
+
export declare abstract class QtiConditionIfBase extends QtiConditionBranchBase {
|
|
38
|
+
shouldProcess(): Readonly<boolean>;
|
|
39
|
+
getSubRules(): QtiRule[];
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The condition container: walk branches in order, process the first whose
|
|
43
|
+
* `shouldProcess()` is true, then stop.
|
|
44
|
+
*/
|
|
45
|
+
export declare abstract class QtiConditionBase extends QtiRule {
|
|
46
|
+
render(): import("lit").TemplateResult<1>;
|
|
47
|
+
process(): void;
|
|
48
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { LitElement, html } from 'lit';
|
|
2
|
+
import { QtiRule } from '../qti-rule/qti-rule';
|
|
3
|
+
/**
|
|
4
|
+
* Shared logic for the QTI `responseCondition` / `outcomeCondition` family.
|
|
5
|
+
*
|
|
6
|
+
* Both conditions are structurally identical: a container that walks its
|
|
7
|
+
* branches (if / else-if / else) in order and processes the sub-rules of the
|
|
8
|
+
* first branch whose `shouldProcess()` returns true. The only difference
|
|
9
|
+
* between response- and outcome- variants is the custom element tag name, so
|
|
10
|
+
* the behaviour lives here and the concrete classes are empty subclasses that
|
|
11
|
+
* `elements.ts` maps onto their tags.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* A single branch of a condition (if / else-if / else). It owns the sub-rule
|
|
15
|
+
* processing; subclasses decide whether the branch applies (`shouldProcess`)
|
|
16
|
+
* and which of its children are sub-rules (`getSubRules`).
|
|
17
|
+
*/
|
|
18
|
+
export class QtiConditionBranchBase extends LitElement {
|
|
19
|
+
render() {
|
|
20
|
+
return html `<slot></slot>`;
|
|
21
|
+
}
|
|
22
|
+
process() {
|
|
23
|
+
const subRules = this.getSubRules();
|
|
24
|
+
for (let i = 0; i < subRules.length; i++) {
|
|
25
|
+
const subRule = subRules[i];
|
|
26
|
+
subRule.process();
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The `else` branch: no condition (always applies), every child is a sub-rule.
|
|
32
|
+
*/
|
|
33
|
+
export class QtiConditionElseBase extends QtiConditionBranchBase {
|
|
34
|
+
shouldProcess() {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
getSubRules() {
|
|
38
|
+
return [...this.children];
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The `if` / `else-if` branch: first child is the boolean expression, the
|
|
43
|
+
* remaining children are the sub-rules processed when it evaluates to true.
|
|
44
|
+
*/
|
|
45
|
+
export class QtiConditionIfBase extends QtiConditionBranchBase {
|
|
46
|
+
shouldProcess() {
|
|
47
|
+
const expression = this.firstElementChild;
|
|
48
|
+
return expression.calculate();
|
|
49
|
+
}
|
|
50
|
+
getSubRules() {
|
|
51
|
+
const result = [];
|
|
52
|
+
for (let i = 1; i < this.children.length; i++) {
|
|
53
|
+
result.push(this.children[i]);
|
|
54
|
+
}
|
|
55
|
+
return result;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The condition container: walk branches in order, process the first whose
|
|
60
|
+
* `shouldProcess()` is true, then stop.
|
|
61
|
+
*/
|
|
62
|
+
export class QtiConditionBase extends QtiRule {
|
|
63
|
+
render() {
|
|
64
|
+
return html `<slot></slot>`;
|
|
65
|
+
}
|
|
66
|
+
process() {
|
|
67
|
+
const branches = [...this.children];
|
|
68
|
+
for (const branch of branches) {
|
|
69
|
+
if (branch.shouldProcess()) {
|
|
70
|
+
branch.process();
|
|
71
|
+
// The QTI spec evaluates branches as if / else-if / else: only the
|
|
72
|
+
// first branch that applies runs, so once one matches we must skip the
|
|
73
|
+
// remaining branches and stop.
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=qti-condition-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qti-condition-base.js","sourceRoot":"","sources":["../../../src/components/qti-condition/qti-condition-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAEvC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAI/C;;;;;;;;;GASG;AAEH;;;;GAIG;AACH,MAAM,OAAgB,sBAAuB,SAAQ,UAAU;IACpD,MAAM;QACb,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;IAQM,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QACpC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;YAC5B,OAAO,CAAC,OAAO,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAgB,oBAAqB,SAAQ,sBAAsB;IAChE,aAAa;QAClB,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,WAAW;QAChB,OAAO,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAc,CAAC;IACzC,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,OAAgB,kBAAmB,SAAQ,sBAAsB;IAC9D,aAAa;QAClB,MAAM,UAAU,GAAG,IAAI,CAAC,iBAA2C,CAAC;QACpE,OAAO,UAAU,CAAC,SAAS,EAAE,CAAC;IAChC,CAAC;IAEM,WAAW;QAChB,MAAM,MAAM,GAAG,EAAE,CAAC;QAClB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAC9C,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAY,CAAC,CAAC;QAC3C,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,OAAgB,gBAAiB,SAAQ,OAAO;IAC3C,MAAM;QACb,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;IAEe,OAAO;QACrB,MAAM,QAAQ,GAAG,CAAC,GAAG,IAAI,CAAC,QAAQ,CAA6B,CAAC;QAEhE,KAAK,MAAM,MAAM,IAAI,QAAQ,EAAE,CAAC;YAC9B,IAAI,MAAM,CAAC,aAAa,EAAE,EAAE,CAAC;gBAC3B,MAAM,CAAC,OAAO,EAAE,CAAC;gBAEjB,mEAAmE;gBACnE,uEAAuE;gBACvE,+BAA+B;gBAC/B,OAAO;YACT,CAAC;QACH,CAAC;IACH,CAAC;CACF","sourcesContent":["import { LitElement, html } from 'lit';\n\nimport { QtiRule } from '../qti-rule/qti-rule';\n\nimport type { QtiExpression } from '@qti-components/base';\n\n/**\n * Shared logic for the QTI `responseCondition` / `outcomeCondition` family.\n *\n * Both conditions are structurally identical: a container that walks its\n * branches (if / else-if / else) in order and processes the sub-rules of the\n * first branch whose `shouldProcess()` returns true. The only difference\n * between response- and outcome- variants is the custom element tag name, so\n * the behaviour lives here and the concrete classes are empty subclasses that\n * `elements.ts` maps onto their tags.\n */\n\n/**\n * A single branch of a condition (if / else-if / else). It owns the sub-rule\n * processing; subclasses decide whether the branch applies (`shouldProcess`)\n * and which of its children are sub-rules (`getSubRules`).\n */\nexport abstract class QtiConditionBranchBase extends LitElement {\n override render() {\n return html`<slot></slot>`;\n }\n\n /** Whether this branch's sub-rules should be processed. */\n public abstract shouldProcess(): boolean;\n\n /** The sub-rules to process when this branch applies. */\n public abstract getSubRules(): QtiRule[];\n\n public process() {\n const subRules = this.getSubRules();\n for (let i = 0; i < subRules.length; i++) {\n const subRule = subRules[i];\n subRule.process();\n }\n }\n}\n\n/**\n * The `else` branch: no condition (always applies), every child is a sub-rule.\n */\nexport abstract class QtiConditionElseBase extends QtiConditionBranchBase {\n public shouldProcess() {\n return true;\n }\n\n public getSubRules(): QtiRule[] {\n return [...this.children] as QtiRule[];\n }\n}\n\n/**\n * The `if` / `else-if` branch: first child is the boolean expression, the\n * remaining children are the sub-rules processed when it evaluates to true.\n */\nexport abstract class QtiConditionIfBase extends QtiConditionBranchBase {\n public shouldProcess() {\n const expression = this.firstElementChild as QtiExpression<boolean>;\n return expression.calculate();\n }\n\n public getSubRules(): QtiRule[] {\n const result = [];\n for (let i = 1; i < this.children.length; i++) {\n result.push(this.children[i] as QtiRule);\n }\n return result;\n }\n}\n\n/**\n * The condition container: walk branches in order, process the first whose\n * `shouldProcess()` is true, then stop.\n */\nexport abstract class QtiConditionBase extends QtiRule {\n override render() {\n return html`<slot></slot>`;\n }\n\n public override process() {\n const branches = [...this.children] as QtiConditionBranchBase[];\n\n for (const branch of branches) {\n if (branch.shouldProcess()) {\n branch.process();\n\n // The QTI spec evaluates branches as if / else-if / else: only the\n // first branch that applies runs, so once one matches we must skip the\n // remaining branches and stop.\n return;\n }\n }\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qti-outcome-condition.js","sourceRoot":"","sources":["../../../src/components/qti-outcome-condition/qti-outcome-condition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,MAAM,OAAO,mBAAoB,SAAQ,gBAAgB;CAAG","sourcesContent":["import { QtiConditionBase } from '../qti-condition/qti-condition-base';\n\nexport class QtiOutcomeCondition extends QtiConditionBase {}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qti-outcome-else.js","sourceRoot":"","sources":["../../../src/components/qti-outcome-else/qti-outcome-else.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,OAAO,cAAe,SAAQ,oBAAoB;CAAG","sourcesContent":["import { QtiConditionElseBase } from '../qti-condition/qti-condition-base';\n\nexport class QtiOutcomeElse extends QtiConditionElseBase {}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qti-outcome-else-if.js","sourceRoot":"","sources":["../../../src/components/qti-outcome-else-if/qti-outcome-else-if.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAEhE,MAAM,OAAO,gBAAiB,SAAQ,YAAY;CAAG","sourcesContent":["import { QtiOutcomeIf } from '../qti-outcome-if/qti-outcome-if';\n\nexport class QtiOutcomeElseIf extends QtiOutcomeIf {}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qti-outcome-if.js","sourceRoot":"","sources":["../../../src/components/qti-outcome-if/qti-outcome-if.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,MAAM,OAAO,YAAa,SAAQ,kBAAkB;CAAG","sourcesContent":["import { QtiConditionIfBase } from '../qti-condition/qti-condition-base';\n\nexport class QtiOutcomeIf extends QtiConditionIfBase {}\n"]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class QtiResponseCondition extends
|
|
3
|
-
render(): import("lit").TemplateResult<1>;
|
|
4
|
-
process(): void;
|
|
1
|
+
import { QtiConditionBase } from '../qti-condition/qti-condition-base';
|
|
2
|
+
export declare class QtiResponseCondition extends QtiConditionBase {
|
|
5
3
|
}
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export class QtiResponseCondition extends QtiRule {
|
|
4
|
-
render() {
|
|
5
|
-
return html `<slot></slot>`;
|
|
6
|
-
}
|
|
7
|
-
process() {
|
|
8
|
-
const branches = [...this.children];
|
|
9
|
-
for (let i = 0; i < branches.length; i++) {
|
|
10
|
-
const branch = branches[i];
|
|
11
|
-
if (branch.calculate()) {
|
|
12
|
-
branch.process();
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
import { QtiConditionBase } from '../qti-condition/qti-condition-base';
|
|
2
|
+
export class QtiResponseCondition extends QtiConditionBase {
|
|
17
3
|
}
|
|
18
4
|
//# sourceMappingURL=qti-response-condition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qti-response-condition.js","sourceRoot":"","sources":["../../../src/components/qti-response-condition/qti-response-condition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"qti-response-condition.js","sourceRoot":"","sources":["../../../src/components/qti-response-condition/qti-response-condition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,MAAM,OAAO,oBAAqB,SAAQ,gBAAgB;CAAG","sourcesContent":["import { QtiConditionBase } from '../qti-condition/qti-condition-base';\n\nexport class QtiResponseCondition extends QtiConditionBase {}\n"]}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare class QtiResponseElse extends LitElement {
|
|
4
|
-
render(): import("lit").TemplateResult<1>;
|
|
5
|
-
calculate(): boolean;
|
|
6
|
-
getSubRules(): QtiRule[];
|
|
7
|
-
process(): void;
|
|
1
|
+
import { QtiConditionElseBase } from '../qti-condition/qti-condition-base';
|
|
2
|
+
export declare class QtiResponseElse extends QtiConditionElseBase {
|
|
8
3
|
}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export class QtiResponseElse extends
|
|
3
|
-
render() {
|
|
4
|
-
return html `<slot></slot>`;
|
|
5
|
-
}
|
|
6
|
-
calculate() {
|
|
7
|
-
return true;
|
|
8
|
-
}
|
|
9
|
-
getSubRules() {
|
|
10
|
-
return [...this.children];
|
|
11
|
-
}
|
|
12
|
-
process() {
|
|
13
|
-
const subRules = this.getSubRules();
|
|
14
|
-
for (let i = 0; i < subRules.length; i++) {
|
|
15
|
-
const subRule = subRules[i];
|
|
16
|
-
subRule.process();
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
import { QtiConditionElseBase } from '../qti-condition/qti-condition-base';
|
|
2
|
+
export class QtiResponseElse extends QtiConditionElseBase {
|
|
19
3
|
}
|
|
20
4
|
//# sourceMappingURL=qti-response-else.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qti-response-else.js","sourceRoot":"","sources":["../../../src/components/qti-response-else/qti-response-else.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"qti-response-else.js","sourceRoot":"","sources":["../../../src/components/qti-response-else/qti-response-else.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,OAAO,eAAgB,SAAQ,oBAAoB;CAAG","sourcesContent":["import { QtiConditionElseBase } from '../qti-condition/qti-condition-base';\n\nexport class QtiResponseElse extends QtiConditionElseBase {}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qti-response-else-if.js","sourceRoot":"","sources":["../../../src/components/qti-response-else-if/qti-response-else-if.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"qti-response-else-if.js","sourceRoot":"","sources":["../../../src/components/qti-response-else-if/qti-response-else-if.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,MAAM,OAAO,iBAAkB,SAAQ,aAAa;CAAG","sourcesContent":["import { QtiResponseIf } from '../qti-response-if/qti-response-if';\n\nexport class QtiResponseElseIf extends QtiResponseIf {}\n"]}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare class QtiResponseIf extends QtiResponseElse {
|
|
4
|
-
calculate(): boolean;
|
|
5
|
-
getSubRules(): QtiRule[];
|
|
1
|
+
import { QtiConditionIfBase } from '../qti-condition/qti-condition-base';
|
|
2
|
+
export declare class QtiResponseIf extends QtiConditionIfBase {
|
|
6
3
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export class QtiResponseIf extends
|
|
3
|
-
calculate() {
|
|
4
|
-
const expression = this.firstElementChild;
|
|
5
|
-
const result = expression.calculate();
|
|
6
|
-
return result;
|
|
7
|
-
}
|
|
8
|
-
getSubRules() {
|
|
9
|
-
const result = [];
|
|
10
|
-
for (let i = 1; i < this.children.length; i++) {
|
|
11
|
-
result.push(this.children[i]);
|
|
12
|
-
}
|
|
13
|
-
return result;
|
|
14
|
-
}
|
|
1
|
+
import { QtiConditionIfBase } from '../qti-condition/qti-condition-base';
|
|
2
|
+
export class QtiResponseIf extends QtiConditionIfBase {
|
|
15
3
|
}
|
|
16
4
|
//# sourceMappingURL=qti-response-if.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qti-response-if.js","sourceRoot":"","sources":["../../../src/components/qti-response-if/qti-response-if.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"qti-response-if.js","sourceRoot":"","sources":["../../../src/components/qti-response-if/qti-response-if.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,MAAM,OAAO,aAAc,SAAQ,kBAAkB;CAAG","sourcesContent":["import { QtiConditionIfBase } from '../qti-condition/qti-condition-base';\n\nexport class QtiResponseIf extends QtiConditionIfBase {}\n"]}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { QtiExpression } from '@qti-components/base';
|
|
2
2
|
export class QtiVariable extends QtiExpression {
|
|
3
3
|
getResult() {
|
|
4
|
-
const identifier = this.getAttribute('identifier');
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const identifier = this.getAttribute('identifier') || '';
|
|
5
|
+
// Resolve item-scope first, then test-level outcomes (e.g. when used in an
|
|
6
|
+
// assessmentTest's outcome processing), and tolerate an unknown identifier
|
|
7
|
+
// instead of throwing.
|
|
8
|
+
return (this.resolveVariable(identifier)?.value ?? null);
|
|
7
9
|
}
|
|
8
10
|
}
|
|
9
11
|
//# sourceMappingURL=qti-variable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qti-variable.js","sourceRoot":"","sources":["../../../src/components/qti-variable/qti-variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,OAAO,WAAY,SAAQ,aAAgC;IAC/C,SAAS;QACvB,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"qti-variable.js","sourceRoot":"","sources":["../../../src/components/qti-variable/qti-variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,OAAO,WAAY,SAAQ,aAAgC;IAC/C,SAAS;QACvB,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;QACzD,2EAA2E;QAC3E,2EAA2E;QAC3E,uBAAuB;QACvB,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,KAAK,IAAI,IAAI,CAAsB,CAAC;IAChF,CAAC;CACF","sourcesContent":["import { QtiExpression } from '@qti-components/base';\n\nexport class QtiVariable extends QtiExpression<string | string[]> {\n public override getResult() {\n const identifier = this.getAttribute('identifier') || '';\n // Resolve item-scope first, then test-level outcomes (e.g. when used in an\n // assessmentTest's outcome processing), and tolerate an unknown identifier\n // instead of throwing.\n return (this.resolveVariable(identifier)?.value ?? null) as string | string[];\n }\n}\n"]}
|
package/dist/elements.d.ts
CHANGED
|
@@ -37,6 +37,10 @@ import { QtiNot } from './components/qti-not/qti-not';
|
|
|
37
37
|
import { QtiNull } from './components/qti-null/qti-null';
|
|
38
38
|
import { QtiOr } from './components/qti-or/qti-or';
|
|
39
39
|
import { QtiOrdered } from './components/qti-ordered/qti-ordered';
|
|
40
|
+
import { QtiOutcomeCondition } from './components/qti-outcome-condition/qti-outcome-condition';
|
|
41
|
+
import { QtiOutcomeElseIf } from './components/qti-outcome-else-if/qti-outcome-else-if';
|
|
42
|
+
import { QtiOutcomeElse } from './components/qti-outcome-else/qti-outcome-else';
|
|
43
|
+
import { QtiOutcomeIf } from './components/qti-outcome-if/qti-outcome-if';
|
|
40
44
|
import { QtiPatternMatch } from './components/qti-pattern-match/qti-pattern-match';
|
|
41
45
|
import { QtiPower } from './components/qti-power/qti-power';
|
|
42
46
|
import { QtiPrintedVariable } from './components/qti-printed-variable/qti-printed-variable';
|
|
@@ -61,7 +65,7 @@ import { QtiSubtract } from './components/qti-subtract/qti-subtract';
|
|
|
61
65
|
import { QtiSum } from './components/qti-sum/qti-sum';
|
|
62
66
|
import { QtiTruncate } from './components/qti-truncate/qti-truncate';
|
|
63
67
|
import { QtiVariable } from './components/qti-variable/qti-variable';
|
|
64
|
-
export { QtiAnd, QtiAnyN, QtiBaseValue, QtiContainerSize, QtiContains, QtiCorrect, QtiDefault, QtiDelete, QtiDivide, QtiDurationGte, QtiDurationLt, QtiEqual, QtiEqualRounded, QtiFieldValue, QtiGcd, QtiGt, QtiGte, QtiIndex, QtiInside, QtiIntegerDivide, QtiIntegerModulus, QtiIntegerToFloat, QtiIsNull, QtiLcm, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMathOperator, QtiMax, QtiMember, QtiMin, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrdered, QtiPatternMatch, QtiPower, QtiPrintedVariable, QtiProduct, QtiRandom, QtiRandomInteger, QtiRepeat, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRound, QtiRoundTo, QtiRule, QtiSetCorrectResponse, QtiSetOutcomeValue, QtiSetTemplateValue, QtiStatsOperator, QtiStringMatch, QtiSubstring, QtiSubtract, QtiSum, QtiTruncate, QtiVariable };
|
|
68
|
+
export { QtiAnd, QtiAnyN, QtiBaseValue, QtiContainerSize, QtiContains, QtiCorrect, QtiDefault, QtiDelete, QtiDivide, QtiDurationGte, QtiDurationLt, QtiEqual, QtiEqualRounded, QtiFieldValue, QtiGcd, QtiGt, QtiGte, QtiIndex, QtiInside, QtiIntegerDivide, QtiIntegerModulus, QtiIntegerToFloat, QtiIsNull, QtiLcm, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMathOperator, QtiMax, QtiMember, QtiMin, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrdered, QtiOutcomeCondition, QtiOutcomeElse, QtiOutcomeElseIf, QtiOutcomeIf, QtiPatternMatch, QtiPower, QtiPrintedVariable, QtiProduct, QtiRandom, QtiRandomInteger, QtiRepeat, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRound, QtiRoundTo, QtiRule, QtiSetCorrectResponse, QtiSetOutcomeValue, QtiSetTemplateValue, QtiStatsOperator, QtiStringMatch, QtiSubstring, QtiSubtract, QtiSum, QtiTruncate, QtiVariable };
|
|
65
69
|
export declare const qtiProcessingElements: readonly [{
|
|
66
70
|
readonly tag: "qti-and";
|
|
67
71
|
readonly ctor: typeof QtiAnd;
|
|
@@ -179,6 +183,18 @@ export declare const qtiProcessingElements: readonly [{
|
|
|
179
183
|
}, {
|
|
180
184
|
readonly tag: "qti-ordered";
|
|
181
185
|
readonly ctor: typeof QtiOrdered;
|
|
186
|
+
}, {
|
|
187
|
+
readonly tag: "qti-outcome-condition";
|
|
188
|
+
readonly ctor: typeof QtiOutcomeCondition;
|
|
189
|
+
}, {
|
|
190
|
+
readonly tag: "qti-outcome-else";
|
|
191
|
+
readonly ctor: typeof QtiOutcomeElse;
|
|
192
|
+
}, {
|
|
193
|
+
readonly tag: "qti-outcome-else-if";
|
|
194
|
+
readonly ctor: typeof QtiOutcomeElseIf;
|
|
195
|
+
}, {
|
|
196
|
+
readonly tag: "qti-outcome-if";
|
|
197
|
+
readonly ctor: typeof QtiOutcomeIf;
|
|
182
198
|
}, {
|
|
183
199
|
readonly tag: "qti-pattern-match";
|
|
184
200
|
readonly ctor: typeof QtiPatternMatch;
|
package/dist/elements.js
CHANGED
|
@@ -37,6 +37,10 @@ import { QtiNot } from './components/qti-not/qti-not';
|
|
|
37
37
|
import { QtiNull } from './components/qti-null/qti-null';
|
|
38
38
|
import { QtiOr } from './components/qti-or/qti-or';
|
|
39
39
|
import { QtiOrdered } from './components/qti-ordered/qti-ordered';
|
|
40
|
+
import { QtiOutcomeCondition } from './components/qti-outcome-condition/qti-outcome-condition';
|
|
41
|
+
import { QtiOutcomeElseIf } from './components/qti-outcome-else-if/qti-outcome-else-if';
|
|
42
|
+
import { QtiOutcomeElse } from './components/qti-outcome-else/qti-outcome-else';
|
|
43
|
+
import { QtiOutcomeIf } from './components/qti-outcome-if/qti-outcome-if';
|
|
40
44
|
import { QtiPatternMatch } from './components/qti-pattern-match/qti-pattern-match';
|
|
41
45
|
import { QtiPower } from './components/qti-power/qti-power';
|
|
42
46
|
import { QtiPrintedVariable } from './components/qti-printed-variable/qti-printed-variable';
|
|
@@ -61,7 +65,7 @@ import { QtiSubtract } from './components/qti-subtract/qti-subtract';
|
|
|
61
65
|
import { QtiSum } from './components/qti-sum/qti-sum';
|
|
62
66
|
import { QtiTruncate } from './components/qti-truncate/qti-truncate';
|
|
63
67
|
import { QtiVariable } from './components/qti-variable/qti-variable';
|
|
64
|
-
export { QtiAnd, QtiAnyN, QtiBaseValue, QtiContainerSize, QtiContains, QtiCorrect, QtiDefault, QtiDelete, QtiDivide, QtiDurationGte, QtiDurationLt, QtiEqual, QtiEqualRounded, QtiFieldValue, QtiGcd, QtiGt, QtiGte, QtiIndex, QtiInside, QtiIntegerDivide, QtiIntegerModulus, QtiIntegerToFloat, QtiIsNull, QtiLcm, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMathOperator, QtiMax, QtiMember, QtiMin, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrdered, QtiPatternMatch, QtiPower, QtiPrintedVariable, QtiProduct, QtiRandom, QtiRandomInteger, QtiRepeat, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRound, QtiRoundTo, QtiRule, QtiSetCorrectResponse, QtiSetOutcomeValue, QtiSetTemplateValue, QtiStatsOperator, QtiStringMatch, QtiSubstring, QtiSubtract, QtiSum, QtiTruncate, QtiVariable };
|
|
68
|
+
export { QtiAnd, QtiAnyN, QtiBaseValue, QtiContainerSize, QtiContains, QtiCorrect, QtiDefault, QtiDelete, QtiDivide, QtiDurationGte, QtiDurationLt, QtiEqual, QtiEqualRounded, QtiFieldValue, QtiGcd, QtiGt, QtiGte, QtiIndex, QtiInside, QtiIntegerDivide, QtiIntegerModulus, QtiIntegerToFloat, QtiIsNull, QtiLcm, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMathOperator, QtiMax, QtiMember, QtiMin, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrdered, QtiOutcomeCondition, QtiOutcomeElse, QtiOutcomeElseIf, QtiOutcomeIf, QtiPatternMatch, QtiPower, QtiPrintedVariable, QtiProduct, QtiRandom, QtiRandomInteger, QtiRepeat, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRound, QtiRoundTo, QtiRule, QtiSetCorrectResponse, QtiSetOutcomeValue, QtiSetTemplateValue, QtiStatsOperator, QtiStringMatch, QtiSubstring, QtiSubtract, QtiSum, QtiTruncate, QtiVariable };
|
|
65
69
|
export const qtiProcessingElements = [
|
|
66
70
|
{ tag: 'qti-and', ctor: QtiAnd },
|
|
67
71
|
{ tag: 'qti-any-n', ctor: QtiAnyN },
|
|
@@ -102,6 +106,10 @@ export const qtiProcessingElements = [
|
|
|
102
106
|
{ tag: 'qti-null', ctor: QtiNull },
|
|
103
107
|
{ tag: 'qti-or', ctor: QtiOr },
|
|
104
108
|
{ tag: 'qti-ordered', ctor: QtiOrdered },
|
|
109
|
+
{ tag: 'qti-outcome-condition', ctor: QtiOutcomeCondition },
|
|
110
|
+
{ tag: 'qti-outcome-else', ctor: QtiOutcomeElse },
|
|
111
|
+
{ tag: 'qti-outcome-else-if', ctor: QtiOutcomeElseIf },
|
|
112
|
+
{ tag: 'qti-outcome-if', ctor: QtiOutcomeIf },
|
|
105
113
|
{ tag: 'qti-pattern-match', ctor: QtiPatternMatch },
|
|
106
114
|
{ tag: 'qti-power', ctor: QtiPower },
|
|
107
115
|
{ tag: 'qti-printed-variable', ctor: QtiPrintedVariable },
|
package/dist/elements.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elements.js","sourceRoot":"","sources":["../src/elements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,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AAG,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,EAAE;CAClC,CAAC","sourcesContent":["import { QtiAnd } from './components/qti-and/qti-and';\nimport { QtiAnyN } from './components/qti-any-n/qti-any-n';\nimport { QtiBaseValue } from './components/qti-basevalue/qti-basevalue';\nimport { QtiContainerSize } from './components/qti-container-size/qti-container-size';\nimport { QtiContains } from './components/qti-contains/qti-contains';\nimport { QtiCorrect } from './components/qti-correct/qti-correct';\nimport { QtiDefault } from './components/qti-default/qti-default';\nimport { QtiDelete } from './components/qti-delete/qti-delete';\nimport { QtiDivide } from './components/qti-divide/qti-divide';\nimport { QtiDurationGte } from './components/qti-duration-gte/qti-duration-gte';\nimport { QtiDurationLt } from './components/qti-duration-lt/qti-duration-lt';\nimport { QtiEqualRounded } from './components/qti-equal-rounded/qti-equal-rounded';\nimport { QtiEqual } from './components/qti-equal/qti-equal';\nimport { QtiFieldValue } from './components/qti-field-value/qti-field-value';\nimport { QtiGcd } from './components/qti-gcd/qti.gcd';\nimport { QtiGt } from './components/qti-gt/qti-gt';\nimport { QtiGte } from './components/qti-gte/qti-gte';\nimport { QtiIndex } from './components/qti-index/qti-index';\nimport { QtiInside } from './components/qti-inside/qti-inside';\nimport { QtiIntegerDivide } from './components/qti-integer-divide/qti-integer-divide';\nimport { QtiIntegerModulus } from './components/qti-integer-modulus/qti-integer-modulus';\nimport { QtiIntegerToFloat } from './components/qti-integer-to-float/qti-integer-to-float';\nimport { QtiIsNull } from './components/qti-is-null/qti-is-null';\nimport { QtiLcm } from './components/qti-lcm/qti-lcm';\nimport { QtiLookupOutcomeValue } from './components/qti-lookup-outcome-value/qti-lookup-outcome-value';\nimport { QtiLt } from './components/qti-lt/qti-lt';\nimport { QtiLte } from './components/qti-lte/qti-lte';\nimport { QtiMapResponsePoint } from './components/qti-map-response-point/qti-map-response-point';\nimport { QtiMapResponse } from './components/qti-map-response/qti-map-response';\nimport { QtiMatch } from './components/qti-match/qti-match';\nimport { QtiMathOperator } from './components/qti-math-operator/qti-math-operator';\nimport { QtiMax } from './components/qti-max/qti-max';\nimport { QtiMember } from './components/qti-member/qti-member';\nimport { QtiMin } from './components/qti-min/qti-min';\nimport { QtiMultiple } from './components/qti-multiple/qti-multiple';\nimport { QtiNot } from './components/qti-not/qti-not';\nimport { QtiNull } from './components/qti-null/qti-null';\nimport { QtiOr } from './components/qti-or/qti-or';\nimport { QtiOrdered } from './components/qti-ordered/qti-ordered';\nimport { QtiPatternMatch } from './components/qti-pattern-match/qti-pattern-match';\nimport { QtiPower } from './components/qti-power/qti-power';\nimport { QtiPrintedVariable } from './components/qti-printed-variable/qti-printed-variable';\nimport { QtiProduct } from './components/qti-product/qti-product';\nimport { QtiRandomInteger } from './components/qti-random-integer/qti-random-integer';\nimport { QtiRandom } from './components/qti-random/qti-random';\nimport { QtiRepeat } from './components/qti-repeat/qti-repeat';\nimport { QtiResponseCondition } from './components/qti-response-condition/qti-response-condition';\nimport { QtiResponseElseIf } from './components/qti-response-else-if/qti-response-else-if';\nimport { QtiResponseElse } from './components/qti-response-else/qti-response-else';\nimport { QtiResponseIf } from './components/qti-response-if/qti-response-if';\nimport { QtiRoundTo } from './components/qti-round-to/qti-round-to';\nimport { QtiRound } from './components/qti-round/qti-round';\nimport { QtiRule } from './components/qti-rule/qti-rule';\nimport { QtiSetCorrectResponse } from './components/qti-set-correct-response/qti-set-correct-response';\nimport { QtiSetOutcomeValue } from './components/qti-set-outcome-value/qti-set-outcome-value';\nimport { QtiSetTemplateValue } from './components/qti-set-template-value/qti-set-template-value';\nimport { QtiStatsOperator } from './components/qti-stats-operator/qti-stats-operator';\nimport { QtiStringMatch } from './components/qti-string-match/qti-string-match';\nimport { QtiSubstring } from './components/qti-substring/qti-substring';\nimport { QtiSubtract } from './components/qti-subtract/qti-subtract';\nimport { QtiSum } from './components/qti-sum/qti-sum';\nimport { QtiTruncate } from './components/qti-truncate/qti-truncate';\nimport { QtiVariable } from './components/qti-variable/qti-variable';\n\nexport {\n QtiAnd,\n QtiAnyN,\n QtiBaseValue,\n QtiContainerSize,\n QtiContains,\n QtiCorrect,\n QtiDefault,\n QtiDelete,\n QtiDivide,\n QtiDurationGte,\n QtiDurationLt,\n QtiEqual,\n QtiEqualRounded,\n QtiFieldValue,\n QtiGcd,\n QtiGt,\n QtiGte,\n QtiIndex,\n QtiInside,\n QtiIntegerDivide,\n QtiIntegerModulus,\n QtiIntegerToFloat,\n QtiIsNull,\n QtiLcm,\n QtiLookupOutcomeValue,\n QtiLt,\n QtiLte,\n QtiMapResponse,\n QtiMapResponsePoint,\n QtiMatch,\n QtiMathOperator,\n QtiMax,\n QtiMember,\n QtiMin,\n QtiMultiple,\n QtiNot,\n QtiNull,\n QtiOr,\n QtiOrdered,\n QtiPatternMatch,\n QtiPower,\n QtiPrintedVariable,\n QtiProduct,\n QtiRandom,\n QtiRandomInteger,\n QtiRepeat,\n QtiResponseCondition,\n QtiResponseElse,\n QtiResponseElseIf,\n QtiResponseIf,\n QtiRound,\n QtiRoundTo,\n QtiRule,\n QtiSetCorrectResponse,\n QtiSetOutcomeValue,\n QtiSetTemplateValue,\n QtiStatsOperator,\n QtiStringMatch,\n QtiSubstring,\n QtiSubtract,\n QtiSum,\n QtiTruncate,\n QtiVariable\n};\n\nexport const qtiProcessingElements = [\n { tag: 'qti-and', ctor: QtiAnd },\n { tag: 'qti-any-n', ctor: QtiAnyN },\n { tag: 'qti-base-value', ctor: QtiBaseValue },\n { tag: 'qti-container-size', ctor: QtiContainerSize },\n { tag: 'qti-contains', ctor: QtiContains },\n { tag: 'qti-correct', ctor: QtiCorrect },\n { tag: 'qti-default', ctor: QtiDefault },\n { tag: 'qti-delete', ctor: QtiDelete },\n { tag: 'qti-divide', ctor: QtiDivide },\n { tag: 'qti-duration-gte', ctor: QtiDurationGte },\n { tag: 'qti-duration-lt', ctor: QtiDurationLt },\n { tag: 'qti-equal', ctor: QtiEqual },\n { tag: 'qti-equal-rounded', ctor: QtiEqualRounded },\n { tag: 'qti-field-value', ctor: QtiFieldValue },\n { tag: 'qti-gcd', ctor: QtiGcd },\n { tag: 'qti-gt', ctor: QtiGt },\n { tag: 'qti-gte', ctor: QtiGte },\n { tag: 'qti-index', ctor: QtiIndex },\n { tag: 'qti-inside', ctor: QtiInside },\n { tag: 'qti-integer-divide', ctor: QtiIntegerDivide },\n { tag: 'qti-integer-modulus', ctor: QtiIntegerModulus },\n { tag: 'qti-integer-to-float', ctor: QtiIntegerToFloat },\n { tag: 'qti-is-null', ctor: QtiIsNull },\n { tag: 'qti-lcm', ctor: QtiLcm },\n { tag: 'qti-lookup-outcome-value', ctor: QtiLookupOutcomeValue },\n { tag: 'qti-lt', ctor: QtiLt },\n { tag: 'qti-lte', ctor: QtiLte },\n { tag: 'qti-map-response', ctor: QtiMapResponse },\n { tag: 'qti-map-response-point', ctor: QtiMapResponsePoint },\n { tag: 'qti-match', ctor: QtiMatch },\n { tag: 'qti-math-operator', ctor: QtiMathOperator },\n { tag: 'qti-max', ctor: QtiMax },\n { tag: 'qti-member', ctor: QtiMember },\n { tag: 'qti-min', ctor: QtiMin },\n { tag: 'qti-multiple', ctor: QtiMultiple },\n { tag: 'qti-not', ctor: QtiNot },\n { tag: 'qti-null', ctor: QtiNull },\n { tag: 'qti-or', ctor: QtiOr },\n { tag: 'qti-ordered', ctor: QtiOrdered },\n { tag: 'qti-pattern-match', ctor: QtiPatternMatch },\n { tag: 'qti-power', ctor: QtiPower },\n { tag: 'qti-printed-variable', ctor: QtiPrintedVariable },\n { tag: 'qti-product', ctor: QtiProduct },\n { tag: 'qti-random', ctor: QtiRandom },\n { tag: 'qti-random-integer', ctor: QtiRandomInteger },\n { tag: 'qti-repeat', ctor: QtiRepeat },\n { tag: 'qti-response-condition', ctor: QtiResponseCondition },\n { tag: 'qti-response-else', ctor: QtiResponseElse },\n { tag: 'qti-response-else-if', ctor: QtiResponseElseIf },\n { tag: 'qti-response-if', ctor: QtiResponseIf },\n { tag: 'qti-round', ctor: QtiRound },\n { tag: 'qti-round-to', ctor: QtiRoundTo },\n { tag: 'qti-rule', ctor: QtiRule },\n { tag: 'qti-set-correct-response', ctor: QtiSetCorrectResponse },\n { tag: 'qti-set-outcome-value', ctor: QtiSetOutcomeValue },\n { tag: 'qti-set-template-value', ctor: QtiSetTemplateValue },\n { tag: 'qti-stats-operator', ctor: QtiStatsOperator },\n { tag: 'qti-string-match', ctor: QtiStringMatch },\n { tag: 'qti-substring', ctor: QtiSubstring },\n { tag: 'qti-subtract', ctor: QtiSubtract },\n { tag: 'qti-sum', ctor: QtiSum },\n { tag: 'qti-truncate', ctor: QtiTruncate },\n { tag: 'qti-variable', ctor: QtiVariable }\n] as const;\n"]}
|
|
1
|
+
{"version":3,"file":"elements.js","sourceRoot":"","sources":["../src/elements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAC;AACnF,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,8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AAE,IAAI,EAAE,cAAc,EAAE;IACjD,EAAE,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,YAAY,EAAE;IAC5C,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,EAAE;IAC1C,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE;IAChC,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,EAAE;IAC1C,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,EAAE;CAClC,CAAC","sourcesContent":["import { QtiAnd } from './components/qti-and/qti-and';\nimport { QtiAnyN } from './components/qti-any-n/qti-any-n';\nimport { QtiBaseValue } from './components/qti-basevalue/qti-basevalue';\nimport { QtiContainerSize } from './components/qti-container-size/qti-container-size';\nimport { QtiContains } from './components/qti-contains/qti-contains';\nimport { QtiCorrect } from './components/qti-correct/qti-correct';\nimport { QtiDefault } from './components/qti-default/qti-default';\nimport { QtiDelete } from './components/qti-delete/qti-delete';\nimport { QtiDivide } from './components/qti-divide/qti-divide';\nimport { QtiDurationGte } from './components/qti-duration-gte/qti-duration-gte';\nimport { QtiDurationLt } from './components/qti-duration-lt/qti-duration-lt';\nimport { QtiEqualRounded } from './components/qti-equal-rounded/qti-equal-rounded';\nimport { QtiEqual } from './components/qti-equal/qti-equal';\nimport { QtiFieldValue } from './components/qti-field-value/qti-field-value';\nimport { QtiGcd } from './components/qti-gcd/qti.gcd';\nimport { QtiGt } from './components/qti-gt/qti-gt';\nimport { QtiGte } from './components/qti-gte/qti-gte';\nimport { QtiIndex } from './components/qti-index/qti-index';\nimport { QtiInside } from './components/qti-inside/qti-inside';\nimport { QtiIntegerDivide } from './components/qti-integer-divide/qti-integer-divide';\nimport { QtiIntegerModulus } from './components/qti-integer-modulus/qti-integer-modulus';\nimport { QtiIntegerToFloat } from './components/qti-integer-to-float/qti-integer-to-float';\nimport { QtiIsNull } from './components/qti-is-null/qti-is-null';\nimport { QtiLcm } from './components/qti-lcm/qti-lcm';\nimport { QtiLookupOutcomeValue } from './components/qti-lookup-outcome-value/qti-lookup-outcome-value';\nimport { QtiLt } from './components/qti-lt/qti-lt';\nimport { QtiLte } from './components/qti-lte/qti-lte';\nimport { QtiMapResponsePoint } from './components/qti-map-response-point/qti-map-response-point';\nimport { QtiMapResponse } from './components/qti-map-response/qti-map-response';\nimport { QtiMatch } from './components/qti-match/qti-match';\nimport { QtiMathOperator } from './components/qti-math-operator/qti-math-operator';\nimport { QtiMax } from './components/qti-max/qti-max';\nimport { QtiMember } from './components/qti-member/qti-member';\nimport { QtiMin } from './components/qti-min/qti-min';\nimport { QtiMultiple } from './components/qti-multiple/qti-multiple';\nimport { QtiNot } from './components/qti-not/qti-not';\nimport { QtiNull } from './components/qti-null/qti-null';\nimport { QtiOr } from './components/qti-or/qti-or';\nimport { QtiOrdered } from './components/qti-ordered/qti-ordered';\nimport { QtiOutcomeCondition } from './components/qti-outcome-condition/qti-outcome-condition';\nimport { QtiOutcomeElseIf } from './components/qti-outcome-else-if/qti-outcome-else-if';\nimport { QtiOutcomeElse } from './components/qti-outcome-else/qti-outcome-else';\nimport { QtiOutcomeIf } from './components/qti-outcome-if/qti-outcome-if';\nimport { QtiPatternMatch } from './components/qti-pattern-match/qti-pattern-match';\nimport { QtiPower } from './components/qti-power/qti-power';\nimport { QtiPrintedVariable } from './components/qti-printed-variable/qti-printed-variable';\nimport { QtiProduct } from './components/qti-product/qti-product';\nimport { QtiRandomInteger } from './components/qti-random-integer/qti-random-integer';\nimport { QtiRandom } from './components/qti-random/qti-random';\nimport { QtiRepeat } from './components/qti-repeat/qti-repeat';\nimport { QtiResponseCondition } from './components/qti-response-condition/qti-response-condition';\nimport { QtiResponseElseIf } from './components/qti-response-else-if/qti-response-else-if';\nimport { QtiResponseElse } from './components/qti-response-else/qti-response-else';\nimport { QtiResponseIf } from './components/qti-response-if/qti-response-if';\nimport { QtiRoundTo } from './components/qti-round-to/qti-round-to';\nimport { QtiRound } from './components/qti-round/qti-round';\nimport { QtiRule } from './components/qti-rule/qti-rule';\nimport { QtiSetCorrectResponse } from './components/qti-set-correct-response/qti-set-correct-response';\nimport { QtiSetOutcomeValue } from './components/qti-set-outcome-value/qti-set-outcome-value';\nimport { QtiSetTemplateValue } from './components/qti-set-template-value/qti-set-template-value';\nimport { QtiStatsOperator } from './components/qti-stats-operator/qti-stats-operator';\nimport { QtiStringMatch } from './components/qti-string-match/qti-string-match';\nimport { QtiSubstring } from './components/qti-substring/qti-substring';\nimport { QtiSubtract } from './components/qti-subtract/qti-subtract';\nimport { QtiSum } from './components/qti-sum/qti-sum';\nimport { QtiTruncate } from './components/qti-truncate/qti-truncate';\nimport { QtiVariable } from './components/qti-variable/qti-variable';\n\nexport {\n QtiAnd,\n QtiAnyN,\n QtiBaseValue,\n QtiContainerSize,\n QtiContains,\n QtiCorrect,\n QtiDefault,\n QtiDelete,\n QtiDivide,\n QtiDurationGte,\n QtiDurationLt,\n QtiEqual,\n QtiEqualRounded,\n QtiFieldValue,\n QtiGcd,\n QtiGt,\n QtiGte,\n QtiIndex,\n QtiInside,\n QtiIntegerDivide,\n QtiIntegerModulus,\n QtiIntegerToFloat,\n QtiIsNull,\n QtiLcm,\n QtiLookupOutcomeValue,\n QtiLt,\n QtiLte,\n QtiMapResponse,\n QtiMapResponsePoint,\n QtiMatch,\n QtiMathOperator,\n QtiMax,\n QtiMember,\n QtiMin,\n QtiMultiple,\n QtiNot,\n QtiNull,\n QtiOr,\n QtiOrdered,\n QtiOutcomeCondition,\n QtiOutcomeElse,\n QtiOutcomeElseIf,\n QtiOutcomeIf,\n QtiPatternMatch,\n QtiPower,\n QtiPrintedVariable,\n QtiProduct,\n QtiRandom,\n QtiRandomInteger,\n QtiRepeat,\n QtiResponseCondition,\n QtiResponseElse,\n QtiResponseElseIf,\n QtiResponseIf,\n QtiRound,\n QtiRoundTo,\n QtiRule,\n QtiSetCorrectResponse,\n QtiSetOutcomeValue,\n QtiSetTemplateValue,\n QtiStatsOperator,\n QtiStringMatch,\n QtiSubstring,\n QtiSubtract,\n QtiSum,\n QtiTruncate,\n QtiVariable\n};\n\nexport const qtiProcessingElements = [\n { tag: 'qti-and', ctor: QtiAnd },\n { tag: 'qti-any-n', ctor: QtiAnyN },\n { tag: 'qti-base-value', ctor: QtiBaseValue },\n { tag: 'qti-container-size', ctor: QtiContainerSize },\n { tag: 'qti-contains', ctor: QtiContains },\n { tag: 'qti-correct', ctor: QtiCorrect },\n { tag: 'qti-default', ctor: QtiDefault },\n { tag: 'qti-delete', ctor: QtiDelete },\n { tag: 'qti-divide', ctor: QtiDivide },\n { tag: 'qti-duration-gte', ctor: QtiDurationGte },\n { tag: 'qti-duration-lt', ctor: QtiDurationLt },\n { tag: 'qti-equal', ctor: QtiEqual },\n { tag: 'qti-equal-rounded', ctor: QtiEqualRounded },\n { tag: 'qti-field-value', ctor: QtiFieldValue },\n { tag: 'qti-gcd', ctor: QtiGcd },\n { tag: 'qti-gt', ctor: QtiGt },\n { tag: 'qti-gte', ctor: QtiGte },\n { tag: 'qti-index', ctor: QtiIndex },\n { tag: 'qti-inside', ctor: QtiInside },\n { tag: 'qti-integer-divide', ctor: QtiIntegerDivide },\n { tag: 'qti-integer-modulus', ctor: QtiIntegerModulus },\n { tag: 'qti-integer-to-float', ctor: QtiIntegerToFloat },\n { tag: 'qti-is-null', ctor: QtiIsNull },\n { tag: 'qti-lcm', ctor: QtiLcm },\n { tag: 'qti-lookup-outcome-value', ctor: QtiLookupOutcomeValue },\n { tag: 'qti-lt', ctor: QtiLt },\n { tag: 'qti-lte', ctor: QtiLte },\n { tag: 'qti-map-response', ctor: QtiMapResponse },\n { tag: 'qti-map-response-point', ctor: QtiMapResponsePoint },\n { tag: 'qti-match', ctor: QtiMatch },\n { tag: 'qti-math-operator', ctor: QtiMathOperator },\n { tag: 'qti-max', ctor: QtiMax },\n { tag: 'qti-member', ctor: QtiMember },\n { tag: 'qti-min', ctor: QtiMin },\n { tag: 'qti-multiple', ctor: QtiMultiple },\n { tag: 'qti-not', ctor: QtiNot },\n { tag: 'qti-null', ctor: QtiNull },\n { tag: 'qti-or', ctor: QtiOr },\n { tag: 'qti-ordered', ctor: QtiOrdered },\n { tag: 'qti-outcome-condition', ctor: QtiOutcomeCondition },\n { tag: 'qti-outcome-else', ctor: QtiOutcomeElse },\n { tag: 'qti-outcome-else-if', ctor: QtiOutcomeElseIf },\n { tag: 'qti-outcome-if', ctor: QtiOutcomeIf },\n { tag: 'qti-pattern-match', ctor: QtiPatternMatch },\n { tag: 'qti-power', ctor: QtiPower },\n { tag: 'qti-printed-variable', ctor: QtiPrintedVariable },\n { tag: 'qti-product', ctor: QtiProduct },\n { tag: 'qti-random', ctor: QtiRandom },\n { tag: 'qti-random-integer', ctor: QtiRandomInteger },\n { tag: 'qti-repeat', ctor: QtiRepeat },\n { tag: 'qti-response-condition', ctor: QtiResponseCondition },\n { tag: 'qti-response-else', ctor: QtiResponseElse },\n { tag: 'qti-response-else-if', ctor: QtiResponseElseIf },\n { tag: 'qti-response-if', ctor: QtiResponseIf },\n { tag: 'qti-round', ctor: QtiRound },\n { tag: 'qti-round-to', ctor: QtiRoundTo },\n { tag: 'qti-rule', ctor: QtiRule },\n { tag: 'qti-set-correct-response', ctor: QtiSetCorrectResponse },\n { tag: 'qti-set-outcome-value', ctor: QtiSetOutcomeValue },\n { tag: 'qti-set-template-value', ctor: QtiSetTemplateValue },\n { tag: 'qti-stats-operator', ctor: QtiStatsOperator },\n { tag: 'qti-string-match', ctor: QtiStringMatch },\n { tag: 'qti-substring', ctor: QtiSubstring },\n { tag: 'qti-subtract', ctor: QtiSubtract },\n { tag: 'qti-sum', ctor: QtiSum },\n { tag: 'qti-truncate', ctor: QtiTruncate },\n { tag: 'qti-variable', ctor: QtiVariable }\n] as const;\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,8 @@ export * from './components/qti-set-outcome-value/qti-set-outcome-value';
|
|
|
5
5
|
export * from './components/qti-response-else/qti-response-else';
|
|
6
6
|
export * from './components/qti-response-else-if/qti-response-else-if';
|
|
7
7
|
export * from './components/qti-response-if/qti-response-if';
|
|
8
|
+
export * from './components/qti-outcome-condition/qti-outcome-condition';
|
|
9
|
+
export * from './components/qti-outcome-else/qti-outcome-else';
|
|
10
|
+
export * from './components/qti-outcome-else-if/qti-outcome-else-if';
|
|
11
|
+
export * from './components/qti-outcome-if/qti-outcome-if';
|
|
8
12
|
export * from './components';
|
package/dist/index.js
CHANGED
|
@@ -5,5 +5,9 @@ export * from './components/qti-set-outcome-value/qti-set-outcome-value';
|
|
|
5
5
|
export * from './components/qti-response-else/qti-response-else';
|
|
6
6
|
export * from './components/qti-response-else-if/qti-response-else-if';
|
|
7
7
|
export * from './components/qti-response-if/qti-response-if';
|
|
8
|
+
export * from './components/qti-outcome-condition/qti-outcome-condition';
|
|
9
|
+
export * from './components/qti-outcome-else/qti-outcome-else';
|
|
10
|
+
export * from './components/qti-outcome-else-if/qti-outcome-else-if';
|
|
11
|
+
export * from './components/qti-outcome-if/qti-outcome-if';
|
|
8
12
|
export * from './components';
|
|
9
13
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AAEpB,cAAc,gEAAgE,CAAC;AAC/E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,0DAA0D,CAAC;AAEzE,cAAc,kDAAkD,CAAC;AACjE,cAAc,wDAAwD,CAAC;AACvE,cAAc,8CAA8C,CAAC;AAE7D,cAAc,cAAc,CAAC","sourcesContent":["import './register';\n\nexport * from './components/qti-lookup-outcome-value/qti-lookup-outcome-value';\nexport * from './components/qti-response-condition/qti-response-condition';\nexport * from './components/qti-set-outcome-value/qti-set-outcome-value';\n\nexport * from './components/qti-response-else/qti-response-else';\nexport * from './components/qti-response-else-if/qti-response-else-if';\nexport * from './components/qti-response-if/qti-response-if';\n\nexport * from './components';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AAEpB,cAAc,gEAAgE,CAAC;AAC/E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,0DAA0D,CAAC;AAEzE,cAAc,kDAAkD,CAAC;AACjE,cAAc,wDAAwD,CAAC;AACvE,cAAc,8CAA8C,CAAC;AAE7D,cAAc,0DAA0D,CAAC;AACzE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sDAAsD,CAAC;AACrE,cAAc,4CAA4C,CAAC;AAE3D,cAAc,cAAc,CAAC","sourcesContent":["import './register';\n\nexport * from './components/qti-lookup-outcome-value/qti-lookup-outcome-value';\nexport * from './components/qti-response-condition/qti-response-condition';\nexport * from './components/qti-set-outcome-value/qti-set-outcome-value';\n\nexport * from './components/qti-response-else/qti-response-else';\nexport * from './components/qti-response-else-if/qti-response-else-if';\nexport * from './components/qti-response-if/qti-response-if';\n\nexport * from './components/qti-outcome-condition/qti-outcome-condition';\nexport * from './components/qti-outcome-else/qti-outcome-else';\nexport * from './components/qti-outcome-else-if/qti-outcome-else-if';\nexport * from './components/qti-outcome-if/qti-outcome-if';\n\nexport * from './components';\n"]}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qti-components/processing",
|
|
3
3
|
"description": "QTI processing utilities",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.1",
|
|
5
5
|
"author": "",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@qti-components/base": "^2.
|
|
7
|
+
"@qti-components/base": "^2.2.0",
|
|
8
8
|
"@qti-components/utilities": "^1.3.3"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@lit/context": "^1.1.6",
|
|
12
|
-
"lit": "^3.3.
|
|
12
|
+
"lit": "^3.3.3"
|
|
13
13
|
},
|
|
14
14
|
"keywords": [
|
|
15
15
|
"processing",
|