@citolab/qti-components 7.26.0 → 7.27.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.
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +351 -342
- package/custom-elements.json +17216 -18384
- package/dist/base.d.ts +2 -2
- package/dist/base.js +1 -1
- package/dist/{chunk-FEO7D54Z.js → chunk-75ME6QG5.js} +3 -3
- package/dist/{chunk-VQAG7NSK.js → chunk-DG5TP35K.js} +2 -2
- package/dist/{chunk-IKBPPSNQ.js → chunk-G5ZUC3OT.js} +14 -2
- package/dist/{chunk-IKBPPSNQ.js.map → chunk-G5ZUC3OT.js.map} +1 -1
- package/dist/{chunk-RKXUA6D6.js → chunk-GG36UR7F.js} +2 -2
- package/dist/{chunk-DUBGJJ75.js → chunk-QUWFDFGZ.js} +3 -3
- package/dist/{chunk-BHB6PYJG.js → chunk-TORB5UN2.js} +1 -59
- package/dist/chunk-TORB5UN2.js.map +1 -0
- package/dist/{chunk-LPVYU726.js → chunk-TZMDZQFG.js} +4 -4
- package/dist/{chunk-I4NHZ6D6.js → chunk-XZY2TIZJ.js} +8404 -6413
- package/dist/chunk-XZY2TIZJ.js.map +1 -0
- package/dist/config.context-BjZ2bZSY.d.ts +42 -0
- package/dist/elements.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -8
- package/dist/{interaction-B1Pu7KOD.d.ts → interaction-Bgzlw7Iu.d.ts} +1 -1
- package/dist/interactions.d.ts +124 -13
- package/dist/interactions.js +3 -3
- package/dist/item.css +12 -0
- package/dist/item.d.ts +1 -1
- package/dist/item.js +3 -3
- package/dist/processing.js +2 -2
- package/dist/qti-components-jsx.d.ts +1169 -1126
- package/dist/test.d.ts +1 -1
- package/dist/test.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-BHB6PYJG.js.map +0 -1
- package/dist/chunk-I4NHZ6D6.js.map +0 -1
- package/dist/config.context-DUz2-kxN.d.ts +0 -14
- /package/dist/{chunk-FEO7D54Z.js.map → chunk-75ME6QG5.js.map} +0 -0
- /package/dist/{chunk-VQAG7NSK.js.map → chunk-DG5TP35K.js.map} +0 -0
- /package/dist/{chunk-RKXUA6D6.js.map → chunk-GG36UR7F.js.map} +0 -0
- /package/dist/{chunk-DUBGJJ75.js.map → chunk-QUWFDFGZ.js.map} +0 -0
- /package/dist/{chunk-LPVYU726.js.map → chunk-TZMDZQFG.js.map} +0 -0
|
@@ -62,29 +62,39 @@ import type {
|
|
|
62
62
|
QtiTestVariables,
|
|
63
63
|
QtiTestVariablesExpression,
|
|
64
64
|
} from "packages/qti-test/src/components/qti-test-variables/qti-test-variables.ts";
|
|
65
|
-
import type {
|
|
66
|
-
import type {
|
|
67
|
-
import type {
|
|
68
|
-
import type {
|
|
69
|
-
import type {
|
|
70
|
-
import type {
|
|
71
|
-
import type {
|
|
72
|
-
import type {
|
|
73
|
-
import type {
|
|
74
|
-
import type {
|
|
75
|
-
import type {
|
|
76
|
-
import type {
|
|
77
|
-
import type {
|
|
78
|
-
import type {
|
|
79
|
-
import type {
|
|
80
|
-
import type {
|
|
81
|
-
import type {
|
|
82
|
-
import type {
|
|
83
|
-
import type {
|
|
84
|
-
import type {
|
|
85
|
-
import type {
|
|
86
|
-
import type {
|
|
87
|
-
import type {
|
|
65
|
+
import type { QtiSimpleAssociableChoice } from "packages/interactions/core/src/elements/qti-simple-associable-choice/qti-simple-associable-choice.ts";
|
|
66
|
+
import type { QtiAssociateInteraction } from "packages/interactions/associate-interaction/src/qti-associate-interaction.ts";
|
|
67
|
+
import type { QtiSimpleChoice } from "packages/interactions/core/src/elements/qti-simple-choice/qti-simple-choice.ts";
|
|
68
|
+
import type { QtiChoiceInteraction } from "packages/interactions/choice-interaction/src/qti-choice-interaction.ts";
|
|
69
|
+
import type { QtiAssociableHotspot } from "packages/interactions/core/src/elements/qti-associable-hotspot/qti-associable-hotspot.ts";
|
|
70
|
+
import type { QtiGap } from "packages/interactions/core/src/elements/qti-gap/qti-gap.ts";
|
|
71
|
+
import type { QtiGapImg } from "packages/interactions/core/src/elements/qti-gap-img/qti-gap-img.ts";
|
|
72
|
+
import type { QtiGapText } from "packages/interactions/core/src/elements/qti-gap-text/qti-gap-text.ts";
|
|
73
|
+
import type { QtiHotspotChoice } from "packages/interactions/core/src/elements/qti-hotspot-choice/qti-hotspot-choice.ts";
|
|
74
|
+
import type { QtiHottext } from "packages/interactions/core/src/elements/qti-hottext/qti-hottext.ts";
|
|
75
|
+
import type { QtiInlineChoice } from "packages/interactions/core/src/elements/qti-inline-choice/qti-inline-choice.ts";
|
|
76
|
+
import type { QtiPrompt } from "packages/interactions/core/src/elements/qti-prompt/qti-prompt.ts";
|
|
77
|
+
import type { QtiCustomInteraction } from "packages/interactions/custom-interaction/src/qti-custom-interaction.ts";
|
|
78
|
+
import type { QtiEndAttemptInteraction } from "packages/interactions/end-attempt-interaction/src/qti-end-attempt-interaction.ts";
|
|
79
|
+
import type { QtiExtendedTextInteraction } from "packages/interactions/extended-text-interaction/src/qti-extended-text-interaction.ts";
|
|
80
|
+
import type { QtiGapMatchInteraction } from "packages/interactions/gap-match-interaction/src/qti-gap-match-interaction.ts";
|
|
81
|
+
import type { QtiGraphicAssociateInteraction } from "packages/interactions/graphic-associate-interaction/src/qti-graphic-associate-interaction.ts";
|
|
82
|
+
import type { QtiGraphicGapMatchInteraction } from "packages/interactions/graphic-gap-match-interaction/src/qti-graphic-gap-match-interaction.ts";
|
|
83
|
+
import type { QtiGraphicOrderInteraction } from "packages/interactions/graphic-order-interaction/src/qti-graphic-order-interaction.ts";
|
|
84
|
+
import type { QtiHotspotInteraction } from "packages/interactions/hotspot-interaction/src/qti-hotspot-interaction.ts";
|
|
85
|
+
import type { QtiHottextInteraction } from "packages/interactions/hottext-interaction/src/qti-hottext-interaction.ts";
|
|
86
|
+
import type { QtiInlineChoiceInteraction } from "packages/interactions/inline-choice-interaction/src/qti-inline-choice-interaction.ts";
|
|
87
|
+
import type { QtiMatchInteraction } from "packages/interactions/match-interaction/src/qti-match-interaction.ts";
|
|
88
|
+
import type { QtiMediaInteraction } from "packages/interactions/media-interaction/src/qti-media-interaction.ts";
|
|
89
|
+
import type { QtiOrderInteraction } from "packages/interactions/order-interaction/src/qti-order-interaction.ts";
|
|
90
|
+
import type { QtiPortableCustomInteraction } from "packages/interactions/portable-custom-interaction/src/qti-portable-custom-interaction.ts";
|
|
91
|
+
import type { QtiPortableCustomInteractionTest } from "packages/interactions/portable-custom-interaction/src/qti-portable-custom-test-interaction.ts";
|
|
92
|
+
import type { QtiPositionObjectInteraction } from "packages/interactions/position-object-interaction/src/qti-position-object-interaction.ts";
|
|
93
|
+
import type { QtiPositionObjectStage } from "packages/interactions/position-object-interaction/src/qti-position-object-stage.ts";
|
|
94
|
+
import type { QtiSelectPointInteraction } from "packages/interactions/select-point-interaction/src/qti-select-point-interaction.ts";
|
|
95
|
+
import type { QtiSliderInteraction } from "packages/interactions/slider-interaction/src/qti-slider-interaction.ts";
|
|
96
|
+
import type { QtiTextEntryInteraction } from "packages/interactions/text-entry-interaction/src/qti-text-entry-interaction.ts";
|
|
97
|
+
import type { QtiUploadInteraction } from "packages/interactions/upload-interaction/src/qti-upload-interaction.ts";
|
|
88
98
|
import type {
|
|
89
99
|
QtiAnd,
|
|
90
100
|
qtiAndMixin,
|
|
@@ -1524,121 +1534,152 @@ export type QtiTestVariablesSolidJsProps = {
|
|
|
1524
1534
|
textContent?: string | number;
|
|
1525
1535
|
};
|
|
1526
1536
|
|
|
1527
|
-
export type
|
|
1537
|
+
export type QtiSimpleAssociableChoiceProps = {
|
|
1538
|
+
/** the minimal number of selections a candidate must make */
|
|
1539
|
+
"match-min"?: QtiSimpleAssociableChoice["matchMin"];
|
|
1540
|
+
/** the minimal number of selections a candidate must make */
|
|
1541
|
+
matchMin?: QtiSimpleAssociableChoice["matchMin"];
|
|
1542
|
+
/** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
|
|
1543
|
+
"match-max"?: QtiSimpleAssociableChoice["matchMax"];
|
|
1544
|
+
/** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
|
|
1545
|
+
matchMax?: QtiSimpleAssociableChoice["matchMax"];
|
|
1528
1546
|
/** */
|
|
1529
|
-
|
|
1547
|
+
fixed?: QtiSimpleAssociableChoice["fixed"];
|
|
1530
1548
|
/** */
|
|
1531
|
-
|
|
1549
|
+
identifier?: QtiSimpleAssociableChoice["identifier"];
|
|
1532
1550
|
/** */
|
|
1533
|
-
|
|
1551
|
+
tabindex?: QtiSimpleAssociableChoice["tabIndex"];
|
|
1534
1552
|
/** */
|
|
1535
|
-
|
|
1553
|
+
tabIndex?: QtiSimpleAssociableChoice["tabIndex"];
|
|
1536
1554
|
/** */
|
|
1537
|
-
"
|
|
1555
|
+
"aria-disabled"?: QtiSimpleAssociableChoice["disabled"];
|
|
1538
1556
|
/** */
|
|
1539
|
-
|
|
1557
|
+
disabled?: QtiSimpleAssociableChoice["disabled"];
|
|
1540
1558
|
/** */
|
|
1541
|
-
|
|
1559
|
+
"aria-readonly"?: QtiSimpleAssociableChoice["readonly"];
|
|
1542
1560
|
/** */
|
|
1543
|
-
readonly?:
|
|
1561
|
+
readonly?: QtiSimpleAssociableChoice["readonly"];
|
|
1544
1562
|
/** */
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
/**
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
"
|
|
1555
|
-
/**
|
|
1556
|
-
|
|
1557
|
-
showCorrectResponse?: QtiAssociateInteraction["showCorrectResponse"];
|
|
1558
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
1559
|
-
Creates a disabled copy positioned after this interaction. */
|
|
1560
|
-
"show-full-correct-response"?: QtiAssociateInteraction["showFullCorrectResponse"];
|
|
1561
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
1562
|
-
Creates a disabled copy positioned after this interaction. */
|
|
1563
|
-
showFullCorrectResponse?: QtiAssociateInteraction["showFullCorrectResponse"];
|
|
1564
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
1565
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
1566
|
-
"show-candidate-correction"?: QtiAssociateInteraction["showCandidateCorrection"];
|
|
1567
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
1568
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
1569
|
-
showCandidateCorrection?: QtiAssociateInteraction["showCandidateCorrection"];
|
|
1563
|
+
internals?: QtiSimpleAssociableChoice["internals"];
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
export type QtiSimpleAssociableChoiceSolidJsProps = {
|
|
1567
|
+
/** the minimal number of selections a candidate must make */
|
|
1568
|
+
"attr:match-min"?: QtiSimpleAssociableChoice["matchMin"];
|
|
1569
|
+
/** the minimal number of selections a candidate must make */
|
|
1570
|
+
"prop:matchMin"?: QtiSimpleAssociableChoice["matchMin"];
|
|
1571
|
+
/** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
|
|
1572
|
+
"attr:match-max"?: QtiSimpleAssociableChoice["matchMax"];
|
|
1573
|
+
/** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
|
|
1574
|
+
"prop:matchMax"?: QtiSimpleAssociableChoice["matchMax"];
|
|
1570
1575
|
/** */
|
|
1571
|
-
|
|
1576
|
+
"prop:fixed"?: QtiSimpleAssociableChoice["fixed"];
|
|
1572
1577
|
/** */
|
|
1573
|
-
|
|
1574
|
-
/**
|
|
1575
|
-
|
|
1576
|
-
|
|
1578
|
+
"prop:identifier"?: QtiSimpleAssociableChoice["identifier"];
|
|
1579
|
+
/** */
|
|
1580
|
+
"attr:tabindex"?: QtiSimpleAssociableChoice["tabIndex"];
|
|
1581
|
+
/** */
|
|
1582
|
+
"prop:tabIndex"?: QtiSimpleAssociableChoice["tabIndex"];
|
|
1577
1583
|
/** */
|
|
1578
|
-
|
|
1584
|
+
"bool:aria-disabled"?: QtiSimpleAssociableChoice["disabled"];
|
|
1585
|
+
/** */
|
|
1586
|
+
"prop:disabled"?: QtiSimpleAssociableChoice["disabled"];
|
|
1587
|
+
/** */
|
|
1588
|
+
"bool:aria-readonly"?: QtiSimpleAssociableChoice["readonly"];
|
|
1589
|
+
/** */
|
|
1590
|
+
"prop:readonly"?: QtiSimpleAssociableChoice["readonly"];
|
|
1591
|
+
/** */
|
|
1592
|
+
"prop:internals"?: QtiSimpleAssociableChoice["internals"];
|
|
1593
|
+
|
|
1594
|
+
/** Set the innerHTML of the element */
|
|
1595
|
+
innerHTML?: string;
|
|
1596
|
+
/** Set the textContent of the element */
|
|
1597
|
+
textContent?: string | number;
|
|
1598
|
+
};
|
|
1579
1599
|
|
|
1600
|
+
export type QtiAssociateInteractionProps = {
|
|
1580
1601
|
/** */
|
|
1581
|
-
"
|
|
1602
|
+
allowReorder?: QtiAssociateInteraction["allowReorder"];
|
|
1582
1603
|
/** */
|
|
1583
|
-
"
|
|
1604
|
+
sortablePlaceholderConfig?: QtiAssociateInteraction["sortablePlaceholderConfig"];
|
|
1605
|
+
/** */
|
|
1606
|
+
sortableAnimationConfig?: QtiAssociateInteraction["sortableAnimationConfig"];
|
|
1584
1607
|
};
|
|
1585
1608
|
|
|
1586
1609
|
export type QtiAssociateInteractionSolidJsProps = {
|
|
1587
1610
|
/** */
|
|
1588
|
-
"
|
|
1611
|
+
"prop:allowReorder"?: QtiAssociateInteraction["allowReorder"];
|
|
1589
1612
|
/** */
|
|
1590
|
-
"prop:
|
|
1613
|
+
"prop:sortablePlaceholderConfig"?: QtiAssociateInteraction["sortablePlaceholderConfig"];
|
|
1591
1614
|
/** */
|
|
1592
|
-
"
|
|
1615
|
+
"prop:sortableAnimationConfig"?: QtiAssociateInteraction["sortableAnimationConfig"];
|
|
1616
|
+
|
|
1617
|
+
/** Set the innerHTML of the element */
|
|
1618
|
+
innerHTML?: string;
|
|
1619
|
+
/** Set the textContent of the element */
|
|
1620
|
+
textContent?: string | number;
|
|
1621
|
+
};
|
|
1622
|
+
|
|
1623
|
+
export type QtiSimpleChoiceProps = {
|
|
1593
1624
|
/** */
|
|
1594
|
-
"
|
|
1625
|
+
"template-identifier"?: QtiSimpleChoice["templateIdentifier"];
|
|
1595
1626
|
/** */
|
|
1596
|
-
|
|
1627
|
+
templateIdentifier?: QtiSimpleChoice["templateIdentifier"];
|
|
1597
1628
|
/** */
|
|
1598
|
-
"
|
|
1629
|
+
"show-hide"?: QtiSimpleChoice["showHide"];
|
|
1599
1630
|
/** */
|
|
1600
|
-
|
|
1631
|
+
showHide?: QtiSimpleChoice["showHide"];
|
|
1601
1632
|
/** */
|
|
1602
|
-
|
|
1633
|
+
fixed?: QtiSimpleChoice["fixed"];
|
|
1603
1634
|
/** */
|
|
1604
|
-
|
|
1605
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
1606
|
-
string via attribute or as string/string[] via property. */
|
|
1607
|
-
"attr:correct-response"?: QtiAssociateInteraction["correctResponseAttr"];
|
|
1608
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
1609
|
-
string via attribute or as string/string[] via property. */
|
|
1610
|
-
"prop:correctResponseAttr"?: QtiAssociateInteraction["correctResponseAttr"];
|
|
1611
|
-
/** Shows which choices are correct with inline indicators.
|
|
1612
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
1613
|
-
"bool:show-correct-response"?: QtiAssociateInteraction["showCorrectResponse"];
|
|
1614
|
-
/** Shows which choices are correct with inline indicators.
|
|
1615
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
1616
|
-
"prop:showCorrectResponse"?: QtiAssociateInteraction["showCorrectResponse"];
|
|
1617
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
1618
|
-
Creates a disabled copy positioned after this interaction. */
|
|
1619
|
-
"bool:show-full-correct-response"?: QtiAssociateInteraction["showFullCorrectResponse"];
|
|
1620
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
1621
|
-
Creates a disabled copy positioned after this interaction. */
|
|
1622
|
-
"prop:showFullCorrectResponse"?: QtiAssociateInteraction["showFullCorrectResponse"];
|
|
1623
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
1624
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
1625
|
-
"bool:show-candidate-correction"?: QtiAssociateInteraction["showCandidateCorrection"];
|
|
1626
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
1627
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
1628
|
-
"prop:showCandidateCorrection"?: QtiAssociateInteraction["showCandidateCorrection"];
|
|
1635
|
+
identifier?: QtiSimpleChoice["identifier"];
|
|
1629
1636
|
/** */
|
|
1630
|
-
|
|
1637
|
+
tabindex?: QtiSimpleChoice["tabIndex"];
|
|
1631
1638
|
/** */
|
|
1632
|
-
|
|
1633
|
-
/** Get/set correct response programmatically.
|
|
1634
|
-
This property syncs with the `correct-response` attribute. */
|
|
1635
|
-
"prop:correctResponse"?: QtiAssociateInteraction["correctResponse"];
|
|
1639
|
+
tabIndex?: QtiSimpleChoice["tabIndex"];
|
|
1636
1640
|
/** */
|
|
1637
|
-
"
|
|
1641
|
+
"aria-disabled"?: QtiSimpleChoice["disabled"];
|
|
1638
1642
|
/** */
|
|
1639
|
-
"
|
|
1643
|
+
disabled?: QtiSimpleChoice["disabled"];
|
|
1640
1644
|
/** */
|
|
1641
|
-
"
|
|
1645
|
+
"aria-readonly"?: QtiSimpleChoice["readonly"];
|
|
1646
|
+
/** */
|
|
1647
|
+
readonly?: QtiSimpleChoice["readonly"];
|
|
1648
|
+
/** */
|
|
1649
|
+
marker?: QtiSimpleChoice["marker"];
|
|
1650
|
+
/** */
|
|
1651
|
+
internals?: QtiSimpleChoice["internals"];
|
|
1652
|
+
};
|
|
1653
|
+
|
|
1654
|
+
export type QtiSimpleChoiceSolidJsProps = {
|
|
1655
|
+
/** */
|
|
1656
|
+
"attr:template-identifier"?: QtiSimpleChoice["templateIdentifier"];
|
|
1657
|
+
/** */
|
|
1658
|
+
"prop:templateIdentifier"?: QtiSimpleChoice["templateIdentifier"];
|
|
1659
|
+
/** */
|
|
1660
|
+
"attr:show-hide"?: QtiSimpleChoice["showHide"];
|
|
1661
|
+
/** */
|
|
1662
|
+
"prop:showHide"?: QtiSimpleChoice["showHide"];
|
|
1663
|
+
/** */
|
|
1664
|
+
"prop:fixed"?: QtiSimpleChoice["fixed"];
|
|
1665
|
+
/** */
|
|
1666
|
+
"prop:identifier"?: QtiSimpleChoice["identifier"];
|
|
1667
|
+
/** */
|
|
1668
|
+
"attr:tabindex"?: QtiSimpleChoice["tabIndex"];
|
|
1669
|
+
/** */
|
|
1670
|
+
"prop:tabIndex"?: QtiSimpleChoice["tabIndex"];
|
|
1671
|
+
/** */
|
|
1672
|
+
"bool:aria-disabled"?: QtiSimpleChoice["disabled"];
|
|
1673
|
+
/** */
|
|
1674
|
+
"prop:disabled"?: QtiSimpleChoice["disabled"];
|
|
1675
|
+
/** */
|
|
1676
|
+
"bool:aria-readonly"?: QtiSimpleChoice["readonly"];
|
|
1677
|
+
/** */
|
|
1678
|
+
"prop:readonly"?: QtiSimpleChoice["readonly"];
|
|
1679
|
+
/** */
|
|
1680
|
+
"prop:marker"?: QtiSimpleChoice["marker"];
|
|
1681
|
+
/** */
|
|
1682
|
+
"prop:internals"?: QtiSimpleChoice["internals"];
|
|
1642
1683
|
|
|
1643
1684
|
/** Set the innerHTML of the element */
|
|
1644
1685
|
innerHTML?: string;
|
|
@@ -1776,6 +1817,257 @@ This property syncs with the `correct-response` attribute. */
|
|
|
1776
1817
|
textContent?: string | number;
|
|
1777
1818
|
};
|
|
1778
1819
|
|
|
1820
|
+
export type QtiAssociableHotspotProps = {
|
|
1821
|
+
/** */
|
|
1822
|
+
"onqti-register-hotspot"?: (e: CustomEvent) => void;
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1825
|
+
export type QtiAssociableHotspotSolidJsProps = {
|
|
1826
|
+
/** */
|
|
1827
|
+
"on:qti-register-hotspot"?: (e: CustomEvent) => void;
|
|
1828
|
+
|
|
1829
|
+
/** Set the innerHTML of the element */
|
|
1830
|
+
innerHTML?: string;
|
|
1831
|
+
/** Set the textContent of the element */
|
|
1832
|
+
textContent?: string | number;
|
|
1833
|
+
};
|
|
1834
|
+
|
|
1835
|
+
export type QtiGapProps = {
|
|
1836
|
+
/** */
|
|
1837
|
+
tabindex?: QtiGap["tabindex"];
|
|
1838
|
+
};
|
|
1839
|
+
|
|
1840
|
+
export type QtiGapSolidJsProps = {
|
|
1841
|
+
/** */
|
|
1842
|
+
"prop:tabindex"?: QtiGap["tabindex"];
|
|
1843
|
+
|
|
1844
|
+
/** Set the innerHTML of the element */
|
|
1845
|
+
innerHTML?: string;
|
|
1846
|
+
/** Set the textContent of the element */
|
|
1847
|
+
textContent?: string | number;
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1850
|
+
export type QtiGapImgProps = {
|
|
1851
|
+
/** */
|
|
1852
|
+
tabindex?: QtiGapImg["tabindex"];
|
|
1853
|
+
};
|
|
1854
|
+
|
|
1855
|
+
export type QtiGapImgSolidJsProps = {
|
|
1856
|
+
/** */
|
|
1857
|
+
"prop:tabindex"?: QtiGapImg["tabindex"];
|
|
1858
|
+
|
|
1859
|
+
/** Set the innerHTML of the element */
|
|
1860
|
+
innerHTML?: string;
|
|
1861
|
+
/** Set the textContent of the element */
|
|
1862
|
+
textContent?: string | number;
|
|
1863
|
+
};
|
|
1864
|
+
|
|
1865
|
+
export type QtiGapTextProps = {
|
|
1866
|
+
/** */
|
|
1867
|
+
tabindex?: QtiGapText["tabindex"];
|
|
1868
|
+
/** */
|
|
1869
|
+
identifier?: QtiGapText["identifier"];
|
|
1870
|
+
/** */
|
|
1871
|
+
"aria-disabled"?: QtiGapText["disabled"];
|
|
1872
|
+
/** */
|
|
1873
|
+
disabled?: QtiGapText["disabled"];
|
|
1874
|
+
/** */
|
|
1875
|
+
"aria-readonly"?: QtiGapText["readonly"];
|
|
1876
|
+
/** */
|
|
1877
|
+
readonly?: QtiGapText["readonly"];
|
|
1878
|
+
/** */
|
|
1879
|
+
tabIndex?: QtiGapText["tabIndex"];
|
|
1880
|
+
/** */
|
|
1881
|
+
internals?: QtiGapText["internals"];
|
|
1882
|
+
};
|
|
1883
|
+
|
|
1884
|
+
export type QtiGapTextSolidJsProps = {
|
|
1885
|
+
/** */
|
|
1886
|
+
"prop:tabindex"?: QtiGapText["tabindex"];
|
|
1887
|
+
/** */
|
|
1888
|
+
"prop:identifier"?: QtiGapText["identifier"];
|
|
1889
|
+
/** */
|
|
1890
|
+
"bool:aria-disabled"?: QtiGapText["disabled"];
|
|
1891
|
+
/** */
|
|
1892
|
+
"prop:disabled"?: QtiGapText["disabled"];
|
|
1893
|
+
/** */
|
|
1894
|
+
"bool:aria-readonly"?: QtiGapText["readonly"];
|
|
1895
|
+
/** */
|
|
1896
|
+
"prop:readonly"?: QtiGapText["readonly"];
|
|
1897
|
+
/** */
|
|
1898
|
+
"prop:tabIndex"?: QtiGapText["tabIndex"];
|
|
1899
|
+
/** */
|
|
1900
|
+
"prop:internals"?: QtiGapText["internals"];
|
|
1901
|
+
|
|
1902
|
+
/** Set the innerHTML of the element */
|
|
1903
|
+
innerHTML?: string;
|
|
1904
|
+
/** Set the textContent of the element */
|
|
1905
|
+
textContent?: string | number;
|
|
1906
|
+
};
|
|
1907
|
+
|
|
1908
|
+
export type QtiHotspotChoiceProps = {
|
|
1909
|
+
/** */
|
|
1910
|
+
"aria-ordervalue"?: QtiHotspotChoice["order"];
|
|
1911
|
+
/** */
|
|
1912
|
+
order?: QtiHotspotChoice["order"];
|
|
1913
|
+
/** */
|
|
1914
|
+
"aria-ordercorrectvalue"?: QtiHotspotChoice["orderCorrect"];
|
|
1915
|
+
/** */
|
|
1916
|
+
orderCorrect?: QtiHotspotChoice["orderCorrect"];
|
|
1917
|
+
/** */
|
|
1918
|
+
identifier?: QtiHotspotChoice["identifier"];
|
|
1919
|
+
/** */
|
|
1920
|
+
tabindex?: QtiHotspotChoice["tabIndex"];
|
|
1921
|
+
/** */
|
|
1922
|
+
tabIndex?: QtiHotspotChoice["tabIndex"];
|
|
1923
|
+
/** */
|
|
1924
|
+
"aria-disabled"?: QtiHotspotChoice["disabled"];
|
|
1925
|
+
/** */
|
|
1926
|
+
disabled?: QtiHotspotChoice["disabled"];
|
|
1927
|
+
/** */
|
|
1928
|
+
"aria-readonly"?: QtiHotspotChoice["readonly"];
|
|
1929
|
+
/** */
|
|
1930
|
+
readonly?: QtiHotspotChoice["readonly"];
|
|
1931
|
+
/** */
|
|
1932
|
+
internals?: QtiHotspotChoice["internals"];
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
export type QtiHotspotChoiceSolidJsProps = {
|
|
1936
|
+
/** */
|
|
1937
|
+
"attr:aria-ordervalue"?: QtiHotspotChoice["order"];
|
|
1938
|
+
/** */
|
|
1939
|
+
"prop:order"?: QtiHotspotChoice["order"];
|
|
1940
|
+
/** */
|
|
1941
|
+
"attr:aria-ordercorrectvalue"?: QtiHotspotChoice["orderCorrect"];
|
|
1942
|
+
/** */
|
|
1943
|
+
"prop:orderCorrect"?: QtiHotspotChoice["orderCorrect"];
|
|
1944
|
+
/** */
|
|
1945
|
+
"prop:identifier"?: QtiHotspotChoice["identifier"];
|
|
1946
|
+
/** */
|
|
1947
|
+
"attr:tabindex"?: QtiHotspotChoice["tabIndex"];
|
|
1948
|
+
/** */
|
|
1949
|
+
"prop:tabIndex"?: QtiHotspotChoice["tabIndex"];
|
|
1950
|
+
/** */
|
|
1951
|
+
"bool:aria-disabled"?: QtiHotspotChoice["disabled"];
|
|
1952
|
+
/** */
|
|
1953
|
+
"prop:disabled"?: QtiHotspotChoice["disabled"];
|
|
1954
|
+
/** */
|
|
1955
|
+
"bool:aria-readonly"?: QtiHotspotChoice["readonly"];
|
|
1956
|
+
/** */
|
|
1957
|
+
"prop:readonly"?: QtiHotspotChoice["readonly"];
|
|
1958
|
+
/** */
|
|
1959
|
+
"prop:internals"?: QtiHotspotChoice["internals"];
|
|
1960
|
+
|
|
1961
|
+
/** Set the innerHTML of the element */
|
|
1962
|
+
innerHTML?: string;
|
|
1963
|
+
/** Set the textContent of the element */
|
|
1964
|
+
textContent?: string | number;
|
|
1965
|
+
};
|
|
1966
|
+
|
|
1967
|
+
export type QtiHottextProps = {
|
|
1968
|
+
/** */
|
|
1969
|
+
identifier?: QtiHottext["identifier"];
|
|
1970
|
+
/** */
|
|
1971
|
+
tabindex?: QtiHottext["tabIndex"];
|
|
1972
|
+
/** */
|
|
1973
|
+
tabIndex?: QtiHottext["tabIndex"];
|
|
1974
|
+
/** */
|
|
1975
|
+
"aria-disabled"?: QtiHottext["disabled"];
|
|
1976
|
+
/** */
|
|
1977
|
+
disabled?: QtiHottext["disabled"];
|
|
1978
|
+
/** */
|
|
1979
|
+
"aria-readonly"?: QtiHottext["readonly"];
|
|
1980
|
+
/** */
|
|
1981
|
+
readonly?: QtiHottext["readonly"];
|
|
1982
|
+
/** */
|
|
1983
|
+
internals?: QtiHottext["internals"];
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1986
|
+
export type QtiHottextSolidJsProps = {
|
|
1987
|
+
/** */
|
|
1988
|
+
"prop:identifier"?: QtiHottext["identifier"];
|
|
1989
|
+
/** */
|
|
1990
|
+
"attr:tabindex"?: QtiHottext["tabIndex"];
|
|
1991
|
+
/** */
|
|
1992
|
+
"prop:tabIndex"?: QtiHottext["tabIndex"];
|
|
1993
|
+
/** */
|
|
1994
|
+
"bool:aria-disabled"?: QtiHottext["disabled"];
|
|
1995
|
+
/** */
|
|
1996
|
+
"prop:disabled"?: QtiHottext["disabled"];
|
|
1997
|
+
/** */
|
|
1998
|
+
"bool:aria-readonly"?: QtiHottext["readonly"];
|
|
1999
|
+
/** */
|
|
2000
|
+
"prop:readonly"?: QtiHottext["readonly"];
|
|
2001
|
+
/** */
|
|
2002
|
+
"prop:internals"?: QtiHottext["internals"];
|
|
2003
|
+
|
|
2004
|
+
/** Set the innerHTML of the element */
|
|
2005
|
+
innerHTML?: string;
|
|
2006
|
+
/** Set the textContent of the element */
|
|
2007
|
+
textContent?: string | number;
|
|
2008
|
+
};
|
|
2009
|
+
|
|
2010
|
+
export type QtiInlineChoiceProps = {
|
|
2011
|
+
/** */
|
|
2012
|
+
identifier?: QtiInlineChoice["identifier"];
|
|
2013
|
+
/** */
|
|
2014
|
+
tabindex?: QtiInlineChoice["tabIndex"];
|
|
2015
|
+
/** */
|
|
2016
|
+
tabIndex?: QtiInlineChoice["tabIndex"];
|
|
2017
|
+
/** */
|
|
2018
|
+
"aria-disabled"?: QtiInlineChoice["disabled"];
|
|
2019
|
+
/** */
|
|
2020
|
+
disabled?: QtiInlineChoice["disabled"];
|
|
2021
|
+
/** */
|
|
2022
|
+
"aria-readonly"?: QtiInlineChoice["readonly"];
|
|
2023
|
+
/** */
|
|
2024
|
+
readonly?: QtiInlineChoice["readonly"];
|
|
2025
|
+
/** */
|
|
2026
|
+
internals?: QtiInlineChoice["internals"];
|
|
2027
|
+
|
|
2028
|
+
/** */
|
|
2029
|
+
"onqti-inline-choice-register"?: (e: CustomEvent) => void;
|
|
2030
|
+
/** */
|
|
2031
|
+
"onqti-inline-choice-select"?: (e: CustomEvent) => void;
|
|
2032
|
+
};
|
|
2033
|
+
|
|
2034
|
+
export type QtiInlineChoiceSolidJsProps = {
|
|
2035
|
+
/** */
|
|
2036
|
+
"prop:identifier"?: QtiInlineChoice["identifier"];
|
|
2037
|
+
/** */
|
|
2038
|
+
"attr:tabindex"?: QtiInlineChoice["tabIndex"];
|
|
2039
|
+
/** */
|
|
2040
|
+
"prop:tabIndex"?: QtiInlineChoice["tabIndex"];
|
|
2041
|
+
/** */
|
|
2042
|
+
"bool:aria-disabled"?: QtiInlineChoice["disabled"];
|
|
2043
|
+
/** */
|
|
2044
|
+
"prop:disabled"?: QtiInlineChoice["disabled"];
|
|
2045
|
+
/** */
|
|
2046
|
+
"bool:aria-readonly"?: QtiInlineChoice["readonly"];
|
|
2047
|
+
/** */
|
|
2048
|
+
"prop:readonly"?: QtiInlineChoice["readonly"];
|
|
2049
|
+
/** */
|
|
2050
|
+
"prop:internals"?: QtiInlineChoice["internals"];
|
|
2051
|
+
/** */
|
|
2052
|
+
"on:qti-inline-choice-register"?: (e: CustomEvent) => void;
|
|
2053
|
+
/** */
|
|
2054
|
+
"on:qti-inline-choice-select"?: (e: CustomEvent) => void;
|
|
2055
|
+
|
|
2056
|
+
/** Set the innerHTML of the element */
|
|
2057
|
+
innerHTML?: string;
|
|
2058
|
+
/** Set the textContent of the element */
|
|
2059
|
+
textContent?: string | number;
|
|
2060
|
+
};
|
|
2061
|
+
|
|
2062
|
+
export type QtiPromptProps = {};
|
|
2063
|
+
|
|
2064
|
+
export type QtiPromptSolidJsProps = {
|
|
2065
|
+
/** Set the innerHTML of the element */
|
|
2066
|
+
innerHTML?: string;
|
|
2067
|
+
/** Set the textContent of the element */
|
|
2068
|
+
textContent?: string | number;
|
|
2069
|
+
};
|
|
2070
|
+
|
|
1779
2071
|
export type QtiCustomInteractionProps = {
|
|
1780
2072
|
/** */
|
|
1781
2073
|
data?: QtiCustomInteraction["data"];
|
|
@@ -2098,119 +2390,20 @@ This property syncs with the `correct-response` attribute. */
|
|
|
2098
2390
|
|
|
2099
2391
|
export type QtiGapMatchInteractionProps = {
|
|
2100
2392
|
/** */
|
|
2101
|
-
|
|
2102
|
-
/** */
|
|
2103
|
-
minAssociations?: QtiGapMatchInteraction["minAssociations"];
|
|
2104
|
-
/** */
|
|
2105
|
-
"max-associations"?: QtiGapMatchInteraction["maxAssociations"];
|
|
2106
|
-
/** */
|
|
2107
|
-
maxAssociations?: QtiGapMatchInteraction["maxAssociations"];
|
|
2108
|
-
/** */
|
|
2109
|
-
"response-identifier"?: QtiGapMatchInteraction["responseIdentifier"];
|
|
2393
|
+
allowReorder?: QtiGapMatchInteraction["allowReorder"];
|
|
2110
2394
|
/** */
|
|
2111
|
-
|
|
2395
|
+
sortablePlaceholderConfig?: QtiGapMatchInteraction["sortablePlaceholderConfig"];
|
|
2112
2396
|
/** */
|
|
2113
|
-
|
|
2114
|
-
/** */
|
|
2115
|
-
readonly?: QtiGapMatchInteraction["readonly"];
|
|
2116
|
-
/** */
|
|
2117
|
-
name?: QtiGapMatchInteraction["name"];
|
|
2118
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
2119
|
-
string via attribute or as string/string[] via property. */
|
|
2120
|
-
"correct-response"?: QtiGapMatchInteraction["correctResponseAttr"];
|
|
2121
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
2122
|
-
string via attribute or as string/string[] via property. */
|
|
2123
|
-
correctResponseAttr?: QtiGapMatchInteraction["correctResponseAttr"];
|
|
2124
|
-
/** Shows which choices are correct with inline indicators.
|
|
2125
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
2126
|
-
"show-correct-response"?: QtiGapMatchInteraction["showCorrectResponse"];
|
|
2127
|
-
/** Shows which choices are correct with inline indicators.
|
|
2128
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
2129
|
-
showCorrectResponse?: QtiGapMatchInteraction["showCorrectResponse"];
|
|
2130
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
2131
|
-
Creates a disabled copy positioned after this interaction. */
|
|
2132
|
-
"show-full-correct-response"?: QtiGapMatchInteraction["showFullCorrectResponse"];
|
|
2133
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
2134
|
-
Creates a disabled copy positioned after this interaction. */
|
|
2135
|
-
showFullCorrectResponse?: QtiGapMatchInteraction["showFullCorrectResponse"];
|
|
2136
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
2137
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
2138
|
-
"show-candidate-correction"?: QtiGapMatchInteraction["showCandidateCorrection"];
|
|
2139
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
2140
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
2141
|
-
showCandidateCorrection?: QtiGapMatchInteraction["showCandidateCorrection"];
|
|
2142
|
-
/** */
|
|
2143
|
-
response?: QtiGapMatchInteraction["response"];
|
|
2144
|
-
/** */
|
|
2145
|
-
isFullCorrectResponse?: QtiGapMatchInteraction["isFullCorrectResponse"];
|
|
2146
|
-
/** Get/set correct response programmatically.
|
|
2147
|
-
This property syncs with the `correct-response` attribute. */
|
|
2148
|
-
correctResponse?: QtiGapMatchInteraction["correctResponse"];
|
|
2149
|
-
/** */
|
|
2150
|
-
value?: QtiGapMatchInteraction["value"];
|
|
2151
|
-
|
|
2152
|
-
/** */
|
|
2153
|
-
"onqti-interaction-response"?: (e: CustomEvent) => void;
|
|
2154
|
-
/** */
|
|
2155
|
-
"onqti-register-interaction"?: (e: CustomEvent) => void;
|
|
2397
|
+
sortableAnimationConfig?: QtiGapMatchInteraction["sortableAnimationConfig"];
|
|
2156
2398
|
};
|
|
2157
2399
|
|
|
2158
2400
|
export type QtiGapMatchInteractionSolidJsProps = {
|
|
2159
2401
|
/** */
|
|
2160
|
-
"
|
|
2161
|
-
/** */
|
|
2162
|
-
"prop:minAssociations"?: QtiGapMatchInteraction["minAssociations"];
|
|
2163
|
-
/** */
|
|
2164
|
-
"attr:max-associations"?: QtiGapMatchInteraction["maxAssociations"];
|
|
2402
|
+
"prop:allowReorder"?: QtiGapMatchInteraction["allowReorder"];
|
|
2165
2403
|
/** */
|
|
2166
|
-
"prop:
|
|
2404
|
+
"prop:sortablePlaceholderConfig"?: QtiGapMatchInteraction["sortablePlaceholderConfig"];
|
|
2167
2405
|
/** */
|
|
2168
|
-
"
|
|
2169
|
-
/** */
|
|
2170
|
-
"prop:responseIdentifier"?: QtiGapMatchInteraction["responseIdentifier"];
|
|
2171
|
-
/** */
|
|
2172
|
-
"prop:disabled"?: QtiGapMatchInteraction["disabled"];
|
|
2173
|
-
/** */
|
|
2174
|
-
"prop:readonly"?: QtiGapMatchInteraction["readonly"];
|
|
2175
|
-
/** */
|
|
2176
|
-
"prop:name"?: QtiGapMatchInteraction["name"];
|
|
2177
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
2178
|
-
string via attribute or as string/string[] via property. */
|
|
2179
|
-
"attr:correct-response"?: QtiGapMatchInteraction["correctResponseAttr"];
|
|
2180
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
2181
|
-
string via attribute or as string/string[] via property. */
|
|
2182
|
-
"prop:correctResponseAttr"?: QtiGapMatchInteraction["correctResponseAttr"];
|
|
2183
|
-
/** Shows which choices are correct with inline indicators.
|
|
2184
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
2185
|
-
"bool:show-correct-response"?: QtiGapMatchInteraction["showCorrectResponse"];
|
|
2186
|
-
/** Shows which choices are correct with inline indicators.
|
|
2187
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
2188
|
-
"prop:showCorrectResponse"?: QtiGapMatchInteraction["showCorrectResponse"];
|
|
2189
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
2190
|
-
Creates a disabled copy positioned after this interaction. */
|
|
2191
|
-
"bool:show-full-correct-response"?: QtiGapMatchInteraction["showFullCorrectResponse"];
|
|
2192
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
2193
|
-
Creates a disabled copy positioned after this interaction. */
|
|
2194
|
-
"prop:showFullCorrectResponse"?: QtiGapMatchInteraction["showFullCorrectResponse"];
|
|
2195
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
2196
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
2197
|
-
"bool:show-candidate-correction"?: QtiGapMatchInteraction["showCandidateCorrection"];
|
|
2198
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
2199
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
2200
|
-
"prop:showCandidateCorrection"?: QtiGapMatchInteraction["showCandidateCorrection"];
|
|
2201
|
-
/** */
|
|
2202
|
-
"prop:response"?: QtiGapMatchInteraction["response"];
|
|
2203
|
-
/** */
|
|
2204
|
-
"prop:isFullCorrectResponse"?: QtiGapMatchInteraction["isFullCorrectResponse"];
|
|
2205
|
-
/** Get/set correct response programmatically.
|
|
2206
|
-
This property syncs with the `correct-response` attribute. */
|
|
2207
|
-
"prop:correctResponse"?: QtiGapMatchInteraction["correctResponse"];
|
|
2208
|
-
/** */
|
|
2209
|
-
"prop:value"?: QtiGapMatchInteraction["value"];
|
|
2210
|
-
/** */
|
|
2211
|
-
"on:qti-interaction-response"?: (e: CustomEvent) => void;
|
|
2212
|
-
/** */
|
|
2213
|
-
"on:qti-register-interaction"?: (e: CustomEvent) => void;
|
|
2406
|
+
"prop:sortableAnimationConfig"?: QtiGapMatchInteraction["sortableAnimationConfig"];
|
|
2214
2407
|
|
|
2215
2408
|
/** Set the innerHTML of the element */
|
|
2216
2409
|
innerHTML?: string;
|
|
@@ -2330,119 +2523,20 @@ This property syncs with the `correct-response` attribute. */
|
|
|
2330
2523
|
|
|
2331
2524
|
export type QtiGraphicGapMatchInteractionProps = {
|
|
2332
2525
|
/** */
|
|
2333
|
-
|
|
2334
|
-
/** */
|
|
2335
|
-
minAssociations?: QtiGraphicGapMatchInteraction["minAssociations"];
|
|
2526
|
+
allowReorder?: QtiGraphicGapMatchInteraction["allowReorder"];
|
|
2336
2527
|
/** */
|
|
2337
|
-
|
|
2528
|
+
sortablePlaceholderConfig?: QtiGraphicGapMatchInteraction["sortablePlaceholderConfig"];
|
|
2338
2529
|
/** */
|
|
2339
|
-
|
|
2340
|
-
/** */
|
|
2341
|
-
"response-identifier"?: QtiGraphicGapMatchInteraction["responseIdentifier"];
|
|
2342
|
-
/** */
|
|
2343
|
-
responseIdentifier?: QtiGraphicGapMatchInteraction["responseIdentifier"];
|
|
2344
|
-
/** */
|
|
2345
|
-
disabled?: QtiGraphicGapMatchInteraction["disabled"];
|
|
2346
|
-
/** */
|
|
2347
|
-
readonly?: QtiGraphicGapMatchInteraction["readonly"];
|
|
2348
|
-
/** */
|
|
2349
|
-
name?: QtiGraphicGapMatchInteraction["name"];
|
|
2350
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
2351
|
-
string via attribute or as string/string[] via property. */
|
|
2352
|
-
"correct-response"?: QtiGraphicGapMatchInteraction["correctResponseAttr"];
|
|
2353
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
2354
|
-
string via attribute or as string/string[] via property. */
|
|
2355
|
-
correctResponseAttr?: QtiGraphicGapMatchInteraction["correctResponseAttr"];
|
|
2356
|
-
/** Shows which choices are correct with inline indicators.
|
|
2357
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
2358
|
-
"show-correct-response"?: QtiGraphicGapMatchInteraction["showCorrectResponse"];
|
|
2359
|
-
/** Shows which choices are correct with inline indicators.
|
|
2360
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
2361
|
-
showCorrectResponse?: QtiGraphicGapMatchInteraction["showCorrectResponse"];
|
|
2362
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
2363
|
-
Creates a disabled copy positioned after this interaction. */
|
|
2364
|
-
"show-full-correct-response"?: QtiGraphicGapMatchInteraction["showFullCorrectResponse"];
|
|
2365
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
2366
|
-
Creates a disabled copy positioned after this interaction. */
|
|
2367
|
-
showFullCorrectResponse?: QtiGraphicGapMatchInteraction["showFullCorrectResponse"];
|
|
2368
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
2369
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
2370
|
-
"show-candidate-correction"?: QtiGraphicGapMatchInteraction["showCandidateCorrection"];
|
|
2371
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
2372
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
2373
|
-
showCandidateCorrection?: QtiGraphicGapMatchInteraction["showCandidateCorrection"];
|
|
2374
|
-
/** */
|
|
2375
|
-
response?: QtiGraphicGapMatchInteraction["response"];
|
|
2376
|
-
/** */
|
|
2377
|
-
isFullCorrectResponse?: QtiGraphicGapMatchInteraction["isFullCorrectResponse"];
|
|
2378
|
-
/** Get/set correct response programmatically.
|
|
2379
|
-
This property syncs with the `correct-response` attribute. */
|
|
2380
|
-
correctResponse?: QtiGraphicGapMatchInteraction["correctResponse"];
|
|
2381
|
-
/** */
|
|
2382
|
-
value?: QtiGraphicGapMatchInteraction["value"];
|
|
2383
|
-
|
|
2384
|
-
/** */
|
|
2385
|
-
"onqti-interaction-response"?: (e: CustomEvent) => void;
|
|
2386
|
-
/** */
|
|
2387
|
-
"onqti-register-interaction"?: (e: CustomEvent) => void;
|
|
2530
|
+
sortableAnimationConfig?: QtiGraphicGapMatchInteraction["sortableAnimationConfig"];
|
|
2388
2531
|
};
|
|
2389
2532
|
|
|
2390
2533
|
export type QtiGraphicGapMatchInteractionSolidJsProps = {
|
|
2391
2534
|
/** */
|
|
2392
|
-
"
|
|
2393
|
-
/** */
|
|
2394
|
-
"prop:minAssociations"?: QtiGraphicGapMatchInteraction["minAssociations"];
|
|
2395
|
-
/** */
|
|
2396
|
-
"attr:max-associations"?: QtiGraphicGapMatchInteraction["maxAssociations"];
|
|
2397
|
-
/** */
|
|
2398
|
-
"prop:maxAssociations"?: QtiGraphicGapMatchInteraction["maxAssociations"];
|
|
2399
|
-
/** */
|
|
2400
|
-
"attr:response-identifier"?: QtiGraphicGapMatchInteraction["responseIdentifier"];
|
|
2401
|
-
/** */
|
|
2402
|
-
"prop:responseIdentifier"?: QtiGraphicGapMatchInteraction["responseIdentifier"];
|
|
2403
|
-
/** */
|
|
2404
|
-
"prop:disabled"?: QtiGraphicGapMatchInteraction["disabled"];
|
|
2405
|
-
/** */
|
|
2406
|
-
"prop:readonly"?: QtiGraphicGapMatchInteraction["readonly"];
|
|
2407
|
-
/** */
|
|
2408
|
-
"prop:name"?: QtiGraphicGapMatchInteraction["name"];
|
|
2409
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
2410
|
-
string via attribute or as string/string[] via property. */
|
|
2411
|
-
"attr:correct-response"?: QtiGraphicGapMatchInteraction["correctResponseAttr"];
|
|
2412
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
2413
|
-
string via attribute or as string/string[] via property. */
|
|
2414
|
-
"prop:correctResponseAttr"?: QtiGraphicGapMatchInteraction["correctResponseAttr"];
|
|
2415
|
-
/** Shows which choices are correct with inline indicators.
|
|
2416
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
2417
|
-
"bool:show-correct-response"?: QtiGraphicGapMatchInteraction["showCorrectResponse"];
|
|
2418
|
-
/** Shows which choices are correct with inline indicators.
|
|
2419
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
2420
|
-
"prop:showCorrectResponse"?: QtiGraphicGapMatchInteraction["showCorrectResponse"];
|
|
2421
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
2422
|
-
Creates a disabled copy positioned after this interaction. */
|
|
2423
|
-
"bool:show-full-correct-response"?: QtiGraphicGapMatchInteraction["showFullCorrectResponse"];
|
|
2424
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
2425
|
-
Creates a disabled copy positioned after this interaction. */
|
|
2426
|
-
"prop:showFullCorrectResponse"?: QtiGraphicGapMatchInteraction["showFullCorrectResponse"];
|
|
2427
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
2428
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
2429
|
-
"bool:show-candidate-correction"?: QtiGraphicGapMatchInteraction["showCandidateCorrection"];
|
|
2430
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
2431
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
2432
|
-
"prop:showCandidateCorrection"?: QtiGraphicGapMatchInteraction["showCandidateCorrection"];
|
|
2433
|
-
/** */
|
|
2434
|
-
"prop:response"?: QtiGraphicGapMatchInteraction["response"];
|
|
2535
|
+
"prop:allowReorder"?: QtiGraphicGapMatchInteraction["allowReorder"];
|
|
2435
2536
|
/** */
|
|
2436
|
-
"prop:
|
|
2437
|
-
/** Get/set correct response programmatically.
|
|
2438
|
-
This property syncs with the `correct-response` attribute. */
|
|
2439
|
-
"prop:correctResponse"?: QtiGraphicGapMatchInteraction["correctResponse"];
|
|
2440
|
-
/** */
|
|
2441
|
-
"prop:value"?: QtiGraphicGapMatchInteraction["value"];
|
|
2537
|
+
"prop:sortablePlaceholderConfig"?: QtiGraphicGapMatchInteraction["sortablePlaceholderConfig"];
|
|
2442
2538
|
/** */
|
|
2443
|
-
"
|
|
2444
|
-
/** */
|
|
2445
|
-
"on:qti-register-interaction"?: (e: CustomEvent) => void;
|
|
2539
|
+
"prop:sortableAnimationConfig"?: QtiGraphicGapMatchInteraction["sortableAnimationConfig"];
|
|
2446
2540
|
|
|
2447
2541
|
/** Set the innerHTML of the element */
|
|
2448
2542
|
innerHTML?: string;
|
|
@@ -2938,57 +3032,13 @@ export type QtiMatchInteractionProps = {
|
|
|
2938
3032
|
/** */
|
|
2939
3033
|
responseIdentifier?: QtiMatchInteraction["responseIdentifier"];
|
|
2940
3034
|
/** */
|
|
2941
|
-
"min-associations"?: QtiMatchInteraction["minAssociations"];
|
|
2942
|
-
/** */
|
|
2943
|
-
minAssociations?: QtiMatchInteraction["minAssociations"];
|
|
2944
|
-
/** */
|
|
2945
|
-
"max-associations"?: QtiMatchInteraction["maxAssociations"];
|
|
2946
|
-
/** */
|
|
2947
|
-
maxAssociations?: QtiMatchInteraction["maxAssociations"];
|
|
2948
|
-
/** */
|
|
2949
|
-
disabled?: QtiMatchInteraction["disabled"];
|
|
2950
|
-
/** */
|
|
2951
|
-
readonly?: QtiMatchInteraction["readonly"];
|
|
2952
|
-
/** */
|
|
2953
|
-
name?: QtiMatchInteraction["name"];
|
|
2954
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
2955
|
-
string via attribute or as string/string[] via property. */
|
|
2956
|
-
"correct-response"?: QtiMatchInteraction["correctResponseAttr"];
|
|
2957
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
2958
|
-
string via attribute or as string/string[] via property. */
|
|
2959
|
-
correctResponseAttr?: QtiMatchInteraction["correctResponseAttr"];
|
|
2960
|
-
/** Shows which choices are correct with inline indicators.
|
|
2961
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
2962
|
-
"show-correct-response"?: QtiMatchInteraction["showCorrectResponse"];
|
|
2963
|
-
/** Shows which choices are correct with inline indicators.
|
|
2964
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
2965
|
-
showCorrectResponse?: QtiMatchInteraction["showCorrectResponse"];
|
|
2966
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
2967
|
-
Creates a disabled copy positioned after this interaction. */
|
|
2968
|
-
"show-full-correct-response"?: QtiMatchInteraction["showFullCorrectResponse"];
|
|
2969
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
2970
|
-
Creates a disabled copy positioned after this interaction. */
|
|
2971
|
-
showFullCorrectResponse?: QtiMatchInteraction["showFullCorrectResponse"];
|
|
2972
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
2973
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
2974
|
-
"show-candidate-correction"?: QtiMatchInteraction["showCandidateCorrection"];
|
|
2975
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
2976
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
2977
|
-
showCandidateCorrection?: QtiMatchInteraction["showCandidateCorrection"];
|
|
2978
|
-
/** */
|
|
2979
3035
|
response?: QtiMatchInteraction["response"];
|
|
2980
3036
|
/** */
|
|
2981
|
-
|
|
2982
|
-
/** Get/set correct response programmatically.
|
|
2983
|
-
This property syncs with the `correct-response` attribute. */
|
|
2984
|
-
correctResponse?: QtiMatchInteraction["correctResponse"];
|
|
3037
|
+
allowReorder?: QtiMatchInteraction["allowReorder"];
|
|
2985
3038
|
/** */
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
/** */
|
|
2989
|
-
"onqti-interaction-response"?: (e: CustomEvent) => void;
|
|
3039
|
+
sortablePlaceholderConfig?: QtiMatchInteraction["sortablePlaceholderConfig"];
|
|
2990
3040
|
/** */
|
|
2991
|
-
"
|
|
3041
|
+
sortableAnimationConfig?: QtiMatchInteraction["sortableAnimationConfig"];
|
|
2992
3042
|
};
|
|
2993
3043
|
|
|
2994
3044
|
export type QtiMatchInteractionSolidJsProps = {
|
|
@@ -2999,56 +3049,13 @@ export type QtiMatchInteractionSolidJsProps = {
|
|
|
2999
3049
|
/** */
|
|
3000
3050
|
"prop:responseIdentifier"?: QtiMatchInteraction["responseIdentifier"];
|
|
3001
3051
|
/** */
|
|
3002
|
-
"attr:min-associations"?: QtiMatchInteraction["minAssociations"];
|
|
3003
|
-
/** */
|
|
3004
|
-
"prop:minAssociations"?: QtiMatchInteraction["minAssociations"];
|
|
3005
|
-
/** */
|
|
3006
|
-
"attr:max-associations"?: QtiMatchInteraction["maxAssociations"];
|
|
3007
|
-
/** */
|
|
3008
|
-
"prop:maxAssociations"?: QtiMatchInteraction["maxAssociations"];
|
|
3009
|
-
/** */
|
|
3010
|
-
"prop:disabled"?: QtiMatchInteraction["disabled"];
|
|
3011
|
-
/** */
|
|
3012
|
-
"prop:readonly"?: QtiMatchInteraction["readonly"];
|
|
3013
|
-
/** */
|
|
3014
|
-
"prop:name"?: QtiMatchInteraction["name"];
|
|
3015
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
3016
|
-
string via attribute or as string/string[] via property. */
|
|
3017
|
-
"attr:correct-response"?: QtiMatchInteraction["correctResponseAttr"];
|
|
3018
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
3019
|
-
string via attribute or as string/string[] via property. */
|
|
3020
|
-
"prop:correctResponseAttr"?: QtiMatchInteraction["correctResponseAttr"];
|
|
3021
|
-
/** Shows which choices are correct with inline indicators.
|
|
3022
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
3023
|
-
"bool:show-correct-response"?: QtiMatchInteraction["showCorrectResponse"];
|
|
3024
|
-
/** Shows which choices are correct with inline indicators.
|
|
3025
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
3026
|
-
"prop:showCorrectResponse"?: QtiMatchInteraction["showCorrectResponse"];
|
|
3027
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
3028
|
-
Creates a disabled copy positioned after this interaction. */
|
|
3029
|
-
"bool:show-full-correct-response"?: QtiMatchInteraction["showFullCorrectResponse"];
|
|
3030
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
3031
|
-
Creates a disabled copy positioned after this interaction. */
|
|
3032
|
-
"prop:showFullCorrectResponse"?: QtiMatchInteraction["showFullCorrectResponse"];
|
|
3033
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
3034
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
3035
|
-
"bool:show-candidate-correction"?: QtiMatchInteraction["showCandidateCorrection"];
|
|
3036
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
3037
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
3038
|
-
"prop:showCandidateCorrection"?: QtiMatchInteraction["showCandidateCorrection"];
|
|
3039
|
-
/** */
|
|
3040
3052
|
"prop:response"?: QtiMatchInteraction["response"];
|
|
3041
3053
|
/** */
|
|
3042
|
-
"prop:
|
|
3043
|
-
/** Get/set correct response programmatically.
|
|
3044
|
-
This property syncs with the `correct-response` attribute. */
|
|
3045
|
-
"prop:correctResponse"?: QtiMatchInteraction["correctResponse"];
|
|
3054
|
+
"prop:allowReorder"?: QtiMatchInteraction["allowReorder"];
|
|
3046
3055
|
/** */
|
|
3047
|
-
"prop:
|
|
3056
|
+
"prop:sortablePlaceholderConfig"?: QtiMatchInteraction["sortablePlaceholderConfig"];
|
|
3048
3057
|
/** */
|
|
3049
|
-
"
|
|
3050
|
-
/** */
|
|
3051
|
-
"on:qti-register-interaction"?: (e: CustomEvent) => void;
|
|
3058
|
+
"prop:sortableAnimationConfig"?: QtiMatchInteraction["sortableAnimationConfig"];
|
|
3052
3059
|
|
|
3053
3060
|
/** Set the innerHTML of the element */
|
|
3054
3061
|
innerHTML?: string;
|
|
@@ -3166,129 +3173,30 @@ export type QtiOrderInteractionProps = {
|
|
|
3166
3173
|
/** orientation of choices */
|
|
3167
3174
|
orientation?: QtiOrderInteraction["orientation"];
|
|
3168
3175
|
/** */
|
|
3169
|
-
"min-associations"?: QtiOrderInteraction["minAssociations"];
|
|
3170
|
-
/** */
|
|
3171
|
-
minAssociations?: QtiOrderInteraction["minAssociations"];
|
|
3172
|
-
/** */
|
|
3173
|
-
"max-associations"?: QtiOrderInteraction["maxAssociations"];
|
|
3174
|
-
/** */
|
|
3175
|
-
maxAssociations?: QtiOrderInteraction["maxAssociations"];
|
|
3176
|
-
/** */
|
|
3177
|
-
"response-identifier"?: QtiOrderInteraction["responseIdentifier"];
|
|
3178
|
-
/** */
|
|
3179
|
-
responseIdentifier?: QtiOrderInteraction["responseIdentifier"];
|
|
3180
|
-
/** */
|
|
3181
|
-
disabled?: QtiOrderInteraction["disabled"];
|
|
3182
|
-
/** */
|
|
3183
|
-
readonly?: QtiOrderInteraction["readonly"];
|
|
3184
|
-
/** */
|
|
3185
|
-
name?: QtiOrderInteraction["name"];
|
|
3186
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
3187
|
-
string via attribute or as string/string[] via property. */
|
|
3188
|
-
"correct-response"?: QtiOrderInteraction["correctResponseAttr"];
|
|
3189
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
3190
|
-
string via attribute or as string/string[] via property. */
|
|
3191
|
-
correctResponseAttr?: QtiOrderInteraction["correctResponseAttr"];
|
|
3192
|
-
/** Shows which choices are correct with inline indicators.
|
|
3193
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
3194
|
-
"show-correct-response"?: QtiOrderInteraction["showCorrectResponse"];
|
|
3195
|
-
/** Shows which choices are correct with inline indicators.
|
|
3196
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
3197
|
-
showCorrectResponse?: QtiOrderInteraction["showCorrectResponse"];
|
|
3198
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
3199
|
-
Creates a disabled copy positioned after this interaction. */
|
|
3200
|
-
"show-full-correct-response"?: QtiOrderInteraction["showFullCorrectResponse"];
|
|
3201
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
3202
|
-
Creates a disabled copy positioned after this interaction. */
|
|
3203
|
-
showFullCorrectResponse?: QtiOrderInteraction["showFullCorrectResponse"];
|
|
3204
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
3205
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
3206
|
-
"show-candidate-correction"?: QtiOrderInteraction["showCandidateCorrection"];
|
|
3207
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
3208
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
3209
|
-
showCandidateCorrection?: QtiOrderInteraction["showCandidateCorrection"];
|
|
3210
|
-
/** */
|
|
3211
3176
|
correctResponses?: QtiOrderInteraction["correctResponses"];
|
|
3212
3177
|
/** */
|
|
3213
3178
|
showCorrectResponses?: QtiOrderInteraction["showCorrectResponses"];
|
|
3214
3179
|
/** */
|
|
3215
|
-
|
|
3216
|
-
/** */
|
|
3217
|
-
isFullCorrectResponse?: QtiOrderInteraction["isFullCorrectResponse"];
|
|
3218
|
-
/** Get/set correct response programmatically.
|
|
3219
|
-
This property syncs with the `correct-response` attribute. */
|
|
3220
|
-
correctResponse?: QtiOrderInteraction["correctResponse"];
|
|
3180
|
+
allowReorder?: QtiOrderInteraction["allowReorder"];
|
|
3221
3181
|
/** */
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
/** */
|
|
3225
|
-
"onqti-interaction-response"?: (e: CustomEvent) => void;
|
|
3182
|
+
sortablePlaceholderConfig?: QtiOrderInteraction["sortablePlaceholderConfig"];
|
|
3226
3183
|
/** */
|
|
3227
|
-
"
|
|
3184
|
+
sortableAnimationConfig?: QtiOrderInteraction["sortableAnimationConfig"];
|
|
3228
3185
|
};
|
|
3229
3186
|
|
|
3230
3187
|
export type QtiOrderInteractionSolidJsProps = {
|
|
3231
3188
|
/** orientation of choices */
|
|
3232
3189
|
"prop:orientation"?: QtiOrderInteraction["orientation"];
|
|
3233
3190
|
/** */
|
|
3234
|
-
"attr:min-associations"?: QtiOrderInteraction["minAssociations"];
|
|
3235
|
-
/** */
|
|
3236
|
-
"prop:minAssociations"?: QtiOrderInteraction["minAssociations"];
|
|
3237
|
-
/** */
|
|
3238
|
-
"attr:max-associations"?: QtiOrderInteraction["maxAssociations"];
|
|
3239
|
-
/** */
|
|
3240
|
-
"prop:maxAssociations"?: QtiOrderInteraction["maxAssociations"];
|
|
3241
|
-
/** */
|
|
3242
|
-
"attr:response-identifier"?: QtiOrderInteraction["responseIdentifier"];
|
|
3243
|
-
/** */
|
|
3244
|
-
"prop:responseIdentifier"?: QtiOrderInteraction["responseIdentifier"];
|
|
3245
|
-
/** */
|
|
3246
|
-
"prop:disabled"?: QtiOrderInteraction["disabled"];
|
|
3247
|
-
/** */
|
|
3248
|
-
"prop:readonly"?: QtiOrderInteraction["readonly"];
|
|
3249
|
-
/** */
|
|
3250
|
-
"prop:name"?: QtiOrderInteraction["name"];
|
|
3251
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
3252
|
-
string via attribute or as string/string[] via property. */
|
|
3253
|
-
"attr:correct-response"?: QtiOrderInteraction["correctResponseAttr"];
|
|
3254
|
-
/** The correct response for this interaction. Can be set as a comma-separated
|
|
3255
|
-
string via attribute or as string/string[] via property. */
|
|
3256
|
-
"prop:correctResponseAttr"?: QtiOrderInteraction["correctResponseAttr"];
|
|
3257
|
-
/** Shows which choices are correct with inline indicators.
|
|
3258
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
3259
|
-
"bool:show-correct-response"?: QtiOrderInteraction["showCorrectResponse"];
|
|
3260
|
-
/** Shows which choices are correct with inline indicators.
|
|
3261
|
-
Adds `correct-response` / `incorrect-response` states to choices. */
|
|
3262
|
-
"prop:showCorrectResponse"?: QtiOrderInteraction["showCorrectResponse"];
|
|
3263
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
3264
|
-
Creates a disabled copy positioned after this interaction. */
|
|
3265
|
-
"bool:show-full-correct-response"?: QtiOrderInteraction["showFullCorrectResponse"];
|
|
3266
|
-
/** Shows a cloned interaction with the correct answers filled in.
|
|
3267
|
-
Creates a disabled copy positioned after this interaction. */
|
|
3268
|
-
"prop:showFullCorrectResponse"?: QtiOrderInteraction["showFullCorrectResponse"];
|
|
3269
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
3270
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
3271
|
-
"bool:show-candidate-correction"?: QtiOrderInteraction["showCandidateCorrection"];
|
|
3272
|
-
/** Shows feedback on candidate's selections compared to correct response.
|
|
3273
|
-
Adds `candidate-correct` / `candidate-incorrect` states to choices. */
|
|
3274
|
-
"prop:showCandidateCorrection"?: QtiOrderInteraction["showCandidateCorrection"];
|
|
3275
|
-
/** */
|
|
3276
3191
|
"prop:correctResponses"?: QtiOrderInteraction["correctResponses"];
|
|
3277
3192
|
/** */
|
|
3278
|
-
"prop:showCorrectResponses"?: QtiOrderInteraction["showCorrectResponses"];
|
|
3279
|
-
/** */
|
|
3280
|
-
"prop:response"?: QtiOrderInteraction["response"];
|
|
3281
|
-
/** */
|
|
3282
|
-
"prop:isFullCorrectResponse"?: QtiOrderInteraction["isFullCorrectResponse"];
|
|
3283
|
-
/** Get/set correct response programmatically.
|
|
3284
|
-
This property syncs with the `correct-response` attribute. */
|
|
3285
|
-
"prop:correctResponse"?: QtiOrderInteraction["correctResponse"];
|
|
3193
|
+
"prop:showCorrectResponses"?: QtiOrderInteraction["showCorrectResponses"];
|
|
3286
3194
|
/** */
|
|
3287
|
-
"prop:
|
|
3195
|
+
"prop:allowReorder"?: QtiOrderInteraction["allowReorder"];
|
|
3288
3196
|
/** */
|
|
3289
|
-
"
|
|
3197
|
+
"prop:sortablePlaceholderConfig"?: QtiOrderInteraction["sortablePlaceholderConfig"];
|
|
3290
3198
|
/** */
|
|
3291
|
-
"
|
|
3199
|
+
"prop:sortableAnimationConfig"?: QtiOrderInteraction["sortableAnimationConfig"];
|
|
3292
3200
|
|
|
3293
3201
|
/** Set the innerHTML of the element */
|
|
3294
3202
|
innerHTML?: string;
|
|
@@ -3320,10 +3228,6 @@ export type QtiPortableCustomInteractionProps = {
|
|
|
3320
3228
|
/** */
|
|
3321
3229
|
baseUrl?: QtiPortableCustomInteraction["baseUrl"];
|
|
3322
3230
|
/** */
|
|
3323
|
-
"data-use-default-shims"?: QtiPortableCustomInteraction["useDefaultShims"];
|
|
3324
|
-
/** */
|
|
3325
|
-
useDefaultShims?: QtiPortableCustomInteraction["useDefaultShims"];
|
|
3326
|
-
/** */
|
|
3327
3231
|
"data-use-default-paths"?: QtiPortableCustomInteraction["useDefaultPaths"];
|
|
3328
3232
|
/** */
|
|
3329
3233
|
useDefaultPaths?: QtiPortableCustomInteraction["useDefaultPaths"];
|
|
@@ -3403,10 +3307,6 @@ export type QtiPortableCustomInteractionSolidJsProps = {
|
|
|
3403
3307
|
/** */
|
|
3404
3308
|
"prop:baseUrl"?: QtiPortableCustomInteraction["baseUrl"];
|
|
3405
3309
|
/** */
|
|
3406
|
-
"bool:data-use-default-shims"?: QtiPortableCustomInteraction["useDefaultShims"];
|
|
3407
|
-
/** */
|
|
3408
|
-
"prop:useDefaultShims"?: QtiPortableCustomInteraction["useDefaultShims"];
|
|
3409
|
-
/** */
|
|
3410
3310
|
"bool:data-use-default-paths"?: QtiPortableCustomInteraction["useDefaultPaths"];
|
|
3411
3311
|
/** */
|
|
3412
3312
|
"prop:useDefaultPaths"?: QtiPortableCustomInteraction["useDefaultPaths"];
|
|
@@ -3490,10 +3390,6 @@ export type QtiPortableCustomInteractionTestProps = {
|
|
|
3490
3390
|
/** */
|
|
3491
3391
|
baseUrl?: QtiPortableCustomInteractionTest["baseUrl"];
|
|
3492
3392
|
/** */
|
|
3493
|
-
"data-use-default-shims"?: QtiPortableCustomInteractionTest["useDefaultShims"];
|
|
3494
|
-
/** */
|
|
3495
|
-
useDefaultShims?: QtiPortableCustomInteractionTest["useDefaultShims"];
|
|
3496
|
-
/** */
|
|
3497
3393
|
"data-use-default-paths"?: QtiPortableCustomInteractionTest["useDefaultPaths"];
|
|
3498
3394
|
/** */
|
|
3499
3395
|
useDefaultPaths?: QtiPortableCustomInteractionTest["useDefaultPaths"];
|
|
@@ -3573,10 +3469,6 @@ export type QtiPortableCustomInteractionTestSolidJsProps = {
|
|
|
3573
3469
|
/** */
|
|
3574
3470
|
"prop:baseUrl"?: QtiPortableCustomInteractionTest["baseUrl"];
|
|
3575
3471
|
/** */
|
|
3576
|
-
"bool:data-use-default-shims"?: QtiPortableCustomInteractionTest["useDefaultShims"];
|
|
3577
|
-
/** */
|
|
3578
|
-
"prop:useDefaultShims"?: QtiPortableCustomInteractionTest["useDefaultShims"];
|
|
3579
|
-
/** */
|
|
3580
3472
|
"bool:data-use-default-paths"?: QtiPortableCustomInteractionTest["useDefaultPaths"];
|
|
3581
3473
|
/** */
|
|
3582
3474
|
"prop:useDefaultPaths"?: QtiPortableCustomInteractionTest["useDefaultPaths"];
|
|
@@ -5818,42 +5710,309 @@ export type CustomElements = {
|
|
|
5818
5710
|
*
|
|
5819
5711
|
* - `qti-request-navigation`: undefined
|
|
5820
5712
|
*/
|
|
5821
|
-
"test-section-link": Partial<
|
|
5822
|
-
TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
|
|
5713
|
+
"test-section-link": Partial<
|
|
5714
|
+
TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents
|
|
5715
|
+
>;
|
|
5716
|
+
|
|
5717
|
+
/**
|
|
5718
|
+
*
|
|
5719
|
+
*
|
|
5720
|
+
* ## Attributes & Properties
|
|
5721
|
+
*
|
|
5722
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5723
|
+
*
|
|
5724
|
+
* - `computedContext`: undefined (property only)
|
|
5725
|
+
*/
|
|
5726
|
+
"test-print-context": Partial<
|
|
5727
|
+
TestPrintContextProps & BaseProps<TestPrintContext> & BaseEvents
|
|
5728
|
+
>;
|
|
5729
|
+
|
|
5730
|
+
/**
|
|
5731
|
+
* A custom web component that renders a test stamp using the Lit framework.
|
|
5732
|
+
* This component is deprecated and will be removed in the future.
|
|
5733
|
+
*
|
|
5734
|
+
* ## Attributes & Properties
|
|
5735
|
+
*
|
|
5736
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5737
|
+
*
|
|
5738
|
+
* - `debug`: Indicates whether the component is in debug mode.
|
|
5739
|
+
* When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
|
|
5740
|
+
* - `myTemplate`: undefined (property only)
|
|
5741
|
+
*
|
|
5742
|
+
* ## Events
|
|
5743
|
+
*
|
|
5744
|
+
* Events that will be emitted by the component.
|
|
5745
|
+
*
|
|
5746
|
+
* - `qti-stamp-context-updated`: undefined
|
|
5747
|
+
*/
|
|
5748
|
+
"test-stamp": Partial<TestStampProps & BaseProps<TestStamp> & BaseEvents>;
|
|
5749
|
+
|
|
5750
|
+
/**
|
|
5751
|
+
*
|
|
5752
|
+
*
|
|
5753
|
+
* ## Attributes & Properties
|
|
5754
|
+
*
|
|
5755
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5756
|
+
*
|
|
5757
|
+
* - `view`: undefined
|
|
5758
|
+
* - `disabled`: undefined
|
|
5759
|
+
* - `myTemplate`: undefined (property only)
|
|
5760
|
+
*
|
|
5761
|
+
* ## Events
|
|
5762
|
+
*
|
|
5763
|
+
* Events that will be emitted by the component.
|
|
5764
|
+
*
|
|
5765
|
+
* - `test-update-outcome-variable`: undefined
|
|
5766
|
+
*/
|
|
5767
|
+
"test-scoring-buttons": Partial<
|
|
5768
|
+
TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents
|
|
5769
|
+
>;
|
|
5770
|
+
|
|
5771
|
+
/**
|
|
5772
|
+
*
|
|
5773
|
+
*
|
|
5774
|
+
* ## Attributes & Properties
|
|
5775
|
+
*
|
|
5776
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5777
|
+
*
|
|
5778
|
+
* - `myTemplate`: undefined (property only)
|
|
5779
|
+
*
|
|
5780
|
+
* ## Events
|
|
5781
|
+
*
|
|
5782
|
+
* Events that will be emitted by the component.
|
|
5783
|
+
*
|
|
5784
|
+
* - `on-test-switch-view`: undefined
|
|
5785
|
+
*
|
|
5786
|
+
* ## Methods
|
|
5787
|
+
*
|
|
5788
|
+
* Methods that can be called to access component functionality.
|
|
5789
|
+
*
|
|
5790
|
+
* - `_switchView(view: string) => void`: undefined
|
|
5791
|
+
*/
|
|
5792
|
+
"test-view-toggle": Partial<
|
|
5793
|
+
TestViewToggleProps & BaseProps<TestViewToggle> & BaseEvents
|
|
5794
|
+
>;
|
|
5795
|
+
|
|
5796
|
+
/**
|
|
5797
|
+
*
|
|
5798
|
+
*
|
|
5799
|
+
* ## Attributes & Properties
|
|
5800
|
+
*
|
|
5801
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5802
|
+
*
|
|
5803
|
+
* - `view`: undefined
|
|
5804
|
+
*/
|
|
5805
|
+
"test-scoring-feedback": Partial<
|
|
5806
|
+
TestScoringFeedbackProps & BaseProps<TestScoringFeedback> & BaseEvents
|
|
5807
|
+
>;
|
|
5808
|
+
|
|
5809
|
+
/**
|
|
5810
|
+
*
|
|
5811
|
+
*/
|
|
5812
|
+
"test-check-item": Partial<
|
|
5813
|
+
TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents
|
|
5814
|
+
>;
|
|
5815
|
+
|
|
5816
|
+
/**
|
|
5817
|
+
*
|
|
5818
|
+
*
|
|
5819
|
+
* ## Attributes & Properties
|
|
5820
|
+
*
|
|
5821
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5822
|
+
*
|
|
5823
|
+
* - `_testContext`: undefined (property only)
|
|
5824
|
+
* - `getVariables`: undefined (property only)
|
|
5825
|
+
*
|
|
5826
|
+
* ## Methods
|
|
5827
|
+
*
|
|
5828
|
+
* Methods that can be called to access component functionality.
|
|
5829
|
+
*
|
|
5830
|
+
* - `calculate() => Readonly<T>`: undefined
|
|
5831
|
+
*/
|
|
5832
|
+
"qti-test-variables": Partial<
|
|
5833
|
+
QtiTestVariablesProps & BaseProps<QtiTestVariables> & BaseEvents
|
|
5834
|
+
>;
|
|
5835
|
+
|
|
5836
|
+
/**
|
|
5837
|
+
*
|
|
5838
|
+
*
|
|
5839
|
+
* ## Attributes & Properties
|
|
5840
|
+
*
|
|
5841
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5842
|
+
*
|
|
5843
|
+
* - `match-min`/`matchMin`: the minimal number of selections a candidate must make
|
|
5844
|
+
* - `match-max`/`matchMax`: the maximum number of selections a candidate must make, the other options will be disabled when max options is checked
|
|
5845
|
+
* - `fixed`: undefined
|
|
5846
|
+
* - `identifier`: undefined
|
|
5847
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
5848
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
5849
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
5850
|
+
* - `internals`: undefined (property only)
|
|
5851
|
+
*
|
|
5852
|
+
* ## Events
|
|
5853
|
+
*
|
|
5854
|
+
* Events that will be emitted by the component.
|
|
5855
|
+
*
|
|
5856
|
+
* - `undefined`: undefined
|
|
5857
|
+
*
|
|
5858
|
+
* ## Methods
|
|
5859
|
+
*
|
|
5860
|
+
* Methods that can be called to access component functionality.
|
|
5861
|
+
*
|
|
5862
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
5863
|
+
*/
|
|
5864
|
+
"qti-simple-associable-choice": Partial<
|
|
5865
|
+
QtiSimpleAssociableChoiceProps &
|
|
5866
|
+
BaseProps<QtiSimpleAssociableChoice> &
|
|
5867
|
+
BaseEvents
|
|
5868
|
+
>;
|
|
5869
|
+
|
|
5870
|
+
/**
|
|
5871
|
+
*
|
|
5872
|
+
*
|
|
5873
|
+
* ## Attributes & Properties
|
|
5874
|
+
*
|
|
5875
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5876
|
+
*
|
|
5877
|
+
* - `allowReorder`: undefined (property only)
|
|
5878
|
+
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
5879
|
+
* - `sortableAnimationConfig`: undefined (property only)
|
|
5880
|
+
* - `isDraggingFromSlot`: undefined (property only) (readonly)
|
|
5881
|
+
*
|
|
5882
|
+
* ## Methods
|
|
5883
|
+
*
|
|
5884
|
+
* Methods that can be called to access component functionality.
|
|
5885
|
+
*
|
|
5886
|
+
* - `getValue(val: string[]) => void`: undefined
|
|
5887
|
+
* - `initiateDrag(dragElement: HTMLElement, startX: number, startY: number, inputType: 'mouse' | 'touch', rest: [eventSource?: 'pointer' | 'mouse' | 'touch']) => void`: undefined
|
|
5888
|
+
* - `onSortableDragMove(clientX: number, clientY: number) => void`: undefined
|
|
5889
|
+
* - `allowDrop(draggable: HTMLElement, droppable: HTMLElement) => boolean`: undefined
|
|
5890
|
+
* - `handleDrop(draggable: HTMLElement, droppable: HTMLElement) => void`: undefined
|
|
5891
|
+
* - `handleInvalidDrop(dragSource: HTMLElement | null) => void`: undefined
|
|
5892
|
+
*/
|
|
5893
|
+
"qti-associate-interaction": Partial<
|
|
5894
|
+
QtiAssociateInteractionProps &
|
|
5895
|
+
BaseProps<QtiAssociateInteraction> &
|
|
5896
|
+
BaseEvents
|
|
5897
|
+
>;
|
|
5898
|
+
|
|
5899
|
+
/**
|
|
5900
|
+
* qti-order-interaction
|
|
5901
|
+
* qti-choice-interaction
|
|
5902
|
+
*
|
|
5903
|
+
* ## Attributes & Properties
|
|
5904
|
+
*
|
|
5905
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5906
|
+
*
|
|
5907
|
+
* - `template-identifier`/`templateIdentifier`: undefined
|
|
5908
|
+
* - `show-hide`/`showHide`: undefined
|
|
5909
|
+
* - `fixed`: undefined
|
|
5910
|
+
* - `identifier`: undefined
|
|
5911
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
5912
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
5913
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
5914
|
+
* - `marker`: undefined (property only)
|
|
5915
|
+
* - `checked`: undefined (property only) (readonly)
|
|
5916
|
+
* - `internals`: undefined (property only)
|
|
5917
|
+
*
|
|
5918
|
+
* ## Events
|
|
5919
|
+
*
|
|
5920
|
+
* Events that will be emitted by the component.
|
|
5921
|
+
*
|
|
5922
|
+
* - `undefined`: undefined
|
|
5923
|
+
*
|
|
5924
|
+
* ## Methods
|
|
5925
|
+
*
|
|
5926
|
+
* Methods that can be called to access component functionality.
|
|
5927
|
+
*
|
|
5928
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
5929
|
+
*/
|
|
5930
|
+
"qti-simple-choice": Partial<
|
|
5931
|
+
QtiSimpleChoiceProps & BaseProps<QtiSimpleChoice> & BaseEvents
|
|
5932
|
+
>;
|
|
5933
|
+
|
|
5934
|
+
/**
|
|
5935
|
+
*
|
|
5936
|
+
*
|
|
5937
|
+
* ## Attributes & Properties
|
|
5938
|
+
*
|
|
5939
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5940
|
+
*
|
|
5941
|
+
* - `orientation`: undefined
|
|
5942
|
+
* - `class`: undefined
|
|
5943
|
+
* - `min-choices`/`minChoices`: undefined
|
|
5944
|
+
* - `max-choices`/`maxChoices`: undefined
|
|
5945
|
+
* - `response-identifier`/`responseIdentifier`: undefined
|
|
5946
|
+
* - `disabled`: undefined
|
|
5947
|
+
* - `readonly`: undefined
|
|
5948
|
+
* - `name`: undefined
|
|
5949
|
+
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
5950
|
+
* string via attribute or as string/string[] via property.
|
|
5951
|
+
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
5952
|
+
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
5953
|
+
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
5954
|
+
* Creates a disabled copy positioned after this interaction.
|
|
5955
|
+
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
5956
|
+
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
5957
|
+
* - `response`: undefined (property only)
|
|
5958
|
+
* - `value`: undefined (property only)
|
|
5959
|
+
* - `internals`: undefined (property only) (readonly)
|
|
5960
|
+
* - `isFullCorrectResponse`: undefined (property only)
|
|
5961
|
+
* - `correctResponse`: Get/set correct response programmatically.
|
|
5962
|
+
* This property syncs with the `correct-response` attribute. (property only)
|
|
5963
|
+
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
5964
|
+
* Works in both standalone mode (using `correct-response` attribute) and
|
|
5965
|
+
* item context mode (using responseVariable). (property only) (readonly)
|
|
5966
|
+
* - `isInline`: undefined (property only) (readonly)
|
|
5967
|
+
* - `responseVariable`: undefined (property only) (readonly)
|
|
5968
|
+
*
|
|
5969
|
+
* ## Events
|
|
5970
|
+
*
|
|
5971
|
+
* Events that will be emitted by the component.
|
|
5972
|
+
*
|
|
5973
|
+
* - `qti-register-interaction`: undefined
|
|
5974
|
+
* - `qti-interaction-response`: undefined
|
|
5975
|
+
*
|
|
5976
|
+
* ## Methods
|
|
5977
|
+
*
|
|
5978
|
+
* Methods that can be called to access component functionality.
|
|
5979
|
+
*
|
|
5980
|
+
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
5981
|
+
* - `validate() => boolean`: undefined
|
|
5982
|
+
* - `reportValidity() => boolean`: undefined
|
|
5983
|
+
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
5984
|
+
* - `reset() => void`: undefined
|
|
5985
|
+
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
5986
|
+
* Part of the Form-Associated Custom Elements API.
|
|
5987
|
+
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
5988
|
+
*/
|
|
5989
|
+
"qti-choice-interaction": Partial<
|
|
5990
|
+
QtiChoiceInteractionProps & BaseProps<QtiChoiceInteraction> & BaseEvents
|
|
5823
5991
|
>;
|
|
5824
5992
|
|
|
5825
5993
|
/**
|
|
5826
5994
|
*
|
|
5827
5995
|
*
|
|
5828
|
-
* ##
|
|
5996
|
+
* ## Events
|
|
5829
5997
|
*
|
|
5830
|
-
*
|
|
5998
|
+
* Events that will be emitted by the component.
|
|
5831
5999
|
*
|
|
5832
|
-
* - `
|
|
6000
|
+
* - `qti-register-hotspot`: undefined
|
|
5833
6001
|
*/
|
|
5834
|
-
"
|
|
5835
|
-
|
|
6002
|
+
"qti-associable-hotspot": Partial<
|
|
6003
|
+
QtiAssociableHotspotProps & BaseProps<QtiAssociableHotspot> & BaseEvents
|
|
5836
6004
|
>;
|
|
5837
6005
|
|
|
5838
6006
|
/**
|
|
5839
|
-
*
|
|
5840
|
-
* This component is deprecated and will be removed in the future.
|
|
6007
|
+
*
|
|
5841
6008
|
*
|
|
5842
6009
|
* ## Attributes & Properties
|
|
5843
6010
|
*
|
|
5844
6011
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5845
6012
|
*
|
|
5846
|
-
* - `
|
|
5847
|
-
* When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
|
|
5848
|
-
* - `myTemplate`: undefined (property only)
|
|
5849
|
-
*
|
|
5850
|
-
* ## Events
|
|
5851
|
-
*
|
|
5852
|
-
* Events that will be emitted by the component.
|
|
5853
|
-
*
|
|
5854
|
-
* - `qti-stamp-context-updated`: undefined
|
|
6013
|
+
* - `tabindex`: undefined
|
|
5855
6014
|
*/
|
|
5856
|
-
"
|
|
6015
|
+
"qti-gap": Partial<QtiGapProps & BaseProps<QtiGap> & BaseEvents>;
|
|
5857
6016
|
|
|
5858
6017
|
/**
|
|
5859
6018
|
*
|
|
@@ -5862,19 +6021,9 @@ export type CustomElements = {
|
|
|
5862
6021
|
*
|
|
5863
6022
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5864
6023
|
*
|
|
5865
|
-
* - `
|
|
5866
|
-
* - `disabled`: undefined
|
|
5867
|
-
* - `myTemplate`: undefined (property only)
|
|
5868
|
-
*
|
|
5869
|
-
* ## Events
|
|
5870
|
-
*
|
|
5871
|
-
* Events that will be emitted by the component.
|
|
5872
|
-
*
|
|
5873
|
-
* - `test-update-outcome-variable`: undefined
|
|
6024
|
+
* - `tabindex`: undefined
|
|
5874
6025
|
*/
|
|
5875
|
-
"
|
|
5876
|
-
TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents
|
|
5877
|
-
>;
|
|
6026
|
+
"qti-gap-img": Partial<QtiGapImgProps & BaseProps<QtiGapImg> & BaseEvents>;
|
|
5878
6027
|
|
|
5879
6028
|
/**
|
|
5880
6029
|
*
|
|
@@ -5883,23 +6032,26 @@ export type CustomElements = {
|
|
|
5883
6032
|
*
|
|
5884
6033
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5885
6034
|
*
|
|
5886
|
-
* - `
|
|
6035
|
+
* - `tabindex`: undefined
|
|
6036
|
+
* - `identifier`: undefined
|
|
6037
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
6038
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
6039
|
+
* - `tabIndex`: undefined (property only)
|
|
6040
|
+
* - `internals`: undefined (property only)
|
|
5887
6041
|
*
|
|
5888
6042
|
* ## Events
|
|
5889
6043
|
*
|
|
5890
6044
|
* Events that will be emitted by the component.
|
|
5891
6045
|
*
|
|
5892
|
-
* - `
|
|
6046
|
+
* - `undefined`: undefined
|
|
5893
6047
|
*
|
|
5894
6048
|
* ## Methods
|
|
5895
6049
|
*
|
|
5896
6050
|
* Methods that can be called to access component functionality.
|
|
5897
6051
|
*
|
|
5898
|
-
* - `
|
|
6052
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
5899
6053
|
*/
|
|
5900
|
-
"
|
|
5901
|
-
TestViewToggleProps & BaseProps<TestViewToggle> & BaseEvents
|
|
5902
|
-
>;
|
|
6054
|
+
"qti-gap-text": Partial<QtiGapTextProps & BaseProps<QtiGapText> & BaseEvents>;
|
|
5903
6055
|
|
|
5904
6056
|
/**
|
|
5905
6057
|
*
|
|
@@ -5908,37 +6060,28 @@ export type CustomElements = {
|
|
|
5908
6060
|
*
|
|
5909
6061
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5910
6062
|
*
|
|
5911
|
-
* - `
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
*
|
|
5919
|
-
*/
|
|
5920
|
-
"test-check-item": Partial<
|
|
5921
|
-
TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents
|
|
5922
|
-
>;
|
|
5923
|
-
|
|
5924
|
-
/**
|
|
5925
|
-
*
|
|
6063
|
+
* - `aria-ordervalue`/`order`: undefined
|
|
6064
|
+
* - `aria-ordercorrectvalue`/`orderCorrect`: undefined
|
|
6065
|
+
* - `identifier`: undefined
|
|
6066
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
6067
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
6068
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
6069
|
+
* - `internals`: undefined (property only)
|
|
5926
6070
|
*
|
|
5927
|
-
* ##
|
|
6071
|
+
* ## Events
|
|
5928
6072
|
*
|
|
5929
|
-
*
|
|
6073
|
+
* Events that will be emitted by the component.
|
|
5930
6074
|
*
|
|
5931
|
-
* - `
|
|
5932
|
-
* - `getVariables`: undefined (property only)
|
|
6075
|
+
* - `undefined`: undefined
|
|
5933
6076
|
*
|
|
5934
6077
|
* ## Methods
|
|
5935
6078
|
*
|
|
5936
6079
|
* Methods that can be called to access component functionality.
|
|
5937
6080
|
*
|
|
5938
|
-
* - `
|
|
6081
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
5939
6082
|
*/
|
|
5940
|
-
"qti-
|
|
5941
|
-
|
|
6083
|
+
"qti-hotspot-choice": Partial<
|
|
6084
|
+
QtiHotspotChoiceProps & BaseProps<QtiHotspotChoice> & BaseEvents
|
|
5942
6085
|
>;
|
|
5943
6086
|
|
|
5944
6087
|
/**
|
|
@@ -5948,61 +6091,25 @@ export type CustomElements = {
|
|
|
5948
6091
|
*
|
|
5949
6092
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
5950
6093
|
*
|
|
5951
|
-
* - `
|
|
5952
|
-
* - `
|
|
5953
|
-
* - `
|
|
5954
|
-
* - `
|
|
5955
|
-
* - `
|
|
5956
|
-
* - `name`: undefined
|
|
5957
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
5958
|
-
* string via attribute or as string/string[] via property.
|
|
5959
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
5960
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
5961
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
5962
|
-
* Creates a disabled copy positioned after this interaction.
|
|
5963
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
5964
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
5965
|
-
* - `response`: undefined (property only)
|
|
5966
|
-
* - `internals`: undefined (property only) (readonly)
|
|
5967
|
-
* - `isFullCorrectResponse`: undefined (property only)
|
|
5968
|
-
* - `correctResponse`: Get/set correct response programmatically.
|
|
5969
|
-
* This property syncs with the `correct-response` attribute. (property only)
|
|
5970
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
5971
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
5972
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
5973
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
5974
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
5975
|
-
* - `value`: undefined (property only)
|
|
6094
|
+
* - `identifier`: undefined
|
|
6095
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
6096
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
6097
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
6098
|
+
* - `internals`: undefined (property only)
|
|
5976
6099
|
*
|
|
5977
6100
|
* ## Events
|
|
5978
6101
|
*
|
|
5979
6102
|
* Events that will be emitted by the component.
|
|
5980
6103
|
*
|
|
5981
|
-
* - `
|
|
5982
|
-
* - `qti-register-interaction`: undefined
|
|
6104
|
+
* - `undefined`: undefined
|
|
5983
6105
|
*
|
|
5984
6106
|
* ## Methods
|
|
5985
6107
|
*
|
|
5986
6108
|
* Methods that can be called to access component functionality.
|
|
5987
6109
|
*
|
|
5988
|
-
* - `
|
|
5989
|
-
* - `dragContainersModified(addedDragContainers: HTMLElement[], removedDragContainers: HTMLElement[]) => void`: undefined
|
|
5990
|
-
* - `handleDraggablesChange(dragsAdded: HTMLElement[], dragsRemoved: HTMLElement[]) => void`: undefined
|
|
5991
|
-
* - `handleDroppablesChange(dropsAdded: HTMLElement[], dropsRemoved: HTMLElement[]) => void`: undefined
|
|
5992
|
-
* - `validate() => boolean | null`: undefined
|
|
5993
|
-
* - `reportValidity() => boolean`: undefined
|
|
5994
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
5995
|
-
* - `reset(save = true) => void`: undefined
|
|
5996
|
-
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
5997
|
-
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
5998
|
-
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
5999
|
-
* Part of the Form-Associated Custom Elements API.
|
|
6110
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
6000
6111
|
*/
|
|
6001
|
-
"qti-
|
|
6002
|
-
QtiAssociateInteractionProps &
|
|
6003
|
-
BaseProps<QtiAssociateInteraction> &
|
|
6004
|
-
BaseEvents
|
|
6005
|
-
>;
|
|
6112
|
+
"qti-hottext": Partial<QtiHottextProps & BaseProps<QtiHottext> & BaseEvents>;
|
|
6006
6113
|
|
|
6007
6114
|
/**
|
|
6008
6115
|
*
|
|
@@ -6011,58 +6118,35 @@ export type CustomElements = {
|
|
|
6011
6118
|
*
|
|
6012
6119
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
6013
6120
|
*
|
|
6014
|
-
* - `
|
|
6015
|
-
* - `
|
|
6016
|
-
* - `
|
|
6017
|
-
* - `
|
|
6018
|
-
* - `
|
|
6019
|
-
* - `disabled`: undefined
|
|
6020
|
-
* - `readonly`: undefined
|
|
6021
|
-
* - `name`: undefined
|
|
6022
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
6023
|
-
* string via attribute or as string/string[] via property.
|
|
6024
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
6025
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
6026
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
6027
|
-
* Creates a disabled copy positioned after this interaction.
|
|
6028
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
6029
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
6030
|
-
* - `response`: undefined (property only)
|
|
6031
|
-
* - `value`: undefined (property only)
|
|
6032
|
-
* - `internals`: undefined (property only) (readonly)
|
|
6033
|
-
* - `isFullCorrectResponse`: undefined (property only)
|
|
6034
|
-
* - `correctResponse`: Get/set correct response programmatically.
|
|
6035
|
-
* This property syncs with the `correct-response` attribute. (property only)
|
|
6036
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
6037
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
6038
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
6039
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
6040
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
6121
|
+
* - `identifier`: undefined
|
|
6122
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
6123
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
6124
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
6125
|
+
* - `internals`: undefined (property only)
|
|
6041
6126
|
*
|
|
6042
6127
|
* ## Events
|
|
6043
6128
|
*
|
|
6044
6129
|
* Events that will be emitted by the component.
|
|
6045
6130
|
*
|
|
6046
|
-
* - `qti-register
|
|
6047
|
-
* - `qti-
|
|
6131
|
+
* - `qti-inline-choice-register`: undefined
|
|
6132
|
+
* - `qti-inline-choice-select`: undefined
|
|
6133
|
+
* - `undefined`: undefined
|
|
6048
6134
|
*
|
|
6049
6135
|
* ## Methods
|
|
6050
6136
|
*
|
|
6051
6137
|
* Methods that can be called to access component functionality.
|
|
6052
6138
|
*
|
|
6053
|
-
* - `
|
|
6054
|
-
* - `validate() => boolean`: undefined
|
|
6055
|
-
* - `reportValidity() => boolean`: undefined
|
|
6056
|
-
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
6057
|
-
* - `reset() => void`: undefined
|
|
6058
|
-
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
6059
|
-
* Part of the Form-Associated Custom Elements API.
|
|
6060
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
6139
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
6061
6140
|
*/
|
|
6062
|
-
"qti-choice
|
|
6063
|
-
|
|
6141
|
+
"qti-inline-choice": Partial<
|
|
6142
|
+
QtiInlineChoiceProps & BaseProps<QtiInlineChoice> & BaseEvents
|
|
6064
6143
|
>;
|
|
6065
6144
|
|
|
6145
|
+
/**
|
|
6146
|
+
*
|
|
6147
|
+
*/
|
|
6148
|
+
"qti-prompt": Partial<QtiPromptProps & BaseProps<QtiPrompt> & BaseEvents>;
|
|
6149
|
+
|
|
6066
6150
|
/**
|
|
6067
6151
|
* QTI Custom Interaction component for legacy CES-based interactions.
|
|
6068
6152
|
*
|
|
@@ -6236,38 +6320,10 @@ export type CustomElements = {
|
|
|
6236
6320
|
*
|
|
6237
6321
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
6238
6322
|
*
|
|
6239
|
-
* - `
|
|
6240
|
-
* - `
|
|
6241
|
-
* - `
|
|
6242
|
-
* - `
|
|
6243
|
-
* - `readonly`: undefined
|
|
6244
|
-
* - `name`: undefined
|
|
6245
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
6246
|
-
* string via attribute or as string/string[] via property.
|
|
6247
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
6248
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
6249
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
6250
|
-
* Creates a disabled copy positioned after this interaction.
|
|
6251
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
6252
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
6253
|
-
* - `response`: undefined (property only)
|
|
6254
|
-
* - `internals`: undefined (property only) (readonly)
|
|
6255
|
-
* - `isFullCorrectResponse`: undefined (property only)
|
|
6256
|
-
* - `correctResponse`: Get/set correct response programmatically.
|
|
6257
|
-
* This property syncs with the `correct-response` attribute. (property only)
|
|
6258
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
6259
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
6260
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
6261
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
6262
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
6263
|
-
* - `value`: undefined (property only)
|
|
6264
|
-
*
|
|
6265
|
-
* ## Events
|
|
6266
|
-
*
|
|
6267
|
-
* Events that will be emitted by the component.
|
|
6268
|
-
*
|
|
6269
|
-
* - `qti-interaction-response`: undefined
|
|
6270
|
-
* - `qti-register-interaction`: undefined
|
|
6323
|
+
* - `allowReorder`: undefined (property only)
|
|
6324
|
+
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
6325
|
+
* - `sortableAnimationConfig`: undefined (property only)
|
|
6326
|
+
* - `isDraggingFromSlot`: undefined (property only) (readonly)
|
|
6271
6327
|
*
|
|
6272
6328
|
* ## Methods
|
|
6273
6329
|
*
|
|
@@ -6275,16 +6331,11 @@ export type CustomElements = {
|
|
|
6275
6331
|
*
|
|
6276
6332
|
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
6277
6333
|
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
6278
|
-
* - `
|
|
6279
|
-
* - `
|
|
6280
|
-
* - `
|
|
6281
|
-
* - `
|
|
6282
|
-
* - `
|
|
6283
|
-
* - `reportValidity() => boolean`: undefined
|
|
6284
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
6285
|
-
* - `reset(save = true) => void`: undefined
|
|
6286
|
-
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
6287
|
-
* Part of the Form-Associated Custom Elements API.
|
|
6334
|
+
* - `initiateDrag(dragElement: HTMLElement, startX: number, startY: number, inputType: 'mouse' | 'touch', rest: [eventSource?: 'pointer' | 'mouse' | 'touch']) => void`: undefined
|
|
6335
|
+
* - `onSortableDragMove(clientX: number, clientY: number) => void`: undefined
|
|
6336
|
+
* - `allowDrop(draggable: HTMLElement, droppable: HTMLElement) => boolean`: undefined
|
|
6337
|
+
* - `handleDrop(draggable: HTMLElement, droppable: HTMLElement) => void`: undefined
|
|
6338
|
+
* - `handleInvalidDrop(dragSource: HTMLElement | null) => void`: undefined
|
|
6288
6339
|
*/
|
|
6289
6340
|
"qti-gap-match-interaction": Partial<
|
|
6290
6341
|
QtiGapMatchInteractionProps & BaseProps<QtiGapMatchInteraction> & BaseEvents
|
|
@@ -6355,55 +6406,21 @@ export type CustomElements = {
|
|
|
6355
6406
|
*
|
|
6356
6407
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
6357
6408
|
*
|
|
6358
|
-
* - `
|
|
6359
|
-
* - `
|
|
6360
|
-
* - `
|
|
6361
|
-
* - `
|
|
6362
|
-
* - `readonly`: undefined
|
|
6363
|
-
* - `name`: undefined
|
|
6364
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
6365
|
-
* string via attribute or as string/string[] via property.
|
|
6366
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
6367
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
6368
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
6369
|
-
* Creates a disabled copy positioned after this interaction.
|
|
6370
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
6371
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
6372
|
-
* - `response`: undefined (property only)
|
|
6373
|
-
* - `internals`: undefined (property only) (readonly)
|
|
6374
|
-
* - `isFullCorrectResponse`: undefined (property only)
|
|
6375
|
-
* - `correctResponse`: Get/set correct response programmatically.
|
|
6376
|
-
* This property syncs with the `correct-response` attribute. (property only)
|
|
6377
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
6378
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
6379
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
6380
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
6381
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
6382
|
-
* - `value`: undefined (property only)
|
|
6383
|
-
*
|
|
6384
|
-
* ## Events
|
|
6385
|
-
*
|
|
6386
|
-
* Events that will be emitted by the component.
|
|
6387
|
-
*
|
|
6388
|
-
* - `qti-interaction-response`: undefined
|
|
6389
|
-
* - `qti-register-interaction`: undefined
|
|
6409
|
+
* - `allowReorder`: undefined (property only)
|
|
6410
|
+
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
6411
|
+
* - `sortableAnimationConfig`: undefined (property only)
|
|
6412
|
+
* - `isDraggingFromSlot`: undefined (property only) (readonly)
|
|
6390
6413
|
*
|
|
6391
6414
|
* ## Methods
|
|
6392
6415
|
*
|
|
6393
6416
|
* Methods that can be called to access component functionality.
|
|
6394
6417
|
*
|
|
6395
|
-
* - `
|
|
6396
|
-
* - `
|
|
6397
|
-
* - `
|
|
6398
|
-
* - `
|
|
6399
|
-
* - `
|
|
6400
|
-
* - `
|
|
6401
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
6402
|
-
* - `reset(save = true) => void`: undefined
|
|
6403
|
-
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
6404
|
-
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
6405
|
-
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
6406
|
-
* Part of the Form-Associated Custom Elements API.
|
|
6418
|
+
* - `shouldReturnToInventoryOnInventoryDrop() => boolean`: undefined
|
|
6419
|
+
* - `initiateDrag(dragElement: HTMLElement, startX: number, startY: number, inputType: 'mouse' | 'touch', rest: [eventSource?: 'pointer' | 'mouse' | 'touch']) => void`: undefined
|
|
6420
|
+
* - `onSortableDragMove(clientX: number, clientY: number) => void`: undefined
|
|
6421
|
+
* - `allowDrop(draggable: HTMLElement, droppable: HTMLElement) => boolean`: undefined
|
|
6422
|
+
* - `handleDrop(draggable: HTMLElement, droppable: HTMLElement) => void`: undefined
|
|
6423
|
+
* - `handleInvalidDrop(dragSource: HTMLElement | null) => void`: undefined
|
|
6407
6424
|
*/
|
|
6408
6425
|
"qti-graphic-gap-match-interaction": Partial<
|
|
6409
6426
|
QtiGraphicGapMatchInteractionProps &
|
|
@@ -6652,54 +6669,24 @@ export type CustomElements = {
|
|
|
6652
6669
|
*
|
|
6653
6670
|
* - `class`: undefined
|
|
6654
6671
|
* - `response-identifier`/`responseIdentifier`: undefined
|
|
6655
|
-
* - `min-associations`/`minAssociations`: undefined
|
|
6656
|
-
* - `max-associations`/`maxAssociations`: undefined
|
|
6657
|
-
* - `disabled`: undefined
|
|
6658
|
-
* - `readonly`: undefined
|
|
6659
|
-
* - `name`: undefined
|
|
6660
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
6661
|
-
* string via attribute or as string/string[] via property.
|
|
6662
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
6663
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
6664
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
6665
|
-
* Creates a disabled copy positioned after this interaction.
|
|
6666
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
6667
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
6668
6672
|
* - `response`: undefined (property only)
|
|
6669
|
-
* - `
|
|
6670
|
-
* - `
|
|
6671
|
-
* - `
|
|
6672
|
-
*
|
|
6673
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
6674
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
6675
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
6676
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
6677
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
6678
|
-
* - `value`: undefined (property only)
|
|
6679
|
-
*
|
|
6680
|
-
* ## Events
|
|
6681
|
-
*
|
|
6682
|
-
* Events that will be emitted by the component.
|
|
6683
|
-
*
|
|
6684
|
-
* - `qti-interaction-response`: undefined
|
|
6685
|
-
* - `qti-register-interaction`: undefined
|
|
6673
|
+
* - `allowReorder`: undefined (property only)
|
|
6674
|
+
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
6675
|
+
* - `sortableAnimationConfig`: undefined (property only)
|
|
6676
|
+
* - `isDraggingFromSlot`: undefined (property only) (readonly)
|
|
6686
6677
|
*
|
|
6687
6678
|
* ## Methods
|
|
6688
6679
|
*
|
|
6689
|
-
* Methods that can be called to access component functionality.
|
|
6690
|
-
*
|
|
6691
|
-
* - `validate() => boolean`: undefined
|
|
6692
|
-
* - `
|
|
6693
|
-
* - `
|
|
6694
|
-
* - `
|
|
6695
|
-
* - `
|
|
6696
|
-
* - `
|
|
6697
|
-
* - `
|
|
6698
|
-
* - `
|
|
6699
|
-
* - `reset(save = true) => void`: undefined
|
|
6700
|
-
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
6701
|
-
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
6702
|
-
* Part of the Form-Associated Custom Elements API.
|
|
6680
|
+
* Methods that can be called to access component functionality.
|
|
6681
|
+
*
|
|
6682
|
+
* - `validate() => boolean`: undefined
|
|
6683
|
+
* - `toggleInternalCorrectResponse(show: boolean) => void`: undefined
|
|
6684
|
+
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
6685
|
+
* - `initiateDrag(dragElement: HTMLElement, startX: number, startY: number, inputType: 'mouse' | 'touch', rest: [eventSource?: 'pointer' | 'mouse' | 'touch']) => void`: undefined
|
|
6686
|
+
* - `onSortableDragMove(clientX: number, clientY: number) => void`: undefined
|
|
6687
|
+
* - `allowDrop(draggable: HTMLElement, droppable: HTMLElement) => boolean`: undefined
|
|
6688
|
+
* - `handleDrop(draggable: HTMLElement, droppable: HTMLElement) => void`: undefined
|
|
6689
|
+
* - `handleInvalidDrop(dragSource: HTMLElement | null) => void`: undefined
|
|
6703
6690
|
*/
|
|
6704
6691
|
"qti-match-interaction": Partial<
|
|
6705
6692
|
QtiMatchInteractionProps & BaseProps<QtiMatchInteraction> & BaseEvents
|
|
@@ -6768,58 +6755,26 @@ export type CustomElements = {
|
|
|
6768
6755
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
6769
6756
|
*
|
|
6770
6757
|
* - `orientation`: orientation of choices
|
|
6771
|
-
* - `min-associations`/`minAssociations`: undefined
|
|
6772
|
-
* - `max-associations`/`maxAssociations`: undefined
|
|
6773
|
-
* - `response-identifier`/`responseIdentifier`: undefined
|
|
6774
|
-
* - `disabled`: undefined
|
|
6775
|
-
* - `readonly`: undefined
|
|
6776
|
-
* - `name`: undefined
|
|
6777
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
6778
|
-
* string via attribute or as string/string[] via property.
|
|
6779
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
6780
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
6781
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
6782
|
-
* Creates a disabled copy positioned after this interaction.
|
|
6783
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
6784
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
6785
6758
|
* - `correctResponses`: undefined (property only)
|
|
6786
6759
|
* - `showCorrectResponses`: undefined (property only)
|
|
6787
|
-
* - `
|
|
6788
|
-
* - `
|
|
6789
|
-
* - `
|
|
6790
|
-
* - `
|
|
6791
|
-
* This property syncs with the `correct-response` attribute. (property only)
|
|
6792
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
6793
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
6794
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
6795
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
6796
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
6797
|
-
* - `value`: undefined (property only)
|
|
6798
|
-
*
|
|
6799
|
-
* ## Events
|
|
6800
|
-
*
|
|
6801
|
-
* Events that will be emitted by the component.
|
|
6802
|
-
*
|
|
6803
|
-
* - `qti-interaction-response`: undefined
|
|
6804
|
-
* - `qti-register-interaction`: undefined
|
|
6760
|
+
* - `allowReorder`: undefined (property only)
|
|
6761
|
+
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
6762
|
+
* - `sortableAnimationConfig`: undefined (property only)
|
|
6763
|
+
* - `isDraggingFromSlot`: undefined (property only) (readonly)
|
|
6805
6764
|
*
|
|
6806
6765
|
* ## Methods
|
|
6807
6766
|
*
|
|
6808
6767
|
* Methods that can be called to access component functionality.
|
|
6809
6768
|
*
|
|
6810
6769
|
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
6811
|
-
* - `getValue(val: string[]) => void`: undefined
|
|
6812
|
-
* - `handleDraggableContainerChange(dragContainersAdded: HTMLElement[], dragContainersRemoved: HTMLElement[]) => void`: undefined
|
|
6813
|
-
* - `dragContainersModified(addedDragContainers: HTMLElement[], removedDragContainers: HTMLElement[]) => void`: undefined
|
|
6814
|
-
* - `handleDraggablesChange(dragsAdded: HTMLElement[], dragsRemoved: HTMLElement[]) => void`: undefined
|
|
6815
|
-
* - `handleDroppablesChange(dropsAdded: HTMLElement[], dropsRemoved: HTMLElement[]) => void`: undefined
|
|
6816
|
-
* - `validate() => boolean | null`: undefined
|
|
6817
|
-
* - `reportValidity() => boolean`: undefined
|
|
6818
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
6819
|
-
* - `reset(save = true) => void`: undefined
|
|
6820
6770
|
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
6821
|
-
* - `
|
|
6822
|
-
*
|
|
6771
|
+
* - `getValue(val: string[]) => void`: undefined
|
|
6772
|
+
* - `shouldTreatBlockedMaxAsInvalid() => boolean`: undefined
|
|
6773
|
+
* - `initiateDrag(dragElement: HTMLElement, startX: number, startY: number, inputType: 'mouse' | 'touch', rest: [eventSource?: 'pointer' | 'mouse' | 'touch']) => void`: undefined
|
|
6774
|
+
* - `onSortableDragMove(clientX: number, clientY: number) => void`: undefined
|
|
6775
|
+
* - `allowDrop(draggable: HTMLElement, droppable: HTMLElement) => boolean`: undefined
|
|
6776
|
+
* - `handleDrop(draggable: HTMLElement, droppable: HTMLElement) => void`: undefined
|
|
6777
|
+
* - `handleInvalidDrop(dragSource: HTMLElement | null) => void`: undefined
|
|
6823
6778
|
*/
|
|
6824
6779
|
"qti-order-interaction": Partial<
|
|
6825
6780
|
QtiOrderInteractionProps & BaseProps<QtiOrderInteraction> & BaseEvents
|
|
@@ -6838,7 +6793,6 @@ export type CustomElements = {
|
|
|
6838
6793
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
6839
6794
|
* - `data-require-js-url`/`requireJsUrl`: undefined
|
|
6840
6795
|
* - `data-base-url`/`baseUrl`: undefined
|
|
6841
|
-
* - `data-use-default-shims`/`useDefaultShims`: undefined
|
|
6842
6796
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
6843
6797
|
* - `response-identifier`/`responseIdentifier`: undefined
|
|
6844
6798
|
* - `disabled`: undefined
|
|
@@ -6908,7 +6862,6 @@ export type CustomElements = {
|
|
|
6908
6862
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
6909
6863
|
* - `data-require-js-url`/`requireJsUrl`: undefined
|
|
6910
6864
|
* - `data-base-url`/`baseUrl`: undefined
|
|
6911
|
-
* - `data-use-default-shims`/`useDefaultShims`: undefined
|
|
6912
6865
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
6913
6866
|
* - `response-identifier`/`responseIdentifier`: undefined
|
|
6914
6867
|
* - `disabled`: undefined
|
|
@@ -9188,26 +9141,289 @@ export type CustomElementsSolidJs = {
|
|
|
9188
9141
|
/**
|
|
9189
9142
|
*
|
|
9190
9143
|
*
|
|
9191
|
-
* ## Attributes & Properties
|
|
9144
|
+
* ## Attributes & Properties
|
|
9145
|
+
*
|
|
9146
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9147
|
+
*
|
|
9148
|
+
* - `view`: undefined
|
|
9149
|
+
*/
|
|
9150
|
+
"test-scoring-feedback": Partial<
|
|
9151
|
+
TestScoringFeedbackProps &
|
|
9152
|
+
TestScoringFeedbackSolidJsProps &
|
|
9153
|
+
BaseProps<TestScoringFeedback> &
|
|
9154
|
+
BaseEvents
|
|
9155
|
+
>;
|
|
9156
|
+
|
|
9157
|
+
/**
|
|
9158
|
+
*
|
|
9159
|
+
*/
|
|
9160
|
+
"test-check-item": Partial<
|
|
9161
|
+
TestCheckItemProps &
|
|
9162
|
+
TestCheckItemSolidJsProps &
|
|
9163
|
+
BaseProps<TestCheckItem> &
|
|
9164
|
+
BaseEvents
|
|
9165
|
+
>;
|
|
9166
|
+
|
|
9167
|
+
/**
|
|
9168
|
+
*
|
|
9169
|
+
*
|
|
9170
|
+
* ## Attributes & Properties
|
|
9171
|
+
*
|
|
9172
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9173
|
+
*
|
|
9174
|
+
* - `_testContext`: undefined (property only)
|
|
9175
|
+
* - `getVariables`: undefined (property only)
|
|
9176
|
+
*
|
|
9177
|
+
* ## Methods
|
|
9178
|
+
*
|
|
9179
|
+
* Methods that can be called to access component functionality.
|
|
9180
|
+
*
|
|
9181
|
+
* - `calculate() => Readonly<T>`: undefined
|
|
9182
|
+
*/
|
|
9183
|
+
"qti-test-variables": Partial<
|
|
9184
|
+
QtiTestVariablesProps &
|
|
9185
|
+
QtiTestVariablesSolidJsProps &
|
|
9186
|
+
BaseProps<QtiTestVariables> &
|
|
9187
|
+
BaseEvents
|
|
9188
|
+
>;
|
|
9189
|
+
|
|
9190
|
+
/**
|
|
9191
|
+
*
|
|
9192
|
+
*
|
|
9193
|
+
* ## Attributes & Properties
|
|
9194
|
+
*
|
|
9195
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9196
|
+
*
|
|
9197
|
+
* - `match-min`/`matchMin`: the minimal number of selections a candidate must make
|
|
9198
|
+
* - `match-max`/`matchMax`: the maximum number of selections a candidate must make, the other options will be disabled when max options is checked
|
|
9199
|
+
* - `fixed`: undefined
|
|
9200
|
+
* - `identifier`: undefined
|
|
9201
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
9202
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
9203
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
9204
|
+
* - `internals`: undefined (property only)
|
|
9205
|
+
*
|
|
9206
|
+
* ## Events
|
|
9207
|
+
*
|
|
9208
|
+
* Events that will be emitted by the component.
|
|
9209
|
+
*
|
|
9210
|
+
* - `undefined`: undefined
|
|
9211
|
+
*
|
|
9212
|
+
* ## Methods
|
|
9213
|
+
*
|
|
9214
|
+
* Methods that can be called to access component functionality.
|
|
9215
|
+
*
|
|
9216
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
9217
|
+
*/
|
|
9218
|
+
"qti-simple-associable-choice": Partial<
|
|
9219
|
+
QtiSimpleAssociableChoiceProps &
|
|
9220
|
+
QtiSimpleAssociableChoiceSolidJsProps &
|
|
9221
|
+
BaseProps<QtiSimpleAssociableChoice> &
|
|
9222
|
+
BaseEvents
|
|
9223
|
+
>;
|
|
9224
|
+
|
|
9225
|
+
/**
|
|
9226
|
+
*
|
|
9227
|
+
*
|
|
9228
|
+
* ## Attributes & Properties
|
|
9229
|
+
*
|
|
9230
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9231
|
+
*
|
|
9232
|
+
* - `allowReorder`: undefined (property only)
|
|
9233
|
+
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
9234
|
+
* - `sortableAnimationConfig`: undefined (property only)
|
|
9235
|
+
* - `isDraggingFromSlot`: undefined (property only) (readonly)
|
|
9236
|
+
*
|
|
9237
|
+
* ## Methods
|
|
9238
|
+
*
|
|
9239
|
+
* Methods that can be called to access component functionality.
|
|
9240
|
+
*
|
|
9241
|
+
* - `getValue(val: string[]) => void`: undefined
|
|
9242
|
+
* - `initiateDrag(dragElement: HTMLElement, startX: number, startY: number, inputType: 'mouse' | 'touch', rest: [eventSource?: 'pointer' | 'mouse' | 'touch']) => void`: undefined
|
|
9243
|
+
* - `onSortableDragMove(clientX: number, clientY: number) => void`: undefined
|
|
9244
|
+
* - `allowDrop(draggable: HTMLElement, droppable: HTMLElement) => boolean`: undefined
|
|
9245
|
+
* - `handleDrop(draggable: HTMLElement, droppable: HTMLElement) => void`: undefined
|
|
9246
|
+
* - `handleInvalidDrop(dragSource: HTMLElement | null) => void`: undefined
|
|
9247
|
+
*/
|
|
9248
|
+
"qti-associate-interaction": Partial<
|
|
9249
|
+
QtiAssociateInteractionProps &
|
|
9250
|
+
QtiAssociateInteractionSolidJsProps &
|
|
9251
|
+
BaseProps<QtiAssociateInteraction> &
|
|
9252
|
+
BaseEvents
|
|
9253
|
+
>;
|
|
9254
|
+
|
|
9255
|
+
/**
|
|
9256
|
+
* qti-order-interaction
|
|
9257
|
+
* qti-choice-interaction
|
|
9258
|
+
*
|
|
9259
|
+
* ## Attributes & Properties
|
|
9260
|
+
*
|
|
9261
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9262
|
+
*
|
|
9263
|
+
* - `template-identifier`/`templateIdentifier`: undefined
|
|
9264
|
+
* - `show-hide`/`showHide`: undefined
|
|
9265
|
+
* - `fixed`: undefined
|
|
9266
|
+
* - `identifier`: undefined
|
|
9267
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
9268
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
9269
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
9270
|
+
* - `marker`: undefined (property only)
|
|
9271
|
+
* - `checked`: undefined (property only) (readonly)
|
|
9272
|
+
* - `internals`: undefined (property only)
|
|
9273
|
+
*
|
|
9274
|
+
* ## Events
|
|
9275
|
+
*
|
|
9276
|
+
* Events that will be emitted by the component.
|
|
9277
|
+
*
|
|
9278
|
+
* - `undefined`: undefined
|
|
9279
|
+
*
|
|
9280
|
+
* ## Methods
|
|
9281
|
+
*
|
|
9282
|
+
* Methods that can be called to access component functionality.
|
|
9283
|
+
*
|
|
9284
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
9285
|
+
*/
|
|
9286
|
+
"qti-simple-choice": Partial<
|
|
9287
|
+
QtiSimpleChoiceProps &
|
|
9288
|
+
QtiSimpleChoiceSolidJsProps &
|
|
9289
|
+
BaseProps<QtiSimpleChoice> &
|
|
9290
|
+
BaseEvents
|
|
9291
|
+
>;
|
|
9292
|
+
|
|
9293
|
+
/**
|
|
9294
|
+
*
|
|
9295
|
+
*
|
|
9296
|
+
* ## Attributes & Properties
|
|
9297
|
+
*
|
|
9298
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9299
|
+
*
|
|
9300
|
+
* - `orientation`: undefined
|
|
9301
|
+
* - `class`: undefined
|
|
9302
|
+
* - `min-choices`/`minChoices`: undefined
|
|
9303
|
+
* - `max-choices`/`maxChoices`: undefined
|
|
9304
|
+
* - `response-identifier`/`responseIdentifier`: undefined
|
|
9305
|
+
* - `disabled`: undefined
|
|
9306
|
+
* - `readonly`: undefined
|
|
9307
|
+
* - `name`: undefined
|
|
9308
|
+
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
9309
|
+
* string via attribute or as string/string[] via property.
|
|
9310
|
+
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
9311
|
+
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
9312
|
+
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
9313
|
+
* Creates a disabled copy positioned after this interaction.
|
|
9314
|
+
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
9315
|
+
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
9316
|
+
* - `response`: undefined (property only)
|
|
9317
|
+
* - `value`: undefined (property only)
|
|
9318
|
+
* - `internals`: undefined (property only) (readonly)
|
|
9319
|
+
* - `isFullCorrectResponse`: undefined (property only)
|
|
9320
|
+
* - `correctResponse`: Get/set correct response programmatically.
|
|
9321
|
+
* This property syncs with the `correct-response` attribute. (property only)
|
|
9322
|
+
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
9323
|
+
* Works in both standalone mode (using `correct-response` attribute) and
|
|
9324
|
+
* item context mode (using responseVariable). (property only) (readonly)
|
|
9325
|
+
* - `isInline`: undefined (property only) (readonly)
|
|
9326
|
+
* - `responseVariable`: undefined (property only) (readonly)
|
|
9327
|
+
*
|
|
9328
|
+
* ## Events
|
|
9329
|
+
*
|
|
9330
|
+
* Events that will be emitted by the component.
|
|
9331
|
+
*
|
|
9332
|
+
* - `qti-register-interaction`: undefined
|
|
9333
|
+
* - `qti-interaction-response`: undefined
|
|
9334
|
+
*
|
|
9335
|
+
* ## Methods
|
|
9336
|
+
*
|
|
9337
|
+
* Methods that can be called to access component functionality.
|
|
9338
|
+
*
|
|
9339
|
+
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
9340
|
+
* - `validate() => boolean`: undefined
|
|
9341
|
+
* - `reportValidity() => boolean`: undefined
|
|
9342
|
+
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
9343
|
+
* - `reset() => void`: undefined
|
|
9344
|
+
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
9345
|
+
* Part of the Form-Associated Custom Elements API.
|
|
9346
|
+
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
9347
|
+
*/
|
|
9348
|
+
"qti-choice-interaction": Partial<
|
|
9349
|
+
QtiChoiceInteractionProps &
|
|
9350
|
+
QtiChoiceInteractionSolidJsProps &
|
|
9351
|
+
BaseProps<QtiChoiceInteraction> &
|
|
9352
|
+
BaseEvents
|
|
9353
|
+
>;
|
|
9354
|
+
|
|
9355
|
+
/**
|
|
9356
|
+
*
|
|
9357
|
+
*
|
|
9358
|
+
* ## Events
|
|
9359
|
+
*
|
|
9360
|
+
* Events that will be emitted by the component.
|
|
9361
|
+
*
|
|
9362
|
+
* - `qti-register-hotspot`: undefined
|
|
9363
|
+
*/
|
|
9364
|
+
"qti-associable-hotspot": Partial<
|
|
9365
|
+
QtiAssociableHotspotProps &
|
|
9366
|
+
QtiAssociableHotspotSolidJsProps &
|
|
9367
|
+
BaseProps<QtiAssociableHotspot> &
|
|
9368
|
+
BaseEvents
|
|
9369
|
+
>;
|
|
9370
|
+
|
|
9371
|
+
/**
|
|
9372
|
+
*
|
|
9373
|
+
*
|
|
9374
|
+
* ## Attributes & Properties
|
|
9375
|
+
*
|
|
9376
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9377
|
+
*
|
|
9378
|
+
* - `tabindex`: undefined
|
|
9379
|
+
*/
|
|
9380
|
+
"qti-gap": Partial<
|
|
9381
|
+
QtiGapProps & QtiGapSolidJsProps & BaseProps<QtiGap> & BaseEvents
|
|
9382
|
+
>;
|
|
9383
|
+
|
|
9384
|
+
/**
|
|
9385
|
+
*
|
|
9386
|
+
*
|
|
9387
|
+
* ## Attributes & Properties
|
|
9388
|
+
*
|
|
9389
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9390
|
+
*
|
|
9391
|
+
* - `tabindex`: undefined
|
|
9392
|
+
*/
|
|
9393
|
+
"qti-gap-img": Partial<
|
|
9394
|
+
QtiGapImgProps & QtiGapImgSolidJsProps & BaseProps<QtiGapImg> & BaseEvents
|
|
9395
|
+
>;
|
|
9396
|
+
|
|
9397
|
+
/**
|
|
9398
|
+
*
|
|
9399
|
+
*
|
|
9400
|
+
* ## Attributes & Properties
|
|
9401
|
+
*
|
|
9402
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9403
|
+
*
|
|
9404
|
+
* - `tabindex`: undefined
|
|
9405
|
+
* - `identifier`: undefined
|
|
9406
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
9407
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
9408
|
+
* - `tabIndex`: undefined (property only)
|
|
9409
|
+
* - `internals`: undefined (property only)
|
|
9410
|
+
*
|
|
9411
|
+
* ## Events
|
|
9412
|
+
*
|
|
9413
|
+
* Events that will be emitted by the component.
|
|
9192
9414
|
*
|
|
9193
|
-
*
|
|
9415
|
+
* - `undefined`: undefined
|
|
9194
9416
|
*
|
|
9195
|
-
*
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
TestScoringFeedbackProps &
|
|
9199
|
-
TestScoringFeedbackSolidJsProps &
|
|
9200
|
-
BaseProps<TestScoringFeedback> &
|
|
9201
|
-
BaseEvents
|
|
9202
|
-
>;
|
|
9203
|
-
|
|
9204
|
-
/**
|
|
9417
|
+
* ## Methods
|
|
9418
|
+
*
|
|
9419
|
+
* Methods that can be called to access component functionality.
|
|
9205
9420
|
*
|
|
9421
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
9206
9422
|
*/
|
|
9207
|
-
"
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
BaseProps<
|
|
9423
|
+
"qti-gap-text": Partial<
|
|
9424
|
+
QtiGapTextProps &
|
|
9425
|
+
QtiGapTextSolidJsProps &
|
|
9426
|
+
BaseProps<QtiGapText> &
|
|
9211
9427
|
BaseEvents
|
|
9212
9428
|
>;
|
|
9213
9429
|
|
|
@@ -9218,19 +9434,30 @@ export type CustomElementsSolidJs = {
|
|
|
9218
9434
|
*
|
|
9219
9435
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9220
9436
|
*
|
|
9221
|
-
* - `
|
|
9222
|
-
* - `
|
|
9437
|
+
* - `aria-ordervalue`/`order`: undefined
|
|
9438
|
+
* - `aria-ordercorrectvalue`/`orderCorrect`: undefined
|
|
9439
|
+
* - `identifier`: undefined
|
|
9440
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
9441
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
9442
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
9443
|
+
* - `internals`: undefined (property only)
|
|
9444
|
+
*
|
|
9445
|
+
* ## Events
|
|
9446
|
+
*
|
|
9447
|
+
* Events that will be emitted by the component.
|
|
9448
|
+
*
|
|
9449
|
+
* - `undefined`: undefined
|
|
9223
9450
|
*
|
|
9224
9451
|
* ## Methods
|
|
9225
9452
|
*
|
|
9226
9453
|
* Methods that can be called to access component functionality.
|
|
9227
9454
|
*
|
|
9228
|
-
* - `
|
|
9455
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
9229
9456
|
*/
|
|
9230
|
-
"qti-
|
|
9231
|
-
|
|
9232
|
-
|
|
9233
|
-
BaseProps<
|
|
9457
|
+
"qti-hotspot-choice": Partial<
|
|
9458
|
+
QtiHotspotChoiceProps &
|
|
9459
|
+
QtiHotspotChoiceSolidJsProps &
|
|
9460
|
+
BaseProps<QtiHotspotChoice> &
|
|
9234
9461
|
BaseEvents
|
|
9235
9462
|
>;
|
|
9236
9463
|
|
|
@@ -9241,60 +9468,28 @@ export type CustomElementsSolidJs = {
|
|
|
9241
9468
|
*
|
|
9242
9469
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9243
9470
|
*
|
|
9244
|
-
* - `
|
|
9245
|
-
* - `
|
|
9246
|
-
* - `
|
|
9247
|
-
* - `
|
|
9248
|
-
* - `
|
|
9249
|
-
* - `name`: undefined
|
|
9250
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
9251
|
-
* string via attribute or as string/string[] via property.
|
|
9252
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
9253
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
9254
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
9255
|
-
* Creates a disabled copy positioned after this interaction.
|
|
9256
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
9257
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
9258
|
-
* - `response`: undefined (property only)
|
|
9259
|
-
* - `internals`: undefined (property only) (readonly)
|
|
9260
|
-
* - `isFullCorrectResponse`: undefined (property only)
|
|
9261
|
-
* - `correctResponse`: Get/set correct response programmatically.
|
|
9262
|
-
* This property syncs with the `correct-response` attribute. (property only)
|
|
9263
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
9264
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
9265
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
9266
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
9267
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
9268
|
-
* - `value`: undefined (property only)
|
|
9471
|
+
* - `identifier`: undefined
|
|
9472
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
9473
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
9474
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
9475
|
+
* - `internals`: undefined (property only)
|
|
9269
9476
|
*
|
|
9270
9477
|
* ## Events
|
|
9271
9478
|
*
|
|
9272
9479
|
* Events that will be emitted by the component.
|
|
9273
9480
|
*
|
|
9274
|
-
* - `
|
|
9275
|
-
* - `qti-register-interaction`: undefined
|
|
9481
|
+
* - `undefined`: undefined
|
|
9276
9482
|
*
|
|
9277
9483
|
* ## Methods
|
|
9278
9484
|
*
|
|
9279
9485
|
* Methods that can be called to access component functionality.
|
|
9280
9486
|
*
|
|
9281
|
-
* - `
|
|
9282
|
-
* - `dragContainersModified(addedDragContainers: HTMLElement[], removedDragContainers: HTMLElement[]) => void`: undefined
|
|
9283
|
-
* - `handleDraggablesChange(dragsAdded: HTMLElement[], dragsRemoved: HTMLElement[]) => void`: undefined
|
|
9284
|
-
* - `handleDroppablesChange(dropsAdded: HTMLElement[], dropsRemoved: HTMLElement[]) => void`: undefined
|
|
9285
|
-
* - `validate() => boolean | null`: undefined
|
|
9286
|
-
* - `reportValidity() => boolean`: undefined
|
|
9287
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
9288
|
-
* - `reset(save = true) => void`: undefined
|
|
9289
|
-
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
9290
|
-
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
9291
|
-
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
9292
|
-
* Part of the Form-Associated Custom Elements API.
|
|
9487
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
9293
9488
|
*/
|
|
9294
|
-
"qti-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
BaseProps<
|
|
9489
|
+
"qti-hottext": Partial<
|
|
9490
|
+
QtiHottextProps &
|
|
9491
|
+
QtiHottextSolidJsProps &
|
|
9492
|
+
BaseProps<QtiHottext> &
|
|
9298
9493
|
BaseEvents
|
|
9299
9494
|
>;
|
|
9300
9495
|
|
|
@@ -9305,61 +9500,40 @@ export type CustomElementsSolidJs = {
|
|
|
9305
9500
|
*
|
|
9306
9501
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9307
9502
|
*
|
|
9308
|
-
* - `
|
|
9309
|
-
* - `
|
|
9310
|
-
* - `
|
|
9311
|
-
* - `
|
|
9312
|
-
* - `
|
|
9313
|
-
* - `disabled`: undefined
|
|
9314
|
-
* - `readonly`: undefined
|
|
9315
|
-
* - `name`: undefined
|
|
9316
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
9317
|
-
* string via attribute or as string/string[] via property.
|
|
9318
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
9319
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
9320
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
9321
|
-
* Creates a disabled copy positioned after this interaction.
|
|
9322
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
9323
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
9324
|
-
* - `response`: undefined (property only)
|
|
9325
|
-
* - `value`: undefined (property only)
|
|
9326
|
-
* - `internals`: undefined (property only) (readonly)
|
|
9327
|
-
* - `isFullCorrectResponse`: undefined (property only)
|
|
9328
|
-
* - `correctResponse`: Get/set correct response programmatically.
|
|
9329
|
-
* This property syncs with the `correct-response` attribute. (property only)
|
|
9330
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
9331
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
9332
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
9333
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
9334
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
9503
|
+
* - `identifier`: undefined
|
|
9504
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
9505
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
9506
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
9507
|
+
* - `internals`: undefined (property only)
|
|
9335
9508
|
*
|
|
9336
9509
|
* ## Events
|
|
9337
9510
|
*
|
|
9338
9511
|
* Events that will be emitted by the component.
|
|
9339
9512
|
*
|
|
9340
|
-
* - `qti-register
|
|
9341
|
-
* - `qti-
|
|
9513
|
+
* - `qti-inline-choice-register`: undefined
|
|
9514
|
+
* - `qti-inline-choice-select`: undefined
|
|
9515
|
+
* - `undefined`: undefined
|
|
9342
9516
|
*
|
|
9343
9517
|
* ## Methods
|
|
9344
9518
|
*
|
|
9345
9519
|
* Methods that can be called to access component functionality.
|
|
9346
9520
|
*
|
|
9347
|
-
* - `
|
|
9348
|
-
* - `validate() => boolean`: undefined
|
|
9349
|
-
* - `reportValidity() => boolean`: undefined
|
|
9350
|
-
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
9351
|
-
* - `reset() => void`: undefined
|
|
9352
|
-
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
9353
|
-
* Part of the Form-Associated Custom Elements API.
|
|
9354
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
9521
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
9355
9522
|
*/
|
|
9356
|
-
"qti-choice
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
BaseProps<
|
|
9523
|
+
"qti-inline-choice": Partial<
|
|
9524
|
+
QtiInlineChoiceProps &
|
|
9525
|
+
QtiInlineChoiceSolidJsProps &
|
|
9526
|
+
BaseProps<QtiInlineChoice> &
|
|
9360
9527
|
BaseEvents
|
|
9361
9528
|
>;
|
|
9362
9529
|
|
|
9530
|
+
/**
|
|
9531
|
+
*
|
|
9532
|
+
*/
|
|
9533
|
+
"qti-prompt": Partial<
|
|
9534
|
+
QtiPromptProps & QtiPromptSolidJsProps & BaseProps<QtiPrompt> & BaseEvents
|
|
9535
|
+
>;
|
|
9536
|
+
|
|
9363
9537
|
/**
|
|
9364
9538
|
* QTI Custom Interaction component for legacy CES-based interactions.
|
|
9365
9539
|
*
|
|
@@ -9538,38 +9712,10 @@ export type CustomElementsSolidJs = {
|
|
|
9538
9712
|
*
|
|
9539
9713
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9540
9714
|
*
|
|
9541
|
-
* - `
|
|
9542
|
-
* - `
|
|
9543
|
-
* - `
|
|
9544
|
-
* - `
|
|
9545
|
-
* - `readonly`: undefined
|
|
9546
|
-
* - `name`: undefined
|
|
9547
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
9548
|
-
* string via attribute or as string/string[] via property.
|
|
9549
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
9550
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
9551
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
9552
|
-
* Creates a disabled copy positioned after this interaction.
|
|
9553
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
9554
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
9555
|
-
* - `response`: undefined (property only)
|
|
9556
|
-
* - `internals`: undefined (property only) (readonly)
|
|
9557
|
-
* - `isFullCorrectResponse`: undefined (property only)
|
|
9558
|
-
* - `correctResponse`: Get/set correct response programmatically.
|
|
9559
|
-
* This property syncs with the `correct-response` attribute. (property only)
|
|
9560
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
9561
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
9562
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
9563
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
9564
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
9565
|
-
* - `value`: undefined (property only)
|
|
9566
|
-
*
|
|
9567
|
-
* ## Events
|
|
9568
|
-
*
|
|
9569
|
-
* Events that will be emitted by the component.
|
|
9570
|
-
*
|
|
9571
|
-
* - `qti-interaction-response`: undefined
|
|
9572
|
-
* - `qti-register-interaction`: undefined
|
|
9715
|
+
* - `allowReorder`: undefined (property only)
|
|
9716
|
+
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
9717
|
+
* - `sortableAnimationConfig`: undefined (property only)
|
|
9718
|
+
* - `isDraggingFromSlot`: undefined (property only) (readonly)
|
|
9573
9719
|
*
|
|
9574
9720
|
* ## Methods
|
|
9575
9721
|
*
|
|
@@ -9577,16 +9723,11 @@ export type CustomElementsSolidJs = {
|
|
|
9577
9723
|
*
|
|
9578
9724
|
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
9579
9725
|
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
9580
|
-
* - `
|
|
9581
|
-
* - `
|
|
9582
|
-
* - `
|
|
9583
|
-
* - `
|
|
9584
|
-
* - `
|
|
9585
|
-
* - `reportValidity() => boolean`: undefined
|
|
9586
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
9587
|
-
* - `reset(save = true) => void`: undefined
|
|
9588
|
-
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
9589
|
-
* Part of the Form-Associated Custom Elements API.
|
|
9726
|
+
* - `initiateDrag(dragElement: HTMLElement, startX: number, startY: number, inputType: 'mouse' | 'touch', rest: [eventSource?: 'pointer' | 'mouse' | 'touch']) => void`: undefined
|
|
9727
|
+
* - `onSortableDragMove(clientX: number, clientY: number) => void`: undefined
|
|
9728
|
+
* - `allowDrop(draggable: HTMLElement, droppable: HTMLElement) => boolean`: undefined
|
|
9729
|
+
* - `handleDrop(draggable: HTMLElement, droppable: HTMLElement) => void`: undefined
|
|
9730
|
+
* - `handleInvalidDrop(dragSource: HTMLElement | null) => void`: undefined
|
|
9590
9731
|
*/
|
|
9591
9732
|
"qti-gap-match-interaction": Partial<
|
|
9592
9733
|
QtiGapMatchInteractionProps &
|
|
@@ -9661,55 +9802,21 @@ export type CustomElementsSolidJs = {
|
|
|
9661
9802
|
*
|
|
9662
9803
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
9663
9804
|
*
|
|
9664
|
-
* - `
|
|
9665
|
-
* - `
|
|
9666
|
-
* - `
|
|
9667
|
-
* - `
|
|
9668
|
-
* - `readonly`: undefined
|
|
9669
|
-
* - `name`: undefined
|
|
9670
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
9671
|
-
* string via attribute or as string/string[] via property.
|
|
9672
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
9673
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
9674
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
9675
|
-
* Creates a disabled copy positioned after this interaction.
|
|
9676
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
9677
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
9678
|
-
* - `response`: undefined (property only)
|
|
9679
|
-
* - `internals`: undefined (property only) (readonly)
|
|
9680
|
-
* - `isFullCorrectResponse`: undefined (property only)
|
|
9681
|
-
* - `correctResponse`: Get/set correct response programmatically.
|
|
9682
|
-
* This property syncs with the `correct-response` attribute. (property only)
|
|
9683
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
9684
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
9685
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
9686
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
9687
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
9688
|
-
* - `value`: undefined (property only)
|
|
9689
|
-
*
|
|
9690
|
-
* ## Events
|
|
9691
|
-
*
|
|
9692
|
-
* Events that will be emitted by the component.
|
|
9693
|
-
*
|
|
9694
|
-
* - `qti-interaction-response`: undefined
|
|
9695
|
-
* - `qti-register-interaction`: undefined
|
|
9805
|
+
* - `allowReorder`: undefined (property only)
|
|
9806
|
+
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
9807
|
+
* - `sortableAnimationConfig`: undefined (property only)
|
|
9808
|
+
* - `isDraggingFromSlot`: undefined (property only) (readonly)
|
|
9696
9809
|
*
|
|
9697
9810
|
* ## Methods
|
|
9698
9811
|
*
|
|
9699
9812
|
* Methods that can be called to access component functionality.
|
|
9700
9813
|
*
|
|
9701
|
-
* - `
|
|
9702
|
-
* - `
|
|
9703
|
-
* - `
|
|
9704
|
-
* - `
|
|
9705
|
-
* - `
|
|
9706
|
-
* - `
|
|
9707
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
9708
|
-
* - `reset(save = true) => void`: undefined
|
|
9709
|
-
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
9710
|
-
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
9711
|
-
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
9712
|
-
* Part of the Form-Associated Custom Elements API.
|
|
9814
|
+
* - `shouldReturnToInventoryOnInventoryDrop() => boolean`: undefined
|
|
9815
|
+
* - `initiateDrag(dragElement: HTMLElement, startX: number, startY: number, inputType: 'mouse' | 'touch', rest: [eventSource?: 'pointer' | 'mouse' | 'touch']) => void`: undefined
|
|
9816
|
+
* - `onSortableDragMove(clientX: number, clientY: number) => void`: undefined
|
|
9817
|
+
* - `allowDrop(draggable: HTMLElement, droppable: HTMLElement) => boolean`: undefined
|
|
9818
|
+
* - `handleDrop(draggable: HTMLElement, droppable: HTMLElement) => void`: undefined
|
|
9819
|
+
* - `handleInvalidDrop(dragSource: HTMLElement | null) => void`: undefined
|
|
9713
9820
|
*/
|
|
9714
9821
|
"qti-graphic-gap-match-interaction": Partial<
|
|
9715
9822
|
QtiGraphicGapMatchInteractionProps &
|
|
@@ -9967,54 +10074,24 @@ export type CustomElementsSolidJs = {
|
|
|
9967
10074
|
*
|
|
9968
10075
|
* - `class`: undefined
|
|
9969
10076
|
* - `response-identifier`/`responseIdentifier`: undefined
|
|
9970
|
-
* - `min-associations`/`minAssociations`: undefined
|
|
9971
|
-
* - `max-associations`/`maxAssociations`: undefined
|
|
9972
|
-
* - `disabled`: undefined
|
|
9973
|
-
* - `readonly`: undefined
|
|
9974
|
-
* - `name`: undefined
|
|
9975
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
9976
|
-
* string via attribute or as string/string[] via property.
|
|
9977
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
9978
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
9979
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
9980
|
-
* Creates a disabled copy positioned after this interaction.
|
|
9981
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
9982
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
9983
10077
|
* - `response`: undefined (property only)
|
|
9984
|
-
* - `
|
|
9985
|
-
* - `
|
|
9986
|
-
* - `
|
|
9987
|
-
*
|
|
9988
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
9989
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
9990
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
9991
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
9992
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
9993
|
-
* - `value`: undefined (property only)
|
|
9994
|
-
*
|
|
9995
|
-
* ## Events
|
|
9996
|
-
*
|
|
9997
|
-
* Events that will be emitted by the component.
|
|
9998
|
-
*
|
|
9999
|
-
* - `qti-interaction-response`: undefined
|
|
10000
|
-
* - `qti-register-interaction`: undefined
|
|
10078
|
+
* - `allowReorder`: undefined (property only)
|
|
10079
|
+
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
10080
|
+
* - `sortableAnimationConfig`: undefined (property only)
|
|
10081
|
+
* - `isDraggingFromSlot`: undefined (property only) (readonly)
|
|
10001
10082
|
*
|
|
10002
10083
|
* ## Methods
|
|
10003
10084
|
*
|
|
10004
10085
|
* Methods that can be called to access component functionality.
|
|
10005
10086
|
*
|
|
10006
10087
|
* - `validate() => boolean`: undefined
|
|
10088
|
+
* - `toggleInternalCorrectResponse(show: boolean) => void`: undefined
|
|
10007
10089
|
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
10008
|
-
* - `
|
|
10009
|
-
* - `
|
|
10010
|
-
* - `
|
|
10011
|
-
* - `
|
|
10012
|
-
* - `
|
|
10013
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
10014
|
-
* - `reset(save = true) => void`: undefined
|
|
10015
|
-
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
10016
|
-
* - `formResetCallback() => void`: Called by the browser when the associated form is reset.
|
|
10017
|
-
* Part of the Form-Associated Custom Elements API.
|
|
10090
|
+
* - `initiateDrag(dragElement: HTMLElement, startX: number, startY: number, inputType: 'mouse' | 'touch', rest: [eventSource?: 'pointer' | 'mouse' | 'touch']) => void`: undefined
|
|
10091
|
+
* - `onSortableDragMove(clientX: number, clientY: number) => void`: undefined
|
|
10092
|
+
* - `allowDrop(draggable: HTMLElement, droppable: HTMLElement) => boolean`: undefined
|
|
10093
|
+
* - `handleDrop(draggable: HTMLElement, droppable: HTMLElement) => void`: undefined
|
|
10094
|
+
* - `handleInvalidDrop(dragSource: HTMLElement | null) => void`: undefined
|
|
10018
10095
|
*/
|
|
10019
10096
|
"qti-match-interaction": Partial<
|
|
10020
10097
|
QtiMatchInteractionProps &
|
|
@@ -10089,58 +10166,26 @@ export type CustomElementsSolidJs = {
|
|
|
10089
10166
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
10090
10167
|
*
|
|
10091
10168
|
* - `orientation`: orientation of choices
|
|
10092
|
-
* - `min-associations`/`minAssociations`: undefined
|
|
10093
|
-
* - `max-associations`/`maxAssociations`: undefined
|
|
10094
|
-
* - `response-identifier`/`responseIdentifier`: undefined
|
|
10095
|
-
* - `disabled`: undefined
|
|
10096
|
-
* - `readonly`: undefined
|
|
10097
|
-
* - `name`: undefined
|
|
10098
|
-
* - `correct-response`/`correctResponseAttr`: The correct response for this interaction. Can be set as a comma-separated
|
|
10099
|
-
* string via attribute or as string/string[] via property.
|
|
10100
|
-
* - `show-correct-response`/`showCorrectResponse`: Shows which choices are correct with inline indicators.
|
|
10101
|
-
* Adds `correct-response` / `incorrect-response` states to choices.
|
|
10102
|
-
* - `show-full-correct-response`/`showFullCorrectResponse`: Shows a cloned interaction with the correct answers filled in.
|
|
10103
|
-
* Creates a disabled copy positioned after this interaction.
|
|
10104
|
-
* - `show-candidate-correction`/`showCandidateCorrection`: Shows feedback on candidate's selections compared to correct response.
|
|
10105
|
-
* Adds `candidate-correct` / `candidate-incorrect` states to choices.
|
|
10106
10169
|
* - `correctResponses`: undefined (property only)
|
|
10107
10170
|
* - `showCorrectResponses`: undefined (property only)
|
|
10108
|
-
* - `
|
|
10109
|
-
* - `
|
|
10110
|
-
* - `
|
|
10111
|
-
* - `
|
|
10112
|
-
* This property syncs with the `correct-response` attribute. (property only)
|
|
10113
|
-
* - `correctness`: Returns the correctness of the current response compared to correct response.
|
|
10114
|
-
* Works in both standalone mode (using `correct-response` attribute) and
|
|
10115
|
-
* item context mode (using responseVariable). (property only) (readonly)
|
|
10116
|
-
* - `isInline`: undefined (property only) (readonly)
|
|
10117
|
-
* - `responseVariable`: undefined (property only) (readonly)
|
|
10118
|
-
* - `value`: undefined (property only)
|
|
10119
|
-
*
|
|
10120
|
-
* ## Events
|
|
10121
|
-
*
|
|
10122
|
-
* Events that will be emitted by the component.
|
|
10123
|
-
*
|
|
10124
|
-
* - `qti-interaction-response`: undefined
|
|
10125
|
-
* - `qti-register-interaction`: undefined
|
|
10171
|
+
* - `allowReorder`: undefined (property only)
|
|
10172
|
+
* - `sortablePlaceholderConfig`: undefined (property only)
|
|
10173
|
+
* - `sortableAnimationConfig`: undefined (property only)
|
|
10174
|
+
* - `isDraggingFromSlot`: undefined (property only) (readonly)
|
|
10126
10175
|
*
|
|
10127
10176
|
* ## Methods
|
|
10128
10177
|
*
|
|
10129
10178
|
* Methods that can be called to access component functionality.
|
|
10130
10179
|
*
|
|
10131
10180
|
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
10132
|
-
* - `getValue(val: string[]) => void`: undefined
|
|
10133
|
-
* - `handleDraggableContainerChange(dragContainersAdded: HTMLElement[], dragContainersRemoved: HTMLElement[]) => void`: undefined
|
|
10134
|
-
* - `dragContainersModified(addedDragContainers: HTMLElement[], removedDragContainers: HTMLElement[]) => void`: undefined
|
|
10135
|
-
* - `handleDraggablesChange(dragsAdded: HTMLElement[], dragsRemoved: HTMLElement[]) => void`: undefined
|
|
10136
|
-
* - `handleDroppablesChange(dropsAdded: HTMLElement[], dropsRemoved: HTMLElement[]) => void`: undefined
|
|
10137
|
-
* - `validate() => boolean | null`: undefined
|
|
10138
|
-
* - `reportValidity() => boolean`: undefined
|
|
10139
|
-
* - `saveResponse(value: string | string[], state?: string | null) => void`: undefined
|
|
10140
|
-
* - `reset(save = true) => void`: undefined
|
|
10141
10181
|
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
10142
|
-
* - `
|
|
10143
|
-
*
|
|
10182
|
+
* - `getValue(val: string[]) => void`: undefined
|
|
10183
|
+
* - `shouldTreatBlockedMaxAsInvalid() => boolean`: undefined
|
|
10184
|
+
* - `initiateDrag(dragElement: HTMLElement, startX: number, startY: number, inputType: 'mouse' | 'touch', rest: [eventSource?: 'pointer' | 'mouse' | 'touch']) => void`: undefined
|
|
10185
|
+
* - `onSortableDragMove(clientX: number, clientY: number) => void`: undefined
|
|
10186
|
+
* - `allowDrop(draggable: HTMLElement, droppable: HTMLElement) => boolean`: undefined
|
|
10187
|
+
* - `handleDrop(draggable: HTMLElement, droppable: HTMLElement) => void`: undefined
|
|
10188
|
+
* - `handleInvalidDrop(dragSource: HTMLElement | null) => void`: undefined
|
|
10144
10189
|
*/
|
|
10145
10190
|
"qti-order-interaction": Partial<
|
|
10146
10191
|
QtiOrderInteractionProps &
|
|
@@ -10162,7 +10207,6 @@ export type CustomElementsSolidJs = {
|
|
|
10162
10207
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
10163
10208
|
* - `data-require-js-url`/`requireJsUrl`: undefined
|
|
10164
10209
|
* - `data-base-url`/`baseUrl`: undefined
|
|
10165
|
-
* - `data-use-default-shims`/`useDefaultShims`: undefined
|
|
10166
10210
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
10167
10211
|
* - `response-identifier`/`responseIdentifier`: undefined
|
|
10168
10212
|
* - `disabled`: undefined
|
|
@@ -10233,7 +10277,6 @@ export type CustomElementsSolidJs = {
|
|
|
10233
10277
|
* - `data-require-shim`/`requireShimJson`: undefined
|
|
10234
10278
|
* - `data-require-js-url`/`requireJsUrl`: undefined
|
|
10235
10279
|
* - `data-base-url`/`baseUrl`: undefined
|
|
10236
|
-
* - `data-use-default-shims`/`useDefaultShims`: undefined
|
|
10237
10280
|
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
10238
10281
|
* - `response-identifier`/`responseIdentifier`: undefined
|
|
10239
10282
|
* - `disabled`: undefined
|