@graffiticode/l0179-view 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/dist/index-3_WJgYM5.js +4501 -0
- package/dist/index-3_WJgYM5.js.map +1 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +20591 -0
- package/dist/index.js.map +1 -0
- package/dist/scoring.d.ts +108 -0
- package/dist/scoring.js +19 -0
- package/dist/scoring.js.map +1 -0
- package/dist/style.css +1 -0
- package/package.json +68 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CompileError } from '@graffiticode/l0000-view';
|
|
2
|
+
import { default as default_2 } from 'react';
|
|
3
|
+
import { FormComponent } from '@graffiticode/l0000-view';
|
|
4
|
+
import { FormProps } from '@graffiticode/l0000-view';
|
|
5
|
+
import { LanguageReducer } from '@graffiticode/l0000-view';
|
|
6
|
+
import { StateAction } from '@graffiticode/l0000-view';
|
|
7
|
+
import { View } from '@graffiticode/l0000-view';
|
|
8
|
+
|
|
9
|
+
export { CompileError }
|
|
10
|
+
|
|
11
|
+
export declare const Form: ({ state }: any) => default_2.JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { FormComponent }
|
|
14
|
+
|
|
15
|
+
export { FormProps }
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The answer key, keyed the way the response is: bare `A2` for one sheet, `s2!A2` once there are
|
|
19
|
+
* several. Callers (including Learnosity's suggested-answers list) index the response with these
|
|
20
|
+
* keys, so the two must agree.
|
|
21
|
+
*/
|
|
22
|
+
export declare const getCellsValidation: ({ cells, validation }: any) => any;
|
|
23
|
+
|
|
24
|
+
export { LanguageReducer }
|
|
25
|
+
|
|
26
|
+
export declare const reduce: LanguageReducer;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Score a response map. Returns the same map with a `score` added to each assessed cell; the
|
|
30
|
+
* caller sums `score.points` and compares against `validation.points`.
|
|
31
|
+
*
|
|
32
|
+
* With several sheets each is scored against its OWN validation rather than a merged one. That
|
|
33
|
+
* is the same separation the compiler makes, and for the same reason: the region record is keyed
|
|
34
|
+
* by row and column with no sheet dimension, so one merged pass has sheet 2's `A1` overwrite
|
|
35
|
+
* sheet 1's answer key — leaving a maximum that no correct response can reach.
|
|
36
|
+
*/
|
|
37
|
+
export declare const scoreCells: ({ cells, validation, interactionCells }: any) => any;
|
|
38
|
+
|
|
39
|
+
export { StateAction }
|
|
40
|
+
|
|
41
|
+
export { View }
|
|
42
|
+
|
|
43
|
+
export { }
|