@superbuilders/incept-renderer 0.1.0 → 0.1.2

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.d.ts CHANGED
@@ -1,9 +1,14 @@
1
- import { A as AssessmentItem } from './schema-DxNEXGoq.js';
2
- export { f as AnyInteraction, i as AssessmentItemSchema, c as ChoiceCorrectness, e as ChoiceInteraction, C as ContentBlockRenderer, d as ContentBlockRendererProps, F as FeedbackBlock, Q as QTIRenderer, a as QTIRendererProps, b as QTITheme, g as ResponseDeclaration, R as ResponseFeedback, h as ResponseProcessing } from './schema-DxNEXGoq.js';
3
- export { a as DisplayBlock, b as DisplayChoice, c as DisplayChoiceInteraction, D as DisplayItem, F as FormShape, V as ValidateResult } from './types-MOyn9ktl.js';
1
+ import { A as AssessmentItem } from './schema-CkAPLwco.js';
2
+ export { e as AnyInteraction, i as AssessmentItemSchema, C as ChoiceCorrectness, f as ChoiceInteraction, c as ContentBlockRenderer, a as ContentBlockRendererProps, F as FeedbackBlock, d as QTIRenderer, Q as QTIRendererProps, b as QTITheme, g as ResponseDeclaration, R as ResponseFeedback, h as ResponseProcessing } from './schema-CkAPLwco.js';
3
+ export { D as DisplayBlock, a as DisplayChoice, b as DisplayChoiceInteraction, c as DisplayItem, F as FormShape, V as ValidateResult } from './types-DIDj-78l.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'zod';
6
6
 
7
+ /**
8
+ * Traverses the response processing rules to find all matching feedback identifiers.
9
+ */
10
+ declare function evaluateFeedbackIdentifiers(item: AssessmentItem, responses: Record<string, string | string[]>, responseResults: Record<string, boolean>): string[];
11
+
7
12
  interface NormalizedNode {
8
13
  tagName: string;
9
14
  attrs: Record<string, unknown>;
@@ -11,11 +16,6 @@ interface NormalizedNode {
11
16
  }
12
17
  declare function parseAssessmentItemXml(xml: string): AssessmentItem;
13
18
 
14
- /**
15
- * Traverses the response processing rules to find all matching feedback identifiers.
16
- */
17
- declare function evaluateFeedbackIdentifiers(item: AssessmentItem, responses: Record<string, string | string[]>, responseResults: Record<string, boolean>): string[];
18
-
19
19
  /**
20
20
  * Configuration for HTML sanitization.
21
21
  * Defines allowed tags and attributes for safe rendering.