survey-react 1.10.1 → 1.10.2
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/defaultV2.css +78 -2
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +30 -11
- package/survey.react.js +259 -165
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/survey.react.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.10.
|
2
|
+
* surveyjs - Survey JavaScript library v1.10.2
|
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
|
*/
|
@@ -742,8 +742,9 @@ function createDropdownActionModelAdvanced(actionOptions, listOptions, popupOpti
|
|
742
742
|
}
|
743
743
|
listOptions.onSelectionChanged(item);
|
744
744
|
innerPopupModel.toggleVisibility();
|
745
|
-
}, listOptions.allowSelection, listOptions.selectedItem
|
745
|
+
}, listOptions.allowSelection, listOptions.selectedItem);
|
746
746
|
listModel.locOwner = locOwner;
|
747
|
+
listModel.setOnFilterStringChangedCallback(listOptions.onFilterStringChangedCallback);
|
747
748
|
var innerPopupModel = new _popup__WEBPACK_IMPORTED_MODULE_4__["PopupModel"]("sv-list", { model: listModel }, popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.verticalPosition, popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.horizontalPosition, popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.showPointer, popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.isModal, popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.onCancel, popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.onApply, popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.onHide, popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.onShow, popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.cssClass, popupOptions === null || popupOptions === void 0 ? void 0 : popupOptions.title, function () {
|
748
749
|
listModel.dispose();
|
749
750
|
});
|
@@ -994,9 +995,9 @@ var Action = /** @class */ (function (_super) {
|
|
994
995
|
//Object.assign(this, item) to support IE11
|
995
996
|
if (!!innerItem) {
|
996
997
|
for (var key in innerItem) {
|
997
|
-
if (key
|
998
|
-
|
999
|
-
|
998
|
+
if (key === "locTitle" || key === "title" && !!_this.locTitle && !!_this.title)
|
999
|
+
continue;
|
1000
|
+
_this[key] = innerItem[key];
|
1000
1001
|
}
|
1001
1002
|
}
|
1002
1003
|
if (!!_this.locTitleName) {
|
@@ -2242,8 +2243,6 @@ var Base = /** @class */ (function () {
|
|
2242
2243
|
* @param val A new value for the property.
|
2243
2244
|
*/
|
2244
2245
|
Base.prototype.setPropertyValue = function (name, val) {
|
2245
|
-
if (name) {
|
2246
|
-
}
|
2247
2246
|
if (!this.isLoadingFromJson) {
|
2248
2247
|
var prop = this.getPropertyByName(name);
|
2249
2248
|
if (!!prop) {
|
@@ -8097,6 +8096,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8097
8096
|
_this.showInputFieldComponent = _this.question.showInputFieldComponent;
|
8098
8097
|
_this.listModel = _this.createListModel();
|
8099
8098
|
_this.updateAfterListModelCreated(_this.listModel);
|
8099
|
+
_this.setChoicesLazyLoadEnabled(_this.question.choicesLazyLoadEnabled);
|
8100
8100
|
_this.setSearchEnabled(_this.question.searchEnabled);
|
8101
8101
|
_this.setTextWrapEnabled(_this.question.textWrapEnabled);
|
8102
8102
|
_this.createPopup();
|
@@ -8177,6 +8177,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8177
8177
|
}
|
8178
8178
|
if (option.isVisible && _this.question.choicesLazyLoadEnabled) {
|
8179
8179
|
_this.listModel.actions = [];
|
8180
|
+
_this.resetItemsSettings();
|
8180
8181
|
_this.updateQuestionChoices();
|
8181
8182
|
}
|
8182
8183
|
if (option.isVisible && !!_this.question.onOpenedCallBack) {
|
@@ -8247,7 +8248,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8247
8248
|
_this.popupModel.isVisible = false;
|
8248
8249
|
};
|
8249
8250
|
}
|
8250
|
-
var res = new _list__WEBPACK_IMPORTED_MODULE_4__["ListModel"](visibleItems, _onSelectionChanged, false, undefined, this.
|
8251
|
+
var res = new _list__WEBPACK_IMPORTED_MODULE_4__["ListModel"](visibleItems, _onSelectionChanged, false, undefined, this.listElementId);
|
8251
8252
|
this.setOnTextSearchCallbackForListModel(res);
|
8252
8253
|
res.renderElements = false;
|
8253
8254
|
res.forceShowFilter = true;
|
@@ -8480,6 +8481,9 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8480
8481
|
this.listModel.showSearchClearButton = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
8481
8482
|
this.searchEnabled = newValue;
|
8482
8483
|
};
|
8484
|
+
DropdownListModel.prototype.setChoicesLazyLoadEnabled = function (newValue) {
|
8485
|
+
this.listModel.setOnFilterStringChangedCallback(newValue ? this.listModelFilterStringChanged : undefined);
|
8486
|
+
};
|
8483
8487
|
DropdownListModel.prototype.updateItems = function () {
|
8484
8488
|
this.listModel.setItems(this.getAvailableItems());
|
8485
8489
|
};
|
@@ -8499,9 +8503,6 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8499
8503
|
if (options.name == "value") {
|
8500
8504
|
this.showInputFieldComponent = this.question.showInputFieldComponent;
|
8501
8505
|
}
|
8502
|
-
if (options.name == "choicesLazyLoadEnabled" && options.newValue) {
|
8503
|
-
this.listModel.setOnFilterStringChangedCallback(this.listModelFilterStringChanged);
|
8504
|
-
}
|
8505
8506
|
if (options.name == "textWrapEnabled") {
|
8506
8507
|
this.setTextWrapEnabled(options.newValue);
|
8507
8508
|
}
|
@@ -8830,7 +8831,7 @@ var DropdownMultiSelectListModel = /** @class */ (function (_super) {
|
|
8830
8831
|
}
|
8831
8832
|
};
|
8832
8833
|
}
|
8833
|
-
var res = new _multiSelectListModel__WEBPACK_IMPORTED_MODULE_3__["MultiSelectListModel"](visibleItems, _onSelectionChanged, false, undefined, this.
|
8834
|
+
var res = new _multiSelectListModel__WEBPACK_IMPORTED_MODULE_3__["MultiSelectListModel"](visibleItems, _onSelectionChanged, false, undefined, this.listElementId);
|
8834
8835
|
res.actions.forEach(function (a) { return a.disableTabStop = true; });
|
8835
8836
|
this.setOnTextSearchCallbackForListModel(res);
|
8836
8837
|
res.forceShowFilter = true;
|
@@ -9805,8 +9806,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
9805
9806
|
|
9806
9807
|
var Version;
|
9807
9808
|
var ReleaseDate;
|
9808
|
-
Version = "" + "1.10.
|
9809
|
-
ReleaseDate = "" + "2024-04-
|
9809
|
+
Version = "" + "1.10.2";
|
9810
|
+
ReleaseDate = "" + "2024-04-30";
|
9810
9811
|
function checkLibraryVersion(ver, libraryName) {
|
9811
9812
|
if (Version != ver) {
|
9812
9813
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
@@ -10993,7 +10994,7 @@ var defaultBootstrapMaterialCss = _plugins_themes_bootstrapmaterial_cssbootstrap
|
|
10993
10994
|
/*!***************************************!*\
|
10994
10995
|
!*** ./src/entries/react-ui-model.ts ***!
|
10995
10996
|
\***************************************/
|
10996
|
-
/*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, 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, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent */
|
10997
|
+
/*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, 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 */
|
10997
10998
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10998
10999
|
|
10999
11000
|
"use strict";
|
@@ -11241,39 +11242,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
11241
11242
|
/* harmony import */ var _react_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../react/components/survey-actions/survey-nav-button */ "./src/react/components/survey-actions/survey-nav-button.tsx");
|
11242
11243
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyNavigationButton", function() { return _react_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_70__["SurveyNavigationButton"]; });
|
11243
11244
|
|
11244
|
-
/* harmony import */ var
|
11245
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11245
|
+
/* harmony import */ var _react_components_question_error__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../react/components/question-error */ "./src/react/components/question-error.tsx");
|
11246
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionErrorComponent", function() { return _react_components_question_error__WEBPACK_IMPORTED_MODULE_71__["QuestionErrorComponent"]; });
|
11246
11247
|
|
11247
|
-
/* harmony import */ var
|
11248
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11248
|
+
/* harmony import */ var _react_components_matrix_row__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../react/components/matrix/row */ "./src/react/components/matrix/row.tsx");
|
11249
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRow", function() { return _react_components_matrix_row__WEBPACK_IMPORTED_MODULE_72__["MatrixRow"]; });
|
11249
11250
|
|
11250
|
-
/* harmony import */ var
|
11251
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11251
|
+
/* harmony import */ var _react_components_skeleton__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../react/components/skeleton */ "./src/react/components/skeleton.tsx");
|
11252
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Skeleton", function() { return _react_components_skeleton__WEBPACK_IMPORTED_MODULE_73__["Skeleton"]; });
|
11252
11253
|
|
11253
|
-
/* harmony import */ var
|
11254
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11254
|
+
/* harmony import */ var _react_components_notifier__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../react/components/notifier */ "./src/react/components/notifier.tsx");
|
11255
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NotifierComponent", function() { return _react_components_notifier__WEBPACK_IMPORTED_MODULE_74__["NotifierComponent"]; });
|
11255
11256
|
|
11256
|
-
/* harmony import */ var
|
11257
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11257
|
+
/* harmony import */ var _react_components_components_container__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../react/components/components-container */ "./src/react/components/components-container.tsx");
|
11258
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentsContainer", function() { return _react_components_components_container__WEBPACK_IMPORTED_MODULE_75__["ComponentsContainer"]; });
|
11258
11259
|
|
11259
|
-
/* harmony import */ var
|
11260
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11260
|
+
/* harmony import */ var _react_components_character_counter__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../react/components/character-counter */ "./src/react/components/character-counter.tsx");
|
11261
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounterComponent", function() { return _react_components_character_counter__WEBPACK_IMPORTED_MODULE_76__["CharacterCounterComponent"]; });
|
11261
11262
|
|
11262
|
-
/* harmony
|
11263
|
+
/* harmony import */ var _react_components_header__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../react/components/header */ "./src/react/components/header.tsx");
|
11264
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HeaderMobile", function() { return _react_components_header__WEBPACK_IMPORTED_MODULE_77__["HeaderMobile"]; });
|
11263
11265
|
|
11264
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11266
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HeaderCell", function() { return _react_components_header__WEBPACK_IMPORTED_MODULE_77__["HeaderCell"]; });
|
11265
11267
|
|
11266
|
-
/* harmony
|
11267
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_string_viewer__WEBPACK_IMPORTED_MODULE_77__["SurveyLocStringViewer"]; });
|
11268
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Header", function() { return _react_components_header__WEBPACK_IMPORTED_MODULE_77__["Header"]; });
|
11268
11269
|
|
11269
|
-
/* harmony import */ var
|
11270
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11270
|
+
/* harmony import */ var _react_string_viewer__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../react/string-viewer */ "./src/react/string-viewer.tsx");
|
11271
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_string_viewer__WEBPACK_IMPORTED_MODULE_78__["SurveyLocStringViewer"]; });
|
11271
11272
|
|
11272
|
-
/* harmony import */ var
|
11273
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11273
|
+
/* harmony import */ var _react_string_editor__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../react/string-editor */ "./src/react/string-editor.tsx");
|
11274
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return _react_string_editor__WEBPACK_IMPORTED_MODULE_79__["SurveyLocStringEditor"]; });
|
11274
11275
|
|
11275
|
-
/* harmony import */ var
|
11276
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11276
|
+
/* harmony import */ var _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../react/components/loading-indicator */ "./src/react/components/loading-indicator.tsx");
|
11277
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LoadingIndicatorComponent", function() { return _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_80__["LoadingIndicatorComponent"]; });
|
11278
|
+
|
11279
|
+
/* harmony import */ var _react_svgbundle__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../react/svgbundle */ "./src/react/svgbundle.tsx");
|
11280
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SvgBundleComponent", function() { return _react_svgbundle__WEBPACK_IMPORTED_MODULE_81__["SvgBundleComponent"]; });
|
11277
11281
|
|
11278
11282
|
// react
|
11279
11283
|
|
@@ -11355,6 +11359,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
11355
11359
|
|
11356
11360
|
|
11357
11361
|
|
11362
|
+
|
11358
11363
|
|
11359
11364
|
|
11360
11365
|
//Uncomment to include the "date" question type.
|
@@ -11367,7 +11372,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
11367
11372
|
/*!******************************!*\
|
11368
11373
|
!*** ./src/entries/react.ts ***!
|
11369
11374
|
\******************************/
|
11370
|
-
/*! 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, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent */
|
11375
|
+
/*! 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 */
|
11371
11376
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11372
11377
|
|
11373
11378
|
"use strict";
|
@@ -12020,6 +12025,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
12020
12025
|
|
12021
12026
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyNavigationButton", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["SurveyNavigationButton"]; });
|
12022
12027
|
|
12028
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionErrorComponent", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["QuestionErrorComponent"]; });
|
12029
|
+
|
12023
12030
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRow", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["MatrixRow"]; });
|
12024
12031
|
|
12025
12032
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Skeleton", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["Skeleton"]; });
|
@@ -21365,11 +21372,10 @@ var defaultListCss = {
|
|
21365
21372
|
};
|
21366
21373
|
var ListModel = /** @class */ (function (_super) {
|
21367
21374
|
__extends(ListModel, _super);
|
21368
|
-
function ListModel(items, onSelectionChanged, allowSelection, selectedItem,
|
21375
|
+
function ListModel(items, onSelectionChanged, allowSelection, selectedItem, elementId) {
|
21369
21376
|
var _this = _super.call(this) || this;
|
21370
21377
|
_this.onSelectionChanged = onSelectionChanged;
|
21371
21378
|
_this.allowSelection = allowSelection;
|
21372
|
-
_this.onFilterStringChangedCallback = onFilterStringChangedCallback;
|
21373
21379
|
_this.elementId = elementId;
|
21374
21380
|
_this.onItemClick = function (itemValue) {
|
21375
21381
|
if (_this.isItemDisabled(itemValue)) {
|
@@ -24416,7 +24422,7 @@ var germanSurveyStrings = {
|
|
24416
24422
|
startSurveyText: "Start",
|
24417
24423
|
otherItemText: "Sonstiges (Bitte angeben)",
|
24418
24424
|
noneItemText: "Nichts trifft zu",
|
24419
|
-
refuseItemText: "
|
24425
|
+
refuseItemText: "Antwort verweigern",
|
24420
24426
|
dontKnowItemText: "Weiß ich nicht",
|
24421
24427
|
selectAllItemText: "Alles auswählen",
|
24422
24428
|
progressText: "Seite {0} von {1}",
|
@@ -24426,7 +24432,7 @@ var germanSurveyStrings = {
|
|
24426
24432
|
questionsProgressText: "{0}/{1} Fragen beantwortet",
|
24427
24433
|
emptySurvey: "Es sind keine Fragen vorhanden.",
|
24428
24434
|
completingSurvey: "Vielen Dank, dass Sie die Umfrage abgeschlossen haben!",
|
24429
|
-
completingSurveyBefore: "
|
24435
|
+
completingSurveyBefore: "Sie haben diese Umfrage bereits abgeschlossen.",
|
24430
24436
|
loadingSurvey: "Umfrage wird geladen...",
|
24431
24437
|
placeholder: "Bitte auswählen...",
|
24432
24438
|
ratingOptionsCaption: "Tippen Sie hier, um zu bewerten...",
|
@@ -24476,7 +24482,7 @@ var germanSurveyStrings = {
|
|
24476
24482
|
savingData: "Die Ergebnisse werden auf dem Server gespeichert...",
|
24477
24483
|
savingDataError: "Es ist ein Fehler aufgetreten. Die Ergebnisse konnten nicht gespeichert werden.",
|
24478
24484
|
savingDataSuccess: "Die Ergebnisse wurden gespeichert!",
|
24479
|
-
savingExceedSize: "Ihre Antwort überschreitet 64 KB. Reduzieren Sie die Größe Ihrer Datei(en) und versuchen Sie es erneut, oder wenden Sie sich an
|
24485
|
+
savingExceedSize: "Ihre Antwort überschreitet 64 KB. Reduzieren Sie die Größe Ihrer Datei(en) und versuchen Sie es erneut, oder wenden Sie sich an den Umfragebesitzer.",
|
24480
24486
|
saveAgainButton: "Erneut absenden",
|
24481
24487
|
timerMin: "Min.",
|
24482
24488
|
timerSec: "Sek.",
|
@@ -24492,7 +24498,7 @@ var germanSurveyStrings = {
|
|
24492
24498
|
chooseFileCaption: "Datei auswählen",
|
24493
24499
|
takePhotoCaption: "Foto machen",
|
24494
24500
|
photoPlaceholder: "Klicken Sie auf die Schaltfläche unten, um ein Foto mit der Kamera aufzunehmen.",
|
24495
|
-
fileOrPhotoPlaceholder: "Ziehen Sie eine Datei per Drag & Drop oder wählen Sie sie aus, um sie hochzuladen oder ein Foto mit der Kamera
|
24501
|
+
fileOrPhotoPlaceholder: "Ziehen Sie eine Datei per Drag & Drop oder wählen Sie sie aus, um sie hochzuladen oder machen Sie ein Foto mit der Kamera.",
|
24496
24502
|
replaceFileCaption: "Datei ersetzen",
|
24497
24503
|
removeFileCaption: "Datei löschen",
|
24498
24504
|
booleanCheckedLabel: "Ja",
|
@@ -24502,38 +24508,21 @@ var germanSurveyStrings = {
|
|
24502
24508
|
questionTitlePatternText: "Fragentitel",
|
24503
24509
|
modalCancelButtonText: "Abbrechen",
|
24504
24510
|
modalApplyButtonText: "Anwenden",
|
24505
|
-
filterStringPlaceholder: "
|
24511
|
+
filterStringPlaceholder: "Tippen Sie, um zu suchen...",
|
24506
24512
|
emptyMessage: "Es gibt noch keine Daten.",
|
24507
24513
|
noEntriesText: "Es gibt noch keine Einträge.\nKlicken Sie auf die Schaltfläche unten, um einen neuen Eintrag hinzuzufügen.",
|
24508
24514
|
noEntriesReadonlyText: "Es gibt keine Einträge.",
|
24509
24515
|
more: "Mehr",
|
24510
|
-
tagboxDoneButtonCaption: "
|
24516
|
+
tagboxDoneButtonCaption: "OK",
|
24511
24517
|
selectToRankEmptyRankedAreaText: "Alle Auswahlmöglichkeiten sind in einer Rangfolge angeordnet",
|
24512
24518
|
selectToRankEmptyUnrankedAreaText: "Ziehen Sie die Auswahl hierher, um sie zu ordnen",
|
24513
|
-
ok: "
|
24519
|
+
ok: "OK",
|
24514
24520
|
cancel: "Abbrechen"
|
24515
24521
|
};
|
24516
24522
|
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["de"] = germanSurveyStrings;
|
24517
24523
|
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["de"] = "deutsch";
|
24518
24524
|
// The following strings have been translated by a machine translation service
|
24519
24525
|
// Remove those strings that you have corrected manually
|
24520
|
-
// panelDynamicTabTextFormat: "Panel {panelIndex}" => "Bereich {panelIndex}"
|
24521
|
-
// noEntriesReadonlyText: "There are no entries." => "Es gibt keine Einträge."
|
24522
|
-
// tagboxDoneButtonCaption: "OK" => "OKAY"
|
24523
|
-
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Alle Auswahlmöglichkeiten sind in einer Rangfolge angeordnet"
|
24524
|
-
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Ziehen Sie die Auswahl hierher, um sie zu ordnen"// takePhotoCaption: "Take Photo" => "Foto machen"
|
24525
|
-
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Klicken Sie auf die Schaltfläche unten, um ein Foto mit der Kamera aufzunehmen."
|
24526
|
-
// fileOrPhotoPlaceholder: "Drag and drop or select a file to upload or take a photo using the camera." => "Ziehen Sie eine Datei per Drag & Drop oder wählen Sie sie aus, um sie hochzuladen oder ein Foto mit der Kamera aufzunehmen."
|
24527
|
-
// replaceFileCaption: "Replace file" => "Datei ersetzen"// eachRowUniqueError: "Each row must have a unique value." => "Jede Zeile muss einen eindeutigen Wert haben."
|
24528
|
-
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Dateien können nicht hochgeladen werden. Fügen Sie einen Handler für das Ereignis 'onUploadFiles' hinzu."
|
24529
|
-
// showDetails: "Show Details" => "Details anzeigen"
|
24530
|
-
// hideDetails: "Hide Details" => "Details ausblenden"
|
24531
|
-
// ok: "OK" => "OKAY"
|
24532
|
-
// cancel: "Cancel" => "Abbrechen"
|
24533
|
-
// refuseItemText: "Refuse to answer" => "Verweigern Sie die Antwort"
|
24534
|
-
// dontKnowItemText: "Don't know" => "Weiß ich nicht"
|
24535
|
-
// savingExceedSize: "Your response exceeds 64KB. Please reduce the size of your file(s) and try again or contact a survey owner." => "Ihre Antwort überschreitet 64 KB. Reduzieren Sie die Größe Ihrer Datei(en) und versuchen Sie es erneut, oder wenden Sie sich an einen Umfragebesitzer."
|
24536
|
-
// signaturePlaceHolderReadOnly: "No signature" => "Keine Unterschrift"
|
24537
24526
|
|
24538
24527
|
|
24539
24528
|
/***/ }),
|
@@ -31899,8 +31888,8 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
31899
31888
|
|
31900
31889
|
var MultiSelectListModel = /** @class */ (function (_super) {
|
31901
31890
|
__extends(MultiSelectListModel, _super);
|
31902
|
-
function MultiSelectListModel(items, onSelectionChanged, allowSelection, selectedItems,
|
31903
|
-
var _this = _super.call(this, items, onSelectionChanged, allowSelection, undefined,
|
31891
|
+
function MultiSelectListModel(items, onSelectionChanged, allowSelection, selectedItems, elementId) {
|
31892
|
+
var _this = _super.call(this, items, onSelectionChanged, allowSelection, undefined, elementId) || this;
|
31904
31893
|
_this.onItemClick = function (item) {
|
31905
31894
|
if (_this.isItemDisabled(item))
|
31906
31895
|
return;
|
@@ -32134,7 +32123,6 @@ var PageModel = /** @class */ (function (_super) {
|
|
32134
32123
|
return _this.num + ". " + text;
|
32135
32124
|
return text;
|
32136
32125
|
};
|
32137
|
-
_this.createLocalizableString("navigationTitle", _this, true);
|
32138
32126
|
_this.createLocalizableString("navigationDescription", _this, true);
|
32139
32127
|
_this.dragDropPageHelper = new _drag_drop_page_helper_v1__WEBPACK_IMPORTED_MODULE_3__["DragDropPageHelperV1"](_this);
|
32140
32128
|
return _this;
|
@@ -32173,13 +32161,6 @@ var PageModel = /** @class */ (function (_super) {
|
|
32173
32161
|
enumerable: false,
|
32174
32162
|
configurable: true
|
32175
32163
|
});
|
32176
|
-
Object.defineProperty(PageModel.prototype, "locNavigationTitle", {
|
32177
|
-
get: function () {
|
32178
|
-
return this.getLocalizableString("navigationTitle");
|
32179
|
-
},
|
32180
|
-
enumerable: false,
|
32181
|
-
configurable: true
|
32182
|
-
});
|
32183
32164
|
Object.defineProperty(PageModel.prototype, "navigationDescription", {
|
32184
32165
|
/**
|
32185
32166
|
* Explanatory text displayed under a navigation button in the progress bar. Applies when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), `SurveyModel`'s [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"pages"`, and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarShowPageTitles) is `true`.
|
@@ -32201,16 +32182,12 @@ var PageModel = /** @class */ (function (_super) {
|
|
32201
32182
|
configurable: true
|
32202
32183
|
});
|
32203
32184
|
PageModel.prototype.navigationLocStrChanged = function () {
|
32185
|
+
if (this.locNavigationTitle.isEmpty) {
|
32186
|
+
this.locTitle.strChanged();
|
32187
|
+
}
|
32204
32188
|
this.locNavigationTitle.strChanged();
|
32205
32189
|
this.locNavigationDescription.strChanged();
|
32206
32190
|
};
|
32207
|
-
Object.defineProperty(PageModel.prototype, "renderedNavigationTitle", {
|
32208
|
-
get: function () {
|
32209
|
-
return this.locNavigationTitle.renderedHtml || this.title || this.name;
|
32210
|
-
},
|
32211
|
-
enumerable: false,
|
32212
|
-
configurable: true
|
32213
|
-
});
|
32214
32191
|
Object.defineProperty(PageModel.prototype, "passed", {
|
32215
32192
|
get: function () {
|
32216
32193
|
return this.getPropertyValue("passed", false);
|
@@ -32852,6 +32829,9 @@ var PanelModelBase = /** @class */ (function (_super) {
|
|
32852
32829
|
_this.addExpressionProperty("enableIf", function (obj, res) { _this.readOnly = res === false; });
|
32853
32830
|
_this.addExpressionProperty("requiredIf", function (obj, res) { _this.isRequired = res === true; });
|
32854
32831
|
_this.createLocalizableString("requiredErrorText", _this);
|
32832
|
+
_this.createLocalizableString("navigationTitle", _this, true).onGetTextCallback = function (text) {
|
32833
|
+
return text || _this.title || _this.name;
|
32834
|
+
};
|
32855
32835
|
_this.registerPropertyChangedHandlers(["questionTitleLocation"], function () {
|
32856
32836
|
_this.onVisibleChanged.bind(_this);
|
32857
32837
|
_this.updateElementCss(true);
|
@@ -32968,9 +32948,22 @@ var PanelModelBase = /** @class */ (function (_super) {
|
|
32968
32948
|
this.elements[i].locStrsChanged();
|
32969
32949
|
}
|
32970
32950
|
};
|
32951
|
+
PanelModelBase.prototype.getMarkdownHtml = function (text, name) {
|
32952
|
+
if (name === "navigationTitle" && this.locNavigationTitle.isEmpty) {
|
32953
|
+
return this.locTitle.renderedHtml || this.name;
|
32954
|
+
}
|
32955
|
+
return _super.prototype.getMarkdownHtml.call(this, text, name);
|
32956
|
+
};
|
32957
|
+
Object.defineProperty(PanelModelBase.prototype, "locNavigationTitle", {
|
32958
|
+
get: function () {
|
32959
|
+
return this.getLocalizableString("navigationTitle");
|
32960
|
+
},
|
32961
|
+
enumerable: false,
|
32962
|
+
configurable: true
|
32963
|
+
});
|
32971
32964
|
Object.defineProperty(PanelModelBase.prototype, "renderedNavigationTitle", {
|
32972
32965
|
get: function () {
|
32973
|
-
return this.
|
32966
|
+
return this.locNavigationTitle.renderedHtml;
|
32974
32967
|
},
|
32975
32968
|
enumerable: false,
|
32976
32969
|
configurable: true
|
@@ -47320,7 +47313,13 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
|
|
47320
47313
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: "" })
|
47321
47314
|
], QuestionDropdownModel.prototype, "readOnlyText", void 0);
|
47322
47315
|
__decorate([
|
47323
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])(
|
47316
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({
|
47317
|
+
onSet: function (newValue, target) {
|
47318
|
+
if (!!target.dropdownListModel) {
|
47319
|
+
target.dropdownListModel.setChoicesLazyLoadEnabled(newValue);
|
47320
|
+
}
|
47321
|
+
}
|
47322
|
+
})
|
47324
47323
|
], QuestionDropdownModel.prototype, "choicesLazyLoadEnabled", void 0);
|
47325
47324
|
__decorate([
|
47326
47325
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
@@ -48221,6 +48220,7 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
48221
48220
|
}
|
48222
48221
|
};
|
48223
48222
|
_this.createLocalizableString("takePhotoCaption", _this, false, true);
|
48223
|
+
_this.createLocalizableString("clearCaption", _this, false, true);
|
48224
48224
|
_this.actionsContainer = new _actions_container__WEBPACK_IMPORTED_MODULE_7__["ActionContainer"]();
|
48225
48225
|
_this.actionsContainer.locOwner = _this;
|
48226
48226
|
_this.fileIndexAction = new _actions_action__WEBPACK_IMPORTED_MODULE_8__["Action"]({
|
@@ -48297,7 +48297,7 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
48297
48297
|
iconName: "icon-clear",
|
48298
48298
|
id: "sv-file-clean",
|
48299
48299
|
iconSize: "auto",
|
48300
|
-
|
48300
|
+
locTitle: _this.locClearButtonCaption,
|
48301
48301
|
showTitle: false,
|
48302
48302
|
enabledIf: function () { return !_this.isInputReadOnly; },
|
48303
48303
|
innerCss: new _base__WEBPACK_IMPORTED_MODULE_3__["ComputedUpdater"](function () { return _this.cssClasses.removeButton; }),
|
@@ -48609,6 +48609,23 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
48609
48609
|
enumerable: false,
|
48610
48610
|
configurable: true
|
48611
48611
|
});
|
48612
|
+
Object.defineProperty(QuestionFileModel.prototype, "clearButtonCaption", {
|
48613
|
+
get: function () {
|
48614
|
+
return this.getLocalizableStringText("clearCaption");
|
48615
|
+
},
|
48616
|
+
set: function (value) {
|
48617
|
+
this.setLocalizableStringText("clearCaption", value);
|
48618
|
+
},
|
48619
|
+
enumerable: false,
|
48620
|
+
configurable: true
|
48621
|
+
});
|
48622
|
+
Object.defineProperty(QuestionFileModel.prototype, "locClearButtonCaption", {
|
48623
|
+
get: function () {
|
48624
|
+
return this.getLocalizableString("clearCaption");
|
48625
|
+
},
|
48626
|
+
enumerable: false,
|
48627
|
+
configurable: true
|
48628
|
+
});
|
48612
48629
|
Object.defineProperty(QuestionFileModel.prototype, "locRenderedPlaceholder", {
|
48613
48630
|
get: function () {
|
48614
48631
|
var _this = this;
|
@@ -49184,9 +49201,6 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
49184
49201
|
__decorate([
|
49185
49202
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ localizable: { defaultStr: "replaceFileCaption" } })
|
49186
49203
|
], QuestionFileModel.prototype, "replaceButtonCaption", void 0);
|
49187
|
-
__decorate([
|
49188
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ localizable: { defaultStr: "clearCaption" } })
|
49189
|
-
], QuestionFileModel.prototype, "clearButtonCaption", void 0);
|
49190
49204
|
__decorate([
|
49191
49205
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ localizable: { defaultStr: "removeFileCaption" } })
|
49192
49206
|
], QuestionFileModel.prototype, "removeFileCaption", void 0);
|
@@ -50208,6 +50222,9 @@ var QuestionImagePickerModel = /** @class */ (function (_super) {
|
|
50208
50222
|
QuestionImagePickerModel.prototype.needResponsiveness = function () {
|
50209
50223
|
return this.supportResponsiveness() && this.isDefaultV2Theme;
|
50210
50224
|
};
|
50225
|
+
QuestionImagePickerModel.prototype.needResponsiveWidth = function () {
|
50226
|
+
return this.colCount > 2;
|
50227
|
+
};
|
50211
50228
|
QuestionImagePickerModel.prototype.getCurrentColCount = function () {
|
50212
50229
|
if (this.responsiveColCount === undefined || this.colCount === 0) {
|
50213
50230
|
return this.colCount;
|
@@ -50439,6 +50456,9 @@ var MatrixRowModel = /** @class */ (function (_super) {
|
|
50439
50456
|
if (_this.data)
|
50440
50457
|
_this.data.onMatrixRowChanged(_this);
|
50441
50458
|
});
|
50459
|
+
if (_this.data && _this.data.hasErrorInRow(_this)) {
|
50460
|
+
_this.hasError = true;
|
50461
|
+
}
|
50442
50462
|
return _this;
|
50443
50463
|
}
|
50444
50464
|
Object.defineProperty(MatrixRowModel.prototype, "name", {
|
@@ -50489,11 +50509,21 @@ var MatrixRowModel = /** @class */ (function (_super) {
|
|
50489
50509
|
enumerable: false,
|
50490
50510
|
configurable: true
|
50491
50511
|
});
|
50512
|
+
Object.defineProperty(MatrixRowModel.prototype, "hasError", {
|
50513
|
+
get: function () {
|
50514
|
+
return this.getPropertyValue("hasError", false);
|
50515
|
+
},
|
50516
|
+
set: function (val) {
|
50517
|
+
this.setPropertyValue("hasError", val);
|
50518
|
+
},
|
50519
|
+
enumerable: false,
|
50520
|
+
configurable: true
|
50521
|
+
});
|
50492
50522
|
Object.defineProperty(MatrixRowModel.prototype, "rowClasses", {
|
50493
50523
|
get: function () {
|
50494
50524
|
var cssClasses = this.data.cssClasses;
|
50495
50525
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_11__["CssClassBuilder"]().append(cssClasses.row)
|
50496
|
-
.append(cssClasses.rowError, this.
|
50526
|
+
.append(cssClasses.rowError, this.hasError)
|
50497
50527
|
.append(cssClasses.rowReadOnly, this.isReadOnly)
|
50498
50528
|
.append(cssClasses.rowDisabled, this.data.isDisabledStyle)
|
50499
50529
|
.toString();
|
@@ -50819,7 +50849,7 @@ var QuestionMatrixModel = /** @class */ (function (_super) {
|
|
50819
50849
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_11__["CssClassBuilder"]()
|
50820
50850
|
.append(css.cell, hasCellText)
|
50821
50851
|
.append(hasCellText ? css.cellText : css.label)
|
50822
|
-
.append(css.itemOnError, !hasCellText && (this.isAllRowRequired
|
50852
|
+
.append(css.itemOnError, !hasCellText && (this.isAllRowRequired || this.eachRowUnique ? row.hasError : this.hasCssError()))
|
50823
50853
|
.append(hasCellText ? css.cellTextSelected : css.itemChecked, isChecked)
|
50824
50854
|
.append(hasCellText ? css.cellTextDisabled : css.itemDisabled, this.isDisabledStyle)
|
50825
50855
|
.append(hasCellText ? css.cellTextReadOnly : css.itemReadOnly, this.isReadOnlyStyle)
|
@@ -50949,72 +50979,76 @@ var QuestionMatrixModel = /** @class */ (function (_super) {
|
|
50949
50979
|
return loc ? loc : this.emptyLocalizableString;
|
50950
50980
|
};
|
50951
50981
|
QuestionMatrixModel.prototype.supportGoNextPageAutomatic = function () {
|
50952
|
-
return this.isMouseDown === true && this.hasValuesInAllRows(
|
50982
|
+
return this.isMouseDown === true && this.hasValuesInAllRows();
|
50953
50983
|
};
|
50954
50984
|
QuestionMatrixModel.prototype.onCheckForErrors = function (errors, isOnValueChanged) {
|
50955
50985
|
_super.prototype.onCheckForErrors.call(this, errors, isOnValueChanged);
|
50956
|
-
this.errorsInRow = undefined;
|
50957
50986
|
if (!isOnValueChanged || this.hasCssError()) {
|
50958
|
-
|
50987
|
+
var rowsErrors = { noValue: false, isNotUnique: false };
|
50988
|
+
this.checkErrorsAllRows(true, rowsErrors);
|
50989
|
+
if (rowsErrors.noValue) {
|
50959
50990
|
errors.push(new _error__WEBPACK_IMPORTED_MODULE_6__["RequiredInAllRowsError"](null, this));
|
50960
50991
|
}
|
50961
|
-
if (
|
50992
|
+
if (rowsErrors.isNotUnique) {
|
50962
50993
|
errors.push(new _error__WEBPACK_IMPORTED_MODULE_6__["EachRowUniqueError"](null, this));
|
50963
50994
|
}
|
50964
50995
|
}
|
50965
50996
|
};
|
50966
|
-
QuestionMatrixModel.prototype.
|
50967
|
-
|
50968
|
-
|
50969
|
-
|
50970
|
-
return this.eachRowUnique && this.hasNonUniqueValueInRow();
|
50997
|
+
QuestionMatrixModel.prototype.hasValuesInAllRows = function () {
|
50998
|
+
var rowsErrors = { noValue: false, isNotUnique: false };
|
50999
|
+
this.checkErrorsAllRows(false, rowsErrors, true);
|
51000
|
+
return !rowsErrors.noValue;
|
50971
51001
|
};
|
50972
|
-
QuestionMatrixModel.prototype.
|
51002
|
+
QuestionMatrixModel.prototype.checkErrorsAllRows = function (modifyErrors, res, allRowsRequired) {
|
51003
|
+
var _this = this;
|
50973
51004
|
var rows = this.generatedVisibleRows;
|
50974
51005
|
if (!rows)
|
50975
51006
|
rows = this.visibleRows;
|
50976
51007
|
if (!rows)
|
50977
|
-
return
|
50978
|
-
var
|
50979
|
-
|
50980
|
-
|
50981
|
-
|
50982
|
-
|
50983
|
-
|
50984
|
-
}
|
50985
|
-
res = res && hasValue;
|
51008
|
+
return;
|
51009
|
+
var rowsRequired = this.isAllRowRequired || allRowsRequired;
|
51010
|
+
var rowsUnique = this.eachRowUnique;
|
51011
|
+
res.noValue = false;
|
51012
|
+
res.isNotUnique = false;
|
51013
|
+
if (modifyErrors) {
|
51014
|
+
this.errorsInRow = undefined;
|
50986
51015
|
}
|
50987
|
-
|
50988
|
-
|
50989
|
-
QuestionMatrixModel.prototype.hasNonUniqueValueInRow = function () {
|
50990
|
-
var rows = this.generatedVisibleRows;
|
50991
|
-
if (!rows)
|
50992
|
-
rows = this.visibleRows;
|
50993
|
-
if (!rows)
|
50994
|
-
return false;
|
51016
|
+
if (!rowsRequired && !rowsUnique)
|
51017
|
+
return;
|
50995
51018
|
var hash = {};
|
50996
|
-
var res = true;
|
50997
51019
|
for (var i = 0; i < rows.length; i++) {
|
50998
51020
|
var val = rows[i].value;
|
50999
51021
|
var isEmpty = this.isValueEmpty(val);
|
51000
|
-
var
|
51001
|
-
|
51022
|
+
var isNotUnique = rowsUnique && (!isEmpty && hash[val] === true);
|
51023
|
+
isEmpty = isEmpty && rowsRequired;
|
51024
|
+
if (modifyErrors && (isEmpty || isNotUnique)) {
|
51002
51025
|
this.addErrorIntoRow(rows[i]);
|
51003
51026
|
}
|
51004
|
-
res = res && isUnique;
|
51005
51027
|
if (!isEmpty) {
|
51006
51028
|
hash[val] = true;
|
51007
51029
|
}
|
51030
|
+
res.noValue = res.noValue || isEmpty;
|
51031
|
+
res.isNotUnique = res.isNotUnique || isNotUnique;
|
51032
|
+
}
|
51033
|
+
if (modifyErrors) {
|
51034
|
+
rows.forEach(function (row) {
|
51035
|
+
row.hasError = _this.hasErrorInRow(row);
|
51036
|
+
});
|
51008
51037
|
}
|
51009
|
-
return !res;
|
51010
51038
|
};
|
51011
51039
|
QuestionMatrixModel.prototype.addErrorIntoRow = function (row) {
|
51012
51040
|
if (!this.errorsInRow)
|
51013
51041
|
this.errorsInRow = {};
|
51014
51042
|
this.errorsInRow[row.name] = true;
|
51043
|
+
row.hasError = true;
|
51044
|
+
};
|
51045
|
+
QuestionMatrixModel.prototype.refreshRowsErrors = function () {
|
51046
|
+
if (!this.errorsInRow)
|
51047
|
+
return;
|
51048
|
+
this.checkErrorsAllRows(true, { noValue: false, isNotUnique: false });
|
51015
51049
|
};
|
51016
51050
|
QuestionMatrixModel.prototype.getIsAnswered = function () {
|
51017
|
-
return _super.prototype.getIsAnswered.call(this) && this.hasValuesInAllRows(
|
51051
|
+
return _super.prototype.getIsAnswered.call(this) && this.hasValuesInAllRows();
|
51018
51052
|
};
|
51019
51053
|
QuestionMatrixModel.prototype.createMatrixRow = function (item, fullName, value) {
|
51020
51054
|
var row = new MatrixRowModel(item, fullName, this, value);
|
@@ -51043,6 +51077,7 @@ var QuestionMatrixModel = /** @class */ (function (_super) {
|
|
51043
51077
|
this.generatedVisibleRows[i].setValueDirectly(rowVal);
|
51044
51078
|
}
|
51045
51079
|
}
|
51080
|
+
this.refreshRowsErrors();
|
51046
51081
|
this.updateIsAnswered();
|
51047
51082
|
this.isRowChanging = false;
|
51048
51083
|
};
|
@@ -60808,11 +60843,16 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
|
|
60808
60843
|
var prefixName = this.getValueName() + indexStr;
|
60809
60844
|
var prefixText = this.processedTitle + indexStr;
|
60810
60845
|
for (var i = 0; i < panelObjs.length; i++) {
|
60811
|
-
|
60812
|
-
|
60813
|
-
|
60814
|
-
|
60815
|
-
|
60846
|
+
if (!!panelObjs[i].context) {
|
60847
|
+
objects.push(panelObjs[i]);
|
60848
|
+
}
|
60849
|
+
else {
|
60850
|
+
objects.push({
|
60851
|
+
name: prefixName + panelObjs[i].name,
|
60852
|
+
text: prefixText + panelObjs[i].text,
|
60853
|
+
question: panelObjs[i].question,
|
60854
|
+
});
|
60855
|
+
}
|
60816
60856
|
}
|
60817
60857
|
}
|
60818
60858
|
if (hasContext) {
|
@@ -60826,9 +60866,7 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
|
|
60826
60866
|
text: prefixText + QuestionPanelDynamicItem.ItemVariableName + "." + panelObjs[i].text,
|
60827
60867
|
question: panelObjs[i].question
|
60828
60868
|
};
|
60829
|
-
|
60830
|
-
obj.context = this;
|
60831
|
-
}
|
60869
|
+
obj.context = this;
|
60832
60870
|
objects.push(obj);
|
60833
60871
|
}
|
60834
60872
|
}
|
@@ -64801,7 +64839,13 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
64801
64839
|
})
|
64802
64840
|
], QuestionTagboxModel.prototype, "hideSelectedItems", void 0);
|
64803
64841
|
__decorate([
|
64804
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])(
|
64842
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({
|
64843
|
+
onSet: function (newValue, target) {
|
64844
|
+
if (!!target.dropdownListModel) {
|
64845
|
+
target.dropdownListModel.setChoicesLazyLoadEnabled(newValue);
|
64846
|
+
}
|
64847
|
+
}
|
64848
|
+
})
|
64805
64849
|
], QuestionTagboxModel.prototype, "choicesLazyLoadEnabled", void 0);
|
64806
64850
|
__decorate([
|
64807
64851
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
@@ -68543,6 +68587,59 @@ survey_core__WEBPACK_IMPORTED_MODULE_2__["settings"].showModal = showModal;
|
|
68543
68587
|
survey_core__WEBPACK_IMPORTED_MODULE_2__["settings"].showDialog = showDialog;
|
68544
68588
|
|
68545
68589
|
|
68590
|
+
/***/ }),
|
68591
|
+
|
68592
|
+
/***/ "./src/react/components/question-error.tsx":
|
68593
|
+
/*!*************************************************!*\
|
68594
|
+
!*** ./src/react/components/question-error.tsx ***!
|
68595
|
+
\*************************************************/
|
68596
|
+
/*! exports provided: QuestionErrorComponent */
|
68597
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
68598
|
+
|
68599
|
+
"use strict";
|
68600
|
+
__webpack_require__.r(__webpack_exports__);
|
68601
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionErrorComponent", function() { return QuestionErrorComponent; });
|
68602
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
68603
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
68604
|
+
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../element-factory */ "./src/react/element-factory.tsx");
|
68605
|
+
/* harmony import */ var _string_viewer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../string-viewer */ "./src/react/string-viewer.tsx");
|
68606
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
68607
|
+
var extendStatics = function (d, b) {
|
68608
|
+
extendStatics = Object.setPrototypeOf ||
|
68609
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
68610
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
68611
|
+
return extendStatics(d, b);
|
68612
|
+
};
|
68613
|
+
return function (d, b) {
|
68614
|
+
if (typeof b !== "function" && b !== null)
|
68615
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
68616
|
+
extendStatics(d, b);
|
68617
|
+
function __() { this.constructor = d; }
|
68618
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
68619
|
+
};
|
68620
|
+
})();
|
68621
|
+
|
68622
|
+
|
68623
|
+
|
68624
|
+
var QuestionErrorComponent = /** @class */ (function (_super) {
|
68625
|
+
__extends(QuestionErrorComponent, _super);
|
68626
|
+
function QuestionErrorComponent() {
|
68627
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
68628
|
+
}
|
68629
|
+
QuestionErrorComponent.prototype.render = function () {
|
68630
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", null,
|
68631
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", { className: this.props.cssClasses.error.icon || undefined, "aria-hidden": "true" }),
|
68632
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", { className: this.props.cssClasses.error.item || undefined },
|
68633
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_string_viewer__WEBPACK_IMPORTED_MODULE_2__["SurveyLocStringViewer"], { locStr: this.props.error.locText }))));
|
68634
|
+
};
|
68635
|
+
return QuestionErrorComponent;
|
68636
|
+
}(react__WEBPACK_IMPORTED_MODULE_0___default.a.Component));
|
68637
|
+
|
68638
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_1__["ReactElementFactory"].Instance.registerElement("sv-question-error", function (props) {
|
68639
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(QuestionErrorComponent, props);
|
68640
|
+
});
|
68641
|
+
|
68642
|
+
|
68546
68643
|
/***/ }),
|
68547
68644
|
|
68548
68645
|
/***/ "./src/react/components/rating/rating-dropdown-item.tsx":
|
@@ -70986,6 +71083,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
70986
71083
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
|
70987
71084
|
/* harmony import */ var _reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactSurveyNavigationBase */ "./src/react/reactSurveyNavigationBase.tsx");
|
70988
71085
|
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
|
71086
|
+
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reactquestion_element */ "./src/react/reactquestion_element.tsx");
|
70989
71087
|
var __extends = (undefined && undefined.__extends) || (function () {
|
70990
71088
|
var extendStatics = function (d, b) {
|
70991
71089
|
extendStatics = Object.setPrototypeOf ||
|
@@ -71005,6 +71103,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
71005
71103
|
|
71006
71104
|
|
71007
71105
|
|
71106
|
+
|
71008
71107
|
var SurveyProgressButtons = /** @class */ (function (_super) {
|
71009
71108
|
__extends(SurveyProgressButtons, _super);
|
71010
71109
|
function SurveyProgressButtons(props) {
|
@@ -71064,12 +71163,13 @@ var SurveyProgressButtons = /** @class */ (function (_super) {
|
|
71064
71163
|
};
|
71065
71164
|
SurveyProgressButtons.prototype.renderListElement = function (page, index) {
|
71066
71165
|
var _this = this;
|
71166
|
+
var text = _reactquestion_element__WEBPACK_IMPORTED_MODULE_4__["SurveyElementBase"].renderLocString(page.locNavigationTitle);
|
71067
71167
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("li", { key: "listelement" + index, className: this.model.getListElementCss(index), onClick: this.model.isListElementClickable(index)
|
71068
71168
|
? function () { return _this.model.clickListElement(page); }
|
71069
71169
|
: undefined, "data-page-number": this.model.getItemNumber(page) },
|
71070
71170
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsConnector }),
|
71071
71171
|
this.state.canShowItemTitles ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
|
71072
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageTitle, title: page.renderedNavigationTitle },
|
71172
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageTitle, title: page.renderedNavigationTitle }, text),
|
71073
71173
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageDescription, title: page.navigationDescription }, page.navigationDescription)) : null,
|
71074
71174
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsButton },
|
71075
71175
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsButtonBackground }),
|
@@ -71398,14 +71498,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
71398
71498
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
|
71399
71499
|
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./page */ "./src/react/page.tsx");
|
71400
71500
|
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reactquestion_element */ "./src/react/reactquestion_element.tsx");
|
71401
|
-
/* harmony import */ var
|
71402
|
-
/* harmony import */ var
|
71403
|
-
/* harmony import */ var
|
71404
|
-
/* harmony import */ var
|
71405
|
-
/* harmony import */ var
|
71406
|
-
/* harmony import */ var
|
71407
|
-
/* harmony import */ var
|
71408
|
-
/* harmony import */ var _svgbundle__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./svgbundle */ "./src/react/svgbundle.tsx");
|
71501
|
+
/* harmony import */ var _components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/survey-header/survey-header */ "./src/react/components/survey-header/survey-header.tsx");
|
71502
|
+
/* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./reactquestion_factory */ "./src/react/reactquestion_factory.tsx");
|
71503
|
+
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
|
71504
|
+
/* harmony import */ var _components_brand_info__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/brand-info */ "./src/react/components/brand-info.tsx");
|
71505
|
+
/* harmony import */ var _components_notifier__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./components/notifier */ "./src/react/components/notifier.tsx");
|
71506
|
+
/* harmony import */ var _components_components_container__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./components/components-container */ "./src/react/components/components-container.tsx");
|
71507
|
+
/* harmony import */ var _svgbundle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./svgbundle */ "./src/react/svgbundle.tsx");
|
71409
71508
|
var __extends = (undefined && undefined.__extends) || (function () {
|
71410
71509
|
var extendStatics = function (d, b) {
|
71411
71510
|
extendStatics = Object.setPrototypeOf ||
|
@@ -71443,7 +71542,6 @@ var __assign = (undefined && undefined.__assign) || function () {
|
|
71443
71542
|
|
71444
71543
|
|
71445
71544
|
|
71446
|
-
|
71447
71545
|
var Survey = /** @class */ (function (_super) {
|
71448
71546
|
__extends(Survey, _super);
|
71449
71547
|
function Survey(props) {
|
@@ -71531,7 +71629,7 @@ var Survey = /** @class */ (function (_super) {
|
|
71531
71629
|
renderResult = this.renderSurvey();
|
71532
71630
|
}
|
71533
71631
|
var backgroundImage = !!this.survey.backgroundImage ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.rootBackgroundImage, style: this.survey.backgroundImageStyle }) : null;
|
71534
|
-
var header = this.survey.headerView === "basic" ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71632
|
+
var header = this.survey.headerView === "basic" ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_4__["SurveyHeader"], { survey: this.survey }) : null;
|
71535
71633
|
var onSubmit = function (event) {
|
71536
71634
|
event.preventDefault();
|
71537
71635
|
};
|
@@ -71542,18 +71640,18 @@ var Survey = /** @class */ (function (_super) {
|
|
71542
71640
|
var rootCss = this.survey.getRootCss();
|
71543
71641
|
var cssClasses = this.rootNodeClassName ? this.rootNodeClassName + " " + rootCss : rootCss;
|
71544
71642
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: this.rootNodeId, ref: this.rootRef, className: cssClasses, style: this.survey.themeVariables },
|
71545
|
-
this.survey.needRenderIcons ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71643
|
+
this.survey.needRenderIcons ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_svgbundle__WEBPACK_IMPORTED_MODULE_10__["SvgBundleComponent"], null) : null,
|
71546
71644
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.survey.wrapperFormCss },
|
71547
71645
|
backgroundImage,
|
71548
71646
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("form", { onSubmit: onSubmit },
|
71549
71647
|
customHeader,
|
71550
71648
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.container },
|
71551
71649
|
header,
|
71552
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71650
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_9__["ComponentsContainer"], { survey: this.survey, container: "header", needRenderWrapper: false }),
|
71553
71651
|
renderResult,
|
71554
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71555
|
-
this.survey.showBrandInfo ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71556
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71652
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_9__["ComponentsContainer"], { survey: this.survey, container: "footer", needRenderWrapper: false }))),
|
71653
|
+
this.survey.showBrandInfo ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_brand_info__WEBPACK_IMPORTED_MODULE_7__["BrandInfo"], null) : null,
|
71654
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_notifier__WEBPACK_IMPORTED_MODULE_8__["NotifierComponent"], { notifier: this.survey.notifier }))));
|
71557
71655
|
};
|
71558
71656
|
Survey.prototype.renderElement = function () {
|
71559
71657
|
return this.doRender();
|
@@ -71574,7 +71672,7 @@ var Survey = /** @class */ (function (_super) {
|
|
71574
71672
|
var htmlValue = { __html: this.survey.processedCompletedHtml };
|
71575
71673
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
|
71576
71674
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.completedCss }),
|
71577
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71675
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_9__["ComponentsContainer"], { survey: this.survey, container: "completePage", needRenderWrapper: false })));
|
71578
71676
|
};
|
71579
71677
|
Survey.prototype.renderCompletedBefore = function () {
|
71580
71678
|
var htmlValue = { __html: this.survey.processedCompletedBeforeHtml };
|
@@ -71596,14 +71694,14 @@ var Survey = /** @class */ (function (_super) {
|
|
71596
71694
|
style.maxWidth = this.survey.renderedWidth;
|
71597
71695
|
}
|
71598
71696
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.survey.bodyContainerCss },
|
71599
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71697
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_9__["ComponentsContainer"], { survey: this.survey, container: "left" }),
|
71600
71698
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: "sv-components-column sv-components-column--expandable" },
|
71601
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71699
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_9__["ComponentsContainer"], { survey: this.survey, container: "center" }),
|
71602
71700
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: pageId, className: className, style: style },
|
71603
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71701
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_9__["ComponentsContainer"], { survey: this.survey, container: "contentTop" }),
|
71604
71702
|
activePage,
|
71605
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71606
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
71703
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_9__["ComponentsContainer"], { survey: this.survey, container: "contentBottom" }))),
|
71704
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_9__["ComponentsContainer"], { survey: this.survey, container: "right" })));
|
71607
71705
|
};
|
71608
71706
|
Survey.prototype.renderPage = function (page) {
|
71609
71707
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_page__WEBPACK_IMPORTED_MODULE_2__["SurveyPage"], { survey: this.survey, page: page, css: this.css, creator: this }));
|
@@ -71684,17 +71782,14 @@ var Survey = /** @class */ (function (_super) {
|
|
71684
71782
|
};
|
71685
71783
|
//ISurveyCreator
|
71686
71784
|
Survey.prototype.createQuestionElement = function (question) {
|
71687
|
-
return
|
71785
|
+
return _reactquestion_factory__WEBPACK_IMPORTED_MODULE_5__["ReactQuestionFactory"].Instance.createQuestion(question.isDefaultRendering() ? question.getTemplate() : question.getComponentName(), {
|
71688
71786
|
question: question,
|
71689
71787
|
isDisplayMode: question.isInputReadOnly,
|
71690
71788
|
creator: this,
|
71691
71789
|
});
|
71692
71790
|
};
|
71693
|
-
Survey.prototype.renderError = function (key, error, cssClasses) {
|
71694
|
-
return
|
71695
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: cssClasses.error.icon || undefined, "aria-hidden": "true" }),
|
71696
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: cssClasses.error.item || undefined },
|
71697
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_string_viewer__WEBPACK_IMPORTED_MODULE_4__["SurveyLocStringViewer"], { locStr: error.locText }))));
|
71791
|
+
Survey.prototype.renderError = function (key, error, cssClasses, element) {
|
71792
|
+
return _element_factory__WEBPACK_IMPORTED_MODULE_6__["ReactElementFactory"].Instance.createElement(this.survey.questionErrorComponent, { key: key, error: error, cssClasses: cssClasses, element: element });
|
71698
71793
|
};
|
71699
71794
|
Survey.prototype.questionTitleLocation = function () {
|
71700
71795
|
return this.survey.questionTitleLocation;
|
@@ -71705,7 +71800,7 @@ var Survey = /** @class */ (function (_super) {
|
|
71705
71800
|
return Survey;
|
71706
71801
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_3__["SurveyElementBase"]));
|
71707
71802
|
|
71708
|
-
|
71803
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_6__["ReactElementFactory"].Instance.registerElement("survey", function (props) {
|
71709
71804
|
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](Survey, props);
|
71710
71805
|
});
|
71711
71806
|
function attachKey2click(element, viewModel, options) {
|
@@ -72057,7 +72152,7 @@ var SurveyElementErrors = /** @class */ (function (_super) {
|
|
72057
72152
|
var errors = [];
|
72058
72153
|
for (var i = 0; i < this.element.errors.length; i++) {
|
72059
72154
|
var key = "error" + i;
|
72060
|
-
errors.push(this.creator.renderError(key, this.element.errors[i], this.cssClasses));
|
72155
|
+
errors.push(this.creator.renderError(key, this.element.errors[i], this.cssClasses, this.element));
|
72061
72156
|
}
|
72062
72157
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { role: "alert", "aria-live": "polite", className: this.element.cssError, id: this.id }, errors));
|
72063
72158
|
};
|
@@ -79922,6 +80017,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
79922
80017
|
_this.skippedPages = [];
|
79923
80018
|
_this.skeletonComponentName = "sv-skeleton";
|
79924
80019
|
_this.taskManager = new _surveyTaskManager__WEBPACK_IMPORTED_MODULE_22__["SurveyTaskManagerModel"]();
|
80020
|
+
_this.questionErrorComponent = "sv-question-error";
|
79925
80021
|
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].isAvailable()) {
|
79926
80022
|
SurveyModel.stylesManager = new _stylesmanager__WEBPACK_IMPORTED_MODULE_11__["StylesManager"]();
|
79927
80023
|
}
|
@@ -87586,7 +87682,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("survey", [
|
|
87586
87682
|
{
|
87587
87683
|
name: "showProgressBar",
|
87588
87684
|
default: "off",
|
87589
|
-
choices: ["off", "auto", "
|
87685
|
+
choices: ["off", "auto", "aboveheader", "belowheader", "bottom", "topbottom"],
|
87590
87686
|
},
|
87591
87687
|
{
|
87592
87688
|
name: "progressBarType",
|
@@ -88225,11 +88321,9 @@ function createTOCListModel(survey, onAction) {
|
|
88225
88321
|
var _a;
|
88226
88322
|
var pagesSource = survey.questionsOnPageMode === "singlePage" ? (_a = survey.pages[0]) === null || _a === void 0 ? void 0 : _a.elements : survey.pages;
|
88227
88323
|
var items = (pagesSource || []).map(function (page) {
|
88228
|
-
var _a, _b;
|
88229
88324
|
return new _actions_action__WEBPACK_IMPORTED_MODULE_0__["Action"]({
|
88230
88325
|
id: page.name,
|
88231
|
-
locTitle:
|
88232
|
-
title: page.renderedNavigationTitle,
|
88326
|
+
locTitle: page.locNavigationTitle,
|
88233
88327
|
action: function () {
|
88234
88328
|
_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].activeElementBlur();
|
88235
88329
|
!!onAction && onAction();
|