@citolab/qti-components 10.0.0-next.5 → 10.0.0-next.6
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/cdn/index.global.js +1 -1
- package/cdn/index.js +80 -75
- package/dist/{chunk-A2AP6CUL.js → chunk-7IRGNPCV.js} +2 -2
- package/dist/{chunk-JNZ3HSFI.js → chunk-GZVLORVJ.js} +2 -2
- package/dist/{chunk-WV53LUE3.js → chunk-KXYSYDIM.js} +2 -2
- package/dist/chunk-QVZLJY75.js +7 -0
- package/dist/chunk-QVZLJY75.js.map +1 -0
- package/dist/{chunk-WC3P4KCV.js → chunk-VY2DM47N.js} +173 -119
- package/dist/chunk-VY2DM47N.js.map +1 -0
- package/dist/{chunk-F7QDRKCR.js → chunk-W4NUIWRO.js} +2 -2
- package/dist/{chunk-KB2NJTSD.js → chunk-WAHTXGBK.js} +4 -4
- package/dist/{chunk-WVDQLBMT.js → chunk-Z545U7O3.js} +2 -2
- package/dist/corrections.d.ts +1 -1
- package/dist/corrections.js +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/interactions.d.ts +2 -2
- package/dist/interactions.js +2 -2
- package/dist/item.css +2 -1
- package/dist/item.js +3 -3
- package/dist/qti-components-jsx.d.ts +26 -0
- package/dist/{qti-text-entry-interaction.d-q8u5BiVK.d.ts → qti-text-entry-interaction.d-828kFi2A.d.ts} +14 -0
- package/dist/test.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-WC3P4KCV.js.map +0 -1
- package/dist/chunk-ZP6QQYSU.js +0 -7
- package/dist/chunk-ZP6QQYSU.js.map +0 -1
- /package/dist/{chunk-A2AP6CUL.js.map → chunk-7IRGNPCV.js.map} +0 -0
- /package/dist/{chunk-JNZ3HSFI.js.map → chunk-GZVLORVJ.js.map} +0 -0
- /package/dist/{chunk-WV53LUE3.js.map → chunk-KXYSYDIM.js.map} +0 -0
- /package/dist/{chunk-F7QDRKCR.js.map → chunk-W4NUIWRO.js.map} +0 -0
- /package/dist/{chunk-KB2NJTSD.js.map → chunk-WAHTXGBK.js.map} +0 -0
- /package/dist/{chunk-WVDQLBMT.js.map → chunk-Z545U7O3.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
qtiItemElements
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GZVLORVJ.js";
|
|
4
4
|
|
|
5
5
|
// ../qti-item/dist/register.js
|
|
6
6
|
for (const { tag, ctor } of qtiItemElements) {
|
|
@@ -8,4 +8,4 @@ for (const { tag, ctor } of qtiItemElements) {
|
|
|
8
8
|
customElements.define(tag, ctor);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
11
|
+
//# sourceMappingURL=chunk-W4NUIWRO.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
QtiTest,
|
|
3
3
|
TestCheckItem,
|
|
4
4
|
TestNavigation
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7IRGNPCV.js";
|
|
6
6
|
import {
|
|
7
7
|
QtiAssessmentItem
|
|
8
8
|
} from "./chunk-QU23PPEZ.js";
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
QtiSimpleChoice,
|
|
29
29
|
QtiSliderInteraction,
|
|
30
30
|
QtiTextEntryInteraction
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VY2DM47N.js";
|
|
32
32
|
import {
|
|
33
33
|
QtiItem
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GZVLORVJ.js";
|
|
35
35
|
import {
|
|
36
36
|
watch
|
|
37
37
|
} from "./chunk-4DB4SC5K.js";
|
|
@@ -1661,4 +1661,4 @@ export {
|
|
|
1661
1661
|
QtiTestCorrection,
|
|
1662
1662
|
TestCheckItemCorrection
|
|
1663
1663
|
};
|
|
1664
|
-
//# sourceMappingURL=chunk-
|
|
1664
|
+
//# sourceMappingURL=chunk-WAHTXGBK.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
elements8,
|
|
22
22
|
elements9,
|
|
23
23
|
qtiInteractionElements
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VY2DM47N.js";
|
|
25
25
|
|
|
26
26
|
// ../qti-interactions/dist/register-all.js
|
|
27
27
|
for (const { tag, ctor } of qtiInteractionElements) {
|
|
@@ -176,4 +176,4 @@ for (const { tag, ctor } of elements21) {
|
|
|
176
176
|
customElements.define(tag, ctor);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-Z545U7O3.js.map
|
package/dist/corrections.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { I as Interaction } from './interaction.d-g6XG0T0Z.js';
|
|
|
2
2
|
import { R as ResponseValue } from './response.d-_8y4kjGP.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { LitElement } from 'lit';
|
|
5
|
-
import { g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, f as QtiGapMatchInteraction, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, C as Choice, l as QtiHotspotInteraction, n as QtiHottextInteraction, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, u as QtiSelectPointInteraction, x as QtiSliderInteraction, y as QtiTextEntryInteraction } from './qti-text-entry-interaction.d-
|
|
5
|
+
import { g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, f as QtiGapMatchInteraction, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, C as Choice, l as QtiHotspotInteraction, n as QtiHottextInteraction, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, u as QtiSelectPointInteraction, x as QtiSliderInteraction, y as QtiTextEntryInteraction } from './qti-text-entry-interaction.d-828kFi2A.js';
|
|
6
6
|
import { QtiAssessmentItem } from './elements.js';
|
|
7
7
|
import { Q as QtiItem } from './qti-item.d-klsgIEKQ.js';
|
|
8
8
|
import { V as View, C as ComputedItemContext } from './session.context.d-DYAdqSer.js';
|
package/dist/corrections.js
CHANGED
|
@@ -34,20 +34,20 @@ import {
|
|
|
34
34
|
TestNavigationCorrection,
|
|
35
35
|
TestShowCorrectResponse,
|
|
36
36
|
correctionPart
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WAHTXGBK.js";
|
|
38
38
|
import {
|
|
39
39
|
qtiTestElements
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7IRGNPCV.js";
|
|
41
41
|
import {
|
|
42
42
|
qtiContentElements
|
|
43
43
|
} from "./chunk-QU23PPEZ.js";
|
|
44
44
|
import {
|
|
45
45
|
qtiInteractionElements
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-VY2DM47N.js";
|
|
47
47
|
import {
|
|
48
48
|
qtiItemElements
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-GZVLORVJ.js";
|
|
50
|
+
import "./chunk-QVZLJY75.js";
|
|
51
51
|
import "./chunk-4DB4SC5K.js";
|
|
52
52
|
import "./chunk-TLAVOBEM.js";
|
|
53
53
|
import {
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti
|
|
|
4
4
|
export { ItemViewMixin } from './item.js';
|
|
5
5
|
export { PUBLIC_ITEM_EVENTS, PublicEventDeclaration, PublicItemEventMap, PublicItemEventName, QtiAssessmentItem, QtiAssessmentStimulus, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiCompanionMaterialsInfo, QtiContentBody, QtiContextDeclaration, QtiCustomOperator, QtiFeedbackBlock, QtiFeedbackInline, QtiItemBody, QtiModalFeedback, QtiOutcomeDeclaration, QtiResponseDeclaration, QtiResponseProcessing, QtiRubricBlock, QtiStylesheet, QtiTemplateConstraint, QtiTemplateDeclaration, QtiTemplateProcessing, RubricPlacement, dispatchDeclared, dispatchPublic, listenDeclared, listenPublic } from './elements.js';
|
|
6
6
|
export { QtiCustomInteraction, QtiEndAttemptInteraction, QtiMediaInteraction, QtiPositionObjectInteraction, QtiPositionObjectStage, QtiUploadInteraction, qtiInteractionElements } from './interactions.js';
|
|
7
|
-
export { O as Orientation, Q as QtiAssociableHotspot, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, d as QtiGap, e as QtiGapImg, f as QtiGapMatchInteraction, g as QtiGapText, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, k as QtiHotspotChoice, l as QtiHotspotInteraction, m as QtiHottext, n as QtiHottextInteraction, o as QtiInlineChoice, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, t as QtiPrompt, u as QtiSelectPointInteraction, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, x as QtiSliderInteraction, y as QtiTextEntryInteraction } from './qti-text-entry-interaction.d-
|
|
7
|
+
export { O as Orientation, Q as QtiAssociableHotspot, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, d as QtiGap, e as QtiGapImg, f as QtiGapMatchInteraction, g as QtiGapText, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, k as QtiHotspotChoice, l as QtiHotspotInteraction, m as QtiHottext, n as QtiHottextInteraction, o as QtiInlineChoice, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, t as QtiPrompt, u as QtiSelectPointInteraction, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, x as QtiSliderInteraction, y as QtiTextEntryInteraction } from './qti-text-entry-interaction.d-828kFi2A.js';
|
|
8
8
|
export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test.d-BL7GGFJj.js';
|
|
9
9
|
export { qtiTransformManifest } from './transformers.js';
|
|
10
10
|
export { ManifestInfo, getItemByUri, getManifestInfo } from './loader.js';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-KXYSYDIM.js";
|
|
2
2
|
import {
|
|
3
3
|
CandidateCorrectionMixin,
|
|
4
4
|
ChoiceCorrectionMixin,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
TestNavigationCorrection,
|
|
36
36
|
TestShowCorrectResponse,
|
|
37
37
|
correctionPart
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WAHTXGBK.js";
|
|
39
39
|
import {
|
|
40
40
|
QTI_TEST_STATE_VERSION,
|
|
41
41
|
QtiAssessmentItemRef,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
pluginElements,
|
|
82
82
|
pluginState,
|
|
83
83
|
ttsElements
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-7IRGNPCV.js";
|
|
85
85
|
import "./chunk-O5HGNYB2.js";
|
|
86
86
|
import {
|
|
87
87
|
PUBLIC_ITEM_EVENTS,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
listenDeclared,
|
|
111
111
|
listenPublic
|
|
112
112
|
} from "./chunk-QU23PPEZ.js";
|
|
113
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-Z545U7O3.js";
|
|
114
114
|
import {
|
|
115
115
|
QtiAssociableHotspot,
|
|
116
116
|
QtiAssociateInteraction,
|
|
@@ -145,15 +145,15 @@ import {
|
|
|
145
145
|
QtiTextEntryInteraction,
|
|
146
146
|
QtiUploadInteraction,
|
|
147
147
|
qtiInteractionElements
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-
|
|
148
|
+
} from "./chunk-VY2DM47N.js";
|
|
149
|
+
import "./chunk-W4NUIWRO.js";
|
|
150
150
|
import {
|
|
151
151
|
ItemContainer,
|
|
152
152
|
ItemPrintVariables,
|
|
153
153
|
ItemViewMixin,
|
|
154
154
|
QtiItem
|
|
155
|
-
} from "./chunk-
|
|
156
|
-
import "./chunk-
|
|
155
|
+
} from "./chunk-GZVLORVJ.js";
|
|
156
|
+
import "./chunk-QVZLJY75.js";
|
|
157
157
|
import "./chunk-4DB4SC5K.js";
|
|
158
158
|
import {
|
|
159
159
|
getItemByUri,
|
package/dist/interactions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, f as QtiGapMatchInteraction, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, l as QtiHotspotInteraction, n as QtiHottextInteraction, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, z as QtiPortableCustomInteractionTest, u as QtiSelectPointInteraction, x as QtiSliderInteraction, y as QtiTextEntryInteraction, Q as QtiAssociableHotspot, d as QtiGap, e as QtiGapImg, g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, o as QtiInlineChoice, t as QtiPrompt, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice } from './qti-text-entry-interaction.d-
|
|
2
|
-
export { O as Orientation } from './qti-text-entry-interaction.d-
|
|
1
|
+
import { a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, f as QtiGapMatchInteraction, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, l as QtiHotspotInteraction, n as QtiHottextInteraction, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, z as QtiPortableCustomInteractionTest, u as QtiSelectPointInteraction, x as QtiSliderInteraction, y as QtiTextEntryInteraction, Q as QtiAssociableHotspot, d as QtiGap, e as QtiGapImg, g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, o as QtiInlineChoice, t as QtiPrompt, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice } from './qti-text-entry-interaction.d-828kFi2A.js';
|
|
2
|
+
export { O as Orientation } from './qti-text-entry-interaction.d-828kFi2A.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
4
|
import { CSSResultGroup, LitElement, PropertyValueMap } from 'lit';
|
|
5
5
|
import { I as Interaction } from './interaction.d-g6XG0T0Z.js';
|
package/dist/interactions.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-Z545U7O3.js";
|
|
2
2
|
import {
|
|
3
3
|
QtiAssociableHotspot,
|
|
4
4
|
QtiAssociateInteraction,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
QtiTextEntryInteraction,
|
|
34
34
|
QtiUploadInteraction,
|
|
35
35
|
qtiInteractionElements
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-VY2DM47N.js";
|
|
37
37
|
import "./chunk-4DB4SC5K.js";
|
|
38
38
|
import "./chunk-JZZMY3FA.js";
|
|
39
39
|
export {
|
package/dist/item.css
CHANGED
|
@@ -2720,7 +2720,8 @@
|
|
|
2720
2720
|
* (positionShapes), so they scale along — see qti-graphic-gap-match-interaction.styles.ts.
|
|
2721
2721
|
* reset.css gives every picture inside an interaction `max-width: none`, which outranks that
|
|
2722
2722
|
* component's ::slotted() rule, so the fluid sizing is restated here for the graphic alone: a
|
|
2723
|
-
* direct child, never a chip's picture
|
|
2723
|
+
* direct child, never a chip's picture: a chip scales by the graphic's factor as a whole
|
|
2724
|
+
* (`--qti-graphic-scale`, qti-gap-img.styles.ts), the same in the bank and the hotspot.
|
|
2724
2725
|
*/
|
|
2725
2726
|
qti-graphic-gap-match-interaction > img,qti-graphic-gap-match-interaction > object {
|
|
2726
2727
|
max-width: 100%;
|
package/dist/item.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-W4NUIWRO.js";
|
|
2
2
|
import {
|
|
3
3
|
ItemContainer,
|
|
4
4
|
ItemPrintVariables,
|
|
5
5
|
ItemViewMixin,
|
|
6
6
|
QtiItem
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-GZVLORVJ.js";
|
|
8
|
+
import "./chunk-QVZLJY75.js";
|
|
9
9
|
import "./chunk-4DB4SC5K.js";
|
|
10
10
|
import "./chunk-TLAVOBEM.js";
|
|
11
11
|
import "./chunk-JZZMY3FA.js";
|
|
@@ -2171,6 +2171,14 @@ casts, rather than pretending at an encapsulation the type system was the only t
|
|
|
2171
2171
|
};
|
|
2172
2172
|
|
|
2173
2173
|
export type QtiGraphicGapMatchInteractionProps = {
|
|
2174
|
+
/** A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
2175
|
+
`--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
2176
|
+
beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
2177
|
+
declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
2178
|
+
their hotspots through `--qti-graphic-scale` instead. */
|
|
2179
|
+
autoSizeDropzones?:
|
|
2180
|
+
| QtiGraphicGapMatchInteraction["autoSizeDropzones"]
|
|
2181
|
+
| undefined;
|
|
2174
2182
|
/** */
|
|
2175
2183
|
allowReorder?: QtiGraphicGapMatchInteraction["allowReorder"] | undefined;
|
|
2176
2184
|
/** */
|
|
@@ -2184,6 +2192,14 @@ export type QtiGraphicGapMatchInteractionProps = {
|
|
|
2184
2192
|
};
|
|
2185
2193
|
|
|
2186
2194
|
export type QtiGraphicGapMatchInteractionSolidJsProps = {
|
|
2195
|
+
/** A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
2196
|
+
`--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
2197
|
+
beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
2198
|
+
declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
2199
|
+
their hotspots through `--qti-graphic-scale` instead. */
|
|
2200
|
+
"prop:autoSizeDropzones"?:
|
|
2201
|
+
| QtiGraphicGapMatchInteraction["autoSizeDropzones"]
|
|
2202
|
+
| undefined;
|
|
2187
2203
|
/** */
|
|
2188
2204
|
"prop:allowReorder"?:
|
|
2189
2205
|
| QtiGraphicGapMatchInteraction["allowReorder"]
|
|
@@ -7971,6 +7987,11 @@ export type CustomElements = {
|
|
|
7971
7987
|
*
|
|
7972
7988
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
7973
7989
|
*
|
|
7990
|
+
* - `autoSizeDropzones`: A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
7991
|
+
* `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
7992
|
+
* beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
7993
|
+
* declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
7994
|
+
* their hotspots through `--qti-graphic-scale` instead. (property only)
|
|
7974
7995
|
* - `allowReorder`: undefined (property only)
|
|
7975
7996
|
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
7976
7997
|
* - `sortableAnimationConfig`: undefined (property only)
|
|
@@ -13721,6 +13742,11 @@ export type CustomElementsSolidJs = {
|
|
|
13721
13742
|
*
|
|
13722
13743
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
13723
13744
|
*
|
|
13745
|
+
* - `autoSizeDropzones`: A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
13746
|
+
* `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
13747
|
+
* beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
13748
|
+
* declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
13749
|
+
* their hotspots through `--qti-graphic-scale` instead. (property only)
|
|
13724
13750
|
* - `allowReorder`: undefined (property only)
|
|
13725
13751
|
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
13726
13752
|
* - `sortableAnimationConfig`: undefined (property only)
|
|
@@ -754,6 +754,20 @@ declare const QtiGraphicGapMatchInteraction_base: (abstract new (...args: any[])
|
|
|
754
754
|
declare class QtiGraphicGapMatchInteraction extends QtiGraphicGapMatchInteraction_base {
|
|
755
755
|
#private;
|
|
756
756
|
static styles: CSSResultGroup;
|
|
757
|
+
/**
|
|
758
|
+
* A hotspot's box is its authored `coords`, always (CONFIGURABILITY.md §4). The measured
|
|
759
|
+
* `--qti-dropzone-min-*` reservation is a floor on the hotspot's `min-width`/`min-height`, and it
|
|
760
|
+
* beat the percentage box from `positionShapes` as soon as the graphic rendered narrower than its
|
|
761
|
+
* declared width: a 275px chip kept a 17% hotspot at 275px over a 482px map. Chips are sized to
|
|
762
|
+
* their hotspots through `--qti-graphic-scale` instead.
|
|
763
|
+
*/
|
|
764
|
+
autoSizeDropzones: boolean;
|
|
765
|
+
/**
|
|
766
|
+
* Rendered width of the graphic over its declared width: the factor the drop areas are scaled by.
|
|
767
|
+
* Published as `--qti-graphic-scale` on both slots, so it reaches a chip in the bank and one placed
|
|
768
|
+
* in a hotspot (qti-gap-img.styles.ts), without writing to the light-DOM host.
|
|
769
|
+
*/
|
|
770
|
+
private _graphicScale;
|
|
757
771
|
render(): lit.TemplateResult<1>;
|
|
758
772
|
shouldReturnToInventoryOnInventoryDrop(): boolean;
|
|
759
773
|
connectedCallback(): void;
|
package/dist/test.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-KXYSYDIM.js";
|
|
2
2
|
import {
|
|
3
3
|
QTI_TEST_STATE_VERSION,
|
|
4
4
|
QtiAssessmentItemRef,
|
|
@@ -44,9 +44,9 @@ import {
|
|
|
44
44
|
pluginElements,
|
|
45
45
|
pluginState,
|
|
46
46
|
ttsElements
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-7IRGNPCV.js";
|
|
48
48
|
import "./chunk-QU23PPEZ.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-QVZLJY75.js";
|
|
50
50
|
import "./chunk-4DB4SC5K.js";
|
|
51
51
|
import "./chunk-TLAVOBEM.js";
|
|
52
52
|
import "./chunk-JZZMY3FA.js";
|