survey-react 1.9.88 → 1.9.89

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.88
2
+ * surveyjs - Survey JavaScript library v1.9.89
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
  */
@@ -5840,7 +5840,7 @@ var defaultV2Css = {
5840
5840
  },
5841
5841
  boolean: {
5842
5842
  mainRoot: "sd-element sd-question sd-row__question sd-question--boolean",
5843
- root: "sv_qcbc sv_qbln sd-scrollable-container",
5843
+ root: "sv_qcbc sv_qbln sd-scrollable-container sd-boolean-root",
5844
5844
  rootRadio: "sv_qcbc sv_qbln sd-scrollable-container sd-scrollable-container--compact",
5845
5845
  item: "sd-boolean",
5846
5846
  itemOnError: "sd-boolean--error",
@@ -9215,7 +9215,7 @@ __webpack_require__.r(__webpack_exports__);
9215
9215
  /*!*************************************!*\
9216
9216
  !*** ./src/entries/chunks/model.ts ***!
9217
9217
  \*************************************/
9218
- /*! exports provided: Version, checkLibraryVersion, 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, QuestionMultipleTextModel, 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, createTOCListModel, getTocRootCss, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, 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, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropSurveyElements, DragDropChoices */
9218
+ /*! exports provided: Version, checkLibraryVersion, 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, 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, createTOCListModel, getTocRootCss, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, 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, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropSurveyElements, DragDropChoices */
9219
9219
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9220
9220
 
9221
9221
  "use strict";
@@ -9404,6 +9404,8 @@ __webpack_require__.r(__webpack_exports__);
9404
9404
 
9405
9405
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_25__["QuestionMultipleTextModel"]; });
9406
9406
 
9407
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_25__["MultipleTextEditorModel"]; });
9408
+
9407
9409
  /* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../panel */ "./src/panel.ts");
9408
9410
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return _panel__WEBPACK_IMPORTED_MODULE_26__["PanelModel"]; });
9409
9411
 
@@ -9659,7 +9661,7 @@ __webpack_require__.r(__webpack_exports__);
9659
9661
  // import "../../main.scss";
9660
9662
  //import "../../modern.scss";
9661
9663
  var Version;
9662
- Version = "" + "1.9.88";
9664
+ Version = "" + "1.9.89";
9663
9665
  function checkLibraryVersion(ver, libraryName) {
9664
9666
  if (Version != ver) {
9665
9667
  var str = "survey-core has version '" + Version + "' and " + libraryName
@@ -9764,7 +9766,7 @@ function checkLibraryVersion(ver, libraryName) {
9764
9766
  /*!**************************************!*\
9765
9767
  !*** ./src/entries/core-wo-model.ts ***!
9766
9768
  \**************************************/
9767
- /*! exports provided: Version, checkLibraryVersion, 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, QuestionMultipleTextModel, 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, createTOCListModel, getTocRootCss, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, 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, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropSurveyElements, DragDropChoices, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, TooltipManager, DragOrClickHelper */
9769
+ /*! exports provided: Version, checkLibraryVersion, 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, 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, createTOCListModel, getTocRootCss, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, 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, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropSurveyElements, DragDropChoices, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, TooltipManager, DragOrClickHelper */
9768
9770
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9769
9771
 
9770
9772
  "use strict";
@@ -9930,6 +9932,8 @@ __webpack_require__.r(__webpack_exports__);
9930
9932
 
9931
9933
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["QuestionMultipleTextModel"]; });
9932
9934
 
9935
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["MultipleTextEditorModel"]; });
9936
+
9933
9937
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["PanelModel"]; });
9934
9938
 
9935
9939
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModelBase", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["PanelModelBase"]; });
@@ -10199,7 +10203,7 @@ __webpack_require__.r(__webpack_exports__);
10199
10203
  /*!*****************************!*\
10200
10204
  !*** ./src/entries/core.ts ***!
10201
10205
  \*****************************/
10202
- /*! exports provided: Version, checkLibraryVersion, 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, QuestionMultipleTextModel, 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, createTOCListModel, getTocRootCss, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, 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, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropSurveyElements, DragDropChoices, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, TooltipManager, DragOrClickHelper, Model */
10206
+ /*! exports provided: Version, checkLibraryVersion, 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, 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, createTOCListModel, getTocRootCss, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, 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, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropSurveyElements, DragDropChoices, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, TooltipManager, DragOrClickHelper, Model */
10203
10207
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10204
10208
 
10205
10209
  "use strict";
@@ -10365,6 +10369,8 @@ __webpack_require__.r(__webpack_exports__);
10365
10369
 
10366
10370
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["QuestionMultipleTextModel"]; });
10367
10371
 
10372
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["MultipleTextEditorModel"]; });
10373
+
10368
10374
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["PanelModel"]; });
10369
10375
 
10370
10376
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModelBase", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["PanelModelBase"]; });
@@ -10994,7 +11000,7 @@ __webpack_require__.r(__webpack_exports__);
10994
11000
  /*!******************************!*\
10995
11001
  !*** ./src/entries/react.ts ***!
10996
11002
  \******************************/
10997
- /*! exports provided: Version, checkLibraryVersion, 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, QuestionMultipleTextModel, 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, createTOCListModel, getTocRootCss, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, 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, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropSurveyElements, DragDropChoices, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, TooltipManager, 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, 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, SurveyLocStringViewer, SurveyLocStringEditor */
11003
+ /*! exports provided: Version, checkLibraryVersion, 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, 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, createTOCListModel, getTocRootCss, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, 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, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropSurveyElements, DragDropChoices, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, TooltipManager, 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, 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, SurveyLocStringViewer, SurveyLocStringEditor */
10998
11004
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10999
11005
 
11000
11006
  "use strict";
@@ -11160,6 +11166,8 @@ __webpack_require__.r(__webpack_exports__);
11160
11166
 
11161
11167
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["QuestionMultipleTextModel"]; });
11162
11168
 
11169
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["MultipleTextEditorModel"]; });
11170
+
11163
11171
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["PanelModel"]; });
11164
11172
 
11165
11173
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModelBase", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["PanelModelBase"]; });
@@ -18340,14 +18348,25 @@ var JsonObjectProperty = /** @class */ (function () {
18340
18348
  return !!this.dependedProperties ? this.dependedProperties : [];
18341
18349
  };
18342
18350
  JsonObjectProperty.prototype.schemaType = function () {
18351
+ if (this.className === "choicesByUrl")
18352
+ return undefined;
18353
+ if (this.className === "string")
18354
+ return this.className;
18343
18355
  if (!!this.className)
18344
18356
  return "array";
18345
18357
  if (!!this.baseClassName)
18346
18358
  return "array";
18359
+ if (this.type == "switch")
18360
+ return "boolean";
18347
18361
  if (this.type == "boolean" || this.type == "number")
18348
18362
  return this.type;
18349
18363
  return "string";
18350
18364
  };
18365
+ JsonObjectProperty.prototype.schemaRef = function () {
18366
+ if (!!this.className)
18367
+ return this.className;
18368
+ return undefined;
18369
+ };
18351
18370
  JsonObjectProperty.prototype.mergeValue = function (prop, valueName) {
18352
18371
  if (this[valueName] == null && prop[valueName] != null) {
18353
18372
  this[valueName] = prop[valueName];
@@ -19187,27 +19206,85 @@ var JsonMetadata = /** @class */ (function () {
19187
19206
  title: "SurveyJS Library json schema",
19188
19207
  type: "object",
19189
19208
  properties: {},
19190
- definitions: {},
19209
+ definitions: { locstring: this.generateLocStrClass() },
19191
19210
  };
19192
- this.generateSchemaProperties(classInfo, res.properties, res.definitions);
19211
+ this.generateSchemaProperties(classInfo, res, res.definitions, true);
19193
19212
  return res;
19194
19213
  };
19195
- JsonMetadata.prototype.generateSchemaProperties = function (classInfo, schemaProperties, schemaDef) {
19214
+ JsonMetadata.prototype.generateLocStrClass = function () {
19215
+ var props = {};
19216
+ var locProp = Serializer.findProperty("survey", "locale");
19217
+ if (!!locProp) {
19218
+ var choices = locProp.getChoices(null);
19219
+ if (Array.isArray(choices)) {
19220
+ if (choices.indexOf("en") < 0) {
19221
+ choices.splice(0, 0, "en");
19222
+ }
19223
+ choices.splice(0, 0, "default");
19224
+ choices.forEach(function (l) { if (!!l) {
19225
+ props[l] = { type: "string" };
19226
+ } });
19227
+ }
19228
+ }
19229
+ return {
19230
+ $id: "#locstring",
19231
+ type: "object",
19232
+ properties: props
19233
+ };
19234
+ };
19235
+ JsonMetadata.prototype.generateSchemaProperties = function (classInfo, classSchema, schemaDef, isRoot) {
19196
19236
  if (!classInfo)
19197
19237
  return;
19238
+ var schemaProperties = classSchema.properties;
19239
+ var requiredProps = [];
19240
+ if (classInfo.name === "question" || classInfo.name === "panel") {
19241
+ schemaProperties.type = { type: "string" };
19242
+ requiredProps.push("type");
19243
+ }
19198
19244
  for (var i = 0; i < classInfo.properties.length; i++) {
19199
19245
  var prop = classInfo.properties[i];
19200
- schemaProperties[prop.name] = this.generateSchemaProperty(prop, schemaDef);
19246
+ if (!!classInfo.parentName && !!Serializer.findProperty(classInfo.parentName, prop.name))
19247
+ continue;
19248
+ schemaProperties[prop.name] = this.generateSchemaProperty(prop, schemaDef, isRoot);
19249
+ if (prop.isRequired)
19250
+ requiredProps.push(prop.name);
19251
+ }
19252
+ if (requiredProps.length > 0) {
19253
+ classSchema.required = requiredProps;
19201
19254
  }
19202
19255
  };
19203
- JsonMetadata.prototype.generateSchemaProperty = function (prop, schemaDef) {
19204
- var res = { type: prop.schemaType() };
19256
+ JsonMetadata.prototype.generateSchemaProperty = function (prop, schemaDef, isRoot) {
19257
+ if (prop.isLocalizable) {
19258
+ return { oneOf: [
19259
+ { "type": "string" },
19260
+ { "$ref": this.getChemeRefName("locstring", isRoot) }
19261
+ ] };
19262
+ }
19263
+ var propType = prop.schemaType();
19264
+ var refType = prop.schemaRef();
19265
+ var res = {};
19266
+ if (!!propType) {
19267
+ res.type = propType;
19268
+ }
19205
19269
  if (prop.hasChoices) {
19206
- res.enum = prop.getChoices(null);
19270
+ var enumRes = prop.getChoices(null);
19271
+ if (Array.isArray(enumRes) && enumRes.length > 0) {
19272
+ res.enum = enumRes;
19273
+ }
19207
19274
  }
19208
- if (!!prop.className) {
19209
- res.items = { $ref: "#" + prop.className };
19210
- this.generateChemaClass(prop.className, schemaDef);
19275
+ if (!!refType) {
19276
+ if (propType === "array") {
19277
+ if (prop.className === "string") {
19278
+ res.items = { type: prop.className };
19279
+ }
19280
+ else {
19281
+ res.items = { $ref: this.getChemeRefName(prop.className, isRoot) };
19282
+ }
19283
+ }
19284
+ else {
19285
+ res["$ref"] = this.getChemeRefName(refType, isRoot);
19286
+ }
19287
+ this.generateChemaClass(prop.className, schemaDef, false);
19211
19288
  }
19212
19289
  if (!!prop.baseClassName) {
19213
19290
  var usedClasses = this.getChildrenClasses(prop.baseClassName, true);
@@ -19217,13 +19294,16 @@ var JsonMetadata = /** @class */ (function () {
19217
19294
  res.items = [];
19218
19295
  for (var i = 0; i < usedClasses.length; i++) {
19219
19296
  var className = usedClasses[i].name;
19220
- res.items.push({ $ref: "#" + className });
19221
- this.generateChemaClass(className, schemaDef);
19297
+ res.items.push({ $ref: this.getChemeRefName(className, isRoot) });
19298
+ this.generateChemaClass(className, schemaDef, false);
19222
19299
  }
19223
19300
  }
19224
19301
  return res;
19225
19302
  };
19226
- JsonMetadata.prototype.generateChemaClass = function (className, schemaDef) {
19303
+ JsonMetadata.prototype.getChemeRefName = function (className, isRoot) {
19304
+ return isRoot ? "#/definitions/" + className : className + "#";
19305
+ };
19306
+ JsonMetadata.prototype.generateChemaClass = function (className, schemaDef, isRoot) {
19227
19307
  if (!!schemaDef[className])
19228
19308
  return;
19229
19309
  var classInfo = this.findClass(className);
@@ -19231,52 +19311,26 @@ var JsonMetadata = /** @class */ (function () {
19231
19311
  return;
19232
19312
  var hasParent = !!classInfo.parentName && classInfo.parentName != "base";
19233
19313
  if (hasParent) {
19234
- this.generateChemaClass(classInfo.parentName, schemaDef);
19314
+ this.generateChemaClass(classInfo.parentName, schemaDef, isRoot);
19235
19315
  }
19236
- var res = { type: "object", $id: "#" + className };
19316
+ var id = isRoot ? className : "#" + className;
19317
+ var res = { type: "object", $id: id };
19237
19318
  schemaDef[className] = res;
19238
- var props = {};
19239
- this.generateSchemaProperties(classInfo, props, schemaDef);
19319
+ var chemaProps = { properties: {} };
19320
+ this.generateSchemaProperties(classInfo, chemaProps, schemaDef, isRoot);
19240
19321
  if (hasParent) {
19241
19322
  res.allOf = [
19242
- { $ref: "#" + classInfo.parentName },
19243
- { properties: props },
19323
+ { $ref: this.getChemeRefName(classInfo.parentName, isRoot) },
19324
+ { properties: chemaProps.properties },
19244
19325
  ];
19245
19326
  }
19246
19327
  else {
19247
- res.properties = props;
19248
- }
19249
- };
19250
- JsonMetadata.prototype.fillProperties = function (name, list, hash) {
19251
- var metaDataClass = this.findClass(name);
19252
- if (!metaDataClass)
19253
- return;
19254
- if (metaDataClass.parentName) {
19255
- this.fillProperties(metaDataClass.parentName, list, hash);
19328
+ res.properties = chemaProps.properties;
19256
19329
  }
19257
- for (var i = 0; i < metaDataClass.properties.length; i++) {
19258
- var prop = metaDataClass.properties[i];
19259
- this.addPropertyCore(prop, list, hash);
19260
- hash[prop.name] = prop;
19261
- if (prop.alternativeName)
19262
- hash[prop.alternativeName] = prop;
19330
+ if (Array.isArray(chemaProps.required)) {
19331
+ res.required = chemaProps.required;
19263
19332
  }
19264
19333
  };
19265
- JsonMetadata.prototype.addPropertyCore = function (property, list, hash) {
19266
- if (!hash[property.name]) {
19267
- list.push(property);
19268
- return;
19269
- }
19270
- var index = -1;
19271
- for (var i = 0; i < list.length; i++) {
19272
- if (list[i].name == property.name || list[i].alternativeName == property.name) {
19273
- index = i;
19274
- break;
19275
- }
19276
- }
19277
- property.mergeWith(list[index]);
19278
- list[index] = property;
19279
- };
19280
19334
  return JsonMetadata;
19281
19335
  }());
19282
19336
 
@@ -21549,7 +21603,7 @@ var englishStrings = {
21549
21603
  loadingFile: "Loading...",
21550
21604
  chooseFile: "Choose file(s)...",
21551
21605
  noFileChosen: "No file chosen",
21552
- fileDragAreaPlaceholder: "Drop a file here or click the button below to load the file.",
21606
+ fileDragAreaPlaceholder: "Drag and drop a file here or click the button below and choose a file to upload.",
21553
21607
  confirmDelete: "Do you want to delete the record?",
21554
21608
  keyDuplicationError: "This value should be unique.",
21555
21609
  addColumn: "Add Column",
@@ -31736,6 +31790,13 @@ var Question = /** @class */ (function (_super) {
31736
31790
  enumerable: false,
31737
31791
  configurable: true
31738
31792
  });
31793
+ Object.defineProperty(Question.prototype, "ariaExpanded", {
31794
+ get: function () {
31795
+ return null;
31796
+ },
31797
+ enumerable: false,
31798
+ configurable: true
31799
+ });
31739
31800
  Object.defineProperty(Question.prototype, "ariaDescribedBy", {
31740
31801
  get: function () {
31741
31802
  return this.errors.length > 0 ? this.id + "_errors" : null;
@@ -36269,7 +36330,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("selectbase", [
36269
36330
  },
36270
36331
  {
36271
36332
  name: "choicesByUrl:restfull",
36272
- className: "ChoicesRestful",
36333
+ className: "choicesByUrl",
36273
36334
  onGetValue: function (obj) {
36274
36335
  return obj.choicesByUrl.getData();
36275
36336
  },
@@ -38456,11 +38517,9 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
38456
38517
  return this.textProcessing;
38457
38518
  };
38458
38519
  QuestionCompositeModel.prototype.findQuestionByName = function (name) {
38459
- if (!!this.contentPanel) {
38460
- var res = this.contentPanel.getQuestionByName(name);
38461
- if (!!res)
38462
- return res;
38463
- }
38520
+ var res = this.getQuestionByName(name);
38521
+ if (!!res)
38522
+ return res;
38464
38523
  return _super.prototype.findQuestionByName.call(this, name);
38465
38524
  };
38466
38525
  QuestionCompositeModel.prototype.clearValueIfInvisibleCore = function () {
@@ -38567,15 +38626,16 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
38567
38626
  this.setValueCore(panelValue);
38568
38627
  }
38569
38628
  }
38629
+ this.setNewValueIntoQuestion(name, newValue);
38570
38630
  _super.prototype.setValue.call(this, name, newValue, locNotification, allowNotifyValueChanged);
38571
- if (!!this.contentPanel) {
38572
- var q = this.contentPanel.getQuestionByName(name);
38573
- if (!!q && !this.isTwoValueEquals(newValue, q.value)) {
38574
- q.value = newValue;
38575
- }
38576
- }
38577
38631
  this.settingNewValue = false;
38578
38632
  };
38633
+ QuestionCompositeModel.prototype.setNewValueIntoQuestion = function (name, newValue) {
38634
+ var q = this.getQuestionByName(name);
38635
+ if (!!q && !this.isTwoValueEquals(newValue, q.value)) {
38636
+ q.value = newValue;
38637
+ }
38638
+ };
38579
38639
  QuestionCompositeModel.prototype.addConditionObjectsByContext = function (objects, context) {
38580
38640
  if (!this.contentPanel)
38581
38641
  return;
@@ -38604,7 +38664,15 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
38604
38664
  };
38605
38665
  QuestionCompositeModel.prototype.setQuestionValue = function (newValue, updateIsAnswered) {
38606
38666
  if (updateIsAnswered === void 0) { updateIsAnswered = true; }
38667
+ this.setValuesIntoQuestions(newValue);
38668
+ if (!this.isEditingSurveyElement && !!this.contentPanel) {
38669
+ newValue = this.contentPanel.getValue();
38670
+ }
38607
38671
  _super.prototype.setQuestionValue.call(this, newValue, updateIsAnswered);
38672
+ };
38673
+ QuestionCompositeModel.prototype.setValuesIntoQuestions = function (newValue) {
38674
+ if (!this.contentPanel)
38675
+ return;
38608
38676
  this.settingNewValue = true;
38609
38677
  var questions = this.contentPanel.questions;
38610
38678
  for (var i = 0; i < questions.length; i++) {
@@ -38615,6 +38683,7 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
38615
38683
  q.value = val;
38616
38684
  }
38617
38685
  }
38686
+ this.runCondition(this.getDataFilteredValues(), this.getDataFilteredProperties());
38618
38687
  this.settingNewValue = false;
38619
38688
  };
38620
38689
  QuestionCompositeModel.prototype.getDisplayValueCore = function (keyAsText, value) {
@@ -38971,7 +39040,8 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
38971
39040
  });
38972
39041
  Object.defineProperty(QuestionDropdownModel.prototype, "ariaExpanded", {
38973
39042
  get: function () {
38974
- return this.popupModel.isVisible;
39043
+ var popupModel = this.popupModel;
39044
+ return !!popupModel && popupModel.isVisible ? "true" : "false";
38975
39045
  },
38976
39046
  enumerable: false,
38977
39047
  configurable: true
@@ -47769,11 +47839,12 @@ _questionfactory__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.regist
47769
47839
  /*!**************************************!*\
47770
47840
  !*** ./src/question_multipletext.ts ***!
47771
47841
  \**************************************/
47772
- /*! exports provided: MultipleTextItemModel, QuestionMultipleTextModel */
47842
+ /*! exports provided: MultipleTextEditorModel, MultipleTextItemModel, QuestionMultipleTextModel */
47773
47843
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
47774
47844
 
47775
47845
  "use strict";
47776
47846
  __webpack_require__.r(__webpack_exports__);
47847
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return MultipleTextEditorModel; });
47777
47848
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MultipleTextItemModel", function() { return MultipleTextItemModel; });
47778
47849
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return QuestionMultipleTextModel; });
47779
47850
  /* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
@@ -47809,6 +47880,28 @@ var __extends = (undefined && undefined.__extends) || (function () {
47809
47880
 
47810
47881
 
47811
47882
 
47883
+ var MultipleTextEditorModel = /** @class */ (function (_super) {
47884
+ __extends(MultipleTextEditorModel, _super);
47885
+ function MultipleTextEditorModel() {
47886
+ return _super !== null && _super.apply(this, arguments) || this;
47887
+ }
47888
+ Object.defineProperty(MultipleTextEditorModel.prototype, "a11y_input_ariaLabel", {
47889
+ get: function () {
47890
+ return this.locTitle.renderedHtml;
47891
+ },
47892
+ enumerable: false,
47893
+ configurable: true
47894
+ });
47895
+ Object.defineProperty(MultipleTextEditorModel.prototype, "a11y_input_ariaLabelledBy", {
47896
+ get: function () {
47897
+ return null;
47898
+ },
47899
+ enumerable: false,
47900
+ configurable: true
47901
+ });
47902
+ return MultipleTextEditorModel;
47903
+ }(_question_text__WEBPACK_IMPORTED_MODULE_3__["QuestionTextModel"]));
47904
+
47812
47905
  /**
47813
47906
  * A class that describes an item in a [Multiple Text](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question.
47814
47907
  *
@@ -47871,7 +47964,7 @@ var MultipleTextItemModel = /** @class */ (function (_super) {
47871
47964
  configurable: true
47872
47965
  });
47873
47966
  MultipleTextItemModel.prototype.createEditor = function (name) {
47874
- return new _question_text__WEBPACK_IMPORTED_MODULE_3__["QuestionTextModel"](name);
47967
+ return new MultipleTextEditorModel(name);
47875
47968
  };
47876
47969
  MultipleTextItemModel.prototype.addUsedLocales = function (locales) {
47877
47970
  _super.prototype.addUsedLocales.call(this, locales);
@@ -49240,6 +49333,8 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
49240
49333
  * @see renderMode
49241
49334
  */
49242
49335
  get: function () {
49336
+ if (this.isDesignMode)
49337
+ return this.template;
49243
49338
  if (this.isRenderModeList || this.useTemplatePanel)
49244
49339
  return null;
49245
49340
  var res = this.getPropertyValue("currentPanel", null);
@@ -51069,6 +51164,16 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
51069
51164
  enumerable: false,
51070
51165
  configurable: true
51071
51166
  });
51167
+ Object.defineProperty(QuestionPanelDynamicModel.prototype, "showNavigation", {
51168
+ get: function () {
51169
+ return this.visiblePanelCount > 0 && !this.showLegacyNavigation && !!this.cssClasses.footer;
51170
+ },
51171
+ enumerable: false,
51172
+ configurable: true
51173
+ });
51174
+ QuestionPanelDynamicModel.prototype.showSeparator = function (index) {
51175
+ return this.isRenderModeList && index < this.visiblePanelCount - 1;
51176
+ };
51072
51177
  QuestionPanelDynamicModel.maxCheckCount = 3;
51073
51178
  __decorate([
51074
51179
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_5__["property"])({ defaultValue: false, onSet: function (_, target) { target.updateFooterActions(); } })
@@ -52490,6 +52595,17 @@ var QuestionRatingModel = /** @class */ (function (_super) {
52490
52595
  QuestionRatingModel.prototype.getDesktopRenderAs = function () {
52491
52596
  return (this.displayMode == "dropdown") ? "dropdown" : "default";
52492
52597
  };
52598
+ Object.defineProperty(QuestionRatingModel.prototype, "ariaExpanded", {
52599
+ get: function () {
52600
+ var _a;
52601
+ var popupModel = (_a = this.dropdownListModel) === null || _a === void 0 ? void 0 : _a.popupModel;
52602
+ if (!popupModel)
52603
+ return null;
52604
+ return popupModel.isVisible ? "true" : "false";
52605
+ },
52606
+ enumerable: false,
52607
+ configurable: true
52608
+ });
52493
52609
  Object.defineProperty(QuestionRatingModel.prototype, "dropdownListModel", {
52494
52610
  get: function () {
52495
52611
  return this.dropdownListModelValue;
@@ -52677,14 +52793,18 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_2__["Serializer"].addClass("rating", [
52677
52793
  serializationProperty: "locMaxRateDescription",
52678
52794
  visibleIndex: 18
52679
52795
  },
52680
- { name: "displayRateDescriptionsAsExtremeItems:boolean", default: false, visibleIndex: 19 },
52796
+ {
52797
+ name: "displayRateDescriptionsAsExtremeItems:boolean",
52798
+ default: false,
52799
+ visibleIndex: 19,
52800
+ visibleIf: function (obj) {
52801
+ return obj.rateType == "labels";
52802
+ }
52803
+ },
52681
52804
  {
52682
52805
  name: "displayMode",
52683
52806
  default: "auto",
52684
52807
  choices: ["auto", "buttons", "dropdown"],
52685
- visibleIf: function (obj) {
52686
- return obj.rateType == "labels";
52687
- },
52688
52808
  visibleIndex: 20
52689
52809
  }
52690
52810
  ], function () {
@@ -53166,7 +53286,8 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
53166
53286
  });
53167
53287
  Object.defineProperty(QuestionTagboxModel.prototype, "ariaExpanded", {
53168
53288
  get: function () {
53169
- return this.popupModel.isVisible;
53289
+ var popupModel = this.popupModel;
53290
+ return !!popupModel && popupModel.isVisible ? "true" : "false";
53170
53291
  },
53171
53292
  enumerable: false,
53172
53293
  configurable: true
@@ -54233,6 +54354,11 @@ var QuestionTextBase = /** @class */ (function (_super) {
54233
54354
  _super.prototype.setNewValue.call(this, newValue);
54234
54355
  this.updateRemainingCharacterCounter(newValue);
54235
54356
  };
54357
+ QuestionTextBase.prototype.setQuestionValue = function (newValue, updateIsAnswered) {
54358
+ if (updateIsAnswered === void 0) { updateIsAnswered = true; }
54359
+ _super.prototype.setQuestionValue.call(this, newValue, updateIsAnswered);
54360
+ this.updateRemainingCharacterCounter(newValue);
54361
+ };
54236
54362
  QuestionTextBase.prototype.getControlClass = function () {
54237
54363
  return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]()
54238
54364
  .append(this.cssClasses.root)
@@ -54241,12 +54367,100 @@ var QuestionTextBase = /** @class */ (function (_super) {
54241
54367
  .toString();
54242
54368
  };
54243
54369
  Object.defineProperty(QuestionTextBase.prototype, "ariaRole", {
54370
+ //a11y
54371
+ get: function () {
54372
+ return null;
54373
+ },
54374
+ enumerable: false,
54375
+ configurable: true
54376
+ });
54377
+ Object.defineProperty(QuestionTextBase.prototype, "ariaRequired", {
54378
+ get: function () {
54379
+ return null;
54380
+ },
54381
+ enumerable: false,
54382
+ configurable: true
54383
+ });
54384
+ Object.defineProperty(QuestionTextBase.prototype, "ariaInvalid", {
54385
+ get: function () {
54386
+ return null;
54387
+ },
54388
+ enumerable: false,
54389
+ configurable: true
54390
+ });
54391
+ Object.defineProperty(QuestionTextBase.prototype, "ariaLabel", {
54392
+ get: function () {
54393
+ return null;
54394
+ },
54395
+ enumerable: false,
54396
+ configurable: true
54397
+ });
54398
+ Object.defineProperty(QuestionTextBase.prototype, "ariaLabelledBy", {
54399
+ get: function () {
54400
+ return null;
54401
+ },
54402
+ enumerable: false,
54403
+ configurable: true
54404
+ });
54405
+ Object.defineProperty(QuestionTextBase.prototype, "ariaDescribedBy", {
54406
+ get: function () {
54407
+ return null;
54408
+ },
54409
+ enumerable: false,
54410
+ configurable: true
54411
+ });
54412
+ Object.defineProperty(QuestionTextBase.prototype, "a11y_input_ariaRole", {
54244
54413
  get: function () {
54245
54414
  return "textbox";
54246
54415
  },
54247
54416
  enumerable: false,
54248
54417
  configurable: true
54249
54418
  });
54419
+ Object.defineProperty(QuestionTextBase.prototype, "a11y_input_ariaRequired", {
54420
+ get: function () {
54421
+ return this.isRequired ? "true" : "false";
54422
+ },
54423
+ enumerable: false,
54424
+ configurable: true
54425
+ });
54426
+ Object.defineProperty(QuestionTextBase.prototype, "a11y_input_ariaInvalid", {
54427
+ get: function () {
54428
+ return this.errors.length > 0 ? "true" : "false";
54429
+ },
54430
+ enumerable: false,
54431
+ configurable: true
54432
+ });
54433
+ Object.defineProperty(QuestionTextBase.prototype, "a11y_input_ariaLabel", {
54434
+ get: function () {
54435
+ if (this.hasTitle) {
54436
+ return null;
54437
+ }
54438
+ else {
54439
+ return this.locTitle.renderedHtml;
54440
+ }
54441
+ },
54442
+ enumerable: false,
54443
+ configurable: true
54444
+ });
54445
+ Object.defineProperty(QuestionTextBase.prototype, "a11y_input_ariaLabelledBy", {
54446
+ get: function () {
54447
+ if (this.hasTitle) {
54448
+ return this.ariaTitleId;
54449
+ }
54450
+ else {
54451
+ return null;
54452
+ }
54453
+ },
54454
+ enumerable: false,
54455
+ configurable: true
54456
+ });
54457
+ Object.defineProperty(QuestionTextBase.prototype, "a11y_input_ariaDescribedBy", {
54458
+ get: function () {
54459
+ return this.errors.length > 0 ? this.id + "_errors" : null;
54460
+ },
54461
+ enumerable: false,
54462
+ configurable: true
54463
+ });
54250
54464
  __decorate([
54251
54465
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ localizable: true, onSet: function (val, target) { return target.calcRenderedPlaceholder(); } })
54252
54466
  ], QuestionTextBase.prototype, "placeholder", void 0);
@@ -57423,7 +57637,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
57423
57637
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.inputReadOnly ? undefined : 0, onClick: this.click,
57424
57638
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
57425
57639
  // @ts-ignore
57426
- disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy, "aria-expanded": this.question.ariaExpanded ? "true" : "false", "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
57640
+ disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy, "aria-expanded": this.question.ariaExpanded === null ? undefined : this.question.ariaExpanded === "true", "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
57427
57641
  dropdownListModel.showHintPrefix ?
57428
57642
  (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.hintPrefix },
57429
57643
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, dropdownListModel.hintStringPrefix))) : null,
@@ -57433,7 +57647,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
57433
57647
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, dropdownListModel.inputStringRendered),
57434
57648
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, dropdownListModel.hintStringSuffix))) : null,
57435
57649
  valueElement,
57436
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.filterStringEnabled ? this.question.ariaRole : undefined, "aria-label": this.question.placeholder, "aria-expanded": this.question.ariaExpanded ? "true" : "false", "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant, placeholder: dropdownListModel.placeholderRendered, readOnly: !dropdownListModel.searchEnabled ? true : undefined, tabIndex: dropdownListModel.inputReadOnly ? undefined : -1, disabled: this.question.isInputReadOnly, inputMode: dropdownListModel.inputMode, onChange: function (e) { onInputChange(e); }, onBlur: this.blur, onFocus: this.focus })),
57650
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.filterStringEnabled ? this.question.ariaRole : undefined, "aria-label": this.question.placeholder, "aria-expanded": this.question.ariaExpanded === null ? undefined : this.question.ariaExpanded === "true", "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant, placeholder: dropdownListModel.placeholderRendered, readOnly: !dropdownListModel.searchEnabled ? true : undefined, tabIndex: dropdownListModel.inputReadOnly ? undefined : -1, disabled: this.question.isInputReadOnly, inputMode: dropdownListModel.inputMode, onChange: function (e) { onInputChange(e); }, onBlur: this.blur, onFocus: this.focus })),
57437
57651
  this.createClearButton()));
57438
57652
  };
57439
57653
  SurveyQuestionDropdownBase.prototype.createClearButton = function () {
@@ -57953,6 +58167,9 @@ var SurveyQuestionImage = /** @class */ (function (_super) {
57953
58167
  var _this = this;
57954
58168
  var cssClasses = this.question.getImageCss();
57955
58169
  var style = { objectFit: this.question.imageFit };
58170
+ if (!this.question.imageLink || this.question.contentNotLoaded) {
58171
+ style["display"] = "none";
58172
+ }
57956
58173
  var control = null;
57957
58174
  if (this.question.renderedMode === "image") {
57958
58175
  control = (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("img", { className: cssClasses, src: this.question.locImageLink.renderedHtml, alt: this.question.altText || this.question.title, width: this.question.renderedWidth, height: this.question.renderedHeight,
@@ -58745,6 +58962,17 @@ var __extends = (undefined && undefined.__extends) || (function () {
58745
58962
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
58746
58963
  };
58747
58964
  })();
58965
+ var __assign = (undefined && undefined.__assign) || function () {
58966
+ __assign = Object.assign || function(t) {
58967
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
58968
+ s = arguments[i];
58969
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
58970
+ t[p] = s[p];
58971
+ }
58972
+ return t;
58973
+ };
58974
+ return __assign.apply(this, arguments);
58975
+ };
58748
58976
 
58749
58977
 
58750
58978
 
@@ -59027,6 +59255,7 @@ function attachKey2click(element, viewModel, options) {
59027
59255
  if ((!!viewModel && viewModel.disableTabStop) || (!!options && options.disableTabStop)) {
59028
59256
  return react__WEBPACK_IMPORTED_MODULE_0__["cloneElement"](element, { tabIndex: -1 });
59029
59257
  }
59258
+ options = __assign({}, options);
59030
59259
  return react__WEBPACK_IMPORTED_MODULE_0__["cloneElement"](element, {
59031
59260
  tabIndex: 0,
59032
59261
  onKeyUp: function (evt) {
@@ -59540,7 +59769,7 @@ var SurveyQuestion = /** @class */ (function (_super) {
59540
59769
  var rootStyle = question.getRootStyle();
59541
59770
  var questionContent = this.wrapQuestionContent(this.renderQuestionContent());
59542
59771
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
59543
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-labelledby": question.ariaLabelledBy },
59772
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-labelledby": question.ariaLabelledBy, "aria-expanded": question.ariaExpanded === null ? undefined : question.ariaExpanded === "true" },
59544
59773
  errorsAboveQuestion,
59545
59774
  headerTop,
59546
59775
  questionContent,
@@ -60232,7 +60461,7 @@ var SurveyQuestionComment = /** @class */ (function (_super) {
60232
60461
  }
60233
60462
  var counter = !!this.question.getMaxLength() ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_character_counter__WEBPACK_IMPORTED_MODULE_3__["CharacterCounterComponent"], { counter: this.question.characterCounter, remainingCharacterCounter: this.question.cssClasses.remainingCharacterCounter })) : null;
60234
60463
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
60235
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("textarea", { id: this.question.inputId, className: this.question.className, disabled: this.question.isInputReadOnly, readOnly: this.question.isInputReadOnly, ref: function (textarea) { return (_this.setControl(textarea)); }, maxLength: this.question.getMaxLength(), placeholder: placeholder, onBlur: onBlur, onInput: onInput, onKeyDown: function (event) { _this.question.onKeyDown(event); }, cols: this.question.cols, rows: this.question.rows, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy, style: { resize: this.question.resizeStyle } }),
60464
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("textarea", { id: this.question.inputId, className: this.question.className, disabled: this.question.isInputReadOnly, readOnly: this.question.isInputReadOnly, ref: function (textarea) { return (_this.setControl(textarea)); }, maxLength: this.question.getMaxLength(), placeholder: placeholder, onBlur: onBlur, onInput: onInput, onKeyDown: function (event) { _this.question.onKeyDown(event); }, cols: this.question.cols, rows: this.question.rows, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-describedby": this.question.a11y_input_ariaDescribedBy, style: { resize: this.question.resizeStyle } }),
60236
60465
  counter));
60237
60466
  };
60238
60467
  return SurveyQuestionComment;
@@ -62225,11 +62454,8 @@ var SurveyQuestionPanelDynamic = /** @class */ (function (_super) {
62225
62454
  });
62226
62455
  };
62227
62456
  SurveyQuestionPanelDynamic.prototype.renderNavigatorV2 = function () {
62228
- if (this.question.panelCount === 0 || this.question["showLegacyNavigation"])
62229
- return null;
62230
- if (!this.question.cssClasses.footer) {
62457
+ if (!this.question.showNavigation)
62231
62458
  return null;
62232
- }
62233
62459
  var range = this.question.isRangeShowing && this.question.isProgressBottomShowing ? this.renderRange() : null;
62234
62460
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.footer },
62235
62461
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("hr", { className: this.question.cssClasses.separator }),
@@ -62277,7 +62503,7 @@ var SurveyQuestionPanelDynamicItem = /** @class */ (function (_super) {
62277
62503
  SurveyQuestionPanelDynamicItem.prototype.render = function () {
62278
62504
  var panel = _super.prototype.render.call(this);
62279
62505
  var removeButton = this.renderButton();
62280
- var separator = this.question.isRenderModeList && this.index < this.question.panelCount - 1 ?
62506
+ var separator = this.question.showSeparator(this.index) ?
62281
62507
  (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("hr", { className: this.question.cssClasses.separator })) : null;
62282
62508
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
62283
62509
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.getPanelWrapperCss() },
@@ -62863,7 +63089,7 @@ var SurveyQuestionTagbox = /** @class */ (function (_super) {
62863
63089
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.inputReadOnly ? undefined : 0, onClick: this.click,
62864
63090
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
62865
63091
  // @ts-ignore
62866
- disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy, "aria-expanded": this.question.ariaExpanded ? "true" : "false", "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
63092
+ disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy, "aria-expanded": this.question.ariaExpanded === null ? undefined : this.question.ariaExpanded === "true", "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
62867
63093
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.controlValue },
62868
63094
  items,
62869
63095
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_tagbox_filter__WEBPACK_IMPORTED_MODULE_4__["TagboxFilterString"], { model: dropdownMultiSelectListModel, question: this.question })),
@@ -62939,7 +63165,7 @@ var SurveyQuestionText = /** @class */ (function (_super) {
62939
63165
  return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
62940
63166
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { id: this.question.inputId, disabled: this.isDisplayMode, className: inputClass, type: this.question.inputType,
62941
63167
  //ref={this.controlRef}
62942
- ref: function (input) { return (_this.setControl(input)); }, style: this.question.inputStyle, maxLength: this.question.getMaxLength(), min: this.question.renderedMin, max: this.question.renderedMax, step: this.question.renderedStep, size: this.question.inputSize, placeholder: placeholder, list: this.question.dataListId, autoComplete: this.question.autocomplete, onBlur: this.question.onBlur, onFocus: this.question.onFocus, onChange: this.question.onChange, onKeyUp: this.question.onKeyUp, onKeyDown: this.question.onKeyDown, onCompositionUpdate: function (event) { return _this.question.onCompositionUpdate(event.nativeEvent); }, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy }),
63168
+ ref: function (input) { return (_this.setControl(input)); }, style: this.question.inputStyle, maxLength: this.question.getMaxLength(), min: this.question.renderedMin, max: this.question.renderedMax, step: this.question.renderedStep, size: this.question.inputSize, placeholder: placeholder, list: this.question.dataListId, autoComplete: this.question.autocomplete, onBlur: this.question.onBlur, onFocus: this.question.onFocus, onChange: this.question.onChange, onKeyUp: this.question.onKeyUp, onKeyDown: this.question.onKeyDown, onCompositionUpdate: function (event) { return _this.question.onCompositionUpdate(event.nativeEvent); }, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-describedby": this.question.a11y_input_ariaDescribedBy }),
62943
63169
  counter));
62944
63170
  };
62945
63171
  SurveyQuestionText.prototype.renderElement = function () {
@@ -63649,7 +63875,7 @@ var TagboxFilterString = /** @class */ (function (_super) {
63649
63875
  (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.hintSuffix },
63650
63876
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, this.model.inputStringRendered),
63651
63877
  react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, this.model.hintStringSuffix))) : null,
63652
- react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.model.inputMode, ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: !this.model.searchEnabled ? true : undefined, size: !this.model.inputStringRendered ? 1 : undefined, role: this.model.filterStringEnabled ? this.question.ariaRole : undefined, "aria-label": this.question.placeholder, "aria-expanded": this.question.ariaExpanded ? "true" : "false", "aria-controls": this.model.listElementId, "aria-activedescendant": this.model.ariaActivedescendant, placeholder: this.model.filterStringPlaceholder, onKeyDown: function (e) { _this.keyhandler(e); }, onChange: function (e) { _this.onChange(e); }, onBlur: function (e) { _this.onBlur(e); }, onFocus: function (e) { _this.onFocus(e); } }))));
63878
+ react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.model.inputMode, ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: !this.model.searchEnabled ? true : undefined, size: !this.model.inputStringRendered ? 1 : undefined, role: this.model.filterStringEnabled ? this.question.ariaRole : undefined, "aria-label": this.question.placeholder, "aria-expanded": this.question.ariaExpanded === null ? undefined : this.question.ariaExpanded === "true", "aria-controls": this.model.listElementId, "aria-activedescendant": this.model.ariaActivedescendant, placeholder: this.model.filterStringPlaceholder, onKeyDown: function (e) { _this.keyhandler(e); }, onChange: function (e) { _this.onChange(e); }, onBlur: function (e) { _this.onBlur(e); }, onFocus: function (e) { _this.onFocus(e); } }))));
63653
63879
  };
63654
63880
  return TagboxFilterString;
63655
63881
  }(_reactquestion_element__WEBPACK_IMPORTED_MODULE_3__["SurveyElementBase"]));
@@ -73475,7 +73701,7 @@ var SurveyModel = /** @class */ (function (_super) {
73475
73701
  }
73476
73702
  }
73477
73703
  }
73478
- else if (!this.isShowingPreview && isStrCiEqual(layoutElement.id, "toc-navigation") && this.showTOC) {
73704
+ else if (this.state === "running" && isStrCiEqual(layoutElement.id, "toc-navigation") && this.showTOC) {
73479
73705
  if (container === "left") {
73480
73706
  if (["left", "both"].indexOf(this.tocLocation) !== -1) {
73481
73707
  containerLayoutElements.push(layoutElement);
@@ -74238,7 +74464,7 @@ function createTOCListModel(survey) {
74238
74464
  }
74239
74465
  return tryNavigateToPage(survey, index);
74240
74466
  },
74241
- visible: new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return page.isVisible; })
74467
+ visible: new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return page.isVisible && !page.isStartPage; })
74242
74468
  });
74243
74469
  });
74244
74470
  var listModel = new _list__WEBPACK_IMPORTED_MODULE_2__["ListModel"](items, function (item) {
@@ -76048,8 +76274,14 @@ function doKey2ClickUp(evt, options) {
76048
76274
  if (!!element.classList && !element.classList.contains(keyFocusedClassName)) {
76049
76275
  element.classList.add(keyFocusedClassName);
76050
76276
  }
76277
+ return;
76278
+ }
76279
+ if (options) {
76280
+ if (!options.__keyDownReceived)
76281
+ return;
76282
+ options.__keyDownReceived = false;
76051
76283
  }
76052
- else if (char === 13 || char === 32) {
76284
+ if (char === 13 || char === 32) {
76053
76285
  if (element.click)
76054
76286
  element.click();
76055
76287
  }
@@ -76060,6 +76292,8 @@ function doKey2ClickUp(evt, options) {
76060
76292
  }
76061
76293
  function doKey2ClickDown(evt, options) {
76062
76294
  if (options === void 0) { options = { processEsc: true }; }
76295
+ if (options)
76296
+ options.__keyDownReceived = true;
76063
76297
  if (!!evt.target && evt.target["contentEditable"] === "true") {
76064
76298
  return;
76065
76299
  }