@citolab/qti-components 3.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/index.cjs +341 -0
  2. package/index.css +16965 -0
  3. package/index.d.ts +47 -0
  4. package/index.js +341 -0
  5. package/lab/qti-api/qti-api.stories.d.ts +7 -0
  6. package/lab/qti-custom/qti-custom-operator/qti-custom-operator-levenshtein.d.ts +11 -0
  7. package/lab/qti-custom/qti-custom-operator/qti-custom-operator-numeric-parse-nl.d.ts +11 -0
  8. package/lab/qti-custom/qti-custom-operator/qti-custom-operator-numeric.d.ts +6 -0
  9. package/lab/qti-custom/qti-custom-operator/qti-custom-operator-remove-spaces.d.ts +6 -0
  10. package/lab/qti-custom/qti-custom-operator/qti-custom-operator-trim.d.ts +6 -0
  11. package/lab/qti-custom/qti-custom-operator/qti-custom-operator.stories.d.ts +12 -0
  12. package/lab/qti-dashboard/qti-item-dashboard.stories.d.ts +8 -0
  13. package/lab/qti-item/qti-item.d.ts +30 -0
  14. package/lab/qti-item/qti-item.stories.d.ts +8 -0
  15. package/lab/qti-test/qti-test-buttons.d.ts +1 -0
  16. package/lab/qti-test/qti-test.d.ts +40 -0
  17. package/lab/qti-test/qti-test.stories.d.ts +9 -0
  18. package/lib/qti-base/qti-assessment-item/qti-assessment-item.d.ts +43 -0
  19. package/lib/qti-base/qti-choice/qti-choice.d.ts +34 -0
  20. package/lib/qti-base/qti-choice/qti-hottext/qti-hottext.d.ts +9 -0
  21. package/lib/qti-base/qti-choice/qti-simple-choice/qti-simple-choice.d.ts +9 -0
  22. package/lib/qti-base/qti-feedback/qti-feedback-inline/qti-feedback-inline.d.ts +5 -0
  23. package/lib/qti-base/qti-feedback/qti-feedback.d.ts +30 -0
  24. package/lib/qti-base/qti-feedback/qti-feedback.stories.d.ts +8 -0
  25. package/lib/qti-base/qti-feedback/qti-modal-feedback/qti-modal-feedback.d.ts +5 -0
  26. package/lib/qti-base/qti-interaction/qti-choice-interaction/qti-choice-interaction.d.ts +11 -0
  27. package/lib/qti-base/qti-interaction/qti-choice-interaction/qti-choice-interaction.stories.d.ts +45 -0
  28. package/lib/qti-base/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.d.ts +41 -0
  29. package/lib/qti-base/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.stories.d.ts +9 -0
  30. package/lib/qti-base/qti-interaction/qti-hottext-interaction/qti-hottext-interaction.d.ts +6 -0
  31. package/lib/qti-base/qti-interaction/qti-hottext-interaction/qti-hottext-interaction.stories.d.ts +20 -0
  32. package/lib/qti-base/qti-interaction/qti-inline-choice-interaction/qti-inline-choice-interaction.d.ts +27 -0
  33. package/lib/qti-base/qti-interaction/qti-inline-choice-interaction/qti-inline-choice-interaction.stories.d.ts +43 -0
  34. package/lib/qti-base/qti-interaction/qti-text-entry-interaction/qti-text-entry-interaction.d.ts +34 -0
  35. package/lib/qti-base/qti-interaction/qti-text-entry-interaction/qti-text-entry-interaction.stories.d.ts +31 -0
  36. package/lib/qti-base/qti-item-body/qti-item-body.d.ts +4 -0
  37. package/lib/qti-base/qti-preview/qti-associable-hotspot.d.ts +6 -0
  38. package/lib/qti-base/qti-preview/qti-associate-interaction/qti-associate-interaction.d.ts +11 -0
  39. package/lib/qti-base/qti-preview/qti-associate-interaction/qti-associate-interaction.stories.d.ts +7 -0
  40. package/lib/qti-base/qti-preview/qti-associate-interaction/qti-simple-associable-choice.d.ts +4 -0
  41. package/lib/qti-base/qti-preview/qti-custom-interaction/qti-portable-custom-interaction.d.ts +34 -0
  42. package/lib/qti-base/qti-preview/qti-custom-interaction/qti-portable-custom-interaction.stories.d.ts +7 -0
  43. package/lib/qti-base/qti-preview/qti-gap-match-interaction/qti-gap-match-interaction.d.ts +8 -0
  44. package/lib/qti-base/qti-preview/qti-gap-match-interaction/qti-gap-match-interaction.stories.d.ts +31 -0
  45. package/lib/qti-base/qti-preview/qti-gap-match-interaction/qti-gap-text.d.ts +2 -0
  46. package/lib/qti-base/qti-preview/qti-gap-match-interaction/qti-gap.d.ts +2 -0
  47. package/lib/qti-base/qti-preview/qti-graphic-associate-interaction/qti-graphic-associate-interaction.d.ts +10 -0
  48. package/lib/qti-base/qti-preview/qti-graphic-associate-interaction/qti-graphic-associate-interaction.stories.d.ts +7 -0
  49. package/lib/qti-base/qti-preview/qti-graphic-gap-match-interaction/qti-gap-img.d.ts +3 -0
  50. package/lib/qti-base/qti-preview/qti-graphic-gap-match-interaction/qti-graphic-gap-match-interaction.d.ts +11 -0
  51. package/lib/qti-base/qti-preview/qti-graphic-gap-match-interaction/qti-graphic-gap-match-interaction.stories.d.ts +26 -0
  52. package/lib/qti-base/qti-preview/qti-graphic-order-interaction/qti-graphic-order-interaction.d.ts +11 -0
  53. package/lib/qti-base/qti-preview/qti-graphic-order-interaction/qti-graphic-order-interaction.stories.d.ts +7 -0
  54. package/lib/qti-base/qti-preview/qti-hotspot-choice.d.ts +5 -0
  55. package/lib/qti-base/qti-preview/qti-hotspot-interaction/qti-hotspot-interaction.d.ts +9 -0
  56. package/lib/qti-base/qti-preview/qti-hotspot-interaction/qti-hotspot-interaction.stories.d.ts +9 -0
  57. package/lib/qti-base/qti-preview/qti-match-interaction/qti-match-interaction.d.ts +8 -0
  58. package/lib/qti-base/qti-preview/qti-match-interaction/qti-match-interaction.stories.d.ts +8 -0
  59. package/lib/qti-base/qti-preview/qti-media-interaction/qti-media-interaction.d.ts +19 -0
  60. package/lib/qti-base/qti-preview/qti-media-interaction/qti-media-interaction.stories.d.ts +25 -0
  61. package/lib/qti-base/qti-preview/qti-order-interaction/qti-order-interaction.d.ts +23 -0
  62. package/lib/qti-base/qti-preview/qti-order-interaction/qti-order-interaction.stories.d.ts +21 -0
  63. package/lib/qti-base/qti-preview/qti-preview-badge.d.ts +1 -0
  64. package/lib/qti-base/qti-preview/qti-select-point-interaction/qti-select-point-interaction.d.ts +10 -0
  65. package/lib/qti-base/qti-preview/qti-select-point-interaction/qti-select-point-interaction.stories.d.ts +7 -0
  66. package/lib/qti-base/qti-preview/qti-slider-interaction/qti-slider-interaction.d.ts +26 -0
  67. package/lib/qti-base/qti-preview/qti-slider-interaction/qti-slider-interaction.stories.d.ts +48 -0
  68. package/lib/qti-base/qti-prompt/qti-prompt.d.ts +6 -0
  69. package/lib/qti-base/qti-responseprocessing/index.d.ts +18 -0
  70. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-and/qti-and.d.ts +7 -0
  71. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-basevalue/qti-basevalue.d.ts +6 -0
  72. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-contains/qti-contains.d.ts +6 -0
  73. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-correct/qti-correct.d.ts +6 -0
  74. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-expression.d.ts +6 -0
  75. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-gte/qti-gte.d.ts +6 -0
  76. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-is-null/qti-is-null.d.ts +6 -0
  77. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-mapresponse/qti-mapresponse.d.ts +4 -0
  78. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-match/qti-match.d.ts +4 -0
  79. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.d.ts +4 -0
  80. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-or/qti-or.d.ts +7 -0
  81. package/lib/qti-base/qti-responseprocessing/qti-expression/qti-variable/qti-variable.d.ts +6 -0
  82. package/lib/qti-base/qti-responseprocessing/qti-responseelse/qti-responseelse.d.ts +15 -0
  83. package/lib/qti-base/qti-responseprocessing/qti-responseelse/qti-responseif/qti-responseelseif/qti-responseelseif.d.ts +4 -0
  84. package/lib/qti-base/qti-responseprocessing/qti-responseelse/qti-responseif/qti-responseif.d.ts +7 -0
  85. package/lib/qti-base/qti-responseprocessing/qti-responseprocessing/qti-responseprocessing.d.ts +7 -0
  86. package/lib/qti-base/qti-responseprocessing/qti-rule/qti-responsecondition/qti-responsecondition.d.ts +5 -0
  87. package/lib/qti-base/qti-responseprocessing/qti-rule/qti-rule.d.ts +5 -0
  88. package/lib/qti-base/qti-responseprocessing/qti-rule/qti-setoutcomevalue/qti-setoutcomevalue.d.ts +4 -0
  89. package/lib/qti-base/qti-stylesheet/qti-stylesheet.d.ts +7 -0
  90. package/lib/qti-base/qti-variabledeclaration/qti-outcomedeclaration/qti-outcomedeclaration.d.ts +5 -0
  91. package/lib/qti-base/qti-variabledeclaration/qti-responsedeclaration/qti-responsedeclaration.d.ts +24 -0
  92. package/lib/qti-base/qti-variabledeclaration/qti-variabledeclaration.d.ts +4 -0
  93. package/lib/qti-utilities/EventStrings.d.ts +18 -0
  94. package/lib/qti-utilities/EventTypes.d.ts +7 -0
  95. package/lib/qti-utilities/ExpressionResult.d.ts +43 -0
  96. package/lib/qti-utilities/OutcomeVariable.d.ts +8 -0
  97. package/lib/qti-utilities/ResponseVariable.d.ts +28 -0
  98. package/lib/qti-utilities/TemplateStrings.d.ts +3 -0
  99. package/lib/qti-utilities/VariableDeclaration.d.ts +7 -0
  100. package/lib/utilities/choice/choices.d.ts +23 -0
  101. package/lib/utilities/drag-drop/drag-drop-interaction-mixin.d.ts +5 -0
  102. package/lib/utilities/drag-drop/draggables-mixin.d.ts +6 -0
  103. package/lib/utilities/drag-drop/droppables-mixin.d.ts +6 -0
  104. package/lib/utilities/drag-drop/flippables-mixin.d.ts +8 -0
  105. package/lib/utilities/element/qti-element.d.ts +6 -0
  106. package/lib/utilities/hotspots/hotspot.d.ts +2 -0
  107. package/lib/utilities/interaction/interaction.d.ts +14 -0
  108. package/lib/utilities/interaction/interaction.interface.d.ts +8 -0
  109. package/lib/utilities/reset-styles/reset-shadowroot-styles.d.ts +1 -0
  110. package/lib/utilities/scale-to-fit/scale-to-fit.mixin.d.ts +6 -0
  111. package/lib/utilities/watch/watch.d.ts +14 -0
  112. package/package.json +20 -0
  113. package/styles/qti-classes.stories.d.ts +5 -0
  114. package/styles/qti-layout-styles.stories.d.ts +6 -0
  115. package/styles/qti-styles.stories.d.ts +5 -0
@@ -0,0 +1,40 @@
1
+ import { LitElement } from 'lit';
2
+ import { InputResponseFormat, QtiVariableJSON } from '../../lib/qti-utilities/ExpressionResult';
3
+ import './qti-test.scss';
4
+ export declare const AssessmentTestEvents: {
5
+ ON_ITEM_WAS_FINISHED: string;
6
+ ON_NO_RESPONSE_ON_SUBMIT: string;
7
+ ON_REQUEST_ITEM: string;
8
+ ON_TEST_FINISHED: string;
9
+ };
10
+ export declare enum NavigationMode {
11
+ linear = "linear",
12
+ nonlinear = "nonlinear"
13
+ }
14
+ export declare enum SubmissionMode {
15
+ individual = "individual",
16
+ simultaneous = "simultaneous"
17
+ }
18
+ export declare class QtiTest extends LitElement {
19
+ private disabled;
20
+ private readonly;
21
+ /** The navigation mode is set to linear mode restricting the candidate to attempt each item in turn. Once the candidate moves on they are not permitted to return */
22
+ private _navigationMode;
23
+ /** The submission mode is set to individual mode requiring the candidate to submit their responses on an item-by-item basis */
24
+ private _submissionMode;
25
+ private _submitted;
26
+ private itemIndex;
27
+ private _item;
28
+ itemNames: unknown[];
29
+ responses: InputResponseFormat<QtiVariableJSON>;
30
+ updated(changedProperties: any): void;
31
+ onCheckItem(): boolean;
32
+ onScoreItem(): void;
33
+ set itemResponse(val: InputResponseFormat<QtiVariableJSON>);
34
+ private onPrevItem;
35
+ private onNextItem;
36
+ private dispatchRequestItem;
37
+ private onRequestItem;
38
+ handleSlotchange(e: any): void;
39
+ render(): import("lit-html").TemplateResult<1>;
40
+ }
@@ -0,0 +1,9 @@
1
+ import './qti-test-buttons';
2
+ import '../../index';
3
+ declare const _default: {
4
+ title: string;
5
+ component: string;
6
+ decorators: ((story: any) => import("lit-html").TemplateResult<1>)[];
7
+ };
8
+ export default _default;
9
+ export declare const QtiTest: any;
@@ -0,0 +1,43 @@
1
+ import { ResponseType, QtiVariableJSON, InputResponseFormat } from '../../qti-utilities/ExpressionResult';
2
+ import { ResponseVariable } from '../../qti-utilities/ResponseVariable';
3
+ import { OutcomeVariable } from '../../qti-utilities/OutcomeVariable';
4
+ import { VariableDeclaration } from '../../qti-utilities/VariableDeclaration';
5
+ import QtiElement from '../../utilities/element/qti-element';
6
+ export declare class QtiAssessmentItem extends QtiElement {
7
+ disabled: boolean;
8
+ readonly: boolean;
9
+ variables: VariableDeclaration[];
10
+ private feedbackElements;
11
+ private interactionElements;
12
+ static get properties(): {
13
+ title: {
14
+ type: StringConstructor;
15
+ };
16
+ identifier: {
17
+ type: StringConstructor;
18
+ };
19
+ disabled: {
20
+ type: BooleanConstructor;
21
+ };
22
+ readonly: {
23
+ type: BooleanConstructor;
24
+ };
25
+ };
26
+ identifier: string;
27
+ render(): import("lit-html").TemplateResult<1>;
28
+ updated(changedProperties: any): void;
29
+ constructor();
30
+ disconnectedCallback(): void;
31
+ processResponse(): boolean;
32
+ set responses(myResponses: InputResponseFormat<QtiVariableJSON>);
33
+ resetInteractions(): void;
34
+ validateResponses(): boolean;
35
+ getVariableValue(identifier: string): ResponseType;
36
+ getResponse(identifier: string): ResponseVariable | void;
37
+ getOutcome(identifier: string): OutcomeVariable;
38
+ private registerFeedbackElement;
39
+ private registerInteractionElement;
40
+ private interactionResponse;
41
+ private outcomeChanged;
42
+ setOutcomeValue(identifier: string, value: ResponseType): void;
43
+ }
@@ -0,0 +1,34 @@
1
+ import './qti-choice.scss';
2
+ import QtiElement from '../../utilities/element/qti-element';
3
+ /**
4
+ * @summary qti-choice is used by qti-simple-choice, qti-inline-choice, qti-hottext, qti-hotspot-choice.
5
+ *
6
+ * @since 1.0
7
+ * @status stable
8
+ *
9
+ * @event on-register-choice - register itselves on a qti-choice-interaction element.
10
+ * @event on-loose-choice - de-register itselves on a qti-choice-interaction element.
11
+ * @event choice-element-selected - Emitted when the choice is selected.
12
+ *
13
+ * @slot - The choices slot element
14
+ */
15
+ export declare class QtiChoice extends QtiElement {
16
+ identifier: string;
17
+ tabindex: number;
18
+ disabled: boolean;
19
+ readonly: boolean;
20
+ checked: boolean;
21
+ handleDisabledChange(old: any, disabled: boolean): void;
22
+ connectedCallback(): void;
23
+ disconnectedCallback(): void;
24
+ reset(): void;
25
+ private _onKeyUp;
26
+ private _onClick;
27
+ private _toggleChecked;
28
+ render(): import("lit-html").TemplateResult<1 | 2>;
29
+ }
30
+ declare global {
31
+ interface HTMLElementTagNameMap {
32
+ 'qti-choice': QtiChoice;
33
+ }
34
+ }
@@ -0,0 +1,9 @@
1
+ import { QtiChoice } from '../qti-choice';
2
+ import './qti-hottext.scss';
3
+ export declare class QtiHottext extends QtiChoice {
4
+ }
5
+ declare global {
6
+ interface HTMLElementTagNameMap {
7
+ 'qti-hottext': QtiHottext;
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ import { QtiChoice } from '../qti-choice';
2
+ import './qti-simple-choice.scss';
3
+ export declare class QtiSimpleChoice extends QtiChoice {
4
+ }
5
+ declare global {
6
+ interface HTMLElementTagNameMap {
7
+ 'qti-simple-choice': QtiSimpleChoice;
8
+ }
9
+ }
@@ -0,0 +1,5 @@
1
+ import { QtiFeedback } from '../qti-feedback';
2
+ export declare class QtiFeedbackInline extends QtiFeedback {
3
+ static styles: import("lit").CSSResult;
4
+ render: () => import("lit-html").TemplateResult<1>;
5
+ }
@@ -0,0 +1,30 @@
1
+ import { LitElement } from 'lit';
2
+ import { ResponseType } from '../../qti-utilities/ExpressionResult';
3
+ export declare abstract class QtiFeedback extends LitElement {
4
+ protected showHide: string;
5
+ protected outcomeIdentifier: string;
6
+ protected identifier: string;
7
+ protected showStatus: string;
8
+ static get properties(): {
9
+ showStatus: {
10
+ type: StringConstructor;
11
+ attribute: boolean;
12
+ reflect: boolean;
13
+ };
14
+ showHide: {
15
+ type: StringConstructor;
16
+ attribute: string;
17
+ };
18
+ outcomeIdentifier: {
19
+ type: StringConstructor;
20
+ attribute: string;
21
+ };
22
+ identifier: {
23
+ type: StringConstructor;
24
+ };
25
+ };
26
+ constructor();
27
+ connectedCallback(): void;
28
+ checkShowFeedback(_outcomeIdentifier: string, outcomeValue: ResponseType): void;
29
+ private showFeedback;
30
+ }
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: string;
4
+ };
5
+ export default _default;
6
+ export declare const inline: () => import("lit-html").TemplateResult<1>;
7
+ export declare const modal: () => import("lit-html").TemplateResult<1>;
8
+ export declare const woordmars: () => import("lit-html").TemplateResult<1>;
@@ -0,0 +1,5 @@
1
+ import { QtiFeedback } from '../qti-feedback';
2
+ import './qti-modal-feedback.scss';
3
+ export declare class QtiModalFeedback extends QtiFeedback {
4
+ render(): import("lit-html").TemplateResult<1>;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { Choices } from '../../../utilities/choice/choices';
2
+ import './qti-choice-interaction.scss';
3
+ export declare class QtiChoiceInteraction extends Choices {
4
+ /** orientation of choices */
5
+ private _orientation;
6
+ /** ~~shuffle not yet implemented~~ */
7
+ private _shuffle;
8
+ static layoutClass: string[];
9
+ static presentationClass: string[];
10
+ render: () => import("lit-html").TemplateResult<1>;
11
+ }
@@ -0,0 +1,45 @@
1
+ import { StoryObj } from '@storybook/web-components';
2
+ import './qti-choice-interaction';
3
+ import '../../qti-choice/qti-simple-choice/qti-simple-choice';
4
+ declare const _default: {
5
+ title: string;
6
+ component: string;
7
+ argTypes: {
8
+ 'min-choices': {
9
+ control: {
10
+ type: string;
11
+ };
12
+ };
13
+ 'max-choices': {
14
+ control: {
15
+ type: string;
16
+ };
17
+ };
18
+ shuffle: {
19
+ control: {
20
+ type: string;
21
+ };
22
+ };
23
+ orientation: {
24
+ control: {
25
+ type: string;
26
+ options: string[];
27
+ };
28
+ };
29
+ presentationClass: {
30
+ control: {
31
+ type: string;
32
+ options: string[];
33
+ };
34
+ };
35
+ layoutClass: {
36
+ control: {
37
+ type: string;
38
+ options: string[];
39
+ };
40
+ };
41
+ };
42
+ };
43
+ export default _default;
44
+ export declare const interaction: (args: any) => import("lit-html").TemplateResult<1>;
45
+ export declare const button2col: StoryObj;
@@ -0,0 +1,41 @@
1
+ import { Interaction } from '../../../utilities/interaction/interaction';
2
+ import './qti-extended-text-interaction.scss';
3
+ export declare class QtiExtendedTextInteraction extends Interaction {
4
+ static rowHeightClass: string[];
5
+ value: string;
6
+ expectedLength: any;
7
+ placeholderText: any;
8
+ patternMask: any;
9
+ private classNames;
10
+ textareaRef: import("lit-html/directives/ref").Ref<HTMLTextAreaElement>;
11
+ static get properties(): {
12
+ expectedLength: {
13
+ type: NumberConstructor;
14
+ attribute: string;
15
+ };
16
+ patternMask: {
17
+ type: StringConstructor;
18
+ attribute: string;
19
+ };
20
+ placeholderText: {
21
+ type: StringConstructor;
22
+ attribute: string;
23
+ };
24
+ value: {
25
+ type: StringConstructor;
26
+ };
27
+ classNames: {
28
+ type: StringConstructor;
29
+ attribute: string;
30
+ };
31
+ };
32
+ updated(changedProperties: Map<string, unknown>): void;
33
+ changeRowsOnClassChange(): void;
34
+ set response(value: string);
35
+ validate(): boolean;
36
+ static get styles(): import("lit").CSSResult[];
37
+ render(): import("lit-html").TemplateResult<1>;
38
+ protected textChanged(event: Event): void;
39
+ reset(): void;
40
+ private setEmptyAttribute;
41
+ }
@@ -0,0 +1,9 @@
1
+ import './qti-extended-text-interaction';
2
+ import './qti-extended-text-interaction.scss';
3
+ declare const _default: {
4
+ title: string;
5
+ component: string;
6
+ };
7
+ export default _default;
8
+ export declare const normal: any;
9
+ export declare const patternMask: any;
@@ -0,0 +1,6 @@
1
+ import { Choices } from "../../../utilities/choice/choices";
2
+ import './qti-hottext-interaction.scss';
3
+ export declare class QtiHottextInteraction extends Choices {
4
+ connectedCallback(): void;
5
+ render: () => import("lit-html").TemplateResult<1>;
6
+ }
@@ -0,0 +1,20 @@
1
+ import './qti-hottext-interaction';
2
+ import '../../qti-choice/qti-hottext/qti-hottext';
3
+ declare const _default: {
4
+ title: string;
5
+ component: string;
6
+ parameters: {
7
+ actions: {
8
+ handles: string[];
9
+ };
10
+ response: {
11
+ control: {
12
+ type: string;
13
+ options: string[];
14
+ };
15
+ };
16
+ };
17
+ };
18
+ export default _default;
19
+ export declare const checkbox: any;
20
+ export declare const button: any;
@@ -0,0 +1,27 @@
1
+ import { Interaction } from '../../../utilities/interaction/interaction';
2
+ import './qti-inline-choice-interaction.scss';
3
+ interface OptionType {
4
+ textContent: string;
5
+ value: string;
6
+ selected: boolean;
7
+ }
8
+ export declare class QtiInlineChoiceInteraction extends Interaction {
9
+ options: OptionType[];
10
+ static inputWidthClass: string[];
11
+ static get properties(): {
12
+ options: {
13
+ type: ArrayConstructor;
14
+ value: any[];
15
+ attribute: boolean;
16
+ };
17
+ };
18
+ connectedCallback(): void;
19
+ static get styles(): import("lit").CSSResult[];
20
+ render(): import("lit-html").TemplateResult<1>;
21
+ constructor();
22
+ validate(): boolean;
23
+ reset(): void;
24
+ set response(value: string);
25
+ choiceSelected(event: Event): void;
26
+ }
27
+ export {};
@@ -0,0 +1,43 @@
1
+ import './qti-inline-choice-interaction';
2
+ declare const _default: {
3
+ title: string;
4
+ component: string;
5
+ argTypes: {
6
+ inputWidthClass: {
7
+ control: {
8
+ type: string;
9
+ options: string[];
10
+ };
11
+ description: string;
12
+ };
13
+ response: {
14
+ description: string;
15
+ type: string;
16
+ };
17
+ shuffle: {
18
+ description: string;
19
+ type: string;
20
+ };
21
+ readonly: {
22
+ description: string;
23
+ type: string;
24
+ };
25
+ disabled: {
26
+ description: string;
27
+ type: string;
28
+ };
29
+ };
30
+ };
31
+ export default _default;
32
+ export declare const Interaction: ({ shuffle, inputWidthClass, response, disabled, readonly }: {
33
+ shuffle: any;
34
+ inputWidthClass: any;
35
+ response: any;
36
+ disabled: any;
37
+ readonly: any;
38
+ }) => import("lit-html").TemplateResult<1>;
39
+ export declare const Item: ({ shuffle, inputWidthClass, response }: {
40
+ shuffle: any;
41
+ inputWidthClass: any;
42
+ response: any;
43
+ }) => import("lit-html").TemplateResult<1>;
@@ -0,0 +1,34 @@
1
+ import { Interaction } from '../../../utilities/interaction/interaction';
2
+ import './qti-text-entry-interaction.scss';
3
+ export declare class QtiTextEntryInteraction extends Interaction {
4
+ static inputWidthClass: string[];
5
+ value: string;
6
+ expectedLength: any;
7
+ placeholderText: any;
8
+ patternMask: any;
9
+ static get properties(): {
10
+ expectedLength: {
11
+ type: NumberConstructor;
12
+ attribute: string;
13
+ };
14
+ patternMask: {
15
+ type: StringConstructor;
16
+ attribute: string;
17
+ };
18
+ placeholderText: {
19
+ type: StringConstructor;
20
+ attribute: string;
21
+ };
22
+ value: {
23
+ type: StringConstructor;
24
+ };
25
+ };
26
+ constructor();
27
+ set response(value: string | undefined);
28
+ validate(): boolean;
29
+ static get styles(): import("lit").CSSResult[];
30
+ render(): import("lit-html").TemplateResult<1>;
31
+ protected textChanged(event: Event): void;
32
+ reset(): void;
33
+ private setEmptyAttribute;
34
+ }
@@ -0,0 +1,31 @@
1
+ import './qti-text-entry-interaction';
2
+ import './qti-text-entry-interaction.scss';
3
+ declare const _default: {
4
+ title: string;
5
+ component: string;
6
+ argTypes: {
7
+ inputWidthClass: {
8
+ control: {
9
+ type: string;
10
+ options: string[];
11
+ };
12
+ };
13
+ response: {
14
+ type: string;
15
+ };
16
+ expectedLength: {
17
+ type: string;
18
+ };
19
+ readonly: {
20
+ description: string;
21
+ type: string;
22
+ };
23
+ disabled: {
24
+ description: string;
25
+ type: string;
26
+ };
27
+ };
28
+ };
29
+ export default _default;
30
+ export declare const normal: any;
31
+ export declare const patternMask: any;
@@ -0,0 +1,4 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class QtiItemBody extends LitElement {
3
+ render(): import("lit-html").TemplateResult<1>;
4
+ }
@@ -0,0 +1,6 @@
1
+ import QtiElement from '../../utilities/element/qti-element';
2
+ export declare class QtiAssociableHotspot extends QtiElement {
3
+ connectedCallback(): void;
4
+ static styles: import("lit").CSSResult;
5
+ render(): import("lit-html").TemplateResult<1>;
6
+ }
@@ -0,0 +1,11 @@
1
+ import QtiElement from '../../../utilities/element/qti-element';
2
+ import './qti-associate-interaction.scss';
3
+ declare const QtiAssociateInteraction_base: (new (...args: any[]) => import("../../../utilities/interaction/interaction.interface").IInteraction) & typeof QtiElement;
4
+ export declare class QtiAssociateInteraction extends QtiAssociateInteraction_base {
5
+ childrenMap: Element[];
6
+ render(): import("lit-html").TemplateResult<1>;
7
+ static styles: import("lit").CSSResult[];
8
+ firstUpdated(changedProps: any): void;
9
+ connectedCallback(): void;
10
+ }
11
+ export {};
@@ -0,0 +1,7 @@
1
+ import './qti-associate-interaction';
2
+ declare const _default: {
3
+ title: string;
4
+ component: string;
5
+ };
6
+ export default _default;
7
+ export declare const Text: any;
@@ -0,0 +1,4 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class qtiSimpleAssociableChoice extends LitElement {
3
+ render(): import("lit-html").TemplateResult<1>;
4
+ }
@@ -0,0 +1,34 @@
1
+ import QtiElement from '../../../utilities/element/qti-element';
2
+ export declare class QtiPortableCustomInteraction extends QtiElement {
3
+ private responseIdentifier;
4
+ private module;
5
+ private customInteractionTypeIdentifier;
6
+ private baseUrl;
7
+ private _errorMessage;
8
+ static get properties(): {
9
+ responseIdentifier: {
10
+ type: StringConstructor;
11
+ attribute: string;
12
+ };
13
+ module: {
14
+ type: StringConstructor;
15
+ attribute: string;
16
+ };
17
+ customInteractionTypeIdentifier: {
18
+ type: StringConstructor;
19
+ attribute: string;
20
+ };
21
+ baseUrl: {
22
+ type: StringConstructor;
23
+ attribute: string;
24
+ };
25
+ _errorMessage: {
26
+ type: StringConstructor;
27
+ state: boolean;
28
+ };
29
+ };
30
+ getTAOConfig(node: any): {} | void;
31
+ register(item: any): void;
32
+ connectedCallback(): void;
33
+ render(): import("lit-html").TemplateResult<1>;
34
+ }
@@ -0,0 +1,7 @@
1
+ import './qti-portable-custom-interaction';
2
+ declare const _default: {
3
+ title: string;
4
+ component: string;
5
+ };
6
+ export default _default;
7
+ export declare const Text: any;
@@ -0,0 +1,8 @@
1
+ import { LitElement } from 'lit';
2
+ import './qti-gap-match-interaction.scss';
3
+ declare const QtiGapMatchInteraction_base: (new (...args: any[]) => import("../../../utilities/interaction/interaction.interface").IInteraction) & typeof LitElement;
4
+ export declare class QtiGapMatchInteraction extends QtiGapMatchInteraction_base {
5
+ static styles: import("lit").CSSResult[];
6
+ render(): import("lit-html").TemplateResult<1>;
7
+ }
8
+ export {};
@@ -0,0 +1,31 @@
1
+ import './qti-gap-match-interaction';
2
+ import './qti-gap';
3
+ import './qti-gap-text';
4
+ declare const _default: {
5
+ title: string;
6
+ component: string;
7
+ argTypes: {
8
+ response: {
9
+ control: {
10
+ type: string;
11
+ options: string[];
12
+ };
13
+ };
14
+ disabled: {
15
+ control: {
16
+ type: string;
17
+ };
18
+ };
19
+ };
20
+ };
21
+ export default _default;
22
+ export declare const Interaction: ({ response, disabled, readonly }: {
23
+ response?: any;
24
+ disabled: any;
25
+ readonly: any;
26
+ }) => import("lit-html").TemplateResult<1>;
27
+ export declare const Item: ({ response, disabled, readonly }: {
28
+ response?: any;
29
+ disabled: any;
30
+ readonly: any;
31
+ }) => import("lit-html").TemplateResult<1>;
@@ -0,0 +1,2 @@
1
+ export declare class QtiGapText extends HTMLElement {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class QtiGap extends HTMLElement {
2
+ }
@@ -0,0 +1,10 @@
1
+ import { Choices } from '../../../utilities/choice/choices';
2
+ import './qti-graphic-associate-interaction.scss';
3
+ export declare class QtiGraphicAssociateInteraction extends Choices {
4
+ choiceOrdering: boolean;
5
+ static styles: import("lit").CSSResult[];
6
+ render(): import("lit-html").TemplateResult<1>;
7
+ private positionHotspotOnRegister;
8
+ connectedCallback(): void;
9
+ disconnectedCallback(): void;
10
+ }
@@ -0,0 +1,7 @@
1
+ import './qti-graphic-associate-interaction';
2
+ declare const _default: {
3
+ title: string;
4
+ component: string;
5
+ };
6
+ export default _default;
7
+ export declare const Text: any;
@@ -0,0 +1,3 @@
1
+ export declare class QtiGapImg extends HTMLElement {
2
+ connectedCallback(): void;
3
+ }
@@ -0,0 +1,11 @@
1
+ import QtiElement from '../../../utilities/element/qti-element';
2
+ import './qti-graphic-gap-match-interaction.scss';
3
+ declare const QtiGraphicGapMatchInteraction_base: (new (...args: any[]) => import("../../../utilities/interaction/interaction.interface").IInteraction) & typeof QtiElement;
4
+ export declare class QtiGraphicGapMatchInteraction extends QtiGraphicGapMatchInteraction_base {
5
+ static styles: import("lit").CSSResult;
6
+ render(): import("lit-html").TemplateResult<1>;
7
+ private positionHotspotOnRegister;
8
+ connectedCallback(): void;
9
+ disconnectedCallback(): void;
10
+ }
11
+ export {};