@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.
@@ -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, PropertyValues } from 'lit';
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
- _response: string | string[];
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
  }