survey-react-ui 2.3.7 → 2.3.9

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": "2.3.7",
3
+ "version": "2.3.9",
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",
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "peerDependencies": {
32
- "survey-core": "2.3.7",
32
+ "survey-core": "2.3.9",
33
33
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
34
34
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0"
35
35
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.3.7
2
+ * surveyjs - Survey JavaScript library v2.3.9
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
  */
@@ -28,7 +28,7 @@ __webpack_require__.r(__webpack_exports__);
28
28
  /* harmony export */ icons: () => (/* binding */ iconsV1)
29
29
  /* harmony export */ });
30
30
  /*!
31
- * surveyjs - Survey JavaScript library v2.3.7
31
+ * surveyjs - Survey JavaScript library v2.3.9
32
32
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
33
33
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
34
34
  */
@@ -114,7 +114,7 @@ __webpack_require__.r(__webpack_exports__);
114
114
  /* harmony export */ icons: () => (/* binding */ iconsV2)
115
115
  /* harmony export */ });
116
116
  /*!
117
- * surveyjs - Survey JavaScript library v2.3.7
117
+ * surveyjs - Survey JavaScript library v2.3.9
118
118
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
119
119
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
120
120
  */
@@ -2064,11 +2064,12 @@ var __extends = (undefined && undefined.__extends) || (function () {
2064
2064
 
2065
2065
  var ListItem = /** @class */ (function (_super) {
2066
2066
  __extends(ListItem, _super);
2067
- function ListItem() {
2068
- var _this = _super !== null && _super.apply(this, arguments) || this;
2067
+ function ListItem(props) {
2068
+ var _this = _super.call(this, props) || this;
2069
2069
  _this.handleKeydown = function (event) {
2070
2070
  _this.model.onKeyDown(event);
2071
2071
  };
2072
+ _this.elementRef = react__WEBPACK_IMPORTED_MODULE_0__.createRef();
2072
2073
  return _this;
2073
2074
  }
2074
2075
  Object.defineProperty(ListItem.prototype, "model", {
@@ -2095,7 +2096,7 @@ var ListItem = /** @class */ (function (_super) {
2095
2096
  var className = this.model.getItemClass(this.item);
2096
2097
  var itemContent = this.item.component || this.model.itemComponent;
2097
2098
  var newElement = _element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.createElement(itemContent, { item: this.item, key: this.item.id, model: this.model });
2098
- var contentWrap = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: this.model.getItemStyle(this.item), className: this.model.cssClasses.itemBody, title: this.item.getTooltip(), onMouseOver: function (event) { _this.model.onItemHover(_this.item); }, onMouseLeave: function (event) { _this.model.onItemLeave(_this.item); } }, newElement);
2099
+ var contentWrap = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.elementRef, style: this.model.getItemStyle(this.item), className: this.model.cssClasses.itemBody, title: this.item.getTooltip(), onMouseOver: function (event) { _this.model.onItemHover(_this.item); }, onMouseLeave: function (event) { _this.model.onItemLeave(_this.item); } }, newElement);
2099
2100
  var separator = this.item.needSeparator ? react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.model.cssClasses.itemSeparator }) : null;
2100
2101
  var isVisible = this.model.isItemVisible(this.item);
2101
2102
  var style = {
@@ -2109,8 +2110,9 @@ var ListItem = /** @class */ (function (_super) {
2109
2110
  contentWrap), this.item);
2110
2111
  };
2111
2112
  ListItem.prototype.componentDidMount = function () {
2113
+ var _a;
2112
2114
  _super.prototype.componentDidMount.call(this);
2113
- this.model.onLastItemRended(this.item);
2115
+ this.model.onItemRended(this.item, (_a = this.elementRef) === null || _a === void 0 ? void 0 : _a.current);
2114
2116
  };
2115
2117
  return ListItem;
2116
2118
  }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
@@ -3378,10 +3380,12 @@ var QuestionErrorComponent = /** @class */ (function (_super) {
3378
3380
  return _super !== null && _super.apply(this, arguments) || this;
3379
3381
  }
3380
3382
  QuestionErrorComponent.prototype.render = function () {
3383
+ var error = this.props.error;
3384
+ var classes = this.props.cssClasses;
3381
3385
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null,
3382
- react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.props.cssClasses.error.icon || undefined, "aria-hidden": "true" }),
3386
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: error.getCssIcon(classes), "aria-hidden": "true" }),
3383
3387
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.props.cssClasses.error.item || undefined },
3384
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_string_viewer__WEBPACK_IMPORTED_MODULE_2__.SurveyLocStringViewer, { locStr: this.props.error.locText }))));
3388
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_string_viewer__WEBPACK_IMPORTED_MODULE_2__.SurveyLocStringViewer, { locStr: error.locText }))));
3385
3389
  };
3386
3390
  return QuestionErrorComponent;
3387
3391
  }(react__WEBPACK_IMPORTED_MODULE_0__.Component));
@@ -5672,6 +5676,7 @@ __webpack_require__.r(__webpack_exports__);
5672
5676
  /* harmony import */ var _panel_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./panel-base */ "./src/panel-base.tsx");
5673
5677
  /* harmony import */ var _components_title_title_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/title/title-element */ "./src/components/title/title-element.tsx");
5674
5678
  /* harmony import */ var _reactquestion__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reactquestion */ "./src/reactquestion.tsx");
5679
+ /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./element-factory */ "./src/element-factory.tsx");
5675
5680
  var __extends = (undefined && undefined.__extends) || (function () {
5676
5681
  var extendStatics = function (d, b) {
5677
5682
  extendStatics = Object.setPrototypeOf ||
@@ -5692,6 +5697,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
5692
5697
 
5693
5698
 
5694
5699
 
5700
+
5695
5701
  var SurveyPage = /** @class */ (function (_super) {
5696
5702
  __extends(SurveyPage, _super);
5697
5703
  function SurveyPage(props) {
@@ -5730,6 +5736,9 @@ var SurveyPage = /** @class */ (function (_super) {
5730
5736
  return SurveyPage;
5731
5737
  }(_panel_base__WEBPACK_IMPORTED_MODULE_2__.SurveyPanelBase));
5732
5738
 
5739
+ _element_factory__WEBPACK_IMPORTED_MODULE_5__.ReactElementFactory.Instance.registerElement("sv-page", function (props) {
5740
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SurveyPage, props);
5741
+ });
5733
5742
 
5734
5743
 
5735
5744
  /***/ }),
@@ -6538,19 +6547,18 @@ __webpack_require__.r(__webpack_exports__);
6538
6547
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
6539
6548
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
6540
6549
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
6541
- /* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./page */ "./src/page.tsx");
6542
- /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reactquestion_element */ "./src/reactquestion_element.tsx");
6543
- /* harmony import */ var _components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/survey-header/survey-header */ "./src/components/survey-header/survey-header.tsx");
6544
- /* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./reactquestion_factory */ "./src/reactquestion_factory.tsx");
6545
- /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./element-factory */ "./src/element-factory.tsx");
6546
- /* harmony import */ var _components_brand_info__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/brand-info */ "./src/components/brand-info.tsx");
6547
- /* harmony import */ var _components_notifier__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./components/notifier */ "./src/components/notifier.tsx");
6548
- /* harmony import */ var _components_components_container__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./components/components-container */ "./src/components/components-container.tsx");
6549
- /* harmony import */ var _svgbundle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./svgbundle */ "./src/svgbundle.tsx");
6550
- /* harmony import */ var _components_popup_popup_modal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./components/popup/popup-modal */ "./src/components/popup/popup-modal.tsx");
6551
- /* harmony import */ var survey_core_icons_iconsV1__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! survey-core/icons/iconsV1 */ "../survey-core/build/fesm/icons/iconsV1.mjs");
6552
- /* harmony import */ var survey_core_icons_iconsV2__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! survey-core/icons/iconsV2 */ "../survey-core/build/fesm/icons/iconsV2.mjs");
6553
- /* harmony import */ var _components_scroll__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./components/scroll */ "./src/components/scroll.tsx");
6550
+ /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactquestion_element */ "./src/reactquestion_element.tsx");
6551
+ /* harmony import */ var _components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/survey-header/survey-header */ "./src/components/survey-header/survey-header.tsx");
6552
+ /* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reactquestion_factory */ "./src/reactquestion_factory.tsx");
6553
+ /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./element-factory */ "./src/element-factory.tsx");
6554
+ /* harmony import */ var _components_brand_info__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/brand-info */ "./src/components/brand-info.tsx");
6555
+ /* harmony import */ var _components_notifier__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/notifier */ "./src/components/notifier.tsx");
6556
+ /* harmony import */ var _components_components_container__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./components/components-container */ "./src/components/components-container.tsx");
6557
+ /* harmony import */ var _svgbundle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./svgbundle */ "./src/svgbundle.tsx");
6558
+ /* harmony import */ var _components_popup_popup_modal__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./components/popup/popup-modal */ "./src/components/popup/popup-modal.tsx");
6559
+ /* harmony import */ var survey_core_icons_iconsV1__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! survey-core/icons/iconsV1 */ "../survey-core/build/fesm/icons/iconsV1.mjs");
6560
+ /* harmony import */ var survey_core_icons_iconsV2__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! survey-core/icons/iconsV2 */ "../survey-core/build/fesm/icons/iconsV2.mjs");
6561
+ /* harmony import */ var _components_scroll__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./components/scroll */ "./src/components/scroll.tsx");
6554
6562
  var __extends = (undefined && undefined.__extends) || (function () {
6555
6563
  var extendStatics = function (d, b) {
6556
6564
  extendStatics = Object.setPrototypeOf ||
@@ -6591,10 +6599,9 @@ var __assign = (undefined && undefined.__assign) || function () {
6591
6599
 
6592
6600
 
6593
6601
 
6594
-
6595
- (0,survey_core__WEBPACK_IMPORTED_MODULE_1__.addIconsToThemeSet)("v1", survey_core_icons_iconsV1__WEBPACK_IMPORTED_MODULE_12__.icons);
6596
- (0,survey_core__WEBPACK_IMPORTED_MODULE_1__.addIconsToThemeSet)("v2", survey_core_icons_iconsV2__WEBPACK_IMPORTED_MODULE_13__.icons);
6597
- survey_core__WEBPACK_IMPORTED_MODULE_1__.SvgRegistry.registerIcons(survey_core_icons_iconsV2__WEBPACK_IMPORTED_MODULE_13__.icons);
6602
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_1__.addIconsToThemeSet)("v1", survey_core_icons_iconsV1__WEBPACK_IMPORTED_MODULE_11__.icons);
6603
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_1__.addIconsToThemeSet)("v2", survey_core_icons_iconsV2__WEBPACK_IMPORTED_MODULE_12__.icons);
6604
+ survey_core__WEBPACK_IMPORTED_MODULE_1__.SvgRegistry.registerIcons(survey_core_icons_iconsV2__WEBPACK_IMPORTED_MODULE_12__.icons);
6598
6605
  var Survey = /** @class */ (function (_super) {
6599
6606
  __extends(Survey, _super);
6600
6607
  function Survey(props) {
@@ -6673,7 +6680,7 @@ var Survey = /** @class */ (function (_super) {
6673
6680
  renderResult = this.renderSurvey();
6674
6681
  }
6675
6682
  var backgroundImage = !!this.survey.backgroundImage ? react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.rootBackgroundImage, style: this.survey.backgroundImageStyle }) : null;
6676
- var header = this.survey.headerView === "basic" ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_4__.SurveyHeader, { survey: this.survey }) : null;
6683
+ var header = this.survey.headerView === "basic" ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_3__.SurveyHeader, { survey: this.survey }) : null;
6677
6684
  var onSubmit = function (event) {
6678
6685
  event.preventDefault();
6679
6686
  };
@@ -6684,20 +6691,20 @@ var Survey = /** @class */ (function (_super) {
6684
6691
  var rootCss = this.survey.getRootCss();
6685
6692
  var cssClasses = this.rootNodeClassName ? this.rootNodeClassName + " " + rootCss : rootCss;
6686
6693
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.rootNodeId, ref: this.rootRef, className: cssClasses, style: this.survey.themeVariables, lang: this.survey.locale || "en", dir: this.survey.localeDir },
6687
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_scroll__WEBPACK_IMPORTED_MODULE_14__.Scroll, { disabled: this.survey.rootScrollDisabled },
6688
- this.survey.needRenderIcons ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svgbundle__WEBPACK_IMPORTED_MODULE_10__.SvgBundleComponent, null) : null,
6689
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_popup_popup_modal__WEBPACK_IMPORTED_MODULE_11__.PopupModal, null),
6694
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_scroll__WEBPACK_IMPORTED_MODULE_13__.Scroll, { disabled: this.survey.rootScrollDisabled },
6695
+ this.survey.needRenderIcons ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(_svgbundle__WEBPACK_IMPORTED_MODULE_9__.SvgBundleComponent, null) : null,
6696
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_popup_popup_modal__WEBPACK_IMPORTED_MODULE_10__.PopupModal, null),
6690
6697
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.survey.wrapperFormCss },
6691
6698
  backgroundImage,
6692
6699
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("form", { onSubmit: onSubmit },
6693
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_scroll__WEBPACK_IMPORTED_MODULE_14__.Scroll, { disabled: this.survey.formScrollDisabled },
6700
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_scroll__WEBPACK_IMPORTED_MODULE_13__.Scroll, { disabled: this.survey.formScrollDisabled },
6694
6701
  customHeader,
6695
6702
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.container },
6696
6703
  header,
6697
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_9__.ComponentsContainer, { survey: this.survey, container: "header", needRenderWrapper: false }),
6704
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_8__.ComponentsContainer, { survey: this.survey, container: "header", needRenderWrapper: false }),
6698
6705
  renderResult,
6699
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_9__.ComponentsContainer, { survey: this.survey, container: "footer", needRenderWrapper: false })))),
6700
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_notifier__WEBPACK_IMPORTED_MODULE_8__.NotifierComponent, { notifier: this.survey.notifier })))));
6706
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_8__.ComponentsContainer, { survey: this.survey, container: "footer", needRenderWrapper: false })))),
6707
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_notifier__WEBPACK_IMPORTED_MODULE_7__.NotifierComponent, { notifier: this.survey.notifier })))));
6701
6708
  };
6702
6709
  Survey.prototype.renderElement = function () {
6703
6710
  return this.doRender();
@@ -6718,7 +6725,7 @@ var Survey = /** @class */ (function (_super) {
6718
6725
  var htmlValue = { __html: this.survey.processedCompletedHtml };
6719
6726
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
6720
6727
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.completedCss }),
6721
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_9__.ComponentsContainer, { survey: this.survey, container: "completePage", needRenderWrapper: false })));
6728
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_8__.ComponentsContainer, { survey: this.survey, container: "completePage", needRenderWrapper: false })));
6722
6729
  };
6723
6730
  Survey.prototype.renderCompletedBefore = function () {
6724
6731
  var htmlValue = { __html: this.survey.processedCompletedBeforeHtml };
@@ -6740,18 +6747,23 @@ var Survey = /** @class */ (function (_super) {
6740
6747
  style.maxWidth = this.survey.renderedWidth;
6741
6748
  }
6742
6749
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.survey.bodyContainerCss },
6743
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_9__.ComponentsContainer, { survey: this.survey, container: "left" }),
6750
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_8__.ComponentsContainer, { survey: this.survey, container: "left" }),
6744
6751
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: "sv-components-column sv-components-column--expandable" },
6745
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_9__.ComponentsContainer, { survey: this.survey, container: "center" }),
6752
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_8__.ComponentsContainer, { survey: this.survey, container: "center" }),
6746
6753
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: pageId, className: className, style: style },
6747
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_9__.ComponentsContainer, { survey: this.survey, container: "contentTop" }),
6754
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_8__.ComponentsContainer, { survey: this.survey, container: "contentTop" }),
6748
6755
  activePage,
6749
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_9__.ComponentsContainer, { survey: this.survey, container: "contentBottom" }),
6750
- this.survey.showBrandInfo ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_brand_info__WEBPACK_IMPORTED_MODULE_7__.BrandInfo, null) : null)),
6751
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_9__.ComponentsContainer, { survey: this.survey, container: "right" })));
6756
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_8__.ComponentsContainer, { survey: this.survey, container: "contentBottom" }),
6757
+ this.survey.showBrandInfo ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_brand_info__WEBPACK_IMPORTED_MODULE_6__.BrandInfo, null) : null)),
6758
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_components_container__WEBPACK_IMPORTED_MODULE_8__.ComponentsContainer, { survey: this.survey, container: "right" })));
6752
6759
  };
6753
6760
  Survey.prototype.renderPage = function (page) {
6754
- return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_page__WEBPACK_IMPORTED_MODULE_2__.SurveyPage, { survey: this.survey, page: page, css: this.css, creator: this }));
6761
+ return _element_factory__WEBPACK_IMPORTED_MODULE_5__.ReactElementFactory.Instance.createElement(this.survey.pageComponent || "sv-page", {
6762
+ survey: this.survey,
6763
+ page: page,
6764
+ css: this.css,
6765
+ creator: this,
6766
+ });
6755
6767
  };
6756
6768
  Survey.prototype.renderEmptySurvey = function () {
6757
6769
  return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.css.bodyEmpty }, this.survey.emptySurveyText);
@@ -6828,14 +6840,14 @@ var Survey = /** @class */ (function (_super) {
6828
6840
  };
6829
6841
  //ISurveyCreator
6830
6842
  Survey.prototype.createQuestionElement = function (question) {
6831
- return _reactquestion_factory__WEBPACK_IMPORTED_MODULE_5__.ReactQuestionFactory.Instance.createQuestion(question.isDefaultRendering() ? question.getTemplate() : question.getComponentName(), {
6843
+ return _reactquestion_factory__WEBPACK_IMPORTED_MODULE_4__.ReactQuestionFactory.Instance.createQuestion(question.isDefaultRendering() ? question.getTemplate() : question.getComponentName(), {
6832
6844
  question: question,
6833
6845
  isDisplayMode: question.isInputReadOnly,
6834
6846
  creator: this,
6835
6847
  });
6836
6848
  };
6837
6849
  Survey.prototype.renderError = function (key, error, cssClasses, element) {
6838
- return _element_factory__WEBPACK_IMPORTED_MODULE_6__.ReactElementFactory.Instance.createElement(this.survey.questionErrorComponent, { key: key, error: error, cssClasses: cssClasses, element: element });
6850
+ return _element_factory__WEBPACK_IMPORTED_MODULE_5__.ReactElementFactory.Instance.createElement(this.survey.questionErrorComponent, { key: key, error: error, cssClasses: cssClasses, element: element });
6839
6851
  };
6840
6852
  Survey.prototype.questionTitleLocation = function () {
6841
6853
  return this.survey.questionTitleLocation;
@@ -6844,9 +6856,9 @@ var Survey = /** @class */ (function (_super) {
6844
6856
  return this.survey.questionErrorLocation;
6845
6857
  };
6846
6858
  return Survey;
6847
- }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_3__.SurveyElementBase));
6859
+ }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
6848
6860
 
6849
- _element_factory__WEBPACK_IMPORTED_MODULE_6__.ReactElementFactory.Instance.registerElement("survey", function (props) {
6861
+ _element_factory__WEBPACK_IMPORTED_MODULE_5__.ReactElementFactory.Instance.registerElement("survey", function (props) {
6850
6862
  return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Survey, props);
6851
6863
  });
6852
6864
  function attachKey2click(element, viewModel, options) {
@@ -7201,9 +7213,9 @@ var SurveyElementErrors = /** @class */ (function (_super) {
7201
7213
  };
7202
7214
  SurveyElementErrors.prototype.renderElement = function () {
7203
7215
  var errors = [];
7204
- for (var i = 0; i < this.element.errors.length; i++) {
7216
+ for (var i = 0; i < this.element.renderedErrors.length; i++) {
7205
7217
  var key = "error" + i;
7206
- errors.push(this.creator.renderError(key, this.element.errors[i], this.cssClasses, this.element));
7218
+ errors.push(this.creator.renderError(key, this.element.renderedErrors[i], this.cssClasses, this.element));
7207
7219
  }
7208
7220
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.element.cssError, id: this.id }, errors));
7209
7221
  };
@@ -9665,7 +9677,8 @@ var SurveyQuestionMatrixDynamicAddButton = /** @class */ (function (_super) {
9665
9677
  var addRowText = this.renderLocString(this.matrix.locAddRowText);
9666
9678
  var addButton = (react__WEBPACK_IMPORTED_MODULE_0__.createElement("button", { className: this.matrix.getAddRowButtonCss(this.props.isEmptySection), type: "button", disabled: this.matrix.isInputReadOnly, onClick: this.matrix.isDesignMode ? undefined : this.handleOnRowAddClick },
9667
9679
  addRowText,
9668
- react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.props.cssClasses.iconAdd })));
9680
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: this.props.cssClasses.iconAdd }, this.cssClasses.iconAddId && react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", null,
9681
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("use", { xlinkHref: this.cssClasses.iconAddId })))));
9669
9682
  return (this.props.isEmptySection ? addButton : react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.props.cssClasses.footer }, addButton));
9670
9683
  };
9671
9684
  return SurveyQuestionMatrixDynamicAddButton;
@@ -12142,7 +12155,7 @@ __webpack_require__.r(__webpack_exports__);
12142
12155
 
12143
12156
 
12144
12157
 
12145
- (0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.3.7"), "survey-react-ui");
12158
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.3.9"), "survey-react-ui");
12146
12159
 
12147
12160
  })();
12148
12161