@qti-components/processing 1.3.3 → 1.4.0

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.
Files changed (156) hide show
  1. package/dist/components/qti-and/qti-and.js +2 -13
  2. package/dist/components/qti-and/qti-and.js.map +1 -1
  3. package/dist/components/qti-any-n/qti-any-n.js +0 -1
  4. package/dist/components/qti-any-n/qti-any-n.js.map +1 -1
  5. package/dist/components/qti-basevalue/qti-basevalue.js +0 -1
  6. package/dist/components/qti-basevalue/qti-basevalue.js.map +1 -1
  7. package/dist/components/qti-condition/qti-condition-base.d.ts +48 -0
  8. package/dist/components/qti-condition/qti-condition-base.js +79 -0
  9. package/dist/components/qti-condition/qti-condition-base.js.map +1 -0
  10. package/dist/components/qti-container-size/qti-container-size.js +0 -1
  11. package/dist/components/qti-container-size/qti-container-size.js.map +1 -1
  12. package/dist/components/qti-contains/qti-contains.js +0 -1
  13. package/dist/components/qti-contains/qti-contains.js.map +1 -1
  14. package/dist/components/qti-correct/qti-correct.js +0 -1
  15. package/dist/components/qti-correct/qti-correct.js.map +1 -1
  16. package/dist/components/qti-default/qti-default.js +0 -1
  17. package/dist/components/qti-default/qti-default.js.map +1 -1
  18. package/dist/components/qti-delete/qti-delete.js +0 -1
  19. package/dist/components/qti-delete/qti-delete.js.map +1 -1
  20. package/dist/components/qti-divide/qti-divide.js +0 -1
  21. package/dist/components/qti-divide/qti-divide.js.map +1 -1
  22. package/dist/components/qti-duration-gte/qti-duration-gte.js +0 -1
  23. package/dist/components/qti-duration-gte/qti-duration-gte.js.map +1 -1
  24. package/dist/components/qti-duration-lt/qti-duration-lt.js +0 -1
  25. package/dist/components/qti-duration-lt/qti-duration-lt.js.map +1 -1
  26. package/dist/components/qti-equal/qti-equal.js +0 -1
  27. package/dist/components/qti-equal/qti-equal.js.map +1 -1
  28. package/dist/components/qti-equal-rounded/qti-equal-rounded.js +0 -1
  29. package/dist/components/qti-equal-rounded/qti-equal-rounded.js.map +1 -1
  30. package/dist/components/qti-field-value/qti-field-value.js +0 -1
  31. package/dist/components/qti-field-value/qti-field-value.js.map +1 -1
  32. package/dist/components/qti-gcd/qti.gcd.js +0 -1
  33. package/dist/components/qti-gcd/qti.gcd.js.map +1 -1
  34. package/dist/components/qti-gt/qti-gt.js +0 -1
  35. package/dist/components/qti-gt/qti-gt.js.map +1 -1
  36. package/dist/components/qti-gte/qti-gte.js +0 -1
  37. package/dist/components/qti-gte/qti-gte.js.map +1 -1
  38. package/dist/components/qti-index/qti-index.js +3 -7
  39. package/dist/components/qti-index/qti-index.js.map +1 -1
  40. package/dist/components/qti-inside/qti-inside.js +2 -4
  41. package/dist/components/qti-inside/qti-inside.js.map +1 -1
  42. package/dist/components/qti-integer-divide/qti-integer-divide.js +0 -1
  43. package/dist/components/qti-integer-divide/qti-integer-divide.js.map +1 -1
  44. package/dist/components/qti-integer-modulus/qti-integer-modulus.js +0 -1
  45. package/dist/components/qti-integer-modulus/qti-integer-modulus.js.map +1 -1
  46. package/dist/components/qti-integer-to-float/qti-integer-to-float.js +0 -1
  47. package/dist/components/qti-integer-to-float/qti-integer-to-float.js.map +1 -1
  48. package/dist/components/qti-is-null/qti-is-null.js +0 -1
  49. package/dist/components/qti-is-null/qti-is-null.js.map +1 -1
  50. package/dist/components/qti-lcm/qti-lcm.js +0 -1
  51. package/dist/components/qti-lcm/qti-lcm.js.map +1 -1
  52. package/dist/components/qti-lookup-outcome-value/qti-lookup-outcome-value.js +0 -1
  53. package/dist/components/qti-lookup-outcome-value/qti-lookup-outcome-value.js.map +1 -1
  54. package/dist/components/qti-lt/qti-lt.js +0 -1
  55. package/dist/components/qti-lt/qti-lt.js.map +1 -1
  56. package/dist/components/qti-lte/qti-lte.js +0 -1
  57. package/dist/components/qti-lte/qti-lte.js.map +1 -1
  58. package/dist/components/qti-map-response/qti-map-response.js +0 -1
  59. package/dist/components/qti-map-response/qti-map-response.js.map +1 -1
  60. package/dist/components/qti-map-response-point/qti-map-response-point.js +0 -1
  61. package/dist/components/qti-map-response-point/qti-map-response-point.js.map +1 -1
  62. package/dist/components/qti-match/qti-match.js +0 -1
  63. package/dist/components/qti-match/qti-match.js.map +1 -1
  64. package/dist/components/qti-math-operator/qti-math-operator.js +0 -1
  65. package/dist/components/qti-math-operator/qti-math-operator.js.map +1 -1
  66. package/dist/components/qti-max/qti-max.js +0 -1
  67. package/dist/components/qti-max/qti-max.js.map +1 -1
  68. package/dist/components/qti-member/qti-member.js +0 -1
  69. package/dist/components/qti-member/qti-member.js.map +1 -1
  70. package/dist/components/qti-min/qti-min.js +0 -1
  71. package/dist/components/qti-min/qti-min.js.map +1 -1
  72. package/dist/components/qti-multiple/qti-multiple.js +0 -1
  73. package/dist/components/qti-multiple/qti-multiple.js.map +1 -1
  74. package/dist/components/qti-not/qti-not.js +0 -1
  75. package/dist/components/qti-not/qti-not.js.map +1 -1
  76. package/dist/components/qti-null/qti-null.js +0 -1
  77. package/dist/components/qti-null/qti-null.js.map +1 -1
  78. package/dist/components/qti-or/qti-or.js +0 -1
  79. package/dist/components/qti-or/qti-or.js.map +1 -1
  80. package/dist/components/qti-ordered/qti-ordered.js +0 -1
  81. package/dist/components/qti-ordered/qti-ordered.js.map +1 -1
  82. package/dist/components/qti-outcome-condition/qti-outcome-condition.d.ts +3 -0
  83. package/dist/components/qti-outcome-condition/qti-outcome-condition.js +4 -0
  84. package/dist/components/qti-outcome-condition/qti-outcome-condition.js.map +1 -0
  85. package/dist/components/qti-outcome-else/qti-outcome-else.d.ts +3 -0
  86. package/dist/components/qti-outcome-else/qti-outcome-else.js +4 -0
  87. package/dist/components/qti-outcome-else/qti-outcome-else.js.map +1 -0
  88. package/dist/components/qti-outcome-else-if/qti-outcome-else-if.d.ts +3 -0
  89. package/dist/components/qti-outcome-else-if/qti-outcome-else-if.js +4 -0
  90. package/dist/components/qti-outcome-else-if/qti-outcome-else-if.js.map +1 -0
  91. package/dist/components/qti-outcome-if/qti-outcome-if.d.ts +3 -0
  92. package/dist/components/qti-outcome-if/qti-outcome-if.js +4 -0
  93. package/dist/components/qti-outcome-if/qti-outcome-if.js.map +1 -0
  94. package/dist/components/qti-pattern-match/qti-pattern-match.js +0 -1
  95. package/dist/components/qti-pattern-match/qti-pattern-match.js.map +1 -1
  96. package/dist/components/qti-power/qti-power.js +0 -1
  97. package/dist/components/qti-power/qti-power.js.map +1 -1
  98. package/dist/components/qti-printed-variable/qti-printed-variable.js +0 -1
  99. package/dist/components/qti-printed-variable/qti-printed-variable.js.map +1 -1
  100. package/dist/components/qti-product/qti-product.js +0 -1
  101. package/dist/components/qti-product/qti-product.js.map +1 -1
  102. package/dist/components/qti-random/qti-random.js +0 -1
  103. package/dist/components/qti-random/qti-random.js.map +1 -1
  104. package/dist/components/qti-random-integer/qti-random-integer.js +0 -1
  105. package/dist/components/qti-random-integer/qti-random-integer.js.map +1 -1
  106. package/dist/components/qti-repeat/qti-repeat.js +0 -1
  107. package/dist/components/qti-repeat/qti-repeat.js.map +1 -1
  108. package/dist/components/qti-response-condition/qti-response-condition.d.ts +2 -4
  109. package/dist/components/qti-response-condition/qti-response-condition.js +2 -17
  110. package/dist/components/qti-response-condition/qti-response-condition.js.map +1 -1
  111. package/dist/components/qti-response-else/qti-response-else.d.ts +2 -7
  112. package/dist/components/qti-response-else/qti-response-else.js +2 -19
  113. package/dist/components/qti-response-else/qti-response-else.js.map +1 -1
  114. package/dist/components/qti-response-else-if/qti-response-else-if.d.ts +0 -1
  115. package/dist/components/qti-response-else-if/qti-response-else-if.js +0 -5
  116. package/dist/components/qti-response-else-if/qti-response-else-if.js.map +1 -1
  117. package/dist/components/qti-response-if/qti-response-if.d.ts +2 -5
  118. package/dist/components/qti-response-if/qti-response-if.js +2 -15
  119. package/dist/components/qti-response-if/qti-response-if.js.map +1 -1
  120. package/dist/components/qti-round/qti-round.js +0 -1
  121. package/dist/components/qti-round/qti-round.js.map +1 -1
  122. package/dist/components/qti-round-to/qti-round-to.js +0 -1
  123. package/dist/components/qti-round-to/qti-round-to.js.map +1 -1
  124. package/dist/components/qti-rule/qti-rule.js +2 -13
  125. package/dist/components/qti-rule/qti-rule.js.map +1 -1
  126. package/dist/components/qti-set-correct-response/qti-set-correct-response.js +0 -1
  127. package/dist/components/qti-set-correct-response/qti-set-correct-response.js.map +1 -1
  128. package/dist/components/qti-set-outcome-value/qti-set-outcome-value.js +0 -1
  129. package/dist/components/qti-set-outcome-value/qti-set-outcome-value.js.map +1 -1
  130. package/dist/components/qti-set-template-value/qti-set-template-value.js +0 -1
  131. package/dist/components/qti-set-template-value/qti-set-template-value.js.map +1 -1
  132. package/dist/components/qti-stats-operator/qti-stats-operator.js +0 -1
  133. package/dist/components/qti-stats-operator/qti-stats-operator.js.map +1 -1
  134. package/dist/components/qti-string-match/qti-string-match.js +0 -1
  135. package/dist/components/qti-string-match/qti-string-match.js.map +1 -1
  136. package/dist/components/qti-substring/qti-substring.js +4 -2
  137. package/dist/components/qti-substring/qti-substring.js.map +1 -1
  138. package/dist/components/qti-subtract/index.d.ts +1 -1
  139. package/dist/components/qti-subtract/index.js +0 -2
  140. package/dist/components/qti-subtract/index.js.map +1 -1
  141. package/dist/components/qti-sum/qti-sum.js +0 -1
  142. package/dist/components/qti-sum/qti-sum.js.map +1 -1
  143. package/dist/components/qti-truncate/qti-truncate.js +0 -1
  144. package/dist/components/qti-truncate/qti-truncate.js.map +1 -1
  145. package/dist/components/qti-variable/qti-variable.js +0 -1
  146. package/dist/components/qti-variable/qti-variable.js.map +1 -1
  147. package/dist/elements.d.ts +270 -0
  148. package/dist/elements.js +138 -0
  149. package/dist/elements.js.map +1 -0
  150. package/dist/index.d.ts +5 -0
  151. package/dist/index.js +5 -0
  152. package/dist/index.js.map +1 -1
  153. package/dist/register.d.ts +1 -0
  154. package/dist/register.js +7 -0
  155. package/dist/register.js.map +1 -0
  156. package/package.json +17 -2
@@ -0,0 +1,270 @@
1
+ import { QtiAnd } from './components/qti-and/qti-and';
2
+ import { QtiAnyN } from './components/qti-any-n/qti-any-n';
3
+ import { QtiBaseValue } from './components/qti-basevalue/qti-basevalue';
4
+ import { QtiContainerSize } from './components/qti-container-size/qti-container-size';
5
+ import { QtiContains } from './components/qti-contains/qti-contains';
6
+ import { QtiCorrect } from './components/qti-correct/qti-correct';
7
+ import { QtiDefault } from './components/qti-default/qti-default';
8
+ import { QtiDelete } from './components/qti-delete/qti-delete';
9
+ import { QtiDivide } from './components/qti-divide/qti-divide';
10
+ import { QtiDurationGte } from './components/qti-duration-gte/qti-duration-gte';
11
+ import { QtiDurationLt } from './components/qti-duration-lt/qti-duration-lt';
12
+ import { QtiEqualRounded } from './components/qti-equal-rounded/qti-equal-rounded';
13
+ import { QtiEqual } from './components/qti-equal/qti-equal';
14
+ import { QtiFieldValue } from './components/qti-field-value/qti-field-value';
15
+ import { QtiGcd } from './components/qti-gcd/qti.gcd';
16
+ import { QtiGt } from './components/qti-gt/qti-gt';
17
+ import { QtiGte } from './components/qti-gte/qti-gte';
18
+ import { QtiIndex } from './components/qti-index/qti-index';
19
+ import { QtiInside } from './components/qti-inside/qti-inside';
20
+ import { QtiIntegerDivide } from './components/qti-integer-divide/qti-integer-divide';
21
+ import { QtiIntegerModulus } from './components/qti-integer-modulus/qti-integer-modulus';
22
+ import { QtiIntegerToFloat } from './components/qti-integer-to-float/qti-integer-to-float';
23
+ import { QtiIsNull } from './components/qti-is-null/qti-is-null';
24
+ import { QtiLcm } from './components/qti-lcm/qti-lcm';
25
+ import { QtiLookupOutcomeValue } from './components/qti-lookup-outcome-value/qti-lookup-outcome-value';
26
+ import { QtiLt } from './components/qti-lt/qti-lt';
27
+ import { QtiLte } from './components/qti-lte/qti-lte';
28
+ import { QtiMapResponsePoint } from './components/qti-map-response-point/qti-map-response-point';
29
+ import { QtiMapResponse } from './components/qti-map-response/qti-map-response';
30
+ import { QtiMatch } from './components/qti-match/qti-match';
31
+ import { QtiMathOperator } from './components/qti-math-operator/qti-math-operator';
32
+ import { QtiMax } from './components/qti-max/qti-max';
33
+ import { QtiMember } from './components/qti-member/qti-member';
34
+ import { QtiMin } from './components/qti-min/qti-min';
35
+ import { QtiMultiple } from './components/qti-multiple/qti-multiple';
36
+ import { QtiNot } from './components/qti-not/qti-not';
37
+ import { QtiNull } from './components/qti-null/qti-null';
38
+ import { QtiOr } from './components/qti-or/qti-or';
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';
44
+ import { QtiPatternMatch } from './components/qti-pattern-match/qti-pattern-match';
45
+ import { QtiPower } from './components/qti-power/qti-power';
46
+ import { QtiPrintedVariable } from './components/qti-printed-variable/qti-printed-variable';
47
+ import { QtiProduct } from './components/qti-product/qti-product';
48
+ import { QtiRandomInteger } from './components/qti-random-integer/qti-random-integer';
49
+ import { QtiRandom } from './components/qti-random/qti-random';
50
+ import { QtiRepeat } from './components/qti-repeat/qti-repeat';
51
+ import { QtiResponseCondition } from './components/qti-response-condition/qti-response-condition';
52
+ import { QtiResponseElseIf } from './components/qti-response-else-if/qti-response-else-if';
53
+ import { QtiResponseElse } from './components/qti-response-else/qti-response-else';
54
+ import { QtiResponseIf } from './components/qti-response-if/qti-response-if';
55
+ import { QtiRoundTo } from './components/qti-round-to/qti-round-to';
56
+ import { QtiRound } from './components/qti-round/qti-round';
57
+ import { QtiRule } from './components/qti-rule/qti-rule';
58
+ import { QtiSetCorrectResponse } from './components/qti-set-correct-response/qti-set-correct-response';
59
+ import { QtiSetOutcomeValue } from './components/qti-set-outcome-value/qti-set-outcome-value';
60
+ import { QtiSetTemplateValue } from './components/qti-set-template-value/qti-set-template-value';
61
+ import { QtiStatsOperator } from './components/qti-stats-operator/qti-stats-operator';
62
+ import { QtiStringMatch } from './components/qti-string-match/qti-string-match';
63
+ import { QtiSubstring } from './components/qti-substring/qti-substring';
64
+ import { QtiSubtract } from './components/qti-subtract/qti-subtract';
65
+ import { QtiSum } from './components/qti-sum/qti-sum';
66
+ import { QtiTruncate } from './components/qti-truncate/qti-truncate';
67
+ import { QtiVariable } from './components/qti-variable/qti-variable';
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 };
69
+ export declare const qtiProcessingElements: readonly [{
70
+ readonly tag: "qti-and";
71
+ readonly ctor: typeof QtiAnd;
72
+ }, {
73
+ readonly tag: "qti-any-n";
74
+ readonly ctor: typeof QtiAnyN;
75
+ }, {
76
+ readonly tag: "qti-base-value";
77
+ readonly ctor: typeof QtiBaseValue;
78
+ }, {
79
+ readonly tag: "qti-container-size";
80
+ readonly ctor: typeof QtiContainerSize;
81
+ }, {
82
+ readonly tag: "qti-contains";
83
+ readonly ctor: typeof QtiContains;
84
+ }, {
85
+ readonly tag: "qti-correct";
86
+ readonly ctor: typeof QtiCorrect;
87
+ }, {
88
+ readonly tag: "qti-default";
89
+ readonly ctor: typeof QtiDefault;
90
+ }, {
91
+ readonly tag: "qti-delete";
92
+ readonly ctor: typeof QtiDelete;
93
+ }, {
94
+ readonly tag: "qti-divide";
95
+ readonly ctor: typeof QtiDivide;
96
+ }, {
97
+ readonly tag: "qti-duration-gte";
98
+ readonly ctor: typeof QtiDurationGte;
99
+ }, {
100
+ readonly tag: "qti-duration-lt";
101
+ readonly ctor: typeof QtiDurationLt;
102
+ }, {
103
+ readonly tag: "qti-equal";
104
+ readonly ctor: typeof QtiEqual;
105
+ }, {
106
+ readonly tag: "qti-equal-rounded";
107
+ readonly ctor: typeof QtiEqualRounded;
108
+ }, {
109
+ readonly tag: "qti-field-value";
110
+ readonly ctor: typeof QtiFieldValue;
111
+ }, {
112
+ readonly tag: "qti-gcd";
113
+ readonly ctor: typeof QtiGcd;
114
+ }, {
115
+ readonly tag: "qti-gt";
116
+ readonly ctor: typeof QtiGt;
117
+ }, {
118
+ readonly tag: "qti-gte";
119
+ readonly ctor: typeof QtiGte;
120
+ }, {
121
+ readonly tag: "qti-index";
122
+ readonly ctor: typeof QtiIndex;
123
+ }, {
124
+ readonly tag: "qti-inside";
125
+ readonly ctor: typeof QtiInside;
126
+ }, {
127
+ readonly tag: "qti-integer-divide";
128
+ readonly ctor: typeof QtiIntegerDivide;
129
+ }, {
130
+ readonly tag: "qti-integer-modulus";
131
+ readonly ctor: typeof QtiIntegerModulus;
132
+ }, {
133
+ readonly tag: "qti-integer-to-float";
134
+ readonly ctor: typeof QtiIntegerToFloat;
135
+ }, {
136
+ readonly tag: "qti-is-null";
137
+ readonly ctor: typeof QtiIsNull;
138
+ }, {
139
+ readonly tag: "qti-lcm";
140
+ readonly ctor: typeof QtiLcm;
141
+ }, {
142
+ readonly tag: "qti-lookup-outcome-value";
143
+ readonly ctor: typeof QtiLookupOutcomeValue;
144
+ }, {
145
+ readonly tag: "qti-lt";
146
+ readonly ctor: typeof QtiLt;
147
+ }, {
148
+ readonly tag: "qti-lte";
149
+ readonly ctor: typeof QtiLte;
150
+ }, {
151
+ readonly tag: "qti-map-response";
152
+ readonly ctor: typeof QtiMapResponse;
153
+ }, {
154
+ readonly tag: "qti-map-response-point";
155
+ readonly ctor: typeof QtiMapResponsePoint;
156
+ }, {
157
+ readonly tag: "qti-match";
158
+ readonly ctor: typeof QtiMatch;
159
+ }, {
160
+ readonly tag: "qti-math-operator";
161
+ readonly ctor: typeof QtiMathOperator;
162
+ }, {
163
+ readonly tag: "qti-max";
164
+ readonly ctor: typeof QtiMax;
165
+ }, {
166
+ readonly tag: "qti-member";
167
+ readonly ctor: typeof QtiMember;
168
+ }, {
169
+ readonly tag: "qti-min";
170
+ readonly ctor: typeof QtiMin;
171
+ }, {
172
+ readonly tag: "qti-multiple";
173
+ readonly ctor: typeof QtiMultiple;
174
+ }, {
175
+ readonly tag: "qti-not";
176
+ readonly ctor: typeof QtiNot;
177
+ }, {
178
+ readonly tag: "qti-null";
179
+ readonly ctor: typeof QtiNull;
180
+ }, {
181
+ readonly tag: "qti-or";
182
+ readonly ctor: typeof QtiOr;
183
+ }, {
184
+ readonly tag: "qti-ordered";
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;
198
+ }, {
199
+ readonly tag: "qti-pattern-match";
200
+ readonly ctor: typeof QtiPatternMatch;
201
+ }, {
202
+ readonly tag: "qti-power";
203
+ readonly ctor: typeof QtiPower;
204
+ }, {
205
+ readonly tag: "qti-printed-variable";
206
+ readonly ctor: typeof QtiPrintedVariable;
207
+ }, {
208
+ readonly tag: "qti-product";
209
+ readonly ctor: typeof QtiProduct;
210
+ }, {
211
+ readonly tag: "qti-random";
212
+ readonly ctor: typeof QtiRandom;
213
+ }, {
214
+ readonly tag: "qti-random-integer";
215
+ readonly ctor: typeof QtiRandomInteger;
216
+ }, {
217
+ readonly tag: "qti-repeat";
218
+ readonly ctor: typeof QtiRepeat;
219
+ }, {
220
+ readonly tag: "qti-response-condition";
221
+ readonly ctor: typeof QtiResponseCondition;
222
+ }, {
223
+ readonly tag: "qti-response-else";
224
+ readonly ctor: typeof QtiResponseElse;
225
+ }, {
226
+ readonly tag: "qti-response-else-if";
227
+ readonly ctor: typeof QtiResponseElseIf;
228
+ }, {
229
+ readonly tag: "qti-response-if";
230
+ readonly ctor: typeof QtiResponseIf;
231
+ }, {
232
+ readonly tag: "qti-round";
233
+ readonly ctor: typeof QtiRound;
234
+ }, {
235
+ readonly tag: "qti-round-to";
236
+ readonly ctor: typeof QtiRoundTo;
237
+ }, {
238
+ readonly tag: "qti-rule";
239
+ readonly ctor: typeof QtiRule;
240
+ }, {
241
+ readonly tag: "qti-set-correct-response";
242
+ readonly ctor: typeof QtiSetCorrectResponse;
243
+ }, {
244
+ readonly tag: "qti-set-outcome-value";
245
+ readonly ctor: typeof QtiSetOutcomeValue;
246
+ }, {
247
+ readonly tag: "qti-set-template-value";
248
+ readonly ctor: typeof QtiSetTemplateValue;
249
+ }, {
250
+ readonly tag: "qti-stats-operator";
251
+ readonly ctor: typeof QtiStatsOperator;
252
+ }, {
253
+ readonly tag: "qti-string-match";
254
+ readonly ctor: typeof QtiStringMatch;
255
+ }, {
256
+ readonly tag: "qti-substring";
257
+ readonly ctor: typeof QtiSubstring;
258
+ }, {
259
+ readonly tag: "qti-subtract";
260
+ readonly ctor: typeof QtiSubtract;
261
+ }, {
262
+ readonly tag: "qti-sum";
263
+ readonly ctor: typeof QtiSum;
264
+ }, {
265
+ readonly tag: "qti-truncate";
266
+ readonly ctor: typeof QtiTruncate;
267
+ }, {
268
+ readonly tag: "qti-variable";
269
+ readonly ctor: typeof QtiVariable;
270
+ }];
@@ -0,0 +1,138 @@
1
+ import { QtiAnd } from './components/qti-and/qti-and';
2
+ import { QtiAnyN } from './components/qti-any-n/qti-any-n';
3
+ import { QtiBaseValue } from './components/qti-basevalue/qti-basevalue';
4
+ import { QtiContainerSize } from './components/qti-container-size/qti-container-size';
5
+ import { QtiContains } from './components/qti-contains/qti-contains';
6
+ import { QtiCorrect } from './components/qti-correct/qti-correct';
7
+ import { QtiDefault } from './components/qti-default/qti-default';
8
+ import { QtiDelete } from './components/qti-delete/qti-delete';
9
+ import { QtiDivide } from './components/qti-divide/qti-divide';
10
+ import { QtiDurationGte } from './components/qti-duration-gte/qti-duration-gte';
11
+ import { QtiDurationLt } from './components/qti-duration-lt/qti-duration-lt';
12
+ import { QtiEqualRounded } from './components/qti-equal-rounded/qti-equal-rounded';
13
+ import { QtiEqual } from './components/qti-equal/qti-equal';
14
+ import { QtiFieldValue } from './components/qti-field-value/qti-field-value';
15
+ import { QtiGcd } from './components/qti-gcd/qti.gcd';
16
+ import { QtiGt } from './components/qti-gt/qti-gt';
17
+ import { QtiGte } from './components/qti-gte/qti-gte';
18
+ import { QtiIndex } from './components/qti-index/qti-index';
19
+ import { QtiInside } from './components/qti-inside/qti-inside';
20
+ import { QtiIntegerDivide } from './components/qti-integer-divide/qti-integer-divide';
21
+ import { QtiIntegerModulus } from './components/qti-integer-modulus/qti-integer-modulus';
22
+ import { QtiIntegerToFloat } from './components/qti-integer-to-float/qti-integer-to-float';
23
+ import { QtiIsNull } from './components/qti-is-null/qti-is-null';
24
+ import { QtiLcm } from './components/qti-lcm/qti-lcm';
25
+ import { QtiLookupOutcomeValue } from './components/qti-lookup-outcome-value/qti-lookup-outcome-value';
26
+ import { QtiLt } from './components/qti-lt/qti-lt';
27
+ import { QtiLte } from './components/qti-lte/qti-lte';
28
+ import { QtiMapResponsePoint } from './components/qti-map-response-point/qti-map-response-point';
29
+ import { QtiMapResponse } from './components/qti-map-response/qti-map-response';
30
+ import { QtiMatch } from './components/qti-match/qti-match';
31
+ import { QtiMathOperator } from './components/qti-math-operator/qti-math-operator';
32
+ import { QtiMax } from './components/qti-max/qti-max';
33
+ import { QtiMember } from './components/qti-member/qti-member';
34
+ import { QtiMin } from './components/qti-min/qti-min';
35
+ import { QtiMultiple } from './components/qti-multiple/qti-multiple';
36
+ import { QtiNot } from './components/qti-not/qti-not';
37
+ import { QtiNull } from './components/qti-null/qti-null';
38
+ import { QtiOr } from './components/qti-or/qti-or';
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';
44
+ import { QtiPatternMatch } from './components/qti-pattern-match/qti-pattern-match';
45
+ import { QtiPower } from './components/qti-power/qti-power';
46
+ import { QtiPrintedVariable } from './components/qti-printed-variable/qti-printed-variable';
47
+ import { QtiProduct } from './components/qti-product/qti-product';
48
+ import { QtiRandomInteger } from './components/qti-random-integer/qti-random-integer';
49
+ import { QtiRandom } from './components/qti-random/qti-random';
50
+ import { QtiRepeat } from './components/qti-repeat/qti-repeat';
51
+ import { QtiResponseCondition } from './components/qti-response-condition/qti-response-condition';
52
+ import { QtiResponseElseIf } from './components/qti-response-else-if/qti-response-else-if';
53
+ import { QtiResponseElse } from './components/qti-response-else/qti-response-else';
54
+ import { QtiResponseIf } from './components/qti-response-if/qti-response-if';
55
+ import { QtiRoundTo } from './components/qti-round-to/qti-round-to';
56
+ import { QtiRound } from './components/qti-round/qti-round';
57
+ import { QtiRule } from './components/qti-rule/qti-rule';
58
+ import { QtiSetCorrectResponse } from './components/qti-set-correct-response/qti-set-correct-response';
59
+ import { QtiSetOutcomeValue } from './components/qti-set-outcome-value/qti-set-outcome-value';
60
+ import { QtiSetTemplateValue } from './components/qti-set-template-value/qti-set-template-value';
61
+ import { QtiStatsOperator } from './components/qti-stats-operator/qti-stats-operator';
62
+ import { QtiStringMatch } from './components/qti-string-match/qti-string-match';
63
+ import { QtiSubstring } from './components/qti-substring/qti-substring';
64
+ import { QtiSubtract } from './components/qti-subtract/qti-subtract';
65
+ import { QtiSum } from './components/qti-sum/qti-sum';
66
+ import { QtiTruncate } from './components/qti-truncate/qti-truncate';
67
+ import { QtiVariable } from './components/qti-variable/qti-variable';
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 };
69
+ export const qtiProcessingElements = [
70
+ { tag: 'qti-and', ctor: QtiAnd },
71
+ { tag: 'qti-any-n', ctor: QtiAnyN },
72
+ { tag: 'qti-base-value', ctor: QtiBaseValue },
73
+ { tag: 'qti-container-size', ctor: QtiContainerSize },
74
+ { tag: 'qti-contains', ctor: QtiContains },
75
+ { tag: 'qti-correct', ctor: QtiCorrect },
76
+ { tag: 'qti-default', ctor: QtiDefault },
77
+ { tag: 'qti-delete', ctor: QtiDelete },
78
+ { tag: 'qti-divide', ctor: QtiDivide },
79
+ { tag: 'qti-duration-gte', ctor: QtiDurationGte },
80
+ { tag: 'qti-duration-lt', ctor: QtiDurationLt },
81
+ { tag: 'qti-equal', ctor: QtiEqual },
82
+ { tag: 'qti-equal-rounded', ctor: QtiEqualRounded },
83
+ { tag: 'qti-field-value', ctor: QtiFieldValue },
84
+ { tag: 'qti-gcd', ctor: QtiGcd },
85
+ { tag: 'qti-gt', ctor: QtiGt },
86
+ { tag: 'qti-gte', ctor: QtiGte },
87
+ { tag: 'qti-index', ctor: QtiIndex },
88
+ { tag: 'qti-inside', ctor: QtiInside },
89
+ { tag: 'qti-integer-divide', ctor: QtiIntegerDivide },
90
+ { tag: 'qti-integer-modulus', ctor: QtiIntegerModulus },
91
+ { tag: 'qti-integer-to-float', ctor: QtiIntegerToFloat },
92
+ { tag: 'qti-is-null', ctor: QtiIsNull },
93
+ { tag: 'qti-lcm', ctor: QtiLcm },
94
+ { tag: 'qti-lookup-outcome-value', ctor: QtiLookupOutcomeValue },
95
+ { tag: 'qti-lt', ctor: QtiLt },
96
+ { tag: 'qti-lte', ctor: QtiLte },
97
+ { tag: 'qti-map-response', ctor: QtiMapResponse },
98
+ { tag: 'qti-map-response-point', ctor: QtiMapResponsePoint },
99
+ { tag: 'qti-match', ctor: QtiMatch },
100
+ { tag: 'qti-math-operator', ctor: QtiMathOperator },
101
+ { tag: 'qti-max', ctor: QtiMax },
102
+ { tag: 'qti-member', ctor: QtiMember },
103
+ { tag: 'qti-min', ctor: QtiMin },
104
+ { tag: 'qti-multiple', ctor: QtiMultiple },
105
+ { tag: 'qti-not', ctor: QtiNot },
106
+ { tag: 'qti-null', ctor: QtiNull },
107
+ { tag: 'qti-or', ctor: QtiOr },
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 },
113
+ { tag: 'qti-pattern-match', ctor: QtiPatternMatch },
114
+ { tag: 'qti-power', ctor: QtiPower },
115
+ { tag: 'qti-printed-variable', ctor: QtiPrintedVariable },
116
+ { tag: 'qti-product', ctor: QtiProduct },
117
+ { tag: 'qti-random', ctor: QtiRandom },
118
+ { tag: 'qti-random-integer', ctor: QtiRandomInteger },
119
+ { tag: 'qti-repeat', ctor: QtiRepeat },
120
+ { tag: 'qti-response-condition', ctor: QtiResponseCondition },
121
+ { tag: 'qti-response-else', ctor: QtiResponseElse },
122
+ { tag: 'qti-response-else-if', ctor: QtiResponseElseIf },
123
+ { tag: 'qti-response-if', ctor: QtiResponseIf },
124
+ { tag: 'qti-round', ctor: QtiRound },
125
+ { tag: 'qti-round-to', ctor: QtiRoundTo },
126
+ { tag: 'qti-rule', ctor: QtiRule },
127
+ { tag: 'qti-set-correct-response', ctor: QtiSetCorrectResponse },
128
+ { tag: 'qti-set-outcome-value', ctor: QtiSetOutcomeValue },
129
+ { tag: 'qti-set-template-value', ctor: QtiSetTemplateValue },
130
+ { tag: 'qti-stats-operator', ctor: QtiStatsOperator },
131
+ { tag: 'qti-string-match', ctor: QtiStringMatch },
132
+ { tag: 'qti-substring', ctor: QtiSubstring },
133
+ { tag: 'qti-subtract', ctor: QtiSubtract },
134
+ { tag: 'qti-sum', ctor: QtiSum },
135
+ { tag: 'qti-truncate', ctor: QtiTruncate },
136
+ { tag: 'qti-variable', ctor: QtiVariable }
137
+ ];
138
+ //# sourceMappingURL=elements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elements.js","sourceRoot":"","sources":["../src/elements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA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AE,wBAAwB,EAAE,IAAI,EAAE,oBAAoB,EAAE;IAC7D,EAAE,GAAG,EAAE,mBAAmB,EAAE,IAAI,EAAE,eAAe,EAAE;IACnD,EAAE,GAAG,EAAE,sBAAsB,EAAE,IAAI,EAAE,iBAAiB,EAAE;IACxD,EAAE,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,aAAa,EAAE;IAC/C,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE;IACpC,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,UAAU,EAAE;IACzC,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE;IAClC,EAAE,GAAG,EAAE,0BAA0B,EAAE,IAAI,EAAE,qBAAqB,EAAE;IAChE,EAAE,GAAG,EAAE,uBAAuB,EAAE,IAAI,EAAE,kBAAkB,EAAE;IAC1D,EAAE,GAAG,EAAE,wBAAwB,EAAE,IAAI,EAAE,mBAAmB,EAAE;IAC5D,EAAE,GAAG,EAAE,oBAAoB,EAAE,IAAI,EAAE,gBAAgB,EAAE;IACrD,EAAE,GAAG,EAAE,kBAAkB,EAAE,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
@@ -1,7 +1,12 @@
1
+ import './register';
1
2
  export * from './components/qti-lookup-outcome-value/qti-lookup-outcome-value';
2
3
  export * from './components/qti-response-condition/qti-response-condition';
3
4
  export * from './components/qti-set-outcome-value/qti-set-outcome-value';
4
5
  export * from './components/qti-response-else/qti-response-else';
5
6
  export * from './components/qti-response-else-if/qti-response-else-if';
6
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';
7
12
  export * from './components';
package/dist/index.js CHANGED
@@ -1,8 +1,13 @@
1
+ import './register';
1
2
  export * from './components/qti-lookup-outcome-value/qti-lookup-outcome-value';
2
3
  export * from './components/qti-response-condition/qti-response-condition';
3
4
  export * from './components/qti-set-outcome-value/qti-set-outcome-value';
4
5
  export * from './components/qti-response-else/qti-response-else';
5
6
  export * from './components/qti-response-else-if/qti-response-else-if';
6
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';
7
12
  export * from './components';
8
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,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":["export * 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"]}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import { qtiProcessingElements } from './elements';
2
+ for (const { tag, ctor } of qtiProcessingElements) {
3
+ if (!customElements.get(tag)) {
4
+ customElements.define(tag, ctor);
5
+ }
6
+ }
7
+ //# sourceMappingURL=register.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.js","sourceRoot":"","sources":["../src/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,KAAK,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,qBAAqB,EAAE,CAAC;IAClD,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;QAC7B,cAAc,CAAC,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;AACH,CAAC","sourcesContent":["import { qtiProcessingElements } from './elements';\n\nfor (const { tag, ctor } of qtiProcessingElements) {\n if (!customElements.get(tag)) {\n customElements.define(tag, ctor);\n }\n}\n"]}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@qti-components/processing",
3
3
  "description": "QTI processing utilities",
4
- "version": "1.3.3",
4
+ "version": "1.4.0",
5
5
  "author": "",
6
6
  "dependencies": {
7
- "@qti-components/base": "^1.4.3",
7
+ "@qti-components/base": "^2.1.0",
8
8
  "@qti-components/utilities": "^1.3.3"
9
9
  },
10
10
  "devDependencies": {
@@ -17,6 +17,21 @@
17
17
  ],
18
18
  "license": "GPL-3.0-only",
19
19
  "main": "dist/index.js",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "import": "./dist/index.js"
24
+ },
25
+ "./elements": {
26
+ "types": "./dist/elements.d.ts",
27
+ "import": "./dist/elements.js"
28
+ },
29
+ "./register": {
30
+ "types": "./dist/register.d.ts",
31
+ "import": "./dist/register.js"
32
+ },
33
+ "./*": "./dist/*"
34
+ },
20
35
  "peerDependencies": {
21
36
  "@lit/context": "^1.1.6",
22
37
  "lit": "^3.3.1"