survey-react-ui 1.9.22 → 1.9.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react-ui",
3
- "version": "1.9.22",
3
+ "version": "1.9.23",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Type definition for Survey JavaScript library for React (without core) v1.9.22
2
+ * Type definition for Survey JavaScript library for React (without core) v1.9.23
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -119,7 +119,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
119
119
  render(): any;
120
120
  protected wrapElement(element: any): any;
121
121
  protected get isRendering(): boolean;
122
- protected getRenderedElement(): Base;
122
+ protected getRenderedElements(): Array<Base>;
123
123
  protected canRender(): boolean;
124
124
  protected renderElement(): any;
125
125
  protected get changedStatePropName(): string;
@@ -396,7 +396,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
396
396
  componentWillUnmount(): void;
397
397
  protected updateDomElement(): void;
398
398
  protected get questionBase(): Question;
399
- protected getRenderedElement(): Base;
399
+ protected getRenderedElements(): Array<Base>;
400
400
  protected get creator(): ISurveyCreator;
401
401
  protected canRender(): boolean;
402
402
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
@@ -572,12 +572,23 @@ export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
572
572
  export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
573
573
  constructor(props: any);
574
574
  protected get question(): QuestionImagePickerModel;
575
- handleOnChange(event: any): void;
576
575
  protected renderElement(): any;
577
576
  protected getItems(cssClasses: any): Array<any>;
578
577
  protected get textStyle(): any;
579
578
  protected renderItem(key: string, item: ItemValue, cssClasses: any): any;
580
579
  }
580
+ export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
581
+ constructor(props: any);
582
+ protected getStateElement(): any;
583
+ componentDidMount(): void;
584
+ componentWillUnmount(): void;
585
+ componentDidUpdate(prevProps: any, prevState: any): void;
586
+ protected get cssClasses(): any;
587
+ protected get item(): any;
588
+ protected get question(): any;
589
+ handleOnChange(event: any): void;
590
+ protected renderElement(): any;
591
+ }
581
592
  export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
582
593
  constructor(props: any);
583
594
  protected get question(): QuestionMatrixModel;