@citolab/qti-components 7.0.2 → 7.0.4
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 +314 -212
- package/dist/custom-element-eslint-rules.js +8 -16
- package/dist/custom-elements.json +382 -199
- package/dist/index.d.ts +102 -63
- package/dist/index.js +592 -500
- package/dist/index.js.map +1 -1
- package/dist/item.css +34 -82
- package/dist/loader/index.d.ts +1 -1
- package/dist/loader/index.js +5 -0
- package/dist/loader/index.js.map +1 -1
- package/dist/qti-components-jsx.d.ts +109 -112
- package/dist/qti-simple-choice-CfgBEvdI.d.ts +1143 -0
- package/dist/qti-simple-choice-D0GiMrqD.d.ts +1168 -0
- package/dist/{qti-simple-choice-DG8ImdPz.d.ts → qti-simple-choice-UTrFa_RQ.d.ts} +9 -17
- package/dist/qti-simple-choice-zEsDq3c0.d.ts +1147 -0
- package/dist/transformers/index.d.ts +1 -0
- package/dist/transformers/index.js +5 -0
- package/dist/transformers/index.js.map +1 -1
- package/dist/vscode.css-custom-data.json +1 -37
- package/dist/vscode.html-custom-data.json +36 -21
- package/package.json +7 -4
- package/readme.md +55 -0
- package/README.md +0 -85
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as lit_html from 'lit-html';
|
|
2
2
|
import * as lit from 'lit';
|
|
3
|
-
import { LitElement, CSSResultGroup, PropertyValueMap
|
|
3
|
+
import { LitElement, CSSResultGroup, PropertyValueMap } from 'lit';
|
|
4
4
|
import * as lit_html_directives_ref_js from 'lit-html/directives/ref.js';
|
|
5
5
|
|
|
6
6
|
interface directedPair {
|
|
@@ -776,13 +776,8 @@ declare global {
|
|
|
776
776
|
|
|
777
777
|
declare const QtiGapMatchInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
|
|
778
778
|
declare class QtiGapMatchInteraction extends QtiGapMatchInteraction_base {
|
|
779
|
-
private observer;
|
|
780
|
-
private resizeObserver;
|
|
781
779
|
static styles: CSSResultGroup;
|
|
782
780
|
render(): lit_html.TemplateResult<1>;
|
|
783
|
-
firstUpdated(_changedProperties: PropertyValues): void;
|
|
784
|
-
disconnectedCallback(): void;
|
|
785
|
-
private updateMinDimensionsForDrowZones;
|
|
786
781
|
set correctResponse(value: string | string[]);
|
|
787
782
|
}
|
|
788
783
|
declare global {
|
|
@@ -828,11 +823,7 @@ declare global {
|
|
|
828
823
|
declare const QtiGraphicGapMatchInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
|
|
829
824
|
declare class QtiGraphicGapMatchInteraction extends QtiGraphicGapMatchInteraction_base {
|
|
830
825
|
static styles: CSSResultGroup;
|
|
831
|
-
private observer;
|
|
832
|
-
private resizeObserver;
|
|
833
826
|
render(): lit_html.TemplateResult<1>;
|
|
834
|
-
firstUpdated(_changedProperties: PropertyValues): void;
|
|
835
|
-
private updateMinDimensionsForDrowZones;
|
|
836
827
|
private positionHotspotOnRegister;
|
|
837
828
|
connectedCallback(): void;
|
|
838
829
|
disconnectedCallback(): void;
|
|
@@ -894,17 +885,18 @@ declare global {
|
|
|
894
885
|
declare const QtiMatchInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
|
|
895
886
|
declare class QtiMatchInteraction extends QtiMatchInteraction_base {
|
|
896
887
|
static styles: CSSResultGroup;
|
|
897
|
-
rows: QtiSimpleAssociableChoice[];
|
|
898
|
-
cols: QtiSimpleAssociableChoice[];
|
|
899
|
-
lastCheckedRadio: HTMLInputElement | null;
|
|
900
|
-
|
|
888
|
+
protected rows: QtiSimpleAssociableChoice[];
|
|
889
|
+
protected cols: QtiSimpleAssociableChoice[];
|
|
890
|
+
protected lastCheckedRadio: HTMLInputElement | null;
|
|
891
|
+
class: string;
|
|
892
|
+
protected _response: string | string[];
|
|
901
893
|
get value(): string[];
|
|
902
894
|
set value(val: string[]);
|
|
903
|
-
correctOptions: string[];
|
|
904
895
|
responseIdentifier: string;
|
|
896
|
+
protected correctOptions: string[];
|
|
905
897
|
connectedCallback(): Promise<void>;
|
|
906
|
-
handleRadioClick: (e: any) => void;
|
|
907
|
-
handleRadioChange: (e: any) => void;
|
|
898
|
+
protected handleRadioClick: (e: any) => void;
|
|
899
|
+
protected handleRadioChange: (e: any) => void;
|
|
908
900
|
set correctResponse(responseValue: string | string[]);
|
|
909
901
|
render(): lit_html.TemplateResult<1>;
|
|
910
902
|
}
|