@pie-qti/qti-common 0.1.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.
- package/README.md +356 -0
- package/dist/element-mapper/ElementNameMapper.d.ts +67 -0
- package/dist/element-mapper/ElementNameMapper.d.ts.map +1 -0
- package/dist/element-mapper/ElementNameMapper.js +2 -0
- package/dist/element-mapper/ElementNameMapper.js.map +1 -0
- package/dist/element-mapper/Qti2xElementNameMapper.d.ts +38 -0
- package/dist/element-mapper/Qti2xElementNameMapper.d.ts.map +1 -0
- package/dist/element-mapper/Qti2xElementNameMapper.js +47 -0
- package/dist/element-mapper/Qti2xElementNameMapper.js.map +1 -0
- package/dist/element-mapper/Qti3ElementNameMapper.d.ts +50 -0
- package/dist/element-mapper/Qti3ElementNameMapper.d.ts.map +1 -0
- package/dist/element-mapper/Qti3ElementNameMapper.js +224 -0
- package/dist/element-mapper/Qti3ElementNameMapper.js.map +1 -0
- package/dist/element-mapper/index.d.ts +4 -0
- package/dist/element-mapper/index.d.ts.map +1 -0
- package/dist/element-mapper/index.js +3 -0
- package/dist/element-mapper/index.js.map +1 -0
- package/dist/element-mapper/qti3-element-mappings.d.ts +448 -0
- package/dist/element-mapper/qti3-element-mappings.d.ts.map +1 -0
- package/dist/element-mapper/qti3-element-mappings.js +320 -0
- package/dist/element-mapper/qti3-element-mappings.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/parser-factory.d.ts +111 -0
- package/dist/parser-factory.d.ts.map +1 -0
- package/dist/parser-factory.js +120 -0
- package/dist/parser-factory.js.map +1 -0
- package/dist/version-detection/detectQtiVersion.d.ts +24 -0
- package/dist/version-detection/detectQtiVersion.d.ts.map +1 -0
- package/dist/version-detection/detectQtiVersion.js +129 -0
- package/dist/version-detection/detectQtiVersion.js.map +1 -0
- package/dist/version-detection/index.d.ts +3 -0
- package/dist/version-detection/index.d.ts.map +1 -0
- package/dist/version-detection/index.js +2 -0
- package/dist/version-detection/index.js.map +1 -0
- package/dist/xml/attributes.d.ts +78 -0
- package/dist/xml/attributes.d.ts.map +1 -0
- package/dist/xml/attributes.js +120 -0
- package/dist/xml/attributes.js.map +1 -0
- package/dist/xml/index.d.ts +2 -0
- package/dist/xml/index.d.ts.map +1 -0
- package/dist/xml/index.js +2 -0
- package/dist/xml/index.js.map +1 -0
- package/package.json +36 -0
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Element name mapper for QTI 3.0.
|
|
3
|
+
*
|
|
4
|
+
* QTI 3.0 uses kebab-case element names with 'qti-' prefix:
|
|
5
|
+
* - qti-assessment-item, qti-item-body, qti-response-declaration
|
|
6
|
+
* - qti-choice-interaction, qti-simple-choice
|
|
7
|
+
* - qti-response-processing, qti-set-outcome-value
|
|
8
|
+
*
|
|
9
|
+
* This mapper converts to/from lowercase canonical form (without prefix) for internal processing.
|
|
10
|
+
*/
|
|
11
|
+
export class Qti3ElementNameMapper {
|
|
12
|
+
version = '3.0';
|
|
13
|
+
PREFIX = 'qti-';
|
|
14
|
+
/**
|
|
15
|
+
* Convert QTI 3.0 kebab-case name to canonical lowercase.
|
|
16
|
+
* Removes 'qti-' prefix and converts to lowercase.
|
|
17
|
+
*
|
|
18
|
+
* @param elementName - kebab-case element name with qti- prefix
|
|
19
|
+
* @returns lowercase canonical name without prefix
|
|
20
|
+
*/
|
|
21
|
+
toCanonical(elementName) {
|
|
22
|
+
// Remove 'qti-' prefix and convert to lowercase (already lowercase but ensure it)
|
|
23
|
+
const withoutPrefix = elementName.startsWith(this.PREFIX)
|
|
24
|
+
? elementName.slice(this.PREFIX.length)
|
|
25
|
+
: elementName;
|
|
26
|
+
// Remove hyphens to get canonical form
|
|
27
|
+
// 'choice-interaction' => 'choiceinteraction'
|
|
28
|
+
return withoutPrefix.replace(/-/g, '').toLowerCase();
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Convert canonical lowercase to QTI 3.0 kebab-case with qti- prefix.
|
|
32
|
+
*
|
|
33
|
+
* This converts canonical names like 'choiceinteraction' to 'qti-choice-interaction'.
|
|
34
|
+
*
|
|
35
|
+
* @param canonicalName - lowercase canonical name
|
|
36
|
+
* @returns kebab-case element name with qti- prefix
|
|
37
|
+
*/
|
|
38
|
+
toNative(canonicalName) {
|
|
39
|
+
// Convert camelCase/lowercase to kebab-case
|
|
40
|
+
// 'choiceinteraction' needs to become 'choice-interaction'
|
|
41
|
+
// We need to insert hyphens before transitions from lowercase to uppercase
|
|
42
|
+
// But canonical names are already lowercase, so we need a different approach
|
|
43
|
+
// Use a simple mapping for common patterns
|
|
44
|
+
const kebabCase = this.toKebabCase(canonicalName);
|
|
45
|
+
return this.PREFIX + kebabCase;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Validate QTI 3.0 element name pattern.
|
|
49
|
+
* QTI 3.0 uses kebab-case with 'qti-' prefix.
|
|
50
|
+
*
|
|
51
|
+
* @param elementName - Element name to validate
|
|
52
|
+
* @returns true if valid kebab-case pattern with qti- prefix
|
|
53
|
+
*/
|
|
54
|
+
isValidElementName(elementName) {
|
|
55
|
+
// QTI 3.0: 'qti-' prefix followed by kebab-case
|
|
56
|
+
// Examples: qti-assessment-item, qti-choice-interaction, qti-simple-choice
|
|
57
|
+
// Must not have double hyphens or end with hyphen
|
|
58
|
+
if (!elementName.startsWith(this.PREFIX))
|
|
59
|
+
return false;
|
|
60
|
+
if (elementName === this.PREFIX)
|
|
61
|
+
return false;
|
|
62
|
+
if (elementName.includes('--'))
|
|
63
|
+
return false;
|
|
64
|
+
if (elementName.endsWith('-'))
|
|
65
|
+
return false;
|
|
66
|
+
return /^qti-[a-z][a-z0-9-]*$/.test(elementName);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Convert a canonical name to kebab-case.
|
|
70
|
+
* This is a best-effort conversion based on known QTI element patterns.
|
|
71
|
+
*
|
|
72
|
+
* @param name - Canonical lowercase name
|
|
73
|
+
* @returns kebab-case version
|
|
74
|
+
* @private
|
|
75
|
+
*/
|
|
76
|
+
toKebabCase(name) {
|
|
77
|
+
// For canonical names like 'choiceinteraction', 'simplechoice', 'responseprocessing'
|
|
78
|
+
// we need to identify word boundaries and insert hyphens
|
|
79
|
+
// Special cases that need direct mapping (multi-word compounds)
|
|
80
|
+
const specialCases = {
|
|
81
|
+
// Core structure
|
|
82
|
+
'itembody': 'item-body',
|
|
83
|
+
'contentbody': 'content-body',
|
|
84
|
+
'testpart': 'test-part',
|
|
85
|
+
'assessmentitem': 'assessment-item',
|
|
86
|
+
'assessmenttest': 'assessment-test',
|
|
87
|
+
'assessmentsection': 'assessment-section',
|
|
88
|
+
'assessmentitemref': 'assessment-item-ref',
|
|
89
|
+
'assessmentstimulusref': 'assessment-stimulus-ref',
|
|
90
|
+
// Feedback
|
|
91
|
+
'rubricblock': 'rubric-block',
|
|
92
|
+
'modalfeedback': 'modal-feedback',
|
|
93
|
+
'modalfeedbackok': 'modal-feedback-ok',
|
|
94
|
+
'feedbackblock': 'feedback-block',
|
|
95
|
+
'feedbackinline': 'feedback-inline',
|
|
96
|
+
// Other multi-word
|
|
97
|
+
'stylesheet': 'style-sheet',
|
|
98
|
+
'printedvariable': 'printed-variable',
|
|
99
|
+
'contextvariable': 'context-variable',
|
|
100
|
+
'templatevariable': 'template-variable',
|
|
101
|
+
'companionmaterialsinfo': 'companion-materials-info',
|
|
102
|
+
// Interaction-specific
|
|
103
|
+
'textentryinteraction': 'text-entry-interaction',
|
|
104
|
+
'extendedtextinteraction': 'extended-text-interaction',
|
|
105
|
+
'inlinechoiceinteraction': 'inline-choice-interaction',
|
|
106
|
+
'gapmatchinteraction': 'gap-match-interaction',
|
|
107
|
+
'graphicgapmatchinteraction': 'graphic-gap-match-interaction',
|
|
108
|
+
'selectpointinteraction': 'select-point-interaction',
|
|
109
|
+
'endattemptinteraction': 'end-attempt-interaction',
|
|
110
|
+
'positionobjectinteraction': 'position-object-interaction',
|
|
111
|
+
'graphicorderinteraction': 'graphic-order-interaction',
|
|
112
|
+
'graphicassociateinteraction': 'graphic-associate-interaction',
|
|
113
|
+
'portablecustominteraction': 'portable-custom-interaction',
|
|
114
|
+
// Interaction children
|
|
115
|
+
'simplechoice': 'simple-choice',
|
|
116
|
+
'simplematchset': 'simple-match-set',
|
|
117
|
+
'simpleassociablechoice': 'simple-associable-choice',
|
|
118
|
+
'gaptext': 'gap-text',
|
|
119
|
+
'gapimg': 'gap-img',
|
|
120
|
+
'gapchoice': 'gap-choice',
|
|
121
|
+
'hotspotchoice': 'hotspot-choice',
|
|
122
|
+
'associablehotspot': 'associable-hotspot',
|
|
123
|
+
'inlinechoice': 'inline-choice',
|
|
124
|
+
// Declarations
|
|
125
|
+
'responsedeclaration': 'response-declaration',
|
|
126
|
+
'outcomedeclaration': 'outcome-declaration',
|
|
127
|
+
'templatedeclaration': 'template-declaration',
|
|
128
|
+
'contextdeclaration': 'context-declaration',
|
|
129
|
+
'correctresponse': 'correct-response',
|
|
130
|
+
'defaultvalue': 'default-value',
|
|
131
|
+
// Mapping
|
|
132
|
+
'areamapping': 'area-mapping',
|
|
133
|
+
'areamapentry': 'area-map-entry',
|
|
134
|
+
'mapentry': 'map-entry',
|
|
135
|
+
'matchtable': 'match-table',
|
|
136
|
+
'matchtableentry': 'match-table-entry',
|
|
137
|
+
'interpolationtable': 'interpolation-table',
|
|
138
|
+
'interpolationtableentry': 'interpolation-table-entry',
|
|
139
|
+
// Processing
|
|
140
|
+
'responseprocessing': 'response-processing',
|
|
141
|
+
'responsecondition': 'response-condition',
|
|
142
|
+
'responseif': 'response-if',
|
|
143
|
+
'responseelseif': 'response-else-if',
|
|
144
|
+
'responseelse': 'response-else',
|
|
145
|
+
'responseprocessingfragment': 'response-processing-fragment',
|
|
146
|
+
'exitresponse': 'exit-response',
|
|
147
|
+
'setoutcomevalue': 'set-outcome-value',
|
|
148
|
+
'lookupoutcomevalue': 'lookup-outcome-value',
|
|
149
|
+
'setcorrectresponse': 'set-correct-response',
|
|
150
|
+
'setdefaultvalue': 'set-default-value',
|
|
151
|
+
'templateprocessing': 'template-processing',
|
|
152
|
+
'templatecondition': 'template-condition',
|
|
153
|
+
'templateif': 'template-if',
|
|
154
|
+
'templateelseif': 'template-else-if',
|
|
155
|
+
'templateelse': 'template-else',
|
|
156
|
+
'templateconstraint': 'template-constraint',
|
|
157
|
+
'settemplatevalue': 'set-template-value',
|
|
158
|
+
'exittemplate': 'exit-template',
|
|
159
|
+
'templateblock': 'template-block',
|
|
160
|
+
'templateinline': 'template-inline',
|
|
161
|
+
'outcomeprocessing': 'outcome-processing',
|
|
162
|
+
'outcomecondition': 'outcome-condition',
|
|
163
|
+
'outcomeif': 'outcome-if',
|
|
164
|
+
'outcomeelseif': 'outcome-else-if',
|
|
165
|
+
'outcomeelse': 'outcome-else',
|
|
166
|
+
'exittest': 'exit-test',
|
|
167
|
+
// Expressions
|
|
168
|
+
'basevalue': 'base-value',
|
|
169
|
+
'fieldvalue': 'field-value',
|
|
170
|
+
'customoperator': 'custom-operator',
|
|
171
|
+
'equalrounded': 'equal-rounded',
|
|
172
|
+
'stringmatch': 'string-match',
|
|
173
|
+
'patternmatch': 'pattern-match',
|
|
174
|
+
'mapresponse': 'map-response',
|
|
175
|
+
'mapresponsepoint': 'map-response-point',
|
|
176
|
+
'integerdivide': 'integer-divide',
|
|
177
|
+
'integermodulus': 'integer-modulus',
|
|
178
|
+
'roundto': 'round-to',
|
|
179
|
+
'mathoperator': 'math-operator',
|
|
180
|
+
'mathconstant': 'math-constant',
|
|
181
|
+
'statsoperator': 'stats-operator',
|
|
182
|
+
'containersize': 'container-size',
|
|
183
|
+
'isnull': 'is-null',
|
|
184
|
+
'randominteger': 'random-integer',
|
|
185
|
+
'randomfloat': 'random-float',
|
|
186
|
+
'testvariables': 'test-variables',
|
|
187
|
+
'outcomemaximum': 'outcome-maximum',
|
|
188
|
+
'outcomeminimum': 'outcome-minimum',
|
|
189
|
+
'numbercorrect': 'number-correct',
|
|
190
|
+
'numberincorrect': 'number-incorrect',
|
|
191
|
+
'numberpresented': 'number-presented',
|
|
192
|
+
'numberresponded': 'number-responded',
|
|
193
|
+
'numberselected': 'number-selected',
|
|
194
|
+
// PCI
|
|
195
|
+
'interactionmodules': 'interaction-modules',
|
|
196
|
+
'interactionmodule': 'interaction-module',
|
|
197
|
+
'interactionmarkup': 'interaction-markup',
|
|
198
|
+
// Catalog
|
|
199
|
+
'cataloginfo': 'catalog-info',
|
|
200
|
+
'cardentry': 'card-entry',
|
|
201
|
+
'htmlcontent': 'html-content',
|
|
202
|
+
'filehref': 'file-href',
|
|
203
|
+
};
|
|
204
|
+
if (specialCases[name]) {
|
|
205
|
+
return specialCases[name];
|
|
206
|
+
}
|
|
207
|
+
// Fallback: apply pattern-based conversion for unmapped cases
|
|
208
|
+
let result = name;
|
|
209
|
+
// Handle compound cases (prefix + suffix) first
|
|
210
|
+
result = result.replace(/^(response|outcome|assessment|template)(processing|declaration|condition)$/, '$1-$2');
|
|
211
|
+
// Handle prefix + interaction/choice
|
|
212
|
+
result = result.replace(/^(simple|graphic|extended|inline|custom|portable)(interaction|choice)$/, '$1-$2');
|
|
213
|
+
// If not already handled, check for prefixes (but only if followed by something else)
|
|
214
|
+
if (!result.includes('-')) {
|
|
215
|
+
result = result.replace(/^(response|outcome|assessment|simple|graphic|extended|inline|custom|portable|template)(.+)/, '$1-$2');
|
|
216
|
+
}
|
|
217
|
+
// If still no hyphen, check for common suffixes
|
|
218
|
+
if (!result.includes('-')) {
|
|
219
|
+
result = result.replace(/(.+)(interaction|processing|declaration|condition|feedback|template|choice|value|operator|variable|attempt)$/, '$1-$2');
|
|
220
|
+
}
|
|
221
|
+
return result;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
//# sourceMappingURL=Qti3ElementNameMapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Qti3ElementNameMapper.js","sourceRoot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AC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,4FAA4F,EAAE,OAAO,CAAC,CAAC;QAChI,CAAC;QAED,gDAAgD;QAChD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,8GAA8G,EAAE,OAAO,CAAC,CAAC;QAClJ,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/element-mapper/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/element-mapper/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC"}
|