@citolab/qti-components 6.0.26 → 6.0.28

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.
@@ -112,19 +112,12 @@ interface OptionType {
112
112
  selected: boolean;
113
113
  }
114
114
  declare class QtiInlineChoiceInteraction extends Interaction {
115
- options: OptionType[];
116
115
  static inputWidthClass: string[];
117
- static get properties(): {
118
- options: {
119
- type: ArrayConstructor;
120
- value: any[];
121
- attribute: boolean;
122
- };
123
- };
124
- connectedCallback(): void;
116
+ options: OptionType[];
117
+ dataPrompt: string;
125
118
  static get styles(): lit.CSSResult[];
126
119
  render(): lit_html.TemplateResult<1>;
127
- constructor();
120
+ firstUpdated(val: any): void;
128
121
  validate(): boolean;
129
122
  reset(): void;
130
123
  set response(value: string);
@@ -394,10 +387,13 @@ declare class QtiSimpleAssociableChoice extends LitElement {
394
387
  declare const QtiMatchInteraction_base: (new (...args: any[]) => IInteraction) & typeof LitElement;
395
388
  declare class QtiMatchInteraction extends QtiMatchInteraction_base {
396
389
  static styles: any[];
397
- rows: Element[];
398
- cols: Element[];
390
+ rows: QtiSimpleAssociableChoice[];
391
+ cols: QtiSimpleAssociableChoice[];
392
+ response: any[];
393
+ responseIdentifier: string;
399
394
  connectedCallback(): void;
400
395
  render(): lit_html.TemplateResult<1>;
396
+ protected saveResponse(): void;
401
397
  }
402
398
 
403
399
  declare class QtiMediaInteraction extends Interaction {
@@ -112,19 +112,12 @@ interface OptionType {
112
112
  selected: boolean;
113
113
  }
114
114
  declare class QtiInlineChoiceInteraction extends Interaction {
115
- options: OptionType[];
116
115
  static inputWidthClass: string[];
117
- static get properties(): {
118
- options: {
119
- type: ArrayConstructor;
120
- value: any[];
121
- attribute: boolean;
122
- };
123
- };
124
- connectedCallback(): void;
116
+ options: OptionType[];
117
+ dataPrompt: string;
125
118
  static get styles(): lit.CSSResult[];
126
119
  render(): lit_html.TemplateResult<1>;
127
- constructor();
120
+ firstUpdated(val: any): void;
128
121
  validate(): boolean;
129
122
  reset(): void;
130
123
  set response(value: string);
@@ -394,10 +387,13 @@ declare class QtiSimpleAssociableChoice extends LitElement {
394
387
  declare const QtiMatchInteraction_base: (new (...args: any[]) => IInteraction) & typeof LitElement;
395
388
  declare class QtiMatchInteraction extends QtiMatchInteraction_base {
396
389
  static styles: any[];
397
- rows: Element[];
398
- cols: Element[];
390
+ rows: QtiSimpleAssociableChoice[];
391
+ cols: QtiSimpleAssociableChoice[];
392
+ response: any[];
393
+ responseIdentifier: string;
399
394
  connectedCallback(): void;
400
395
  render(): lit_html.TemplateResult<1>;
396
+ protected saveResponse(): void;
401
397
  }
402
398
 
403
399
  declare class QtiMediaInteraction extends Interaction {