survey-react 1.10.5 → 1.10.6

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.10.5
2
+ * surveyjs - Survey JavaScript library v1.10.6
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -686,13 +686,14 @@ class SignaturePad extends SignatureEventTarget {
686
686
  /*!*******************************!*\
687
687
  !*** ./src/actions/action.ts ***!
688
688
  \*******************************/
689
- /*! exports provided: createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel */
689
+ /*! exports provided: createDropdownActionModel, createDropdownActionModelAdvanced, createPopupModelWithListModel, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel */
690
690
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
691
691
 
692
692
  "use strict";
693
693
  __webpack_require__.r(__webpack_exports__);
694
694
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createDropdownActionModel", function() { return createDropdownActionModel; });
695
695
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createDropdownActionModelAdvanced", function() { return createDropdownActionModelAdvanced; });
696
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPopupModelWithListModel", function() { return createPopupModelWithListModel; });
696
697
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getActionDropdownButtonTarget", function() { return getActionDropdownButtonTarget; });
697
698
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseAction", function() { return BaseAction; });
698
699
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Action", function() { return Action; });
@@ -733,36 +734,53 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
733
734
 
734
735
 
735
736
  function createDropdownActionModel(actionOptions, dropdownOptions, locOwner) {
736
- return createDropdownActionModelAdvanced(actionOptions, dropdownOptions, dropdownOptions, locOwner);
737
+ dropdownOptions.locOwner = locOwner;
738
+ return createDropdownActionModelAdvanced(actionOptions, dropdownOptions, dropdownOptions);
737
739
  }
738
- function createDropdownActionModelAdvanced(actionOptions, listOptions, popupOptions, locOwner) {
739
- var listModel = new _list__WEBPACK_IMPORTED_MODULE_3__["ListModel"](listOptions.items, function (item) {
740
+ function createDropdownActionModelAdvanced(actionOptions, listOptions, popupOptions) {
741
+ var _a;
742
+ var originalSelectionChanged = listOptions.onSelectionChanged;
743
+ listOptions.onSelectionChanged = function (item) {
744
+ var params = [];
745
+ for (var _i = 1; _i < arguments.length; _i++) {
746
+ params[_i - 1] = arguments[_i];
747
+ }
740
748
  if (newAction.hasTitle) {
741
749
  newAction.title = item.title;
742
750
  }
743
- listOptions.onSelectionChanged(item);
744
- innerPopupModel.toggleVisibility();
745
- }, listOptions.allowSelection, listOptions.selectedItem);
746
- listModel.locOwner = locOwner;
747
- listModel.setOnFilterStringChangedCallback(listOptions.onFilterStringChangedCallback);
748
- var options = popupOptions || {};
749
- options.onDispose = function () { listModel.dispose(); };
750
- var innerPopupModel = new _popup__WEBPACK_IMPORTED_MODULE_4__["PopupModel"]("sv-list", { model: listModel }, options);
751
- innerPopupModel.displayMode = popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.displayMode;
751
+ originalSelectionChanged(item, params);
752
+ };
753
+ var popupModel = createPopupModelWithListModel(listOptions, popupOptions);
752
754
  var newActionOptions = Object.assign({}, actionOptions, {
753
755
  component: "sv-action-bar-item-dropdown",
754
- popupModel: innerPopupModel,
756
+ popupModel: popupModel,
755
757
  action: function (action, isUserAction) {
756
758
  !!(actionOptions.action) && actionOptions.action();
757
- innerPopupModel.isFocusedContent = !isUserAction || listModel.showFilter;
758
- innerPopupModel.toggleVisibility();
759
- listModel.scrollToSelectedItem();
759
+ popupModel.isFocusedContent = popupModel.isFocusedContent || !isUserAction;
760
+ popupModel.show();
760
761
  },
761
762
  });
762
763
  var newAction = new Action(newActionOptions);
763
- newAction.data = listModel;
764
+ newAction.data = (_a = popupModel.contentComponentData) === null || _a === void 0 ? void 0 : _a.model;
764
765
  return newAction;
765
766
  }
767
+ function createPopupModelWithListModel(listOptions, popupOptions) {
768
+ var listModel = new _list__WEBPACK_IMPORTED_MODULE_3__["ListModel"](listOptions);
769
+ listModel.onSelectionChanged = function (item) {
770
+ listOptions.onSelectionChanged(item);
771
+ popupModel.hide();
772
+ };
773
+ var _popupOptions = popupOptions || {};
774
+ _popupOptions.onDispose = function () { listModel.dispose(); };
775
+ var popupModel = new _popup__WEBPACK_IMPORTED_MODULE_4__["PopupModel"]("sv-list", { model: listModel }, _popupOptions);
776
+ popupModel.isFocusedContent = listModel.showFilter;
777
+ popupModel.onShow = function () {
778
+ if (!!_popupOptions.onShow)
779
+ _popupOptions.onShow();
780
+ listModel.scrollToSelectedItem();
781
+ };
782
+ return popupModel;
783
+ }
766
784
  function getActionDropdownButtonTarget(container) {
767
785
  return container === null || container === void 0 ? void 0 : container.previousElementSibling;
768
786
  }
@@ -5990,6 +6008,7 @@ var defaultV2Css = {
5990
6008
  dragElementDecorator: "sd-drag-element__svg",
5991
6009
  iconDragElement: "#icon-v2dragelement_16x16",
5992
6010
  footer: "sd-matrixdynamic__footer",
6011
+ footerTotalCell: "sd-table__cell sd-table__cell--footer-total",
5993
6012
  emptyRowsSection: "sd-matrixdynamic__placeholder sd-question__placeholder",
5994
6013
  iconDrag: "sv-matrixdynamic__drag-icon",
5995
6014
  ghostRow: "sv-matrix-row--drag-drop-ghost-mod",
@@ -8264,10 +8283,17 @@ var DropdownListModel = /** @class */ (function (_super) {
8264
8283
  _this.question.value = item.id;
8265
8284
  if (_this.question.searchEnabled)
8266
8285
  _this.applyInputString(item);
8267
- _this.popupModel.isVisible = false;
8286
+ _this.popupModel.hide();
8268
8287
  };
8269
8288
  }
8270
- var res = new _list__WEBPACK_IMPORTED_MODULE_4__["ListModel"](visibleItems, _onSelectionChanged, false, undefined, this.listElementId);
8289
+ var listOptions = {
8290
+ items: visibleItems,
8291
+ onSelectionChanged: _onSelectionChanged,
8292
+ allowSelection: false,
8293
+ locOwner: this.question,
8294
+ elementId: this.listElementId
8295
+ };
8296
+ var res = new _list__WEBPACK_IMPORTED_MODULE_4__["ListModel"](listOptions);
8271
8297
  this.setOnTextSearchCallbackForListModel(res);
8272
8298
  res.renderElements = false;
8273
8299
  res.forceShowFilter = true;
@@ -8279,7 +8305,6 @@ var DropdownListModel = /** @class */ (function (_super) {
8279
8305
  DropdownListModel.prototype.updateAfterListModelCreated = function (model) {
8280
8306
  var _this = this;
8281
8307
  model.isItemSelected = function (action) { return !!action.selected; };
8282
- model.locOwner = this.question;
8283
8308
  model.onPropertyChanged.add(function (sender, options) {
8284
8309
  if (options.name == "hasVerticalScroller") {
8285
8310
  _this.hasScroll = options.newValue;
@@ -8311,7 +8336,7 @@ var DropdownListModel = /** @class */ (function (_super) {
8311
8336
  this.question.survey.onChoicesSearch.fire(this.question.survey, options);
8312
8337
  this.filteredItems = options.filteredChoices;
8313
8338
  if (!!this.filterString && !this.popupModel.isVisible) {
8314
- this.popupModel.isVisible = true;
8339
+ this.popupModel.show();
8315
8340
  }
8316
8341
  var updateAfterFilterStringChanged = function () {
8317
8342
  _this.setFilterStringToListModel(_this.filterString);
@@ -8532,7 +8557,7 @@ var DropdownListModel = /** @class */ (function (_super) {
8532
8557
  };
8533
8558
  DropdownListModel.prototype.onClear = function (event) {
8534
8559
  this.question.clearValue(true);
8535
- this._popupModel.isVisible = false;
8560
+ this._popupModel.hide();
8536
8561
  if (event) {
8537
8562
  event.preventDefault();
8538
8563
  event.stopPropagation();
@@ -8588,19 +8613,17 @@ var DropdownListModel = /** @class */ (function (_super) {
8588
8613
  event.stopPropagation();
8589
8614
  }
8590
8615
  else if (event.keyCode === 40) {
8591
- if (!this.popupModel.isVisible) {
8592
- this.popupModel.toggleVisibility();
8593
- }
8616
+ this.popupModel.show();
8594
8617
  this.changeSelectionWithKeyboard(false);
8595
8618
  event.preventDefault();
8596
8619
  event.stopPropagation();
8597
8620
  }
8598
8621
  if (event.keyCode === 9) {
8599
- this.popupModel.isVisible = false;
8622
+ this.popupModel.hide();
8600
8623
  }
8601
8624
  else if (!this.popupModel.isVisible && (event.keyCode === 13 || event.keyCode === 32)) {
8602
8625
  if (event.keyCode === 32) {
8603
- this.popupModel.toggleVisibility();
8626
+ this.popupModel.show();
8604
8627
  this.changeSelectionWithKeyboard(false);
8605
8628
  }
8606
8629
  if (event.keyCode === 13) {
@@ -8611,7 +8634,7 @@ var DropdownListModel = /** @class */ (function (_super) {
8611
8634
  }
8612
8635
  else if (this.popupModel.isVisible && (event.keyCode === 13 || event.keyCode === 32 && (!this.question.searchEnabled || !this.inputString))) {
8613
8636
  if (event.keyCode === 13 && this.question.searchEnabled && !this.inputString && this.question instanceof _question_dropdown__WEBPACK_IMPORTED_MODULE_6__["QuestionDropdownModel"] && !this._markdownMode && this.question.value) {
8614
- this._popupModel.isVisible = false;
8637
+ this._popupModel.hide();
8615
8638
  this.onClear(event);
8616
8639
  }
8617
8640
  else {
@@ -8627,7 +8650,7 @@ var DropdownListModel = /** @class */ (function (_super) {
8627
8650
  }
8628
8651
  }
8629
8652
  else if (event.keyCode === 27) {
8630
- this._popupModel.isVisible = false;
8653
+ this._popupModel.hide();
8631
8654
  this.hintString = "";
8632
8655
  this.onEscape();
8633
8656
  }
@@ -8655,11 +8678,11 @@ var DropdownListModel = /** @class */ (function (_super) {
8655
8678
  DropdownListModel.prototype.onBlur = function (event) {
8656
8679
  this.focused = false;
8657
8680
  if (this.popupModel.isVisible && _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"]) {
8658
- this._popupModel.isVisible = true;
8681
+ this._popupModel.show();
8659
8682
  return;
8660
8683
  }
8661
8684
  Object(_utils_utils__WEBPACK_IMPORTED_MODULE_10__["doKey2ClickBlur"])(event);
8662
- this._popupModel.isVisible = false;
8685
+ this._popupModel.hide();
8663
8686
  this.resetFilterString();
8664
8687
  this.inputString = null;
8665
8688
  this.hintString = "";
@@ -8850,7 +8873,14 @@ var DropdownMultiSelectListModel = /** @class */ (function (_super) {
8850
8873
  }
8851
8874
  };
8852
8875
  }
8853
- var res = new _multiSelectListModel__WEBPACK_IMPORTED_MODULE_3__["MultiSelectListModel"](visibleItems, _onSelectionChanged, false, undefined, this.listElementId);
8876
+ var listOptions = {
8877
+ items: visibleItems,
8878
+ onSelectionChanged: _onSelectionChanged,
8879
+ allowSelection: false,
8880
+ locOwner: this.question,
8881
+ elementId: this.listElementId
8882
+ };
8883
+ var res = new _multiSelectListModel__WEBPACK_IMPORTED_MODULE_3__["MultiSelectListModel"](listOptions);
8854
8884
  res.actions.forEach(function (a) { return a.disableTabStop = true; });
8855
8885
  this.setOnTextSearchCallbackForListModel(res);
8856
8886
  res.forceShowFilter = true;
@@ -9270,6 +9300,8 @@ __webpack_require__.r(__webpack_exports__);
9270
9300
  /* harmony import */ var _localization_vietnamese__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../../localization/vietnamese */ "./src/localization/vietnamese.ts");
9271
9301
  /* harmony import */ var _localization_welsh__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../../localization/welsh */ "./src/localization/welsh.ts");
9272
9302
  /* harmony import */ var _localization_telugu__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../../localization/telugu */ "./src/localization/telugu.ts");
9303
+ /* harmony import */ var _localization_philippines__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../../localization/philippines */ "./src/localization/philippines.ts");
9304
+
9273
9305
 
9274
9306
 
9275
9307
 
@@ -9825,8 +9857,8 @@ __webpack_require__.r(__webpack_exports__);
9825
9857
 
9826
9858
  var Version;
9827
9859
  var ReleaseDate;
9828
- Version = "" + "1.10.5";
9829
- ReleaseDate = "" + "2024-05-20";
9860
+ Version = "" + "1.10.6";
9861
+ ReleaseDate = "" + "2024-05-28";
9830
9862
  function checkLibraryVersion(ver, libraryName) {
9831
9863
  if (Version != ver) {
9832
9864
  var str = "survey-core has version '" + Version + "' and " + libraryName
@@ -10007,7 +10039,7 @@ function checkPrefix(prefix) {
10007
10039
  /*!**************************************!*\
10008
10040
  !*** ./src/entries/core-wo-model.ts ***!
10009
10041
  \**************************************/
10010
- /*! 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, QuestionMatrixDropdownRenderedErrorRow, 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, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, 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, chooseFiles, sanitizeEditableContent, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper */
10042
+ /*! 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, QuestionMatrixDropdownRenderedErrorRow, 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, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, 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, chooseFiles, sanitizeEditableContent, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, createPopupModelWithListModel, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper */
10011
10043
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10012
10044
 
10013
10045
  "use strict";
@@ -10444,6 +10476,8 @@ __webpack_require__.r(__webpack_exports__);
10444
10476
 
10445
10477
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createDropdownActionModelAdvanced", function() { return _actions_action__WEBPACK_IMPORTED_MODULE_7__["createDropdownActionModelAdvanced"]; });
10446
10478
 
10479
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupModelWithListModel", function() { return _actions_action__WEBPACK_IMPORTED_MODULE_7__["createPopupModelWithListModel"]; });
10480
+
10447
10481
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getActionDropdownButtonTarget", function() { return _actions_action__WEBPACK_IMPORTED_MODULE_7__["getActionDropdownButtonTarget"]; });
10448
10482
 
10449
10483
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BaseAction", function() { return _actions_action__WEBPACK_IMPORTED_MODULE_7__["BaseAction"]; });
@@ -10502,7 +10536,7 @@ __webpack_require__.r(__webpack_exports__);
10502
10536
  /*!*****************************!*\
10503
10537
  !*** ./src/entries/core.ts ***!
10504
10538
  \*****************************/
10505
- /*! 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, QuestionMatrixDropdownRenderedErrorRow, 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, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, 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, chooseFiles, sanitizeEditableContent, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
10539
+ /*! 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, QuestionMatrixDropdownRenderedErrorRow, 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, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, 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, chooseFiles, sanitizeEditableContent, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, createPopupModelWithListModel, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
10506
10540
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10507
10541
 
10508
10542
  "use strict";
@@ -10932,6 +10966,8 @@ __webpack_require__.r(__webpack_exports__);
10932
10966
 
10933
10967
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createDropdownActionModelAdvanced", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["createDropdownActionModelAdvanced"]; });
10934
10968
 
10969
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupModelWithListModel", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["createPopupModelWithListModel"]; });
10970
+
10935
10971
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getActionDropdownButtonTarget", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["getActionDropdownButtonTarget"]; });
10936
10972
 
10937
10973
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BaseAction", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["BaseAction"]; });
@@ -11391,7 +11427,7 @@ __webpack_require__.r(__webpack_exports__);
11391
11427
  /*!******************************!*\
11392
11428
  !*** ./src/entries/react.ts ***!
11393
11429
  \******************************/
11394
- /*! 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, QuestionMatrixDropdownRenderedErrorRow, 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, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, 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, chooseFiles, sanitizeEditableContent, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, 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, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionMatrixCell, 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, QuestionErrorComponent, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent */
11430
+ /*! 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, QuestionMatrixDropdownRenderedErrorRow, 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, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, ProgressButtons, ProgressButtonsResponsivityManager, 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, chooseFiles, sanitizeEditableContent, InputMaskBase, InputMaskPattern, InputMaskNumeric, InputMaskDateTime, InputMaskCurrency, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, createPopupModelWithListModel, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AnimationUtils, AnimationPropertyUtils, AnimationGroupUtils, AnimationProperty, AnimationBoolean, AnimationGroup, AnimationTab, 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, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionMatrixCell, 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, QuestionErrorComponent, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent */
11395
11431
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11396
11432
 
11397
11433
  "use strict";
@@ -11821,6 +11857,8 @@ __webpack_require__.r(__webpack_exports__);
11821
11857
 
11822
11858
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createDropdownActionModelAdvanced", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["createDropdownActionModelAdvanced"]; });
11823
11859
 
11860
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupModelWithListModel", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["createPopupModelWithListModel"]; });
11861
+
11824
11862
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getActionDropdownButtonTarget", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["getActionDropdownButtonTarget"]; });
11825
11863
 
11826
11864
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BaseAction", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["BaseAction"]; });
@@ -21458,8 +21496,28 @@ var ListModel = /** @class */ (function (_super) {
21458
21496
  var level = itemValue.level || 0;
21459
21497
  return (level + 1) * ListModel.INDENT + "px";
21460
21498
  };
21461
- _this.setItems(items);
21462
- _this.selectedItem = selectedItem;
21499
+ if (Object.keys(items).indexOf("items") !== -1) {
21500
+ var options_1 = items;
21501
+ Object.keys(options_1).forEach(function (key) {
21502
+ switch (key) {
21503
+ case "items":
21504
+ _this.setItems(options_1.items);
21505
+ break;
21506
+ case "onFilterStringChangedCallback":
21507
+ _this.setOnFilterStringChangedCallback(options_1.onFilterStringChangedCallback);
21508
+ break;
21509
+ case "onTextSearchCallback":
21510
+ _this.setOnTextSearchCallback(options_1.onTextSearchCallback);
21511
+ break;
21512
+ default:
21513
+ _this[key] = options_1[key];
21514
+ }
21515
+ });
21516
+ }
21517
+ else {
21518
+ _this.setItems(items);
21519
+ _this.selectedItem = selectedItem;
21520
+ }
21463
21521
  return _this;
21464
21522
  }
21465
21523
  ListModel.prototype.hasText = function (item, filterStringInLow) {
@@ -21686,6 +21744,7 @@ var ListModel = /** @class */ (function (_super) {
21686
21744
  };
21687
21745
  ListModel.prototype.addScrollEventListener = function (handler) {
21688
21746
  if (!!handler) {
21747
+ this.removeScrollEventListener();
21689
21748
  this.scrollHandler = handler;
21690
21749
  }
21691
21750
  if (!!this.scrollHandler) {
@@ -27016,6 +27075,134 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["fa"]
27016
27075
  // signaturePlaceHolderReadOnly: "No signature" => "بدون امضا"
27017
27076
 
27018
27077
 
27078
+ /***/ }),
27079
+
27080
+ /***/ "./src/localization/philippines.ts":
27081
+ /*!*****************************************!*\
27082
+ !*** ./src/localization/philippines.ts ***!
27083
+ \*****************************************/
27084
+ /*! exports provided: philippinesStrings */
27085
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
27086
+
27087
+ "use strict";
27088
+ __webpack_require__.r(__webpack_exports__);
27089
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "philippinesStrings", function() { return philippinesStrings; });
27090
+ /* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
27091
+ // Uncomment the line below if you create a custom dictionary
27092
+
27093
+ var philippinesStrings = {
27094
+ pagePrevText: "Nakaraang",
27095
+ pageNextText: "Susunod",
27096
+ completeText: "Kumpleto",
27097
+ previewText: "Silipin",
27098
+ editText: "I-edit",
27099
+ startSurveyText: "Magsimula",
27100
+ otherItemText: "Iba pa (ilarawan)",
27101
+ noneItemText: "wala",
27102
+ refuseItemText: "Tumangging sumagot",
27103
+ dontKnowItemText: "hindi ko alam",
27104
+ selectAllItemText: "Piliin lahat",
27105
+ progressText: "Pahina {0} ng {1}",
27106
+ indexText: "{0} ng {1}",
27107
+ panelDynamicProgressText: "{0} ng {1}",
27108
+ panelDynamicTabTextFormat: "Panel {panelIndex}",
27109
+ questionsProgressText: "Sinagot ang {0}/{1} mga tanong",
27110
+ emptySurvey: "Ang survey ay hindi naglalaman ng anumang nakikitang elemento.",
27111
+ completingSurvey: "Salamat sa pagkumpleto ng survey",
27112
+ completingSurveyBefore: "Nakumpleto mo na ang survey na ito.",
27113
+ loadingSurvey: "Nilo-load ang Survey...",
27114
+ placeholder: "Pumili...",
27115
+ ratingOptionsCaption: "Pumili...",
27116
+ value: "halaga",
27117
+ requiredError: "Kinakailangan ang tugon.",
27118
+ requiredErrorInPanel: "Kinakailangan ang tugon: sagutin ang kahit isang tanong.",
27119
+ requiredInAllRowsError: "Kinakailangan ang tugon: sagutin ang mga tanong sa lahat ng row.",
27120
+ eachRowUniqueError: "Ang bawat hilera ay dapat may natatanging halaga.",
27121
+ numericError: "Ang halaga ay dapat na numero.",
27122
+ minError: "Ang halaga ay hindi dapat mas mababa sa {0}",
27123
+ maxError: "Ang halaga ay hindi dapat mas malaki sa {0}",
27124
+ textMinLength: "Mangyaring magpasok ng hindi bababa sa {0} (mga) character.",
27125
+ textMaxLength: "Mangyaring magpasok ng hindi hihigit sa {0} (mga) character.",
27126
+ textMinMaxLength: "Mangyaring magpasok ng hindi bababa sa {0} at hindi hihigit sa {1} (na) character.",
27127
+ minRowCountError: "Mangyaring punan ang hindi bababa sa {0} (na) hilera.",
27128
+ minSelectError: "Mangyaring pumili ng hindi bababa sa {0} (mga) opsyon.",
27129
+ maxSelectError: "Mangyaring pumili ng hindi hihigit sa {0} (mga) opsyon.",
27130
+ numericMinMax: "Ang '{0}' ay dapat na hindi bababa sa {1} at hindi hihigit sa {2}",
27131
+ numericMin: "Ang '{0}' ay dapat na hindi bababa sa {1}",
27132
+ numericMax: "Ang '{0}' ay dapat na hindi hihigit sa {1}",
27133
+ invalidEmail: "Mangyaring magpasok ng wastong e-mail address.",
27134
+ invalidExpression: "Ang expression na: {0} ay dapat magbalik ng 'true'.",
27135
+ urlRequestError: "Ang kahilingan ay nagbalik ng error na '{0}'. {1}",
27136
+ urlGetChoicesError: "Ang kahilingan ay nagbalik ng walang laman na data o ang 'path' property ay hindi tama",
27137
+ exceedMaxSize: "Ang laki ng file ay hindi dapat lumampas sa {0}.",
27138
+ noUploadFilesHandler: "Hindi ma-upload ang mga file. Mangyaring magdagdag ng handler para sa kaganapang 'onUploadFiles'.",
27139
+ otherRequiredError: "Kinakailangan ang tugon: maglagay ng isa pang halaga.",
27140
+ uploadingFile: "Ina-upload ang iyong file. Mangyaring maghintay ng ilang segundo at subukang muli.",
27141
+ loadingFile: "Naglo-load...",
27142
+ chooseFile: "Pumili ng (mga) file...",
27143
+ noFileChosen: "Walang napiling file",
27144
+ filePlaceholder: "I-drag at i-drop ang isang file dito o i-click ang button sa ibaba upang pumili ng file na ia-upload.",
27145
+ confirmDelete: "Sigurado ka bang gusto mong tanggalin ang talang ito?",
27146
+ keyDuplicationError: "Ang halagang ito ay dapat na natatangi.",
27147
+ addColumn: "Magdagdag ng Column",
27148
+ addRow: "Magdagdag ng hilera",
27149
+ removeRow: "Alisin",
27150
+ emptyRowsText: "Walang mga hilera.",
27151
+ addPanel: "Magdagdag ng bago",
27152
+ removePanel: "Alisin",
27153
+ showDetails: "Ipakita ang mga detalye",
27154
+ hideDetails: "Itago ang Mga Detalye",
27155
+ choices_Item: "aytem",
27156
+ matrix_column: "Kolum",
27157
+ matrix_row: "hilera",
27158
+ multipletext_itemname: "text",
27159
+ savingData: "Ang mga resulta ay sini-save sa server...",
27160
+ savingDataError: "May naganap na error at hindi namin mai-save ang mga resulta.",
27161
+ savingDataSuccess: "Matagumpay na na-save ang mga resulta!",
27162
+ savingExceedSize: "Ang iyong tugon ay lumampas sa 64KB. Mangyaring bawasan ang laki ng iyong (mga) file at subukang muli o makipag-ugnayan sa may-ari ng survey.",
27163
+ saveAgainButton: "Subukan muli",
27164
+ timerMin: "min",
27165
+ timerSec: "sec",
27166
+ timerSpentAll: "Gumastos ka ng {0} sa pahinang ito at {1} sa kabuuan.",
27167
+ timerSpentPage: "Gumastos ka ng {0} sa pahinang ito.",
27168
+ timerSpentSurvey: "Gumastos ka ng {0} sa kabuuan.",
27169
+ timerLimitAll: "Gumastos ka ng {0} ng {1} sa pahinang ito at {2} ng {3} sa kabuuan.",
27170
+ timerLimitPage: "Gumastos ka ng {0} sa {1} sa pahinang ito.",
27171
+ timerLimitSurvey: "Gumastos ka ng {0} sa {1} sa kabuuan.",
27172
+ clearCaption: "Maaliwalas",
27173
+ signaturePlaceHolder: "Pumirma dito",
27174
+ signaturePlaceHolderReadOnly: "Walang pirma",
27175
+ chooseFileCaption: "Piliin ang File",
27176
+ takePhotoCaption: "Kunan ng litrato",
27177
+ photoPlaceholder: "I-click ang button sa ibaba para kumuha ng larawan gamit ang camera.",
27178
+ fileOrPhotoPlaceholder: "I-drag at i-drop o pumili ng file na ia-upload o kumuha ng larawan gamit ang camera.",
27179
+ replaceFileCaption: "Palitan ang file",
27180
+ removeFileCaption: "Alisin ang file na ito",
27181
+ booleanCheckedLabel: "Oo",
27182
+ booleanUncheckedLabel: "Hindi",
27183
+ confirmRemoveFile: "Sigurado ka bang gusto mong alisin ang file na ito: {0}?",
27184
+ confirmRemoveAllFiles: "Sigurado ka bang gusto mong alisin ang lahat ng file?",
27185
+ questionTitlePatternText: "Pamagat ng Tanong",
27186
+ modalCancelButtonText: "Kanselahin",
27187
+ modalApplyButtonText: "Mag-apply",
27188
+ filterStringPlaceholder: "I-type para maghanap...",
27189
+ emptyMessage: "walang maipakitang datos",
27190
+ noEntriesText: "Wala pang entry.\nI-click ang button sa ibaba para magdagdag ng bagong entry.",
27191
+ noEntriesReadonlyText: "Walang entry",
27192
+ more: "Higit pa",
27193
+ tagboxDoneButtonCaption: "OK",
27194
+ selectToRankEmptyRankedAreaText: "Ang lahat ng mga pagpipilian ay pinili para sa pagraranggo",
27195
+ selectToRankEmptyUnrankedAreaText: "I-drag ang mga pagpipilian dito upang i-rank ang mga ito",
27196
+ ok: "OK",
27197
+ cancel: "Kanselahin",
27198
+ };
27199
+ // Uncomment the lines below if you create a custom dictionary.
27200
+ // Replace "en" with a custom locale code (for example, "fr" or "de"),
27201
+ // Replace `englishStrings` with the name of the variable that contains the custom dictionary.
27202
+ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["fil"] = philippinesStrings;
27203
+ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["fil"] = "Filipino";
27204
+
27205
+
27019
27206
  /***/ }),
27020
27207
 
27021
27208
  /***/ "./src/localization/polish.ts":
@@ -31531,12 +31718,53 @@ var InputMaskNumeric = /** @class */ (function (_super) {
31531
31718
  if (Number.isNaN(value)) {
31532
31719
  return true;
31533
31720
  }
31721
+ if (value >= min && value <= max)
31722
+ return true;
31534
31723
  if (!matchWholeMask) {
31724
+ if (!number.hasDecimalSeparator) {
31725
+ var test_high = value;
31726
+ var test_low = value;
31727
+ if (value >= 0) {
31728
+ if (value + 1 > min && value <= max)
31729
+ return true;
31730
+ while (true) {
31731
+ test_high = test_high * 10 + 9;
31732
+ test_low = test_low * 10;
31733
+ if (test_low > max) {
31734
+ break;
31735
+ }
31736
+ if (test_high > min) {
31737
+ return true;
31738
+ }
31739
+ }
31740
+ return false;
31741
+ }
31742
+ if (value < 0) {
31743
+ if (value >= min && value - 1 < max)
31744
+ return true;
31745
+ while (true) {
31746
+ test_high = test_high * 10;
31747
+ test_low = test_low * 10 - 9;
31748
+ if (test_high < min) {
31749
+ break;
31750
+ }
31751
+ if (test_low < max) {
31752
+ return true;
31753
+ }
31754
+ }
31755
+ return false;
31756
+ }
31757
+ }
31758
+ else {
31759
+ var delta = Math.pow(0.1, (number.fractionalPart || "").length);
31760
+ if (value >= 0)
31761
+ return value + delta > min && value <= max;
31762
+ if (value < 0)
31763
+ return value >= min && value - delta < max;
31764
+ }
31535
31765
  return value >= 0 && value <= max || value < 0 && value >= min;
31536
31766
  }
31537
- else {
31538
- return value >= min && value <= max;
31539
- }
31767
+ return false;
31540
31768
  }
31541
31769
  return true;
31542
31770
  };
@@ -31932,8 +32160,8 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
31932
32160
 
31933
32161
  var MultiSelectListModel = /** @class */ (function (_super) {
31934
32162
  __extends(MultiSelectListModel, _super);
31935
- function MultiSelectListModel(items, onSelectionChanged, allowSelection, selectedItems, elementId) {
31936
- var _this = _super.call(this, items, onSelectionChanged, allowSelection, undefined, elementId) || this;
32163
+ function MultiSelectListModel(options) {
32164
+ var _this = _super.call(this, options) || this;
31937
32165
  _this.onItemClick = function (item) {
31938
32166
  if (_this.isItemDisabled(item))
31939
32167
  return;
@@ -31953,7 +32181,7 @@ var MultiSelectListModel = /** @class */ (function (_super) {
31953
32181
  _this.isItemSelected = function (itemValue) {
31954
32182
  return !!_this.allowSelection && _this.selectedItems.filter(function (item) { return _this.areSameItems(item, itemValue); }).length > 0;
31955
32183
  };
31956
- _this.setSelectedItems(selectedItems || []);
32184
+ _this.setSelectedItems(options.selectedItems || []);
31957
32185
  return _this;
31958
32186
  }
31959
32187
  MultiSelectListModel.prototype.updateItemState = function () {
@@ -33583,7 +33811,7 @@ var PanelModelBase = /** @class */ (function (_super) {
33583
33811
  else {
33584
33812
  var question = element;
33585
33813
  if (!question.validate(rec.fireCallback, rec)) {
33586
- if (rec.focuseOnFirstError && rec.firstErrorQuestion == null) {
33814
+ if (!rec.firstErrorQuestion) {
33587
33815
  rec.firstErrorQuestion = question;
33588
33816
  }
33589
33817
  rec.result = true;
@@ -37317,9 +37545,11 @@ var PopupBaseViewModel = /** @class */ (function (_super) {
37317
37545
  if (!val) {
37318
37546
  _this.updateOnHiding();
37319
37547
  _this.updateIsVisible(val);
37548
+ _this.updateAfterHiding();
37320
37549
  _this._isPositionSetValue = false;
37321
37550
  }
37322
37551
  else {
37552
+ _this.updateBeforeShowing();
37323
37553
  _this.updateIsVisible(val);
37324
37554
  }
37325
37555
  }
@@ -37337,6 +37567,12 @@ var PopupBaseViewModel = /** @class */ (function (_super) {
37337
37567
  this._isVisible = val;
37338
37568
  this.onVisibilityChanged.fire(this, { isVisible: val });
37339
37569
  };
37570
+ PopupBaseViewModel.prototype.updateBeforeShowing = function () {
37571
+ this.model.onShow();
37572
+ };
37573
+ PopupBaseViewModel.prototype.updateAfterHiding = function () {
37574
+ this.model.onHiding();
37575
+ };
37340
37576
  PopupBaseViewModel.prototype.getLeaveOptions = function () {
37341
37577
  return { cssClass: "sv-popup--animate-leave" };
37342
37578
  };
@@ -37764,13 +38000,6 @@ var PopupModel = /** @class */ (function (_super) {
37764
38000
  }
37765
38001
  this.setPropertyValue("isVisible", value);
37766
38002
  this.onVisibilityChanged.fire(this, { model: this, isVisible: value });
37767
- if (this.isVisible) {
37768
- this.onShow();
37769
- }
37770
- else {
37771
- this.refreshInnerModel();
37772
- this.onHide();
37773
- }
37774
38003
  },
37775
38004
  enumerable: false,
37776
38005
  configurable: true
@@ -37778,6 +38007,14 @@ var PopupModel = /** @class */ (function (_super) {
37778
38007
  PopupModel.prototype.toggleVisibility = function () {
37779
38008
  this.isVisible = !this.isVisible;
37780
38009
  };
38010
+ PopupModel.prototype.show = function () {
38011
+ if (!this.isVisible)
38012
+ this.isVisible = true;
38013
+ };
38014
+ PopupModel.prototype.hide = function () {
38015
+ if (this.isVisible)
38016
+ this.isVisible = false;
38017
+ };
37781
38018
  PopupModel.prototype.recalculatePosition = function (isResetHeight) {
37782
38019
  this.onRecalculatePosition.fire(this, { isResetHeight: isResetHeight });
37783
38020
  };
@@ -37786,6 +38023,10 @@ var PopupModel = /** @class */ (function (_super) {
37786
38023
  this.onFooterActionsCreated.fire(this, options);
37787
38024
  return options.actions;
37788
38025
  };
38026
+ PopupModel.prototype.onHiding = function () {
38027
+ this.refreshInnerModel();
38028
+ this.onHide();
38029
+ };
37789
38030
  PopupModel.prototype.dispose = function () {
37790
38031
  _super.prototype.dispose.call(this);
37791
38032
  this.onDispose();
@@ -41451,8 +41692,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("question", [
41451
41692
  visibleIf: function (obj) {
41452
41693
  return obj.showCommentArea;
41453
41694
  },
41454
- serializationProperty: "locCommentText",
41455
- layout: "row",
41695
+ serializationProperty: "locCommentText"
41456
41696
  },
41457
41697
  {
41458
41698
  name: "commentPlaceholder",
@@ -42894,13 +43134,18 @@ var QuestionSelectBase = /** @class */ (function (_super) {
42894
43134
  }
42895
43135
  };
42896
43136
  QuestionSelectBase.prototype.addNewItemToVisibleChoices = function (items, isAddAll) {
43137
+ var _this = this;
42897
43138
  if (!isAddAll)
42898
43139
  return;
42899
43140
  if (!this.newItemValue) {
42900
43141
  this.newItemValue = this.createItemValue("newitem"); //TODO
42901
43142
  this.newItemValue.isGhost = true;
43143
+ this.newItemValue.registerFunctionOnPropertyValueChanged("isVisible", function () {
43144
+ _this.updateVisibleChoices();
43145
+ });
42902
43146
  }
42903
- if (!this.isUsingCarryForward && this.canShowOptionItem(this.newItemValue, isAddAll, false)) {
43147
+ if (this.newItemValue.isVisible && !this.isUsingCarryForward
43148
+ && this.canShowOptionItem(this.newItemValue, isAddAll, false)) {
42904
43149
  this.footItemsCount = 1;
42905
43150
  items.push(this.newItemValue);
42906
43151
  }
@@ -74554,6 +74799,8 @@ var SurveyQuestionMatrixDropdownCell = /** @class */ (function (_super) {
74554
74799
  return this.cell.headers;
74555
74800
  };
74556
74801
  SurveyQuestionMatrixDropdownCell.prototype.renderQuestion = function () {
74802
+ if (!this.question.isVisible)
74803
+ return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null);
74557
74804
  if (!this.cell.isChoice)
74558
74805
  return _reactquestion__WEBPACK_IMPORTED_MODULE_2__["SurveyQuestion"].renderQuestionBody(this.creator, this.question);
74559
74806
  if (this.cell.isOtherChoice)
@@ -80320,7 +80567,7 @@ var SurveyModel = /** @class */ (function (_super) {
80320
80567
  _this.onPopupVisibleChanged.add(function (_, opt) {
80321
80568
  if (opt.visible) {
80322
80569
  _this.onScrollCallback = function () {
80323
- opt.popup.toggleVisibility();
80570
+ opt.popup.hide();
80324
80571
  };
80325
80572
  }
80326
80573
  else {
@@ -83628,7 +83875,7 @@ var SurveyModel = /** @class */ (function (_super) {
83628
83875
  if (this.isValidateOnComplete) {
83629
83876
  if (!this.isLastPage)
83630
83877
  return false;
83631
- return this.validate(true, true, func) !== true && !skipValidation;
83878
+ return this.validate(true, this.focusOnFirstError, func, true) !== true && !skipValidation;
83632
83879
  }
83633
83880
  return this.validateCurrentPage(func) !== true && !skipValidation;
83634
83881
  };
@@ -83760,25 +84007,27 @@ var SurveyModel = /** @class */ (function (_super) {
83760
84007
  * @see validateCurrentPage
83761
84008
  * @see validatePage
83762
84009
  */
83763
- SurveyModel.prototype.validate = function (fireCallback, focusOnFirstError, onAsyncValidation) {
84010
+ SurveyModel.prototype.validate = function (fireCallback, focusOnFirstError, onAsyncValidation, changeCurrentPage) {
83764
84011
  if (fireCallback === void 0) { fireCallback = true; }
83765
84012
  if (focusOnFirstError === void 0) { focusOnFirstError = false; }
83766
84013
  if (!!onAsyncValidation) {
83767
84014
  fireCallback = true;
83768
84015
  }
83769
84016
  var visPages = this.visiblePages;
83770
- var firstErrorPage = null;
83771
84017
  var res = true;
83772
84018
  var rec = { fireCallback: fireCallback, focuseOnFirstError: focusOnFirstError, firstErrorQuestion: null, result: false };
83773
84019
  for (var i = 0; i < visPages.length; i++) {
83774
84020
  if (!visPages[i].validate(fireCallback, focusOnFirstError, rec)) {
83775
- if (!firstErrorPage)
83776
- firstErrorPage = visPages[i];
83777
84021
  res = false;
83778
84022
  }
83779
84023
  }
83780
- if (focusOnFirstError && !!firstErrorPage && !!rec.firstErrorQuestion) {
83781
- rec.firstErrorQuestion.focus(true);
84024
+ if (!!rec.firstErrorQuestion && (focusOnFirstError || changeCurrentPage)) {
84025
+ if (focusOnFirstError) {
84026
+ rec.firstErrorQuestion.focus(true);
84027
+ }
84028
+ else {
84029
+ this.currentPage = rec.firstErrorQuestion.page;
84030
+ }
83782
84031
  }
83783
84032
  if (!res || !onAsyncValidation)
83784
84033
  return res;
@@ -85767,6 +86016,12 @@ var SurveyModel = /** @class */ (function (_super) {
85767
86016
  }
85768
86017
  this.isTriggerIsRunning = false;
85769
86018
  };
86019
+ SurveyModel.prototype.checkTriggersAndRunConditions = function (name, newValue, oldValue) {
86020
+ var triggerKeys = {};
86021
+ triggerKeys[name] = { newValue: newValue, oldValue: oldValue };
86022
+ this.runConditionOnValueChanged(name, newValue);
86023
+ this.checkTriggers(triggerKeys, false, false, name);
86024
+ };
85770
86025
  Object.defineProperty(SurveyModel.prototype, "hasRequiredValidQuestionTrigger", {
85771
86026
  get: function () {
85772
86027
  for (var i = 0; i < this.triggers.length; i++) {
@@ -86324,10 +86579,7 @@ var SurveyModel = /** @class */ (function (_super) {
86324
86579
  this.variablesHash[name] = newValue;
86325
86580
  this.notifyElementsOnAnyValueOrVariableChanged(name);
86326
86581
  if (!_helpers__WEBPACK_IMPORTED_MODULE_0__["Helpers"].isTwoValueEquals(oldValue, newValue)) {
86327
- this.runConditionOnValueChanged(name, newValue);
86328
- var triggerKeys = {};
86329
- triggerKeys[name] = { newValue: newValue, oldValue: oldValue };
86330
- this.checkTriggers(triggerKeys, false, false, name);
86582
+ this.checkTriggersAndRunConditions(name, newValue, oldValue);
86331
86583
  this.onVariableChanged.fire(this, { name: name, value: newValue });
86332
86584
  }
86333
86585
  };
@@ -86416,10 +86668,7 @@ var SurveyModel = /** @class */ (function (_super) {
86416
86668
  if (locNotification === true || this.isDisposed || this.isRunningElementsBindings)
86417
86669
  return;
86418
86670
  questionName = questionName || name;
86419
- var triggerKeys = {};
86420
- triggerKeys[name] = { newValue: newValue, oldValue: oldValue };
86421
- this.runConditionOnValueChanged(name, newValue);
86422
- this.checkTriggers(triggerKeys, false, false, name);
86671
+ this.checkTriggersAndRunConditions(name, newValue, oldValue);
86423
86672
  if (allowNotifyValueChanged)
86424
86673
  this.notifyQuestionOnValueChanged(name, newValue, questionName);
86425
86674
  if (locNotification !== "text") {
@@ -86552,7 +86801,7 @@ var SurveyModel = /** @class */ (function (_super) {
86552
86801
  }
86553
86802
  }
86554
86803
  if (!locNotification) {
86555
- this.runConditionOnValueChanged(name, this.getValue(name));
86804
+ this.checkTriggersAndRunConditions(name, this.getValue(name), undefined);
86556
86805
  }
86557
86806
  if (locNotification !== "text") {
86558
86807
  this.tryGoNextPageAutomatic(name);
@@ -88545,14 +88794,21 @@ function createTOCListModel(survey, onAction) {
88545
88794
  visible: new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return page.isVisible && !(page["isStartPage"]); })
88546
88795
  });
88547
88796
  });
88548
- var listModel = new _list__WEBPACK_IMPORTED_MODULE_3__["ListModel"](items, function (item) {
88549
- if (!!item.action()) {
88550
- listModel.selectedItem = item;
88551
- }
88552
- }, true, items.filter(function (i) { return !!survey.currentPage && i.id === survey.currentPage.name; })[0] || items.filter(function (i) { return i.id === pagesSource[0].name; })[0]);
88797
+ var selectedItem = items.filter(function (i) { return !!survey.currentPage && i.id === survey.currentPage.name; })[0] || items.filter(function (i) { return i.id === pagesSource[0].name; })[0];
88798
+ var listOptions = {
88799
+ items: items,
88800
+ onSelectionChanged: function (item) {
88801
+ if (!!item.action()) {
88802
+ listModel.selectedItem = item;
88803
+ }
88804
+ },
88805
+ allowSelection: true,
88806
+ searchEnabled: false,
88807
+ locOwner: survey,
88808
+ selectedItem: selectedItem
88809
+ };
88810
+ var listModel = new _list__WEBPACK_IMPORTED_MODULE_3__["ListModel"](listOptions);
88553
88811
  listModel.allowSelection = false;
88554
- listModel.locOwner = survey;
88555
- listModel.searchEnabled = false;
88556
88812
  survey.onCurrentPageChanged.add(function (s, o) {
88557
88813
  listModel.selectedItem = items.filter(function (i) { return !!survey.currentPage && i.id === survey.currentPage.name; })[0];
88558
88814
  });