survey-js-ui 3.2.0 → 3.2.1

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
  import * as React from "react";
2
- import { Question, DropdownListModel, ItemValue } from "survey-core";
2
+ import { Base, Question, DropdownListModel, DropdownRenderState, ItemValue } from "survey-core";
3
3
  import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
4
4
  export declare class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuestionUncontrolledElement<T> {
5
5
  inputElement: HTMLInputElement | null;
@@ -10,7 +10,8 @@ export declare class SurveyQuestionDropdownBase<T extends Question> extends Surv
10
10
  blur: (event: any) => void;
11
11
  focus: (event: any) => void;
12
12
  protected get dropdownListModel(): DropdownListModel;
13
- protected getStateElement(): any;
13
+ protected get renderState(): DropdownRenderState;
14
+ protected getStateElements(): Array<Base>;
14
15
  protected setValueCore(newValue: any): void;
15
16
  protected getValueCore(): any;
16
17
  protected renderReadOnlyElement(): React.JSX.Element | null;
@@ -1,13 +1,14 @@
1
1
  import * as React from "react";
2
- import { DropdownMultiSelectListModel, QuestionTagboxModel } from "survey-core";
2
+ import { Base, DropdownMultiSelectListModel, DropdownMultiSelectRenderState, QuestionTagboxModel } from "survey-core";
3
3
  import { SurveyElementBase } from "./reactquestion_element";
4
4
  interface ITagboxFilterProps {
5
- model: DropdownMultiSelectListModel;
5
+ model?: DropdownMultiSelectListModel;
6
6
  question: QuestionTagboxModel;
7
7
  }
8
8
  export declare class TagboxFilterString extends SurveyElementBase<ITagboxFilterProps, any> {
9
9
  inputElement: HTMLInputElement | null;
10
10
  get model(): DropdownMultiSelectListModel;
11
+ protected get renderState(): DropdownMultiSelectRenderState;
11
12
  get question(): QuestionTagboxModel;
12
13
  componentDidUpdate(prevProps: any, prevState: any): void;
13
14
  componentDidMount(): void;
@@ -17,7 +18,7 @@ export declare class TagboxFilterString extends SurveyElementBase<ITagboxFilterP
17
18
  onBlur(e: any): void;
18
19
  onFocus(e: any): void;
19
20
  constructor(props: any);
20
- getStateElement(): DropdownMultiSelectListModel;
21
+ getStateElement(): Base;
21
22
  render(): React.JSX.Element;
22
23
  }
23
24
  export {};