survey-react 1.9.112 → 1.9.113

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/survey.react.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.112
2
+ * surveyjs - Survey JavaScript library v1.9.113
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
  */
@@ -4548,10 +4548,12 @@ var Cover = /** @class */ (function (_super) {
4548
4548
  .toString();
4549
4549
  };
4550
4550
  Cover.prototype.updateContentClasses = function () {
4551
+ var surveyWidthMode = !!this.survey && this.survey.calculateWidthMode();
4552
+ this.maxWidth = this.inheritWidthFrom === "survey" && !!surveyWidthMode && surveyWidthMode === "static" && this.survey.renderedWidth;
4551
4553
  this.contentClasses = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__["CssClassBuilder"]()
4552
4554
  .append("sv-conver__content")
4553
- .append("sv-conver__content--static", this.inheritWidthFrom === "survey" && !!this.survey && this.survey.calculateWidthMode() === "static")
4554
- .append("sv-conver__content--responsive", this.inheritWidthFrom === "page" || (!!this.survey && this.survey.calculateWidthMode() === "responsive"))
4555
+ .append("sv-conver__content--static", this.inheritWidthFrom === "survey" && !!surveyWidthMode && surveyWidthMode === "static")
4556
+ .append("sv-conver__content--responsive", this.inheritWidthFrom === "container" || (!!surveyWidthMode && surveyWidthMode === "responsive"))
4555
4557
  .toString();
4556
4558
  };
4557
4559
  Cover.prototype.updateBackgroundImageClasses = function () {
@@ -4596,7 +4598,7 @@ var Cover = /** @class */ (function (_super) {
4596
4598
  if (!!newValue) {
4597
4599
  this.updateContentClasses();
4598
4600
  this._survey.onPropertyChanged.add(function (sender, options) {
4599
- if (options.name == "widthMode") {
4601
+ if (options.name == "widthMode" || options.name == "width") {
4600
4602
  _this.updateContentClasses();
4601
4603
  }
4602
4604
  });
@@ -4697,6 +4699,9 @@ var Cover = /** @class */ (function (_super) {
4697
4699
  __decorate([
4698
4700
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
4699
4701
  ], Cover.prototype, "contentClasses", void 0);
4702
+ __decorate([
4703
+ Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
4704
+ ], Cover.prototype, "maxWidth", void 0);
4700
4705
  __decorate([
4701
4706
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
4702
4707
  ], Cover.prototype, "backgroundImageClasses", void 0);
@@ -5692,7 +5697,7 @@ var defaultV2Css = {
5692
5697
  header: "sd-panel__header sd-element__header sd-element__header--location-top",
5693
5698
  collapsed: "sd-element--collapsed",
5694
5699
  expanded: "sd-element--expanded",
5695
- nested: "sd-element--nested",
5700
+ nested: "sd-element--nested sd-element--nested-with-borders",
5696
5701
  invisible: "sd-element--invisible",
5697
5702
  navigationButton: "",
5698
5703
  compact: "sd-element--with-frame sd-element--compact"
@@ -5716,6 +5721,7 @@ var defaultV2Css = {
5716
5721
  progressContainer: "sd-paneldynamic__progress-container",
5717
5722
  progress: "sd-progress",
5718
5723
  progressBar: "sd-progress__bar",
5724
+ nested: "sd-element--nested sd-element--nested-with-borders",
5719
5725
  progressText: "sd-paneldynamic__progress-text",
5720
5726
  separator: "sd-paneldynamic__separator",
5721
5727
  panelWrapper: "sd-paneldynamic__panel-wrapper",
@@ -5782,6 +5788,9 @@ var defaultV2Css = {
5782
5788
  contentLeft: "sd-question__content--left",
5783
5789
  titleNumInline: "sd-element__title--num-inline",
5784
5790
  titleLeftRoot: "sd-question--left",
5791
+ titleTopRoot: "sd-question--title-top",
5792
+ descriptionUnderInputRoot: "sd-question--description-under-input",
5793
+ titleBottomRoot: "sd-question--title-bottom",
5785
5794
  titleOnAnswer: "sd-question__title--answer",
5786
5795
  titleEmpty: "sd-question__title--empty",
5787
5796
  titleOnError: "sd-question__title--error",
@@ -5804,6 +5813,8 @@ var defaultV2Css = {
5804
5813
  commentArea: "sd-question__comment-area",
5805
5814
  formGroup: "sd-question__form-group",
5806
5815
  hasError: "sd-question--error",
5816
+ hasErrorTop: "sd-question--error-top",
5817
+ hasErrorBottom: "sd-question--error-bottom",
5807
5818
  collapsed: "sd-element--collapsed",
5808
5819
  expanded: "sd-element--expanded",
5809
5820
  nested: "sd-element--nested",
@@ -5829,7 +5840,6 @@ var defaultV2Css = {
5829
5840
  root: "sd-question__erbox",
5830
5841
  icon: "",
5831
5842
  item: "",
5832
- tooltip: "sd-question__erbox--tooltip",
5833
5843
  outsideQuestion: "sd-question__erbox--outside-question",
5834
5844
  aboveQuestion: "sd-question__erbox--above-question",
5835
5845
  belowQuestion: "sd-question__erbox--below-question",
@@ -7181,6 +7191,7 @@ var DragDropCore = /** @class */ (function () {
7181
7191
  };
7182
7192
  DragDropCore.prototype.clear = function () {
7183
7193
  this.dropTarget = null;
7194
+ this.prevDropTarget = null;
7184
7195
  this.draggedElement = null;
7185
7196
  this.isBottom = null;
7186
7197
  this.parentElement = null;
@@ -7915,12 +7926,16 @@ var DragDropRankingSelectToRank = /** @class */ (function (_super) {
7915
7926
  };
7916
7927
  DragDropRankingSelectToRank.prototype.doRankBetween = function (dropTargetNode, fromChoicesArray, toChoicesArray, rankFunction) {
7917
7928
  var questionModel = this.parentElement;
7929
+ var _a = this.getIndixies(questionModel, fromChoicesArray, toChoicesArray), fromIndex = _a.fromIndex, toIndex = _a.toIndex;
7930
+ rankFunction(questionModel, fromIndex, toIndex);
7931
+ this.doUIEffects(dropTargetNode, fromIndex, toIndex);
7932
+ };
7933
+ DragDropRankingSelectToRank.prototype.getIndixies = function (model, fromChoicesArray, toChoicesArray) {
7918
7934
  var fromIndex = fromChoicesArray.indexOf(this.draggedElement);
7919
7935
  var toIndex = toChoicesArray.indexOf(this.dropTarget);
7920
7936
  if (toIndex === -1)
7921
- toIndex = toChoicesArray.length;
7922
- rankFunction(questionModel, fromIndex, toIndex);
7923
- this.doUIEffects(dropTargetNode, fromIndex, toIndex);
7937
+ toIndex = model.value.length;
7938
+ return { fromIndex: fromIndex, toIndex: toIndex };
7924
7939
  };
7925
7940
  DragDropRankingSelectToRank.prototype.doUIEffects = function (dropTargetNode, fromIndex, toIndex) {
7926
7941
  var questionModel = this.parentElement;
@@ -9200,7 +9215,7 @@ __webpack_require__.r(__webpack_exports__);
9200
9215
  /*!*************************************!*\
9201
9216
  !*** ./src/entries/chunks/model.ts ***!
9202
9217
  \*************************************/
9203
- /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank */
9218
+ /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank */
9204
9219
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9205
9220
 
9206
9221
  "use strict";
@@ -9209,6 +9224,7 @@ __webpack_require__.r(__webpack_exports__);
9209
9224
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReleaseDate", function() { return ReleaseDate; });
9210
9225
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkLibraryVersion", function() { return checkLibraryVersion; });
9211
9226
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return setLicenseKey; });
9227
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "slk", function() { return slk; });
9212
9228
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasLicense", function() { return hasLicense; });
9213
9229
  /* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../settings */ "./src/settings.ts");
9214
9230
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return _settings__WEBPACK_IMPORTED_MODULE_0__["settings"]; });
@@ -9676,8 +9692,8 @@ __webpack_require__.r(__webpack_exports__);
9676
9692
  //import "../../modern.scss";
9677
9693
  var Version;
9678
9694
  var ReleaseDate;
9679
- Version = "" + "1.9.112";
9680
- ReleaseDate = "" + "2023-10-10";
9695
+ Version = "" + "1.9.113";
9696
+ ReleaseDate = "" + "2023-10-17";
9681
9697
  function checkLibraryVersion(ver, libraryName) {
9682
9698
  if (Version != ver) {
9683
9699
  var str = "survey-core has version '" + Version + "' and " + libraryName
@@ -9687,13 +9703,16 @@ function checkLibraryVersion(ver, libraryName) {
9687
9703
  }
9688
9704
  }
9689
9705
  function setLicenseKey(key) {
9690
- slk(key, lic, ReleaseDate);
9706
+ slk(key);
9707
+ }
9708
+ function slk(key) {
9709
+ _slk(key, lic, ReleaseDate);
9691
9710
  }
9692
9711
  function hasLicense(index) {
9693
9712
  return lic[index.toString()] === true;
9694
9713
  }
9695
9714
  var lic = {};
9696
- function slk(k, lh, rd) {
9715
+ function _slk(k, lh, rd) {
9697
9716
  if (!k)
9698
9717
  return;
9699
9718
  var en = function (s) {
@@ -9826,7 +9845,7 @@ function slk(k, lh, rd) {
9826
9845
  /*!**************************************!*\
9827
9846
  !*** ./src/entries/core-wo-model.ts ***!
9828
9847
  \**************************************/
9829
- /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper */
9848
+ /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper */
9830
9849
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9831
9850
 
9832
9851
  "use strict";
@@ -9840,6 +9859,8 @@ __webpack_require__.r(__webpack_exports__);
9840
9859
 
9841
9860
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["setLicenseKey"]; });
9842
9861
 
9862
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "slk", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["slk"]; });
9863
+
9843
9864
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "hasLicense", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["hasLicense"]; });
9844
9865
 
9845
9866
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["settings"]; });
@@ -10289,7 +10310,7 @@ __webpack_require__.r(__webpack_exports__);
10289
10310
  /*!*****************************!*\
10290
10311
  !*** ./src/entries/core.ts ***!
10291
10312
  \*****************************/
10292
- /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
10313
+ /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
10293
10314
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10294
10315
 
10295
10316
  "use strict";
@@ -10303,6 +10324,8 @@ __webpack_require__.r(__webpack_exports__);
10303
10324
 
10304
10325
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["setLicenseKey"]; });
10305
10326
 
10327
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "slk", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["slk"]; });
10328
+
10306
10329
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "hasLicense", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["hasLicense"]; });
10307
10330
 
10308
10331
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["settings"]; });
@@ -11132,7 +11155,7 @@ __webpack_require__.r(__webpack_exports__);
11132
11155
  /*!******************************!*\
11133
11156
  !*** ./src/entries/react.ts ***!
11134
11157
  \******************************/
11135
- /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model, bootstrapThemeName, bootstrapThemeColors, bootstrapThemeCssRules, bootstrapMaterialThemeName, bootstrapMaterialThemeColors, bootstrapMaterialThemeCssRules, defaultBootstrapCss, defaultBootstrapMaterialCss, 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 */
11158
+ /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model, bootstrapThemeName, bootstrapThemeColors, bootstrapThemeCssRules, bootstrapMaterialThemeName, bootstrapMaterialThemeColors, bootstrapMaterialThemeCssRules, defaultBootstrapCss, defaultBootstrapMaterialCss, 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 */
11136
11159
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11137
11160
 
11138
11161
  "use strict";
@@ -11146,6 +11169,8 @@ __webpack_require__.r(__webpack_exports__);
11146
11169
 
11147
11170
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["setLicenseKey"]; });
11148
11171
 
11172
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "slk", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["slk"]; });
11173
+
11149
11174
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "hasLicense", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["hasLicense"]; });
11150
11175
 
11151
11176
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["settings"]; });
@@ -18554,14 +18579,17 @@ var JsonObjectProperty = /** @class */ (function () {
18554
18579
  enumerable: false,
18555
18580
  configurable: true
18556
18581
  });
18582
+ JsonObjectProperty.prototype.getDefaultValue = function (obj) {
18583
+ var result = !!this.defaultValueFunc ? this.defaultValueFunc(obj) : this.defaultValueValue;
18584
+ if (!!JsonObjectProperty.getItemValuesDefaultValue &&
18585
+ JsonObject.metaData.isDescendantOf(this.className, "itemvalue")) {
18586
+ result = JsonObjectProperty.getItemValuesDefaultValue(this.defaultValueValue || [], this.className);
18587
+ }
18588
+ return result;
18589
+ };
18557
18590
  Object.defineProperty(JsonObjectProperty.prototype, "defaultValue", {
18558
18591
  get: function () {
18559
- var result = !!this.defaultValueFunc ? this.defaultValueFunc() : this.defaultValueValue;
18560
- if (!!JsonObjectProperty.getItemValuesDefaultValue &&
18561
- JsonObject.metaData.isDescendantOf(this.className, "itemvalue")) {
18562
- result = JsonObjectProperty.getItemValuesDefaultValue(this.defaultValueValue || [], this.className);
18563
- }
18564
- return result;
18592
+ return this.getDefaultValue(undefined);
18565
18593
  },
18566
18594
  set: function (newValue) {
18567
18595
  this.defaultValueValue = newValue;
@@ -18570,8 +18598,12 @@ var JsonObjectProperty = /** @class */ (function () {
18570
18598
  configurable: true
18571
18599
  });
18572
18600
  JsonObjectProperty.prototype.isDefaultValue = function (value) {
18573
- if (!_helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isValueEmpty(this.defaultValue)) {
18574
- return _helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isTwoValueEquals(value, this.defaultValue, false, true, false);
18601
+ return this.isDefaultValueByObj(undefined, value);
18602
+ };
18603
+ JsonObjectProperty.prototype.isDefaultValueByObj = function (obj, value) {
18604
+ var dValue = this.getDefaultValue(obj);
18605
+ if (!_helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isValueEmpty(dValue)) {
18606
+ return _helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isTwoValueEquals(value, dValue, false, true, false);
18575
18607
  }
18576
18608
  if (this.isLocalizable)
18577
18609
  return value === null || value === undefined;
@@ -19937,7 +19969,7 @@ var JsonObject = /** @class */ (function () {
19937
19969
  (property.isLightSerializable === false && this.lightSerializing))
19938
19970
  return;
19939
19971
  var value = property.getValue(obj);
19940
- if (!storeDefaults && property.isDefaultValue(value))
19972
+ if (!storeDefaults && property.isDefaultValueByObj(obj, value))
19941
19973
  return;
19942
19974
  if (this.isValueArray(value)) {
19943
19975
  var arrValue = [];
@@ -19951,7 +19983,7 @@ var JsonObject = /** @class */ (function () {
19951
19983
  }
19952
19984
  var hasValue = typeof obj["getPropertyValue"] === "function" &&
19953
19985
  obj["getPropertyValue"](property.name, null) !== null;
19954
- if ((storeDefaults && hasValue) || !property.isDefaultValue(value)) {
19986
+ if ((storeDefaults && hasValue) || !property.isDefaultValueByObj(obj, value)) {
19955
19987
  if (!Serializer.onSerializingProperty || !Serializer.onSerializingProperty(obj, property, value, result)) {
19956
19988
  result[property.name] = value;
19957
19989
  }
@@ -28531,7 +28563,7 @@ var PageModel = /** @class */ (function (_super) {
28531
28563
  };
28532
28564
  Object.defineProperty(PageModel.prototype, "navigationTitle", {
28533
28565
  /**
28534
- * A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when [`showProgressBar`](https://surveyjs.io/form-library/documentation/surveymodel#showProgressBar) is `true` and [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is `"buttons"`.
28566
+ * A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar) and [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"buttons"`.
28535
28567
  *
28536
28568
  * If navigation titles are unspecified, the navigation buttons display page [titles](https://surveyjs.io/form-library/documentation/api-reference/page-model#title) or [names](https://surveyjs.io/form-library/documentation/pagemodel#name).
28537
28569
  */
@@ -28552,6 +28584,9 @@ var PageModel = /** @class */ (function (_super) {
28552
28584
  configurable: true
28553
28585
  });
28554
28586
  Object.defineProperty(PageModel.prototype, "navigationDescription", {
28587
+ /**
28588
+ * Explanatory text displayed under a navigation button in the progress bar. Applies when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar) and `SurveyModel`'s [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) property is set to `"buttons"`.
28589
+ */
28555
28590
  get: function () {
28556
28591
  return this.getLocalizableStringText("navigationDescription");
28557
28592
  },
@@ -32553,6 +32588,7 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
32553
32588
  PopupDropdownViewModel.prototype.getStyleClass = function () {
32554
32589
  return _super.prototype.getStyleClass.call(this)
32555
32590
  .append("sv-popup--dropdown", !this.isOverlay)
32591
+ .append("sv-popup--dropdown-overlay", this.isOverlay && this.model.overlayDisplayMode !== "overlay")
32556
32592
  .append("sv-popup--tablet", this.isTablet && this.isOverlay)
32557
32593
  .append("sv-popup--show-pointer", !this.isOverlay && this.showHeader)
32558
32594
  .append("sv-popup--" + this.popupDirection, !this.isOverlay && this.showHeader);
@@ -33695,6 +33731,9 @@ var PopupModel = /** @class */ (function (_super) {
33695
33731
  __decorate([
33696
33732
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "" })
33697
33733
  ], PopupModel.prototype, "title", void 0);
33734
+ __decorate([
33735
+ Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "auto" })
33736
+ ], PopupModel.prototype, "overlayDisplayMode", void 0);
33698
33737
  __decorate([
33699
33738
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "popup" })
33700
33739
  ], PopupModel.prototype, "displayMode", void 0);
@@ -33877,6 +33916,7 @@ var Question = /** @class */ (function (_super) {
33877
33916
  Question.prototype.setIsMobile = function (val) {
33878
33917
  this.isMobile = val && (this.allowMobileInDesignMode() || !this.isDesignMode);
33879
33918
  };
33919
+ Question.prototype.themeChanged = function (theme) { };
33880
33920
  Question.prototype.createLocTitleProperty = function () {
33881
33921
  var _this = this;
33882
33922
  var locTitleValue = _super.prototype.createLocTitleProperty.call(this);
@@ -34870,13 +34910,19 @@ var Question = /** @class */ (function (_super) {
34870
34910
  this.setPropertyValue("cssRoot", val);
34871
34911
  };
34872
34912
  Question.prototype.getCssRoot = function (cssClasses) {
34913
+ var hasError = this.errors.length > 0;
34873
34914
  return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
34874
34915
  .append(_super.prototype.getCssRoot.call(this, cssClasses))
34875
34916
  .append(this.isFlowLayout && !this.isDesignMode
34876
34917
  ? cssClasses.flowRoot
34877
34918
  : cssClasses.mainRoot)
34878
34919
  .append(cssClasses.titleLeftRoot, !this.isFlowLayout && this.hasTitleOnLeft)
34879
- .append(cssClasses.hasError, this.errors.length > 0)
34920
+ .append(cssClasses.titleTopRoot, !this.isFlowLayout && this.hasTitleOnTop)
34921
+ .append(cssClasses.titleBottomRoot, !this.isFlowLayout && this.hasTitleOnBottom)
34922
+ .append(cssClasses.descriptionUnderInputRoot, !this.isFlowLayout && this.hasDescriptionUnderInput)
34923
+ .append(cssClasses.hasError, hasError)
34924
+ .append(cssClasses.hasErrorTop, hasError && this.getErrorLocation() == "top")
34925
+ .append(cssClasses.hasErrorBottom, hasError && this.getErrorLocation() == "bottom")
34880
34926
  .append(cssClasses.small, !this.width)
34881
34927
  .append(cssClasses.answered, this.isAnswered)
34882
34928
  .toString();
@@ -37506,8 +37552,6 @@ var QuestionSelectBase = /** @class */ (function (_super) {
37506
37552
  };
37507
37553
  QuestionSelectBase.prototype.runCondition = function (values, properties) {
37508
37554
  _super.prototype.runCondition.call(this, values, properties);
37509
- if (this.isUsingCarryForward)
37510
- return;
37511
37555
  this.runItemsEnableCondition(values, properties);
37512
37556
  this.runItemsCondition(values, properties);
37513
37557
  };
@@ -39237,13 +39281,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("selectbase", [
39237
39281
  },
39238
39282
  },
39239
39283
  "hideIfChoicesEmpty:boolean",
39240
- {
39241
- name: "choicesVisibleIf:condition",
39242
- dependsOn: "choicesFromQuestion",
39243
- visibleIf: function (obj) {
39244
- return !obj.choicesFromQuestion;
39245
- },
39246
- },
39284
+ "choicesVisibleIf:condition",
39247
39285
  {
39248
39286
  name: "choicesEnableIf:condition",
39249
39287
  dependsOn: "choicesFromQuestion",
@@ -41874,6 +41912,13 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
41874
41912
  enumerable: false,
41875
41913
  configurable: true
41876
41914
  });
41915
+ Object.defineProperty(QuestionDropdownModel.prototype, "showClearButton", {
41916
+ get: function () {
41917
+ return this.allowClear && !this.isEmpty() && (!this.isDesignMode || _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].supportCreatorV2);
41918
+ },
41919
+ enumerable: false,
41920
+ configurable: true
41921
+ });
41877
41922
  Object.defineProperty(QuestionDropdownModel.prototype, "optionsCaption", {
41878
41923
  get: function () {
41879
41924
  return this.placeholder;
@@ -51111,7 +51156,7 @@ var QuestionMatrixDynamicModel = /** @class */ (function (_super) {
51111
51156
  };
51112
51157
  Object.defineProperty(QuestionMatrixDynamicModel.prototype, "allowRowsDragAndDrop", {
51113
51158
  /**
51114
- * Specifies whether users can drag and drop matrix rows to reorder them.
51159
+ * Specifies whether users can drag and drop matrix rows to reorder them. Applies only if [`columnLayout`](#columnLayout) is `"horizontal"`.
51115
51160
  *
51116
51161
  * Default value: `false`
51117
51162
  */
@@ -52215,6 +52260,32 @@ var MultipleTextItemModel = /** @class */ (function (_super) {
52215
52260
  enumerable: false,
52216
52261
  configurable: true
52217
52262
  });
52263
+ Object.defineProperty(MultipleTextItemModel.prototype, "minValueExpression", {
52264
+ /**
52265
+ * The minimum value specified as an expression. For example, `"minValueExpression": "today(-1)"` sets the minimum value to yesterday.
52266
+ */
52267
+ get: function () {
52268
+ return this.editor.minValueExpression;
52269
+ },
52270
+ set: function (val) {
52271
+ this.editor.minValueExpression = val;
52272
+ },
52273
+ enumerable: false,
52274
+ configurable: true
52275
+ });
52276
+ Object.defineProperty(MultipleTextItemModel.prototype, "maxValueExpression", {
52277
+ /**
52278
+ * The maximum value specified as an expression. For example, `"maxValueExpression": "today(1)"` sets the maximum value to tomorrow.
52279
+ */
52280
+ get: function () {
52281
+ return this.editor.maxValueExpression;
52282
+ },
52283
+ set: function (val) {
52284
+ this.editor.maxValueExpression = val;
52285
+ },
52286
+ enumerable: false,
52287
+ configurable: true
52288
+ });
52218
52289
  Object.defineProperty(MultipleTextItemModel.prototype, "validators", {
52219
52290
  /**
52220
52291
  * The list of question validators.
@@ -52903,6 +52974,22 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_4__["Serializer"].addClass("multipletextite
52903
52974
  name: "requiredErrorText:text",
52904
52975
  serializationProperty: "locRequiredErrorText",
52905
52976
  },
52977
+ {
52978
+ name: "minValueExpression:expression",
52979
+ category: "logic",
52980
+ dependsOn: "inputType",
52981
+ visibleIf: function (obj) {
52982
+ return Object(_question_text__WEBPACK_IMPORTED_MODULE_3__["isMinMaxType"])(obj);
52983
+ },
52984
+ },
52985
+ {
52986
+ name: "maxValueExpression:expression",
52987
+ category: "logic",
52988
+ dependsOn: "inputType",
52989
+ visibleIf: function (obj) {
52990
+ return Object(_question_text__WEBPACK_IMPORTED_MODULE_3__["isMinMaxType"])(obj);
52991
+ },
52992
+ },
52906
52993
  {
52907
52994
  name: "validators:validators",
52908
52995
  baseClassName: "surveyvalidator",
@@ -53877,6 +53964,14 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
53877
53964
  question.setIsMobile(val);
53878
53965
  }); });
53879
53966
  };
53967
+ QuestionPanelDynamicModel.prototype.themeChanged = function (theme) {
53968
+ _super.prototype.themeChanged.call(this, theme);
53969
+ (this.panels || []).forEach(function (panel) {
53970
+ return panel.getQuestions(true).forEach(function (question) {
53971
+ question.themeChanged(theme);
53972
+ });
53973
+ });
53974
+ };
53880
53975
  Object.defineProperty(QuestionPanelDynamicModel.prototype, "panelCount", {
53881
53976
  /**
53882
53977
  * The number of panels in Dynamic Panel.
@@ -55880,31 +55975,23 @@ var QuestionRankingModel = /** @class */ (function (_super) {
55880
55975
  return;
55881
55976
  }
55882
55977
  if (key === "ArrowUp" && index) {
55883
- _this.handleArrowUp(index, choice);
55978
+ _this.handleArrowKeys(index, choice, false);
55884
55979
  event.preventDefault();
55885
55980
  }
55886
55981
  if (key === "ArrowDown" && index !== _this.rankingChoices.length - 1) {
55887
- _this.handleArrowDown(index, choice);
55982
+ _this.handleArrowKeys(index, choice, true);
55888
55983
  event.preventDefault();
55889
55984
  }
55890
55985
  }
55891
55986
  };
55892
- _this.handleArrowUp = function (index, choice) {
55987
+ _this.handleArrowKeys = function (index, choice, isDown) {
55988
+ var delta = isDown ? 1 : -1;
55893
55989
  var choices = _this.rankingChoices;
55894
55990
  choices.splice(index, 1);
55895
- choices.splice(index - 1, 0, choice);
55991
+ choices.splice(index + delta, 0, choice);
55896
55992
  _this.setValue();
55897
55993
  setTimeout(function () {
55898
- _this.focusItem(index - 1);
55899
- }, 1);
55900
- };
55901
- _this.handleArrowDown = function (index, choice) {
55902
- var choices = _this.rankingChoices;
55903
- choices.splice(index, 1);
55904
- choices.splice(index + 1, 0, choice);
55905
- _this.setValue();
55906
- setTimeout(function () {
55907
- _this.focusItem(index + 1);
55994
+ _this.focusItem(index + delta);
55908
55995
  }, 1);
55909
55996
  };
55910
55997
  _this.focusItem = function (index, container) {
@@ -56188,46 +56275,39 @@ var QuestionRankingModel = /** @class */ (function (_super) {
56188
56275
  QuestionRankingModel.prototype.handleKeydownSelectToRank = function (event, movedElement) {
56189
56276
  if (this.isDesignMode)
56190
56277
  return;
56191
- var dnd = this.dragDropRankingChoices; //????
56192
56278
  var key = event.key;
56279
+ if (key !== " " && key !== "ArrowUp" && key !== "ArrowDown")
56280
+ return;
56281
+ var dnd = this.dragDropRankingChoices; //????
56193
56282
  var rankingChoices = this.rankingChoices;
56194
- var unRankingChoices = this.unRankingChoices;
56195
56283
  var isMovedElementRanked = rankingChoices.indexOf(movedElement) !== -1;
56196
- var isMovedElementUnRanked = !isMovedElementRanked;
56197
- var fromIndex;
56284
+ var choices = isMovedElementRanked ? rankingChoices : this.unRankingChoices;
56285
+ var fromIndex = choices.indexOf(movedElement);
56286
+ if (fromIndex < 0)
56287
+ return;
56198
56288
  var toIndex;
56199
- if ((key === " " || key === "Enter") && isMovedElementUnRanked) {
56200
- fromIndex = unRankingChoices.indexOf(movedElement);
56289
+ if (key === " " && !isMovedElementRanked) {
56201
56290
  toIndex = 0;
56202
56291
  dnd.selectToRank(this, fromIndex, toIndex);
56203
56292
  this.setValueAfterKeydown(toIndex, "to-container");
56204
56293
  return;
56205
56294
  }
56206
- if ((key === " " || key === "Enter") && isMovedElementRanked) {
56207
- fromIndex = rankingChoices.indexOf(movedElement);
56295
+ if (!isMovedElementRanked)
56296
+ return;
56297
+ if (key === " ") {
56208
56298
  dnd.unselectFromRank(this, fromIndex);
56209
56299
  toIndex = this.unRankingChoices.indexOf(movedElement); //'this.' leads to actual array after the 'unselectFromRank' method
56210
56300
  this.setValueAfterKeydown(toIndex, "from-container");
56211
56301
  return;
56212
56302
  }
56213
- if (key === "ArrowUp" && isMovedElementRanked) {
56214
- fromIndex = rankingChoices.indexOf(movedElement);
56215
- toIndex = fromIndex - 1;
56216
- if (fromIndex < 0)
56217
- return;
56218
- dnd.reorderRankedItem(this, fromIndex, toIndex);
56219
- this.setValueAfterKeydown(toIndex, "to-container");
56303
+ var delta = key === "ArrowUp" ? -1 : (key === "ArrowDown" ? 1 : 0);
56304
+ if (delta === 0)
56220
56305
  return;
56221
- }
56222
- if (key === "ArrowDown" && isMovedElementRanked) {
56223
- fromIndex = rankingChoices.indexOf(movedElement);
56224
- toIndex = fromIndex + 1;
56225
- if (toIndex >= rankingChoices.length)
56226
- return;
56227
- dnd.reorderRankedItem(this, fromIndex, toIndex);
56228
- this.setValueAfterKeydown(toIndex, "to-container");
56306
+ toIndex = fromIndex + delta;
56307
+ if (toIndex < 0 || toIndex >= rankingChoices.length)
56229
56308
  return;
56230
- }
56309
+ dnd.reorderRankedItem(this, fromIndex, toIndex);
56310
+ this.setValueAfterKeydown(toIndex, "to-container");
56231
56311
  };
56232
56312
  QuestionRankingModel.prototype.setValueAfterKeydown = function (index, container) {
56233
56313
  var _this = this;
@@ -56935,13 +57015,24 @@ var QuestionRatingModel = /** @class */ (function (_super) {
56935
57015
  enumerable: false,
56936
57016
  configurable: true
56937
57017
  });
56938
- Object.defineProperty(QuestionRatingModel.prototype, "itemComponentName", {
57018
+ QuestionRatingModel.prototype.getDefaultItemComponent = function () {
57019
+ if (this.renderAs == "dropdown")
57020
+ return "";
57021
+ if (this.isStar)
57022
+ return "sv-rating-item-star";
57023
+ if (this.isSmiley)
57024
+ return "sv-rating-item-smiley";
57025
+ return "sv-rating-item";
57026
+ };
57027
+ Object.defineProperty(QuestionRatingModel.prototype, "itemComponent", {
57028
+ /**
57029
+ * The name of a component used to render items.
57030
+ */
56939
57031
  get: function () {
56940
- if (this.isStar)
56941
- return "sv-rating-item-star";
56942
- if (this.isSmiley)
56943
- return "sv-rating-item-smiley";
56944
- return "sv-rating-item";
57032
+ return this.getPropertyValue("itemComponent", this.getDefaultItemComponent());
57033
+ },
57034
+ set: function (value) {
57035
+ this.setPropertyValue("itemComponent", value);
56945
57036
  },
56946
57037
  enumerable: false,
56947
57038
  configurable: true
@@ -57276,17 +57367,16 @@ var QuestionRatingModel = /** @class */ (function (_super) {
57276
57367
  }
57277
57368
  return classes;
57278
57369
  };
57370
+ QuestionRatingModel.prototype.themeChanged = function (theme) {
57371
+ this.colorsCalculated = false;
57372
+ this.updateColors(theme.cssVariables);
57373
+ this.createRenderedRateItems();
57374
+ };
57279
57375
  QuestionRatingModel.prototype.setSurveyImpl = function (value, isLight) {
57280
- var _this = this;
57281
57376
  _super.prototype.setSurveyImpl.call(this, value, isLight);
57282
57377
  if (!this.survey)
57283
57378
  return;
57284
57379
  this.updateColors(this.survey.themeVariables);
57285
- this.survey.onThemeApplied.add(function (survey, options) {
57286
- _this.colorsCalculated = false;
57287
- _this.updateColors(options.theme.cssVariables);
57288
- _this.createRenderedRateItems();
57289
- });
57290
57380
  };
57291
57381
  QuestionRatingModel.prototype.dispose = function () {
57292
57382
  _super.prototype.dispose.call(this);
@@ -57465,7 +57555,14 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_2__["Serializer"].addClass("rating", [
57465
57555
  default: "auto",
57466
57556
  choices: ["auto", "buttons", "dropdown"],
57467
57557
  visibleIndex: 20
57468
- }
57558
+ },
57559
+ { name: "itemComponent", visible: false, defaultFunc: function (obj) {
57560
+ if (!obj)
57561
+ return "sv-rating-item";
57562
+ if (!!obj.getOriginalObj)
57563
+ obj = obj.getOriginalObj();
57564
+ return obj.getDefaultItemComponent();
57565
+ } }
57469
57566
  ], function () {
57470
57567
  return new QuestionRatingModel("");
57471
57568
  }, "question");
@@ -57590,16 +57687,10 @@ var QuestionSignaturePadModel = /** @class */ (function (_super) {
57590
57687
  this.destroySignaturePad(el);
57591
57688
  }
57592
57689
  };
57593
- QuestionSignaturePadModel.prototype.setSurveyImpl = function (value, isLight) {
57594
- var _this = this;
57595
- _super.prototype.setSurveyImpl.call(this, value, isLight);
57596
- if (!this.survey)
57597
- return;
57598
- this.survey.onThemeApplied.add(function (survey, options) {
57599
- if (!!_this.signaturePad) {
57600
- _this.updateColors(_this.signaturePad);
57601
- }
57602
- });
57690
+ QuestionSignaturePadModel.prototype.themeChanged = function (theme) {
57691
+ if (!!this.signaturePad) {
57692
+ this.updateColors(this.signaturePad);
57693
+ }
57603
57694
  };
57604
57695
  QuestionSignaturePadModel.prototype.initSignaturePad = function (el) {
57605
57696
  var _this = this;
@@ -58121,6 +58212,13 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
58121
58212
  _super.prototype.clearValue.call(this);
58122
58213
  this.dropdownListModel.clear();
58123
58214
  };
58215
+ Object.defineProperty(QuestionTagboxModel.prototype, "showClearButton", {
58216
+ get: function () {
58217
+ return this.allowClear && !this.isEmpty() && (!this.isDesignMode || _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].supportCreatorV2);
58218
+ },
58219
+ enumerable: false,
58220
+ configurable: true
58221
+ });
58124
58222
  Object.defineProperty(QuestionTagboxModel.prototype, "isNewA11yStructure", {
58125
58223
  //a11y
58126
58224
  get: function () {
@@ -58191,12 +58289,13 @@ _questionfactory__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.regist
58191
58289
  /*!******************************!*\
58192
58290
  !*** ./src/question_text.ts ***!
58193
58291
  \******************************/
58194
- /*! exports provided: QuestionTextModel */
58292
+ /*! exports provided: QuestionTextModel, isMinMaxType */
58195
58293
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
58196
58294
 
58197
58295
  "use strict";
58198
58296
  __webpack_require__.r(__webpack_exports__);
58199
58297
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionTextModel", function() { return QuestionTextModel; });
58298
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isMinMaxType", function() { return isMinMaxType; });
58200
58299
  /* harmony import */ var _questionfactory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./questionfactory */ "./src/questionfactory.ts");
58201
58300
  /* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
58202
58301
  /* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./localizablestring */ "./src/localizablestring.ts");
@@ -60261,7 +60360,7 @@ var CoverComponent = /** @class */ (function (_super) {
60261
60360
  }
60262
60361
  return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.coverClasses, style: { height: this.model.renderedHeight } },
60263
60362
  this.model.backgroundImage ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { style: this.model.backgroundImageStyle, className: this.model.backgroundImageClasses }) : null,
60264
- 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 }); }))));
60363
+ 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(CoverCellComponent, { key: index, model: cell }); }))));
60265
60364
  };
60266
60365
  return CoverComponent;
60267
60366
  }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"]));
@@ -62626,7 +62725,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
62626
62725
  SurveyQuestionDropdownBase.prototype.createClearButton = function () {
62627
62726
  if (!this.question.allowClear || !this.question.cssClasses.cleanButtonIconId)
62628
62727
  return null;
62629
- var style = { display: this.question.isEmpty() ? "none" : "" };
62728
+ var style = { display: !this.question.showClearButton ? "none" : "" };
62630
62729
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.cleanButton, style: style, onClick: this.clear },
62631
62730
  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" })));
62632
62731
  };
@@ -68171,7 +68270,7 @@ var SurveyQuestionRating = /** @class */ (function (_super) {
68171
68270
  this.setState({ value: this.question.value });
68172
68271
  };
68173
68272
  SurveyQuestionRating.prototype.renderItem = function (item, index) {
68174
- var renderedItem = _element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.createElement(this.question.itemComponentName, {
68273
+ var renderedItem = _element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.createElement(this.question.itemComponent, {
68175
68274
  question: this.question,
68176
68275
  item: item,
68177
68276
  index: index,
@@ -69720,6 +69819,12 @@ var settings = {
69720
69819
  notifications: {
69721
69820
  lifetime: 2000
69722
69821
  },
69822
+ /**
69823
+ * 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.
69824
+ *
69825
+ * Default value: 300
69826
+ */
69827
+ autoAdvanceDelay: 300,
69723
69828
  /**
69724
69829
  * 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).
69725
69830
  *
@@ -71678,6 +71783,7 @@ __webpack_require__.r(__webpack_exports__);
71678
71783
  /* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
71679
71784
  /* harmony import */ var _notifier__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./notifier */ "./src/notifier.ts");
71680
71785
  /* harmony import */ var _cover__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./cover */ "./src/cover.ts");
71786
+ /* harmony import */ var _surveytimer__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./surveytimer */ "./src/surveytimer.ts");
71681
71787
  var __extends = (undefined && undefined.__extends) || (function () {
71682
71788
  var extendStatics = function (d, b) {
71683
71789
  extendStatics = Object.setPrototypeOf ||
@@ -71718,6 +71824,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
71718
71824
 
71719
71825
 
71720
71826
 
71827
+
71721
71828
 
71722
71829
 
71723
71830
  /**
@@ -71734,12 +71841,6 @@ var SurveyModel = /** @class */ (function (_super) {
71734
71841
  var _this = _super.call(this) || this;
71735
71842
  _this.valuesHash = {};
71736
71843
  _this.variablesHash = {};
71737
- _this.onThemeApplying = new _base__WEBPACK_IMPORTED_MODULE_2__["EventBase"]();
71738
- /**
71739
- * An event that is raised after a [theme](/form-library/documentation/manage-default-themes-and-styles) is [applied](#applyTheme) to the survey.
71740
- * @see applyTheme
71741
- */
71742
- _this.onThemeApplied = new _base__WEBPACK_IMPORTED_MODULE_2__["EventBase"]();
71743
71844
  //#region Event declarations
71744
71845
  /**
71745
71846
  * An event that is raised after a [trigger](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#triggers) is executed.
@@ -73330,6 +73431,7 @@ var SurveyModel = /** @class */ (function (_super) {
73330
73431
  * > If any of the following questions is answered last, the survey does not switch to the next page: Checkboxes, Yes/No (Boolean) (rendered as Checkbox), Long Text, Signature, Image Picker (with Multi Select), File Upload, Single-Select Matrix (not all rows are answered), Dynamic Matrix, Dynamic Panel.
73331
73432
  *
73332
73433
  * [View Demo](https://surveyjs.io/form-library/examples/automatically-move-to-next-page-if-answer-selected/ (linkStyle))
73434
+ * @see [`settings.autoAdvanceDelay`](https://surveyjs.io/form-library/documentation/api-reference/settings#autoAdvanceDelay)
73333
73435
  */
73334
73436
  get: function () {
73335
73437
  return this.getPropertyValue("goNextPageAutomatic");
@@ -73345,6 +73447,7 @@ var SurveyModel = /** @class */ (function (_super) {
73345
73447
  * Specifies whether to complete the survey automatically after a user answers all questions on the last page. Applies only if the [`goNextPageAutomatic`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#goNextPageAutomatic) property is `true`.
73346
73448
  *
73347
73449
  * Default value: `true`
73450
+ * @see [`settings.autoAdvanceDelay`](https://surveyjs.io/form-library/documentation/api-reference/settings#autoAdvanceDelay)
73348
73451
  */
73349
73452
  get: function () {
73350
73453
  return this.getPropertyValue("allowCompleteSurveyAutomatic", true);
@@ -73907,7 +74010,7 @@ var SurveyModel = /** @class */ (function (_super) {
73907
74010
  if (this._isMobile !== newVal) {
73908
74011
  this._isMobile = newVal;
73909
74012
  this.updateCss();
73910
- this.getAllQuestions().map(function (q) { return q.setIsMobile(newVal); });
74013
+ this.getAllQuestions().forEach(function (q) { return q.setIsMobile(newVal); });
73911
74014
  }
73912
74015
  };
73913
74016
  Object.defineProperty(SurveyModel.prototype, "isMobile", {
@@ -78505,6 +78608,7 @@ var SurveyModel = /** @class */ (function (_super) {
78505
78608
  return baseName + index;
78506
78609
  };
78507
78610
  SurveyModel.prototype.tryGoNextPageAutomatic = function (name) {
78611
+ var _this = this;
78508
78612
  if (!!this.isEndLoadingFromJson ||
78509
78613
  !this.goNextPageAutomatic ||
78510
78614
  !this.currentPage)
@@ -78523,22 +78627,24 @@ var SurveyModel = /** @class */ (function (_super) {
78523
78627
  if (questions[i].hasInput && questions[i].isEmpty())
78524
78628
  return;
78525
78629
  }
78526
- if (!this.checkIsCurrentPageHasErrors(false)) {
78527
- if (!this.isLastPage) {
78528
- this.nextPage();
78630
+ if (this.isLastPage && (this.goNextPageAutomatic !== true || !this.allowCompleteSurveyAutomatic))
78631
+ return;
78632
+ if (this.checkIsCurrentPageHasErrors(false))
78633
+ return;
78634
+ var goNextPage = function () {
78635
+ if (!_this.isLastPage) {
78636
+ _this.nextPage();
78529
78637
  }
78530
78638
  else {
78531
- if (this.goNextPageAutomatic === true &&
78532
- this.allowCompleteSurveyAutomatic) {
78533
- if (this.isShowPreviewBeforeComplete) {
78534
- this.showPreview();
78535
- }
78536
- else {
78537
- this.completeLastPage();
78538
- }
78639
+ if (_this.isShowPreviewBeforeComplete) {
78640
+ _this.showPreview();
78641
+ }
78642
+ else {
78643
+ _this.completeLastPage();
78539
78644
  }
78540
78645
  }
78541
- }
78646
+ };
78647
+ _surveytimer__WEBPACK_IMPORTED_MODULE_21__["surveyTimerFunctions"].safeTimeOut(goNextPage, _settings__WEBPACK_IMPORTED_MODULE_14__["settings"].autoAdvanceDelay);
78542
78648
  };
78543
78649
  /**
78544
78650
  * Returns a comment value from a question with a specified `name`.
@@ -79544,7 +79650,6 @@ var SurveyModel = /** @class */ (function (_super) {
79544
79650
  *
79545
79651
  * [Themes & Styles](/form-library/documentation/manage-default-themes-and-styles (linkStyle))
79546
79652
  * @param theme An [`ITheme`](/form-library/documentation/api-reference/itheme) object with theme settings.
79547
- * @see onThemeApplied
79548
79653
  */
79549
79654
  SurveyModel.prototype.applyTheme = function (theme) {
79550
79655
  var _this = this;
@@ -79569,7 +79674,10 @@ var SurveyModel = /** @class */ (function (_super) {
79569
79674
  _this[key] = theme[key];
79570
79675
  }
79571
79676
  });
79572
- this.onThemeApplied.fire(this, { theme: theme });
79677
+ this.themeChanged(theme);
79678
+ };
79679
+ SurveyModel.prototype.themeChanged = function (theme) {
79680
+ this.getAllQuestions().forEach(function (q) { return q.themeChanged(theme); });
79573
79681
  };
79574
79682
  /**
79575
79683
  * Disposes of the survey model.
@@ -80467,6 +80575,7 @@ var TOCModel = /** @class */ (function () {
80467
80575
  };
80468
80576
  this.listModel = createTOCListModel(survey, function () { _this.popupModel.isVisible = false; });
80469
80577
  this.popupModel = new _popup__WEBPACK_IMPORTED_MODULE_4__["PopupModel"]("sv-list", { model: this.listModel });
80578
+ this.popupModel.overlayDisplayMode = "overlay";
80470
80579
  this.popupModel.displayMode = new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return _this.isMobile ? "overlay" : "popup"; });
80471
80580
  }
80472
80581
  Object.defineProperty(TOCModel.prototype, "isMobile", {
@@ -80509,15 +80618,22 @@ __webpack_require__.r(__webpack_exports__);
80509
80618
 
80510
80619
  var surveyTimerFunctions = {
80511
80620
  setTimeout: function (func) {
80512
- if (typeof window === "undefined")
80513
- return 0;
80514
- return window.setTimeout(func, 1000);
80621
+ return surveyTimerFunctions.safeTimeOut(func, 1000);
80515
80622
  },
80516
80623
  clearTimeout: function (timerId) {
80517
80624
  if (typeof window === "undefined")
80518
80625
  return;
80519
80626
  window.clearTimeout(timerId);
80520
80627
  },
80628
+ safeTimeOut: function (func, delay) {
80629
+ if (typeof window === "undefined" || delay <= 0) {
80630
+ func();
80631
+ return 0;
80632
+ }
80633
+ else {
80634
+ return window.setTimeout(func, delay);
80635
+ }
80636
+ }
80521
80637
  };
80522
80638
  var SurveyTimer = /** @class */ (function () {
80523
80639
  function SurveyTimer() {