@citolab/qti-components 7.16.1 → 7.17.1

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/test.d.ts CHANGED
@@ -3,14 +3,34 @@ import { LitElement, PropertyValues, nothing } from 'lit';
3
3
  import { QtiAssessmentItem, QtiModalFeedback } from './elements.js';
4
4
  import { TemplateFunction } from '@heximal/templates';
5
5
  import { T as TestContext, a as QtiContext } from './test.context-Bpw1HNAZ.js';
6
+ import { V as VariableValue, j as OutcomeVariable, h as VariableDeclaration } from './variables-CusMRnyJ.js';
6
7
  import { S as SessionContext, a as ComputedContext, C as ComputedItem, V as View } from './computed.context-CH09_LCR.js';
7
8
  import { a as ConfigContext } from './config.context-DAdkDDf5.js';
8
- import { V as VariableValue, j as OutcomeVariable, h as VariableDeclaration } from './variables-CusMRnyJ.js';
9
9
  import { t as transformItemApi, a as transformTestApi } from './qti-transform-test-Bz9A3hmD.js';
10
10
  import './qti-feedback-B4cMzOcq.js';
11
11
  import './item.context-BRKXBC3m.js';
12
12
  import './computed-item.context-CiddHLPz.js';
13
13
 
14
+ declare class QtiAssessmentItemRef extends LitElement {
15
+ category?: string;
16
+ identifier?: string;
17
+ required?: boolean;
18
+ fixed?: boolean;
19
+ href?: string;
20
+ weigths: Map<string, number>;
21
+ xmlDoc: DocumentFragment;
22
+ protected createRenderRoot(): HTMLElement | DocumentFragment;
23
+ get assessmentItem(): QtiAssessmentItem | null;
24
+ myTemplate: TemplateFunction;
25
+ connectedCallback(): Promise<void>;
26
+ render(): unknown;
27
+ }
28
+ declare global {
29
+ interface HTMLElementTagNameMap {
30
+ 'qti-assessment-item-ref': QtiAssessmentItemRef;
31
+ }
32
+ }
33
+
14
34
  declare class QtiAssessmentTest extends LitElement {
15
35
  identifier: string;
16
36
  get title(): string;
@@ -104,26 +124,6 @@ declare global {
104
124
  }
105
125
  }
106
126
 
107
- declare class QtiAssessmentItemRef extends LitElement {
108
- category?: string;
109
- identifier?: string;
110
- required?: boolean;
111
- fixed?: boolean;
112
- href?: string;
113
- weigths: Map<string, number>;
114
- xmlDoc: DocumentFragment;
115
- protected createRenderRoot(): HTMLElement | DocumentFragment;
116
- get assessmentItem(): QtiAssessmentItem | null;
117
- myTemplate: TemplateFunction;
118
- connectedCallback(): Promise<void>;
119
- render(): unknown;
120
- }
121
- declare global {
122
- interface HTMLElementTagNameMap {
123
- 'qti-assessment-item-ref': QtiAssessmentItemRef;
124
- }
125
- }
126
-
127
127
  declare class QtiAssessmentSection extends LitElement {
128
128
  identifier: string;
129
129
  required: string;
package/dist/test.js CHANGED
@@ -23,10 +23,10 @@ import {
23
23
  TestStamp,
24
24
  TestView,
25
25
  TestViewToggle
26
- } from "./chunk-352OTVTY.js";
27
- import "./chunk-O4XIWHTF.js";
26
+ } from "./chunk-ERONHL4R.js";
27
+ import "./chunk-3IHVFNP6.js";
28
28
  import "./chunk-DWIRLYDS.js";
29
- import "./chunk-W4SQRNWO.js";
29
+ import "./chunk-3PDF4K62.js";
30
30
  import "./chunk-F44CI35W.js";
31
31
  import "./chunk-2ZEJ3RR5.js";
32
32
  import "./chunk-INKI27D5.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citolab/qti-components",
3
- "version": "7.16.1",
3
+ "version": "7.17.1",
4
4
  "description": "QTI component utilities",
5
5
  "main": "dist/index.js",
6
6
  "keywords": [
@@ -74,9 +74,9 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@qti-components/test": "1.0.0",
77
+ "@qti-components/elements": "1.0.0",
77
78
  "@qti-components/item": "1.0.0",
78
79
  "@qti-components/interactions": "1.0.0",
79
- "@qti-components/elements": "1.0.0",
80
80
  "@qti-components/transformers": "1.0.0",
81
81
  "@qti-components/processing": "1.0.0",
82
82
  "@qti-components/loader": "1.0.0",