survey-react-ui 1.9.119 → 1.9.121

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.119",
3
+ "version": "1.9.121",
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.119",
24
+ "survey-core": "1.9.121",
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.119
2
+ * surveyjs - Survey JavaScript library v1.9.121
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
  */
@@ -1991,7 +1991,7 @@ __webpack_require__.r(__webpack_exports__);
1991
1991
  /*!***************************************!*\
1992
1992
  !*** ./src/entries/react-ui-model.ts ***!
1993
1993
  \***************************************/
1994
- /*! 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, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, 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, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
1994
+ /*! 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, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, 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, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent */
1995
1995
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1996
1996
 
1997
1997
  "use strict";
@@ -2268,6 +2268,9 @@ __webpack_require__.r(__webpack_exports__);
2268
2268
  /* harmony import */ var _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../react/components/loading-indicator */ "./src/react/components/loading-indicator.tsx");
2269
2269
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LoadingIndicatorComponent", function() { return _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_79__["LoadingIndicatorComponent"]; });
2270
2270
 
2271
+ /* harmony import */ var _react_svgbundle__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../react/svgbundle */ "./src/react/svgbundle.tsx");
2272
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SvgBundleComponent", function() { return _react_svgbundle__WEBPACK_IMPORTED_MODULE_80__["SvgBundleComponent"]; });
2273
+
2271
2274
  // react
2272
2275
 
2273
2276
 
@@ -2347,6 +2350,7 @@ __webpack_require__.r(__webpack_exports__);
2347
2350
 
2348
2351
 
2349
2352
 
2353
+
2350
2354
 
2351
2355
 
2352
2356
  //Uncomment to include the "date" question type.
@@ -2359,7 +2363,7 @@ __webpack_require__.r(__webpack_exports__);
2359
2363
  /*!*********************************!*\
2360
2364
  !*** ./src/entries/react-ui.ts ***!
2361
2365
  \*********************************/
2362
- /*! 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, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, 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, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SurveyModel, SurveyWindowModel, settings, surveyLocalization, surveyStrings, Model, ResponsivityManager, VerticalResponsivityManager, unwrap */
2366
+ /*! 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, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, 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, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent, SurveyModel, SurveyWindowModel, settings, surveyLocalization, surveyStrings, Model, ResponsivityManager, VerticalResponsivityManager, unwrap */
2363
2367
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2364
2368
 
2365
2369
  "use strict";
@@ -2557,6 +2561,8 @@ __webpack_require__.r(__webpack_exports__);
2557
2561
 
2558
2562
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LoadingIndicatorComponent", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["LoadingIndicatorComponent"]; });
2559
2563
 
2564
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SvgBundleComponent", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["SvgBundleComponent"]; });
2565
+
2560
2566
  /* harmony import */ var _core_export__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core-export */ "./src/entries/core-export.ts");
2561
2567
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return _core_export__WEBPACK_IMPORTED_MODULE_1__["SurveyModel"]; });
2562
2568
 
@@ -2586,7 +2592,7 @@ __webpack_require__.r(__webpack_exports__);
2586
2592
 
2587
2593
 
2588
2594
 
2589
- Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.119", "survey-react-ui");
2595
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.121", "survey-react-ui");
2590
2596
 
2591
2597
 
2592
2598
  /***/ }),
@@ -9749,7 +9755,7 @@ var englishStrings = {
9749
9755
  panelDynamicProgressText: "{0} of {1}",
9750
9756
  panelDynamicTabTextFormat: "Panel {panelIndex}",
9751
9757
  questionsProgressText: "Answered {0}/{1} questions",
9752
- emptySurvey: "The survey doesn't contain visible pages or questions.",
9758
+ emptySurvey: "The survey doesn't contain any visible elements.",
9753
9759
  completingSurvey: "Thank you for completing the survey",
9754
9760
  completingSurveyBefore: "Our records show that you have already completed this survey.",
9755
9761
  loadingSurvey: "Loading Survey...",
@@ -10408,7 +10414,7 @@ var SurveyActionBar = /** @class */ (function (_super) {
10408
10414
  return;
10409
10415
  var container = this.rootRef.current;
10410
10416
  if (!!container) {
10411
- this.model.initResponsivityManager(container);
10417
+ this.model.initResponsivityManager(container, function (callback) { setTimeout(callback); });
10412
10418
  }
10413
10419
  };
10414
10420
  SurveyActionBar.prototype.componentWillUnmount = function () {
@@ -10816,7 +10822,7 @@ var HeaderMobile = /** @class */ (function (_super) {
10816
10822
  this.model.survey.hasTitle ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__title", style: { maxWidth: this.model.textAreaWidth } },
10817
10823
  react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_title_title_element__WEBPACK_IMPORTED_MODULE_3__["TitleElement"], { element: this.model.survey }))) : null,
10818
10824
  this.model.survey.renderedHasDescription ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__description", style: { maxWidth: this.model.textAreaWidth } },
10819
- react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("h5", { className: this.model.survey.css.description }, _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"].renderLocString(this.model.survey.locDescription)))) : null));
10825
+ react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.survey.css.description }, _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"].renderLocString(this.model.survey.locDescription)))) : null));
10820
10826
  };
10821
10827
  return HeaderMobile;
10822
10828
  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component));
@@ -10847,7 +10853,7 @@ var HeaderCell = /** @class */ (function (_super) {
10847
10853
  this.model.showTitle ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__title", style: { maxWidth: this.model.textAreaWidth } },
10848
10854
  react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_title_title_element__WEBPACK_IMPORTED_MODULE_3__["TitleElement"], { element: this.model.survey }))) : null,
10849
10855
  this.model.showDescription ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__description", style: { maxWidth: this.model.textAreaWidth } },
10850
- react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("h5", { className: this.model.survey.css.description }, _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"].renderLocString(this.model.survey.locDescription)))) : null)));
10856
+ react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.survey.css.description }, _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"].renderLocString(this.model.survey.locDescription)))) : null)));
10851
10857
  };
10852
10858
  return HeaderCell;
10853
10859
  }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component));
@@ -12604,7 +12610,7 @@ var SurveyHeader = /** @class */ (function (_super) {
12604
12610
  var description = _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"].renderLocString(this.survey.locDescription);
12605
12611
  return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.css.headerText, style: { maxWidth: this.survey.titleMaxWidth } },
12606
12612
  react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_title_title_element__WEBPACK_IMPORTED_MODULE_3__["TitleElement"], { element: this.survey }),
12607
- this.survey.renderedHasDescription ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("h5", { className: this.css.description }, description) : null));
12613
+ this.survey.renderedHasDescription ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.css.description }, description) : null));
12608
12614
  };
12609
12615
  SurveyHeader.prototype.renderLogoImage = function (isRender) {
12610
12616
  if (!isRender)
@@ -13176,7 +13182,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
13176
13182
  if (!this.question.allowClear || !this.question.cssClasses.cleanButtonIconId)
13177
13183
  return null;
13178
13184
  var style = { display: !this.question.showClearButton ? "none" : "" };
13179
- return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.cleanButton, style: style, onClick: this.clear, tabIndex: this.question.showClearButton ? 0 : -1 },
13185
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.cleanButton, style: style, onClick: this.clear, "aria-hidden": "true" },
13180
13186
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { className: this.question.cssClasses.cleanButtonSvg, iconName: this.question.cssClasses.cleanButtonIconId, title: this.question.clearCaption, size: "auto" })));
13181
13187
  };
13182
13188
  SurveyQuestionDropdownBase.prototype.createChevronButton = function () {
@@ -14619,6 +14625,7 @@ __webpack_require__.r(__webpack_exports__);
14619
14625
  /* harmony import */ var _components_brand_info__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./components/brand-info */ "./src/react/components/brand-info.tsx");
14620
14626
  /* harmony import */ var _components_notifier__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./components/notifier */ "./src/react/components/notifier.tsx");
14621
14627
  /* harmony import */ var _components_components_container__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./components/components-container */ "./src/react/components/components-container.tsx");
14628
+ /* harmony import */ var _svgbundle__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./svgbundle */ "./src/react/svgbundle.tsx");
14622
14629
  var __extends = (undefined && undefined.__extends) || (function () {
14623
14630
  var extendStatics = function (d, b) {
14624
14631
  extendStatics = Object.setPrototypeOf ||
@@ -14656,6 +14663,7 @@ var __assign = (undefined && undefined.__assign) || function () {
14656
14663
 
14657
14664
 
14658
14665
 
14666
+
14659
14667
  var Survey = /** @class */ (function (_super) {
14660
14668
  __extends(Survey, _super);
14661
14669
  function Survey(props) {
@@ -14726,9 +14734,6 @@ var Survey = /** @class */ (function (_super) {
14726
14734
  this.destroySurvey();
14727
14735
  };
14728
14736
  Survey.prototype.doRender = function () {
14729
- if (this.survey["needRenderIcons"]) {
14730
- survey_core__WEBPACK_IMPORTED_MODULE_1__["SvgRegistry"].renderIcons();
14731
- }
14732
14737
  var renderResult;
14733
14738
  if (this.survey.state == "completed") {
14734
14739
  renderResult = this.renderCompleted();
@@ -14757,6 +14762,7 @@ var Survey = /** @class */ (function (_super) {
14757
14762
  var rootCss = this.survey.getRootCss();
14758
14763
  var cssClasses = this.rootNodeClassName ? this.rootNodeClassName + " " + rootCss : rootCss;
14759
14764
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: this.rootNodeId, ref: this.rootRef, className: cssClasses, style: this.survey.themeVariables },
14765
+ this.survey.needRenderIcons ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_svgbundle__WEBPACK_IMPORTED_MODULE_11__["SvgBundleComponent"], null) : null,
14760
14766
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.survey.wrapperFormCss },
14761
14767
  backgroundImage,
14762
14768
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("form", { onSubmit: onSubmit },
@@ -14811,10 +14817,12 @@ var Survey = /** @class */ (function (_super) {
14811
14817
  }
14812
14818
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.survey.bodyContainerCss },
14813
14819
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_10__["ComponentsContainer"], { survey: this.survey, container: "left" }),
14814
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: pageId, className: className, style: style },
14815
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_10__["ComponentsContainer"], { survey: this.survey, container: "contentTop" }),
14816
- activePage,
14817
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_10__["ComponentsContainer"], { survey: this.survey, container: "contentBottom" })),
14820
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: "sv-components-column sv-components-column--expandable" },
14821
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_10__["ComponentsContainer"], { survey: this.survey, container: "center" }),
14822
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: pageId, className: className, style: style },
14823
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_10__["ComponentsContainer"], { survey: this.survey, container: "contentTop" }),
14824
+ activePage,
14825
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_10__["ComponentsContainer"], { survey: this.survey, container: "contentBottom" }))),
14818
14826
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_10__["ComponentsContainer"], { survey: this.survey, container: "right" })));
14819
14827
  };
14820
14828
  Survey.prototype.renderPage = function (page) {
@@ -17986,8 +17994,13 @@ var SurveyMultipleTextItem = /** @class */ (function (_super) {
17986
17994
  SurveyMultipleTextItem.prototype.renderElement = function () {
17987
17995
  var item = this.item;
17988
17996
  var cssClasses = this.cssClasses;
17997
+ var titleStyle = {};
17998
+ if (!!this.question.itemTitleWidth) {
17999
+ titleStyle.minWidth = this.question.itemTitleWidth;
18000
+ titleStyle.width = this.question.itemTitleWidth;
18001
+ }
17989
18002
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("label", { className: this.question.getItemLabelCss(item) },
17990
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: cssClasses.itemTitle },
18003
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: cssClasses.itemTitle, style: titleStyle },
17991
18004
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_title_title_content__WEBPACK_IMPORTED_MODULE_4__["TitleContent"], { element: item.editor, cssClasses: item.editor.cssClasses })),
17992
18005
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyMultipleTextItemEditor, { cssClasses: cssClasses, itemCss: this.question.getItemCss(), question: item.editor, creator: this.creator })));
17993
18006
  };
@@ -18549,12 +18562,15 @@ var SurveyQuestionRanking = /** @class */ (function (_super) {
18549
18562
  this.getItems(this.question.unRankingChoices, unrankedItem),
18550
18563
  this.question.unRankingChoices.length === 0 ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.containerPlaceholder },
18551
18564
  " ",
18552
- this.question.selectToRankEmptyRankedAreaText,
18565
+ this.renderLocString(this.question.locSelectToRankEmptyRankedAreaText),
18553
18566
  " ") : null),
18554
18567
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.containersDivider }),
18555
18568
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.getContainerClasses("to"), "data-ranking": "to-container" },
18556
18569
  this.getItems(),
18557
- this.question.rankingChoices.length === 0 ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.containerPlaceholder }, this.question.selectToRankEmptyUnrankedAreaText) : null)));
18570
+ this.question.rankingChoices.length === 0 ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.containerPlaceholder },
18571
+ " ",
18572
+ this.renderLocString(this.question.locSelectToRankEmptyUnrankedAreaText),
18573
+ " ") : null)));
18558
18574
  }
18559
18575
  };
18560
18576
  SurveyQuestionRanking.prototype.getItems = function (choices, unrankedItem) {
@@ -19272,6 +19288,7 @@ __webpack_require__.r(__webpack_exports__);
19272
19288
  /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactquestion_element */ "./src/react/reactquestion_element.tsx");
19273
19289
  /* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactquestion_factory */ "./src/react/reactquestion_factory.tsx");
19274
19290
  /* harmony import */ var _components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
19291
+ /* harmony import */ var _components_loading_indicator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/loading-indicator */ "./src/react/components/loading-indicator.tsx");
19275
19292
  var __extends = (undefined && undefined.__extends) || (function () {
19276
19293
  var extendStatics = function (d, b) {
19277
19294
  extendStatics = Object.setPrototypeOf ||
@@ -19291,6 +19308,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
19291
19308
 
19292
19309
 
19293
19310
 
19311
+
19294
19312
  var SurveyQuestionSignaturePad = /** @class */ (function (_super) {
19295
19313
  __extends(SurveyQuestionSignaturePad, _super);
19296
19314
  function SurveyQuestionSignaturePad(props) {
@@ -19308,19 +19326,25 @@ var SurveyQuestionSignaturePad = /** @class */ (function (_super) {
19308
19326
  SurveyQuestionSignaturePad.prototype.renderElement = function () {
19309
19327
  var _this = this;
19310
19328
  var cssClasses = this.question.cssClasses;
19329
+ var loadingIndicator = this.question.showLoadingIndicator ? this.renderLoadingIndicator() : null;
19311
19330
  var clearButton = this.renderCleanButton();
19312
19331
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: cssClasses.root, ref: function (root) { return (_this.setControl(root)); }, style: { width: this.question.renderedCanvasWidth } },
19313
19332
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: cssClasses.placeholder, style: { display: this.question.needShowPlaceholder() ? "" : "none" } }, this.renderLocString(this.question.locPlaceholder)),
19314
19333
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", null,
19315
19334
  this.renderBackgroundImage(),
19316
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("canvas", { tabIndex: 0, className: this.question.cssClasses.canvas })),
19317
- clearButton));
19335
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("canvas", { tabIndex: 0, className: this.question.cssClasses.canvas, onBlur: this.question.onBlur })),
19336
+ clearButton,
19337
+ loadingIndicator));
19318
19338
  };
19319
19339
  SurveyQuestionSignaturePad.prototype.renderBackgroundImage = function () {
19320
19340
  if (!this.question.backgroundImage)
19321
19341
  return null;
19322
19342
  return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("img", { className: this.question.cssClasses.backgroundImage, src: this.question.backgroundImage, style: { width: this.question.renderedCanvasWidth } });
19323
19343
  };
19344
+ SurveyQuestionSignaturePad.prototype.renderLoadingIndicator = function () {
19345
+ return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.loadingIndicator },
19346
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_loading_indicator__WEBPACK_IMPORTED_MODULE_4__["LoadingIndicatorComponent"], null));
19347
+ };
19324
19348
  SurveyQuestionSignaturePad.prototype.renderCleanButton = function () {
19325
19349
  var _this = this;
19326
19350
  if (!this.question.canShowClearButton)
@@ -19534,6 +19558,62 @@ _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.re
19534
19558
  });
19535
19559
 
19536
19560
 
19561
+ /***/ }),
19562
+
19563
+ /***/ "./src/react/svgbundle.tsx":
19564
+ /*!*********************************!*\
19565
+ !*** ./src/react/svgbundle.tsx ***!
19566
+ \*********************************/
19567
+ /*! exports provided: SvgBundleComponent */
19568
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19569
+
19570
+ "use strict";
19571
+ __webpack_require__.r(__webpack_exports__);
19572
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SvgBundleComponent", function() { return SvgBundleComponent; });
19573
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
19574
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
19575
+ /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
19576
+ /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
19577
+ var __extends = (undefined && undefined.__extends) || (function () {
19578
+ var extendStatics = function (d, b) {
19579
+ extendStatics = Object.setPrototypeOf ||
19580
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19581
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
19582
+ return extendStatics(d, b);
19583
+ };
19584
+ return function (d, b) {
19585
+ if (typeof b !== "function" && b !== null)
19586
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
19587
+ extendStatics(d, b);
19588
+ function __() { this.constructor = d; }
19589
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
19590
+ };
19591
+ })();
19592
+
19593
+
19594
+ var SvgBundleComponent = /** @class */ (function (_super) {
19595
+ __extends(SvgBundleComponent, _super);
19596
+ function SvgBundleComponent(props) {
19597
+ var _this = _super.call(this, props) || this;
19598
+ _this.containerRef = react__WEBPACK_IMPORTED_MODULE_0___default.a.createRef();
19599
+ return _this;
19600
+ }
19601
+ SvgBundleComponent.prototype.componentDidMount = function () {
19602
+ if (!!this.containerRef.current) {
19603
+ this.containerRef.current.innerHTML = survey_core__WEBPACK_IMPORTED_MODULE_1__["SvgRegistry"].iconsRenderedHtml();
19604
+ }
19605
+ };
19606
+ SvgBundleComponent.prototype.render = function () {
19607
+ var svgStyle = {
19608
+ display: "none"
19609
+ };
19610
+ return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg", { style: svgStyle, id: "sv-icon-holder-global-container", ref: this.containerRef });
19611
+ };
19612
+ return SvgBundleComponent;
19613
+ }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component));
19614
+
19615
+
19616
+
19537
19617
  /***/ }),
19538
19618
 
19539
19619
  /***/ "./src/react/tagbox-filter.tsx":
@@ -20598,13 +20678,14 @@ var __extends = (undefined && undefined.__extends) || (function () {
20598
20678
  })();
20599
20679
 
20600
20680
  var ResponsivityManager = /** @class */ (function () {
20601
- function ResponsivityManager(container, model, itemsSelector, dotsItemSize) {
20681
+ function ResponsivityManager(container, model, itemsSelector, dotsItemSize, delayedUpdateFunction) {
20602
20682
  var _this = this;
20603
20683
  if (dotsItemSize === void 0) { dotsItemSize = null; }
20604
20684
  this.container = container;
20605
20685
  this.model = model;
20606
20686
  this.itemsSelector = itemsSelector;
20607
20687
  this.dotsItemSize = dotsItemSize;
20688
+ this.delayedUpdateFunction = delayedUpdateFunction;
20608
20689
  this.resizeObserver = undefined;
20609
20690
  this.isInitialized = false;
20610
20691
  this.minDimensionConst = 56;
@@ -20655,6 +20736,16 @@ var ResponsivityManager = /** @class */ (function () {
20655
20736
  (currentAction.needSeparator ? this.separatorSize : 0)
20656
20737
  : currentAction.maxDimension;
20657
20738
  };
20739
+ ResponsivityManager.prototype.getRenderedVisibleActionsCount = function () {
20740
+ var _this = this;
20741
+ var count = 0;
20742
+ this.container.querySelectorAll(this.itemsSelector).forEach(function (item) {
20743
+ if (_this.calcItemSize(item) > 0) {
20744
+ count++;
20745
+ }
20746
+ });
20747
+ return count;
20748
+ };
20658
20749
  ResponsivityManager.prototype.calcItemsSizes = function () {
20659
20750
  var _this = this;
20660
20751
  var actions = this.model.actions;
@@ -20680,18 +20771,8 @@ var ResponsivityManager = /** @class */ (function () {
20680
20771
  if (this.isContainerVisible && !this.model.isResponsivenessDisabled) {
20681
20772
  if (!this.isInitialized) {
20682
20773
  this.model.setActionsMode("large");
20683
- var recalcItemSizes = function () {
20684
- _this.calcItemsSizes();
20685
- _this.isInitialized = true;
20686
- };
20687
- if (queueMicrotask) {
20688
- queueMicrotask(recalcItemSizes);
20689
- }
20690
- else {
20691
- recalcItemSizes();
20692
- }
20693
20774
  }
20694
- var processResponsiveness = function () {
20775
+ var processResponsiveness_1 = function () {
20695
20776
  var _a;
20696
20777
  var dotsItemSize = _this.dotsItemSize;
20697
20778
  if (!_this.dotsItemSize) {
@@ -20700,11 +20781,29 @@ var ResponsivityManager = /** @class */ (function () {
20700
20781
  }
20701
20782
  _this.model.fit(_this.getAvailableSpace(), dotsItemSize);
20702
20783
  };
20703
- if (queueMicrotask) {
20704
- queueMicrotask(processResponsiveness);
20784
+ if (!this.isInitialized) {
20785
+ var callback = function () {
20786
+ _this.calcItemsSizes();
20787
+ _this.isInitialized = true;
20788
+ processResponsiveness_1();
20789
+ };
20790
+ if (this.getRenderedVisibleActionsCount() < this.model.visibleActions.length) {
20791
+ if (this.delayedUpdateFunction) {
20792
+ this.delayedUpdateFunction(callback);
20793
+ }
20794
+ else if (queueMicrotask) {
20795
+ queueMicrotask(callback);
20796
+ }
20797
+ else {
20798
+ callback();
20799
+ }
20800
+ }
20801
+ else {
20802
+ callback();
20803
+ }
20705
20804
  }
20706
20805
  else {
20707
- processResponsiveness();
20806
+ processResponsiveness_1();
20708
20807
  }
20709
20808
  }
20710
20809
  };
@@ -20719,9 +20818,9 @@ var ResponsivityManager = /** @class */ (function () {
20719
20818
 
20720
20819
  var VerticalResponsivityManager = /** @class */ (function (_super) {
20721
20820
  __extends(VerticalResponsivityManager, _super);
20722
- function VerticalResponsivityManager(container, model, itemsSelector, dotsItemSize, minDimension) {
20821
+ function VerticalResponsivityManager(container, model, itemsSelector, dotsItemSize, minDimension, delayedUpdateFunction) {
20723
20822
  if (minDimension === void 0) { minDimension = 40; }
20724
- var _this = _super.call(this, container, model, itemsSelector, dotsItemSize) || this;
20823
+ var _this = _super.call(this, container, model, itemsSelector, dotsItemSize, delayedUpdateFunction) || this;
20725
20824
  _this.minDimensionConst = minDimension;
20726
20825
  _this.recalcMinDimensionConst = false;
20727
20826
  return _this;