survey-react-ui 1.9.112 → 1.9.114

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.112",
3
+ "version": "1.9.114",
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.112",
24
+ "survey-core": "1.9.114",
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.112
2
+ * surveyjs - Survey JavaScript library v1.9.114
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
  */
@@ -727,9 +727,9 @@ var Base = /** @class */ (function () {
727
727
  Array.isArray(oldValue) &&
728
728
  !!this.arraysInfo &&
729
729
  (!val || Array.isArray(val))) {
730
- if (this.isTwoValueEquals(oldValue, val))
731
- return;
732
- this.setArrayPropertyDirectly(name, val);
730
+ if (!this.isTwoValueEquals(oldValue, val)) {
731
+ this.setArrayPropertyDirectly(name, val);
732
+ }
733
733
  }
734
734
  else {
735
735
  this.setPropertyValueDirectly(name, val);
@@ -1971,7 +1971,7 @@ __webpack_require__.r(__webpack_exports__);
1971
1971
  /*!***************************************!*\
1972
1972
  !*** ./src/entries/react-ui-model.ts ***!
1973
1973
  \***************************************/
1974
- /*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, 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, CoverCellComponent, CoverComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
1974
+ /*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, 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 */
1975
1975
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1976
1976
 
1977
1977
  "use strict";
@@ -2229,10 +2229,12 @@ __webpack_require__.r(__webpack_exports__);
2229
2229
  /* harmony import */ var _react_components_character_counter__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../react/components/character-counter */ "./src/react/components/character-counter.tsx");
2230
2230
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounterComponent", function() { return _react_components_character_counter__WEBPACK_IMPORTED_MODULE_74__["CharacterCounterComponent"]; });
2231
2231
 
2232
- /* harmony import */ var _react_components_cover__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../react/components/cover */ "./src/react/components/cover.tsx");
2233
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCellComponent", function() { return _react_components_cover__WEBPACK_IMPORTED_MODULE_75__["CoverCellComponent"]; });
2232
+ /* harmony import */ var _react_components_header__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../react/components/header */ "./src/react/components/header.tsx");
2233
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HeaderMobile", function() { return _react_components_header__WEBPACK_IMPORTED_MODULE_75__["HeaderMobile"]; });
2234
+
2235
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HeaderCell", function() { return _react_components_header__WEBPACK_IMPORTED_MODULE_75__["HeaderCell"]; });
2234
2236
 
2235
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverComponent", function() { return _react_components_cover__WEBPACK_IMPORTED_MODULE_75__["CoverComponent"]; });
2237
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Header", function() { return _react_components_header__WEBPACK_IMPORTED_MODULE_75__["Header"]; });
2236
2238
 
2237
2239
  /* harmony import */ var _react_string_viewer__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../react/string-viewer */ "./src/react/string-viewer.tsx");
2238
2240
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_string_viewer__WEBPACK_IMPORTED_MODULE_76__["SurveyLocStringViewer"]; });
@@ -2333,7 +2335,7 @@ __webpack_require__.r(__webpack_exports__);
2333
2335
  /*!*********************************!*\
2334
2336
  !*** ./src/entries/react-ui.ts ***!
2335
2337
  \*********************************/
2336
- /*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, 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, CoverCellComponent, CoverComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SurveyModel, SurveyWindowModel, settings, surveyLocalization, surveyStrings, Model, ResponsivityManager, VerticalResponsivityManager, unwrap */
2338
+ /*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, 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 */
2337
2339
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2338
2340
 
2339
2341
  "use strict";
@@ -2517,9 +2519,11 @@ __webpack_require__.r(__webpack_exports__);
2517
2519
 
2518
2520
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounterComponent", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["CharacterCounterComponent"]; });
2519
2521
 
2520
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCellComponent", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["CoverCellComponent"]; });
2522
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HeaderMobile", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["HeaderMobile"]; });
2521
2523
 
2522
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverComponent", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["CoverComponent"]; });
2524
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HeaderCell", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["HeaderCell"]; });
2525
+
2526
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Header", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["Header"]; });
2523
2527
 
2524
2528
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_0__["SurveyLocStringViewer"]; });
2525
2529
 
@@ -2556,7 +2560,7 @@ __webpack_require__.r(__webpack_exports__);
2556
2560
 
2557
2561
 
2558
2562
 
2559
- Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.112", "survey-react-ui");
2563
+ Object(survey_core__WEBPACK_IMPORTED_MODULE_2__["checkLibraryVersion"])("" + "1.9.114", "survey-react-ui");
2560
2564
 
2561
2565
 
2562
2566
  /***/ }),
@@ -7239,7 +7243,11 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
7239
7243
  function ensureLocString(target, options, key) {
7240
7244
  var locString = target.getLocalizableString(key);
7241
7245
  if (!locString) {
7242
- locString = target.createLocalizableString(key, target, true);
7246
+ var defaultStr = void 0;
7247
+ if (typeof options.localizable === "object" && options.localizable.defaultStr) {
7248
+ defaultStr = options.localizable.defaultStr;
7249
+ }
7250
+ locString = target.createLocalizableString(key, target, true, defaultStr);
7243
7251
  if (typeof options.localizable === "object" &&
7244
7252
  typeof options.localizable.onGetTextCallback === "function") {
7245
7253
  locString.onGetTextCallback = options.localizable.onGetTextCallback;
@@ -7453,14 +7461,17 @@ var JsonObjectProperty = /** @class */ (function () {
7453
7461
  enumerable: false,
7454
7462
  configurable: true
7455
7463
  });
7464
+ JsonObjectProperty.prototype.getDefaultValue = function (obj) {
7465
+ var result = !!this.defaultValueFunc ? this.defaultValueFunc(obj) : this.defaultValueValue;
7466
+ if (!!JsonObjectProperty.getItemValuesDefaultValue &&
7467
+ JsonObject.metaData.isDescendantOf(this.className, "itemvalue")) {
7468
+ result = JsonObjectProperty.getItemValuesDefaultValue(this.defaultValueValue || [], this.className);
7469
+ }
7470
+ return result;
7471
+ };
7456
7472
  Object.defineProperty(JsonObjectProperty.prototype, "defaultValue", {
7457
7473
  get: function () {
7458
- var result = !!this.defaultValueFunc ? this.defaultValueFunc() : this.defaultValueValue;
7459
- if (!!JsonObjectProperty.getItemValuesDefaultValue &&
7460
- JsonObject.metaData.isDescendantOf(this.className, "itemvalue")) {
7461
- result = JsonObjectProperty.getItemValuesDefaultValue(this.defaultValueValue || [], this.className);
7462
- }
7463
- return result;
7474
+ return this.getDefaultValue(undefined);
7464
7475
  },
7465
7476
  set: function (newValue) {
7466
7477
  this.defaultValueValue = newValue;
@@ -7469,8 +7480,12 @@ var JsonObjectProperty = /** @class */ (function () {
7469
7480
  configurable: true
7470
7481
  });
7471
7482
  JsonObjectProperty.prototype.isDefaultValue = function (value) {
7472
- if (!_helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isValueEmpty(this.defaultValue)) {
7473
- return _helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isTwoValueEquals(value, this.defaultValue, false, true, false);
7483
+ return this.isDefaultValueByObj(undefined, value);
7484
+ };
7485
+ JsonObjectProperty.prototype.isDefaultValueByObj = function (obj, value) {
7486
+ var dValue = this.getDefaultValue(obj);
7487
+ if (!_helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isValueEmpty(dValue)) {
7488
+ return _helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isTwoValueEquals(value, dValue, false, true, false);
7474
7489
  }
7475
7490
  if (this.isLocalizable)
7476
7491
  return value === null || value === undefined;
@@ -8561,7 +8576,7 @@ var JsonMetadata = /** @class */ (function () {
8561
8576
  if (prop.hasChoices) {
8562
8577
  var enumRes = prop.getChoices(null);
8563
8578
  if (Array.isArray(enumRes) && enumRes.length > 0) {
8564
- res.enum = enumRes;
8579
+ res.enum = this.getChoicesValues(enumRes);
8565
8580
  }
8566
8581
  }
8567
8582
  if (!!refType) {
@@ -8624,6 +8639,18 @@ var JsonMetadata = /** @class */ (function () {
8624
8639
  res.required = chemaProps.required;
8625
8640
  }
8626
8641
  };
8642
+ JsonMetadata.prototype.getChoicesValues = function (enumRes) {
8643
+ var res = new Array();
8644
+ enumRes.forEach(function (item) {
8645
+ if (typeof item === "object" && item.value !== undefined) {
8646
+ res.push(item.value);
8647
+ }
8648
+ else {
8649
+ res.push(item);
8650
+ }
8651
+ });
8652
+ return res;
8653
+ };
8627
8654
  return JsonMetadata;
8628
8655
  }());
8629
8656
 
@@ -8836,7 +8863,7 @@ var JsonObject = /** @class */ (function () {
8836
8863
  (property.isLightSerializable === false && this.lightSerializing))
8837
8864
  return;
8838
8865
  var value = property.getValue(obj);
8839
- if (!storeDefaults && property.isDefaultValue(value))
8866
+ if (!storeDefaults && property.isDefaultValueByObj(obj, value))
8840
8867
  return;
8841
8868
  if (this.isValueArray(value)) {
8842
8869
  var arrValue = [];
@@ -8850,7 +8877,7 @@ var JsonObject = /** @class */ (function () {
8850
8877
  }
8851
8878
  var hasValue = typeof obj["getPropertyValue"] === "function" &&
8852
8879
  obj["getPropertyValue"](property.name, null) !== null;
8853
- if ((storeDefaults && hasValue) || !property.isDefaultValue(value)) {
8880
+ if ((storeDefaults && hasValue) || !property.isDefaultValueByObj(obj, value)) {
8854
8881
  if (!Serializer.onSerializingProperty || !Serializer.onSerializingProperty(obj, property, value, result)) {
8855
8882
  result[property.name] = value;
8856
8883
  }
@@ -9689,7 +9716,7 @@ var englishStrings = {
9689
9716
  loadingFile: "Loading...",
9690
9717
  chooseFile: "Choose file(s)...",
9691
9718
  noFileChosen: "No file chosen",
9692
- fileDragAreaPlaceholder: "Drag and drop a file here or click the button below to select a file to upload.",
9719
+ filePlaceholder: "Drag and drop a file here or click the button below to select a file to upload.",
9693
9720
  confirmDelete: "Do you want to delete the record?",
9694
9721
  keyDuplicationError: "This value should be unique.",
9695
9722
  addColumn: "Add Column",
@@ -9718,8 +9745,8 @@ var englishStrings = {
9718
9745
  signaturePlaceHolder: "Sign here",
9719
9746
  chooseFileCaption: "Select File",
9720
9747
  takePhotoCaption: "Take Photo",
9721
- cameraPlaceHolder: "Click the button below to take a photo using the camera.",
9722
- fileCameraDragAreaPlaceHolder: "Drag and drop or select a file to upload or take a photo using the camera.",
9748
+ photoPlaceholder: "Click the button below to take a photo using the camera.",
9749
+ fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera.",
9723
9750
  replaceFileCaption: "Replace file",
9724
9751
  removeFileCaption: "Remove this file",
9725
9752
  booleanCheckedLabel: "Yes",
@@ -10510,106 +10537,6 @@ _element_factory__WEBPACK_IMPORTED_MODULE_1__["ReactElementFactory"].Instance.re
10510
10537
  });
10511
10538
 
10512
10539
 
10513
- /***/ }),
10514
-
10515
- /***/ "./src/react/components/cover.tsx":
10516
- /*!****************************************!*\
10517
- !*** ./src/react/components/cover.tsx ***!
10518
- \****************************************/
10519
- /*! exports provided: CoverCellComponent, CoverComponent */
10520
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
10521
-
10522
- "use strict";
10523
- __webpack_require__.r(__webpack_exports__);
10524
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CoverCellComponent", function() { return CoverCellComponent; });
10525
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CoverComponent", function() { return CoverComponent; });
10526
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
10527
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
10528
- /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../reactquestion_element */ "./src/react/reactquestion_element.tsx");
10529
- /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../element-factory */ "./src/react/element-factory.tsx");
10530
- /* harmony import */ var _title_title_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./title/title-element */ "./src/react/components/title/title-element.tsx");
10531
- var __extends = (undefined && undefined.__extends) || (function () {
10532
- var extendStatics = function (d, b) {
10533
- extendStatics = Object.setPrototypeOf ||
10534
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
10535
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10536
- return extendStatics(d, b);
10537
- };
10538
- return function (d, b) {
10539
- if (typeof b !== "function" && b !== null)
10540
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10541
- extendStatics(d, b);
10542
- function __() { this.constructor = d; }
10543
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
10544
- };
10545
- })();
10546
-
10547
-
10548
-
10549
-
10550
- var CoverCellComponent = /** @class */ (function (_super) {
10551
- __extends(CoverCellComponent, _super);
10552
- function CoverCellComponent() {
10553
- return _super !== null && _super.apply(this, arguments) || this;
10554
- }
10555
- Object.defineProperty(CoverCellComponent.prototype, "model", {
10556
- get: function () {
10557
- return this.props.model;
10558
- },
10559
- enumerable: false,
10560
- configurable: true
10561
- });
10562
- CoverCellComponent.prototype.renderLogoImage = function () {
10563
- var componentName = this.model.survey.getElementWrapperComponentName(this.model.survey, "logo-image");
10564
- var componentData = this.model.survey.getElementWrapperComponentData(this.model.survey, "logo-image");
10565
- return _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.createElement(componentName, {
10566
- data: componentData,
10567
- });
10568
- };
10569
- CoverCellComponent.prototype.render = function () {
10570
- return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.css, style: this.model.style },
10571
- react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-cover__cell-content", style: this.model.contentStyle },
10572
- this.model.showLogo ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-cover__logo" }, this.renderLogoImage())) : null,
10573
- this.model.showTitle ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-cover__title", style: { maxWidth: this.model.textAreaWidth } },
10574
- react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_title_title_element__WEBPACK_IMPORTED_MODULE_3__["TitleElement"], { element: this.model.survey }))) : null,
10575
- this.model.showDescription ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-cover__description", style: { maxWidth: this.model.textAreaWidth } },
10576
- 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)));
10577
- };
10578
- return CoverCellComponent;
10579
- }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component));
10580
-
10581
- var CoverComponent = /** @class */ (function (_super) {
10582
- __extends(CoverComponent, _super);
10583
- function CoverComponent() {
10584
- return _super !== null && _super.apply(this, arguments) || this;
10585
- }
10586
- Object.defineProperty(CoverComponent.prototype, "model", {
10587
- get: function () {
10588
- return this.props.model;
10589
- },
10590
- enumerable: false,
10591
- configurable: true
10592
- });
10593
- CoverComponent.prototype.getStateElement = function () {
10594
- return this.model;
10595
- };
10596
- CoverComponent.prototype.renderElement = function () {
10597
- this.model.survey = this.props.survey;
10598
- if (!(this.props.survey.headerView === "advanced" && this.props.survey.renderedHasHeader)) {
10599
- return null;
10600
- }
10601
- return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.coverClasses, style: { height: this.model.renderedHeight } },
10602
- this.model.backgroundImage ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { style: this.model.backgroundImageStyle, className: this.model.backgroundImageClasses }) : null,
10603
- react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.contentClasses }, this.model.cells.map(function (cell, index) { return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(CoverCellComponent, { key: index, model: cell }); }))));
10604
- };
10605
- return CoverComponent;
10606
- }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"]));
10607
-
10608
- _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.registerElement("sv-cover", function (props) {
10609
- return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(CoverComponent, props);
10610
- });
10611
-
10612
-
10613
10540
  /***/ }),
10614
10541
 
10615
10542
  /***/ "./src/react/components/file/file-choose-button.tsx":
@@ -10758,6 +10685,144 @@ _element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.re
10758
10685
  });
10759
10686
 
10760
10687
 
10688
+ /***/ }),
10689
+
10690
+ /***/ "./src/react/components/header.tsx":
10691
+ /*!*****************************************!*\
10692
+ !*** ./src/react/components/header.tsx ***!
10693
+ \*****************************************/
10694
+ /*! exports provided: HeaderMobile, HeaderCell, Header */
10695
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10696
+
10697
+ "use strict";
10698
+ __webpack_require__.r(__webpack_exports__);
10699
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HeaderMobile", function() { return HeaderMobile; });
10700
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HeaderCell", function() { return HeaderCell; });
10701
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Header", function() { return Header; });
10702
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
10703
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
10704
+ /* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../reactquestion_element */ "./src/react/reactquestion_element.tsx");
10705
+ /* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../element-factory */ "./src/react/element-factory.tsx");
10706
+ /* harmony import */ var _title_title_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./title/title-element */ "./src/react/components/title/title-element.tsx");
10707
+ var __extends = (undefined && undefined.__extends) || (function () {
10708
+ var extendStatics = function (d, b) {
10709
+ extendStatics = Object.setPrototypeOf ||
10710
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
10711
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10712
+ return extendStatics(d, b);
10713
+ };
10714
+ return function (d, b) {
10715
+ if (typeof b !== "function" && b !== null)
10716
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10717
+ extendStatics(d, b);
10718
+ function __() { this.constructor = d; }
10719
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
10720
+ };
10721
+ })();
10722
+
10723
+
10724
+
10725
+
10726
+ var HeaderMobile = /** @class */ (function (_super) {
10727
+ __extends(HeaderMobile, _super);
10728
+ function HeaderMobile() {
10729
+ return _super !== null && _super.apply(this, arguments) || this;
10730
+ }
10731
+ Object.defineProperty(HeaderMobile.prototype, "model", {
10732
+ get: function () {
10733
+ return this.props.model;
10734
+ },
10735
+ enumerable: false,
10736
+ configurable: true
10737
+ });
10738
+ HeaderMobile.prototype.renderLogoImage = function () {
10739
+ var componentName = this.model.survey.getElementWrapperComponentName(this.model.survey, "logo-image");
10740
+ var componentData = this.model.survey.getElementWrapperComponentData(this.model.survey, "logo-image");
10741
+ return _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.createElement(componentName, {
10742
+ data: componentData,
10743
+ });
10744
+ };
10745
+ HeaderMobile.prototype.render = function () {
10746
+ return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header--mobile" },
10747
+ this.model.survey.hasLogo ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__logo" }, this.renderLogoImage())) : null,
10748
+ this.model.survey.hasTitle ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__title", style: { maxWidth: this.model.textAreaWidth } },
10749
+ react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_title_title_element__WEBPACK_IMPORTED_MODULE_3__["TitleElement"], { element: this.model.survey }))) : null,
10750
+ this.model.survey.renderedHasDescription ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__description", style: { maxWidth: this.model.textAreaWidth } },
10751
+ 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));
10752
+ };
10753
+ return HeaderMobile;
10754
+ }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component));
10755
+
10756
+ var HeaderCell = /** @class */ (function (_super) {
10757
+ __extends(HeaderCell, _super);
10758
+ function HeaderCell() {
10759
+ return _super !== null && _super.apply(this, arguments) || this;
10760
+ }
10761
+ Object.defineProperty(HeaderCell.prototype, "model", {
10762
+ get: function () {
10763
+ return this.props.model;
10764
+ },
10765
+ enumerable: false,
10766
+ configurable: true
10767
+ });
10768
+ HeaderCell.prototype.renderLogoImage = function () {
10769
+ var componentName = this.model.survey.getElementWrapperComponentName(this.model.survey, "logo-image");
10770
+ var componentData = this.model.survey.getElementWrapperComponentData(this.model.survey, "logo-image");
10771
+ return _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.createElement(componentName, {
10772
+ data: componentData,
10773
+ });
10774
+ };
10775
+ HeaderCell.prototype.render = function () {
10776
+ return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.css, style: this.model.style },
10777
+ react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__cell-content", style: this.model.contentStyle },
10778
+ this.model.showLogo ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__logo" }, this.renderLogoImage())) : null,
10779
+ this.model.showTitle ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__title", style: { maxWidth: this.model.textAreaWidth } },
10780
+ react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_title_title_element__WEBPACK_IMPORTED_MODULE_3__["TitleElement"], { element: this.model.survey }))) : null,
10781
+ this.model.showDescription ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sv-header__description", style: { maxWidth: this.model.textAreaWidth } },
10782
+ 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)));
10783
+ };
10784
+ return HeaderCell;
10785
+ }(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component));
10786
+
10787
+ var Header = /** @class */ (function (_super) {
10788
+ __extends(Header, _super);
10789
+ function Header() {
10790
+ return _super !== null && _super.apply(this, arguments) || this;
10791
+ }
10792
+ Object.defineProperty(Header.prototype, "model", {
10793
+ get: function () {
10794
+ return this.props.model;
10795
+ },
10796
+ enumerable: false,
10797
+ configurable: true
10798
+ });
10799
+ Header.prototype.getStateElement = function () {
10800
+ return this.model;
10801
+ };
10802
+ Header.prototype.renderElement = function () {
10803
+ this.model.survey = this.props.survey;
10804
+ if (!(this.props.survey.headerView === "advanced" && this.props.survey.renderedHasHeader)) {
10805
+ return null;
10806
+ }
10807
+ var headerContent = null;
10808
+ if (this.props.survey.isMobile) {
10809
+ headerContent = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(HeaderMobile, { model: this.model });
10810
+ }
10811
+ else {
10812
+ headerContent = (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.contentClasses, style: { maxWidth: this.model.maxWidth } }, this.model.cells.map(function (cell, index) { return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(HeaderCell, { key: index, model: cell }); })));
10813
+ }
10814
+ return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.headerClasses, style: { height: this.model.renderedHeight } },
10815
+ this.model.backgroundImage ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { style: this.model.backgroundImageStyle, className: this.model.backgroundImageClasses }) : null,
10816
+ headerContent));
10817
+ };
10818
+ return Header;
10819
+ }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"]));
10820
+
10821
+ _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.registerElement("sv-header", function (props) {
10822
+ return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Header, props);
10823
+ });
10824
+
10825
+
10761
10826
  /***/ }),
10762
10827
 
10763
10828
  /***/ "./src/react/components/list/list-item.tsx":
@@ -12971,7 +13036,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
12971
13036
  SurveyQuestionDropdownBase.prototype.createClearButton = function () {
12972
13037
  if (!this.question.allowClear || !this.question.cssClasses.cleanButtonIconId)
12973
13038
  return null;
12974
- var style = { display: this.question.isEmpty() ? "none" : "" };
13039
+ var style = { display: !this.question.showClearButton ? "none" : "" };
12975
13040
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.cleanButton, style: style, onClick: this.clear },
12976
13041
  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" })));
12977
13042
  };
@@ -16769,7 +16834,7 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
16769
16834
  var actionsContainer = this.question.actionsContainerVisible ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_1__["SurveyActionBar"], { model: this.question.actionsContainer }) : null;
16770
16835
  var noFileChosen = this.question.isEmpty() ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.question.cssClasses.noFileChosen }, this.question.noFileChosenCaption)) : null;
16771
16836
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.getFileDecoratorCss() },
16772
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.question.cssClasses.dragAreaPlaceholder }, this.question.renderedPlaceholder),
16837
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.question.cssClasses.dragAreaPlaceholder }, this.renderLocString(this.question.locRenderedPlaceholder)),
16773
16838
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.wrapper },
16774
16839
  chooseButton,
16775
16840
  actionsContainer,
@@ -18448,18 +18513,21 @@ var SurveyQuestionRankingItem = /** @class */ (function (_super) {
18448
18513
  enumerable: false,
18449
18514
  configurable: true
18450
18515
  });
18516
+ SurveyQuestionRankingItem.prototype.renderEmptyIcon = function () {
18517
+ return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("svg", null,
18518
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("use", { xlinkHref: this.question.dashSvgIcon })));
18519
+ };
18451
18520
  SurveyQuestionRankingItem.prototype.renderElement = function () {
18452
18521
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { tabIndex: this.itemTabIndex, className: this.itemClass, onKeyDown: this.handleKeydown, onPointerDown: this.handlePointerDown, "data-sv-drop-target-ranking-item": this.index },
18453
18522
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { tabIndex: -1, style: { outline: "none" } },
18454
18523
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.cssClasses.itemGhostNode }),
18455
18524
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.cssClasses.itemContent },
18456
18525
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.cssClasses.itemIconContainer },
18457
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("svg", { width: "10", height: "16", viewBox: "0 0 10 16", className: this.question.getIconHoverCss(), xmlns: "http://www.w3.org/2000/svg" },
18458
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("path", { d: "M6 2C6 0.9 6.9 0 8 0C9.1 0 10 0.9 10 2C10 3.1 9.1 4 8 4C6.9 4 6 3.1 6 2ZM2 0C0.9 0 0 0.9 0 2C0 3.1 0.9 4 2 4C3.1 4 4 3.1 4 2C4 0.9 3.1 0 2 0ZM8 6C6.9 6 6 6.9 6 8C6 9.1 6.9 10 8 10C9.1 10 10 9.1 10 8C10 6.9 9.1 6 8 6ZM2 6C0.9 6 0 6.9 0 8C0 9.1 0.9 10 2 10C3.1 10 4 9.1 4 8C4 6.9 3.1 6 2 6ZM8 12C6.9 12 6 12.9 6 14C6 15.1 6.9 16 8 16C9.1 16 10 15.1 10 14C10 12.9 9.1 12 8 12ZM2 12C0.9 12 0 12.9 0 14C0 15.1 0.9 16 2 16C3.1 16 4 15.1 4 14C4 12.9 3.1 12 2 12Z" })),
18459
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("svg", { width: "10", height: "24", viewBox: "0 0 10 24", className: this.question.getIconFocusCss(), xmlns: "http://www.w3.org/2000/svg" },
18460
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("path", { d: "M10 5L5 0L0 5H4V9H6V5H10Z" }),
18461
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("path", { d: "M6 19V15H4V19H0L5 24L10 19H6Z" }))),
18462
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.getItemIndexClasses(this.item) }, this.unrankedItem ? "" : this.indexText),
18526
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("svg", { className: this.question.getIconHoverCss() },
18527
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("use", { xlinkHref: this.question.dragDropSvgIcon })),
18528
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("svg", { className: this.question.getIconFocusCss() },
18529
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("use", { xlinkHref: this.question.arrowsSvgIcon }))),
18530
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.getItemIndexClasses(this.item) }, (!this.unrankedItem && this.indexText) ? this.indexText : this.renderEmptyIcon()),
18463
18531
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.cssClasses.controlLabel }, this.text)))));
18464
18532
  };
18465
18533
  return SurveyQuestionRankingItem;
@@ -18525,7 +18593,7 @@ var SurveyQuestionRating = /** @class */ (function (_super) {
18525
18593
  this.setState({ value: this.question.value });
18526
18594
  };
18527
18595
  SurveyQuestionRating.prototype.renderItem = function (item, index) {
18528
- var renderedItem = _element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.createElement(this.question.itemComponentName, {
18596
+ var renderedItem = _element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.createElement(this.question.itemComponent, {
18529
18597
  question: this.question,
18530
18598
  item: item,
18531
18599
  index: index,
@@ -19079,7 +19147,7 @@ var SurveyQuestionSignaturePad = /** @class */ (function (_super) {
19079
19147
  var cssClasses = this.question.cssClasses;
19080
19148
  var clearButton = this.renderCleanButton();
19081
19149
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: cssClasses.root, ref: function (root) { return (_this.setControl(root)); }, style: { height: this.question.signatureHeight, width: this.question.signatureWidth } },
19082
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: cssClasses.placeholder, style: { display: this.question.needShowPlaceholder() ? "" : "none" } }, this.question.placeHolderText),
19150
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: cssClasses.placeholder, style: { display: this.question.needShowPlaceholder() ? "" : "none" } }, this.renderLocString(this.question.locPlaceholder)),
19083
19151
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", null,
19084
19152
  this.renderBackgroundImage(),
19085
19153
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("canvas", { tabIndex: 0, className: this.question.cssClasses.canvas })),
@@ -20000,8 +20068,8 @@ var settings = {
20000
20068
  * @param message A message to be displayed in the confirm dialog window.
20001
20069
  * @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
20002
20070
  */
20003
- confirmActionAsync: function (message, callback) {
20004
- return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_0__["showConfirmDialog"])(message, callback);
20071
+ confirmActionAsync: function (message, callback, applyTitle) {
20072
+ return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_0__["showConfirmDialog"])(message, callback, applyTitle);
20005
20073
  },
20006
20074
  /**
20007
20075
  * A minimum width value for all survey elements.
@@ -20036,6 +20104,12 @@ var settings = {
20036
20104
  notifications: {
20037
20105
  lifetime: 2000
20038
20106
  },
20107
+ /**
20108
+ * Specifies how many milliseconds a survey should wait before it automatically switches to the next page. Applies only when [auto-advance](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#goNextPageAutomatic) is enabled.
20109
+ *
20110
+ * Default value: 300
20111
+ */
20112
+ autoAdvanceDelay: 300,
20039
20113
  /**
20040
20114
  * Specifies the direction in which to lay out Checkbox and Radiogroup items. This setting affects the resulting UI when items are arranged in [more than one column](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model#colCount).
20041
20115
  *
@@ -20893,7 +20967,7 @@ var Logger = /** @class */ (function () {
20893
20967
  return Logger;
20894
20968
  }());
20895
20969
 
20896
- function showConfirmDialog(message, callback) {
20970
+ function showConfirmDialog(message, callback, applyTitle) {
20897
20971
  var locStr = new _localizablestring__WEBPACK_IMPORTED_MODULE_0__["LocalizableString"](undefined);
20898
20972
  var popupViewModel = _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].showDialog({
20899
20973
  componentName: "sv-string-viewer",
@@ -20916,7 +20990,7 @@ function showConfirmDialog(message, callback) {
20916
20990
  var cancelBtn = toolbar.getActionById("cancel");
20917
20991
  cancelBtn.title = _surveyStrings__WEBPACK_IMPORTED_MODULE_2__["surveyLocalization"].getString("cancel");
20918
20992
  cancelBtn.innerCss = "sv-popup__body-footer-item sv-popup__button sd-btn sd-btn--small";
20919
- applyBtn.title = _surveyStrings__WEBPACK_IMPORTED_MODULE_2__["surveyLocalization"].getString("ok");
20993
+ applyBtn.title = applyTitle || _surveyStrings__WEBPACK_IMPORTED_MODULE_2__["surveyLocalization"].getString("ok");
20920
20994
  applyBtn.innerCss = "sv-popup__body-footer-item sv-popup__button sv-popup__button--danger sd-btn sd-btn--small sd-btn--danger";
20921
20995
  popupViewModel.width = "452px";
20922
20996
  return true;