survey-react-ui 2.1.0 → 2.2.0

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.1.0",
3
+ "version": "2.2.0",
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",
@@ -14,6 +14,10 @@
14
14
  "files": [
15
15
  "**/*"
16
16
  ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/surveyjs/surveyjs.git"
20
+ },
17
21
  "main": "survey-react-ui.js",
18
22
  "module": "fesm/survey-react-ui.mjs",
19
23
  "typings": "./typings/entries/index.d.ts",
@@ -25,7 +29,7 @@
25
29
  }
26
30
  },
27
31
  "peerDependencies": {
28
- "survey-core": "2.1.0",
32
+ "survey-core": "2.2.0",
29
33
  "react": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0",
30
34
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0 || ^19.0.0"
31
35
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.1.0
2
+ * surveyjs - Survey JavaScript library v2.2.0
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -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.1.0
31
+ * surveyjs - Survey JavaScript library v2.2.0
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.1.0
117
+ * surveyjs - Survey JavaScript library v2.2.0
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
  */
@@ -197,20 +197,20 @@ var iconsV2 = {
197
197
 
198
198
  __webpack_require__.r(__webpack_exports__);
199
199
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
200
- /* harmony export */ CharacterCounterComponent: () => (/* reexport safe */ _src_components_character_counter__WEBPACK_IMPORTED_MODULE_81__.CharacterCounterComponent),
201
- /* harmony export */ ComponentsContainer: () => (/* reexport safe */ _src_components_components_container__WEBPACK_IMPORTED_MODULE_80__.ComponentsContainer),
202
- /* harmony export */ Header: () => (/* reexport safe */ _src_components_header__WEBPACK_IMPORTED_MODULE_82__.Header),
203
- /* harmony export */ HeaderCell: () => (/* reexport safe */ _src_components_header__WEBPACK_IMPORTED_MODULE_82__.HeaderCell),
204
- /* harmony export */ HeaderMobile: () => (/* reexport safe */ _src_components_header__WEBPACK_IMPORTED_MODULE_82__.HeaderMobile),
200
+ /* harmony export */ CharacterCounterComponent: () => (/* reexport safe */ _src_components_character_counter__WEBPACK_IMPORTED_MODULE_82__.CharacterCounterComponent),
201
+ /* harmony export */ ComponentsContainer: () => (/* reexport safe */ _src_components_components_container__WEBPACK_IMPORTED_MODULE_81__.ComponentsContainer),
202
+ /* harmony export */ Header: () => (/* reexport safe */ _src_components_header__WEBPACK_IMPORTED_MODULE_83__.Header),
203
+ /* harmony export */ HeaderCell: () => (/* reexport safe */ _src_components_header__WEBPACK_IMPORTED_MODULE_83__.HeaderCell),
204
+ /* harmony export */ HeaderMobile: () => (/* reexport safe */ _src_components_header__WEBPACK_IMPORTED_MODULE_83__.HeaderMobile),
205
205
  /* harmony export */ List: () => (/* reexport safe */ _src_components_list_list__WEBPACK_IMPORTED_MODULE_59__.List),
206
206
  /* harmony export */ ListItemContent: () => (/* reexport safe */ _src_components_list_list_item_content__WEBPACK_IMPORTED_MODULE_57__.ListItemContent),
207
207
  /* harmony export */ ListItemGroup: () => (/* reexport safe */ _src_components_list_list_item_group__WEBPACK_IMPORTED_MODULE_58__.ListItemGroup),
208
- /* harmony export */ LoadingIndicatorComponent: () => (/* reexport safe */ _src_components_loading_indicator__WEBPACK_IMPORTED_MODULE_85__.LoadingIndicatorComponent),
208
+ /* harmony export */ LoadingIndicatorComponent: () => (/* reexport safe */ _src_components_loading_indicator__WEBPACK_IMPORTED_MODULE_86__.LoadingIndicatorComponent),
209
209
  /* harmony export */ LogoImage: () => (/* reexport safe */ _src_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_63__.LogoImage),
210
- /* harmony export */ MatrixRow: () => (/* reexport safe */ _src_components_matrix_row__WEBPACK_IMPORTED_MODULE_76__.MatrixRow),
211
- /* harmony export */ NotifierComponent: () => (/* reexport safe */ _src_components_notifier__WEBPACK_IMPORTED_MODULE_79__.NotifierComponent),
210
+ /* harmony export */ MatrixRow: () => (/* reexport safe */ _src_components_matrix_row__WEBPACK_IMPORTED_MODULE_77__.MatrixRow),
211
+ /* harmony export */ NotifierComponent: () => (/* reexport safe */ _src_components_notifier__WEBPACK_IMPORTED_MODULE_80__.NotifierComponent),
212
212
  /* harmony export */ Popup: () => (/* reexport safe */ _src_components_popup_popup__WEBPACK_IMPORTED_MODULE_56__.Popup),
213
- /* harmony export */ PopupModal: () => (/* reexport safe */ _src_components_popup_popup_modal__WEBPACK_IMPORTED_MODULE_87__.PopupModal),
213
+ /* harmony export */ PopupModal: () => (/* reexport safe */ _src_components_popup_popup_modal__WEBPACK_IMPORTED_MODULE_88__.PopupModal),
214
214
  /* harmony export */ PopupSurvey: () => (/* reexport safe */ _src_react_popup_survey__WEBPACK_IMPORTED_MODULE_47__.PopupSurvey),
215
215
  /* harmony export */ QuestionErrorComponent: () => (/* reexport safe */ _src_components_question_error__WEBPACK_IMPORTED_MODULE_75__.QuestionErrorComponent),
216
216
  /* harmony export */ RatingDropdownItem: () => (/* reexport safe */ _src_components_rating_rating_dropdown_item__WEBPACK_IMPORTED_MODULE_16__.RatingDropdownItem),
@@ -221,8 +221,9 @@ __webpack_require__.r(__webpack_exports__);
221
221
  /* harmony export */ ReactQuestionFactory: () => (/* reexport safe */ _src_reactquestion_factory__WEBPACK_IMPORTED_MODULE_48__.ReactQuestionFactory),
222
222
  /* harmony export */ ReactSurveyElement: () => (/* reexport safe */ _src_reactquestion_element__WEBPACK_IMPORTED_MODULE_9__.ReactSurveyElement),
223
223
  /* harmony export */ ReactSurveyElementsWrapper: () => (/* reexport safe */ _src_reactsurveymodel__WEBPACK_IMPORTED_MODULE_1__.ReactSurveyElementsWrapper),
224
- /* harmony export */ Scroll: () => (/* reexport safe */ _src_components_scroll__WEBPACK_IMPORTED_MODULE_78__.Scroll),
225
- /* harmony export */ Skeleton: () => (/* reexport safe */ _src_components_skeleton__WEBPACK_IMPORTED_MODULE_77__.Skeleton),
224
+ /* harmony export */ Scroll: () => (/* reexport safe */ _src_components_scroll__WEBPACK_IMPORTED_MODULE_79__.Scroll),
225
+ /* harmony export */ Skeleton: () => (/* reexport safe */ _src_components_skeleton__WEBPACK_IMPORTED_MODULE_78__.Skeleton),
226
+ /* harmony export */ SliderLabelItem: () => (/* reexport safe */ _src_components_slider_slider_label_item__WEBPACK_IMPORTED_MODULE_76__.SliderLabelItem),
226
227
  /* harmony export */ Survey: () => (/* reexport safe */ _src_reactSurvey__WEBPACK_IMPORTED_MODULE_0__.Survey),
227
228
  /* harmony export */ SurveyActionBar: () => (/* reexport safe */ _src_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_62__.SurveyActionBar),
228
229
  /* harmony export */ SurveyElementBase: () => (/* reexport safe */ _src_reactquestion_element__WEBPACK_IMPORTED_MODULE_9__.SurveyElementBase),
@@ -231,8 +232,8 @@ __webpack_require__.r(__webpack_exports__);
231
232
  /* harmony export */ SurveyFilePreview: () => (/* reexport safe */ _src_components_file_file_preview__WEBPACK_IMPORTED_MODULE_28__.SurveyFilePreview),
232
233
  /* harmony export */ SurveyFlowPanel: () => (/* reexport safe */ _src_flow_panel__WEBPACK_IMPORTED_MODULE_7__.SurveyFlowPanel),
233
234
  /* harmony export */ SurveyHeader: () => (/* reexport safe */ _src_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_64__.SurveyHeader),
234
- /* harmony export */ SurveyLocStringEditor: () => (/* reexport safe */ _src_string_editor__WEBPACK_IMPORTED_MODULE_84__.SurveyLocStringEditor),
235
- /* harmony export */ SurveyLocStringViewer: () => (/* reexport safe */ _src_string_viewer__WEBPACK_IMPORTED_MODULE_83__.SurveyLocStringViewer),
235
+ /* harmony export */ SurveyLocStringEditor: () => (/* reexport safe */ _src_string_editor__WEBPACK_IMPORTED_MODULE_85__.SurveyLocStringEditor),
236
+ /* harmony export */ SurveyLocStringViewer: () => (/* reexport safe */ _src_string_viewer__WEBPACK_IMPORTED_MODULE_84__.SurveyLocStringViewer),
236
237
  /* harmony export */ SurveyNavigationBase: () => (/* reexport safe */ _src_reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__.SurveyNavigationBase),
237
238
  /* harmony export */ SurveyNavigationButton: () => (/* reexport safe */ _src_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_74__.SurveyNavigationButton),
238
239
  /* harmony export */ SurveyPage: () => (/* reexport safe */ _src_page__WEBPACK_IMPORTED_MODULE_4__.SurveyPage),
@@ -297,7 +298,7 @@ __webpack_require__.r(__webpack_exports__);
297
298
  /* harmony export */ SurveyRow: () => (/* reexport safe */ _src_row__WEBPACK_IMPORTED_MODULE_5__.SurveyRow),
298
299
  /* harmony export */ SurveyTimerPanel: () => (/* reexport safe */ _src_reacttimerpanel__WEBPACK_IMPORTED_MODULE_3__.SurveyTimerPanel),
299
300
  /* harmony export */ SurveyWindow: () => (/* reexport safe */ _src_react_popup_survey__WEBPACK_IMPORTED_MODULE_47__.SurveyWindow),
300
- /* harmony export */ SvgBundleComponent: () => (/* reexport safe */ _src_svgbundle__WEBPACK_IMPORTED_MODULE_86__.SvgBundleComponent),
301
+ /* harmony export */ SvgBundleComponent: () => (/* reexport safe */ _src_svgbundle__WEBPACK_IMPORTED_MODULE_87__.SvgBundleComponent),
301
302
  /* harmony export */ SvgIcon: () => (/* reexport safe */ _src_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_65__.SvgIcon),
302
303
  /* harmony export */ TagboxFilterString: () => (/* reexport safe */ _src_tagbox_filter__WEBPACK_IMPORTED_MODULE_17__.TagboxFilterString),
303
304
  /* harmony export */ TitleActions: () => (/* reexport safe */ _src_components_title_title_actions__WEBPACK_IMPORTED_MODULE_60__.TitleActions),
@@ -380,18 +381,19 @@ __webpack_require__.r(__webpack_exports__);
380
381
  /* harmony import */ var _src_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../src/components/paneldynamic-actions/paneldynamic-progress-text */ "./src/components/paneldynamic-actions/paneldynamic-progress-text.tsx");
381
382
  /* harmony import */ var _src_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../src/components/survey-actions/survey-nav-button */ "./src/components/survey-actions/survey-nav-button.tsx");
382
383
  /* harmony import */ var _src_components_question_error__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../src/components/question-error */ "./src/components/question-error.tsx");
383
- /* harmony import */ var _src_components_matrix_row__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../src/components/matrix/row */ "./src/components/matrix/row.tsx");
384
- /* harmony import */ var _src_components_skeleton__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../src/components/skeleton */ "./src/components/skeleton.tsx");
385
- /* harmony import */ var _src_components_scroll__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../src/components/scroll */ "./src/components/scroll.tsx");
386
- /* harmony import */ var _src_components_notifier__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../src/components/notifier */ "./src/components/notifier.tsx");
387
- /* harmony import */ var _src_components_components_container__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../src/components/components-container */ "./src/components/components-container.tsx");
388
- /* harmony import */ var _src_components_character_counter__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../src/components/character-counter */ "./src/components/character-counter.tsx");
389
- /* harmony import */ var _src_components_header__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ../src/components/header */ "./src/components/header.tsx");
390
- /* harmony import */ var _src_string_viewer__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ../src/string-viewer */ "./src/string-viewer.tsx");
391
- /* harmony import */ var _src_string_editor__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../src/string-editor */ "./src/string-editor.tsx");
392
- /* harmony import */ var _src_components_loading_indicator__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ../src/components/loading-indicator */ "./src/components/loading-indicator.tsx");
393
- /* harmony import */ var _src_svgbundle__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ../src/svgbundle */ "./src/svgbundle.tsx");
394
- /* harmony import */ var _src_components_popup_popup_modal__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ../src/components/popup/popup-modal */ "./src/components/popup/popup-modal.tsx");
384
+ /* harmony import */ var _src_components_slider_slider_label_item__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../src/components/slider/slider-label-item */ "./src/components/slider/slider-label-item.tsx");
385
+ /* harmony import */ var _src_components_matrix_row__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../src/components/matrix/row */ "./src/components/matrix/row.tsx");
386
+ /* harmony import */ var _src_components_skeleton__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../src/components/skeleton */ "./src/components/skeleton.tsx");
387
+ /* harmony import */ var _src_components_scroll__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../src/components/scroll */ "./src/components/scroll.tsx");
388
+ /* harmony import */ var _src_components_notifier__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../src/components/notifier */ "./src/components/notifier.tsx");
389
+ /* harmony import */ var _src_components_components_container__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../src/components/components-container */ "./src/components/components-container.tsx");
390
+ /* harmony import */ var _src_components_character_counter__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ../src/components/character-counter */ "./src/components/character-counter.tsx");
391
+ /* harmony import */ var _src_components_header__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ../src/components/header */ "./src/components/header.tsx");
392
+ /* harmony import */ var _src_string_viewer__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../src/string-viewer */ "./src/string-viewer.tsx");
393
+ /* harmony import */ var _src_string_editor__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ../src/string-editor */ "./src/string-editor.tsx");
394
+ /* harmony import */ var _src_components_loading_indicator__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ../src/components/loading-indicator */ "./src/components/loading-indicator.tsx");
395
+ /* harmony import */ var _src_svgbundle__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ../src/svgbundle */ "./src/svgbundle.tsx");
396
+ /* harmony import */ var _src_components_popup_popup_modal__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ../src/components/popup/popup-modal */ "./src/components/popup/popup-modal.tsx");
395
397
  // react
396
398
 
397
399
 
@@ -479,6 +481,7 @@ __webpack_require__.r(__webpack_exports__);
479
481
 
480
482
 
481
483
 
484
+
482
485
 
483
486
 
484
487
  //Uncomment to include the "date" question type.
@@ -3781,6 +3784,80 @@ _element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.regis
3781
3784
  });
3782
3785
 
3783
3786
 
3787
+ /***/ }),
3788
+
3789
+ /***/ "./src/components/slider/slider-label-item.tsx":
3790
+ /*!*****************************************************!*\
3791
+ !*** ./src/components/slider/slider-label-item.tsx ***!
3792
+ \*****************************************************/
3793
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3794
+
3795
+ __webpack_require__.r(__webpack_exports__);
3796
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3797
+ /* harmony export */ SliderLabelItem: () => (/* binding */ SliderLabelItem)
3798
+ /* harmony export */ });
3799
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
3800
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
3801
+ /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../element-factory */ "./src/element-factory.tsx");
3802
+ /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../reactquestion_element */ "./src/reactquestion_element.tsx");
3803
+ var __extends = (undefined && undefined.__extends) || (function () {
3804
+ var extendStatics = function (d, b) {
3805
+ extendStatics = Object.setPrototypeOf ||
3806
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
3807
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
3808
+ return extendStatics(d, b);
3809
+ };
3810
+ return function (d, b) {
3811
+ if (typeof b !== "function" && b !== null)
3812
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
3813
+ extendStatics(d, b);
3814
+ function __() { this.constructor = d; }
3815
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
3816
+ };
3817
+ })();
3818
+
3819
+
3820
+
3821
+ var SliderLabelItem = /** @class */ (function (_super) {
3822
+ __extends(SliderLabelItem, _super);
3823
+ function SliderLabelItem() {
3824
+ return _super !== null && _super.apply(this, arguments) || this;
3825
+ }
3826
+ SliderLabelItem.prototype.getStateElement = function () {
3827
+ return this.item;
3828
+ };
3829
+ Object.defineProperty(SliderLabelItem.prototype, "item", {
3830
+ get: function () {
3831
+ return this.props.item;
3832
+ },
3833
+ enumerable: false,
3834
+ configurable: true
3835
+ });
3836
+ Object.defineProperty(SliderLabelItem.prototype, "question", {
3837
+ get: function () {
3838
+ return this.props.question;
3839
+ },
3840
+ enumerable: false,
3841
+ configurable: true
3842
+ });
3843
+ SliderLabelItem.prototype.componentDidUpdate = function (prevProps, prevState) {
3844
+ _super.prototype.componentDidUpdate.call(this, prevProps, prevState);
3845
+ };
3846
+ SliderLabelItem.prototype.renderElement = function () {
3847
+ var _a = this.question, cssClasses = _a.cssClasses, handleLabelPointerUp = _a.handleLabelPointerUp, getLabelCss = _a.getLabelCss, getPercent = _a.getPercent;
3848
+ var _b = this.item, value = _b.value, locText = _b.locText;
3849
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { key: this.item.id, className: getLabelCss(locText), style: { left: getPercent(value) + "%" }, onPointerUp: function (e) { handleLabelPointerUp(e.nativeEvent, value); } },
3850
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.labelTick }),
3851
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.labelText }, this.renderLocString(locText)));
3852
+ };
3853
+ return SliderLabelItem;
3854
+ }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
3855
+
3856
+ _element_factory__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("sv-slider-label-item", function (props) {
3857
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement(SliderLabelItem, props);
3858
+ });
3859
+
3860
+
3784
3861
  /***/ }),
3785
3862
 
3786
3863
  /***/ "./src/components/survey-actions/survey-nav-button.tsx":
@@ -4503,10 +4580,10 @@ __webpack_require__.r(__webpack_exports__);
4503
4580
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
4504
4581
  /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
4505
4582
  /* harmony import */ var _components_popup_popup__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/popup/popup */ "./src/components/popup/popup.tsx");
4506
- /* harmony import */ var _components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/svg-icon/svg-icon */ "./src/components/svg-icon/svg-icon.tsx");
4507
- /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./element-factory */ "./src/element-factory.tsx");
4508
- /* harmony import */ var _reactquestion_comment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./reactquestion_comment */ "./src/reactquestion_comment.tsx");
4509
- /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./reactquestion_element */ "./src/reactquestion_element.tsx");
4583
+ /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./element-factory */ "./src/element-factory.tsx");
4584
+ /* harmony import */ var _reactquestion_comment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reactquestion_comment */ "./src/reactquestion_comment.tsx");
4585
+ /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./reactquestion_element */ "./src/reactquestion_element.tsx");
4586
+ /* harmony import */ var _components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/action-bar/action-bar */ "./src/components/action-bar/action-bar.tsx");
4510
4587
  var __extends = (undefined && undefined.__extends) || (function () {
4511
4588
  var extendStatics = function (d, b) {
4512
4589
  extendStatics = Object.setPrototypeOf ||
@@ -4558,6 +4635,13 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
4558
4635
  };
4559
4636
  return _this;
4560
4637
  }
4638
+ Object.defineProperty(SurveyQuestionDropdownBase.prototype, "dropdownListModel", {
4639
+ get: function () {
4640
+ return this.question["dropdownListModel"];
4641
+ },
4642
+ enumerable: false,
4643
+ configurable: true
4644
+ });
4561
4645
  SurveyQuestionDropdownBase.prototype.getStateElement = function () {
4562
4646
  return this.question["dropdownListModel"];
4563
4647
  };
@@ -4569,7 +4653,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
4569
4653
  };
4570
4654
  SurveyQuestionDropdownBase.prototype.renderReadOnlyElement = function () {
4571
4655
  if (this.question.locReadOnlyText) {
4572
- return this.renderLocString(this.question.locReadOnlyText);
4656
+ return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.controlValue }, this.renderLocString(this.question.locReadOnlyText)));
4573
4657
  }
4574
4658
  else {
4575
4659
  return null;
@@ -4578,33 +4662,34 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
4578
4662
  SurveyQuestionDropdownBase.prototype.renderSelect = function (cssClasses) {
4579
4663
  var _this = this;
4580
4664
  var selectElement = null;
4581
- var dropdownListModel = this.question.dropdownListModel;
4665
+ var dropdownListModel = this.dropdownListModel;
4582
4666
  if (this.question.isReadOnly) {
4583
4667
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4584
4668
  // @ts-ignore
4585
- selectElement = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, role: dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionRole, "aria-label": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionLabel, "aria-labelledby": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionLabelledby, "aria-describedby": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionDescribedby, "aria-expanded": "false", "aria-readonly": "true", "aria-disabled": "true", tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass(), ref: function (div) { return (_this.setControl(div)); } }, this.renderReadOnlyElement());
4669
+ selectElement = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, role: dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionRole, "aria-label": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionLabel, "aria-labelledby": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionLabelledby, "aria-describedby": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionDescribedby, "aria-expanded": "false", "aria-readonly": "true", "aria-disabled": "true", tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass(), ref: function (div) { return (_this.setControl(div)); } },
4670
+ this.renderReadOnlyElement(),
4671
+ this.renderEditorButtons());
4586
4672
  }
4587
4673
  else {
4588
4674
  selectElement = react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
4589
- this.renderInput(dropdownListModel),
4675
+ this.renderInput(),
4590
4676
  react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_popup_popup__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: dropdownListModel.popupModel }));
4591
4677
  }
4592
- return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.selectWrapper, onClick: this.click },
4593
- selectElement,
4594
- this.createChevronButton()));
4678
+ return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.selectWrapper, onClick: this.click }, selectElement));
4595
4679
  };
4596
- SurveyQuestionDropdownBase.prototype.renderValueElement = function (dropdownListModel) {
4680
+ SurveyQuestionDropdownBase.prototype.renderValueElement = function () {
4597
4681
  if (this.question.showInputFieldComponent) {
4598
- return _element_factory__WEBPACK_IMPORTED_MODULE_4__.ReactElementFactory.Instance.createElement(this.question.inputFieldComponentName, { item: dropdownListModel.getSelectedAction(), question: this.question });
4682
+ return _element_factory__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.createElement(this.question.inputFieldComponentName, { item: this.dropdownListModel.getSelectedAction(), question: this.question });
4599
4683
  }
4600
4684
  else if (this.question.showSelectedItemLocText) {
4601
4685
  return this.renderLocString(this.question.selectedItemLocText);
4602
4686
  }
4603
4687
  return null;
4604
4688
  };
4605
- SurveyQuestionDropdownBase.prototype.renderInput = function (dropdownListModel) {
4689
+ SurveyQuestionDropdownBase.prototype.renderInput = function () {
4606
4690
  var _this = this;
4607
- var valueElement = this.renderValueElement(dropdownListModel);
4691
+ var dropdownListModel = this.dropdownListModel;
4692
+ var valueElement = this.renderValueElement();
4608
4693
  var root = survey_core__WEBPACK_IMPORTED_MODULE_1__.settings.environment.root;
4609
4694
  var onInputChange = function (e) {
4610
4695
  if (e.target === root.activeElement) {
@@ -4625,24 +4710,14 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
4625
4710
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, dropdownListModel.hintStringSuffix))) : null,
4626
4711
  valueElement,
4627
4712
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.ariaInputRole, "aria-required": dropdownListModel.ariaInputRequired, "aria-invalid": dropdownListModel.ariaInputInvalid, "aria-errormessage": dropdownListModel.ariaInputErrorMessage, "aria-expanded": dropdownListModel.ariaInputExpanded, "aria-label": dropdownListModel.ariaInputLabel, "aria-labelledby": dropdownListModel.ariaInputLabelledby, "aria-describedby": dropdownListModel.ariaInputDescribedby, "aria-controls": dropdownListModel.ariaInputControls, "aria-activedescendant": dropdownListModel.ariaInputActivedescendant, placeholder: dropdownListModel.placeholderRendered, readOnly: dropdownListModel.filterReadOnly ? true : undefined, tabIndex: dropdownListModel.noTabIndex ? undefined : -1, disabled: this.question.isDisabledAttr, inputMode: dropdownListModel.inputMode, onChange: function (e) { onInputChange(e); }, onBlur: this.blur, onFocus: this.focus })),
4628
- this.createClearButton()));
4629
- };
4630
- SurveyQuestionDropdownBase.prototype.createClearButton = function () {
4631
- if (!this.question.allowClear || !this.question.cssClasses.cleanButtonIconId)
4632
- return null;
4633
- var style = { display: !this.question.showClearButton ? "none" : "" };
4634
- return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.cleanButton, style: style, onClick: this.clear, "aria-hidden": "true" },
4635
- 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" })));
4636
- };
4637
- SurveyQuestionDropdownBase.prototype.createChevronButton = function () {
4638
- if (!this.question.cssClasses.chevronButtonIconId)
4639
- return null;
4640
- return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.chevronButton, "aria-hidden": "true", onPointerDown: this.chevronPointerDown },
4641
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { className: this.question.cssClasses.chevronButtonSvg, iconName: this.question.cssClasses.chevronButtonIconId, size: "auto" })));
4713
+ this.renderEditorButtons()));
4642
4714
  };
4643
4715
  SurveyQuestionDropdownBase.prototype.renderOther = function (cssClasses) {
4644
4716
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.getCommentAreaCss(true) },
4645
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_reactquestion_comment__WEBPACK_IMPORTED_MODULE_5__.SurveyQuestionOtherValueItem, { question: this.question, otherCss: cssClasses.other, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode, isOther: true })));
4717
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_reactquestion_comment__WEBPACK_IMPORTED_MODULE_4__.SurveyQuestionOtherValueItem, { question: this.question, otherCss: cssClasses.other, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode, isOther: true })));
4718
+ };
4719
+ SurveyQuestionDropdownBase.prototype.renderEditorButtons = function () {
4720
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_6__.SurveyActionBar, { model: this.dropdownListModel.editorButtons });
4646
4721
  };
4647
4722
  SurveyQuestionDropdownBase.prototype.componentDidUpdate = function (prevProps, prevState) {
4648
4723
  _super.prototype.componentDidUpdate.call(this, prevProps, prevState);
@@ -4667,7 +4742,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
4667
4742
  }
4668
4743
  };
4669
4744
  return SurveyQuestionDropdownBase;
4670
- }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_6__.SurveyQuestionUncontrolledElement));
4745
+ }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_5__.SurveyQuestionUncontrolledElement));
4671
4746
 
4672
4747
 
4673
4748
 
@@ -4773,6 +4848,7 @@ __webpack_require__.r(__webpack_exports__);
4773
4848
  /* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactquestion_factory */ "./src/reactquestion_factory.tsx");
4774
4849
  /* harmony import */ var _reactquestion_dropdown__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reactquestion_dropdown */ "./src/reactquestion_dropdown.tsx");
4775
4850
  /* harmony import */ var _dropdown_item__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./dropdown-item */ "./src/dropdown-item.tsx");
4851
+ /* harmony import */ var _components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/svg-icon/svg-icon */ "./src/components/svg-icon/svg-icon.tsx");
4776
4852
  var __extends = (undefined && undefined.__extends) || (function () {
4777
4853
  var extendStatics = function (d, b) {
4778
4854
  extendStatics = Object.setPrototypeOf ||
@@ -4793,6 +4869,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
4793
4869
 
4794
4870
 
4795
4871
 
4872
+
4796
4873
  var SurveyQuestionDropdownSelect = /** @class */ (function (_super) {
4797
4874
  __extends(SurveyQuestionDropdownSelect, _super);
4798
4875
  function SurveyQuestionDropdownSelect(props) {
@@ -4817,6 +4894,12 @@ var SurveyQuestionDropdownSelect = /** @class */ (function (_super) {
4817
4894
  selectElement,
4818
4895
  this.createChevronButton()));
4819
4896
  };
4897
+ SurveyQuestionDropdownSelect.prototype.createChevronButton = function () {
4898
+ if (!this.question.cssClasses.chevronButtonIconId)
4899
+ return null;
4900
+ return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.chevronButton, "aria-hidden": "true", onPointerDown: this.chevronPointerDown },
4901
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_5__.SvgIcon, { className: this.question.cssClasses.chevronButtonSvg, iconName: this.question.cssClasses.chevronButtonIconId, size: "auto" })));
4902
+ };
4820
4903
  return SurveyQuestionDropdownSelect;
4821
4904
  }(_reactquestion_dropdown__WEBPACK_IMPORTED_MODULE_3__.SurveyQuestionDropdown));
4822
4905
 
@@ -8938,7 +9021,7 @@ var SurveyQuestionMatrixCell = /** @class */ (function (_super) {
8938
9021
  mobileSpan));
8939
9022
  };
8940
9023
  SurveyQuestionMatrixCell.prototype.renderInput = function (inputId, isChecked) {
8941
- return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { id: inputId, type: "radio", className: this.cssClasses.itemValue, name: this.row.fullName, value: this.column.value, disabled: this.row.isDisabledAttr, readOnly: this.row.isReadOnlyAttr, checked: isChecked, onChange: this.handleOnChange, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.getCellAriaLabel(this.row.locText.renderedHtml, this.column.locText.renderedHtml), "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage }));
9024
+ return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { id: inputId, type: "radio", className: this.cssClasses.itemValue, name: this.row.fullName, value: this.column.value, disabled: this.row.isDisabledAttr, readOnly: this.row.isReadOnlyAttr, checked: isChecked, onChange: this.handleOnChange, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.getCellAriaLabel(this.row, this.column), "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage }));
8942
9025
  };
8943
9026
  return SurveyQuestionMatrixCell;
8944
9027
  }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__.ReactSurveyElement));
@@ -9438,7 +9521,7 @@ var SurveyQuestionMatrixDropdownCell = /** @class */ (function (_super) {
9438
9521
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_4__.SurveyQuestionRadioItem, { key: key, question: this.cell.question, cssClasses: this.cell.question.cssClasses, isDisplayMode: this.cell.question.isInputReadOnly, item: this.cell.item, index: this.cell.choiceIndex.toString(), isChecked: this.cell.question.value === this.cell.item.value, isDisabled: this.cell.question.isReadOnly || !this.cell.item.isEnabled, hideCaption: true, ariaLabel: this.getCellAriaLabel() }));
9439
9522
  };
9440
9523
  SurveyQuestionMatrixDropdownCell.prototype.getCellAriaLabel = function () {
9441
- return this.question.parentQuestion.getCellAriaLabel(this.cell.row.locText.renderedHtml, this.cell.column.locTitle.renderedHtml);
9524
+ return this.question.parentQuestion.getCellAriaLabel(this.cell.row, this.cell.column);
9442
9525
  };
9443
9526
  return SurveyQuestionMatrixDropdownCell;
9444
9527
  }(_reactquestion__WEBPACK_IMPORTED_MODULE_2__.SurveyQuestionAndErrorsCell));
@@ -10671,6 +10754,7 @@ __webpack_require__.r(__webpack_exports__);
10671
10754
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
10672
10755
  /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactquestion_element */ "./src/reactquestion_element.tsx");
10673
10756
  /* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactquestion_factory */ "./src/reactquestion_factory.tsx");
10757
+ /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./element-factory */ "./src/element-factory.tsx");
10674
10758
  var __extends = (undefined && undefined.__extends) || (function () {
10675
10759
  var extendStatics = function (d, b) {
10676
10760
  extendStatics = Object.setPrototypeOf ||
@@ -10689,6 +10773,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
10689
10773
 
10690
10774
 
10691
10775
 
10776
+
10692
10777
  var SurveyQuestionSlider = /** @class */ (function (_super) {
10693
10778
  __extends(SurveyQuestionSlider, _super);
10694
10779
  function SurveyQuestionSlider(props) {
@@ -10728,7 +10813,7 @@ var SurveyQuestionSlider = /** @class */ (function (_super) {
10728
10813
  };
10729
10814
  SurveyQuestionSlider.prototype.getInputsAndThumbs = function () {
10730
10815
  var inputsAndThumbs = [];
10731
- var value = this.question.getRenderedValue();
10816
+ var value = this.question.renderedValue;
10732
10817
  for (var i = 0; i < value.length; i++) {
10733
10818
  var thumbAndInput = react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, { key: i },
10734
10819
  this.getInput(i),
@@ -10738,8 +10823,8 @@ var SurveyQuestionSlider = /** @class */ (function (_super) {
10738
10823
  return inputsAndThumbs;
10739
10824
  };
10740
10825
  SurveyQuestionSlider.prototype.getThumb = function (i) {
10741
- var _a = this.question, cssClasses = _a.cssClasses, getThumbContainerCss = _a.getThumbContainerCss, tooltipVisibility = _a.tooltipVisibility, tooltipCss = _a.tooltipCss, getPercent = _a.getPercent, getRenderedValue = _a.getRenderedValue, getTooltipValue = _a.getTooltipValue;
10742
- var value = getRenderedValue()[i];
10826
+ var _a = this.question, cssClasses = _a.cssClasses, getThumbContainerCss = _a.getThumbContainerCss, tooltipVisibility = _a.tooltipVisibility, tooltipCss = _a.tooltipCss, getPercent = _a.getPercent, renderedValue = _a.renderedValue, getTooltipValue = _a.getTooltipValue;
10827
+ var value = renderedValue[i];
10743
10828
  var tooltip = null;
10744
10829
  if (tooltipVisibility !== "never") {
10745
10830
  tooltip = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: tooltipCss },
@@ -10753,8 +10838,8 @@ var SurveyQuestionSlider = /** @class */ (function (_super) {
10753
10838
  return thumb;
10754
10839
  };
10755
10840
  SurveyQuestionSlider.prototype.getInput = function (i) {
10756
- var _a = this.question, max = _a.renderedMax, min = _a.renderedMin, step = _a.step, cssClasses = _a.cssClasses, isDisabledAttr = _a.isDisabledAttr, getRenderedValue = _a.getRenderedValue, handleOnChange = _a.handleOnChange, handlePointerDown = _a.handlePointerDown, handlePointerUp = _a.handlePointerUp, handleKeyDown = _a.handleKeyDown, handleKeyUp = _a.handleKeyUp, handleOnFocus = _a.handleOnFocus, handleOnBlur = _a.handleOnBlur;
10757
- var value = getRenderedValue()[i];
10841
+ var _a = this.question, max = _a.renderedMax, min = _a.renderedMin, step = _a.step, cssClasses = _a.cssClasses, isDisabledAttr = _a.isDisabledAttr, renderedValue = _a.renderedValue, handleOnChange = _a.handleOnChange, handlePointerDown = _a.handlePointerDown, handlePointerUp = _a.handlePointerUp, handleKeyDown = _a.handleKeyDown, handleKeyUp = _a.handleKeyUp, handleOnFocus = _a.handleOnFocus, handleOnBlur = _a.handleOnBlur;
10842
+ var value = renderedValue[i];
10758
10843
  var input = react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { className: cssClasses.input, id: "sjs-slider-input-" + i, type: "range", min: min, max: max, step: step, value: value, onChange: function (e) { handleOnChange(e.nativeEvent, i); }, onPointerDown: function (e) { handlePointerDown(e.nativeEvent); }, onPointerUp: function (e) { e.stopPropagation(); handlePointerUp(e.nativeEvent); }, onKeyDown: function (e) { handleKeyDown(e.nativeEvent); }, onKeyUp: function (e) { handleKeyUp(e.nativeEvent); }, onFocus: function () { handleOnFocus(i); }, onBlur: function () { handleOnBlur(); }, disabled: isDisabledAttr, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage });
10759
10844
  return input;
10760
10845
  };
@@ -10765,18 +10850,10 @@ var SurveyQuestionSlider = /** @class */ (function (_super) {
10765
10850
  };
10766
10851
  SurveyQuestionSlider.prototype.getLabels = function () {
10767
10852
  var labels = [];
10768
- var _a = this.question, renderedLabels = _a.renderedLabels, cssClasses = _a.cssClasses, handleLabelPointerUp = _a.handleLabelPointerUp, getLabelCss = _a.getLabelCss;
10769
- var _loop_1 = function (i) {
10770
- var value = renderedLabels[i].value;
10771
- var text = renderedLabels[i].locText;
10772
- var label = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { key: i, className: getLabelCss(i), style: { left: value + "%" }, onPointerUp: function (e) { handleLabelPointerUp(e.nativeEvent, i); } },
10773
- react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.labelTick }),
10774
- react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.labelText }, this_1.renderLocString(text)));
10775
- labels.push(label);
10776
- };
10777
- var this_1 = this;
10853
+ var _a = this.question, renderedLabels = _a.renderedLabels, cssClasses = _a.cssClasses;
10778
10854
  for (var i = 0; i < renderedLabels.length; i++) {
10779
- _loop_1(i);
10855
+ var label = _element_factory__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.createElement("sv-slider-label-item", { item: renderedLabels[i], question: this.question, key: renderedLabels[i].id });
10856
+ labels.push(label);
10780
10857
  }
10781
10858
  return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.labelsContainer },
10782
10859
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null, labels));
@@ -10836,9 +10913,9 @@ var SurveyQuestionTagbox = /** @class */ (function (_super) {
10836
10913
  var renderedItem = (react__WEBPACK_IMPORTED_MODULE_0__.createElement(_tagbox_item__WEBPACK_IMPORTED_MODULE_3__.SurveyQuestionTagboxItem, { key: key, question: this.question, item: item }));
10837
10914
  return renderedItem;
10838
10915
  };
10839
- SurveyQuestionTagbox.prototype.renderInput = function (dropdownListModel) {
10916
+ SurveyQuestionTagbox.prototype.renderInput = function () {
10840
10917
  var _this = this;
10841
- var dropdownMultiSelectListModel = dropdownListModel;
10918
+ var dropdownListModel = this.dropdownListModel;
10842
10919
  var items = this.question.selectedChoices.map(function (choice, index) { return _this.renderItem("item" + index, choice); });
10843
10920
  return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
10844
10921
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -10846,8 +10923,8 @@ var SurveyQuestionTagbox = /** @class */ (function (_super) {
10846
10923
  disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: dropdownListModel.ariaQuestionRole, "aria-required": dropdownListModel.ariaQuestionRequired, "aria-invalid": dropdownListModel.ariaQuestionInvalid, "aria-errormessage": dropdownListModel.ariaQuestionErrorMessage, "aria-label": dropdownListModel.ariaQuestionLabel, "aria-labelledby": dropdownListModel.ariaQuestionLabelledby, "aria-describedby": dropdownListModel.ariaQuestionDescribedby, "aria-expanded": dropdownListModel.ariaQuestionExpanded, "aria-controls": dropdownListModel.ariaQuestionControls, "aria-activedescendant": dropdownListModel.ariaQuestionActivedescendant, ref: function (div) { return (_this.setControl(div)); } },
10847
10924
  react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.controlValue },
10848
10925
  items,
10849
- react__WEBPACK_IMPORTED_MODULE_0__.createElement(_tagbox_filter__WEBPACK_IMPORTED_MODULE_4__.TagboxFilterString, { model: dropdownMultiSelectListModel, question: this.question })),
10850
- this.createClearButton()));
10926
+ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_tagbox_filter__WEBPACK_IMPORTED_MODULE_4__.TagboxFilterString, { model: dropdownListModel, question: this.question })),
10927
+ this.renderEditorButtons()));
10851
10928
  };
10852
10929
  SurveyQuestionTagbox.prototype.renderElement = function () {
10853
10930
  var cssClasses = this.question.cssClasses;
@@ -10857,14 +10934,6 @@ var SurveyQuestionTagbox = /** @class */ (function (_super) {
10857
10934
  select,
10858
10935
  comment));
10859
10936
  };
10860
- SurveyQuestionTagbox.prototype.renderReadOnlyElement = function () {
10861
- if (this.question.locReadOnlyText) {
10862
- return this.renderLocString(this.question.locReadOnlyText);
10863
- }
10864
- else {
10865
- return null;
10866
- }
10867
- };
10868
10937
  return SurveyQuestionTagbox;
10869
10938
  }(_dropdown_base__WEBPACK_IMPORTED_MODULE_2__.SurveyQuestionDropdownBase));
10870
10939
 
@@ -11949,6 +12018,7 @@ __webpack_require__.r(__webpack_exports__);
11949
12018
  /* harmony export */ ReactSurveyElementsWrapper: () => (/* reexport safe */ _react_ui_model__WEBPACK_IMPORTED_MODULE_1__.ReactSurveyElementsWrapper),
11950
12019
  /* harmony export */ Scroll: () => (/* reexport safe */ _react_ui_model__WEBPACK_IMPORTED_MODULE_1__.Scroll),
11951
12020
  /* harmony export */ Skeleton: () => (/* reexport safe */ _react_ui_model__WEBPACK_IMPORTED_MODULE_1__.Skeleton),
12021
+ /* harmony export */ SliderLabelItem: () => (/* reexport safe */ _react_ui_model__WEBPACK_IMPORTED_MODULE_1__.SliderLabelItem),
11952
12022
  /* harmony export */ Survey: () => (/* reexport safe */ _react_ui_model__WEBPACK_IMPORTED_MODULE_1__.Survey),
11953
12023
  /* harmony export */ SurveyActionBar: () => (/* reexport safe */ _react_ui_model__WEBPACK_IMPORTED_MODULE_1__.SurveyActionBar),
11954
12024
  /* harmony export */ SurveyElementBase: () => (/* reexport safe */ _react_ui_model__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase),
@@ -12041,7 +12111,7 @@ __webpack_require__.r(__webpack_exports__);
12041
12111
 
12042
12112
 
12043
12113
 
12044
- (0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.1.0"), "survey-react-ui");
12114
+ (0,survey_core__WEBPACK_IMPORTED_MODULE_0__.checkLibraryVersion)("".concat("2.2.0"), "survey-react-ui");
12045
12115
 
12046
12116
  })();
12047
12117