@citolab/qti-components 6.0.28 → 6.0.30
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/{chunk-5U4R2HMK.cjs → chunk-3S2ODAEN.cjs} +4 -10
- package/dist/{chunk-2K77UHFA.js → chunk-KT5PFIUE.js} +3 -9
- package/dist/{chunk-C4C24R3I.cjs → chunk-M4CYU6DC.cjs} +1 -1
- package/dist/{chunk-BVYXUE3V.js → chunk-QROD4MVT.js} +1 -1
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.d.cts +8 -1
- package/dist/context/index.d.ts +8 -1
- package/dist/context/index.js +1 -1
- package/dist/custom-elements.json +425 -425
- package/dist/decorators/index.cjs +1 -1
- package/dist/decorators/index.js +1 -1
- package/dist/index.cjs +92 -109
- package/dist/index.css +1 -7
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +93 -110
- package/dist/qti-components/index.cjs +63 -74
- package/dist/qti-components/index.d.cts +7 -7
- package/dist/qti-components/index.d.ts +7 -7
- package/dist/qti-components/index.js +78 -89
- package/dist/qti-item/index.cjs +1 -1
- package/dist/qti-item/index.d.cts +19 -3
- package/dist/qti-item/index.d.ts +19 -3
- package/dist/qti-item/index.js +1 -1
- package/dist/qti-item-react/index.cjs +1 -1
- package/dist/qti-item-react/index.d.cts +2 -2
- package/dist/qti-item-react/index.d.ts +2 -2
- package/dist/qti-item-react/index.js +1 -1
- package/dist/{qti-simple-choice-86f433b6.d.ts → qti-simple-choice-9a8c789b.d.ts} +1 -1
- package/dist/qti-transform/index.cjs +1 -1
- package/dist/qti-transform/index.js +1 -1
- package/package.json +19 -18
- package/dist/audience-context-444478f4.d.ts +0 -8
- package/dist/qti-item-395a9535.d.ts +0 -19
- /package/dist/{chunk-NMCIOGD2.js → chunk-343LZK3D.js} +0 -0
- /package/dist/{chunk-HOQW4KDA.cjs → chunk-6G76D2MI.cjs} +0 -0
package/dist/qti-item/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3S2ODAENcjs = require('../chunk-3S2ODAEN.cjs');require('../chunk-GGEPFBR7.cjs');require('../chunk-Z2P5ZMVD.cjs');require('../chunk-6G76D2MI.cjs');exports.QtiItem = _chunk3S2ODAENcjs.a;
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
import 'lit
|
|
3
|
-
import 'lit';
|
|
1
|
+
import * as lit_html from 'lit-html';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { LitElement } from 'lit';
|
|
4
|
+
|
|
5
|
+
declare class QtiItem extends LitElement {
|
|
6
|
+
itemLocation: string;
|
|
7
|
+
set audienceContext(context: {
|
|
8
|
+
view: 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor';
|
|
9
|
+
});
|
|
10
|
+
private provider;
|
|
11
|
+
private _xml;
|
|
12
|
+
set xml(val: string);
|
|
13
|
+
get xml(): string;
|
|
14
|
+
static styles: lit.CSSResult;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
render: () => lit_html.TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { QtiItem };
|
package/dist/qti-item/index.d.ts
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
import 'lit
|
|
3
|
-
import 'lit';
|
|
1
|
+
import * as lit_html from 'lit-html';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { LitElement } from 'lit';
|
|
4
|
+
|
|
5
|
+
declare class QtiItem extends LitElement {
|
|
6
|
+
itemLocation: string;
|
|
7
|
+
set audienceContext(context: {
|
|
8
|
+
view: 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor';
|
|
9
|
+
});
|
|
10
|
+
private provider;
|
|
11
|
+
private _xml;
|
|
12
|
+
set xml(val: string);
|
|
13
|
+
get xml(): string;
|
|
14
|
+
static styles: lit.CSSResult;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
render: () => lit_html.TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { QtiItem };
|
package/dist/qti-item/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../chunk-
|
|
1
|
+
import{a as o}from"../chunk-KT5PFIUE.js";import"../chunk-5GG2XAUT.js";import"../chunk-OO5TITDR.js";import"../chunk-343LZK3D.js";export{o as QtiItem};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk3S2ODAENcjs = require('../chunk-3S2ODAEN.cjs');require('../chunk-GGEPFBR7.cjs');require('../chunk-Z2P5ZMVD.cjs');require('../chunk-6G76D2MI.cjs');var _react = require('react'); var _react2 = _interopRequireDefault(_react);var _react3 = require('@lit-labs/react');var c=_react3.createComponent.call(void 0, {tagName:"qti-item",react:_react2.default,elementClass:_chunk3S2ODAENcjs.a,events:{"qti-outcome-changed":"qti-outcome-changed","qti-interaction-changed":"qti-interaction-changed","qti-item-connected":"qti-item-connected"}});exports.QtiItem = c;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Ref } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { QtiItem as QtiItem$1 } from '../qti-item/index.cjs';
|
|
3
|
+
import { O as OutcomeChangedDetails, I as InteractionChangedDetails, Q as QtiAssessmentItem } from '../qti-simple-choice-9a8c789b.js';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import 'lit';
|
|
6
6
|
import 'lit-html/directives/ref';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Ref } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { QtiItem as QtiItem$1 } from '../qti-item/index.js';
|
|
3
|
+
import { O as OutcomeChangedDetails, I as InteractionChangedDetails, Q as QtiAssessmentItem } from '../qti-simple-choice-9a8c789b.js';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import 'lit';
|
|
6
6
|
import 'lit-html/directives/ref';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"../chunk-
|
|
1
|
+
import{a as t}from"../chunk-KT5PFIUE.js";import"../chunk-5GG2XAUT.js";import"../chunk-OO5TITDR.js";import"../chunk-343LZK3D.js";import e from"react";import{createComponent as o}from"@lit-labs/react";var c=o({tagName:"qti-item",react:e,elementClass:t,events:{"qti-outcome-changed":"qti-outcome-changed","qti-interaction-changed":"qti-interaction-changed","qti-item-connected":"qti-item-connected"}});export{c as QtiItem};
|
|
@@ -460,4 +460,4 @@ declare global {
|
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
export { QtiHottext as A, BaseType as B, Cardinality as C, QtiSimpleChoice as D,
|
|
463
|
+
export { QtiHottext as A, BaseType as B, Cardinality as C, QtiSimpleChoice as D, InteractionChangedDetails as I, Multiple as M, OutcomeChangedDetails as O, QtiAssessmentItem as Q, ResponseVariable as R, VariableDeclaration as V, Choices as a, Interaction as b, QtiRule as c, QtiChoice as d, directedPair as e, ResponseInteraction as f, Calculate as g, float as h, integer as i, Ordered as j, qtiInteractionChanged as k, qtiRegisterVariable as l, qtiRegisterInteraction as m, qtiRegisterChoice as n, qtiRegisterHotspot as o, qtiLooseChoice as p, qtiOutcomeChanged as q, qtiInteractionResponse as r, qtiChoiceElementSelected as s, ResultVariable as t, OutcomeVariable as u, QtiTextEntryInteraction as v, QtiExtendedTextInteraction as w, QtiChoiceInteraction as x, QtiResponseProcessing as y, QtiMapping as z };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkZ2P5ZMVDcjs = require('../chunk-Z2P5ZMVD.cjs');require('../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkZ2P5ZMVDcjs = require('../chunk-Z2P5ZMVD.cjs');require('../chunk-6G76D2MI.cjs');exports.qtiTransform = _chunkZ2P5ZMVDcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-OO5TITDR.js";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-OO5TITDR.js";import"../chunk-343LZK3D.js";export{a as qtiTransform};
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"engines": {
|
|
13
13
|
"node": ">=16.0.0"
|
|
14
14
|
},
|
|
15
|
-
"version": "6.0.
|
|
15
|
+
"version": "6.0.30",
|
|
16
16
|
"type": "module",
|
|
17
17
|
"main": "dist/index.js",
|
|
18
18
|
"exports": {
|
|
@@ -108,7 +108,8 @@
|
|
|
108
108
|
"cheerio": "^1.0.0-rc.12",
|
|
109
109
|
"haunted": "^5.0.0",
|
|
110
110
|
"lit": "^2.7.5",
|
|
111
|
-
"lit-xml": "^0.5.0"
|
|
111
|
+
"lit-xml": "^0.5.0",
|
|
112
|
+
"remark-gfm": "^3.0.1"
|
|
112
113
|
},
|
|
113
114
|
"peerdependencies": {
|
|
114
115
|
"@lit-labs/context": "> 0.3",
|
|
@@ -117,20 +118,21 @@
|
|
|
117
118
|
"react": "> 18"
|
|
118
119
|
},
|
|
119
120
|
"devDependencies": {
|
|
121
|
+
"@arethetypeswrong/cli": "^0.4.2",
|
|
120
122
|
"@custom-elements-manifest/analyzer": "^0.8.3",
|
|
121
123
|
"@jest/globals": "^29.5.0",
|
|
122
|
-
"@storybook/addon-a11y": "^7.0
|
|
123
|
-
"@storybook/addon-essentials": "^7.0
|
|
124
|
-
"@storybook/addon-interactions": "^7.0
|
|
125
|
-
"@storybook/addon-jest": "^7.0
|
|
126
|
-
"@storybook/addon-links": "^7.0
|
|
127
|
-
"@storybook/addon-
|
|
128
|
-
"@storybook/blocks": "^7.0
|
|
129
|
-
"@storybook/jest": "^0.
|
|
130
|
-
"@storybook/test-runner": "^0.
|
|
124
|
+
"@storybook/addon-a11y": "^7.4.0",
|
|
125
|
+
"@storybook/addon-essentials": "^7.4.0",
|
|
126
|
+
"@storybook/addon-interactions": "^7.4.0",
|
|
127
|
+
"@storybook/addon-jest": "^7.4.0",
|
|
128
|
+
"@storybook/addon-links": "^7.4.0",
|
|
129
|
+
"@storybook/addon-mdx-gfm": "^7.4.0",
|
|
130
|
+
"@storybook/blocks": "^7.4.0",
|
|
131
|
+
"@storybook/jest": "^0.2.2",
|
|
132
|
+
"@storybook/test-runner": "^0.13.0",
|
|
131
133
|
"@storybook/testing-library": "^0.2.0",
|
|
132
|
-
"@storybook/web-components": "^7.0
|
|
133
|
-
"@storybook/web-components-vite": "^7.0
|
|
134
|
+
"@storybook/web-components": "^7.4.0",
|
|
135
|
+
"@storybook/web-components-vite": "^7.4.0",
|
|
134
136
|
"@tailwindcss/typography": "^0.5.9",
|
|
135
137
|
"@types/node": "^20.3.1",
|
|
136
138
|
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
@@ -143,7 +145,7 @@
|
|
|
143
145
|
"eslint-plugin-lit": "^1.8.3",
|
|
144
146
|
"eslint-plugin-lit-a11y": "^3.0.0",
|
|
145
147
|
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
|
|
146
|
-
"eslint-plugin-storybook": "^0.6.
|
|
148
|
+
"eslint-plugin-storybook": "^0.6.13",
|
|
147
149
|
"eslint-plugin-wc": "^1.5.0",
|
|
148
150
|
"jest-environment-jsdom": "^29.5.0",
|
|
149
151
|
"nodemon": "^2.0.22",
|
|
@@ -156,15 +158,14 @@
|
|
|
156
158
|
"react": "^18.2.0",
|
|
157
159
|
"react-dom": "^18.2.0",
|
|
158
160
|
"sass": "^1.63.6",
|
|
159
|
-
"storybook": "^7.0
|
|
160
|
-
"storybook-addon-pseudo-states": "^2.1.
|
|
161
|
+
"storybook": "^7.4.0",
|
|
162
|
+
"storybook-addon-pseudo-states": "^2.1.1",
|
|
161
163
|
"tailwindcss": "^3.3.2",
|
|
162
164
|
"ts-jest": "^29.1.0",
|
|
163
165
|
"ts-node": "^10.9.1",
|
|
164
166
|
"tsup": "^7.1.0",
|
|
165
167
|
"typescript": "^5.1.3",
|
|
166
|
-
"vite": "^4.3.9"
|
|
167
|
-
"@arethetypeswrong/cli": "^0.4.2"
|
|
168
|
+
"vite": "^4.3.9"
|
|
168
169
|
},
|
|
169
170
|
"customElements": "custom-elements.json"
|
|
170
171
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as lit_html from 'lit-html';
|
|
2
|
-
import * as lit from 'lit';
|
|
3
|
-
import { LitElement } from 'lit';
|
|
4
|
-
|
|
5
|
-
declare class QtiItem extends LitElement {
|
|
6
|
-
itemLocation: string;
|
|
7
|
-
set audienceContext(context: {
|
|
8
|
-
view: 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor';
|
|
9
|
-
});
|
|
10
|
-
private provider;
|
|
11
|
-
private _xml;
|
|
12
|
-
set xml(val: string);
|
|
13
|
-
get xml(): string;
|
|
14
|
-
static styles: lit.CSSResult;
|
|
15
|
-
connectedCallback(): void;
|
|
16
|
-
render: () => lit_html.TemplateResult<1>;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { QtiItem as Q };
|
|
File without changes
|
|
File without changes
|