survey-react-ui 1.9.40 → 1.9.41

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.40",
3
+ "version": "1.9.41",
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.40
2
+ * Type definition for Survey JavaScript library for React (without core) v1.9.41
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
  */
@@ -11,10 +11,10 @@ import { ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue, P
11
11
  import { IElement, ActionDropdownViewModel, TooltipManager, MultipleTextItemModel, PanelModel } from "survey-core";
12
12
  import { QuestionBooleanModel, QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel } from "survey-core";
13
13
  import { QuestionHtmlModel, QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel } from "survey-core";
14
- import { AdaptiveActionContainer, MatrixDropdownColumn, QuestionMultipleTextModel, QuestionPanelDynamicModel, QuestionRadiogroupModel } from "survey-core";
15
- import { QuestionRankingModel, QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel } from "survey-core";
16
- import { SurveyWindowModel, FlowPanelModel, QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel } from "survey-core";
17
- import { QuestionMatrixDynamicModel, QuestionTextModel, IArrayPropertyDecoratorOptions, IAttachKey2clickOptions } from "survey-core";
14
+ import { AdaptiveActionContainer, QuestionMatrixDynamicModel, MatrixDropdownColumn, QuestionMultipleTextModel, QuestionPanelDynamicModel } from "survey-core";
15
+ import { QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel } from "survey-core";
16
+ import { SurveyTimerModel, SurveyWindowModel, FlowPanelModel, QuestionCommentModel, QuestionCompositeModel } from "survey-core";
17
+ import { QuestionCustomModel, QuestionTextModel, IArrayPropertyDecoratorOptions, IAttachKey2clickOptions } from "survey-core";
18
18
  import * as React from "react";
19
19
 
20
20
  export { SurveyModel } from "survey-core";
@@ -48,7 +48,7 @@ export interface ISurveyCreator {
48
48
  export interface ISurveyHeaderProps {
49
49
  survey: SurveyModel;
50
50
  }
51
- export interface IMAtrixRowProps {
51
+ export interface IMatrixRowProps {
52
52
  model: QuestionMatrixDropdownRenderedRow;
53
53
  parentMatrix: QuestionMatrixDropdownModelBase;
54
54
  }
@@ -204,8 +204,8 @@ export declare class ListItem extends SurveyElementBase<IListItemProps, any> {
204
204
  getStateElement(): any;
205
205
  render(): JSX.Element;
206
206
  }
207
- export declare class MatrixRow extends SurveyElementBase<IMAtrixRowProps, any> {
208
- constructor(props: IMAtrixRowProps);
207
+ export declare class MatrixRow extends SurveyElementBase<IMatrixRowProps, any> {
208
+ constructor(props: IMatrixRowProps);
209
209
  get model(): QuestionMatrixDropdownRenderedRow;
210
210
  get parentMatrix(): QuestionMatrixDropdownModelBase;
211
211
  protected getStateElement(): QuestionMatrixDropdownRenderedRow;
@@ -514,7 +514,8 @@ export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
514
514
  protected getFooter(): any;
515
515
  protected getColumnedBody(cssClasses: any): JSX.Element;
516
516
  protected getColumns(cssClasses: any): any;
517
- protected getItems(cssClasses: any): Array<any>;
517
+ protected getBody(cssClasses: any): JSX.Element;
518
+ protected getItems(cssClasses: any, choices: any): Array<any>;
518
519
  protected get textStyle(): any;
519
520
  protected renderOther(): JSX.Element;
520
521
  protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index: string): JSX.Element;
@@ -629,6 +630,12 @@ export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElem
629
630
  renderRow(keyValue: any, row: QuestionMatrixDropdownRenderedRow, cssClasses: any): JSX.Element;
630
631
  renderCell(cell: QuestionMatrixDropdownRenderedCell, index: number, cssClasses: any): JSX.Element;
631
632
  }
633
+ export declare class SurveyQuestionMatrixDynamicAddButton extends ReactSurveyElement {
634
+ constructor(props: any);
635
+ protected get matrix(): QuestionMatrixDynamicModel;
636
+ handleOnRowAddClick(event: any): void;
637
+ protected renderElement(): JSX.Element;
638
+ }
632
639
  export declare class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
633
640
  constructor(props: any);
634
641
  protected renderElement(): JSX.Element;
@@ -706,7 +713,8 @@ export declare class SurveyQuestionRadiogroup extends SurveyQuestionElementBase
706
713
  protected getFooter(): any;
707
714
  protected getColumnedBody(cssClasses: any): JSX.Element;
708
715
  protected getColumns(cssClasses: any): any;
709
- protected getItems(cssClasses: any): Array<any>;
716
+ protected getBody(cssClasses: any): JSX.Element;
717
+ protected getItems(cssClasses: any, choices: any): Array<any>;
710
718
  protected get textStyle(): any;
711
719
  protected renderOther(cssClasses: any): JSX.Element;
712
720
  }