survey-react-ui 2.0.0-rc.0 → 2.0.0-rc.10

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 (259) 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 +5 -4
  5. package/survey-react-ui.js +2012 -2508
  6. package/survey-react-ui.js.map +1 -1
  7. package/survey-react-ui.min.js +1 -1
  8. package/survey-react-ui.min.js.LICENSE.txt +1 -489
  9. package/typings/src/components/action-bar/action-bar-item-dropdown.d.ts +1 -1
  10. package/typings/src/components/action-bar/action-bar-item.d.ts +1 -2
  11. package/typings/src/components/action-bar/action-bar-separator.d.ts +1 -1
  12. package/typings/src/components/action-bar/action-bar.d.ts +1 -1
  13. package/typings/src/components/brand-info.d.ts +1 -1
  14. package/typings/src/components/character-counter.d.ts +1 -1
  15. package/typings/src/components/components-container.d.ts +1 -1
  16. package/typings/src/components/file/file-choose-button.d.ts +1 -1
  17. package/typings/src/components/file/file-item.d.ts +1 -1
  18. package/typings/src/components/file/file-page.d.ts +1 -1
  19. package/typings/src/components/file/file-preview.d.ts +1 -1
  20. package/typings/src/components/header.d.ts +3 -1
  21. package/typings/src/components/list/list-item-content.d.ts +1 -1
  22. package/typings/src/components/list/list-item-group.d.ts +1 -1
  23. package/typings/src/components/list/list-item.d.ts +1 -1
  24. package/typings/src/components/list/list.d.ts +1 -1
  25. package/typings/src/components/matrix/row.d.ts +1 -1
  26. package/typings/src/components/matrix-actions/detail-button/detail-button.d.ts +1 -1
  27. package/typings/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +1 -1
  28. package/typings/src/components/matrix-actions/remove-button/remove-button.d.ts +1 -1
  29. package/typings/src/components/notifier.d.ts +1 -1
  30. package/typings/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +1 -1
  31. package/typings/src/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +1 -1
  32. package/typings/src/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +1 -1
  33. package/typings/src/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +1 -1
  34. package/typings/src/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +1 -1
  35. package/typings/src/components/popup/popup-modal.d.ts +1 -1
  36. package/typings/src/components/popup/popup.d.ts +1 -1
  37. package/typings/src/components/question-error.d.ts +1 -1
  38. package/typings/src/components/rating/rating-dropdown-item.d.ts +1 -1
  39. package/typings/src/components/rating/rating-item-smiley.d.ts +1 -1
  40. package/typings/src/components/rating/rating-item-star.d.ts +1 -1
  41. package/typings/src/components/rating/rating-item.d.ts +1 -1
  42. package/typings/src/components/skeleton.d.ts +1 -1
  43. package/typings/src/components/survey-actions/survey-nav-button.d.ts +1 -1
  44. package/typings/src/components/survey-header/logo-image.d.ts +1 -1
  45. package/typings/src/components/survey-header/survey-header.d.ts +1 -1
  46. package/typings/src/components/svg-icon/svg-icon.d.ts +1 -1
  47. package/typings/src/components/text-area.d.ts +1 -1
  48. package/typings/src/components/title/title-actions.d.ts +1 -1
  49. package/typings/src/components/title/title-content.d.ts +1 -1
  50. package/typings/src/components/title/title-element.d.ts +1 -1
  51. package/typings/src/element-factory.d.ts +0 -1
  52. package/typings/src/element-header.d.ts +6 -3
  53. package/typings/src/reactquestion_buttongroup.d.ts +1 -1
  54. package/typings/src/reactquestion_element.d.ts +3 -0
  55. package/typings/src/reactquestion_factory.d.ts +0 -1
  56. package/typings/src/reactsurveymodel.d.ts +0 -1
  57. package/typings/src/string-editor.d.ts +1 -1
  58. package/typings/src/string-viewer.d.ts +1 -1
  59. package/typings/src/svgbundle.d.ts +1 -1
  60. package/survey-react-ui.d.ts +0 -2
  61. package/typings/packages/survey-react-ui/entries/react-ui-model.d.ts +0 -86
  62. package/typings/packages/survey-react-ui/src/boolean-checkbox.d.ts +0 -6
  63. package/typings/packages/survey-react-ui/src/boolean-radio.d.ts +0 -8
  64. package/typings/packages/survey-react-ui/src/boolean.d.ts +0 -17
  65. package/typings/packages/survey-react-ui/src/components/action-bar/action-bar-item-dropdown.d.ts +0 -9
  66. package/typings/packages/survey-react-ui/src/components/action-bar/action-bar-item.d.ts +0 -20
  67. package/typings/packages/survey-react-ui/src/components/action-bar/action-bar-separator.d.ts +0 -5
  68. package/typings/packages/survey-react-ui/src/components/action-bar/action-bar.d.ts +0 -21
  69. package/typings/packages/survey-react-ui/src/components/brand-info.d.ts +0 -4
  70. package/typings/packages/survey-react-ui/src/components/character-counter.d.ts +0 -11
  71. package/typings/packages/survey-react-ui/src/components/components-container.d.ts +0 -4
  72. package/typings/packages/survey-react-ui/src/components/file/file-choose-button.d.ts +0 -8
  73. package/typings/packages/survey-react-ui/src/components/file/file-item.d.ts +0 -13
  74. package/typings/packages/survey-react-ui/src/components/file/file-page.d.ts +0 -11
  75. package/typings/packages/survey-react-ui/src/components/file/file-preview.d.ts +0 -11
  76. package/typings/packages/survey-react-ui/src/components/header.d.ts +0 -22
  77. package/typings/packages/survey-react-ui/src/components/list/list-item-content.d.ts +0 -14
  78. package/typings/packages/survey-react-ui/src/components/list/list-item-group.d.ts +0 -14
  79. package/typings/packages/survey-react-ui/src/components/list/list-item.d.ts +0 -16
  80. package/typings/packages/survey-react-ui/src/components/list/list.d.ts +0 -23
  81. package/typings/packages/survey-react-ui/src/components/loading-indicator.d.ts +0 -4
  82. package/typings/packages/survey-react-ui/src/components/matrix/row.d.ts +0 -20
  83. package/typings/packages/survey-react-ui/src/components/matrix-actions/detail-button/detail-button.d.ts +0 -12
  84. package/typings/packages/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +0 -7
  85. package/typings/packages/survey-react-ui/src/components/matrix-actions/remove-button/remove-button.d.ts +0 -9
  86. package/typings/packages/survey-react-ui/src/components/notifier.d.ts +0 -11
  87. package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +0 -12
  88. package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +0 -6
  89. package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +0 -6
  90. package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +0 -5
  91. package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +0 -6
  92. package/typings/packages/survey-react-ui/src/components/popup/popup-modal.d.ts +0 -23
  93. package/typings/packages/survey-react-ui/src/components/popup/popup.d.ts +0 -39
  94. package/typings/packages/survey-react-ui/src/components/question-error.d.ts +0 -10
  95. package/typings/packages/survey-react-ui/src/components/rating/rating-dropdown-item.d.ts +0 -12
  96. package/typings/packages/survey-react-ui/src/components/rating/rating-item-smiley.d.ts +0 -5
  97. package/typings/packages/survey-react-ui/src/components/rating/rating-item-star.d.ts +0 -5
  98. package/typings/packages/survey-react-ui/src/components/rating/rating-item.d.ts +0 -22
  99. package/typings/packages/survey-react-ui/src/components/skeleton.d.ts +0 -4
  100. package/typings/packages/survey-react-ui/src/components/survey-actions/survey-nav-button.d.ts +0 -8
  101. package/typings/packages/survey-react-ui/src/components/survey-header/logo-image.d.ts +0 -11
  102. package/typings/packages/survey-react-ui/src/components/survey-header/survey-header.d.ts +0 -17
  103. package/typings/packages/survey-react-ui/src/components/svg-icon/svg-icon.d.ts +0 -9
  104. package/typings/packages/survey-react-ui/src/components/text-area.d.ts +0 -17
  105. package/typings/packages/survey-react-ui/src/components/title/title-actions.d.ts +0 -7
  106. package/typings/packages/survey-react-ui/src/components/title/title-content.d.ts +0 -10
  107. package/typings/packages/survey-react-ui/src/components/title/title-element.d.ts +0 -7
  108. package/typings/packages/survey-react-ui/src/custom-widget.d.ts +0 -12
  109. package/typings/packages/survey-react-ui/src/dropdown-base.d.ts +0 -26
  110. package/typings/packages/survey-react-ui/src/dropdown-item.d.ts +0 -14
  111. package/typings/packages/survey-react-ui/src/dropdown-select.d.ts +0 -6
  112. package/typings/packages/survey-react-ui/src/element-factory.d.ts +0 -9
  113. package/typings/packages/survey-react-ui/src/element-header.d.ts +0 -5
  114. package/typings/packages/survey-react-ui/src/element.d.ts +0 -19
  115. package/typings/packages/survey-react-ui/src/flow-panel.d.ts +0 -22
  116. package/typings/packages/survey-react-ui/src/image.d.ts +0 -10
  117. package/typings/packages/survey-react-ui/src/imagepicker.d.ts +0 -25
  118. package/typings/packages/survey-react-ui/src/page.d.ts +0 -11
  119. package/typings/packages/survey-react-ui/src/panel-base.d.ts +0 -25
  120. package/typings/packages/survey-react-ui/src/panel.d.ts +0 -16
  121. package/typings/packages/survey-react-ui/src/progress.d.ts +0 -9
  122. package/typings/packages/survey-react-ui/src/progressButtons.d.ts +0 -19
  123. package/typings/packages/survey-react-ui/src/progressToc.d.ts +0 -5
  124. package/typings/packages/survey-react-ui/src/rating-dropdown.d.ts +0 -8
  125. package/typings/packages/survey-react-ui/src/react-popup-survey.d.ts +0 -24
  126. package/typings/packages/survey-react-ui/src/reactSurvey.d.ts +0 -41
  127. package/typings/packages/survey-react-ui/src/reactSurveyNavigationBase.d.ts +0 -10
  128. package/typings/packages/survey-react-ui/src/reactquestion.d.ts +0 -82
  129. package/typings/packages/survey-react-ui/src/reactquestion_buttongroup.d.ts +0 -23
  130. package/typings/packages/survey-react-ui/src/reactquestion_checkbox.d.ts +0 -37
  131. package/typings/packages/survey-react-ui/src/reactquestion_comment.d.ts +0 -18
  132. package/typings/packages/survey-react-ui/src/reactquestion_custom.d.ts +0 -13
  133. package/typings/packages/survey-react-ui/src/reactquestion_dropdown.d.ts +0 -7
  134. package/typings/packages/survey-react-ui/src/reactquestion_element.d.ts +0 -67
  135. package/typings/packages/survey-react-ui/src/reactquestion_empty.d.ts +0 -8
  136. package/typings/packages/survey-react-ui/src/reactquestion_expression.d.ts +0 -8
  137. package/typings/packages/survey-react-ui/src/reactquestion_factory.d.ts +0 -8
  138. package/typings/packages/survey-react-ui/src/reactquestion_file.d.ts +0 -14
  139. package/typings/packages/survey-react-ui/src/reactquestion_html.d.ts +0 -13
  140. package/typings/packages/survey-react-ui/src/reactquestion_matrix.d.ts +0 -33
  141. package/typings/packages/survey-react-ui/src/reactquestion_matrixdropdown.d.ts +0 -4
  142. package/typings/packages/survey-react-ui/src/reactquestion_matrixdropdownbase.d.ts +0 -30
  143. package/typings/packages/survey-react-ui/src/reactquestion_matrixdynamic.d.ts +0 -20
  144. package/typings/packages/survey-react-ui/src/reactquestion_multipletext.d.ts +0 -22
  145. package/typings/packages/survey-react-ui/src/reactquestion_paneldynamic.d.ts +0 -28
  146. package/typings/packages/survey-react-ui/src/reactquestion_radiogroup.d.ts +0 -36
  147. package/typings/packages/survey-react-ui/src/reactquestion_ranking.d.ts +0 -30
  148. package/typings/packages/survey-react-ui/src/reactquestion_rating.d.ts +0 -10
  149. package/typings/packages/survey-react-ui/src/reactquestion_tagbox.d.ts +0 -10
  150. package/typings/packages/survey-react-ui/src/reactquestion_text.d.ts +0 -11
  151. package/typings/packages/survey-react-ui/src/reactsurveymodel.d.ts +0 -9
  152. package/typings/packages/survey-react-ui/src/reacttimerpanel.d.ts +0 -11
  153. package/typings/packages/survey-react-ui/src/row.d.ts +0 -21
  154. package/typings/packages/survey-react-ui/src/signaturepad.d.ts +0 -11
  155. package/typings/packages/survey-react-ui/src/string-editor.d.ts +0 -11
  156. package/typings/packages/survey-react-ui/src/string-viewer.d.ts +0 -15
  157. package/typings/packages/survey-react-ui/src/svgbundle.d.ts +0 -9
  158. package/typings/packages/survey-react-ui/src/tagbox-filter.d.ts +0 -23
  159. package/typings/packages/survey-react-ui/src/tagbox-item.d.ts +0 -10
  160. package/typings/react/boolean-checkbox.d.ts +0 -6
  161. package/typings/react/boolean-radio.d.ts +0 -8
  162. package/typings/react/boolean.d.ts +0 -17
  163. package/typings/react/components/action-bar/action-bar-item-dropdown.d.ts +0 -8
  164. package/typings/react/components/action-bar/action-bar-item.d.ts +0 -20
  165. package/typings/react/components/action-bar/action-bar-separator.d.ts +0 -5
  166. package/typings/react/components/action-bar/action-bar.d.ts +0 -21
  167. package/typings/react/components/brand-info.d.ts +0 -4
  168. package/typings/react/components/character-counter.d.ts +0 -11
  169. package/typings/react/components/components-container.d.ts +0 -4
  170. package/typings/react/components/cover.d.ts +0 -17
  171. package/typings/react/components/file/file-choose-button.d.ts +0 -8
  172. package/typings/react/components/file/file-preview.d.ts +0 -11
  173. package/typings/react/components/file-actions/file-choose-button.d.ts +0 -8
  174. package/typings/react/components/header.d.ts +0 -22
  175. package/typings/react/components/list/list-item-content.d.ts +0 -14
  176. package/typings/react/components/list/list-item-group.d.ts +0 -14
  177. package/typings/react/components/list/list-item.d.ts +0 -16
  178. package/typings/react/components/list/list.d.ts +0 -23
  179. package/typings/react/components/loading-indicator.d.ts +0 -4
  180. package/typings/react/components/matrix/row.d.ts +0 -20
  181. package/typings/react/components/matrix-actions/detail-button/detail-button.d.ts +0 -12
  182. package/typings/react/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +0 -6
  183. package/typings/react/components/matrix-actions/remove-button/remove-button.d.ts +0 -9
  184. package/typings/react/components/notifier.d.ts +0 -11
  185. package/typings/react/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +0 -12
  186. package/typings/react/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +0 -6
  187. package/typings/react/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +0 -6
  188. package/typings/react/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +0 -5
  189. package/typings/react/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +0 -6
  190. package/typings/react/components/popup/popup.d.ts +0 -42
  191. package/typings/react/components/question-error.d.ts +0 -10
  192. package/typings/react/components/rating/rating-dropdown-item.d.ts +0 -12
  193. package/typings/react/components/rating/rating-item-smiley.d.ts +0 -5
  194. package/typings/react/components/rating/rating-item-star.d.ts +0 -5
  195. package/typings/react/components/rating/rating-item.d.ts +0 -22
  196. package/typings/react/components/skeleton.d.ts +0 -4
  197. package/typings/react/components/survey-actions/survey-nav-button.d.ts +0 -8
  198. package/typings/react/components/survey-header/logo-image.d.ts +0 -11
  199. package/typings/react/components/survey-header/survey-header.d.ts +0 -17
  200. package/typings/react/components/svg-icon/svg-icon.d.ts +0 -9
  201. package/typings/react/components/title/title-actions.d.ts +0 -7
  202. package/typings/react/components/title/title-content.d.ts +0 -10
  203. package/typings/react/components/title/title-element.d.ts +0 -6
  204. package/typings/react/custom-widget.d.ts +0 -12
  205. package/typings/react/dropdown-base.d.ts +0 -25
  206. package/typings/react/dropdown-item.d.ts +0 -13
  207. package/typings/react/dropdown-select.d.ts +0 -6
  208. package/typings/react/element-factory.d.ts +0 -9
  209. package/typings/react/element-header.d.ts +0 -5
  210. package/typings/react/element.d.ts +0 -19
  211. package/typings/react/flow-panel.d.ts +0 -22
  212. package/typings/react/image.d.ts +0 -10
  213. package/typings/react/imagepicker.d.ts +0 -25
  214. package/typings/react/page.d.ts +0 -11
  215. package/typings/react/panel-base.d.ts +0 -25
  216. package/typings/react/panel.d.ts +0 -16
  217. package/typings/react/progress.d.ts +0 -9
  218. package/typings/react/progressButtons.d.ts +0 -19
  219. package/typings/react/progressToc.d.ts +0 -5
  220. package/typings/react/rating-dropdown.d.ts +0 -8
  221. package/typings/react/react-popup-survey.d.ts +0 -24
  222. package/typings/react/reactSurvey.d.ts +0 -41
  223. package/typings/react/reactSurveyNavigationBase.d.ts +0 -10
  224. package/typings/react/reactSurveyProgress.d.ts +0 -9
  225. package/typings/react/reactSurveyProgressButtons.d.ts +0 -19
  226. package/typings/react/reactSurveyProgressToc.d.ts +0 -5
  227. package/typings/react/reactquestion.d.ts +0 -81
  228. package/typings/react/reactquestion_buttongroup.d.ts +0 -23
  229. package/typings/react/reactquestion_checkbox.d.ts +0 -33
  230. package/typings/react/reactquestion_comment.d.ts +0 -31
  231. package/typings/react/reactquestion_custom.d.ts +0 -13
  232. package/typings/react/reactquestion_dropdown.d.ts +0 -7
  233. package/typings/react/reactquestion_element.d.ts +0 -65
  234. package/typings/react/reactquestion_empty.d.ts +0 -8
  235. package/typings/react/reactquestion_expression.d.ts +0 -8
  236. package/typings/react/reactquestion_factory.d.ts +0 -8
  237. package/typings/react/reactquestion_file.d.ts +0 -14
  238. package/typings/react/reactquestion_html.d.ts +0 -13
  239. package/typings/react/reactquestion_matrix.d.ts +0 -33
  240. package/typings/react/reactquestion_matrixdropdown.d.ts +0 -4
  241. package/typings/react/reactquestion_matrixdropdownbase.d.ts +0 -29
  242. package/typings/react/reactquestion_matrixdynamic.d.ts +0 -20
  243. package/typings/react/reactquestion_multipletext.d.ts +0 -22
  244. package/typings/react/reactquestion_paneldynamic.d.ts +0 -28
  245. package/typings/react/reactquestion_radiogroup.d.ts +0 -32
  246. package/typings/react/reactquestion_ranking.d.ts +0 -30
  247. package/typings/react/reactquestion_rating.d.ts +0 -10
  248. package/typings/react/reactquestion_tagbox.d.ts +0 -10
  249. package/typings/react/reactquestion_text.d.ts +0 -11
  250. package/typings/react/reactsurveymodel.d.ts +0 -9
  251. package/typings/react/reacttimerpanel.d.ts +0 -11
  252. package/typings/react/row.d.ts +0 -21
  253. package/typings/react/signaturepad.d.ts +0 -11
  254. package/typings/react/string-editor.d.ts +0 -11
  255. package/typings/react/string-viewer.d.ts +0 -15
  256. package/typings/react/svgbundle.d.ts +0 -7
  257. package/typings/react/tagbox-filter.d.ts +0 -23
  258. package/typings/react/tagbox-item.d.ts +0 -10
  259. package/typings/src/entries/react-ui.d.ts +0 -2
@@ -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
- }
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- export declare class SurveyLocStringViewer extends React.Component<any, any> {
3
- constructor(props: any);
4
- private rootRef;
5
- private get locStr();
6
- private get style();
7
- componentDidMount(): void;
8
- componentWillUnmount(): void;
9
- componentDidUpdate(prevProps: any, prevState: any): void;
10
- private isRendering;
11
- private onChangedHandler;
12
- private reactOnStrChanged;
13
- render(): JSX.Element | null;
14
- protected renderString(): JSX.Element;
15
- }
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- export declare class SvgBundleComponent extends React.Component {
3
- private containerRef;
4
- constructor(props: any);
5
- componentDidMount(): void;
6
- render(): JSX.Element;
7
- }
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- import { DropdownMultiSelectListModel, QuestionTagboxModel } from "survey-core";
3
- import { SurveyElementBase } from "./reactquestion_element";
4
- interface ITagboxFilterProps {
5
- model: DropdownMultiSelectListModel;
6
- question: QuestionTagboxModel;
7
- }
8
- export declare class TagboxFilterString extends SurveyElementBase<ITagboxFilterProps, any> {
9
- inputElement: HTMLInputElement | null;
10
- get model(): DropdownMultiSelectListModel;
11
- get question(): QuestionTagboxModel;
12
- componentDidUpdate(prevProps: any, prevState: any): void;
13
- componentDidMount(): void;
14
- updateDomElement(): void;
15
- onChange(e: any): void;
16
- keyhandler(e: any): void;
17
- onBlur(e: any): void;
18
- onFocus(e: any): void;
19
- constructor(props: any);
20
- getStateElement(): DropdownMultiSelectListModel;
21
- render(): JSX.Element;
22
- }
23
- export {};
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { ReactSurveyElement } from "./reactquestion_element";
3
- import { QuestionTagboxModel, ItemValue } from "survey-core";
4
- export declare class SurveyQuestionTagboxItem extends ReactSurveyElement {
5
- constructor(props: any);
6
- protected get question(): QuestionTagboxModel;
7
- protected get item(): ItemValue;
8
- protected canRender(): boolean;
9
- protected renderElement(): JSX.Element;
10
- }
@@ -1,2 +0,0 @@
1
- export * from "../../packages/survey-react-ui/entries/react-ui-model";
2
- export { SurveyModel, SurveyWindowModel, SurveyModel as Model, settings, ISurveyEnvironment, surveyLocalization, surveyStrings } from "survey-core";