@citolab/qti-components 6.0.2 → 6.0.3-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/dist/ExpressionResult-b1ac7b27.d.ts +23 -0
- package/dist/chunk-DLLHO3W2.js +1 -0
- package/dist/chunk-M3YT56HW.js +1437 -0
- package/dist/custom-elements.json +4123 -17029
- package/dist/index.js +2237 -0
- package/dist/qti-assessment-item-219cef9e.d.ts +102 -0
- package/dist/qti-components/index.d.ts +184 -335
- package/dist/qti-components/index.js +146 -104
- package/dist/qti-components.js +13502 -0
- package/dist/qti-item/index.d.ts +13 -6
- package/dist/qti-item/index.js +1 -17
- package/dist/qti-item-react/index.d.ts +19 -0
- package/dist/qti-item-react/index.js +1 -0
- package/dist/qti-rule-5fe4f91e.d.ts +303 -0
- package/dist/qti-test/index.d.ts +2 -2
- package/dist/qti-test/index.js +13 -11
- package/dist/themes/qti.css +142 -112
- package/dist/vite.svg +1 -0
- package/package.json +1 -1
- package/dist/ExpressionResult-2192c3d8.d.ts +0 -33
- package/dist/chunk-2TX3IEPD.cjs +0 -1
- package/dist/chunk-HOQW4KDA.cjs +0 -1
- package/dist/chunk-JLKCCEGG.cjs +0 -1
- package/dist/chunk-JQY6IKDF.js +0 -1
- package/dist/chunk-L6436D6O.js +0 -1
- package/dist/qti-assessment-item-e9f437d6.d.ts +0 -117
- package/dist/qti-components/index.cjs +0 -403
- package/dist/qti-item/index.cjs +0 -17
- package/dist/qti-test/index.cjs +0 -12
- package/dist/qti-transform/index.cjs +0 -102
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
interface directedPair {
|
|
2
|
+
destination: string;
|
|
3
|
+
source: string;
|
|
4
|
+
}
|
|
5
|
+
interface ResponseInteraction {
|
|
6
|
+
responseIdentifier: string;
|
|
7
|
+
response: string | string[];
|
|
8
|
+
}
|
|
9
|
+
interface InputResponseFormat {
|
|
10
|
+
item: string;
|
|
11
|
+
value: ResponseInteraction;
|
|
12
|
+
}
|
|
13
|
+
interface Calculate {
|
|
14
|
+
calculate: () => string | string[];
|
|
15
|
+
}
|
|
16
|
+
type float = number;
|
|
17
|
+
type integer = number;
|
|
18
|
+
type BaseType = 'boolean' | 'directedPair' | 'float' | 'integer' | 'string' | 'identifier' | 'pair';
|
|
19
|
+
type Multiple = string | string[][];
|
|
20
|
+
type Ordered = string | string[][];
|
|
21
|
+
type Cardinality = 'multiple' | 'ordered' | 'single';
|
|
22
|
+
|
|
23
|
+
export { BaseType as B, Cardinality as C, InputResponseFormat as I, Multiple as M, Ordered as O, ResponseInteraction as R, Calculate as a, directedPair as d, float as f, integer as i };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-NMCIOGD2.js";function U(e,l){let r=o({waitUntilFirstUpdate:!1},l);return(s,d)=>{let{update:c}=s,p=Array.isArray(e)?e:[e];s.update=function(t){p.forEach(f=>{let n=f;if(t.has(n)){let i=t.get(n),a=this[n];i!==a&&(!r.waitUntilFirstUpdate||this.hasUpdated)&&this[d](i,a)}}),c.call(this,t)}}}import{createContext as u}from"@lit-labs/context";var h=u("logger");export{U as a,h as b};
|