survey-js-ui 1.12.26 → 1.12.28

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 (158) hide show
  1. package/fesm/survey-js-ui.js +6074 -0
  2. package/fesm/survey-js-ui.js.map +1 -0
  3. package/index.html +1 -1
  4. package/package.json +2 -2
  5. package/survey-js-ui.js +39 -29
  6. package/survey-js-ui.js.map +1 -1
  7. package/survey-js-ui.min.js +4 -4
  8. package/survey-js-ui.min.js.LICENSE.txt +1 -1
  9. package/typings/packages/survey-react-ui/src/reactquestion_element.d.ts +3 -0
  10. package/typings/survey-react-ui/src/components/action-bar/action-bar-item-dropdown.d.ts +1 -1
  11. package/typings/survey-react-ui/src/components/action-bar/action-bar-item.d.ts +1 -2
  12. package/typings/survey-react-ui/src/components/action-bar/action-bar-separator.d.ts +1 -1
  13. package/typings/survey-react-ui/src/components/action-bar/action-bar.d.ts +1 -1
  14. package/typings/survey-react-ui/src/components/brand-info.d.ts +1 -1
  15. package/typings/survey-react-ui/src/components/character-counter.d.ts +1 -1
  16. package/typings/survey-react-ui/src/components/components-container.d.ts +1 -1
  17. package/typings/survey-react-ui/src/components/file/file-choose-button.d.ts +1 -1
  18. package/typings/survey-react-ui/src/components/file/file-item.d.ts +1 -1
  19. package/typings/survey-react-ui/src/components/file/file-page.d.ts +1 -1
  20. package/typings/survey-react-ui/src/components/file/file-preview.d.ts +1 -1
  21. package/typings/survey-react-ui/src/components/header.d.ts +3 -1
  22. package/typings/survey-react-ui/src/components/list/list-item-content.d.ts +1 -1
  23. package/typings/survey-react-ui/src/components/list/list-item-group.d.ts +1 -1
  24. package/typings/survey-react-ui/src/components/list/list-item.d.ts +1 -1
  25. package/typings/survey-react-ui/src/components/list/list.d.ts +1 -1
  26. package/typings/survey-react-ui/src/components/matrix/row.d.ts +1 -1
  27. package/typings/survey-react-ui/src/components/matrix-actions/detail-button/detail-button.d.ts +1 -1
  28. package/typings/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +1 -1
  29. package/typings/survey-react-ui/src/components/matrix-actions/remove-button/remove-button.d.ts +1 -1
  30. package/typings/survey-react-ui/src/components/notifier.d.ts +1 -1
  31. package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +1 -1
  32. package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +1 -1
  33. package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +1 -1
  34. package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +1 -1
  35. package/typings/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +1 -1
  36. package/typings/survey-react-ui/src/components/popup/popup-modal.d.ts +1 -1
  37. package/typings/survey-react-ui/src/components/popup/popup.d.ts +1 -1
  38. package/typings/survey-react-ui/src/components/question-error.d.ts +1 -1
  39. package/typings/survey-react-ui/src/components/rating/rating-dropdown-item.d.ts +1 -1
  40. package/typings/survey-react-ui/src/components/rating/rating-item-smiley.d.ts +1 -1
  41. package/typings/survey-react-ui/src/components/rating/rating-item-star.d.ts +1 -1
  42. package/typings/survey-react-ui/src/components/rating/rating-item.d.ts +1 -1
  43. package/typings/survey-react-ui/src/components/skeleton.d.ts +1 -1
  44. package/typings/survey-react-ui/src/components/survey-actions/survey-nav-button.d.ts +1 -1
  45. package/typings/survey-react-ui/src/components/survey-header/logo-image.d.ts +1 -1
  46. package/typings/survey-react-ui/src/components/survey-header/survey-header.d.ts +1 -1
  47. package/typings/survey-react-ui/src/components/svg-icon/svg-icon.d.ts +1 -1
  48. package/typings/survey-react-ui/src/components/text-area.d.ts +1 -1
  49. package/typings/survey-react-ui/src/components/title/title-actions.d.ts +1 -1
  50. package/typings/survey-react-ui/src/components/title/title-content.d.ts +1 -1
  51. package/typings/survey-react-ui/src/components/title/title-element.d.ts +1 -1
  52. package/typings/survey-react-ui/src/element-factory.d.ts +0 -1
  53. package/typings/survey-react-ui/src/element-header.d.ts +6 -3
  54. package/typings/survey-react-ui/src/reactquestion_buttongroup.d.ts +1 -1
  55. package/typings/survey-react-ui/src/reactquestion_element.d.ts +3 -0
  56. package/typings/survey-react-ui/src/reactquestion_factory.d.ts +0 -1
  57. package/typings/survey-react-ui/src/reactsurveymodel.d.ts +0 -1
  58. package/typings/survey-react-ui/src/string-editor.d.ts +1 -1
  59. package/typings/survey-react-ui/src/string-viewer.d.ts +1 -1
  60. package/typings/survey-react-ui/src/svgbundle.d.ts +1 -1
  61. package/survey-js-ui.d.ts +0 -2
  62. package/typings/entries/core-export.d.ts +0 -3
  63. package/typings/entries/js-ui.d.ts +0 -7
  64. package/typings/entries/react-ui-model.d.ts +0 -84
  65. package/typings/react/boolean-checkbox.d.ts +0 -6
  66. package/typings/react/boolean-radio.d.ts +0 -8
  67. package/typings/react/boolean.d.ts +0 -17
  68. package/typings/react/components/action-bar/action-bar-item-dropdown.d.ts +0 -8
  69. package/typings/react/components/action-bar/action-bar-item.d.ts +0 -20
  70. package/typings/react/components/action-bar/action-bar-separator.d.ts +0 -5
  71. package/typings/react/components/action-bar/action-bar.d.ts +0 -21
  72. package/typings/react/components/brand-info.d.ts +0 -4
  73. package/typings/react/components/character-counter.d.ts +0 -11
  74. package/typings/react/components/components-container.d.ts +0 -4
  75. package/typings/react/components/file/file-choose-button.d.ts +0 -8
  76. package/typings/react/components/file/file-preview.d.ts +0 -11
  77. package/typings/react/components/header.d.ts +0 -22
  78. package/typings/react/components/list/list-item-content.d.ts +0 -14
  79. package/typings/react/components/list/list-item-group.d.ts +0 -14
  80. package/typings/react/components/list/list-item.d.ts +0 -16
  81. package/typings/react/components/list/list.d.ts +0 -23
  82. package/typings/react/components/loading-indicator.d.ts +0 -4
  83. package/typings/react/components/matrix/row.d.ts +0 -20
  84. package/typings/react/components/matrix-actions/detail-button/detail-button.d.ts +0 -12
  85. package/typings/react/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +0 -6
  86. package/typings/react/components/matrix-actions/remove-button/remove-button.d.ts +0 -9
  87. package/typings/react/components/notifier.d.ts +0 -11
  88. package/typings/react/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +0 -12
  89. package/typings/react/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +0 -6
  90. package/typings/react/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +0 -6
  91. package/typings/react/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +0 -5
  92. package/typings/react/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +0 -6
  93. package/typings/react/components/popup/popup.d.ts +0 -42
  94. package/typings/react/components/question-error.d.ts +0 -10
  95. package/typings/react/components/rating/rating-dropdown-item.d.ts +0 -12
  96. package/typings/react/components/rating/rating-item-smiley.d.ts +0 -5
  97. package/typings/react/components/rating/rating-item-star.d.ts +0 -5
  98. package/typings/react/components/rating/rating-item.d.ts +0 -22
  99. package/typings/react/components/skeleton.d.ts +0 -4
  100. package/typings/react/components/survey-actions/survey-nav-button.d.ts +0 -8
  101. package/typings/react/components/survey-header/logo-image.d.ts +0 -11
  102. package/typings/react/components/survey-header/survey-header.d.ts +0 -17
  103. package/typings/react/components/svg-icon/svg-icon.d.ts +0 -9
  104. package/typings/react/components/title/title-actions.d.ts +0 -7
  105. package/typings/react/components/title/title-content.d.ts +0 -10
  106. package/typings/react/components/title/title-element.d.ts +0 -6
  107. package/typings/react/custom-widget.d.ts +0 -12
  108. package/typings/react/dropdown-base.d.ts +0 -25
  109. package/typings/react/dropdown-item.d.ts +0 -13
  110. package/typings/react/dropdown-select.d.ts +0 -6
  111. package/typings/react/element-factory.d.ts +0 -9
  112. package/typings/react/element-header.d.ts +0 -5
  113. package/typings/react/element.d.ts +0 -19
  114. package/typings/react/flow-panel.d.ts +0 -22
  115. package/typings/react/image.d.ts +0 -10
  116. package/typings/react/imagepicker.d.ts +0 -25
  117. package/typings/react/page.d.ts +0 -11
  118. package/typings/react/panel-base.d.ts +0 -25
  119. package/typings/react/panel.d.ts +0 -16
  120. package/typings/react/progress.d.ts +0 -9
  121. package/typings/react/progressButtons.d.ts +0 -19
  122. package/typings/react/progressToc.d.ts +0 -5
  123. package/typings/react/rating-dropdown.d.ts +0 -8
  124. package/typings/react/react-popup-survey.d.ts +0 -24
  125. package/typings/react/reactSurvey.d.ts +0 -41
  126. package/typings/react/reactSurveyNavigationBase.d.ts +0 -10
  127. package/typings/react/reactquestion.d.ts +0 -81
  128. package/typings/react/reactquestion_buttongroup.d.ts +0 -23
  129. package/typings/react/reactquestion_checkbox.d.ts +0 -33
  130. package/typings/react/reactquestion_comment.d.ts +0 -31
  131. package/typings/react/reactquestion_custom.d.ts +0 -13
  132. package/typings/react/reactquestion_dropdown.d.ts +0 -7
  133. package/typings/react/reactquestion_element.d.ts +0 -65
  134. package/typings/react/reactquestion_empty.d.ts +0 -8
  135. package/typings/react/reactquestion_expression.d.ts +0 -8
  136. package/typings/react/reactquestion_factory.d.ts +0 -8
  137. package/typings/react/reactquestion_file.d.ts +0 -14
  138. package/typings/react/reactquestion_html.d.ts +0 -13
  139. package/typings/react/reactquestion_matrix.d.ts +0 -33
  140. package/typings/react/reactquestion_matrixdropdown.d.ts +0 -4
  141. package/typings/react/reactquestion_matrixdropdownbase.d.ts +0 -29
  142. package/typings/react/reactquestion_matrixdynamic.d.ts +0 -20
  143. package/typings/react/reactquestion_multipletext.d.ts +0 -22
  144. package/typings/react/reactquestion_paneldynamic.d.ts +0 -28
  145. package/typings/react/reactquestion_radiogroup.d.ts +0 -32
  146. package/typings/react/reactquestion_ranking.d.ts +0 -30
  147. package/typings/react/reactquestion_rating.d.ts +0 -10
  148. package/typings/react/reactquestion_tagbox.d.ts +0 -10
  149. package/typings/react/reactquestion_text.d.ts +0 -11
  150. package/typings/react/reactsurveymodel.d.ts +0 -9
  151. package/typings/react/reacttimerpanel.d.ts +0 -11
  152. package/typings/react/row.d.ts +0 -21
  153. package/typings/react/signaturepad.d.ts +0 -11
  154. package/typings/react/string-editor.d.ts +0 -11
  155. package/typings/react/string-viewer.d.ts +0 -15
  156. package/typings/react/svgbundle.d.ts +0 -7
  157. package/typings/react/tagbox-filter.d.ts +0 -23
  158. package/typings/react/tagbox-item.d.ts +0 -10
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.2
2
+ * surveyjs - Survey JavaScript library v2.0.0
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
  */
@@ -24,12 +24,15 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
24
24
  protected get changedStatePropName(): string | undefined;
25
25
  private makeBaseElementsReact;
26
26
  private unMakeBaseElementsReact;
27
+ private unMakeBaseElementsReactive;
27
28
  protected disableStateElementsRerenderEvent(els: Array<Base>): void;
28
29
  protected getStateElements(): Array<Base>;
29
30
  protected getStateElement(): Base | null;
30
31
  protected get isDisplayMode(): boolean;
31
32
  protected renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element;
32
33
  private canMakeReact;
34
+ private propertyValueChangedHandler;
35
+ protected isCurrentStateElement(stateElement: Base): boolean;
33
36
  private makeBaseElementReact;
34
37
  protected canUsePropInState(key: string): boolean;
35
38
  private unMakeBaseElementReact;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyActionBarItem } from "./action-bar-item";
3
3
  export declare class SurveyActionBarItemDropdown extends SurveyActionBarItem {
4
4
  private viewModel;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { Base, Action } from "survey-core";
3
3
  import { SurveyElementBase } from "../../reactquestion_element";
4
4
  interface IActionBarItemProps {
@@ -9,7 +9,6 @@ export declare class SurveyAction extends SurveyElementBase<IActionBarItemProps,
9
9
  constructor(props: any);
10
10
  get item(): Action;
11
11
  protected getStateElement(): Base;
12
- shouldComponentUpdate(nextProps: any, nextState: any): boolean;
13
12
  renderElement(): React.JSX.Element;
14
13
  componentWillUnmount(): void;
15
14
  componentDidMount(): void;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  export declare class SurveyActionBarSeparator extends React.Component<any, any> {
3
3
  constructor(props: any);
4
4
  render(): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { Base, Action, ActionContainer } from "survey-core";
3
3
  import { SurveyElementBase } from "../../reactquestion_element";
4
4
  export * from "./action-bar-item-dropdown";
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  export declare class BrandInfo extends React.Component<any, any> {
3
3
  render(): React.JSX.Element;
4
4
  }
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { Base, CharacterCounter } from "survey-core";
3
3
  import { SurveyElementBase } from "../reactquestion_element";
4
4
  export interface ICharacterCounterComponentProps {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  export declare class ComponentsContainer extends React.Component<any, any> {
3
3
  render(): React.JSX.Element | null;
4
4
  }
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { ReactSurveyElement } from "../../reactquestion_element";
3
3
  import { QuestionFileModel } from "survey-core";
4
4
  export declare class SurveyFileChooseButton extends ReactSurveyElement {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyElementBase } from "../../reactquestion_element";
3
3
  import { QuestionFileModel } from "survey-core";
4
4
  export declare class SurveyFileItem extends SurveyElementBase<{
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyElementBase } from "../../reactquestion_element";
3
3
  import { QuestionFileModel, QuestionFilePage } from "survey-core";
4
4
  export declare class SurveyFilePage extends SurveyElementBase<{
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyElementBase } from "../../reactquestion_element";
3
3
  import { QuestionFileModel } from "survey-core";
4
4
  export declare class SurveyFilePreview extends SurveyElementBase<{
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { Base, SurveyModel, Cover, CoverCell } from "survey-core";
3
3
  import { SurveyElementBase } from "../reactquestion_element";
4
4
  export interface ILayoutElementProps<T = Base> {
@@ -19,4 +19,6 @@ export declare class Header extends SurveyElementBase<ILayoutElementProps<Cover>
19
19
  get model(): Cover;
20
20
  protected getStateElement(): Base;
21
21
  renderElement(): React.JSX.Element | null;
22
+ componentDidMount(): void;
23
+ componentDidUpdate(prevProps: any, prevState: any): void;
22
24
  }
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { ListModel } from "survey-core";
3
3
  import { SurveyElementBase } from "../../reactquestion_element";
4
4
  interface IListItemProps {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { ListModel } from "survey-core";
3
3
  import { SurveyElementBase } from "../../reactquestion_element";
4
4
  interface IListItemProps {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { ListModel } from "survey-core";
3
3
  import { SurveyElementBase } from "../../reactquestion_element";
4
4
  interface IListItemProps {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { ListModel } from "survey-core";
3
3
  import { SurveyElementBase } from "../../reactquestion_element";
4
4
  interface IListProps {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase } from "survey-core";
3
3
  import { SurveyElementBase } from "../../reactquestion_element";
4
4
  interface IMatrixRowProps {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { Action } from "survey-core";
3
3
  import { ReactSurveyElement } from "../../../reactquestion_element";
4
4
  export declare class SurveyQuestionMatrixDetailButton extends ReactSurveyElement {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { ReactSurveyElement } from "../../../reactquestion_element";
3
3
  export declare class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
4
4
  private get question();
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { ReactSurveyElement } from "../../../reactquestion_element";
3
3
  export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
4
4
  constructor(props: any);
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { Base, Notifier } from "survey-core";
3
3
  import { SurveyElementBase } from "../reactquestion_element";
4
4
  export interface INotifierComponentProps {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { QuestionPanelDynamicModel } from "survey-core";
3
3
  import { ReactSurveyElement } from "../../reactquestion_element";
4
4
  export declare class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
3
3
  export declare class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
4
4
  protected handleClick: (event: any) => void;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
3
3
  export declare class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
4
4
  protected handleClick: (event: any) => void;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
3
3
  export declare class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {
4
4
  protected renderElement(): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
3
3
  export declare class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {
4
4
  protected handleClick: (event: any) => void;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyElementBase } from "../../reactquestion_element";
3
3
  import { IDialogOptions, PopupBaseViewModel } from "survey-core";
4
4
  interface IModalDescriptor {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { Base, PopupModel, PopupBaseViewModel } from "survey-core";
3
3
  import { SurveyElementBase } from "../../reactquestion_element";
4
4
  interface IPopupProps {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyError } from "survey-core";
3
3
  export interface IQuestionErrorComponentProps {
4
4
  error: SurveyError;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyElementBase } from "../../reactquestion_element";
3
3
  interface IRatingItemProps {
4
4
  item: any;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { RatingItemBase } from "./rating-item";
3
3
  export declare class RatingItemSmiley extends RatingItemBase {
4
4
  render(): React.JSX.Element | null;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { RatingItemBase } from "./rating-item";
3
3
  export declare class RatingItemStar extends RatingItemBase {
4
4
  render(): React.JSX.Element | null;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { Base, QuestionRatingModel, RenderedRatingItem } from "survey-core";
3
3
  import { SurveyElementBase } from "../../reactquestion_element";
4
4
  export interface IRatingItemProps {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  export declare class Skeleton extends React.Component<any, any> {
3
3
  render(): React.JSX.Element;
4
4
  }
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { Action } from "survey-core";
3
3
  import { ReactSurveyElement } from "../../reactquestion_element";
4
4
  export declare class SurveyNavigationButton extends ReactSurveyElement {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyModel } from "survey-core";
3
3
  interface ILogoImageProps {
4
4
  data: SurveyModel;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyModel } from "survey-core";
3
3
  interface ISurveyHeaderProps {
4
4
  survey: SurveyModel;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  export declare class SvgIcon extends React.Component<any, any> {
3
3
  private svgIconRef;
4
4
  constructor(props: any);
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { TextAreaModel } from "survey-core";
3
3
  import { SurveyElementBase } from "../reactquestion_element";
4
4
  interface ITextAreaProps {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { SurveyElement } from "survey-core";
3
3
  export declare class TitleActions extends React.Component<any, any> {
4
4
  protected get cssClasses(): any;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  import { ITitleOwner } from "survey-core";
3
3
  export declare class TitleContent extends React.Component<any, any> {
4
4
  constructor(props: any);
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  export declare class TitleElement extends React.Component<any, any> {
3
3
  constructor(props: any);
4
4
  private get element();
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare class ReactElementFactory {
3
2
  static Instance: ReactElementFactory;
4
3
  private creatorHash;
@@ -1,5 +1,8 @@
1
- import React from "react";
2
- export declare class SurveyElementHeader extends React.Component<any, any> {
1
+ import * as React from "react";
2
+ import { Base } from "survey-core";
3
+ import { SurveyElementBase } from "./reactquestion_element";
4
+ export declare class SurveyElementHeader extends SurveyElementBase<any, any> {
3
5
  private get element();
4
- render(): React.JSX.Element;
6
+ protected getRenderedElements(): Base[];
7
+ protected renderElement(): React.JSX.Element;
5
8
  }
@@ -1,5 +1,5 @@
1
1
  import { SurveyQuestionElementBase } from "./reactquestion_element";
2
- import React from "react";
2
+ import * as React from "react";
3
3
  import { SurveyElementBase } from "./reactquestion_element";
4
4
  import { QuestionButtonGroupModel, ButtonGroupItemValue, ButtonGroupItemModel } from "survey-core";
5
5
  export declare class SurveyQuestionButtonGroup extends SurveyQuestionElementBase {
@@ -24,12 +24,15 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
24
24
  protected get changedStatePropName(): string | undefined;
25
25
  private makeBaseElementsReact;
26
26
  private unMakeBaseElementsReact;
27
+ private unMakeBaseElementsReactive;
27
28
  protected disableStateElementsRerenderEvent(els: Array<Base>): void;
28
29
  protected getStateElements(): Array<Base>;
29
30
  protected getStateElement(): Base | null;
30
31
  protected get isDisplayMode(): boolean;
31
32
  protected renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element;
32
33
  private canMakeReact;
34
+ private propertyValueChangedHandler;
35
+ protected isCurrentStateElement(stateElement: Base): boolean;
33
36
  private makeBaseElementReact;
34
37
  protected canUsePropInState(key: string): boolean;
35
38
  private unMakeBaseElementReact;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare class ReactQuestionFactory {
3
2
  static Instance: ReactQuestionFactory;
4
3
  private creatorHash;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SurveyModel, QuestionMatrixDropdownRenderedCell, SurveyElement, QuestionRowModel, ItemValue, QuestionSelectBase } from "survey-core";
3
2
  export declare class ReactSurveyElementsWrapper {
4
3
  static wrapRow(survey: SurveyModel, element: React.JSX.Element, row: QuestionRowModel): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  export declare class SurveyLocStringEditor extends React.Component<any, any> {
3
3
  constructor(props: any);
4
4
  private get locStr();
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  export declare class SurveyLocStringViewer extends React.Component<any, any> {
3
3
  constructor(props: any);
4
4
  private rootRef;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import * as React from "react";
2
2
  export declare class SvgBundleComponent extends React.Component {
3
3
  private containerRef;
4
4
  constructor(props: any);
package/survey-js-ui.d.ts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export * from "./typings/entries/js-ui";
@@ -1,3 +0,0 @@
1
- export { SurveyModel, SurveyWindowModel } from "survey-core";
2
- export { settings, ISurveyEnvironment } from "survey-core";
3
- export { surveyLocalization, surveyStrings } from "survey-core";
@@ -1,7 +0,0 @@
1
- import { SurveyModel } from "survey-core";
2
- export declare function renderSurvey(model: SurveyModel, element: HTMLElement, props?: any): void;
3
- export declare function renderPopupSurvey(model: SurveyModel, element: HTMLElement, props?: any): void;
4
- export declare const preact: any;
5
- export * from "./react-ui-model";
6
- export * from "./core-export";
7
- export { SurveyModel as Model } from "survey-core";
@@ -1,84 +0,0 @@
1
- export { Survey, attachKey2click } from "../react/reactSurvey";
2
- export { ReactSurveyElementsWrapper } from "../react/reactsurveymodel";
3
- export { SurveyNavigationBase } from "../react/reactSurveyNavigationBase";
4
- export { SurveyTimerPanel } from "../react/reacttimerpanel";
5
- export { SurveyPage } from "../react/page";
6
- export { SurveyRow } from "../react/row";
7
- export { SurveyPanel } from "../react/panel";
8
- export { SurveyFlowPanel } from "../react/flow-panel";
9
- export { SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ISurveyCreator } from "../react/reactquestion";
10
- export { ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, } from "../react/reactquestion_element";
11
- export { SurveyQuestionCommentItem, SurveyQuestionComment, } from "../react/reactquestion_comment";
12
- export { SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, } from "../react/reactquestion_checkbox";
13
- export { SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent } from "../react/reactquestion_ranking";
14
- export { RatingItem } from "../react/components/rating/rating-item";
15
- export { RatingItemStar } from "../react/components/rating/rating-item-star";
16
- export { RatingItemSmiley } from "../react/components/rating/rating-item-smiley";
17
- export { RatingDropdownItem } from "../react/components/rating/rating-dropdown-item";
18
- export { TagboxFilterString } from "../react/tagbox-filter";
19
- export { SurveyQuestionOptionItem } from "../react/dropdown-item";
20
- export { SurveyQuestionDropdownBase } from "../react/dropdown-base";
21
- export { SurveyQuestionDropdown } from "../react/reactquestion_dropdown";
22
- export { SurveyQuestionTagboxItem } from "../react/tagbox-item";
23
- export { SurveyQuestionTagbox } from "../react/reactquestion_tagbox";
24
- export { SurveyQuestionDropdownSelect } from "../react/dropdown-select";
25
- export { SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionMatrixCell } from "../react/reactquestion_matrix";
26
- export { SurveyQuestionHtml } from "../react/reactquestion_html";
27
- export { SurveyQuestionFile } from "../react/reactquestion_file";
28
- export { SurveyFileChooseButton } from "../react/components/file/file-choose-button";
29
- export { SurveyFilePreview } from "../react/components/file/file-preview";
30
- export { SurveyQuestionMultipleText } from "../react/reactquestion_multipletext";
31
- export { SurveyQuestionRadiogroup, SurveyQuestionRadioItem } from "../react/reactquestion_radiogroup";
32
- export { SurveyQuestionText } from "../react/reactquestion_text";
33
- export { SurveyQuestionBoolean } from "../react/boolean";
34
- export { SurveyQuestionBooleanCheckbox } from "../react/boolean-checkbox";
35
- export { SurveyQuestionBooleanRadio } from "../react/boolean-radio";
36
- export { SurveyQuestionEmpty } from "../react/reactquestion_empty";
37
- export { SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase } from "../react/reactquestion_matrixdropdownbase";
38
- export { SurveyQuestionMatrixDropdown } from "../react/reactquestion_matrixdropdown";
39
- export { SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton } from "../react/reactquestion_matrixdynamic";
40
- export { SurveyQuestionPanelDynamic } from "../react/reactquestion_paneldynamic";
41
- export { SurveyProgress } from "../react/progress";
42
- export { SurveyProgressButtons } from "../react/progressButtons";
43
- export { SurveyProgressToc } from "../react/progressToc";
44
- export { SurveyQuestionRating } from "../react/reactquestion_rating";
45
- export { SurveyQuestionRatingDropdown } from "../react/rating-dropdown";
46
- export { SurveyQuestionExpression } from "../react/reactquestion_expression";
47
- export { PopupSurvey, SurveyWindow } from "../react/react-popup-survey";
48
- export { ReactQuestionFactory } from "../react/reactquestion_factory";
49
- export { ReactElementFactory } from "../react/element-factory";
50
- export { SurveyQuestionImagePicker } from "../react/imagepicker";
51
- export { SurveyQuestionImage } from "../react/image";
52
- export { SurveyQuestionSignaturePad } from "../react/signaturepad";
53
- export { SurveyQuestionButtonGroup } from "../react/reactquestion_buttongroup";
54
- export { SurveyQuestionCustom, SurveyQuestionComposite } from "../react/reactquestion_custom";
55
- export { Popup } from "../react/components/popup/popup";
56
- export { ListItemContent } from "../react/components/list/list-item-content";
57
- export { ListItemGroup } from "../react/components/list/list-item-group";
58
- export { List } from "../react/components/list/list";
59
- export { TitleActions } from "../react/components/title/title-actions";
60
- export { TitleElement } from "../react/components/title/title-element";
61
- export { SurveyActionBar } from "../react/components/action-bar/action-bar";
62
- export { LogoImage } from "../react/components/survey-header/logo-image";
63
- export { SurveyHeader } from "../react/components/survey-header/survey-header";
64
- export { SvgIcon } from "../react/components/svg-icon/svg-icon";
65
- export { SurveyQuestionMatrixDynamicRemoveButton } from "../react/components/matrix-actions/remove-button/remove-button";
66
- export { SurveyQuestionMatrixDetailButton } from "../react/components/matrix-actions/detail-button/detail-button";
67
- export { SurveyQuestionMatrixDynamicDragDropIcon } from "../react/components/matrix-actions/drag-drop-icon/drag-drop-icon";
68
- export { SurveyQuestionPanelDynamicAddButton } from "../react/components/paneldynamic-actions/paneldynamic-add-btn";
69
- export { SurveyQuestionPanelDynamicRemoveButton } from "../react/components/paneldynamic-actions/paneldynamic-remove-btn";
70
- export { SurveyQuestionPanelDynamicPrevButton } from "../react/components/paneldynamic-actions/paneldynamic-prev-btn";
71
- export { SurveyQuestionPanelDynamicNextButton } from "../react/components/paneldynamic-actions/paneldynamic-next-btn";
72
- export { SurveyQuestionPanelDynamicProgressText } from "../react/components/paneldynamic-actions/paneldynamic-progress-text";
73
- export { SurveyNavigationButton } from "../react/components/survey-actions/survey-nav-button";
74
- export { QuestionErrorComponent } from "../react/components/question-error";
75
- export { MatrixRow } from "../react/components/matrix/row";
76
- export { Skeleton } from "../react/components/skeleton";
77
- export { NotifierComponent } from "../react/components/notifier";
78
- export { ComponentsContainer } from "../react/components/components-container";
79
- export { CharacterCounterComponent } from "../react/components/character-counter";
80
- export * from "../react/components/header";
81
- export { SurveyLocStringViewer } from "../react/string-viewer";
82
- export { SurveyLocStringEditor } from "../react/string-editor";
83
- export { LoadingIndicatorComponent } from "../react/components/loading-indicator";
84
- export { SvgBundleComponent } from "../react/svgbundle";
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionBoolean } from "./boolean";
3
- export declare class SurveyQuestionBooleanCheckbox extends SurveyQuestionBoolean {
4
- constructor(props: any);
5
- protected renderElement(): JSX.Element;
6
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyQuestionBoolean } from "./boolean";
3
- export declare class SurveyQuestionBooleanRadio extends SurveyQuestionBoolean {
4
- constructor(props: any);
5
- private renderRadioItem;
6
- handleOnChange: (event: any) => void;
7
- protected renderElement(): JSX.Element;
8
- }
@@ -1,17 +0,0 @@
1
- import * as React from "react";
2
- import { QuestionBooleanModel, Base } from "survey-core";
3
- import { SurveyQuestionElementBase } from "./reactquestion_element";
4
- export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
5
- protected checkRef: React.RefObject<HTMLInputElement>;
6
- constructor(props: any);
7
- protected getStateElement(): Base;
8
- protected get question(): QuestionBooleanModel;
9
- private doCheck;
10
- handleOnChange(event: any): void;
11
- handleOnClick(event: any): void;
12
- handleOnSwitchClick(event: any): void;
13
- handleOnLabelClick(event: any, value: boolean): void;
14
- handleOnKeyDown(event: any): void;
15
- protected updateDomElement(): void;
16
- protected renderElement(): JSX.Element;
17
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { SurveyActionBarItem } from "./action-bar-item";
3
- export declare class SurveyActionBarItemDropdown extends SurveyActionBarItem {
4
- private viewModel;
5
- constructor(props: any);
6
- renderInnerButton(): JSX.Element;
7
- componentWillUnmount(): void;
8
- }
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import { Base, Action } from "survey-core";
3
- import { SurveyElementBase } from "../../reactquestion_element";
4
- interface IActionBarItemProps {
5
- item: Action;
6
- }
7
- export declare class SurveyAction extends SurveyElementBase<IActionBarItemProps, any> {
8
- get item(): Action;
9
- protected getStateElement(): Base;
10
- renderElement(): JSX.Element;
11
- }
12
- export declare class SurveyActionBarItem extends SurveyElementBase<IActionBarItemProps, any> {
13
- get item(): Action;
14
- protected getStateElement(): Base;
15
- renderElement(): JSX.Element;
16
- renderText(): JSX.Element | null;
17
- renderButtonContent(): JSX.Element;
18
- renderInnerButton(): JSX.Element;
19
- }
20
- export {};
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- export declare class SurveyActionBarSeparator extends React.Component<any, any> {
3
- constructor(props: any);
4
- render(): JSX.Element;
5
- }