survey-react-ui 1.12.26 → 1.12.27

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.
Files changed (160) hide show
  1. package/fesm/survey-react-ui.js +5972 -0
  2. package/fesm/survey-react-ui.js.map +1 -0
  3. package/index.html +1 -1
  4. package/package.json +2 -2
  5. package/survey-react-ui.js +35 -25
  6. package/survey-react-ui.js.map +1 -1
  7. package/survey-react-ui.min.js +4 -4
  8. package/survey-react-ui.min.js.LICENSE.txt +1 -489
  9. package/typings/packages/survey-react-ui/src/reactquestion_element.d.ts +3 -0
  10. package/typings/src/components/action-bar/action-bar-item-dropdown.d.ts +1 -1
  11. package/typings/src/components/action-bar/action-bar-item.d.ts +1 -2
  12. package/typings/src/components/action-bar/action-bar-separator.d.ts +1 -1
  13. package/typings/src/components/action-bar/action-bar.d.ts +1 -1
  14. package/typings/src/components/brand-info.d.ts +1 -1
  15. package/typings/src/components/character-counter.d.ts +1 -1
  16. package/typings/src/components/components-container.d.ts +1 -1
  17. package/typings/src/components/file/file-choose-button.d.ts +1 -1
  18. package/typings/src/components/file/file-item.d.ts +1 -1
  19. package/typings/src/components/file/file-page.d.ts +1 -1
  20. package/typings/src/components/file/file-preview.d.ts +1 -1
  21. package/typings/src/components/header.d.ts +3 -1
  22. package/typings/src/components/list/list-item-content.d.ts +1 -1
  23. package/typings/src/components/list/list-item-group.d.ts +1 -1
  24. package/typings/src/components/list/list-item.d.ts +1 -1
  25. package/typings/src/components/list/list.d.ts +1 -1
  26. package/typings/src/components/matrix/row.d.ts +1 -1
  27. package/typings/src/components/matrix-actions/detail-button/detail-button.d.ts +1 -1
  28. package/typings/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +1 -1
  29. package/typings/src/components/matrix-actions/remove-button/remove-button.d.ts +1 -1
  30. package/typings/src/components/notifier.d.ts +1 -1
  31. package/typings/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +1 -1
  32. package/typings/src/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +1 -1
  33. package/typings/src/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +1 -1
  34. package/typings/src/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +1 -1
  35. package/typings/src/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +1 -1
  36. package/typings/src/components/popup/popup-modal.d.ts +1 -1
  37. package/typings/src/components/popup/popup.d.ts +1 -1
  38. package/typings/src/components/question-error.d.ts +1 -1
  39. package/typings/src/components/rating/rating-dropdown-item.d.ts +1 -1
  40. package/typings/src/components/rating/rating-item-smiley.d.ts +1 -1
  41. package/typings/src/components/rating/rating-item-star.d.ts +1 -1
  42. package/typings/src/components/rating/rating-item.d.ts +1 -1
  43. package/typings/src/components/skeleton.d.ts +1 -1
  44. package/typings/src/components/survey-actions/survey-nav-button.d.ts +1 -1
  45. package/typings/src/components/survey-header/logo-image.d.ts +1 -1
  46. package/typings/src/components/survey-header/survey-header.d.ts +1 -1
  47. package/typings/src/components/svg-icon/svg-icon.d.ts +1 -1
  48. package/typings/src/components/text-area.d.ts +1 -1
  49. package/typings/src/components/title/title-actions.d.ts +1 -1
  50. package/typings/src/components/title/title-content.d.ts +1 -1
  51. package/typings/src/components/title/title-element.d.ts +1 -1
  52. package/typings/src/element-factory.d.ts +0 -1
  53. package/typings/src/element-header.d.ts +6 -3
  54. package/typings/src/reactquestion_buttongroup.d.ts +1 -1
  55. package/typings/src/reactquestion_element.d.ts +3 -0
  56. package/typings/src/reactquestion_factory.d.ts +0 -1
  57. package/typings/src/reactsurveymodel.d.ts +0 -1
  58. package/typings/src/string-editor.d.ts +1 -1
  59. package/typings/src/string-viewer.d.ts +1 -1
  60. package/typings/src/svgbundle.d.ts +1 -1
  61. package/survey-react-ui.d.ts +0 -2
  62. package/typings/react/boolean-checkbox.d.ts +0 -6
  63. package/typings/react/boolean-radio.d.ts +0 -8
  64. package/typings/react/boolean.d.ts +0 -17
  65. package/typings/react/components/action-bar/action-bar-item-dropdown.d.ts +0 -8
  66. package/typings/react/components/action-bar/action-bar-item.d.ts +0 -20
  67. package/typings/react/components/action-bar/action-bar-separator.d.ts +0 -5
  68. package/typings/react/components/action-bar/action-bar.d.ts +0 -21
  69. package/typings/react/components/brand-info.d.ts +0 -4
  70. package/typings/react/components/character-counter.d.ts +0 -11
  71. package/typings/react/components/components-container.d.ts +0 -4
  72. package/typings/react/components/cover.d.ts +0 -17
  73. package/typings/react/components/file/file-choose-button.d.ts +0 -8
  74. package/typings/react/components/file/file-preview.d.ts +0 -11
  75. package/typings/react/components/file-actions/file-choose-button.d.ts +0 -8
  76. package/typings/react/components/header.d.ts +0 -22
  77. package/typings/react/components/list/list-item-content.d.ts +0 -14
  78. package/typings/react/components/list/list-item-group.d.ts +0 -14
  79. package/typings/react/components/list/list-item.d.ts +0 -16
  80. package/typings/react/components/list/list.d.ts +0 -23
  81. package/typings/react/components/loading-indicator.d.ts +0 -4
  82. package/typings/react/components/matrix/row.d.ts +0 -20
  83. package/typings/react/components/matrix-actions/detail-button/detail-button.d.ts +0 -12
  84. package/typings/react/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +0 -6
  85. package/typings/react/components/matrix-actions/remove-button/remove-button.d.ts +0 -9
  86. package/typings/react/components/notifier.d.ts +0 -11
  87. package/typings/react/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +0 -12
  88. package/typings/react/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +0 -6
  89. package/typings/react/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +0 -6
  90. package/typings/react/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +0 -5
  91. package/typings/react/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +0 -6
  92. package/typings/react/components/popup/popup.d.ts +0 -42
  93. package/typings/react/components/question-error.d.ts +0 -10
  94. package/typings/react/components/rating/rating-dropdown-item.d.ts +0 -12
  95. package/typings/react/components/rating/rating-item-smiley.d.ts +0 -5
  96. package/typings/react/components/rating/rating-item-star.d.ts +0 -5
  97. package/typings/react/components/rating/rating-item.d.ts +0 -22
  98. package/typings/react/components/skeleton.d.ts +0 -4
  99. package/typings/react/components/survey-actions/survey-nav-button.d.ts +0 -8
  100. package/typings/react/components/survey-header/logo-image.d.ts +0 -11
  101. package/typings/react/components/survey-header/survey-header.d.ts +0 -17
  102. package/typings/react/components/svg-icon/svg-icon.d.ts +0 -9
  103. package/typings/react/components/title/title-actions.d.ts +0 -7
  104. package/typings/react/components/title/title-content.d.ts +0 -10
  105. package/typings/react/components/title/title-element.d.ts +0 -6
  106. package/typings/react/custom-widget.d.ts +0 -12
  107. package/typings/react/dropdown-base.d.ts +0 -25
  108. package/typings/react/dropdown-item.d.ts +0 -13
  109. package/typings/react/dropdown-select.d.ts +0 -6
  110. package/typings/react/element-factory.d.ts +0 -9
  111. package/typings/react/element-header.d.ts +0 -5
  112. package/typings/react/element.d.ts +0 -19
  113. package/typings/react/flow-panel.d.ts +0 -22
  114. package/typings/react/image.d.ts +0 -10
  115. package/typings/react/imagepicker.d.ts +0 -25
  116. package/typings/react/page.d.ts +0 -11
  117. package/typings/react/panel-base.d.ts +0 -25
  118. package/typings/react/panel.d.ts +0 -16
  119. package/typings/react/progress.d.ts +0 -9
  120. package/typings/react/progressButtons.d.ts +0 -19
  121. package/typings/react/progressToc.d.ts +0 -5
  122. package/typings/react/rating-dropdown.d.ts +0 -8
  123. package/typings/react/react-popup-survey.d.ts +0 -24
  124. package/typings/react/reactSurvey.d.ts +0 -41
  125. package/typings/react/reactSurveyNavigationBase.d.ts +0 -10
  126. package/typings/react/reactSurveyProgress.d.ts +0 -9
  127. package/typings/react/reactSurveyProgressButtons.d.ts +0 -19
  128. package/typings/react/reactSurveyProgressToc.d.ts +0 -5
  129. package/typings/react/reactquestion.d.ts +0 -81
  130. package/typings/react/reactquestion_buttongroup.d.ts +0 -23
  131. package/typings/react/reactquestion_checkbox.d.ts +0 -33
  132. package/typings/react/reactquestion_comment.d.ts +0 -31
  133. package/typings/react/reactquestion_custom.d.ts +0 -13
  134. package/typings/react/reactquestion_dropdown.d.ts +0 -7
  135. package/typings/react/reactquestion_element.d.ts +0 -65
  136. package/typings/react/reactquestion_empty.d.ts +0 -8
  137. package/typings/react/reactquestion_expression.d.ts +0 -8
  138. package/typings/react/reactquestion_factory.d.ts +0 -8
  139. package/typings/react/reactquestion_file.d.ts +0 -14
  140. package/typings/react/reactquestion_html.d.ts +0 -13
  141. package/typings/react/reactquestion_matrix.d.ts +0 -33
  142. package/typings/react/reactquestion_matrixdropdown.d.ts +0 -4
  143. package/typings/react/reactquestion_matrixdropdownbase.d.ts +0 -29
  144. package/typings/react/reactquestion_matrixdynamic.d.ts +0 -20
  145. package/typings/react/reactquestion_multipletext.d.ts +0 -22
  146. package/typings/react/reactquestion_paneldynamic.d.ts +0 -28
  147. package/typings/react/reactquestion_radiogroup.d.ts +0 -32
  148. package/typings/react/reactquestion_ranking.d.ts +0 -30
  149. package/typings/react/reactquestion_rating.d.ts +0 -10
  150. package/typings/react/reactquestion_tagbox.d.ts +0 -10
  151. package/typings/react/reactquestion_text.d.ts +0 -11
  152. package/typings/react/reactsurveymodel.d.ts +0 -9
  153. package/typings/react/reacttimerpanel.d.ts +0 -11
  154. package/typings/react/row.d.ts +0 -21
  155. package/typings/react/signaturepad.d.ts +0 -11
  156. package/typings/react/string-editor.d.ts +0 -11
  157. package/typings/react/string-viewer.d.ts +0 -15
  158. package/typings/react/svgbundle.d.ts +0 -7
  159. package/typings/react/tagbox-filter.d.ts +0 -23
  160. package/typings/react/tagbox-item.d.ts +0 -10
@@ -1,81 +0,0 @@
1
- import * as React from "react";
2
- import { Base, SurveyElement, SurveyError, Question, QuestionMatrixDropdownRenderedCell } from "survey-core";
3
- import { SurveyElementBase, ReactSurveyElement } from "./reactquestion_element";
4
- export interface ISurveyCreator {
5
- createQuestionElement(question: Question): JSX.Element | null;
6
- renderError(key: string, error: SurveyError, cssClasses: any, element?: any): JSX.Element;
7
- questionTitleLocation(): string;
8
- questionErrorLocation(): string;
9
- }
10
- export declare class SurveyQuestion extends SurveyElementBase<any, any> {
11
- private isNeedFocus;
12
- static renderQuestionBody(creator: ISurveyCreator, question: Question): JSX.Element | any;
13
- private rootRef;
14
- constructor(props: any);
15
- protected getStateElement(): Base;
16
- protected get question(): Question;
17
- private get creator();
18
- componentDidMount(): void;
19
- componentWillUnmount(): void;
20
- componentDidUpdate(prevProps: any, prevState: any): void;
21
- private doAfterRender;
22
- protected canRender(): boolean;
23
- protected renderQuestionContent(): JSX.Element;
24
- protected renderElement(): JSX.Element;
25
- protected wrapElement(element: JSX.Element): JSX.Element;
26
- protected wrapQuestionContent(element: JSX.Element): JSX.Element;
27
- protected renderQuestion(): JSX.Element;
28
- protected renderDescription(): JSX.Element;
29
- protected renderComment(cssClasses: any): JSX.Element;
30
- protected renderHeader(question: Question): JSX.Element;
31
- protected renderErrors(cssClasses: any, location: string): JSX.Element;
32
- }
33
- export declare class SurveyElementErrors extends ReactSurveyElement {
34
- constructor(props: any);
35
- protected get id(): string;
36
- protected get element(): SurveyElement;
37
- private get creator();
38
- protected get location(): string;
39
- private getState;
40
- protected canRender(): boolean;
41
- componentWillUnmount(): void;
42
- protected renderElement(): JSX.Element;
43
- }
44
- export declare abstract class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {
45
- [index: string]: any;
46
- constructor(props: any);
47
- protected getStateElement(): Base;
48
- protected get question(): Question;
49
- protected get creator(): ISurveyCreator;
50
- protected getQuestion(): Question;
51
- protected get itemCss(): string;
52
- componentDidMount(): void;
53
- componentDidUpdate(prevProps: any, prevState: any): void;
54
- protected doAfterRender(): void;
55
- protected canRender(): boolean;
56
- protected renderContent(): JSX.Element;
57
- protected abstract renderElement(): JSX.Element;
58
- protected getShowErrors(): boolean;
59
- protected renderQuestion(): JSX.Element;
60
- }
61
- export declare class SurveyQuestionAndErrorsCell extends SurveyQuestionAndErrorsWrapped {
62
- [index: string]: any;
63
- protected cellRef: React.RefObject<HTMLTableCellElement>;
64
- constructor(props: any);
65
- componentWillUnmount(): void;
66
- protected renderCellContent(): JSX.Element;
67
- protected renderElement(): JSX.Element;
68
- protected getCellStyle(): any;
69
- protected getHeaderText(): string;
70
- protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element): JSX.Element;
71
- }
72
- export declare class SurveyQuestionErrorCell extends React.Component<any, any> {
73
- constructor(props: any);
74
- private get question();
75
- private update;
76
- private registerCallback;
77
- private unRegisterCallback;
78
- componentDidUpdate(prevProps: Readonly<any>): void;
79
- componentWillUnmount(): void;
80
- render(): JSX.Element;
81
- }
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { SurveyElementBase } from "./reactquestion_element";
4
- import { QuestionButtonGroupModel, ButtonGroupItemValue, ButtonGroupItemModel } from "survey-core";
5
- export declare class SurveyQuestionButtonGroup extends SurveyQuestionElementBase {
6
- constructor(props: any);
7
- protected get question(): QuestionButtonGroupModel;
8
- getStateElement(): QuestionButtonGroupModel;
9
- renderElement(): JSX.Element;
10
- renderItems(): JSX.Element[];
11
- }
12
- export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
13
- model: ButtonGroupItemModel;
14
- constructor(props: any);
15
- get index(): number;
16
- get question(): QuestionButtonGroupModel;
17
- get item(): ButtonGroupItemValue;
18
- getStateElement(): ButtonGroupItemValue;
19
- renderElement(): JSX.Element;
20
- protected renderIcon(): JSX.Element | null;
21
- protected renderInput(): JSX.Element;
22
- protected renderCaption(): JSX.Element | null;
23
- }
@@ -1,33 +0,0 @@
1
- /// <reference types="react" />
2
- import { ReactSurveyElement, SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { Base, ItemValue, QuestionCheckboxModel } from "survey-core";
4
- export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
5
- constructor(props: any);
6
- protected get question(): QuestionCheckboxModel;
7
- protected renderElement(): JSX.Element;
8
- protected getHeader(): JSX.Element[] | undefined;
9
- protected getFooter(): JSX.Element[] | undefined;
10
- protected getColumnedBody(cssClasses: any): JSX.Element;
11
- protected getColumns(cssClasses: any): JSX.Element[];
12
- protected getBody(cssClasses: any): JSX.Element;
13
- protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
14
- protected get textStyle(): any;
15
- protected renderOther(): JSX.Element;
16
- protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index?: string): JSX.Element;
17
- }
18
- export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
19
- constructor(props: any);
20
- protected getStateElement(): Base;
21
- protected get question(): QuestionCheckboxModel;
22
- protected get item(): ItemValue;
23
- protected get textStyle(): any;
24
- protected get isFirst(): any;
25
- protected get index(): number;
26
- private get hideCaption();
27
- shouldComponentUpdate(nextProps: any, nextState: any): boolean;
28
- handleOnChange: (event: any) => void;
29
- protected canRender(): boolean;
30
- protected renderElement(): JSX.Element;
31
- protected get inputStyle(): any;
32
- protected renderCheckbox(isChecked: boolean, otherItem: JSX.Element | null): JSX.Element;
33
- }
@@ -1,31 +0,0 @@
1
- /// <reference types="react" />
2
- import { ReactSurveyElement, SurveyQuestionUncontrolledElement } from "./reactquestion_element";
3
- import { QuestionCommentModel } from "survey-core";
4
- export declare class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {
5
- constructor(props: any);
6
- protected renderElement(): JSX.Element;
7
- }
8
- export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
9
- private control;
10
- constructor(props: any);
11
- componentDidUpdate(prevProps: any, prevState: any): void;
12
- componentDidMount(): void;
13
- protected updateDomElement(): void;
14
- protected setControl(element: HTMLElement | null): void;
15
- protected canRender(): boolean;
16
- protected onCommentChange(event: any): void;
17
- protected onCommentInput(event: any): void;
18
- protected getComment(): string;
19
- protected setComment(value: any): void;
20
- protected getId(): string;
21
- protected getPlaceholder(): string;
22
- protected renderElement(): JSX.Element;
23
- }
24
- export declare class SurveyQuestionOtherValueItem extends SurveyQuestionCommentItem {
25
- protected onCommentChange(event: any): void;
26
- protected onCommentInput(event: any): void;
27
- protected getComment(): string;
28
- protected setComment(value: any): void;
29
- protected getId(): string;
30
- protected getPlaceholder(): string;
31
- }
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
3
- import { Base, QuestionCustomModel, QuestionCompositeModel } from "survey-core";
4
- export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElement<QuestionCustomModel> {
5
- constructor(props: any);
6
- protected getStateElements(): Array<Base>;
7
- protected renderElement(): JSX.Element;
8
- }
9
- export declare class SurveyQuestionComposite extends SurveyQuestionUncontrolledElement<QuestionCompositeModel> {
10
- constructor(props: any);
11
- protected canRender(): boolean;
12
- protected renderElement(): JSX.Element;
13
- }
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { Question } from "survey-core";
3
- import { SurveyQuestionDropdownBase } from "./dropdown-base";
4
- export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
5
- constructor(props: any);
6
- protected renderElement(): JSX.Element;
7
- }
@@ -1,65 +0,0 @@
1
- import * as React from "react";
2
- import { Base, PanelModel, LocalizableString, Question } from "survey-core";
3
- import { ISurveyCreator } from "./reactquestion";
4
- export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
5
- static renderLocString(locStr: LocalizableString, style?: any, key?: string): JSX.Element;
6
- static renderQuestionDescription(question: Question | PanelModel): JSX.Element;
7
- private changedStatePropNameValue;
8
- constructor(props: any);
9
- componentDidMount(): void;
10
- componentWillUnmount(): void;
11
- componentDidUpdate(prevProps: any, prevState: any): void;
12
- private _allowComponentUpdate;
13
- protected allowComponentUpdate(): void;
14
- protected denyComponentUpdate(): void;
15
- shouldComponentUpdate(nextProps: any, nextState: any): boolean;
16
- render(): JSX.Element | null;
17
- protected wrapElement(element: JSX.Element): JSX.Element;
18
- protected get isRendering(): boolean;
19
- protected getRenderedElements(): Base[];
20
- private startEndRendering;
21
- protected canRender(): boolean;
22
- protected renderElement(): JSX.Element | null;
23
- protected get changedStatePropName(): string | undefined;
24
- private makeBaseElementsReact;
25
- private unMakeBaseElementsReact;
26
- protected getStateElements(): Array<Base>;
27
- protected getStateElement(): Base | null;
28
- protected get isDisplayMode(): boolean;
29
- protected renderLocString(locStr: LocalizableString, style?: any, key?: string): JSX.Element;
30
- private canMakeReact;
31
- private makeBaseElementReact;
32
- protected canUsePropInState(key: string): boolean;
33
- private unMakeBaseElementReact;
34
- }
35
- export declare class ReactSurveyElement extends SurveyElementBase<any, any> {
36
- constructor(props: any);
37
- protected get cssClasses(): any;
38
- }
39
- export declare class SurveyQuestionElementBase extends SurveyElementBase<any, any> {
40
- control: HTMLElement;
41
- content: HTMLElement;
42
- constructor(props: any);
43
- componentDidUpdate(prevProps: any, prevState: any): void;
44
- componentDidMount(): void;
45
- componentWillUnmount(): void;
46
- protected updateDomElement(): void;
47
- protected get questionBase(): Question;
48
- protected getRenderedElements(): Base[];
49
- protected get creator(): ISurveyCreator;
50
- protected canRender(): boolean;
51
- shouldComponentUpdate(nextProps: any, nextState: any): boolean;
52
- protected get isDisplayMode(): boolean;
53
- protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
54
- setControl(element: HTMLElement | null): void;
55
- setContent(element: HTMLElement | null): void;
56
- }
57
- export declare class SurveyQuestionUncontrolledElement<T extends Question> extends SurveyQuestionElementBase {
58
- constructor(props: any);
59
- protected get question(): T;
60
- updateValueOnEvent: (event: any) => void;
61
- protected setValueCore(newValue: any): void;
62
- protected getValueCore(): any;
63
- protected updateDomElement(): void;
64
- private getValue;
65
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { QuestionEmptyModel } from "survey-core";
4
- export declare class SurveyQuestionEmpty extends SurveyQuestionElementBase {
5
- constructor(props: any);
6
- protected get question(): QuestionEmptyModel;
7
- protected renderElement(): JSX.Element;
8
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { QuestionExpressionModel } from "survey-core";
4
- export declare class SurveyQuestionExpression extends SurveyQuestionElementBase {
5
- constructor(props: any);
6
- protected get question(): QuestionExpressionModel;
7
- protected renderElement(): JSX.Element;
8
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- export declare class ReactQuestionFactory {
3
- static Instance: ReactQuestionFactory;
4
- private creatorHash;
5
- registerQuestion(questionType: string, questionCreator: (name: string) => JSX.Element): void;
6
- getAllTypes(): Array<string>;
7
- createQuestion(questionType: string, params: any): JSX.Element | null;
8
- }
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { QuestionFileModel } from "survey-core";
3
- import { SurveyQuestionElementBase } from "./reactquestion_element";
4
- export declare class SurveyQuestionFile extends SurveyQuestionElementBase {
5
- constructor(props: any);
6
- protected get question(): QuestionFileModel;
7
- protected renderElement(): JSX.Element;
8
- protected renderFileDecorator(): JSX.Element;
9
- protected renderChooseButton(): JSX.Element;
10
- protected renderClearButton(className: string): JSX.Element | null;
11
- protected renderPreview(): JSX.Element;
12
- protected renderLoadingIndicator(): JSX.Element;
13
- protected renderVideo(): JSX.Element;
14
- }
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { QuestionHtmlModel } from "survey-core";
4
- export declare class SurveyQuestionHtml extends SurveyQuestionElementBase {
5
- constructor(props: any);
6
- protected get question(): QuestionHtmlModel;
7
- componentDidMount(): void;
8
- componentWillUnmount(): void;
9
- componentDidUpdate(prevProps: any, prevState: any): void;
10
- private reactOnStrChanged;
11
- protected canRender(): boolean;
12
- protected renderElement(): JSX.Element;
13
- }
@@ -1,33 +0,0 @@
1
- /// <reference types="react" />
2
- import { ReactSurveyElement, SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { QuestionMatrixModel, Base } from "survey-core";
4
- export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
5
- constructor(props: any);
6
- protected get question(): QuestionMatrixModel;
7
- componentDidMount(): void;
8
- componentWillUnmount(): void;
9
- protected renderElement(): JSX.Element;
10
- }
11
- export declare class SurveyQuestionMatrixRow extends ReactSurveyElement {
12
- constructor(props: any);
13
- protected getStateElement(): Base | null;
14
- private get question();
15
- private get row();
16
- protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element;
17
- protected canRender(): boolean;
18
- protected renderElement(): JSX.Element;
19
- generateTds(): Array<JSX.Element>;
20
- cellClick(row: any, column: any): void;
21
- }
22
- export declare class SurveyQuestionMatrixCell extends ReactSurveyElement {
23
- constructor(props: any);
24
- handleOnChange(event: any): void;
25
- handleOnMouseDown(event: any): void;
26
- private get question();
27
- private get row();
28
- private get column();
29
- private get columnIndex();
30
- protected canRender(): boolean;
31
- protected renderElement(): JSX.Element;
32
- protected renderInput(inputId: string, isChecked: boolean): JSX.Element;
33
- }
@@ -1,4 +0,0 @@
1
- import { SurveyQuestionMatrixDropdownBase } from "./reactquestion_matrixdropdownbase";
2
- export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
3
- constructor(props: any);
4
- }
@@ -1,29 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { SurveyQuestionAndErrorsCell } from "./reactquestion";
4
- import { QuestionMatrixDropdownModelBase, Question } from "survey-core";
5
- export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {
6
- constructor(props: any);
7
- protected get question(): QuestionMatrixDropdownModelBase;
8
- private getState;
9
- private updateStateOnCallback;
10
- componentDidMount(): void;
11
- componentWillUnmount(): void;
12
- protected renderElement(): JSX.Element;
13
- renderTableDiv(): JSX.Element;
14
- }
15
- export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
16
- constructor(props: any);
17
- private get cell();
18
- protected get itemCss(): string;
19
- protected getQuestion(): Question | any;
20
- protected doAfterRender(): void;
21
- protected getShowErrors(): boolean;
22
- protected getCellStyle(): any;
23
- protected getHeaderText(): string;
24
- protected renderCellContent(): JSX.Element;
25
- protected renderQuestion(): JSX.Element;
26
- private renderOtherComment;
27
- private renderCellCheckboxButton;
28
- private renderCellRadiogroupButton;
29
- }
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionMatrixDropdownBase } from "./reactquestion_matrixdropdownbase";
3
- import { QuestionMatrixDynamicModel } from "survey-core";
4
- import { ReactSurveyElement } from "./reactquestion_element";
5
- export declare class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDropdownBase {
6
- constructor(props: any);
7
- protected get matrix(): QuestionMatrixDynamicModel;
8
- handleOnRowAddClick(event: any): void;
9
- protected renderElement(): JSX.Element;
10
- protected renderAddRowButtonOnTop(cssClasses: any): JSX.Element | null;
11
- protected renderAddRowButtonOnBottom(cssClasses: any): JSX.Element | null;
12
- protected renderNoRowsContent(cssClasses: any): JSX.Element;
13
- protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean): JSX.Element;
14
- }
15
- export declare class SurveyQuestionMatrixDynamicAddButton extends ReactSurveyElement {
16
- constructor(props: any);
17
- protected get matrix(): QuestionMatrixDynamicModel;
18
- handleOnRowAddClick(event: any): void;
19
- protected renderElement(): JSX.Element;
20
- }
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { SurveyQuestionAndErrorsWrapped } from "./reactquestion";
4
- import { QuestionMultipleTextModel, MultipleTextItemModel, MultipleTextCell } from "survey-core";
5
- import { ReactSurveyElement } from "./reactquestion_element";
6
- export declare class SurveyQuestionMultipleText extends SurveyQuestionElementBase {
7
- constructor(props: any);
8
- protected get question(): QuestionMultipleTextModel;
9
- protected renderElement(): JSX.Element;
10
- protected renderCell(cell: MultipleTextCell, cssClasses: any, index: number): JSX.Element;
11
- protected renderRow(rowIndex: number, cells: Array<MultipleTextCell>, cssClasses: any): JSX.Element;
12
- }
13
- export declare class SurveyMultipleTextItem extends ReactSurveyElement {
14
- private get question();
15
- private get item();
16
- protected getStateElements(): (MultipleTextItemModel | import("survey-core").MultipleTextEditorModel)[];
17
- private get creator();
18
- protected renderElement(): JSX.Element;
19
- }
20
- export declare class SurveyMultipleTextItemEditor extends SurveyQuestionAndErrorsWrapped {
21
- protected renderElement(): JSX.Element;
22
- }
@@ -1,28 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { SurveyModel, QuestionPanelDynamicModel } from "survey-core";
4
- import { SurveyPanel } from "./panel";
5
- export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBase {
6
- constructor(props: any);
7
- protected get question(): QuestionPanelDynamicModel;
8
- componentDidMount(): void;
9
- componentWillUnmount(): void;
10
- private updateQuestionRendering;
11
- protected renderElement(): JSX.Element;
12
- protected renderNavigator(): JSX.Element | null;
13
- private renderProgressText;
14
- protected rendrerPrevButton(): JSX.Element;
15
- protected rendrerNextButton(): JSX.Element;
16
- protected renderRange(): JSX.Element;
17
- protected renderAddRowButton(): JSX.Element | null;
18
- protected renderNavigatorV2(): JSX.Element | null;
19
- protected renderPlaceholder(): JSX.Element | null;
20
- }
21
- export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
22
- private get question();
23
- private get index();
24
- protected getSurvey(): SurveyModel | null;
25
- protected getCss(): any;
26
- render(): JSX.Element;
27
- protected renderButton(): JSX.Element | null;
28
- }
@@ -1,32 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionElementBase, ReactSurveyElement } from "./reactquestion_element";
3
- import { QuestionRadiogroupModel, ItemValue, Base } from "survey-core";
4
- export declare class SurveyQuestionRadiogroup extends SurveyQuestionElementBase {
5
- constructor(props: any);
6
- protected get question(): QuestionRadiogroupModel;
7
- protected renderElement(): JSX.Element;
8
- protected getFooter(): JSX.Element[] | undefined;
9
- protected getColumnedBody(cssClasses: any): JSX.Element;
10
- protected getColumns(cssClasses: any): JSX.Element[];
11
- protected getBody(cssClasses: any): JSX.Element;
12
- protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
13
- protected get textStyle(): any;
14
- protected renderOther(cssClasses: any): JSX.Element;
15
- private renderItem;
16
- private getStateValue;
17
- }
18
- export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
19
- constructor(props: any);
20
- protected getStateElement(): Base;
21
- protected get question(): QuestionRadiogroupModel;
22
- protected get item(): ItemValue;
23
- protected get textStyle(): any;
24
- protected get index(): number;
25
- protected get isChecked(): boolean;
26
- private get hideCaption();
27
- shouldComponentUpdate(nextProps: any, nextState: any): boolean;
28
- handleOnChange(event: any): void;
29
- handleOnMouseDown(event: any): void;
30
- protected canRender(): boolean;
31
- protected renderElement(): JSX.Element;
32
- }
@@ -1,30 +0,0 @@
1
- /// <reference types="react" />
2
- import { ReactSurveyElement, SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { QuestionRankingModel, ItemValue } from "survey-core";
4
- export declare class SurveyQuestionRanking extends SurveyQuestionElementBase {
5
- protected get question(): QuestionRankingModel;
6
- protected renderElement(): JSX.Element;
7
- protected getItems(choices?: any, unrankedItem?: boolean): Array<any>;
8
- protected renderItem(item: ItemValue, i: number, handleKeydown: (event: any) => void, handlePointerDown: (event: PointerEvent) => void, handlePointerUp: (event: PointerEvent) => void, cssClasses: any, itemClass: string, question: QuestionRankingModel, unrankedItem?: boolean): JSX.Element;
9
- }
10
- export declare class SurveyQuestionRankingItem extends ReactSurveyElement {
11
- protected get text(): string;
12
- protected get index(): string;
13
- protected get indexText(): string;
14
- protected get handleKeydown(): (event: any) => void;
15
- protected get handlePointerDown(): (event: any) => void;
16
- protected get handlePointerUp(): (event: any) => void;
17
- protected get cssClasses(): any;
18
- protected get itemClass(): string;
19
- protected get itemTabIndex(): number;
20
- protected get question(): any;
21
- protected get unrankedItem(): any;
22
- protected get item(): any;
23
- protected renderEmptyIcon(): JSX.Element;
24
- protected renderElement(): JSX.Element;
25
- }
26
- export declare class SurveyQuestionRankingItemContent extends ReactSurveyElement {
27
- protected get item(): ItemValue;
28
- protected get cssClasses(): any;
29
- protected renderElement(): JSX.Element;
30
- }
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { QuestionRatingModel } from "survey-core";
4
- export declare class SurveyQuestionRating extends SurveyQuestionElementBase {
5
- constructor(props: any);
6
- protected get question(): QuestionRatingModel;
7
- handleOnClick(event: any): void;
8
- protected renderItem(item: any, index: Number): JSX.Element;
9
- protected renderElement(): JSX.Element;
10
- }
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { QuestionTagboxModel, DropdownListModel } from "survey-core";
3
- import { SurveyQuestionDropdownBase } from "./dropdown-base";
4
- export declare class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {
5
- constructor(props: any);
6
- protected renderItem(key: string, item: any): JSX.Element;
7
- protected renderInput(dropdownListModel: DropdownListModel): JSX.Element;
8
- protected renderElement(): JSX.Element;
9
- protected renderReadOnlyElement(): JSX.Element | null;
10
- }
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
3
- import { QuestionTextModel } from "survey-core";
4
- export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
5
- constructor(props: any);
6
- protected renderInput(): JSX.Element;
7
- protected renderElement(): JSX.Element;
8
- protected setValueCore(newValue: any): void;
9
- protected getValueCore(): any;
10
- private renderDataList;
11
- }
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyModel, QuestionMatrixDropdownRenderedCell, SurveyElement, QuestionRowModel, ItemValue, QuestionSelectBase } from "survey-core";
3
- export declare class ReactSurveyElementsWrapper {
4
- static wrapRow(survey: SurveyModel, element: JSX.Element, row: QuestionRowModel): JSX.Element;
5
- static wrapElement(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element;
6
- static wrapQuestionContent(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element;
7
- static wrapItemValue(survey: SurveyModel, element: JSX.Element, question: QuestionSelectBase, item: ItemValue): JSX.Element;
8
- static wrapMatrixCell(survey: SurveyModel, element: JSX.Element, cell: QuestionMatrixDropdownRenderedCell, reason?: string): JSX.Element;
9
- }
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import { Base, SurveyTimerModel } from "survey-core";
3
- import { ReactSurveyElement } from "./reactquestion_element";
4
- export declare class SurveyTimerPanel extends ReactSurveyElement {
5
- constructor(props: any);
6
- protected getStateElement(): Base;
7
- protected get timerModel(): SurveyTimerModel;
8
- private readonly circleLength;
9
- private get progress();
10
- render(): JSX.Element | null;
11
- }
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- import { IElement, Base } from "survey-core";
3
- import { SurveyElementBase } from "./reactquestion_element";
4
- export declare class SurveyRow extends SurveyElementBase<any, any> {
5
- private rootRef;
6
- constructor(props: any);
7
- private recalculateCss;
8
- protected getStateElement(): Base;
9
- private get row();
10
- private get survey();
11
- private get creator();
12
- protected get css(): any;
13
- protected canRender(): boolean;
14
- protected renderElementContent(): JSX.Element;
15
- protected renderElement(): JSX.Element;
16
- componentDidMount(): void;
17
- shouldComponentUpdate(nextProps: any, nextState: any): boolean;
18
- private stopLazyRendering;
19
- componentWillUnmount(): void;
20
- protected createElement(element: IElement, elementIndex?: number): JSX.Element;
21
- }
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionElementBase } from "./reactquestion_element";
3
- import { QuestionSignaturePadModel } from "survey-core";
4
- export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBase {
5
- constructor(props: any);
6
- protected get question(): QuestionSignaturePadModel;
7
- protected renderElement(): JSX.Element;
8
- renderBackgroundImage(): JSX.Element | null;
9
- protected renderLoadingIndicator(): JSX.Element;
10
- renderCleanButton(): JSX.Element | null;
11
- }
@@ -1,11 +0,0 @@
1
- import React from "react";
2
- export declare class SurveyLocStringEditor extends React.Component<any, any> {
3
- constructor(props: any);
4
- private get locStr();
5
- private get style();
6
- componentDidMount(): void;
7
- componentWillUnmount(): void;
8
- onInput: (event: any) => void;
9
- onClick: (event: any) => void;
10
- render(): JSX.Element | null;
11
- }