survey-react-ui 1.9.106 → 1.9.108

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react-ui",
3
- "version": "1.9.106",
3
+ "version": "1.9.108",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "typings": "survey-react-ui.d.ts",
23
23
  "dependencies": {
24
- "survey-core": "1.9.106",
24
+ "survey-core": "1.9.108",
25
25
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0",
26
26
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
27
27
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.106
2
+ * surveyjs - Survey JavaScript library v1.9.108
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -133,7 +133,7 @@ __webpack_require__.r(__webpack_exports__);
133
133
  /*!***************************************!*\
134
134
  !*** ./src/entries/react-ui-model.ts ***!
135
135
  \***************************************/
136
- /*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, SurveyLocStringViewer, SurveyLocStringEditor */
136
+ /*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
137
137
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
138
138
 
139
139
  "use strict";
@@ -391,6 +391,9 @@ __webpack_require__.r(__webpack_exports__);
391
391
  /* harmony import */ var _react_string_editor__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../react/string-editor */ "./src/react/string-editor.tsx");
392
392
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return _react_string_editor__WEBPACK_IMPORTED_MODULE_74__["SurveyLocStringEditor"]; });
393
393
 
394
+ /* harmony import */ var _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../react/components/loading-indicator */ "./src/react/components/loading-indicator.tsx");
395
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LoadingIndicatorComponent", function() { return _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_75__["LoadingIndicatorComponent"]; });
396
+
394
397
  // react
395
398
 
396
399
 
@@ -465,6 +468,7 @@ __webpack_require__.r(__webpack_exports__);
465
468
 
466
469
 
467
470
 
471
+
468
472
 
469
473
 
470
474
  //Uncomment to include the "date" question type.
@@ -477,7 +481,7 @@ __webpack_require__.r(__webpack_exports__);
477
481
  /*!*********************************!*\
478
482
  !*** ./src/entries/react-ui.ts ***!
479
483
  \*********************************/
480
- /*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, SurveyLocStringViewer, SurveyLocStringEditor, SurveyModel, SurveyWindowModel, settings, surveyLocalization, surveyStrings, Model, ResponsivityManager, VerticalResponsivityManager, unwrap */
484
+ /*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SurveyModel, SurveyWindowModel, settings, surveyLocalization, surveyStrings, Model, ResponsivityManager, VerticalResponsivityManager, unwrap */
481
485
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
482
486
 
483
487
  "use strict";
@@ -661,6 +665,8 @@ __webpack_require__.r(__webpack_exports__);
661
665
 
662
666
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["SurveyLocStringEditor"]; });
663
667
 
668
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LoadingIndicatorComponent", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["LoadingIndicatorComponent"]; });
669
+
664
670
  /* harmony import */ var _core_export__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core-export */ "./src/entries/core-export.ts");
665
671
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return _core_export__WEBPACK_IMPORTED_MODULE_1__["SurveyModel"]; });
666
672
 
@@ -690,7 +696,7 @@ __webpack_require__.r(__webpack_exports__);
690
696
 
691
697
 
692
698
 
693
- Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.106", "survey-react-ui");
699
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.108", "survey-react-ui");
694
700
 
695
701
 
696
702
  /***/ }),
@@ -1715,6 +1721,52 @@ _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.re
1715
1721
  });
1716
1722
 
1717
1723
 
1724
+ /***/ }),
1725
+
1726
+ /***/ "./src/react/components/loading-indicator.tsx":
1727
+ /*!****************************************************!*\
1728
+ !*** ./src/react/components/loading-indicator.tsx ***!
1729
+ \****************************************************/
1730
+ /*! exports provided: LoadingIndicatorComponent */
1731
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1732
+
1733
+ "use strict";
1734
+ __webpack_require__.r(__webpack_exports__);
1735
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LoadingIndicatorComponent", function() { return LoadingIndicatorComponent; });
1736
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
1737
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1738
+ /* harmony import */ var _svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
1739
+ var __extends = (undefined && undefined.__extends) || (function () {
1740
+ var extendStatics = function (d, b) {
1741
+ extendStatics = Object.setPrototypeOf ||
1742
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1743
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
1744
+ return extendStatics(d, b);
1745
+ };
1746
+ return function (d, b) {
1747
+ if (typeof b !== "function" && b !== null)
1748
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
1749
+ extendStatics(d, b);
1750
+ function __() { this.constructor = d; }
1751
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1752
+ };
1753
+ })();
1754
+
1755
+
1756
+ var LoadingIndicatorComponent = /** @class */ (function (_super) {
1757
+ __extends(LoadingIndicatorComponent, _super);
1758
+ function LoadingIndicatorComponent() {
1759
+ return _super !== null && _super.apply(this, arguments) || this;
1760
+ }
1761
+ LoadingIndicatorComponent.prototype.render = function () {
1762
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: "sd-loading-indicator" },
1763
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_1__["SvgIcon"], { iconName: "icon-loading", size: "auto" })));
1764
+ };
1765
+ return LoadingIndicatorComponent;
1766
+ }(react__WEBPACK_IMPORTED_MODULE_0__["Component"]));
1767
+
1768
+
1769
+
1718
1770
  /***/ }),
1719
1771
 
1720
1772
  /***/ "./src/react/components/matrix-actions/detail-button/detail-button.tsx":
@@ -3912,6 +3964,129 @@ var SurveyElementHeader = /** @class */ (function (_super) {
3912
3964
 
3913
3965
 
3914
3966
 
3967
+ /***/ }),
3968
+
3969
+ /***/ "./src/react/element.tsx":
3970
+ /*!*******************************!*\
3971
+ !*** ./src/react/element.tsx ***!
3972
+ \*******************************/
3973
+ /*! exports provided: SurveyRowElement */
3974
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3975
+
3976
+ "use strict";
3977
+ __webpack_require__.r(__webpack_exports__);
3978
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyRowElement", function() { return SurveyRowElement; });
3979
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
3980
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
3981
+ /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactquestion_element */ "./src/react/reactquestion_element.tsx");
3982
+ /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
3983
+ var __extends = (undefined && undefined.__extends) || (function () {
3984
+ var extendStatics = function (d, b) {
3985
+ extendStatics = Object.setPrototypeOf ||
3986
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
3987
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
3988
+ return extendStatics(d, b);
3989
+ };
3990
+ return function (d, b) {
3991
+ if (typeof b !== "function" && b !== null)
3992
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
3993
+ extendStatics(d, b);
3994
+ function __() { this.constructor = d; }
3995
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
3996
+ };
3997
+ })();
3998
+
3999
+
4000
+
4001
+ var SurveyRowElement = /** @class */ (function (_super) {
4002
+ __extends(SurveyRowElement, _super);
4003
+ function SurveyRowElement(props) {
4004
+ var _this = _super.call(this, props) || this;
4005
+ _this.element.cssClasses;
4006
+ return _this;
4007
+ }
4008
+ SurveyRowElement.prototype.getStateElement = function () {
4009
+ return this.element;
4010
+ };
4011
+ Object.defineProperty(SurveyRowElement.prototype, "element", {
4012
+ get: function () {
4013
+ return this.props.element;
4014
+ },
4015
+ enumerable: false,
4016
+ configurable: true
4017
+ });
4018
+ Object.defineProperty(SurveyRowElement.prototype, "index", {
4019
+ get: function () {
4020
+ return this.props.index;
4021
+ },
4022
+ enumerable: false,
4023
+ configurable: true
4024
+ });
4025
+ Object.defineProperty(SurveyRowElement.prototype, "row", {
4026
+ get: function () {
4027
+ return this.props.row;
4028
+ },
4029
+ enumerable: false,
4030
+ configurable: true
4031
+ });
4032
+ Object.defineProperty(SurveyRowElement.prototype, "survey", {
4033
+ get: function () {
4034
+ return this.props.survey;
4035
+ },
4036
+ enumerable: false,
4037
+ configurable: true
4038
+ });
4039
+ Object.defineProperty(SurveyRowElement.prototype, "creator", {
4040
+ get: function () {
4041
+ return this.props.creator;
4042
+ },
4043
+ enumerable: false,
4044
+ configurable: true
4045
+ });
4046
+ Object.defineProperty(SurveyRowElement.prototype, "css", {
4047
+ get: function () {
4048
+ return this.props.css;
4049
+ },
4050
+ enumerable: false,
4051
+ configurable: true
4052
+ });
4053
+ SurveyRowElement.prototype.shouldComponentUpdate = function (nextProps, nextState) {
4054
+ if (!_super.prototype.shouldComponentUpdate.call(this, nextProps, nextState))
4055
+ return false;
4056
+ this.element.cssClasses;
4057
+ return true;
4058
+ };
4059
+ SurveyRowElement.prototype.renderElement = function () {
4060
+ var element = this.element;
4061
+ var innerElement = this.createElement(element, this.index);
4062
+ var css = element.cssClassesValue;
4063
+ var focusIn = function () {
4064
+ var el = element;
4065
+ if (el && el.isQuestion) {
4066
+ el.focusIn();
4067
+ }
4068
+ };
4069
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: css.questionWrapper, style: element.rootStyle, "data-key": innerElement.key, key: innerElement.key, onFocus: focusIn }, this.row.isNeedRender ? innerElement : _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.createElement(element.skeletonComponentName, { element: element, css: this.css, })));
4070
+ };
4071
+ SurveyRowElement.prototype.createElement = function (element, elementIndex) {
4072
+ var index = elementIndex ? "-" + elementIndex : 0;
4073
+ var elementType = element.getType();
4074
+ if (!_element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.isElementRegistered(elementType)) {
4075
+ elementType = "question";
4076
+ }
4077
+ return _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.createElement(elementType, {
4078
+ key: element.name + index,
4079
+ element: element,
4080
+ creator: this.creator,
4081
+ survey: this.survey,
4082
+ css: this.css,
4083
+ });
4084
+ };
4085
+ return SurveyRowElement;
4086
+ }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"]));
4087
+
4088
+
4089
+
3915
4090
  /***/ }),
3916
4091
 
3917
4092
  /***/ "./src/react/flow-panel.tsx":
@@ -5484,7 +5659,7 @@ var SurveyProgressButtons = /** @class */ (function (_super) {
5484
5659
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("li", { key: "listelement" + index, className: this.getListElementCss(index), onClick: this.isListElementClickable(index)
5485
5660
  ? function () { return _this.clickListElement(index); }
5486
5661
  : undefined },
5487
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageTitle, title: page.navigationTitle || page.name }, page.navigationTitle || page.name),
5662
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageTitle, title: page.renderedNavigationTitle }, page.renderedNavigationTitle),
5488
5663
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageDescription, title: page.navigationDescription }, page.navigationDescription)));
5489
5664
  };
5490
5665
  SurveyProgressButtons.prototype.isListElementClickable = function (index) {
@@ -6201,7 +6376,7 @@ var SurveyQuestionCheckbox = /** @class */ (function (_super) {
6201
6376
  SurveyQuestionCheckbox.prototype.renderElement = function () {
6202
6377
  var _this = this;
6203
6378
  var cssClasses = this.question.cssClasses;
6204
- return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("fieldset", { role: "presentation", className: this.question.getSelectBaseRootCss(), ref: function (fieldset) { return (_this.setControl(fieldset)); } },
6379
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("fieldset", { className: this.question.getSelectBaseRootCss(), ref: function (fieldset) { return (_this.setControl(fieldset)); }, role: this.question.a11y_input_ariaRole, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-describedby": this.question.a11y_input_ariaDescribedBy },
6205
6380
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("legend", { role: "presentation", className: "sv-hidden" }),
6206
6381
  this.getHeader(),
6207
6382
  this.question.hasColumns
@@ -6381,8 +6556,8 @@ var SurveyQuestionCheckboxItem = /** @class */ (function (_super) {
6381
6556
  : this.handleOnChange;
6382
6557
  var itemLabel = !this.hideCaption ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.cssClasses.controlLabel }, this.renderLocString(this.item.locText, this.textStyle)) : null;
6383
6558
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: itemClass, role: "presentation" },
6384
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("label", { className: labelClass, "aria-label": this.question.getAriaItemLabel(this.item) },
6385
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { className: this.cssClasses.itemControl, role: "option", type: "checkbox", name: this.question.name, value: this.item.value != "selectall" ? this.item.value : undefined, id: id, style: this.inputStyle, disabled: !this.question.getItemEnabled(this.item), checked: isChecked, onChange: onItemChanged, "aria-describedby": this.question.ariaDescribedBy }),
6559
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("label", { className: labelClass },
6560
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { className: this.cssClasses.itemControl, type: "checkbox", name: this.question.name, value: this.item.value != "selectall" ? this.item.value : undefined, id: id, style: this.inputStyle, disabled: !this.question.getItemEnabled(this.item), checked: isChecked, onChange: onItemChanged }),
6386
6561
  this.cssClasses.materialDecorator ?
6387
6562
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
6388
6563
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("svg", { className: this.cssClasses.itemDecorator },
@@ -6511,7 +6686,7 @@ var SurveyQuestionCommentItem = /** @class */ (function (_super) {
6511
6686
  if (question.isReadOnlyRenderDiv()) {
6512
6687
  return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", null, comment);
6513
6688
  }
6514
- return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("textarea", { id: this.getId(), className: className, value: comment, disabled: this.isDisplayMode, maxLength: question.getOthersMaxLength(), placeholder: this.getPlaceholder(), onChange: handleOnChange, onBlur: function (e) { _this.onCommentChange(e); handleOnChange(e); }, onInput: function (e) { return _this.onCommentInput(e); }, "aria-required": question.isRequired, "aria-label": question.locTitle.renderedHtml, style: { resize: question.resizeStyle } }));
6689
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("textarea", { id: this.getId(), className: className, value: comment, disabled: this.isDisplayMode, maxLength: question.getOthersMaxLength(), placeholder: this.getPlaceholder(), onChange: handleOnChange, onBlur: function (e) { _this.onCommentChange(e); handleOnChange(e); }, onInput: function (e) { return _this.onCommentInput(e); }, "aria-required": question.isRequired || question.a11y_input_ariaRequired, "aria-label": question.ariaLabel || question.a11y_input_ariaLabel, style: { resize: question.resizeStyle } }));
6515
6690
  };
6516
6691
  return SurveyQuestionCommentItem;
6517
6692
  }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["ReactSurveyElement"]));
@@ -7227,6 +7402,7 @@ __webpack_require__.r(__webpack_exports__);
7227
7402
  /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reactquestion_element */ "./src/react/reactquestion_element.tsx");
7228
7403
  /* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reactquestion_factory */ "./src/react/reactquestion_factory.tsx");
7229
7404
  /* harmony import */ var _reactSurvey__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./reactSurvey */ "./src/react/reactSurvey.tsx");
7405
+ /* harmony import */ var _components_loading_indicator__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/loading-indicator */ "./src/react/components/loading-indicator.tsx");
7230
7406
  var __extends = (undefined && undefined.__extends) || (function () {
7231
7407
  var extendStatics = function (d, b) {
7232
7408
  extendStatics = Object.setPrototypeOf ||
@@ -7248,6 +7424,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
7248
7424
 
7249
7425
 
7250
7426
 
7427
+
7251
7428
  var SurveyQuestionFile = /** @class */ (function (_super) {
7252
7429
  __extends(SurveyQuestionFile, _super);
7253
7430
  function SurveyQuestionFile(props) {
@@ -7260,14 +7437,17 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
7260
7437
  enumerable: false,
7261
7438
  configurable: true
7262
7439
  });
7440
+ SurveyQuestionFile.prototype.renderLoadingIndicator = function () {
7441
+ return this.question.showLoadingIndicator ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_loading_indicator__WEBPACK_IMPORTED_MODULE_6__["LoadingIndicatorComponent"], null) : null;
7442
+ };
7263
7443
  SurveyQuestionFile.prototype.renderElement = function () {
7264
7444
  var _this = this;
7265
7445
  var preview = this.renderPreview();
7266
7446
  var fileInput = null;
7267
7447
  var fileDecorator = this.renderFileDecorator();
7268
- var clearButton = this.renderClearButton(this.question.showRemoveButton);
7269
- var clearButtonBottom = this.renderClearButton(this.question.showRemoveButtonBottom);
7270
- var mobileFileNavigator = this.question.mobileFileNavigatorVisible ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_1__["SurveyActionBar"], { model: this.question.mobileFileNavigator })) : null;
7448
+ var clearButton = this.question.showRemoveButton ? this.renderClearButton(this.question.cssClasses.removeButton) : null;
7449
+ var clearButtonBottom = this.question.showRemoveButtonBottom ? this.renderClearButton(this.question.cssClasses.removeButtonBottom) : null;
7450
+ var fileNavigator = this.question.fileNavigatorVisible ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_1__["SurveyActionBar"], { model: this.question.fileNavigator })) : null;
7271
7451
  fileInput = (this.isDisplayMode ?
7272
7452
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "file", disabled: this.isDisplayMode, className: !this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss(), id: this.question.inputId, ref: function (input) { return (_this.setControl(input)); }, style: !this.isDisplayMode ? {} : { color: "transparent" }, onChange: !this.isDisplayMode ? this.question.doChange : (function () { }), multiple: this.question.allowMultiple, placeholder: this.question.title, accept: this.question.acceptedTypes })
7273
7453
  :
@@ -7279,26 +7459,34 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
7279
7459
  clearButton,
7280
7460
  preview,
7281
7461
  clearButtonBottom,
7282
- mobileFileNavigator)));
7462
+ fileNavigator)));
7283
7463
  };
7284
7464
  SurveyQuestionFile.prototype.renderFileDecorator = function () {
7285
- var questionCss = this.question.cssClasses;
7465
+ var loadingIndicator = this.renderLoadingIndicator();
7466
+ var chooseButton = this.renderChooseButton();
7467
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.getFileDecoratorCss() },
7468
+ loadingIndicator,
7469
+ chooseButton));
7470
+ };
7471
+ SurveyQuestionFile.prototype.renderChooseButton = function () {
7286
7472
  var noFileChosen = null;
7287
7473
  var chooseFile = null;
7474
+ if (!this.question.showChooseButton)
7475
+ return null;
7288
7476
  chooseFile = this.question.isReadOnly ? null : Object(_reactSurvey__WEBPACK_IMPORTED_MODULE_5__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("label", { role: "button", tabIndex: 0, className: this.question.getChooseFileCss(), htmlFor: this.question.inputId, "aria-label": this.question.chooseButtonText },
7289
7477
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, this.question.chooseButtonText),
7290
7478
  (!!this.question.cssClasses.chooseFileIconId) ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { title: this.question.chooseButtonText, iconName: this.question.cssClasses.chooseFileIconId, size: "auto" }) : null));
7291
7479
  if (this.question.isEmpty()) {
7292
7480
  noFileChosen = (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.question.cssClasses.noFileChosen }, this.question.noFileChosenCaption));
7293
7481
  }
7294
- return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.getFileDecoratorCss() },
7482
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
7295
7483
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.question.cssClasses.dragAreaPlaceholder }, this.question.renderedPlaceholder),
7296
7484
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.wrapper },
7297
7485
  chooseFile,
7298
7486
  noFileChosen)));
7299
7487
  };
7300
7488
  SurveyQuestionFile.prototype.renderClearButton = function (className) {
7301
- return className ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("button", { type: "button", onClick: this.question.doClean, className: className },
7489
+ return !this.question.isUploading ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("button", { type: "button", onClick: this.question.doClean, className: className },
7302
7490
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, this.question.clearButtonCaption),
7303
7491
  (!!this.question.cssClasses.removeButtonIconId) ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { iconName: this.question.cssClasses.removeButtonIconId, size: "auto", title: this.question.clearButtonCaption }) : null)) : null;
7304
7492
  };
@@ -7313,7 +7501,7 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
7313
7501
  };
7314
7502
  SurveyQuestionFile.prototype.renderPreview = function () {
7315
7503
  var _this = this;
7316
- if (!this.question.previewValue || !this.question.previewValue.length)
7504
+ if (!this.question.allowShowPreview)
7317
7505
  return null;
7318
7506
  var previews = this.question.previewValue.map(function (val, index) {
7319
7507
  if (!val)
@@ -8232,7 +8420,7 @@ var SurveyQuestionMultipleText = /** @class */ (function (_super) {
8232
8420
  rows.push(this.renderRow(i, tableRows[i].cells, cssClasses));
8233
8421
  }
8234
8422
  }
8235
- return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("table", { className: cssClasses.root },
8423
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("table", { className: this.question.getQuestionRootCss() },
8236
8424
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("tbody", null, rows)));
8237
8425
  };
8238
8426
  SurveyQuestionMultipleText.prototype.renderCell = function (cell, cssClasses, index) {
@@ -8612,7 +8800,7 @@ var SurveyQuestionRadiogroup = /** @class */ (function (_super) {
8612
8800
  clearButton = (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", null,
8613
8801
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "button", className: this.question.cssClasses.clearButton, onClick: function () { return _this.question.clearValue(); }, value: this.question.clearButtonCaption })));
8614
8802
  }
8615
- return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("fieldset", { className: this.question.getSelectBaseRootCss(), role: "presentation", ref: function (fieldset) { return (_this.setControl(fieldset)); } },
8803
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("fieldset", { className: this.question.getSelectBaseRootCss(), ref: function (fieldset) { return (_this.setControl(fieldset)); }, role: this.question.a11y_input_ariaRole, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-describedby": this.question.a11y_input_ariaDescribedBy },
8616
8804
  this.question.hasColumns
8617
8805
  ? this.getColumnedBody(cssClasses)
8618
8806
  : this.getBody(cssClasses),
@@ -8771,7 +8959,7 @@ var SurveyQuestionRadioItem = /** @class */ (function (_super) {
8771
8959
  var controlLabelClass = this.question.getControlLabelClass(this.item);
8772
8960
  var itemLabel = !this.hideCaption ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: controlLabelClass }, this.renderLocString(this.item.locText, this.textStyle)) : null;
8773
8961
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: itemClass, role: "presentation" },
8774
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("label", { onMouseDown: this.handleOnMouseDown, className: labelClass, "aria-label": this.question.getAriaItemLabel(this.item) },
8962
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("label", { onMouseDown: this.handleOnMouseDown, className: labelClass },
8775
8963
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { "aria-describedby": this.question.ariaDescribedBy, className: this.cssClasses.itemControl, id: this.question.getItemId(this.item), type: "radio", name: this.question.questionName, checked: this.isChecked, value: this.item.value, disabled: !this.question.getItemEnabled(this.item), onChange: this.handleOnChange }),
8776
8964
  this.cssClasses.materialDecorator ?
8777
8965
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
@@ -9425,8 +9613,9 @@ __webpack_require__.r(__webpack_exports__);
9425
9613
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
9426
9614
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
9427
9615
  /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactquestion_element */ "./src/react/reactquestion_element.tsx");
9428
- /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
9429
- /* harmony import */ var _reactsurveymodel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reactsurveymodel */ "./src/react/reactsurveymodel.tsx");
9616
+ /* harmony import */ var _element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./element */ "./src/react/element.tsx");
9617
+ /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
9618
+ /* harmony import */ var _reactsurveymodel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reactsurveymodel */ "./src/react/reactsurveymodel.tsx");
9430
9619
  var __extends = (undefined && undefined.__extends) || (function () {
9431
9620
  var extendStatics = function (d, b) {
9432
9621
  extendStatics = Object.setPrototypeOf ||
@@ -9446,6 +9635,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
9446
9635
 
9447
9636
 
9448
9637
 
9638
+
9449
9639
  var SurveyRow = /** @class */ (function (_super) {
9450
9640
  __extends(SurveyRow, _super);
9451
9641
  function SurveyRow(props) {
@@ -9493,23 +9683,17 @@ var SurveyRow = /** @class */ (function (_super) {
9493
9683
  };
9494
9684
  SurveyRow.prototype.renderElementContent = function () {
9495
9685
  var _this = this;
9496
- var elements = this.row.visibleElements.map(function (element, index) {
9497
- var innerElement = _this.createElement(element, index);
9498
- var css = element.cssClassesValue;
9499
- var focusIn = function () {
9500
- var el = element;
9501
- if (el && el.isQuestion) {
9502
- el.focusIn();
9503
- }
9504
- };
9505
- return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: css.questionWrapper, style: element.rootStyle, "data-key": innerElement.key, key: innerElement.key, onFocus: focusIn }, _this.row.isNeedRender ? innerElement : _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.createElement(element.skeletonComponentName, { element: element, css: _this.css, })));
9686
+ var elements = this.row.visibleElements.map(function (element, elementIndex) {
9687
+ var index = elementIndex ? "-" + elementIndex : 0;
9688
+ var key = element.name + index;
9689
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_element__WEBPACK_IMPORTED_MODULE_2__["SurveyRowElement"], { element: element, index: elementIndex, row: _this.row, survey: _this.survey, creator: _this.creator, css: _this.css, key: key }));
9506
9690
  });
9507
9691
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { ref: this.rootRef, className: this.row.getRowCss() }, elements));
9508
9692
  };
9509
9693
  SurveyRow.prototype.renderElement = function () {
9510
9694
  var survey = this.survey;
9511
9695
  var content = this.renderElementContent();
9512
- var wrapper = _reactsurveymodel__WEBPACK_IMPORTED_MODULE_3__["ReactSurveyElementsWrapper"].wrapRow(survey, content, this.row);
9696
+ var wrapper = _reactsurveymodel__WEBPACK_IMPORTED_MODULE_4__["ReactSurveyElementsWrapper"].wrapRow(survey, content, this.row);
9513
9697
  return wrapper || content;
9514
9698
  };
9515
9699
  SurveyRow.prototype.componentDidMount = function () {
@@ -9544,10 +9728,10 @@ var SurveyRow = /** @class */ (function (_super) {
9544
9728
  SurveyRow.prototype.createElement = function (element, elementIndex) {
9545
9729
  var index = elementIndex ? "-" + elementIndex : 0;
9546
9730
  var elementType = element.getType();
9547
- if (!_element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.isElementRegistered(elementType)) {
9731
+ if (!_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.isElementRegistered(elementType)) {
9548
9732
  elementType = "question";
9549
9733
  }
9550
- return _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.createElement(elementType, {
9734
+ return _element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.createElement(elementType, {
9551
9735
  key: element.name + index,
9552
9736
  element: element,
9553
9737
  creator: this.creator,
@@ -10767,7 +10951,11 @@ var ResponsivityManager = /** @class */ (function () {
10767
10951
  setTimeout(function () { _this.process(); }, 1);
10768
10952
  };
10769
10953
  if (typeof ResizeObserver !== "undefined") {
10770
- this.resizeObserver = new ResizeObserver(function (_) { return _this.process(); });
10954
+ this.resizeObserver = new ResizeObserver(function (entries) {
10955
+ window.requestAnimationFrame(function () {
10956
+ _this.process();
10957
+ });
10958
+ });
10771
10959
  this.resizeObserver.observe(this.container.parentElement);
10772
10960
  }
10773
10961
  }