survey-react-ui 1.9.23 → 1.9.26

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.23",
3
+ "version": "1.9.26",
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.23
2
+ * Type definition for Survey JavaScript library for React (without core) v1.9.26
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
  */
@@ -10,10 +10,11 @@ import { LocalizableString, Base, ITitleOwner, PopupBaseViewModel, PageModel } f
10
10
  import { ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue, PanelModelBase, SurveyProgressButtonsModel } from "survey-core";
11
11
  import { IElement, ActionDropdownViewModel, TooltipManager, PanelModel, QuestionBooleanModel } from "survey-core";
12
12
  import { QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel, QuestionHtmlModel } from "survey-core";
13
- import { QuestionImageModel, QuestionImagePickerModel, QuestionMatrixModel, AdaptiveActionContainer, QuestionMultipleTextModel } from "survey-core";
14
- import { MultipleTextItemModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel } from "survey-core";
15
- import { RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel, SurveyWindowModel, FlowPanelModel } from "survey-core";
16
- import { QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel, QuestionMatrixDynamicModel, QuestionTextModel } from "survey-core";
13
+ import { QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel, AdaptiveActionContainer } from "survey-core";
14
+ import { QuestionMultipleTextModel, MultipleTextItemModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel } from "survey-core";
15
+ import { QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel, SurveyWindowModel } from "survey-core";
16
+ import { FlowPanelModel, QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel, QuestionMatrixDynamicModel } from "survey-core";
17
+ import { QuestionTextModel } from "survey-core";
17
18
  import * as React from "react";
18
19
 
19
20
  export { SurveyModel } from "survey-core";
@@ -312,18 +313,6 @@ export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
312
313
  protected renderInput(): any;
313
314
  protected renderCaption(): any;
314
315
  }
315
- export declare class SurveyNavigation extends SurveyNavigationBase {
316
- constructor(props: any);
317
- handlePrevClick(event: any): void;
318
- handleNextClick(event: any): void;
319
- handleNextMouseDown(event: any): boolean;
320
- handleMouseDown(event: any): boolean;
321
- handleCompleteClick(event: any): void;
322
- handlePreviewClick(event: any): void;
323
- handleStartClick(event: any): void;
324
- render(): any;
325
- protected renderButton(click: any, mouseDown: any, text: string, btnClassName: string): any;
326
- }
327
316
  export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
328
317
  constructor(props: any);
329
318
  protected rootRef: any;
@@ -443,6 +432,12 @@ export declare class SurveyElementErrors extends ReactSurveyElement {
443
432
  componentWillUnmount(): void;
444
433
  protected renderElement(): any;
445
434
  }
435
+ export declare class SurveyNavigationButton extends ReactSurveyElement {
436
+ constructor(props: any);
437
+ protected get item(): Action;
438
+ protected canRender(): boolean;
439
+ protected renderElement(): any;
440
+ }
446
441
  export declare class SurveyPage extends SurveyPanelBase {
447
442
  constructor(props: any);
448
443
  protected getPanelBase(): PanelModelBase;
@@ -573,9 +568,10 @@ export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase
573
568
  constructor(props: any);
574
569
  protected get question(): QuestionImagePickerModel;
575
570
  protected renderElement(): any;
571
+ protected getColumns(cssClasses: any): any;
576
572
  protected getItems(cssClasses: any): Array<any>;
577
573
  protected get textStyle(): any;
578
- protected renderItem(key: string, item: ItemValue, cssClasses: any): any;
574
+ protected renderItem(key: string, item: ImageItemValue, cssClasses: any): any;
579
575
  }
580
576
  export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
581
577
  constructor(props: any);