@citolab/qti-components 6.0.3 → 6.0.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 (36) hide show
  1. package/dist/chunk-HOQW4KDA.cjs +1 -0
  2. package/dist/{chunk-MYPYIYN5.js → chunk-K2XJ4SA2.js} +740 -264
  3. package/dist/chunk-KHP4WL3V.cjs +1 -0
  4. package/dist/{themes/qti.css → chunk-KTKSC3PR.cjs} +756 -263
  5. package/dist/custom-elements.json +557 -1292
  6. package/dist/index.cjs +2955 -0
  7. package/dist/index.css +2194 -1
  8. package/dist/index.js +2366 -190
  9. package/dist/{qti-assessment-item-219cef9e.d.ts → qti-assessment-item-f1fcf393.d.ts} +20 -2
  10. package/dist/qti-components/index.cjs +472 -0
  11. package/dist/qti-components/index.d.ts +72 -156
  12. package/dist/qti-components/index.js +141 -76
  13. package/dist/qti-item/index.cjs +1 -0
  14. package/dist/qti-item/index.d.ts +1 -2
  15. package/dist/qti-item/index.js +1 -1
  16. package/dist/qti-item-react/index.cjs +1 -0
  17. package/dist/qti-item-react/index.d.ts +5 -3
  18. package/dist/qti-item-react/index.js +1 -1
  19. package/dist/{qti-rule-e2aee685.d.ts → qti-simple-choice-c13f4eef.d.ts} +34 -33
  20. package/dist/qti-transform/index.cjs +17 -0
  21. package/dist/qti-transform/index.d.ts +1 -2
  22. package/dist/qti-transform/index.js +2 -87
  23. package/package.json +11 -9
  24. package/dist/ExpressionResult-b1ac7b27.d.ts +0 -23
  25. package/dist/ExpressionResult-d0123389.d.ts +0 -19
  26. package/dist/chunk-7KH3TY23.js +0 -18
  27. package/dist/chunk-7LF4QM4D.js +0 -17
  28. package/dist/chunk-M3YT56HW.js +0 -1437
  29. package/dist/qti-assessment-item-d2af2995.d.ts +0 -102
  30. package/dist/qti-components.js +0 -13502
  31. package/dist/qti-item/index.css +0 -1
  32. package/dist/qti-item-react/index.css +0 -1
  33. package/dist/qti-rule-5fe4f91e.d.ts +0 -303
  34. package/dist/qti-test/index.d.ts +0 -61
  35. package/dist/qti-test/index.js +0 -14
  36. package/dist/vite.svg +0 -1
@@ -1,6 +1,23 @@
1
1
  import * as lit_html from 'lit-html';
2
2
  import { LitElement } from 'lit';
3
- import { C as Cardinality, B as BaseType, R as ResponseInteraction } from './ExpressionResult-b1ac7b27.js';
3
+
4
+ interface directedPair {
5
+ destination: string;
6
+ source: string;
7
+ }
8
+ interface ResponseInteraction {
9
+ responseIdentifier: string;
10
+ response: string | string[];
11
+ }
12
+ interface Calculate {
13
+ calculate: () => string | string[];
14
+ }
15
+ type float = number;
16
+ type integer = number;
17
+ type BaseType = 'boolean' | 'directedPair' | 'float' | 'integer' | 'string' | 'identifier' | 'pair';
18
+ type Multiple = string | string[][];
19
+ type Ordered = string | string[][];
20
+ type Cardinality = 'multiple' | 'ordered' | 'single';
4
21
 
5
22
  interface VariableDeclaration<T> {
6
23
  identifier: string;
@@ -77,6 +94,7 @@ declare class QtiAssessmentItem extends LitElement {
77
94
  _handleDisabledChange: (_: boolean, disabled: boolean) => void;
78
95
  _handleReadonlyChange: (_: boolean, readonly: boolean) => void;
79
96
  constructor();
97
+ connectedCallback(): void;
80
98
  disconnectedCallback(): void;
81
99
  private _registerVariable;
82
100
  showCorrectResponse(): void;
@@ -99,4 +117,4 @@ declare global {
99
117
  }
100
118
  }
101
119
 
102
- export { OutcomeVariable as O, QtiAssessmentItem as Q, ResponseVariable as R, VariableDeclaration as V, QtiMapping as a };
120
+ export { BaseType as B, Cardinality as C, Multiple as M, Ordered as O, QtiAssessmentItem as Q, ResponseVariable as R, VariableDeclaration as V, ResponseInteraction as a, Calculate as b, OutcomeVariable as c, directedPair as d, QtiMapping as e, float as f, integer as i };