survey-creator-react 1.9.133 → 1.9.134

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.
@@ -5,7 +5,7 @@ import { QuestionAdornerViewModel } from "survey-creator-core";
5
5
  import { QuestionAdornerComponentProps } from "./Question";
6
6
  export declare class CellQuestionAdornerComponent extends CreatorModelElement<QuestionAdornerComponentProps, any> {
7
7
  model: QuestionAdornerViewModel;
8
- protected createModel(): void;
8
+ protected createModel(props: any): void;
9
9
  protected getStateElement(): Base;
10
10
  protected getUpdatedModelProps(): string[];
11
11
  render(): JSX.Element;
@@ -5,7 +5,7 @@ import { QuestionAdornerComponentProps } from "./Question";
5
5
  import { CreatorModelElement } from "../ModelElement";
6
6
  export declare class CellQuestionDropdownAdornerComponent extends CreatorModelElement<QuestionAdornerComponentProps, any> {
7
7
  model: QuestionAdornerViewModel;
8
- protected createModel(): void;
8
+ protected createModel(props: any): void;
9
9
  protected getUpdatedModelProps(): string[];
10
10
  protected getStateElement(): Base;
11
11
  render(): JSX.Element;
@@ -11,7 +11,7 @@ export declare class CreatorSurveyPageComponent extends CreatorModelElement<ICre
11
11
  private model;
12
12
  private rootRef;
13
13
  constructor(props: ICreatorSurveyPageComponentProps);
14
- protected createModel(): void;
14
+ protected createModel(props: any): void;
15
15
  protected getUpdatedModelProps(): string[];
16
16
  protected getStateElement(): Base;
17
17
  componentDidMount(): void;
@@ -10,8 +10,8 @@ export interface QuestionAdornerComponentProps {
10
10
  export declare class QuestionAdornerComponent extends CreatorModelElement<QuestionAdornerComponentProps, any> {
11
11
  private modelValue;
12
12
  protected rootRef: React.RefObject<HTMLDivElement>;
13
- protected createModel(): void;
14
- protected createQuestionViewModel(): QuestionAdornerViewModel;
13
+ protected createModel(props: any): void;
14
+ protected createQuestionViewModel(props: any): QuestionAdornerViewModel;
15
15
  protected getUpdatedModelProps(): string[];
16
16
  get model(): QuestionAdornerViewModel;
17
17
  protected getStateElement(): Base;
@@ -4,7 +4,7 @@ import { QuestionSelectBase } from "survey-core";
4
4
  import { QuestionAdornerComponent, QuestionAdornerComponentProps } from "./Question";
5
5
  export declare class QuestionDropdownAdornerComponent extends QuestionAdornerComponent {
6
6
  constructor(props: QuestionAdornerComponentProps);
7
- protected createQuestionViewModel(): QuestionDropdownAdornerViewModel;
7
+ protected createQuestionViewModel(props: any): QuestionDropdownAdornerViewModel;
8
8
  get dropdownModel(): QuestionDropdownAdornerViewModel;
9
9
  get question(): QuestionSelectBase;
10
10
  renderElementPlaceholder(): JSX.Element;
@@ -4,7 +4,7 @@ import { QuestionAdornerComponent, QuestionAdornerComponentProps } from "./Quest
4
4
  import { Base } from "survey-core";
5
5
  export declare class QuestionImageAdornerComponent extends QuestionAdornerComponent {
6
6
  constructor(props: QuestionAdornerComponentProps);
7
- protected createQuestionViewModel(): QuestionAdornerViewModel;
7
+ protected createQuestionViewModel(props: any): QuestionAdornerViewModel;
8
8
  get imageModel(): QuestionImageAdornerViewModel;
9
9
  componentDidMount(): void;
10
10
  protected renderHeader(): JSX.Element;
@@ -5,8 +5,8 @@ import { QuestionAdornerComponentProps } from "./Question";
5
5
  import { CreatorModelElement } from "../ModelElement";
6
6
  export declare class QuestionRatingAdornerComponent extends CreatorModelElement<QuestionAdornerComponentProps, any> {
7
7
  private modelValue;
8
- protected createModel(): void;
9
- protected createQuestionViewModel(): QuestionRatingAdornerViewModel;
8
+ protected createModel(props: any): void;
9
+ protected createQuestionViewModel(props: any): QuestionRatingAdornerViewModel;
10
10
  protected getUpdatedModelProps(): string[];
11
11
  get ratingModel(): QuestionRatingAdornerViewModel;
12
12
  get model(): QuestionRatingAdornerViewModel;
@@ -2,7 +2,7 @@
2
2
  import { QuestionAdornerViewModel } from "survey-creator-core";
3
3
  import { QuestionAdornerComponent } from "./Question";
4
4
  export declare class QuestionWidgetAdornerComponent extends QuestionAdornerComponent {
5
- protected createQuestionViewModel(): QuestionAdornerViewModel;
5
+ protected createQuestionViewModel(props: any): QuestionAdornerViewModel;
6
6
  get widgetModel(): QuestionAdornerViewModel;
7
7
  protected renderElementContent(): JSX.Element;
8
8
  }
@@ -10,7 +10,7 @@ interface RowWrapperComponentProps {
10
10
  export declare class RowWrapper extends CreatorModelElement<RowWrapperComponentProps, any> {
11
11
  model: RowViewModel;
12
12
  constructor(props: RowWrapperComponentProps);
13
- protected createModel(): void;
13
+ protected createModel(props: any): void;
14
14
  protected getUpdatedModelProps(): string[];
15
15
  protected getStateElement(): Base;
16
16
  render(): JSX.Element;
@@ -11,7 +11,7 @@ export interface ISurveyCreatorToolboxItemProps {
11
11
  export declare class SurveyCreatorToolboxTool extends CreatorModelElement<ISurveyCreatorToolboxItemProps, any> {
12
12
  model: ToolboxToolViewModel;
13
13
  constructor(props: any);
14
- protected createModel(): void;
14
+ protected createModel(props: any): void;
15
15
  protected getUpdatedModelProps(): string[];
16
16
  get item(): IQuestionToolboxItem;
17
17
  get creator(): SurveyCreatorModel;
@@ -22,7 +22,7 @@ export declare class SurveyCreatorToolboxTool extends CreatorModelElement<ISurve
22
22
  export declare class SurveyCreatorToolboxItem extends CreatorModelElement<ISurveyCreatorToolboxItemProps, any> {
23
23
  model: ToolboxToolViewModel;
24
24
  constructor(props: any);
25
- protected createModel(): void;
25
+ protected createModel(props: any): void;
26
26
  protected getUpdatedModelProps(): string[];
27
27
  get item(): IQuestionToolboxItem;
28
28
  get creator(): SurveyCreatorModel;