survey-react-ui 2.0.4 → 2.0.6

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,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.4
2
+ * surveyjs - Survey JavaScript library v2.0.6
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -0,0 +1,15 @@
1
+ import { Action, ActionContainer } from "survey-core";
2
+ import { SurveyElementBase } from "../../reactquestion_element";
3
+ interface IBreadcrumbsProps {
4
+ model: ActionContainer;
5
+ css: any;
6
+ }
7
+ export declare class SurveyBreadcrumbs extends SurveyElementBase<IBreadcrumbsProps, any> {
8
+ constructor(props: IBreadcrumbsProps);
9
+ protected getStateElement(): ActionContainer<Action>;
10
+ get items(): Action[];
11
+ get css(): any;
12
+ renderElement(): any;
13
+ renderItems(): any[];
14
+ }
15
+ export {};
@@ -22,6 +22,9 @@ export declare class SurveyQuestion extends SurveyElementBase<any, any> {
22
22
  protected canRender(): boolean;
23
23
  protected renderQuestionContent(): React.JSX.Element;
24
24
  protected renderElement(): React.JSX.Element;
25
+ private renderSingleInputQuestion;
26
+ protected renderSingleInputBreadcrumbs(question: Question, cssClasses: any): React.JSX.Element;
27
+ protected renderSingleInputSummary(question: Question, cssClasses: any): React.JSX.Element;
25
28
  protected wrapElement(element: React.JSX.Element): React.JSX.Element;
26
29
  protected wrapQuestionContent(element: React.JSX.Element): React.JSX.Element;
27
30
  protected renderQuestion(): React.JSX.Element;
@@ -35,7 +38,6 @@ export declare class SurveyElementErrors extends ReactSurveyElement {
35
38
  protected get id(): string;
36
39
  protected get element(): SurveyElement;
37
40
  private get creator();
38
- protected get location(): string;
39
41
  private getState;
40
42
  protected canRender(): boolean;
41
43
  componentWillUnmount(): void;
@@ -6,8 +6,6 @@ export declare class SurveyQuestionFile extends SurveyQuestionElementBase {
6
6
  protected get question(): QuestionFileModel;
7
7
  protected renderElement(): React.JSX.Element;
8
8
  protected renderFileDecorator(): React.JSX.Element;
9
- protected renderChooseButton(): React.JSX.Element;
10
- protected renderClearButton(className: string): React.JSX.Element | null;
11
9
  protected renderPreview(): React.JSX.Element;
12
10
  protected renderLoadingIndicator(): React.JSX.Element;
13
11
  protected renderVideo(): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { SurveyQuestionMatrixDropdownBase } from "./reactquestion_matrixdropdownbase";
3
- import { QuestionMatrixDynamicModel } from "survey-core";
3
+ import { Question, QuestionMatrixDynamicModel } from "survey-core";
4
4
  import { ReactSurveyElement } from "./reactquestion_element";
5
5
  export declare class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDropdownBase {
6
6
  constructor(props: any);
@@ -18,3 +18,8 @@ export declare class SurveyQuestionMatrixDynamicAddButton extends ReactSurveyEle
18
18
  handleOnRowAddClick(event: any): void;
19
19
  protected renderElement(): React.JSX.Element;
20
20
  }
21
+ export declare class SurveyQuestionMatrixDynamicPlaceholder extends ReactSurveyElement {
22
+ constructor(props: any);
23
+ protected renderElement(): React.JSX.Element;
24
+ protected renderAddRowButton(cssClasses: any, question: Question): React.JSX.Element;
25
+ }
@@ -1,7 +1,8 @@
1
1
  import * as React from "react";
2
2
  import { SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { SurveyModel, QuestionPanelDynamicModel } from "survey-core";
3
+ import { SurveyModel, Question, QuestionPanelDynamicModel } from "survey-core";
4
4
  import { SurveyPanel } from "./panel";
5
+ import { ReactSurveyElement } from "./reactquestion_element";
5
6
  export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBase {
6
7
  constructor(props: any);
7
8
  protected get question(): QuestionPanelDynamicModel;
@@ -9,14 +10,10 @@ export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBas
9
10
  componentWillUnmount(): void;
10
11
  private updateQuestionRendering;
11
12
  protected renderElement(): React.JSX.Element;
12
- protected renderNavigator(): React.JSX.Element | null;
13
- private renderProgressText;
14
- protected rendrerPrevButton(): React.JSX.Element;
15
- protected rendrerNextButton(): React.JSX.Element;
16
13
  protected renderRange(): React.JSX.Element;
17
14
  protected renderAddRowButton(): React.JSX.Element | null;
18
15
  protected renderNavigatorV2(): React.JSX.Element | null;
19
- protected renderPlaceholder(): React.JSX.Element | null;
16
+ protected renderPlaceholder(cssClasses: any): React.JSX.Element | null;
20
17
  }
21
18
  export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
22
19
  private get question();
@@ -26,3 +23,8 @@ export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
26
23
  render(): React.JSX.Element;
27
24
  protected renderButton(): React.JSX.Element | null;
28
25
  }
26
+ export declare class SurveyQuestionPanelDynamicPlaceholder extends ReactSurveyElement {
27
+ constructor(props: any);
28
+ protected renderElement(): React.JSX.Element;
29
+ protected renderAddRowButton(question: Question): React.JSX.Element;
30
+ }
@@ -5,6 +5,6 @@ export declare class SurveyQuestionRating extends SurveyQuestionElementBase {
5
5
  constructor(props: any);
6
6
  protected get question(): QuestionRatingModel;
7
7
  handleOnClick(event: any): void;
8
- protected renderItem(item: any, index: Number): React.JSX.Element;
8
+ protected renderItem(item: any, index: number): React.JSX.Element;
9
9
  protected renderElement(): React.JSX.Element;
10
10
  }
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ import { QuestionSingleInputSummary } from "survey-core";
3
+ import { ReactSurveyElement } from "./reactquestion_element";
4
+ export declare class SurveyQuestionSigleInputSummary extends ReactSurveyElement {
5
+ constructor(props: any);
6
+ private get css();
7
+ protected get summary(): QuestionSingleInputSummary;
8
+ protected renderElement(): React.JSX.Element;
9
+ private renderItems;
10
+ private renderNoItems;
11
+ private renderItem;
12
+ }