survey-react 1.9.127 → 1.9.128
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 +304 -75
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +62 -4
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +31 -4
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +347 -56
- package/survey.react.js +1212 -495
- 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.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.128
|
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
|
*/
|
@@ -5366,6 +5366,7 @@ var surveyCss = {
|
|
5366
5366
|
var defaultV2Css = {
|
5367
5367
|
root: "sd-root-modern",
|
5368
5368
|
rootMobile: "sd-root-modern--mobile",
|
5369
|
+
rootAnimationDisabled: "sd-root-modern--animation-disabled",
|
5369
5370
|
rootReadOnly: "sd-root--readonly",
|
5370
5371
|
rootCompact: "sd-root--compact",
|
5371
5372
|
rootFitToContainer: "sd-root-modern--full-container",
|
@@ -5483,8 +5484,13 @@ var defaultV2Css = {
|
|
5483
5484
|
progressBottom: "sd-body__progress--bottom",
|
5484
5485
|
progressBar: "sd-progress__bar",
|
5485
5486
|
progressText: "sd-progress__text",
|
5487
|
+
progressButtonsRoot: "sd-progress-buttons",
|
5488
|
+
progressButtonsNumbered: "sd-progress-buttons--numbered",
|
5486
5489
|
progressButtonsContainerCenter: "sd-progress-buttons__container-center",
|
5487
5490
|
progressButtonsContainer: "sd-progress-buttons__container",
|
5491
|
+
progressButtonsConnector: "sd-progress-buttons__connector",
|
5492
|
+
progressButtonsHeader: "sd-progress-buttons__header",
|
5493
|
+
progressButtonsFooter: "sd-progress-buttons__footer",
|
5488
5494
|
progressButtonsImageButtonLeft: "sd-progress-buttons__image-button-left",
|
5489
5495
|
progressButtonsImageButtonRight: "sd-progress-buttons__image-button-right",
|
5490
5496
|
progressButtonsImageButtonHidden: "sd-progress-buttons__image-button--hidden",
|
@@ -5829,6 +5835,7 @@ var defaultV2Css = {
|
|
5829
5835
|
noHeader: "sd-table--no-header",
|
5830
5836
|
hasFooter: "sd-table--has-footer",
|
5831
5837
|
tableWrapper: "sd-table-wrapper",
|
5838
|
+
rootAlternateRows: "sd-table--alternate-rows",
|
5832
5839
|
content: "sd-matrixdynamic__content sd-question__content",
|
5833
5840
|
cell: "sd-table__cell",
|
5834
5841
|
row: "sd-table__row",
|
@@ -5875,7 +5882,7 @@ var defaultV2Css = {
|
|
5875
5882
|
rating: {
|
5876
5883
|
rootDropdown: "sd-scrollable-container sd-scrollable-container--compact sd-selectbase",
|
5877
5884
|
root: "sd-scrollable-container sd-rating",
|
5878
|
-
rootWrappable: "sd-
|
5885
|
+
rootWrappable: "sd-rating--wrappable",
|
5879
5886
|
rootLabelsTop: "sd-rating--labels-top",
|
5880
5887
|
rootLabelsBottom: "sd-rating--labels-bottom",
|
5881
5888
|
rootLabelsDiagonal: "sd-rating--labels-diagonal",
|
@@ -7807,9 +7814,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
7807
7814
|
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./list */ "./src/list.ts");
|
7808
7815
|
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
7809
7816
|
/* harmony import */ var _question_dropdown__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./question_dropdown */ "./src/question_dropdown.ts");
|
7810
|
-
/* harmony import */ var
|
7811
|
-
/* harmony import */ var
|
7812
|
-
/* harmony import */ var
|
7817
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
7818
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
7819
|
+
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
7820
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
7813
7821
|
var __extends = (undefined && undefined.__extends) || (function () {
|
7814
7822
|
var extendStatics = function (d, b) {
|
7815
7823
|
extendStatics = Object.setPrototypeOf ||
|
@@ -7840,6 +7848,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
7840
7848
|
|
7841
7849
|
|
7842
7850
|
|
7851
|
+
|
7843
7852
|
var DropdownListModel = /** @class */ (function (_super) {
|
7844
7853
|
__extends(DropdownListModel, _super);
|
7845
7854
|
function DropdownListModel(question, onSelectionChanged) {
|
@@ -7849,6 +7858,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7849
7858
|
_this.minPageSize = 25;
|
7850
7859
|
_this.loadingItemHeight = 40;
|
7851
7860
|
_this._markdownMode = false;
|
7861
|
+
_this.filteredItems = undefined;
|
7852
7862
|
_this.selectedItemSelector = ".sv-list__item--selected";
|
7853
7863
|
_this.itemSelector = ".sv-list__item";
|
7854
7864
|
_this.itemsSettings = { skip: 0, take: 0, totalCount: 0, items: [] };
|
@@ -7879,7 +7889,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7879
7889
|
configurable: true
|
7880
7890
|
});
|
7881
7891
|
DropdownListModel.prototype.getFocusFirstInputSelector = function () {
|
7882
|
-
if (
|
7892
|
+
if (_utils_devices__WEBPACK_IMPORTED_MODULE_8__["IsTouch"]) {
|
7883
7893
|
return this.isValueEmpty(this.question.value) ? this.itemSelector : this.selectedItemSelector;
|
7884
7894
|
}
|
7885
7895
|
else {
|
@@ -7928,11 +7938,11 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7928
7938
|
DropdownListModel.prototype.createPopup = function () {
|
7929
7939
|
var _this = this;
|
7930
7940
|
this._popupModel = new _popup__WEBPACK_IMPORTED_MODULE_4__["PopupModel"]("sv-list", { model: this.listModel }, "bottom", "center", false);
|
7931
|
-
this._popupModel.displayMode =
|
7941
|
+
this._popupModel.displayMode = _utils_devices__WEBPACK_IMPORTED_MODULE_8__["IsTouch"] ? "overlay" : "popup";
|
7932
7942
|
this._popupModel.positionMode = "fixed";
|
7933
7943
|
this._popupModel.isFocusedContainer = false;
|
7934
|
-
this._popupModel.isFocusedContent =
|
7935
|
-
this._popupModel.setWidthByTarget = !
|
7944
|
+
this._popupModel.isFocusedContent = _utils_devices__WEBPACK_IMPORTED_MODULE_8__["IsTouch"];
|
7945
|
+
this._popupModel.setWidthByTarget = !_utils_devices__WEBPACK_IMPORTED_MODULE_8__["IsTouch"];
|
7936
7946
|
this.updatePopupFocusFirstInputSelector();
|
7937
7947
|
this.listModel.registerPropertyChangedHandlers(["showFilter"], function () {
|
7938
7948
|
_this.updatePopupFocusFirstInputSelector();
|
@@ -8001,6 +8011,14 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8001
8011
|
};
|
8002
8012
|
}
|
8003
8013
|
var res = new _list__WEBPACK_IMPORTED_MODULE_3__["ListModel"](visibleItems, _onSelectionChanged, false, undefined, this.question.choicesLazyLoadEnabled ? this.listModelFilterStringChanged : undefined, this.listElementId);
|
8014
|
+
res.setOnTextSearchCallback(function (item, textToSearch) {
|
8015
|
+
if (_this.filteredItems)
|
8016
|
+
return _this.filteredItems.indexOf(item) >= 0;
|
8017
|
+
var textInLow = item.text.toLocaleLowerCase();
|
8018
|
+
textInLow = _settings__WEBPACK_IMPORTED_MODULE_6__["settings"].comparator.normalizeTextCallback(textInLow, "filter");
|
8019
|
+
var index = textInLow.indexOf(textToSearch.toLocaleLowerCase());
|
8020
|
+
return _this.question.searchMode == "startsWith" ? index == 0 : index > -1;
|
8021
|
+
});
|
8004
8022
|
res.renderElements = false;
|
8005
8023
|
res.forceShowFilter = true;
|
8006
8024
|
res.areSameItemsCallback = function (item1, item2) {
|
@@ -8020,7 +8038,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8020
8038
|
model.isAllDataLoaded = !this.question.choicesLazyLoadEnabled;
|
8021
8039
|
};
|
8022
8040
|
DropdownListModel.prototype.updateCssClasses = function (popupCssClass, listCssClasses) {
|
8023
|
-
this.popupModel.cssClass = new
|
8041
|
+
this.popupModel.cssClass = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_7__["CssClassBuilder"]().append(popupCssClass).append(this.popupCssClasses).toString();
|
8024
8042
|
this.listModel.cssClasses = listCssClasses;
|
8025
8043
|
};
|
8026
8044
|
DropdownListModel.prototype.resetFilterString = function () {
|
@@ -8035,8 +8053,12 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8035
8053
|
};
|
8036
8054
|
DropdownListModel.prototype.onSetFilterString = function () {
|
8037
8055
|
var _this = this;
|
8056
|
+
this.filteredItems = undefined;
|
8038
8057
|
if (!this.filterString && !this.popupModel.isVisible)
|
8039
8058
|
return;
|
8059
|
+
var options = { question: this.question, choices: this.getAvailableItems(), filter: this.filterString, filteredChoices: undefined };
|
8060
|
+
this.question.survey.onChoicesSearch.fire(this.question.survey, options);
|
8061
|
+
this.filteredItems = options.filteredChoices;
|
8040
8062
|
if (!!this.filterString && !this.popupModel.isVisible) {
|
8041
8063
|
this.popupModel.isVisible = true;
|
8042
8064
|
}
|
@@ -8211,14 +8233,14 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8211
8233
|
});
|
8212
8234
|
Object.defineProperty(DropdownListModel.prototype, "inputMode", {
|
8213
8235
|
get: function () {
|
8214
|
-
return
|
8236
|
+
return _utils_devices__WEBPACK_IMPORTED_MODULE_8__["IsTouch"] ? "none" : "text";
|
8215
8237
|
},
|
8216
8238
|
enumerable: false,
|
8217
8239
|
configurable: true
|
8218
8240
|
});
|
8219
8241
|
DropdownListModel.prototype.setSearchEnabled = function (newValue) {
|
8220
|
-
this.listModel.searchEnabled =
|
8221
|
-
this.listModel.showSearchClearButton =
|
8242
|
+
this.listModel.searchEnabled = _utils_devices__WEBPACK_IMPORTED_MODULE_8__["IsTouch"];
|
8243
|
+
this.listModel.showSearchClearButton = _utils_devices__WEBPACK_IMPORTED_MODULE_8__["IsTouch"];
|
8222
8244
|
this.searchEnabled = newValue;
|
8223
8245
|
};
|
8224
8246
|
DropdownListModel.prototype.updateItems = function () {
|
@@ -8357,7 +8379,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8357
8379
|
if (event.keyCode === 32 && this.question.searchEnabled) {
|
8358
8380
|
return;
|
8359
8381
|
}
|
8360
|
-
Object(
|
8382
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_9__["doKey2ClickUp"])(event, { processEsc: false, disableTabStop: this.question.isInputReadOnly });
|
8361
8383
|
}
|
8362
8384
|
};
|
8363
8385
|
DropdownListModel.prototype.onEscape = function () {
|
@@ -8372,11 +8394,11 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8372
8394
|
};
|
8373
8395
|
DropdownListModel.prototype.onBlur = function (event) {
|
8374
8396
|
this.focused = false;
|
8375
|
-
if (this.popupModel.isVisible &&
|
8397
|
+
if (this.popupModel.isVisible && _utils_devices__WEBPACK_IMPORTED_MODULE_8__["IsTouch"]) {
|
8376
8398
|
this._popupModel.isVisible = true;
|
8377
8399
|
return;
|
8378
8400
|
}
|
8379
|
-
Object(
|
8401
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_9__["doKey2ClickBlur"])(event);
|
8380
8402
|
this._popupModel.isVisible = false;
|
8381
8403
|
this.resetFilterString();
|
8382
8404
|
this.inputString = null;
|
@@ -9008,7 +9030,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
9008
9030
|
/*!*************************************!*\
|
9009
9031
|
!*** ./src/entries/chunks/model.ts ***!
|
9010
9032
|
\*************************************/
|
9011
|
-
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel,
|
9033
|
+
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, 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, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank */
|
9012
9034
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9013
9035
|
|
9014
9036
|
"use strict";
|
@@ -9324,8 +9346,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
9324
9346
|
/* harmony import */ var _surveyProgress__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../../surveyProgress */ "./src/surveyProgress.ts");
|
9325
9347
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressModel", function() { return _surveyProgress__WEBPACK_IMPORTED_MODULE_56__["SurveyProgressModel"]; });
|
9326
9348
|
|
9327
|
-
/* harmony import */ var
|
9328
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
9349
|
+
/* harmony import */ var _progress_buttons__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../../progress-buttons */ "./src/progress-buttons.ts");
|
9350
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return _progress_buttons__WEBPACK_IMPORTED_MODULE_57__["ProgressButtons"]; });
|
9351
|
+
|
9352
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return _progress_buttons__WEBPACK_IMPORTED_MODULE_57__["ProgressButtonsResponsivityManager"]; });
|
9329
9353
|
|
9330
9354
|
/* harmony import */ var _themes__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../../themes */ "./src/themes.ts");
|
9331
9355
|
/* empty/unused harmony star reexport *//* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../../survey */ "./src/survey.ts");
|
@@ -9483,8 +9507,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
9483
9507
|
//import "../../modern.scss";
|
9484
9508
|
var Version;
|
9485
9509
|
var ReleaseDate;
|
9486
|
-
Version = "" + "1.9.
|
9487
|
-
ReleaseDate = "" + "2024-01-
|
9510
|
+
Version = "" + "1.9.128";
|
9511
|
+
ReleaseDate = "" + "2024-01-30";
|
9488
9512
|
function checkLibraryVersion(ver, libraryName) {
|
9489
9513
|
if (Version != ver) {
|
9490
9514
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
@@ -9659,7 +9683,7 @@ function checkPrefix(prefix) {
|
|
9659
9683
|
/*!**************************************!*\
|
9660
9684
|
!*** ./src/entries/core-wo-model.ts ***!
|
9661
9685
|
\**************************************/
|
9662
|
-
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel,
|
9686
|
+
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, 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, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper */
|
9663
9687
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9664
9688
|
|
9665
9689
|
"use strict";
|
@@ -9925,7 +9949,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
9925
9949
|
|
9926
9950
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressModel", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["SurveyProgressModel"]; });
|
9927
9951
|
|
9928
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
9952
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["ProgressButtons"]; });
|
9953
|
+
|
9954
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["ProgressButtonsResponsivityManager"]; });
|
9929
9955
|
|
9930
9956
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["SurveyModel"]; });
|
9931
9957
|
|
@@ -10122,7 +10148,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
10122
10148
|
/*!*****************************!*\
|
10123
10149
|
!*** ./src/entries/core.ts ***!
|
10124
10150
|
\*****************************/
|
10125
|
-
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel,
|
10151
|
+
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, 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, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
|
10126
10152
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10127
10153
|
|
10128
10154
|
"use strict";
|
@@ -10388,7 +10414,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
10388
10414
|
|
10389
10415
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressModel", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["SurveyProgressModel"]; });
|
10390
10416
|
|
10391
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10417
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["ProgressButtons"]; });
|
10418
|
+
|
10419
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["ProgressButtonsResponsivityManager"]; });
|
10392
10420
|
|
10393
10421
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["SurveyModel"]; });
|
10394
10422
|
|
@@ -10754,14 +10782,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
10754
10782
|
/* harmony import */ var _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../react/reactquestion_paneldynamic */ "./src/react/reactquestion_paneldynamic.tsx");
|
10755
10783
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamic", function() { return _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_39__["SurveyQuestionPanelDynamic"]; });
|
10756
10784
|
|
10757
|
-
/* harmony import */ var
|
10758
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgress", function() { return
|
10785
|
+
/* harmony import */ var _react_progress__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../react/progress */ "./src/react/progress.tsx");
|
10786
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgress", function() { return _react_progress__WEBPACK_IMPORTED_MODULE_40__["SurveyProgress"]; });
|
10759
10787
|
|
10760
|
-
/* harmony import */ var
|
10761
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressButtons", function() { return
|
10788
|
+
/* harmony import */ var _react_progressButtons__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../react/progressButtons */ "./src/react/progressButtons.tsx");
|
10789
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressButtons", function() { return _react_progressButtons__WEBPACK_IMPORTED_MODULE_41__["SurveyProgressButtons"]; });
|
10762
10790
|
|
10763
|
-
/* harmony import */ var
|
10764
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressToc", function() { return
|
10791
|
+
/* harmony import */ var _react_progressToc__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../react/progressToc */ "./src/react/progressToc.tsx");
|
10792
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressToc", function() { return _react_progressToc__WEBPACK_IMPORTED_MODULE_42__["SurveyProgressToc"]; });
|
10765
10793
|
|
10766
10794
|
/* harmony import */ var _react_reactquestion_rating__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../react/reactquestion_rating */ "./src/react/reactquestion_rating.tsx");
|
10767
10795
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRating", function() { return _react_reactquestion_rating__WEBPACK_IMPORTED_MODULE_43__["SurveyQuestionRating"]; });
|
@@ -10977,7 +11005,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
10977
11005
|
/*!******************************!*\
|
10978
11006
|
!*** ./src/entries/react.ts ***!
|
10979
11007
|
\******************************/
|
10980
|
-
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel,
|
11008
|
+
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, 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, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model, bootstrapThemeName, bootstrapThemeColors, bootstrapThemeCssRules, bootstrapMaterialThemeName, bootstrapMaterialThemeColors, bootstrapMaterialThemeCssRules, defaultBootstrapCss, defaultBootstrapMaterialCss, Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, 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 */
|
10981
11009
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10982
11010
|
|
10983
11011
|
"use strict";
|
@@ -11243,7 +11271,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
11243
11271
|
|
11244
11272
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressModel", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["SurveyProgressModel"]; });
|
11245
11273
|
|
11246
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11274
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["ProgressButtons"]; });
|
11275
|
+
|
11276
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["ProgressButtonsResponsivityManager"]; });
|
11247
11277
|
|
11248
11278
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["SurveyModel"]; });
|
11249
11279
|
|
@@ -19068,8 +19098,15 @@ var JsonObjectProperty = /** @class */ (function () {
|
|
19068
19098
|
var isLayout = !this.layout || this.layout == layout;
|
19069
19099
|
if (!this.visible || !isLayout)
|
19070
19100
|
return false;
|
19071
|
-
if (!!this.visibleIf && !!obj)
|
19101
|
+
if (!!this.visibleIf && !!obj) {
|
19102
|
+
if (obj.getOriginalObj) {
|
19103
|
+
var orjObj = obj.getOriginalObj();
|
19104
|
+
if (orjObj && Serializer.findProperty(orjObj.getType(), this.name)) {
|
19105
|
+
obj = orjObj;
|
19106
|
+
}
|
19107
|
+
}
|
19072
19108
|
return this.visibleIf(obj);
|
19109
|
+
}
|
19073
19110
|
return true;
|
19074
19111
|
};
|
19075
19112
|
Object.defineProperty(JsonObjectProperty.prototype, "visible", {
|
@@ -20766,7 +20803,10 @@ var ListModel = /** @class */ (function (_super) {
|
|
20766
20803
|
ListModel.prototype.hasText = function (item, filterStringInLow) {
|
20767
20804
|
if (!filterStringInLow)
|
20768
20805
|
return true;
|
20769
|
-
var
|
20806
|
+
var text = item.title || "";
|
20807
|
+
if (this.onTextSearchCallback)
|
20808
|
+
return this.onTextSearchCallback(item, filterStringInLow);
|
20809
|
+
var textInLow = text.toLocaleLowerCase();
|
20770
20810
|
textInLow = _settings__WEBPACK_IMPORTED_MODULE_6__["settings"].comparator.normalizeTextCallback(textInLow, "filter");
|
20771
20811
|
return textInLow.indexOf(filterStringInLow.toLocaleLowerCase()) > -1;
|
20772
20812
|
};
|
@@ -20812,6 +20852,9 @@ var ListModel = /** @class */ (function (_super) {
|
|
20812
20852
|
ListModel.prototype.setOnFilterStringChangedCallback = function (callback) {
|
20813
20853
|
this.onFilterStringChangedCallback = callback;
|
20814
20854
|
};
|
20855
|
+
ListModel.prototype.setOnTextSearchCallback = function (callback) {
|
20856
|
+
this.onTextSearchCallback = callback;
|
20857
|
+
};
|
20815
20858
|
ListModel.prototype.setItems = function (items, sortByVisibleIndex) {
|
20816
20859
|
var _this = this;
|
20817
20860
|
if (sortByVisibleIndex === void 0) { sortByVisibleIndex = true; }
|
@@ -21676,6 +21719,8 @@ var arabicSurveyStrings = {
|
|
21676
21719
|
startSurveyText: "بداية",
|
21677
21720
|
otherItemText: "نص آخر",
|
21678
21721
|
noneItemText: "لا شيء",
|
21722
|
+
refuseItemText: "رفض الإجابة",
|
21723
|
+
dontKnowItemText: "لا أعرف",
|
21679
21724
|
selectAllItemText: "اختر الكل",
|
21680
21725
|
progressText: "{1} صفحة {0} من",
|
21681
21726
|
indexText: "{0} من {1}",
|
@@ -21800,6 +21845,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ar"]
|
|
21800
21845
|
// hideDetails: "Hide Details" => "إخفاء التفاصيل"
|
21801
21846
|
// ok: "OK" => "موافق"
|
21802
21847
|
// cancel: "Cancel" => "إلغاء الأمر"
|
21848
|
+
// refuseItemText: "Refuse to answer" => "رفض الإجابة"
|
21849
|
+
// dontKnowItemText: "Don't know" => "لا أعرف"
|
21803
21850
|
|
21804
21851
|
|
21805
21852
|
/***/ }),
|
@@ -21825,6 +21872,8 @@ var basqueSurveyStrings = {
|
|
21825
21872
|
startSurveyText: "Hasi",
|
21826
21873
|
otherItemText: "Beste bat (zehaztu)",
|
21827
21874
|
noneItemText: "Bat ere ez",
|
21875
|
+
refuseItemText: "Erantzuteari uko egin",
|
21876
|
+
dontKnowItemText: "Ez dakit",
|
21828
21877
|
selectAllItemText: "Guztia hautatu",
|
21829
21878
|
progressText: "{1}-(e)tik {0} orrialde",
|
21830
21879
|
indexText: "{1} {0}",
|
@@ -21942,6 +21991,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["eu"]
|
|
21942
21991
|
// hideDetails: "Hide Details" => "Xehetasunak ezkutatu"
|
21943
21992
|
// ok: "OK" => "Ados"
|
21944
21993
|
// cancel: "Cancel" => "Ezeztatu"
|
21994
|
+
// refuseItemText: "Refuse to answer" => "Erantzuteari uko egin"
|
21995
|
+
// dontKnowItemText: "Don't know" => "Ez dakit"
|
21945
21996
|
|
21946
21997
|
|
21947
21998
|
/***/ }),
|
@@ -21967,6 +22018,8 @@ var bulgarianStrings = {
|
|
21967
22018
|
startSurveyText: "Начало",
|
21968
22019
|
otherItemText: "Друго (опишете)",
|
21969
22020
|
noneItemText: "Нито един",
|
22021
|
+
refuseItemText: "Отказва да отговори",
|
22022
|
+
dontKnowItemText: "Не знам",
|
21970
22023
|
selectAllItemText: "Всички",
|
21971
22024
|
progressText: "стр. {0}, общо стр. {1}",
|
21972
22025
|
indexText: "{0} на {1}",
|
@@ -22091,6 +22144,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["bg"]
|
|
22091
22144
|
// hideDetails: "Hide Details" => "Скрий подробните данни"
|
22092
22145
|
// ok: "OK" => "Добре"
|
22093
22146
|
// cancel: "Cancel" => "Отмени"
|
22147
|
+
// refuseItemText: "Refuse to answer" => "Отказва да отговори"
|
22148
|
+
// dontKnowItemText: "Don't know" => "Не знам"
|
22094
22149
|
|
22095
22150
|
|
22096
22151
|
/***/ }),
|
@@ -22116,6 +22171,8 @@ var catalanSurveyStrings = {
|
|
22116
22171
|
startSurveyText: "Començar",
|
22117
22172
|
otherItemText: "Un altre (descrigui)",
|
22118
22173
|
noneItemText: "Cap",
|
22174
|
+
refuseItemText: "Negar-se a respondre",
|
22175
|
+
dontKnowItemText: "No sé",
|
22119
22176
|
selectAllItemText: "Selecciona-ho tot",
|
22120
22177
|
progressText: "Pàgina {0} de {1}",
|
22121
22178
|
indexText: "{0} de {1}",
|
@@ -22280,6 +22337,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ca"]
|
|
22280
22337
|
// hideDetails: "Hide Details" => "Amaga els detalls"
|
22281
22338
|
// ok: "OK" => "D'ACORD"
|
22282
22339
|
// cancel: "Cancel" => "Cancel·lar"
|
22340
|
+
// refuseItemText: "Refuse to answer" => "Negar-se a respondre"
|
22341
|
+
// dontKnowItemText: "Don't know" => "No sé"
|
22283
22342
|
|
22284
22343
|
|
22285
22344
|
/***/ }),
|
@@ -22305,6 +22364,8 @@ var croatianStrings = {
|
|
22305
22364
|
startSurveyText: "Početak",
|
22306
22365
|
otherItemText: "Ostali (opis)",
|
22307
22366
|
noneItemText: "Nitko",
|
22367
|
+
refuseItemText: "Odbijte odgovoriti",
|
22368
|
+
dontKnowItemText: "Ne znam",
|
22308
22369
|
selectAllItemText: "Select All",
|
22309
22370
|
progressText: "Stranica {0} od {1}",
|
22310
22371
|
indexText: "{0} {1}",
|
@@ -22427,6 +22488,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["hr"]
|
|
22427
22488
|
// hideDetails: "Hide Details" => "Sakrij detalje"
|
22428
22489
|
// ok: "OK" => "OK"
|
22429
22490
|
// cancel: "Cancel" => "Otkazati"
|
22491
|
+
// refuseItemText: "Refuse to answer" => "Odbijte odgovoriti"
|
22492
|
+
// dontKnowItemText: "Don't know" => "Ne znam"
|
22430
22493
|
|
22431
22494
|
|
22432
22495
|
/***/ }),
|
@@ -22452,6 +22515,8 @@ var czechSurveyStrings = {
|
|
22452
22515
|
startSurveyText: "Začít",
|
22453
22516
|
otherItemText: "Jiná odpověď (napište)",
|
22454
22517
|
noneItemText: "Žádný",
|
22518
|
+
refuseItemText: "Odmítnout odpovědět",
|
22519
|
+
dontKnowItemText: "Nevím",
|
22455
22520
|
selectAllItemText: "Vybrat vše",
|
22456
22521
|
progressText: "Strana {0} z {1}",
|
22457
22522
|
indexText: "{0} z {1}",
|
@@ -22576,6 +22641,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["cs"]
|
|
22576
22641
|
// hideDetails: "Hide Details" => "Skrýt podrobnosti"
|
22577
22642
|
// ok: "OK" => "OK"
|
22578
22643
|
// cancel: "Cancel" => "Zrušit"
|
22644
|
+
// refuseItemText: "Refuse to answer" => "Odmítnout odpovědět"
|
22645
|
+
// dontKnowItemText: "Don't know" => "Nevím"
|
22579
22646
|
|
22580
22647
|
|
22581
22648
|
/***/ }),
|
@@ -22601,6 +22668,8 @@ var danishSurveyStrings = {
|
|
22601
22668
|
startSurveyText: "Start",
|
22602
22669
|
otherItemText: "Valgfrit svar...",
|
22603
22670
|
noneItemText: "Ingen",
|
22671
|
+
refuseItemText: "Nægt at svare",
|
22672
|
+
dontKnowItemText: "Ved ikke",
|
22604
22673
|
selectAllItemText: "Vælg alle",
|
22605
22674
|
progressText: "Side {0} af {1}",
|
22606
22675
|
indexText: "{0} af {1}",
|
@@ -22725,6 +22794,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["da"]
|
|
22725
22794
|
// hideDetails: "Hide Details" => "Skjul detaljer"
|
22726
22795
|
// ok: "OK" => "OK"
|
22727
22796
|
// cancel: "Cancel" => "Aflyse"
|
22797
|
+
// refuseItemText: "Refuse to answer" => "Nægt at svare"
|
22798
|
+
// dontKnowItemText: "Don't know" => "Ved ikke"
|
22728
22799
|
|
22729
22800
|
|
22730
22801
|
/***/ }),
|
@@ -22750,6 +22821,8 @@ var dutchSurveyStrings = {
|
|
22750
22821
|
startSurveyText: "Start",
|
22751
22822
|
otherItemText: "Anders, nl.",
|
22752
22823
|
noneItemText: "Geen",
|
22824
|
+
refuseItemText: "Weiger te antwoorden",
|
22825
|
+
dontKnowItemText: "Weet niet",
|
22753
22826
|
selectAllItemText: "Selecteer Alles",
|
22754
22827
|
progressText: "Pagina {0} van {1}",
|
22755
22828
|
indexText: "{0} van {1}",
|
@@ -22872,6 +22945,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["nl"]
|
|
22872
22945
|
// hideDetails: "Hide Details" => "Verberg details"
|
22873
22946
|
// ok: "OK" => "OK"
|
22874
22947
|
// cancel: "Cancel" => "Annuleren"
|
22948
|
+
// refuseItemText: "Refuse to answer" => "Weiger te antwoorden"
|
22949
|
+
// dontKnowItemText: "Don't know" => "Weet niet"
|
22875
22950
|
|
22876
22951
|
|
22877
22952
|
/***/ }),
|
@@ -22897,6 +22972,8 @@ var englishStrings = {
|
|
22897
22972
|
startSurveyText: "Start",
|
22898
22973
|
otherItemText: "Other (describe)",
|
22899
22974
|
noneItemText: "None",
|
22975
|
+
refuseItemText: "Refuse to answer",
|
22976
|
+
dontKnowItemText: "Don't know",
|
22900
22977
|
selectAllItemText: "Select All",
|
22901
22978
|
progressText: "Page {0} of {1}",
|
22902
22979
|
indexText: "{0} of {1}",
|
@@ -23020,6 +23097,8 @@ var estonianSurveyStrings = {
|
|
23020
23097
|
startSurveyText: "Alusta",
|
23021
23098
|
otherItemText: "Muu (täpsusta)",
|
23022
23099
|
noneItemText: "Mitte midagi",
|
23100
|
+
refuseItemText: "Keeldu vastamast",
|
23101
|
+
dontKnowItemText: "Ei tea",
|
23023
23102
|
selectAllItemText: "Vali kõik",
|
23024
23103
|
progressText: "Lehekülg {0}/{1}",
|
23025
23104
|
indexText: "{0} {1}",
|
@@ -23144,6 +23223,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["et"]
|
|
23144
23223
|
// hideDetails: "Hide Details" => "Peida üksikasjad"
|
23145
23224
|
// ok: "OK" => "OK"
|
23146
23225
|
// cancel: "Cancel" => "Tühistama"
|
23226
|
+
// refuseItemText: "Refuse to answer" => "Keeldu vastamast"
|
23227
|
+
// dontKnowItemText: "Don't know" => "Ei tea"
|
23147
23228
|
|
23148
23229
|
|
23149
23230
|
/***/ }),
|
@@ -23169,6 +23250,8 @@ var finnishSurveyStrings = {
|
|
23169
23250
|
startSurveyText: "Aloita",
|
23170
23251
|
otherItemText: "Muu (tarkenna)",
|
23171
23252
|
noneItemText: "Ei mitään",
|
23253
|
+
refuseItemText: "Kieltäydy vastaamasta",
|
23254
|
+
dontKnowItemText: "Ei tiedä",
|
23172
23255
|
selectAllItemText: "Valitse kaikki",
|
23173
23256
|
progressText: "Sivu {0} / {1}",
|
23174
23257
|
indexText: "{0} / {1}",
|
@@ -23281,6 +23364,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["fi"]
|
|
23281
23364
|
// hideDetails: "Hide Details" => "Piilota tiedot"
|
23282
23365
|
// ok: "OK" => "OKEI"
|
23283
23366
|
// cancel: "Cancel" => "Perua"
|
23367
|
+
// refuseItemText: "Refuse to answer" => "Kieltäydy vastaamasta"
|
23368
|
+
// dontKnowItemText: "Don't know" => "Ei tiedä"
|
23284
23369
|
|
23285
23370
|
|
23286
23371
|
/***/ }),
|
@@ -23306,6 +23391,8 @@ var frenchSurveyStrings = {
|
|
23306
23391
|
startSurveyText: "Commencer",
|
23307
23392
|
otherItemText: "Autre (préciser)",
|
23308
23393
|
noneItemText: "Aucun",
|
23394
|
+
refuseItemText: "Refuser de répondre",
|
23395
|
+
dontKnowItemText: "Sais pas",
|
23309
23396
|
selectAllItemText: "Tout sélectionner",
|
23310
23397
|
progressText: "Page {0} sur {1}",
|
23311
23398
|
indexText: "{0} sur {1}",
|
@@ -23418,6 +23505,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["fr"]
|
|
23418
23505
|
// hideDetails: "Hide Details" => "Masquer les détails"
|
23419
23506
|
// ok: "OK" => "D’ACCORD"
|
23420
23507
|
// cancel: "Cancel" => "Annuler"
|
23508
|
+
// refuseItemText: "Refuse to answer" => "Refuser de répondre"
|
23509
|
+
// dontKnowItemText: "Don't know" => "Sais pas"
|
23421
23510
|
|
23422
23511
|
|
23423
23512
|
/***/ }),
|
@@ -23443,6 +23532,8 @@ var georgianSurveyStrings = {
|
|
23443
23532
|
startSurveyText: "დაქოქვა",
|
23444
23533
|
otherItemText: "სხვა (გთხოვთ მიუთითეთ)",
|
23445
23534
|
noneItemText: "არცერთი",
|
23535
|
+
refuseItemText: "უარი პასუხზე",
|
23536
|
+
dontKnowItemText: "არ ვიცი",
|
23446
23537
|
selectAllItemText: "ყველას მონიშნა",
|
23447
23538
|
progressText: "გვერდი {0} / {1}",
|
23448
23539
|
indexText: "{1} {0}",
|
@@ -23620,6 +23711,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ka"]
|
|
23620
23711
|
// hideDetails: "Hide Details" => "დეტალების დამალვა"
|
23621
23712
|
// ok: "OK" => "კარგი"
|
23622
23713
|
// cancel: "Cancel" => "გაუქმება"
|
23714
|
+
// refuseItemText: "Refuse to answer" => "უარი პასუხზე"
|
23715
|
+
// dontKnowItemText: "Don't know" => "არ ვიცი"
|
23623
23716
|
|
23624
23717
|
|
23625
23718
|
/***/ }),
|
@@ -23645,6 +23738,8 @@ var germanSurveyStrings = {
|
|
23645
23738
|
startSurveyText: "Start",
|
23646
23739
|
otherItemText: "Sonstiges (Bitte angeben)",
|
23647
23740
|
noneItemText: "Nichts trifft zu",
|
23741
|
+
refuseItemText: "Verweigern Sie die Antwort",
|
23742
|
+
dontKnowItemText: "Weiß ich nicht",
|
23648
23743
|
selectAllItemText: "Alles auswählen",
|
23649
23744
|
progressText: "Seite {0} von {1}",
|
23650
23745
|
indexText: "{0} von {1}",
|
@@ -23755,6 +23850,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["de"]
|
|
23755
23850
|
// hideDetails: "Hide Details" => "Details ausblenden"
|
23756
23851
|
// ok: "OK" => "OKAY"
|
23757
23852
|
// cancel: "Cancel" => "Abbrechen"
|
23853
|
+
// refuseItemText: "Refuse to answer" => "Verweigern Sie die Antwort"
|
23854
|
+
// dontKnowItemText: "Don't know" => "Weiß ich nicht"
|
23758
23855
|
|
23759
23856
|
|
23760
23857
|
/***/ }),
|
@@ -23780,6 +23877,8 @@ var greekSurveyStrings = {
|
|
23780
23877
|
startSurveyText: "Αρχή",
|
23781
23878
|
otherItemText: "Άλλο (παρακαλώ διευκρινίστε)",
|
23782
23879
|
noneItemText: "Κανένας",
|
23880
|
+
refuseItemText: "Αρνηθείτε να απαντήσετε",
|
23881
|
+
dontKnowItemText: "Δεν ξέρω",
|
23783
23882
|
selectAllItemText: "Επιλογή όλων",
|
23784
23883
|
progressText: "Σελίδα {0} από {1}",
|
23785
23884
|
indexText: "{0} από {1}",
|
@@ -23889,6 +23988,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["gr"]
|
|
23889
23988
|
// hideDetails: "Hide Details" => "Απόκρυψη λεπτομερειών"
|
23890
23989
|
// ok: "OK" => "OK"
|
23891
23990
|
// cancel: "Cancel" => "Ακυρώνω"
|
23991
|
+
// refuseItemText: "Refuse to answer" => "Αρνηθείτε να απαντήσετε"
|
23992
|
+
// dontKnowItemText: "Don't know" => "Δεν ξέρω"
|
23892
23993
|
|
23893
23994
|
|
23894
23995
|
/***/ }),
|
@@ -23914,6 +24015,8 @@ var hebrewSurveyStrings = {
|
|
23914
24015
|
startSurveyText: "הַתחָלָה",
|
23915
24016
|
otherItemText: "אחר (נא לתאר)",
|
23916
24017
|
noneItemText: "אף אחד",
|
24018
|
+
refuseItemText: "מסרבים לענות",
|
24019
|
+
dontKnowItemText: "לא יודע",
|
23917
24020
|
selectAllItemText: "בחר הכל",
|
23918
24021
|
progressText: "דף {1} מתוך {0}",
|
23919
24022
|
indexText: "{0} מתוך {1}",
|
@@ -24038,6 +24141,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["he"]
|
|
24038
24141
|
// hideDetails: "Hide Details" => "הסתר פרטים"
|
24039
24142
|
// ok: "OK" => "אוקיי"
|
24040
24143
|
// cancel: "Cancel" => "ביטל"
|
24144
|
+
// refuseItemText: "Refuse to answer" => "מסרבים לענות"
|
24145
|
+
// dontKnowItemText: "Don't know" => "לא יודע"
|
24041
24146
|
|
24042
24147
|
|
24043
24148
|
/***/ }),
|
@@ -24063,6 +24168,8 @@ var hindiStrings = {
|
|
24063
24168
|
startSurveyText: "शुरू",
|
24064
24169
|
otherItemText: "दूसरा (वर्णन करें)",
|
24065
24170
|
noneItemText: "कोई नहीं",
|
24171
|
+
refuseItemText: "जवाब देने से इनकार",
|
24172
|
+
dontKnowItemText: "नहीं मालूम",
|
24066
24173
|
selectAllItemText: "सभी का चयन करें",
|
24067
24174
|
progressText: "पृष्ठ 1 में से 0",
|
24068
24175
|
indexText: "{1} का {0}",
|
@@ -24187,7 +24294,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["hi"]
|
|
24187
24294
|
// showDetails: "Show Details" => "विवरण दिखाएँ"
|
24188
24295
|
// hideDetails: "Hide Details" => "विवरण छुपाएँ"
|
24189
24296
|
// ok: "OK" => "ठीक है"
|
24190
|
-
// cancel: "Cancel" => "रद्द करना"
|
24297
|
+
// cancel: "Cancel" => "रद्द करना"// refuseItemText: "Refuse to answer" => "जवाब देने से इनकार"
|
24298
|
+
// dontKnowItemText: "Don't know" => "नहीं मालूम"
|
24191
24299
|
|
24192
24300
|
|
24193
24301
|
/***/ }),
|
@@ -24213,6 +24321,8 @@ var hungarianSurveyStrings = {
|
|
24213
24321
|
startSurveyText: "Rajt",
|
24214
24322
|
otherItemText: "Egyéb (adja meg)",
|
24215
24323
|
noneItemText: "Egyik sem",
|
24324
|
+
refuseItemText: "A válaszadás megtagadása",
|
24325
|
+
dontKnowItemText: "Nem tudom",
|
24216
24326
|
selectAllItemText: "Mindet kiválaszt",
|
24217
24327
|
progressText: "{0}./{1} oldal",
|
24218
24328
|
indexText: "{0} {1} közül",
|
@@ -24336,6 +24446,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["hu"]
|
|
24336
24446
|
// hideDetails: "Hide Details" => "Részletek elrejtése"
|
24337
24447
|
// ok: "OK" => "OKÉ"
|
24338
24448
|
// cancel: "Cancel" => "Érvénytelenít"
|
24449
|
+
// refuseItemText: "Refuse to answer" => "A válaszadás megtagadása"
|
24450
|
+
// dontKnowItemText: "Don't know" => "Nem tudom"
|
24339
24451
|
|
24340
24452
|
|
24341
24453
|
/***/ }),
|
@@ -24361,6 +24473,8 @@ var icelandicSurveyStrings = {
|
|
24361
24473
|
startSurveyText: "Byrjaðu",
|
24362
24474
|
otherItemText: "Hinn (skýring)",
|
24363
24475
|
noneItemText: "Enginn",
|
24476
|
+
refuseItemText: "Neita að svara",
|
24477
|
+
dontKnowItemText: "Veit ekki",
|
24364
24478
|
selectAllItemText: "Velja allt",
|
24365
24479
|
progressText: "Síða {0} of {1}",
|
24366
24480
|
indexText: "{0} af {1}",
|
@@ -24485,6 +24599,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["is"]
|
|
24485
24599
|
// hideDetails: "Hide Details" => "Fela upplýsingar"
|
24486
24600
|
// ok: "OK" => "ÓKEI"
|
24487
24601
|
// cancel: "Cancel" => "Afturkalla"
|
24602
|
+
// refuseItemText: "Refuse to answer" => "Neita að svara"
|
24603
|
+
// dontKnowItemText: "Don't know" => "Veit ekki"
|
24488
24604
|
|
24489
24605
|
|
24490
24606
|
/***/ }),
|
@@ -24510,6 +24626,8 @@ var indonesianStrings = {
|
|
24510
24626
|
startSurveyText: "Mulai",
|
24511
24627
|
otherItemText: "Lainnya (jelaskan)",
|
24512
24628
|
noneItemText: "Tidak Ada",
|
24629
|
+
refuseItemText: "Menolak untuk menjawab",
|
24630
|
+
dontKnowItemText: "Tidak tahu",
|
24513
24631
|
selectAllItemText: "Pilih Semua",
|
24514
24632
|
progressText: "Halaman {0} dari {1}",
|
24515
24633
|
indexText: "{0} dari {1}",
|
@@ -24634,6 +24752,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["id"]
|
|
24634
24752
|
// hideDetails: "Hide Details" => "Sembunyikan Detail"
|
24635
24753
|
// ok: "OK" => "OKE"
|
24636
24754
|
// cancel: "Cancel" => "Membatalkan"
|
24755
|
+
// refuseItemText: "Refuse to answer" => "Menolak untuk menjawab"
|
24756
|
+
// dontKnowItemText: "Don't know" => "Tidak tahu"
|
24637
24757
|
|
24638
24758
|
|
24639
24759
|
/***/ }),
|
@@ -24659,6 +24779,8 @@ var italianSurveyStrings = {
|
|
24659
24779
|
startSurveyText: "Inizio",
|
24660
24780
|
otherItemText: "Altro (descrivi)",
|
24661
24781
|
noneItemText: "Nessuno",
|
24782
|
+
refuseItemText: "Rifiuta di rispondere",
|
24783
|
+
dontKnowItemText: "Non lo so",
|
24662
24784
|
selectAllItemText: "Seleziona tutti",
|
24663
24785
|
progressText: "Pagina {0} di {1}",
|
24664
24786
|
indexText: "{0} da {1}",
|
@@ -24771,6 +24893,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["it"]
|
|
24771
24893
|
// hideDetails: "Hide Details" => "Nascondi dettagli"
|
24772
24894
|
// ok: "OK" => "OK"
|
24773
24895
|
// cancel: "Cancel" => "Annulla"
|
24896
|
+
// refuseItemText: "Refuse to answer" => "Rifiuta di rispondere"
|
24897
|
+
// dontKnowItemText: "Don't know" => "Non lo so"
|
24774
24898
|
|
24775
24899
|
|
24776
24900
|
/***/ }),
|
@@ -24796,6 +24920,8 @@ var japaneseSurveyStrings = {
|
|
24796
24920
|
startSurveyText: "スタート",
|
24797
24921
|
otherItemText: "その他(説明)",
|
24798
24922
|
noneItemText: "なし",
|
24923
|
+
refuseItemText: "回答を拒否する",
|
24924
|
+
dontKnowItemText: "わかりません",
|
24799
24925
|
selectAllItemText: "すべて選択",
|
24800
24926
|
progressText: "{0}/{1}頁",
|
24801
24927
|
indexText: "{1}の{0}",
|
@@ -24920,6 +25046,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ja"]
|
|
24920
25046
|
// hideDetails: "Hide Details" => "詳細を隠す"
|
24921
25047
|
// ok: "OK" => "わかりました"
|
24922
25048
|
// cancel: "Cancel" => "キャンセル"
|
25049
|
+
// refuseItemText: "Refuse to answer" => "回答を拒否する"
|
25050
|
+
// dontKnowItemText: "Don't know" => "わかりません"
|
24923
25051
|
|
24924
25052
|
|
24925
25053
|
/***/ }),
|
@@ -24945,6 +25073,8 @@ var kazakhStrings = {
|
|
24945
25073
|
startSurveyText: "Бастау",
|
24946
25074
|
otherItemText: "Басқа (өтінеміз, жазыңыз)",
|
24947
25075
|
noneItemText: "Жоқ",
|
25076
|
+
refuseItemText: "Жауап беруден бас тарту",
|
25077
|
+
dontKnowItemText: "Білмеймін",
|
24948
25078
|
selectAllItemText: "Барлығын таңдау",
|
24949
25079
|
progressText: "{0} ден {1} бет ",
|
24950
25080
|
indexText: "{1} {0}",
|
@@ -25069,6 +25199,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["kk"]
|
|
25069
25199
|
// hideDetails: "Hide Details" => "Егжей- тегжейін жасы"
|
25070
25200
|
// ok: "OK" => "ЖАҚСЫ"
|
25071
25201
|
// cancel: "Cancel" => "Болдырмау"
|
25202
|
+
// refuseItemText: "Refuse to answer" => "Жауап беруден бас тарту"
|
25203
|
+
// dontKnowItemText: "Don't know" => "Білмеймін"
|
25072
25204
|
|
25073
25205
|
|
25074
25206
|
/***/ }),
|
@@ -25094,6 +25226,8 @@ var koreanStrings = {
|
|
25094
25226
|
startSurveyText: "시작",
|
25095
25227
|
otherItemText: "기타 (설명)",
|
25096
25228
|
noneItemText: "없음",
|
25229
|
+
refuseItemText: "대답 거부",
|
25230
|
+
dontKnowItemText: "모르다",
|
25097
25231
|
selectAllItemText: "모두 선택",
|
25098
25232
|
progressText: "페이지 {1} / {0}",
|
25099
25233
|
indexText: "{0} / {1}",
|
@@ -25205,6 +25339,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ko"]
|
|
25205
25339
|
// hideDetails: "Hide Details" => "세부 정보 숨기기"
|
25206
25340
|
// ok: "OK" => "그래"
|
25207
25341
|
// cancel: "Cancel" => "취소"
|
25342
|
+
// refuseItemText: "Refuse to answer" => "대답 거부"
|
25343
|
+
// dontKnowItemText: "Don't know" => "모르다"
|
25208
25344
|
|
25209
25345
|
|
25210
25346
|
/***/ }),
|
@@ -25230,6 +25366,8 @@ var latvianSurveyStrings = {
|
|
25230
25366
|
startSurveyText: "Sākt",
|
25231
25367
|
otherItemText: "Cits (lūdzu, aprakstiet!)",
|
25232
25368
|
noneItemText: "Nav",
|
25369
|
+
refuseItemText: "Atteikties atbildēt",
|
25370
|
+
dontKnowItemText: "Es nezinu",
|
25233
25371
|
selectAllItemText: "Izvēlēties visus",
|
25234
25372
|
progressText: "{0}. lapa no {1}",
|
25235
25373
|
indexText: "{0} no {1}",
|
@@ -25342,6 +25480,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["lv"]
|
|
25342
25480
|
// hideDetails: "Hide Details" => "Slēpt detaļas"
|
25343
25481
|
// ok: "OK" => "LABI"
|
25344
25482
|
// cancel: "Cancel" => "Atcelt"
|
25483
|
+
// refuseItemText: "Refuse to answer" => "Atteikties atbildēt"
|
25484
|
+
// dontKnowItemText: "Don't know" => "Es nezinu"
|
25345
25485
|
|
25346
25486
|
|
25347
25487
|
/***/ }),
|
@@ -25367,6 +25507,8 @@ var lithuaniaSurveyStrings = {
|
|
25367
25507
|
startSurveyText: "Pradėti",
|
25368
25508
|
otherItemText: "Kita (įvesti)",
|
25369
25509
|
noneItemText: "Nėra",
|
25510
|
+
refuseItemText: "Atsisakyti atsakyti",
|
25511
|
+
dontKnowItemText: "Nežinau",
|
25370
25512
|
selectAllItemText: "Pasirinkti visus",
|
25371
25513
|
progressText: "Puslapis {0} iš {1}",
|
25372
25514
|
indexText: "{1} {0}",
|
@@ -25491,6 +25633,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["lt"]
|
|
25491
25633
|
// hideDetails: "Hide Details" => "Slėpti išsamią informaciją"
|
25492
25634
|
// ok: "OK" => "GERAI"
|
25493
25635
|
// cancel: "Cancel" => "Atšaukti"
|
25636
|
+
// refuseItemText: "Refuse to answer" => "Atsisakyti atsakyti"
|
25637
|
+
// dontKnowItemText: "Don't know" => "Nežinau"
|
25494
25638
|
|
25495
25639
|
|
25496
25640
|
/***/ }),
|
@@ -25516,6 +25660,8 @@ var macedonianSurveyStrings = {
|
|
25516
25660
|
startSurveyText: "Започнете",
|
25517
25661
|
otherItemText: "Друго (опиши)",
|
25518
25662
|
noneItemText: "Ништо",
|
25663
|
+
refuseItemText: "Одбиј да одговориш.",
|
25664
|
+
dontKnowItemText: "Не знам",
|
25519
25665
|
selectAllItemText: "Селектирај се",
|
25520
25666
|
progressText: "Страница {0} од {1}",
|
25521
25667
|
indexText: "{0} на {1}",
|
@@ -25634,6 +25780,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["mk"]
|
|
25634
25780
|
// hideDetails: "Hide Details" => "Сокриј ги деталите."
|
25635
25781
|
// ok: "OK" => "ДОБРО"
|
25636
25782
|
// cancel: "Cancel" => "Откажи"
|
25783
|
+
// refuseItemText: "Refuse to answer" => "Одбиј да одговориш."
|
25784
|
+
// dontKnowItemText: "Don't know" => "Не знам"
|
25637
25785
|
|
25638
25786
|
|
25639
25787
|
/***/ }),
|
@@ -25659,6 +25807,8 @@ var malaySurveyStrings = {
|
|
25659
25807
|
startSurveyText: "Mula",
|
25660
25808
|
otherItemText: "Lain (terangkan)",
|
25661
25809
|
noneItemText: "Tiada",
|
25810
|
+
refuseItemText: "Enggan menjawab",
|
25811
|
+
dontKnowItemText: "Tak tahu",
|
25662
25812
|
selectAllItemText: "Pilih Semua",
|
25663
25813
|
progressText: "Halaman {0} daripada {1}",
|
25664
25814
|
indexText: "{0} {1}",
|
@@ -25773,6 +25923,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ms"]
|
|
25773
25923
|
// hideDetails: "Hide Details" => "Sembunyikan Butiran"
|
25774
25924
|
// ok: "OK" => "OK"
|
25775
25925
|
// cancel: "Cancel" => "Batal"
|
25926
|
+
// refuseItemText: "Refuse to answer" => "Enggan menjawab"
|
25927
|
+
// dontKnowItemText: "Don't know" => "Tak tahu"
|
25776
25928
|
|
25777
25929
|
|
25778
25930
|
/***/ }),
|
@@ -25822,6 +25974,8 @@ var norwegianSurveyStrings = {
|
|
25822
25974
|
startSurveyText: "Start",
|
25823
25975
|
otherItemText: "Annet (beskriv)",
|
25824
25976
|
noneItemText: "Ingen",
|
25977
|
+
refuseItemText: "Nekter å svare",
|
25978
|
+
dontKnowItemText: "Vet ikke",
|
25825
25979
|
selectAllItemText: "Velg alle",
|
25826
25980
|
progressText: "Side {0} av {1}",
|
25827
25981
|
indexText: "{0} av {1}",
|
@@ -25946,6 +26100,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["no"]
|
|
25946
26100
|
// hideDetails: "Hide Details" => "Skjul detaljer"
|
25947
26101
|
// ok: "OK" => "OK"
|
25948
26102
|
// cancel: "Cancel" => "Annullere"
|
26103
|
+
// refuseItemText: "Refuse to answer" => "Nekter å svare"
|
26104
|
+
// dontKnowItemText: "Don't know" => "Vet ikke"
|
25949
26105
|
|
25950
26106
|
|
25951
26107
|
/***/ }),
|
@@ -25971,6 +26127,8 @@ var persianSurveyStrings = {
|
|
25971
26127
|
startSurveyText: "شروع",
|
25972
26128
|
otherItemText: "دیگر(توضیح)",
|
25973
26129
|
noneItemText: "هیچ",
|
26130
|
+
refuseItemText: "امتناع از پاسخ دادن",
|
26131
|
+
dontKnowItemText: "نمی دانم",
|
25974
26132
|
selectAllItemText: "انتخاب همه",
|
25975
26133
|
progressText: "صفحه {0} از {1}",
|
25976
26134
|
indexText: "{0} {1}",
|
@@ -26095,6 +26253,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["fa"]
|
|
26095
26253
|
// hideDetails: "Hide Details" => "مخفی کردن جزئیات"
|
26096
26254
|
// ok: "OK" => "باشه"
|
26097
26255
|
// cancel: "Cancel" => "لغو"
|
26256
|
+
// refuseItemText: "Refuse to answer" => "امتناع از پاسخ دادن"
|
26257
|
+
// dontKnowItemText: "Don't know" => "نمی دانم"
|
26098
26258
|
|
26099
26259
|
|
26100
26260
|
/***/ }),
|
@@ -26120,6 +26280,8 @@ var polishSurveyStrings = {
|
|
26120
26280
|
startSurveyText: "Start",
|
26121
26281
|
otherItemText: "Inna odpowiedź (wpisz)",
|
26122
26282
|
noneItemText: "Brak",
|
26283
|
+
refuseItemText: "Odmów odpowiedzi",
|
26284
|
+
dontKnowItemText: "Nie wiem",
|
26123
26285
|
selectAllItemText: "Wybierz wszystkie",
|
26124
26286
|
progressText: "Strona {0} z {1}",
|
26125
26287
|
indexText: "{0} od {1}",
|
@@ -26232,6 +26394,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["pl"]
|
|
26232
26394
|
// hideDetails: "Hide Details" => "Ukryj szczegóły"
|
26233
26395
|
// ok: "OK" => "OK"
|
26234
26396
|
// cancel: "Cancel" => "Anuluj"
|
26397
|
+
// refuseItemText: "Refuse to answer" => "Odmów odpowiedzi"
|
26398
|
+
// dontKnowItemText: "Don't know" => "Nie wiem"
|
26235
26399
|
|
26236
26400
|
|
26237
26401
|
/***/ }),
|
@@ -26260,6 +26424,8 @@ var portugueseBrSurveyStrings = {
|
|
26260
26424
|
startSurveyText: "Começar",
|
26261
26425
|
otherItemText: "Outros (descrever)",
|
26262
26426
|
noneItemText: "Nenhum",
|
26427
|
+
refuseItemText: "Recusar-se a responder",
|
26428
|
+
dontKnowItemText: "Não sei",
|
26263
26429
|
selectAllItemText: "Selecionar tudo",
|
26264
26430
|
progressText: "Página {0} de {1}",
|
26265
26431
|
indexText: "{0} de {1}",
|
@@ -26431,6 +26597,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["pt-b
|
|
26431
26597
|
// hideDetails: "Hide Details" => "Ocultar detalhes"
|
26432
26598
|
// ok: "OK" => "OKEY"
|
26433
26599
|
// cancel: "Cancel" => "Cancelar"
|
26600
|
+
// refuseItemText: "Refuse to answer" => "Recusar-se a responder"
|
26601
|
+
// dontKnowItemText: "Don't know" => "Não sei"
|
26434
26602
|
|
26435
26603
|
|
26436
26604
|
/***/ }),
|
@@ -26456,6 +26624,8 @@ var portugueseSurveyStrings = {
|
|
26456
26624
|
startSurveyText: "Começar",
|
26457
26625
|
otherItemText: "Outros (descrever)",
|
26458
26626
|
noneItemText: "Nenhum",
|
26627
|
+
refuseItemText: "Recusar-se a responder",
|
26628
|
+
dontKnowItemText: "Não sei",
|
26459
26629
|
selectAllItemText: "Selecionar Todos",
|
26460
26630
|
progressText: "Página {0} de {1}",
|
26461
26631
|
indexText: "{0} de {1}",
|
@@ -26565,6 +26735,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["pt"]
|
|
26565
26735
|
// hideDetails: "Hide Details" => "Ocultar detalhes"
|
26566
26736
|
// ok: "OK" => "OKEY"
|
26567
26737
|
// cancel: "Cancel" => "Cancelar"
|
26738
|
+
// refuseItemText: "Refuse to answer" => "Recusar-se a responder"
|
26739
|
+
// dontKnowItemText: "Don't know" => "Não sei"
|
26568
26740
|
|
26569
26741
|
|
26570
26742
|
/***/ }),
|
@@ -26590,6 +26762,8 @@ var romanianSurveyStrings = {
|
|
26590
26762
|
startSurveyText: "start",
|
26591
26763
|
otherItemText: "Altul(precizaţi)",
|
26592
26764
|
noneItemText: "Nici unul",
|
26765
|
+
refuseItemText: "Refuză să răspundă",
|
26766
|
+
dontKnowItemText: "Nu ştiu",
|
26593
26767
|
selectAllItemText: "Selectează tot",
|
26594
26768
|
progressText: "Pagina {0} din {1}",
|
26595
26769
|
indexText: "{0} de {1}",
|
@@ -26714,6 +26888,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ro"]
|
|
26714
26888
|
// hideDetails: "Hide Details" => "Ascunde detalii"
|
26715
26889
|
// ok: "OK" => "OK"
|
26716
26890
|
// cancel: "Cancel" => "Anula"
|
26891
|
+
// refuseItemText: "Refuse to answer" => "Refuză să răspundă"
|
26892
|
+
// dontKnowItemText: "Don't know" => "Nu ştiu"
|
26717
26893
|
|
26718
26894
|
|
26719
26895
|
/***/ }),
|
@@ -26739,6 +26915,8 @@ var russianSurveyStrings = {
|
|
26739
26915
|
startSurveyText: "Начать",
|
26740
26916
|
otherItemText: "Другое (пожалуйста, опишите)",
|
26741
26917
|
noneItemText: "Нет",
|
26918
|
+
refuseItemText: "Отказываюсь отвечать",
|
26919
|
+
dontKnowItemText: "Не знаю",
|
26742
26920
|
selectAllItemText: "Выбрать всё",
|
26743
26921
|
progressText: "Страница {0} из {1}",
|
26744
26922
|
indexText: "{0} из {1}",
|
@@ -26826,10 +27004,10 @@ var russianSurveyStrings = {
|
|
26826
27004
|
noEntriesText: "Пока нет записей.\nНажмите кнопку ниже, чтобы добавить новую запись.",
|
26827
27005
|
noEntriesReadonlyText: "Записей нет.",
|
26828
27006
|
more: "Больше",
|
26829
|
-
tagboxDoneButtonCaption: "
|
27007
|
+
tagboxDoneButtonCaption: "Хорошо",
|
26830
27008
|
selectToRankEmptyRankedAreaText: "Все варианты ранжируются",
|
26831
27009
|
selectToRankEmptyUnrankedAreaText: "Перетащите сюда варианты, чтобы ранжировать их",
|
26832
|
-
ok: "
|
27010
|
+
ok: "Хорошо",
|
26833
27011
|
cancel: "Отмена"
|
26834
27012
|
};
|
26835
27013
|
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["ru"] = russianSurveyStrings;
|
@@ -26840,7 +27018,6 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ru"]
|
|
26840
27018
|
// emptyMessage: "No data to display" => "Нет данных для отображения"
|
26841
27019
|
// noEntriesReadonlyText: "There are no entries." => "Записей нет."
|
26842
27020
|
// more: "More" => "Больше"
|
26843
|
-
// tagboxDoneButtonCaption: "OK" => "ХОРОШО"
|
26844
27021
|
// selectToRankEmptyRankedAreaText: "All choices are ranked" => "Все варианты ранжируются"
|
26845
27022
|
// selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them" => "Перетащите сюда варианты, чтобы ранжировать их"// takePhotoCaption: "Take Photo" => "Сделать фото"
|
26846
27023
|
// photoPlaceholder: "Click the button below to take a photo using the camera." => "Нажмите кнопку ниже, чтобы сделать снимок с помощью камеры."
|
@@ -26849,7 +27026,6 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ru"]
|
|
26849
27026
|
// noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event." => "Файлы не могут быть загружены. Пожалуйста, добавьте обработчик для события 'onUploadFiles'."
|
26850
27027
|
// showDetails: "Show Details" => "Показать подробности"
|
26851
27028
|
// hideDetails: "Hide Details" => "Скрыть подробности"
|
26852
|
-
// ok: "OK" => "ХОРОШО"
|
26853
27029
|
// cancel: "Cancel" => "Отмена"
|
26854
27030
|
|
26855
27031
|
|
@@ -26876,6 +27052,8 @@ var serbianStrings = {
|
|
26876
27052
|
startSurveyText: "Započni",
|
26877
27053
|
otherItemText: "Drugo (upiši)",
|
26878
27054
|
noneItemText: "Ništa",
|
27055
|
+
refuseItemText: "Odbijanje odgovora",
|
27056
|
+
dontKnowItemText: "Ne znam",
|
26879
27057
|
selectAllItemText: "Izaberi sve",
|
26880
27058
|
progressText: "Stranica {0} od {1}",
|
26881
27059
|
indexText: "{0} {1}",
|
@@ -26995,6 +27173,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["rs"]
|
|
26995
27173
|
// hideDetails: "Hide Details" => "Sakrij detalje"
|
26996
27174
|
// ok: "OK" => "U redu"
|
26997
27175
|
// cancel: "Cancel" => "Otkaži"
|
27176
|
+
// refuseItemText: "Refuse to answer" => "Odbijanje odgovora"
|
27177
|
+
// dontKnowItemText: "Don't know" => "Ne znam"
|
26998
27178
|
|
26999
27179
|
|
27000
27180
|
/***/ }),
|
@@ -27020,6 +27200,8 @@ var simplifiedChineseSurveyStrings = {
|
|
27020
27200
|
startSurveyText: "开始问卷",
|
27021
27201
|
otherItemText: "填写其他答案",
|
27022
27202
|
noneItemText: "无",
|
27203
|
+
refuseItemText: "拒绝回答",
|
27204
|
+
dontKnowItemText: "不知道",
|
27023
27205
|
selectAllItemText: "选择全部",
|
27024
27206
|
progressText: "第 {0} 页, 共 {1} 页",
|
27025
27207
|
indexText: "{1}{0}",
|
@@ -27138,6 +27320,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["zh-c
|
|
27138
27320
|
// hideDetails: "Hide Details" => "隐藏详细信息"
|
27139
27321
|
// ok: "OK" => "还行"
|
27140
27322
|
// cancel: "Cancel" => "取消"
|
27323
|
+
// refuseItemText: "Refuse to answer" => "拒绝回答"
|
27324
|
+
// dontKnowItemText: "Don't know" => "不知道"
|
27141
27325
|
|
27142
27326
|
|
27143
27327
|
/***/ }),
|
@@ -27163,6 +27347,8 @@ var slovakSurveyStrings = {
|
|
27163
27347
|
startSurveyText: "Spustiť",
|
27164
27348
|
otherItemText: "Iné (opíšte)",
|
27165
27349
|
noneItemText: "Žiadne",
|
27350
|
+
refuseItemText: "Odmietnuť odpovedať",
|
27351
|
+
dontKnowItemText: "Neviem",
|
27166
27352
|
selectAllItemText: "Vybrať všetky",
|
27167
27353
|
progressText: "Strana {0} z {1}",
|
27168
27354
|
indexText: "{0} {1}",
|
@@ -27277,6 +27463,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["sk"]
|
|
27277
27463
|
// hideDetails: "Hide Details" => "Skryť podrobnosti"
|
27278
27464
|
// ok: "OK" => "OK"
|
27279
27465
|
// cancel: "Cancel" => "Zrušiť"
|
27466
|
+
// refuseItemText: "Refuse to answer" => "Odmietnuť odpovedať"
|
27467
|
+
// dontKnowItemText: "Don't know" => "Neviem"
|
27280
27468
|
|
27281
27469
|
|
27282
27470
|
/***/ }),
|
@@ -27302,6 +27490,8 @@ var spanishSurveyStrings = {
|
|
27302
27490
|
startSurveyText: "Comienza",
|
27303
27491
|
otherItemText: "Otro (describa)",
|
27304
27492
|
noneItemText: "Ninguno",
|
27493
|
+
refuseItemText: "Negarse a responder",
|
27494
|
+
dontKnowItemText: "No sé",
|
27305
27495
|
selectAllItemText: "Seleccionar todo",
|
27306
27496
|
progressText: "Página {0} de {1}",
|
27307
27497
|
indexText: "{0} de {1}",
|
@@ -27414,6 +27604,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["es"]
|
|
27414
27604
|
// hideDetails: "Hide Details" => "Ocultar detalles"
|
27415
27605
|
// ok: "OK" => "De acuerdo"
|
27416
27606
|
// cancel: "Cancel" => "Cancelar"
|
27607
|
+
// refuseItemText: "Refuse to answer" => "Negarse a responder"
|
27608
|
+
// dontKnowItemText: "Don't know" => "No sé"
|
27417
27609
|
|
27418
27610
|
|
27419
27611
|
/***/ }),
|
@@ -27439,6 +27631,8 @@ var swahiliStrings = {
|
|
27439
27631
|
startSurveyText: "Anza",
|
27440
27632
|
otherItemText: "Nyingine (eleza)",
|
27441
27633
|
noneItemText: "Hakuna",
|
27634
|
+
refuseItemText: "Kukataa kujibu",
|
27635
|
+
dontKnowItemText: "Sijui",
|
27442
27636
|
selectAllItemText: "Chagua Zote",
|
27443
27637
|
progressText: "Ukurasa {0} wa {1}",
|
27444
27638
|
indexText: "{0} ya {1}",
|
@@ -27563,6 +27757,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["sw"]
|
|
27563
27757
|
// hideDetails: "Hide Details" => "Ficha Maelezo"
|
27564
27758
|
// ok: "OK" => "Sawa kabisa"
|
27565
27759
|
// cancel: "Cancel" => "Katisha"
|
27760
|
+
// refuseItemText: "Refuse to answer" => "Kukataa kujibu"
|
27761
|
+
// dontKnowItemText: "Don't know" => "Sijui"
|
27566
27762
|
|
27567
27763
|
|
27568
27764
|
/***/ }),
|
@@ -27588,6 +27784,8 @@ var swedishSurveyStrings = {
|
|
27588
27784
|
startSurveyText: "Börja",
|
27589
27785
|
otherItemText: "Annat (beskriv)",
|
27590
27786
|
noneItemText: "Ingen",
|
27787
|
+
refuseItemText: "Vägra svara",
|
27788
|
+
dontKnowItemText: "Vet inte",
|
27591
27789
|
selectAllItemText: "Välj alla",
|
27592
27790
|
progressText: "Sida {0} av {1}",
|
27593
27791
|
indexText: "{0} av {1}",
|
@@ -27700,6 +27898,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["sv"]
|
|
27700
27898
|
// hideDetails: "Hide Details" => "Göm detaljer"
|
27701
27899
|
// ok: "OK" => "OKEJ"
|
27702
27900
|
// cancel: "Cancel" => "Annullera"
|
27901
|
+
// refuseItemText: "Refuse to answer" => "Vägra svara"
|
27902
|
+
// dontKnowItemText: "Don't know" => "Vet inte"
|
27703
27903
|
|
27704
27904
|
|
27705
27905
|
/***/ }),
|
@@ -27832,6 +28032,8 @@ var teluguStrings = {
|
|
27832
28032
|
startSurveyText: "ప్రారంభించు",
|
27833
28033
|
otherItemText: "ఇతరమైన(వివరించండి)",
|
27834
28034
|
noneItemText: "ఎవరు కాదు",
|
28035
|
+
refuseItemText: "సమాధానం ఇవ్వడానికి నిరాకరించండి",
|
28036
|
+
dontKnowItemText: "తెలియదు",
|
27835
28037
|
selectAllItemText: "అన్ని ఎంచుకో",
|
27836
28038
|
progressText: "పేజీ{0}/{1}",
|
27837
28039
|
indexText: "{1} {0}[మార్చు]",
|
@@ -27956,7 +28158,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["tel"
|
|
27956
28158
|
// showDetails: "Show Details" => "వివరాలు చూపించు"
|
27957
28159
|
// hideDetails: "Hide Details" => "వివరాలను దాచండి"
|
27958
28160
|
// ok: "OK" => "సరే"
|
27959
|
-
// cancel: "Cancel" => "రద్దు"
|
28161
|
+
// cancel: "Cancel" => "రద్దు"// refuseItemText: "Refuse to answer" => "సమాధానం ఇవ్వడానికి నిరాకరించండి"
|
28162
|
+
// dontKnowItemText: "Don't know" => "తెలియదు"
|
27960
28163
|
|
27961
28164
|
|
27962
28165
|
/***/ }),
|
@@ -27982,6 +28185,8 @@ var thaiStrings = {
|
|
27982
28185
|
startSurveyText: "เริ่ม",
|
27983
28186
|
otherItemText: "อื่นๆ (โปรดระบุ)",
|
27984
28187
|
noneItemText: "ไม่มี",
|
28188
|
+
refuseItemText: "ปฏิเสธที่จะตอบ",
|
28189
|
+
dontKnowItemText: "ไม่ทราบ",
|
27985
28190
|
selectAllItemText: "เลือกทั้งหมด",
|
27986
28191
|
progressText: "หน้าที่ {0} จาก {1}",
|
27987
28192
|
indexText: "{0} of {1}",
|
@@ -28105,7 +28310,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["th"]
|
|
28105
28310
|
// showDetails: "Show Details" => "แสดงรายละเอียด"
|
28106
28311
|
// hideDetails: "Hide Details" => "ซ่อนรายละเอียด"
|
28107
28312
|
// ok: "OK" => "ตกลง, ได้"
|
28108
|
-
// cancel: "Cancel" => "ยกเลิก"
|
28313
|
+
// cancel: "Cancel" => "ยกเลิก"// refuseItemText: "Refuse to answer" => "ปฏิเสธที่จะตอบ"
|
28314
|
+
// dontKnowItemText: "Don't know" => "ไม่ทราบ"
|
28109
28315
|
|
28110
28316
|
|
28111
28317
|
/***/ }),
|
@@ -28131,6 +28337,8 @@ var traditionalChineseSurveyStrings = {
|
|
28131
28337
|
startSurveyText: "開始",
|
28132
28338
|
otherItemText: "填寫其他答案",
|
28133
28339
|
noneItemText: "沒有",
|
28340
|
+
refuseItemText: "拒絕回答",
|
28341
|
+
dontKnowItemText: "不知道",
|
28134
28342
|
selectAllItemText: "全選",
|
28135
28343
|
progressText: "第 {0} 頁, 共 {1} 頁",
|
28136
28344
|
indexText: "{1}{0}",
|
@@ -28289,7 +28497,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["zh-t
|
|
28289
28497
|
// showDetails: "Show Details" => "顯示詳細資訊"
|
28290
28498
|
// hideDetails: "Hide Details" => "隱藏詳細資訊"
|
28291
28499
|
// ok: "OK" => "還行"
|
28292
|
-
// cancel: "Cancel" => "取消"
|
28500
|
+
// cancel: "Cancel" => "取消"// refuseItemText: "Refuse to answer" => "拒絕回答"
|
28501
|
+
// dontKnowItemText: "Don't know" => "不知道"
|
28293
28502
|
|
28294
28503
|
|
28295
28504
|
/***/ }),
|
@@ -28315,6 +28524,8 @@ var turkishSurveyStrings = {
|
|
28315
28524
|
startSurveyText: "Başlat",
|
28316
28525
|
otherItemText: "Diğer (açıklayınız)",
|
28317
28526
|
noneItemText: "Hiçbiri",
|
28527
|
+
refuseItemText: "Cevap vermeyi reddet",
|
28528
|
+
dontKnowItemText: "Bilmiyorum",
|
28318
28529
|
selectAllItemText: "Tümünü Seç",
|
28319
28530
|
progressText: "Sayfa {0}/{1}",
|
28320
28531
|
indexText: "{0}/{1}",
|
@@ -28420,7 +28631,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["tr"]
|
|
28420
28631
|
// showDetails: "Show Details" => "Detayları göster"
|
28421
28632
|
// hideDetails: "Hide Details" => "Detayları Gizle"
|
28422
28633
|
// ok: "OK" => "TAMAM"
|
28423
|
-
// cancel: "Cancel" => "İptal"
|
28634
|
+
// cancel: "Cancel" => "İptal"// refuseItemText: "Refuse to answer" => "Cevap vermeyi reddet"
|
28635
|
+
// dontKnowItemText: "Don't know" => "Bilmiyorum"
|
28424
28636
|
|
28425
28637
|
|
28426
28638
|
/***/ }),
|
@@ -28446,6 +28658,8 @@ var ukrainianSurveyStrings = {
|
|
28446
28658
|
startSurveyText: "Почати",
|
28447
28659
|
otherItemText: "Інше (будь ласка, опишіть)",
|
28448
28660
|
noneItemText: "Жоден",
|
28661
|
+
refuseItemText: "Відмовтеся відповідати",
|
28662
|
+
dontKnowItemText: "Не знаю",
|
28449
28663
|
selectAllItemText: "Вибрати все",
|
28450
28664
|
progressText: "Сторінка {0} з {1}",
|
28451
28665
|
indexText: "{0} {1}",
|
@@ -28569,7 +28783,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["ua"]
|
|
28569
28783
|
// showDetails: "Show Details" => "Показати подробиці"
|
28570
28784
|
// hideDetails: "Hide Details" => "Сховати подробиці"
|
28571
28785
|
// ok: "OK" => "ГАРАЗД"
|
28572
|
-
// cancel: "Cancel" => "Скасувати"
|
28786
|
+
// cancel: "Cancel" => "Скасувати"// refuseItemText: "Refuse to answer" => "Відмовтеся відповідати"
|
28787
|
+
// dontKnowItemText: "Don't know" => "Не знаю"
|
28573
28788
|
|
28574
28789
|
|
28575
28790
|
/***/ }),
|
@@ -28595,6 +28810,8 @@ var vietnameseSurveyStrings = {
|
|
28595
28810
|
startSurveyText: "Bắt đầu",
|
28596
28811
|
otherItemText: "Khác (mô tả)",
|
28597
28812
|
noneItemText: "Trống",
|
28813
|
+
refuseItemText: "Từ chối trả lời",
|
28814
|
+
dontKnowItemText: "Không biết",
|
28598
28815
|
selectAllItemText: "Chọn tất cả",
|
28599
28816
|
progressText: "Trang {0} / {1}",
|
28600
28817
|
indexText: "{0} của {1}",
|
@@ -28719,7 +28936,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["vi"]
|
|
28719
28936
|
// showDetails: "Show Details" => "Hiển thị chi tiết"
|
28720
28937
|
// hideDetails: "Hide Details" => "Ẩn chi tiết"
|
28721
28938
|
// ok: "OK" => "OK"
|
28722
|
-
// cancel: "Cancel" => "Hủy"
|
28939
|
+
// cancel: "Cancel" => "Hủy"// refuseItemText: "Refuse to answer" => "Từ chối trả lời"
|
28940
|
+
// dontKnowItemText: "Don't know" => "Không biết"
|
28723
28941
|
|
28724
28942
|
|
28725
28943
|
/***/ }),
|
@@ -28745,6 +28963,8 @@ var welshSurveyStrings = {
|
|
28745
28963
|
startSurveyText: "Dechrau",
|
28746
28964
|
otherItemText: "Arall (disgrifiwch)",
|
28747
28965
|
noneItemText: "Dim",
|
28966
|
+
refuseItemText: "Gwrthod ateb",
|
28967
|
+
dontKnowItemText: "Ddim yn gwybod",
|
28748
28968
|
selectAllItemText: "Dewis y Cyfan ",
|
28749
28969
|
progressText: "Tudalen {0} o {1}",
|
28750
28970
|
indexText: "{0} o {1}",
|
@@ -28868,7 +29088,8 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["cy"]
|
|
28868
29088
|
// showDetails: "Show Details" => "Dangos manylion"
|
28869
29089
|
// hideDetails: "Hide Details" => "Manylion Cuddio"
|
28870
29090
|
// ok: "OK" => "OCÊ"
|
28871
|
-
// cancel: "Cancel" => "Canslo"
|
29091
|
+
// cancel: "Cancel" => "Canslo"// refuseItemText: "Refuse to answer" => "Gwrthod ateb"
|
29092
|
+
// dontKnowItemText: "Don't know" => "Ddim yn gwybod"
|
28872
29093
|
|
28873
29094
|
|
28874
29095
|
/***/ }),
|
@@ -29590,7 +29811,7 @@ var PageModel = /** @class */ (function (_super) {
|
|
29590
29811
|
};
|
29591
29812
|
Object.defineProperty(PageModel.prototype, "navigationTitle", {
|
29592
29813
|
/**
|
29593
|
-
* A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar)
|
29814
|
+
* A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), [`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`.
|
29594
29815
|
*
|
29595
29816
|
* If navigation titles are unspecified, the navigation buttons display page [titles](https://surveyjs.io/form-library/documentation/api-reference/page-model#title) or [names](https://surveyjs.io/form-library/documentation/pagemodel#name).
|
29596
29817
|
*/
|
@@ -29612,7 +29833,7 @@ var PageModel = /** @class */ (function (_super) {
|
|
29612
29833
|
});
|
29613
29834
|
Object.defineProperty(PageModel.prototype, "navigationDescription", {
|
29614
29835
|
/**
|
29615
|
-
* 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)
|
29836
|
+
* 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`.
|
29616
29837
|
*/
|
29617
29838
|
get: function () {
|
29618
29839
|
return this.getLocalizableStringText("navigationDescription");
|
@@ -34877,6 +35098,231 @@ function createDialogOptions(componentName, data, onApply, onCancel, onHide, onS
|
|
34877
35098
|
}
|
34878
35099
|
|
34879
35100
|
|
35101
|
+
/***/ }),
|
35102
|
+
|
35103
|
+
/***/ "./src/progress-buttons.ts":
|
35104
|
+
/*!*********************************!*\
|
35105
|
+
!*** ./src/progress-buttons.ts ***!
|
35106
|
+
\*********************************/
|
35107
|
+
/*! exports provided: ProgressButtons, ProgressButtonsResponsivityManager */
|
35108
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
35109
|
+
|
35110
|
+
"use strict";
|
35111
|
+
__webpack_require__.r(__webpack_exports__);
|
35112
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return ProgressButtons; });
|
35113
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return ProgressButtonsResponsivityManager; });
|
35114
|
+
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
35115
|
+
/* harmony import */ var _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultCss/defaultV2Css */ "./src/defaultCss/defaultV2Css.ts");
|
35116
|
+
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./page */ "./src/page.ts");
|
35117
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
35118
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
35119
|
+
var extendStatics = function (d, b) {
|
35120
|
+
extendStatics = Object.setPrototypeOf ||
|
35121
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
35122
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
35123
|
+
return extendStatics(d, b);
|
35124
|
+
};
|
35125
|
+
return function (d, b) {
|
35126
|
+
if (typeof b !== "function" && b !== null)
|
35127
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
35128
|
+
extendStatics(d, b);
|
35129
|
+
function __() { this.constructor = d; }
|
35130
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
35131
|
+
};
|
35132
|
+
})();
|
35133
|
+
|
35134
|
+
|
35135
|
+
|
35136
|
+
|
35137
|
+
var ProgressButtons = /** @class */ (function (_super) {
|
35138
|
+
__extends(ProgressButtons, _super);
|
35139
|
+
function ProgressButtons(survey) {
|
35140
|
+
var _this = _super.call(this) || this;
|
35141
|
+
_this.survey = survey;
|
35142
|
+
_this.onResize = _this.addEvent();
|
35143
|
+
return _this;
|
35144
|
+
}
|
35145
|
+
ProgressButtons.prototype.isListElementClickable = function (index) {
|
35146
|
+
if (!this.survey.onServerValidateQuestions ||
|
35147
|
+
this.survey.onServerValidateQuestions.isEmpty ||
|
35148
|
+
this.survey.checkErrorsMode === "onComplete") {
|
35149
|
+
return true;
|
35150
|
+
}
|
35151
|
+
return index <= this.survey.currentPageNo + 1;
|
35152
|
+
};
|
35153
|
+
ProgressButtons.prototype.getRootCss = function (container) {
|
35154
|
+
if (container === void 0) { container = "center"; }
|
35155
|
+
var result = this.survey.css.progressButtonsContainerCenter;
|
35156
|
+
if (this.survey.css.progressButtonsRoot) {
|
35157
|
+
result += " " + this.survey.css.progressButtonsRoot + " " + this.survey.css.progressButtonsRoot + "--" + (["footer", "contentBottom"].indexOf(container) !== -1 ? "bottom" : "top");
|
35158
|
+
result += " " + this.survey.css.progressButtonsRoot + "--" + (this.showItemTitles ? "with-titles" : "no-titles");
|
35159
|
+
}
|
35160
|
+
if (this.showItemNumbers && this.survey.css.progressButtonsNumbered) {
|
35161
|
+
result += " " + this.survey.css.progressButtonsNumbered;
|
35162
|
+
}
|
35163
|
+
return result;
|
35164
|
+
};
|
35165
|
+
ProgressButtons.prototype.getListElementCss = function (index) {
|
35166
|
+
if (index >= this.survey.visiblePages.length)
|
35167
|
+
return;
|
35168
|
+
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]()
|
35169
|
+
.append(this.survey.css.progressButtonsListElementPassed, this.survey.visiblePages[index].passed)
|
35170
|
+
.append(this.survey.css.progressButtonsListElementCurrent, this.survey.currentPageNo === index)
|
35171
|
+
.append(this.survey.css.progressButtonsListElementNonClickable, !this.isListElementClickable(index))
|
35172
|
+
.toString();
|
35173
|
+
};
|
35174
|
+
ProgressButtons.prototype.getScrollButtonCss = function (hasScroller, isLeftScroll) {
|
35175
|
+
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]()
|
35176
|
+
.append(this.survey.css.progressButtonsImageButtonLeft, isLeftScroll)
|
35177
|
+
.append(this.survey.css.progressButtonsImageButtonRight, !isLeftScroll)
|
35178
|
+
.append(this.survey.css.progressButtonsImageButtonHidden, !hasScroller)
|
35179
|
+
.toString();
|
35180
|
+
};
|
35181
|
+
ProgressButtons.prototype.clickListElement = function (element) {
|
35182
|
+
if (!(element instanceof _page__WEBPACK_IMPORTED_MODULE_2__["PageModel"])) {
|
35183
|
+
element = this.survey.visiblePages[element];
|
35184
|
+
}
|
35185
|
+
this.survey.tryNavigateToPage(element);
|
35186
|
+
};
|
35187
|
+
ProgressButtons.prototype.isListContainerHasScroller = function (element) {
|
35188
|
+
var listContainerElement = element.querySelector("." + this.survey.css.progressButtonsListContainer);
|
35189
|
+
if (!!listContainerElement) {
|
35190
|
+
return listContainerElement.scrollWidth > listContainerElement.offsetWidth;
|
35191
|
+
}
|
35192
|
+
return false;
|
35193
|
+
};
|
35194
|
+
ProgressButtons.prototype.isCanShowItemTitles = function (element) {
|
35195
|
+
var listContainerElement = element.querySelector("ul");
|
35196
|
+
if (!listContainerElement || listContainerElement.children.length < 2)
|
35197
|
+
return true;
|
35198
|
+
if (listContainerElement.clientWidth > listContainerElement.parentElement.clientWidth) {
|
35199
|
+
return false;
|
35200
|
+
}
|
35201
|
+
var expectedElementWidth = listContainerElement.children[0].clientWidth;
|
35202
|
+
for (var i = 0; i < listContainerElement.children.length; i++) {
|
35203
|
+
if (Math.abs(listContainerElement.children[i].clientWidth - expectedElementWidth) > 5) {
|
35204
|
+
return false;
|
35205
|
+
}
|
35206
|
+
}
|
35207
|
+
return true;
|
35208
|
+
};
|
35209
|
+
ProgressButtons.prototype.clearConnectorsWidth = function (element) {
|
35210
|
+
var listContainerElements = element.querySelectorAll(".sd-progress-buttons__connector");
|
35211
|
+
for (var i = 0; i < listContainerElements.length; i++) {
|
35212
|
+
listContainerElements[i].style.width = "";
|
35213
|
+
}
|
35214
|
+
};
|
35215
|
+
ProgressButtons.prototype.adjustConnectors = function (element) {
|
35216
|
+
var listContainerElement = element.querySelector("ul");
|
35217
|
+
if (!listContainerElement)
|
35218
|
+
return;
|
35219
|
+
var listContainerElements = element.querySelectorAll(".sd-progress-buttons__connector");
|
35220
|
+
var connectorWidth = listContainerElement.clientWidth / (listContainerElement.children.length - 1) - 4;
|
35221
|
+
for (var i = 0; i < listContainerElements.length; i++) {
|
35222
|
+
listContainerElements[i].style.width = connectorWidth + "px";
|
35223
|
+
}
|
35224
|
+
};
|
35225
|
+
Object.defineProperty(ProgressButtons.prototype, "showItemNumbers", {
|
35226
|
+
get: function () {
|
35227
|
+
if (_defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_1__["surveyCss"].currentType !== "defaultV2") {
|
35228
|
+
return false;
|
35229
|
+
}
|
35230
|
+
return this.survey.progressBarShowPageNumbers;
|
35231
|
+
},
|
35232
|
+
enumerable: false,
|
35233
|
+
configurable: true
|
35234
|
+
});
|
35235
|
+
Object.defineProperty(ProgressButtons.prototype, "showItemTitles", {
|
35236
|
+
get: function () {
|
35237
|
+
if (_defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_1__["surveyCss"].currentType !== "defaultV2") {
|
35238
|
+
return true;
|
35239
|
+
}
|
35240
|
+
return this.survey.progressBarShowPageTitles;
|
35241
|
+
},
|
35242
|
+
enumerable: false,
|
35243
|
+
configurable: true
|
35244
|
+
});
|
35245
|
+
ProgressButtons.prototype.getItemNumber = function (page) {
|
35246
|
+
var result = "";
|
35247
|
+
if (this.showItemNumbers) {
|
35248
|
+
result += this.survey.visiblePages.indexOf(page) + 1;
|
35249
|
+
}
|
35250
|
+
return result;
|
35251
|
+
};
|
35252
|
+
Object.defineProperty(ProgressButtons.prototype, "headerText", {
|
35253
|
+
get: function () {
|
35254
|
+
return this.survey.currentPage ? this.survey.currentPage.renderedNavigationTitle : "";
|
35255
|
+
},
|
35256
|
+
enumerable: false,
|
35257
|
+
configurable: true
|
35258
|
+
});
|
35259
|
+
Object.defineProperty(ProgressButtons.prototype, "footerText", {
|
35260
|
+
get: function () {
|
35261
|
+
return this.survey.progressText;
|
35262
|
+
},
|
35263
|
+
enumerable: false,
|
35264
|
+
configurable: true
|
35265
|
+
});
|
35266
|
+
ProgressButtons.prototype.processResponsiveness = function (width) {
|
35267
|
+
this.onResize.fire(this, { width: width });
|
35268
|
+
};
|
35269
|
+
return ProgressButtons;
|
35270
|
+
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
|
35271
|
+
|
35272
|
+
var ProgressButtonsResponsivityManager = /** @class */ (function () {
|
35273
|
+
function ProgressButtonsResponsivityManager(model, element, viewModel) {
|
35274
|
+
var _this = this;
|
35275
|
+
this.model = model;
|
35276
|
+
this.element = element;
|
35277
|
+
this.viewModel = viewModel;
|
35278
|
+
this.criticalProperties = ["progressBarType", "progressBarShowPageTitles"];
|
35279
|
+
this.canShowItemTitles = true;
|
35280
|
+
this.processResponsiveness = function (model, options) {
|
35281
|
+
_this.viewModel.onUpdateScroller(model.isListContainerHasScroller(_this.element));
|
35282
|
+
if (!model.showItemTitles) {
|
35283
|
+
_this.model.adjustConnectors(_this.element);
|
35284
|
+
return;
|
35285
|
+
}
|
35286
|
+
if (model.survey.isMobile) {
|
35287
|
+
_this.prevWidth = options.width;
|
35288
|
+
_this.canShowItemTitles = false;
|
35289
|
+
_this.model.adjustConnectors(_this.element);
|
35290
|
+
_this.viewModel.onResize(_this.canShowItemTitles);
|
35291
|
+
return;
|
35292
|
+
}
|
35293
|
+
_this.model.clearConnectorsWidth(_this.element);
|
35294
|
+
if (_this.timer !== undefined) {
|
35295
|
+
clearTimeout(_this.timer);
|
35296
|
+
}
|
35297
|
+
_this.timer = setTimeout(function () {
|
35298
|
+
if (_this.prevWidth === undefined || _this.prevWidth < options.width && !_this.canShowItemTitles || _this.prevWidth > options.width && _this.canShowItemTitles) {
|
35299
|
+
_this.prevWidth = options.width;
|
35300
|
+
_this.canShowItemTitles = model.isCanShowItemTitles(_this.element);
|
35301
|
+
_this.viewModel.onResize(_this.canShowItemTitles);
|
35302
|
+
_this.timer = undefined;
|
35303
|
+
}
|
35304
|
+
}, 10);
|
35305
|
+
};
|
35306
|
+
this.model.survey.registerFunctionOnPropertiesValueChanged(this.criticalProperties, function () { return _this.forceUpdate(); }, "ProgressButtonsResponsivityManager" + this.viewModel.container);
|
35307
|
+
this.model.onResize.add(this.processResponsiveness);
|
35308
|
+
this.forceUpdate();
|
35309
|
+
}
|
35310
|
+
ProgressButtonsResponsivityManager.prototype.forceUpdate = function () {
|
35311
|
+
this.viewModel.onUpdateSettings();
|
35312
|
+
this.processResponsiveness(this.model, {});
|
35313
|
+
};
|
35314
|
+
ProgressButtonsResponsivityManager.prototype.dispose = function () {
|
35315
|
+
clearTimeout(this.timer);
|
35316
|
+
this.model.onResize.remove(this.processResponsiveness);
|
35317
|
+
this.model.survey.unRegisterFunctionOnPropertiesValueChanged(this.criticalProperties, "ProgressButtonsResponsivityManager" + this.viewModel.container);
|
35318
|
+
this.element = undefined;
|
35319
|
+
this.model = undefined;
|
35320
|
+
};
|
35321
|
+
return ProgressButtonsResponsivityManager;
|
35322
|
+
}());
|
35323
|
+
|
35324
|
+
|
35325
|
+
|
34880
35326
|
/***/ }),
|
34881
35327
|
|
34882
35328
|
/***/ "./src/question.ts":
|
@@ -38441,7 +38887,6 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
38441
38887
|
function QuestionSelectBase(name) {
|
38442
38888
|
var _this = _super.call(this, name) || this;
|
38443
38889
|
_this.otherItemValue = new _itemvalue__WEBPACK_IMPORTED_MODULE_3__["ItemValue"]("other");
|
38444
|
-
_this.noneItemValue = new _itemvalue__WEBPACK_IMPORTED_MODULE_3__["ItemValue"](_settings__WEBPACK_IMPORTED_MODULE_9__["settings"].noneItemValue);
|
38445
38890
|
_this.isSettingDefaultValue = false;
|
38446
38891
|
_this.isSettingComment = false;
|
38447
38892
|
_this.isRunningChoices = false;
|
@@ -38450,9 +38895,9 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
38450
38895
|
_this.headItemsCount = 0;
|
38451
38896
|
_this.footItemsCount = 0;
|
38452
38897
|
_this.prevIsOtherSelected = false;
|
38453
|
-
|
38454
|
-
_this.
|
38455
|
-
_this.
|
38898
|
+
_this.noneItemValue = _this.createDefaultItem(_settings__WEBPACK_IMPORTED_MODULE_9__["settings"].noneItemValue, "noneText", "noneItemText");
|
38899
|
+
_this.refuseItemValue = _this.createDefaultItem(_settings__WEBPACK_IMPORTED_MODULE_9__["settings"].refuseItemValue, "refuseText", "refuseItemText");
|
38900
|
+
_this.dontKnowItemValue = _this.createDefaultItem(_settings__WEBPACK_IMPORTED_MODULE_9__["settings"].dontKnowItemValue, "dontKnowText", "dontKnowItemText");
|
38456
38901
|
_this.createItemValues("choices");
|
38457
38902
|
_this.registerPropertyChangedHandlers(["choices"], function () {
|
38458
38903
|
if (!_this.filterItems()) {
|
@@ -38460,7 +38905,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
38460
38905
|
}
|
38461
38906
|
});
|
38462
38907
|
_this.registerPropertyChangedHandlers(["choicesFromQuestion", "choicesFromQuestionMode", "choiceValuesFromQuestion",
|
38463
|
-
"choiceTextsFromQuestion", "showNoneItem", "isUsingRestful"], function () {
|
38908
|
+
"choiceTextsFromQuestion", "showNoneItem", "showRefuseItem", "showDontKnowItem", "isUsingRestful", "isMessagePanelVisible"], function () {
|
38464
38909
|
_this.onVisibleChoicesChanged();
|
38465
38910
|
});
|
38466
38911
|
_this.registerPropertyChangedHandlers(["hideIfChoicesEmpty"], function () {
|
@@ -38628,7 +39073,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
38628
39073
|
});
|
38629
39074
|
Object.defineProperty(QuestionSelectBase.prototype, "isNoneSelected", {
|
38630
39075
|
get: function () {
|
38631
|
-
return this.
|
39076
|
+
return this.showNoneItem && this.getIsItemValue(this.renderedValue, this.noneItem);
|
38632
39077
|
},
|
38633
39078
|
enumerable: false,
|
38634
39079
|
configurable: true
|
@@ -38640,6 +39085,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
38640
39085
|
* When users select the "None" item in multi-select questions, all other items become unselected.
|
38641
39086
|
* @see noneItem
|
38642
39087
|
* @see noneText
|
39088
|
+
* @see [settings.noneItemValue](https://surveyjs.io/form-library/documentation/api-reference/settings#noneItemValue)
|
38643
39089
|
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
38644
39090
|
*/
|
38645
39091
|
get: function () {
|
@@ -38693,6 +39139,115 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
38693
39139
|
enumerable: false,
|
38694
39140
|
configurable: true
|
38695
39141
|
});
|
39142
|
+
Object.defineProperty(QuestionSelectBase.prototype, "showRefuseItem", {
|
39143
|
+
/**
|
39144
|
+
* Specifies whether to display the "Refuse to answer" choice item.
|
39145
|
+
*
|
39146
|
+
* When users select the "Refuse to answer" item in multi-select questions, all other items become unselected.
|
39147
|
+
* @see refuseItem
|
39148
|
+
* @see refuseItemText
|
39149
|
+
* @see [settings.refuseItemValue](https://surveyjs.io/form-library/documentation/api-reference/settings#refuseItemValue)
|
39150
|
+
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
39151
|
+
*/
|
39152
|
+
get: function () {
|
39153
|
+
return this.getPropertyValue("showRefuseItem");
|
39154
|
+
},
|
39155
|
+
set: function (val) {
|
39156
|
+
this.setPropertyValue("showRefuseItem", val);
|
39157
|
+
},
|
39158
|
+
enumerable: false,
|
39159
|
+
configurable: true
|
39160
|
+
});
|
39161
|
+
Object.defineProperty(QuestionSelectBase.prototype, "refuseItem", {
|
39162
|
+
/**
|
39163
|
+
* Returns the "Refuse to answer" choice item. Use this property to change the item's `value` or `text`.
|
39164
|
+
* @see showRefuseItem
|
39165
|
+
*/
|
39166
|
+
get: function () {
|
39167
|
+
return this.refuseItemValue;
|
39168
|
+
},
|
39169
|
+
enumerable: false,
|
39170
|
+
configurable: true
|
39171
|
+
});
|
39172
|
+
Object.defineProperty(QuestionSelectBase.prototype, "refuseText", {
|
39173
|
+
/**
|
39174
|
+
* Gets or sets a caption for the "Refuse to answer" choice item.
|
39175
|
+
* @see showRefuseItem
|
39176
|
+
*/
|
39177
|
+
get: function () {
|
39178
|
+
return this.getLocalizableStringText("refuseText");
|
39179
|
+
},
|
39180
|
+
set: function (val) {
|
39181
|
+
this.setLocalizableStringText("refuseText", val);
|
39182
|
+
},
|
39183
|
+
enumerable: false,
|
39184
|
+
configurable: true
|
39185
|
+
});
|
39186
|
+
Object.defineProperty(QuestionSelectBase.prototype, "locRefuseText", {
|
39187
|
+
get: function () {
|
39188
|
+
return this.getLocalizableString("refuseText");
|
39189
|
+
},
|
39190
|
+
enumerable: false,
|
39191
|
+
configurable: true
|
39192
|
+
});
|
39193
|
+
Object.defineProperty(QuestionSelectBase.prototype, "showDontKnowItem", {
|
39194
|
+
/**
|
39195
|
+
* Specifies whether to display the "Don't know" choice item.
|
39196
|
+
*
|
39197
|
+
* When users select the "Don't know" item in multi-select questions, all other items become unselected.
|
39198
|
+
* @see dontKnowItem
|
39199
|
+
* @see dontKnowItemText
|
39200
|
+
* @see [settings.dontKnowItemValue](https://surveyjs.io/form-library/documentation/api-reference/settings#dontKnowItemValue)
|
39201
|
+
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
39202
|
+
*/
|
39203
|
+
get: function () {
|
39204
|
+
return this.getPropertyValue("showDontKnowItem");
|
39205
|
+
},
|
39206
|
+
set: function (val) {
|
39207
|
+
this.setPropertyValue("showDontKnowItem", val);
|
39208
|
+
},
|
39209
|
+
enumerable: false,
|
39210
|
+
configurable: true
|
39211
|
+
});
|
39212
|
+
Object.defineProperty(QuestionSelectBase.prototype, "dontKnowItem", {
|
39213
|
+
/**
|
39214
|
+
* Returns the "Don't know" choice item. Use this property to change the item's `value` or `text`.
|
39215
|
+
* @see showDontKnowItem
|
39216
|
+
*/
|
39217
|
+
get: function () {
|
39218
|
+
return this.dontKnowItemValue;
|
39219
|
+
},
|
39220
|
+
enumerable: false,
|
39221
|
+
configurable: true
|
39222
|
+
});
|
39223
|
+
Object.defineProperty(QuestionSelectBase.prototype, "dontKnowText", {
|
39224
|
+
/**
|
39225
|
+
* Gets or sets a caption for the "Don't know" choice item.
|
39226
|
+
* @see showDontKnowItem
|
39227
|
+
*/
|
39228
|
+
get: function () {
|
39229
|
+
return this.getLocalizableStringText("dontKnowText");
|
39230
|
+
},
|
39231
|
+
set: function (val) {
|
39232
|
+
this.setLocalizableStringText("dontKnowText", val);
|
39233
|
+
},
|
39234
|
+
enumerable: false,
|
39235
|
+
configurable: true
|
39236
|
+
});
|
39237
|
+
Object.defineProperty(QuestionSelectBase.prototype, "locDontKnowText", {
|
39238
|
+
get: function () {
|
39239
|
+
return this.getLocalizableString("dontKnowText");
|
39240
|
+
},
|
39241
|
+
enumerable: false,
|
39242
|
+
configurable: true
|
39243
|
+
});
|
39244
|
+
QuestionSelectBase.prototype.createDefaultItem = function (defaultValue, name, locName) {
|
39245
|
+
var item = new _itemvalue__WEBPACK_IMPORTED_MODULE_3__["ItemValue"](defaultValue);
|
39246
|
+
var locStr = this.createLocalizableString(name, item, true, locName);
|
39247
|
+
item.locOwner = this;
|
39248
|
+
item.setLocText(locStr);
|
39249
|
+
return item;
|
39250
|
+
};
|
38696
39251
|
Object.defineProperty(QuestionSelectBase.prototype, "choicesVisibleIf", {
|
38697
39252
|
/**
|
38698
39253
|
* A Boolean expression that is evaluated against each choice item. If the expression evaluates to `false`, the choice item becomes hidden.
|
@@ -39114,7 +39669,11 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
39114
39669
|
return false;
|
39115
39670
|
if (includeOther && val == this.otherItem.value)
|
39116
39671
|
return false;
|
39117
|
-
if (this.
|
39672
|
+
if (this.showNoneItem && val == this.noneItem.value)
|
39673
|
+
return false;
|
39674
|
+
if (this.showRefuseItem && val == this.refuseItem.value)
|
39675
|
+
return false;
|
39676
|
+
if (this.showDontKnowItem && val == this.dontKnowItem.value)
|
39118
39677
|
return false;
|
39119
39678
|
var choices = isFilteredChoices
|
39120
39679
|
? this.getFilteredChoices()
|
@@ -39436,7 +39995,9 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
39436
39995
|
};
|
39437
39996
|
QuestionSelectBase.prototype.canUseFilteredChoices = function () {
|
39438
39997
|
return (!this.isAddDefaultItems &&
|
39439
|
-
!this.
|
39998
|
+
!this.showNoneItem &&
|
39999
|
+
!this.showRefuseItem &&
|
40000
|
+
!this.showDontKnowItem &&
|
39440
40001
|
!this.hasOther &&
|
39441
40002
|
this.choicesOrder == "none");
|
39442
40003
|
};
|
@@ -39454,7 +40015,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
39454
40015
|
QuestionSelectBase.prototype.addToVisibleChoices = function (items, isAddAll) {
|
39455
40016
|
this.headItemsCount = 0;
|
39456
40017
|
this.footItemsCount = 0;
|
39457
|
-
if (!this.
|
40018
|
+
if (!this.isEmptyActiveChoicesInDesign) {
|
39458
40019
|
this.addNewItemToVisibleChoices(items, isAddAll);
|
39459
40020
|
}
|
39460
40021
|
var dict = new Array();
|
@@ -39489,15 +40050,23 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
39489
40050
|
}
|
39490
40051
|
};
|
39491
40052
|
QuestionSelectBase.prototype.addNonChoicesItems = function (dict, isAddAll) {
|
39492
|
-
if (this.supportNone()
|
39493
|
-
this.addNonChoiceItem(dict, this.noneItem, _settings__WEBPACK_IMPORTED_MODULE_9__["settings"].specialChoicesOrder.noneItem);
|
40053
|
+
if (this.supportNone()) {
|
40054
|
+
this.addNonChoiceItem(dict, this.noneItem, isAddAll, this.showNoneItem, _settings__WEBPACK_IMPORTED_MODULE_9__["settings"].specialChoicesOrder.noneItem);
|
40055
|
+
}
|
40056
|
+
if (this.supportRefuse()) {
|
40057
|
+
this.addNonChoiceItem(dict, this.refuseItem, isAddAll, this.showRefuseItem, _settings__WEBPACK_IMPORTED_MODULE_9__["settings"].specialChoicesOrder.refuseItem);
|
39494
40058
|
}
|
39495
|
-
if (this.
|
39496
|
-
this.addNonChoiceItem(dict, this.
|
40059
|
+
if (this.supportDontKnow()) {
|
40060
|
+
this.addNonChoiceItem(dict, this.dontKnowItem, isAddAll, this.showDontKnowItem, _settings__WEBPACK_IMPORTED_MODULE_9__["settings"].specialChoicesOrder.dontKnowItem);
|
40061
|
+
}
|
40062
|
+
if (this.supportOther()) {
|
40063
|
+
this.addNonChoiceItem(dict, this.otherItem, isAddAll, this.hasOther, _settings__WEBPACK_IMPORTED_MODULE_9__["settings"].specialChoicesOrder.otherItem);
|
39497
40064
|
}
|
39498
40065
|
};
|
39499
|
-
QuestionSelectBase.prototype.addNonChoiceItem = function (dict, item, order) {
|
39500
|
-
|
40066
|
+
QuestionSelectBase.prototype.addNonChoiceItem = function (dict, item, isAddAll, showItem, order) {
|
40067
|
+
if (this.canShowOptionItem(item, isAddAll, showItem)) {
|
40068
|
+
order.forEach(function (val) { return dict.push({ index: val, item: item }); });
|
40069
|
+
}
|
39501
40070
|
};
|
39502
40071
|
QuestionSelectBase.prototype.canShowOptionItem = function (item, isAddAll, hasItem) {
|
39503
40072
|
var res = (isAddAll && (!!this.canShowOptionItemCallback ? this.canShowOptionItemCallback(item) : true)) || hasItem;
|
@@ -39511,7 +40080,11 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
39511
40080
|
if (item === this.otherItem)
|
39512
40081
|
return this.hasOther;
|
39513
40082
|
if (item === this.noneItem)
|
39514
|
-
return this.
|
40083
|
+
return this.showNoneItem;
|
40084
|
+
if (item === this.refuseItem)
|
40085
|
+
return this.showRefuseItem;
|
40086
|
+
if (item === this.dontKnowItem)
|
40087
|
+
return this.showDontKnowItem;
|
39515
40088
|
if (item === this.newItemValue)
|
39516
40089
|
return false;
|
39517
40090
|
return true;
|
@@ -39618,13 +40191,30 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
39618
40191
|
question.addDependedQuestion(this);
|
39619
40192
|
return this.getChoicesFromArrayQuestion(question);
|
39620
40193
|
}
|
39621
|
-
if (this.
|
40194
|
+
if (this.isEmptyActiveChoicesInDesign)
|
39622
40195
|
return [];
|
39623
40196
|
return this.choicesFromUrl ? this.choicesFromUrl : this.getChoices();
|
39624
40197
|
},
|
39625
40198
|
enumerable: false,
|
39626
40199
|
configurable: true
|
39627
40200
|
});
|
40201
|
+
Object.defineProperty(QuestionSelectBase.prototype, "isMessagePanelVisible", {
|
40202
|
+
get: function () {
|
40203
|
+
return this.getPropertyValue("isMessagePanelVisible", false);
|
40204
|
+
},
|
40205
|
+
set: function (val) {
|
40206
|
+
this.setPropertyValue("isMessagePanelVisible", val);
|
40207
|
+
},
|
40208
|
+
enumerable: false,
|
40209
|
+
configurable: true
|
40210
|
+
});
|
40211
|
+
Object.defineProperty(QuestionSelectBase.prototype, "isEmptyActiveChoicesInDesign", {
|
40212
|
+
get: function () {
|
40213
|
+
return this.isDesignModeV2 && (this.hasChoicesUrl || this.isMessagePanelVisible);
|
40214
|
+
},
|
40215
|
+
enumerable: false,
|
40216
|
+
configurable: true
|
40217
|
+
});
|
39628
40218
|
QuestionSelectBase.prototype.getCarryForwardQuestion = function (data) {
|
39629
40219
|
var question = this.findCarryForwardQuestion(data);
|
39630
40220
|
var selBaseQuestion = this.getQuestionWithChoicesCore(question);
|
@@ -39695,7 +40285,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
39695
40285
|
: undefined;
|
39696
40286
|
var choices = question.visibleChoices;
|
39697
40287
|
for (var i = 0; i < choices.length; i++) {
|
39698
|
-
if (
|
40288
|
+
if (question.isBuiltInChoice(choices[i]))
|
39699
40289
|
continue;
|
39700
40290
|
if (isSelected === undefined) {
|
39701
40291
|
res.push(this.copyChoiceItem(choices[i]));
|
@@ -39724,7 +40314,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
39724
40314
|
choices = this.visibleChoices;
|
39725
40315
|
}
|
39726
40316
|
for (var i = 0; i < choices.length; i++) {
|
39727
|
-
if (!this.isBuiltInChoice(choices[i]
|
40317
|
+
if (!this.isBuiltInChoice(choices[i]))
|
39728
40318
|
return true;
|
39729
40319
|
}
|
39730
40320
|
return false;
|
@@ -39732,10 +40322,16 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
39732
40322
|
enumerable: false,
|
39733
40323
|
configurable: true
|
39734
40324
|
});
|
39735
|
-
QuestionSelectBase.prototype.isBuiltInChoice = function (item
|
39736
|
-
return (item
|
39737
|
-
item ===
|
39738
|
-
item ===
|
40325
|
+
QuestionSelectBase.prototype.isBuiltInChoice = function (item) {
|
40326
|
+
return this.isNoneItem(item) ||
|
40327
|
+
item === this.otherItem ||
|
40328
|
+
item === this.newItemValue;
|
40329
|
+
};
|
40330
|
+
QuestionSelectBase.prototype.isNoneItem = function (item) {
|
40331
|
+
return this.getNoneItems().indexOf(item) > -1;
|
40332
|
+
};
|
40333
|
+
QuestionSelectBase.prototype.getNoneItems = function () {
|
40334
|
+
return [this.noneItem, this.refuseItem, this.dontKnowItem];
|
39739
40335
|
};
|
39740
40336
|
QuestionSelectBase.prototype.getChoices = function () {
|
39741
40337
|
return this.choices;
|
@@ -39746,6 +40342,12 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
39746
40342
|
QuestionSelectBase.prototype.supportNone = function () {
|
39747
40343
|
return this.isSupportProperty("showNoneItem");
|
39748
40344
|
};
|
40345
|
+
QuestionSelectBase.prototype.supportRefuse = function () {
|
40346
|
+
return this.isSupportProperty("showRefuseItem");
|
40347
|
+
};
|
40348
|
+
QuestionSelectBase.prototype.supportDontKnow = function () {
|
40349
|
+
return this.isSupportProperty("showDontKnowItem");
|
40350
|
+
};
|
39749
40351
|
QuestionSelectBase.prototype.isSupportProperty = function (propName) {
|
39750
40352
|
return (!this.isDesignMode ||
|
39751
40353
|
this.getPropertyByName(propName).visible);
|
@@ -40040,15 +40642,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
40040
40642
|
configurable: true
|
40041
40643
|
});
|
40042
40644
|
QuestionSelectBase.prototype.clearIncorrectValues = function () {
|
40043
|
-
if (!this.hasValueToClearIncorrectValues())
|
40044
|
-
return;
|
40045
|
-
if (this.carryForwardQuestion && !this.carryForwardQuestion.isReady)
|
40046
|
-
return;
|
40047
|
-
if (!!this.survey &&
|
40048
|
-
this.survey.questionsByValueName(this.getValueName()).length > 1)
|
40049
|
-
return;
|
40050
|
-
if (this.hasChoicesUrl &&
|
40051
|
-
(!this.choicesFromUrl || this.choicesFromUrl.length == 0))
|
40645
|
+
if (!this.hasValueToClearIncorrectValues() || !this.canClearIncorrectValues())
|
40052
40646
|
return;
|
40053
40647
|
if (this.clearIncorrectValuesCallback) {
|
40054
40648
|
this.clearIncorrectValuesCallback();
|
@@ -40057,6 +40651,15 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
40057
40651
|
this.clearIncorrectValuesCore();
|
40058
40652
|
}
|
40059
40653
|
};
|
40654
|
+
QuestionSelectBase.prototype.canClearIncorrectValues = function () {
|
40655
|
+
if (this.carryForwardQuestion && !this.carryForwardQuestion.isReady)
|
40656
|
+
return false;
|
40657
|
+
if (!!this.survey && this.survey.questionsByValueName(this.getValueName()).length > 1)
|
40658
|
+
return false;
|
40659
|
+
if (this.hasChoicesUrl && (!this.choicesFromUrl || this.choicesFromUrl.length == 0))
|
40660
|
+
return false;
|
40661
|
+
return true;
|
40662
|
+
};
|
40060
40663
|
QuestionSelectBase.prototype.hasValueToClearIncorrectValues = function () {
|
40061
40664
|
if (!!this.survey && this.survey.keepIncorrectValues)
|
40062
40665
|
return false;
|
@@ -40192,7 +40795,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
40192
40795
|
Object.defineProperty(QuestionSelectBase.prototype, "dataChoices", {
|
40193
40796
|
get: function () {
|
40194
40797
|
var _this = this;
|
40195
|
-
return this.visibleChoices.filter(function (item) { return !_this.isBuiltInChoice(item
|
40798
|
+
return this.visibleChoices.filter(function (item) { return !_this.isBuiltInChoice(item); });
|
40196
40799
|
},
|
40197
40800
|
enumerable: false,
|
40198
40801
|
configurable: true
|
@@ -40534,6 +41137,8 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("selectbase", [
|
|
40534
41137
|
{ name: "separateSpecialChoices:boolean", visible: false },
|
40535
41138
|
{ name: "showOtherItem:boolean", alternativeName: "hasOther" },
|
40536
41139
|
{ name: "showNoneItem:boolean", alternativeName: "hasNone" },
|
41140
|
+
{ name: "showRefuseItem:boolean", visible: false },
|
41141
|
+
{ name: "showDontKnowItem:boolean", visible: false },
|
40537
41142
|
{
|
40538
41143
|
name: "otherPlaceholder",
|
40539
41144
|
alternativeName: "otherPlaceHolder",
|
@@ -40548,7 +41153,23 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("selectbase", [
|
|
40548
41153
|
serializationProperty: "locNoneText",
|
40549
41154
|
dependsOn: "showNoneItem",
|
40550
41155
|
visibleIf: function (obj) {
|
40551
|
-
return obj.
|
41156
|
+
return obj.showNoneItem;
|
41157
|
+
},
|
41158
|
+
},
|
41159
|
+
{
|
41160
|
+
name: "refuseText",
|
41161
|
+
serializationProperty: "locRefuseText",
|
41162
|
+
dependsOn: "showRefuseItem",
|
41163
|
+
visibleIf: function (obj) {
|
41164
|
+
return obj.showRefuseItem;
|
41165
|
+
},
|
41166
|
+
},
|
41167
|
+
{
|
41168
|
+
name: "dontKnowText",
|
41169
|
+
serializationProperty: "locDontKnowText",
|
41170
|
+
dependsOn: "showDontKnowItem",
|
41171
|
+
visibleIf: function (obj) {
|
41172
|
+
return obj.showDontKnowItem;
|
40552
41173
|
},
|
40553
41174
|
},
|
40554
41175
|
{
|
@@ -41401,8 +42022,11 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
41401
42022
|
* @see showSelectAllItem
|
41402
42023
|
*/
|
41403
42024
|
get: function () {
|
41404
|
-
|
41405
|
-
|
42025
|
+
var noneItems = this.getNoneItems();
|
42026
|
+
for (var i = 0; i < noneItems.length; i++) {
|
42027
|
+
if (this.isItemSelected(noneItems[i]))
|
42028
|
+
return false;
|
42029
|
+
}
|
41406
42030
|
var items = this.getVisibleEnableItems();
|
41407
42031
|
if (items.length === 0)
|
41408
42032
|
return false;
|
@@ -41459,19 +42083,24 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
41459
42083
|
}
|
41460
42084
|
}
|
41461
42085
|
else {
|
41462
|
-
|
41463
|
-
|
41464
|
-
if (checked) {
|
41465
|
-
if (index < 0) {
|
41466
|
-
newValue.push(item.value);
|
41467
|
-
}
|
42086
|
+
if (this.isNoneItem(item)) {
|
42087
|
+
this.renderedValue = [item.value];
|
41468
42088
|
}
|
41469
42089
|
else {
|
41470
|
-
|
41471
|
-
|
42090
|
+
var newValue = [].concat(this.renderedValue || []);
|
42091
|
+
var index = newValue.indexOf(item.value);
|
42092
|
+
if (checked) {
|
42093
|
+
if (index < 0) {
|
42094
|
+
newValue.push(item.value);
|
42095
|
+
}
|
42096
|
+
}
|
42097
|
+
else {
|
42098
|
+
if (index > -1) {
|
42099
|
+
newValue.splice(index, 1);
|
42100
|
+
}
|
41472
42101
|
}
|
42102
|
+
this.renderedValue = newValue;
|
41473
42103
|
}
|
41474
|
-
this.renderedValue = newValue;
|
41475
42104
|
}
|
41476
42105
|
};
|
41477
42106
|
QuestionCheckboxModel.prototype.isItemSelectedCore = function (item) {
|
@@ -41700,21 +42329,7 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
41700
42329
|
value = [];
|
41701
42330
|
if (this.isTwoValueEquals(value, newValue))
|
41702
42331
|
return;
|
41703
|
-
|
41704
|
-
var prevNoneIndex = this.noneIndexInArray(value);
|
41705
|
-
var newNoneIndex = this.noneIndexInArray(newValue);
|
41706
|
-
if (prevNoneIndex > -1) {
|
41707
|
-
if (newNoneIndex > -1 && newValue.length > 1) {
|
41708
|
-
newValue.splice(newNoneIndex, 1);
|
41709
|
-
}
|
41710
|
-
}
|
41711
|
-
else {
|
41712
|
-
if (newNoneIndex > -1) {
|
41713
|
-
newValue.splice(0, newValue.length);
|
41714
|
-
newValue.push(this.noneItem.value);
|
41715
|
-
}
|
41716
|
-
}
|
41717
|
-
}
|
42332
|
+
this.removeNoneItemsValues(value, newValue);
|
41718
42333
|
_super.prototype.setNewValue.call(this, newValue);
|
41719
42334
|
};
|
41720
42335
|
QuestionCheckboxModel.prototype.getIsMultipleValue = function () {
|
@@ -41742,15 +42357,47 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
41742
42357
|
}
|
41743
42358
|
return -1;
|
41744
42359
|
};
|
41745
|
-
QuestionCheckboxModel.prototype.
|
41746
|
-
|
41747
|
-
|
41748
|
-
|
41749
|
-
|
41750
|
-
|
41751
|
-
|
42360
|
+
QuestionCheckboxModel.prototype.removeNoneItemsValues = function (value, newValue) {
|
42361
|
+
var noneValues = [];
|
42362
|
+
if (this.showNoneItem)
|
42363
|
+
noneValues.push(this.noneItem.value);
|
42364
|
+
if (this.showRefuseItem)
|
42365
|
+
noneValues.push(this.refuseItem.value);
|
42366
|
+
if (this.showDontKnowItem)
|
42367
|
+
noneValues.push(this.dontKnowItem.value);
|
42368
|
+
if (noneValues.length > 0) {
|
42369
|
+
var prevNone = this.noneIndexInArray(value, noneValues);
|
42370
|
+
var newNone = this.noneIndexInArray(newValue, noneValues);
|
42371
|
+
if (prevNone.index > -1) {
|
42372
|
+
if (prevNone.val === newNone.val) {
|
42373
|
+
if (newValue.length > 0) {
|
42374
|
+
newValue.splice(newNone.index, 1);
|
42375
|
+
}
|
42376
|
+
}
|
42377
|
+
else {
|
42378
|
+
var prevNewNone = this.noneIndexInArray(newValue, [prevNone.val]);
|
42379
|
+
if (prevNewNone.index > -1 && prevNewNone.index < newValue.length - 1) {
|
42380
|
+
newValue.splice(prevNewNone.index, 1);
|
42381
|
+
}
|
42382
|
+
}
|
42383
|
+
}
|
42384
|
+
else {
|
42385
|
+
if (newNone.index > -1 && newValue.length > 1) {
|
42386
|
+
var itemVal = this.convertValueToObject([newNone.val])[0];
|
42387
|
+
newValue.splice(0, newValue.length, itemVal);
|
42388
|
+
}
|
42389
|
+
}
|
41752
42390
|
}
|
41753
|
-
|
42391
|
+
};
|
42392
|
+
QuestionCheckboxModel.prototype.noneIndexInArray = function (val, noneValues) {
|
42393
|
+
if (!Array.isArray(val))
|
42394
|
+
return { index: -1, val: undefined };
|
42395
|
+
for (var i = val.length - 1; i >= 0; i--) {
|
42396
|
+
var index = noneValues.indexOf(this.getRealValue(val[i]));
|
42397
|
+
if (index > -1)
|
42398
|
+
return { index: i, val: noneValues[index] };
|
42399
|
+
}
|
42400
|
+
return { index: -1, val: undefined };
|
41754
42401
|
};
|
41755
42402
|
QuestionCheckboxModel.prototype.canUseFilteredChoices = function () {
|
41756
42403
|
return !this.hasSelectAll && _super.prototype.canUseFilteredChoices.call(this);
|
@@ -41760,12 +42407,12 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
41760
42407
|
};
|
41761
42408
|
QuestionCheckboxModel.prototype.addNonChoicesItems = function (dict, isAddAll) {
|
41762
42409
|
_super.prototype.addNonChoicesItems.call(this, dict, isAddAll);
|
41763
|
-
if (this.supportSelectAll()
|
41764
|
-
this.addNonChoiceItem(dict, this.selectAllItem, _settings__WEBPACK_IMPORTED_MODULE_7__["settings"].specialChoicesOrder.selectAllItem);
|
42410
|
+
if (this.supportSelectAll()) {
|
42411
|
+
this.addNonChoiceItem(dict, this.selectAllItem, isAddAll, this.hasSelectAll, _settings__WEBPACK_IMPORTED_MODULE_7__["settings"].specialChoicesOrder.selectAllItem);
|
41765
42412
|
}
|
41766
42413
|
};
|
41767
|
-
QuestionCheckboxModel.prototype.isBuiltInChoice = function (item
|
41768
|
-
return item ===
|
42414
|
+
QuestionCheckboxModel.prototype.isBuiltInChoice = function (item) {
|
42415
|
+
return item === this.selectAllItem || _super.prototype.isBuiltInChoice.call(this, item);
|
41769
42416
|
};
|
41770
42417
|
QuestionCheckboxModel.prototype.isItemInList = function (item) {
|
41771
42418
|
if (item == this.selectAllItem)
|
@@ -42758,6 +43405,9 @@ var QuestionCustomModel = /** @class */ (function (_super) {
|
|
42758
43405
|
QuestionCustomModel.prototype.getDynamicType = function () {
|
42759
43406
|
return this.questionWrapper ? this.questionWrapper.getType() : "question";
|
42760
43407
|
};
|
43408
|
+
QuestionCustomModel.prototype.getOriginalObj = function () {
|
43409
|
+
return this.questionWrapper;
|
43410
|
+
};
|
42761
43411
|
QuestionCustomModel.prototype.createWrapper = function () {
|
42762
43412
|
this.questionWrapper = this.createQuestion();
|
42763
43413
|
this.createDynamicProperties(this.questionWrapper);
|
@@ -43688,6 +44338,9 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
|
|
43688
44338
|
}
|
43689
44339
|
})
|
43690
44340
|
], QuestionDropdownModel.prototype, "searchEnabled", void 0);
|
44341
|
+
__decorate([
|
44342
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
44343
|
+
], QuestionDropdownModel.prototype, "searchMode", void 0);
|
43691
44344
|
__decorate([
|
43692
44345
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
|
43693
44346
|
], QuestionDropdownModel.prototype, "inputHasValue", void 0);
|
@@ -43715,6 +44368,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("dropdown", [
|
|
43715
44368
|
{ name: "autocomplete", alternativeName: "autoComplete", choices: _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].questions.dataList, },
|
43716
44369
|
{ name: "renderAs", default: "default", visible: false },
|
43717
44370
|
{ name: "searchEnabled:boolean", default: true, visible: false },
|
44371
|
+
{ name: "searchMode", default: "contains", choices: ["contains", "startsWith"], },
|
43718
44372
|
{ name: "choicesLazyLoadEnabled:boolean", default: false, visible: false },
|
43719
44373
|
{ name: "choicesLazyLoadPageSize:number", default: 25, visible: false },
|
43720
44374
|
{ name: "inputFieldComponent", visible: false },
|
@@ -46278,12 +46932,10 @@ var QuestionImagePickerModel = /** @class */ (function (_super) {
|
|
46278
46932
|
enumerable: false,
|
46279
46933
|
configurable: true
|
46280
46934
|
});
|
46281
|
-
QuestionImagePickerModel.prototype.supportOther = function () {
|
46282
|
-
|
46283
|
-
};
|
46284
|
-
QuestionImagePickerModel.prototype.
|
46285
|
-
return false;
|
46286
|
-
};
|
46935
|
+
QuestionImagePickerModel.prototype.supportOther = function () { return false; };
|
46936
|
+
QuestionImagePickerModel.prototype.supportNone = function () { return false; };
|
46937
|
+
QuestionImagePickerModel.prototype.supportRefuse = function () { return false; };
|
46938
|
+
QuestionImagePickerModel.prototype.supportDontKnow = function () { return false; };
|
46287
46939
|
QuestionImagePickerModel.prototype.isAnswerCorrect = function () {
|
46288
46940
|
if (!this.multiSelect)
|
46289
46941
|
return _super.prototype.isAnswerCorrect.call(this);
|
@@ -46507,7 +47159,7 @@ var QuestionImagePickerModel = /** @class */ (function (_super) {
|
|
46507
47159
|
enumerable: false,
|
46508
47160
|
configurable: true
|
46509
47161
|
});
|
46510
|
-
QuestionImagePickerModel.prototype.isBuiltInChoice = function (item
|
47162
|
+
QuestionImagePickerModel.prototype.isBuiltInChoice = function (item) {
|
46511
47163
|
return false;
|
46512
47164
|
};
|
46513
47165
|
QuestionImagePickerModel.prototype.addToVisibleChoices = function (items, isAddAll) {
|
@@ -46658,6 +47310,8 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("imagepicker", [
|
|
46658
47310
|
{ name: "showOtherItem", visible: false },
|
46659
47311
|
{ name: "otherText", visible: false },
|
46660
47312
|
{ name: "showNoneItem", visible: false },
|
47313
|
+
{ name: "showRefuseItem", visible: false },
|
47314
|
+
{ name: "showDontKnowItem", visible: false },
|
46661
47315
|
{ name: "noneText", visible: false },
|
46662
47316
|
{ name: "optionsCaption", visible: false },
|
46663
47317
|
{ name: "otherErrorText", visible: false },
|
@@ -46764,7 +47418,7 @@ var MatrixRowModel = /** @class */ (function (_super) {
|
|
46764
47418
|
_this.item = item;
|
46765
47419
|
_this.fullName = fullName;
|
46766
47420
|
_this.data = data;
|
46767
|
-
_this.value
|
47421
|
+
_this.setValueDirectly(value);
|
46768
47422
|
_this.cellClick = function (column) {
|
46769
47423
|
_this.value = column.value;
|
46770
47424
|
};
|
@@ -56980,10 +57634,13 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
|
|
56980
57634
|
};
|
56981
57635
|
QuestionPanelDynamicModel.prototype.clearValueInPanelsIfInvisible = function (reason) {
|
56982
57636
|
for (var i = 0; i < this.panelsCore.length; i++) {
|
56983
|
-
var
|
57637
|
+
var panel = this.panelsCore[i];
|
57638
|
+
var questions = panel.questions;
|
56984
57639
|
this.isSetPanelItemData = {};
|
56985
57640
|
for (var j = 0; j < questions.length; j++) {
|
56986
57641
|
var q = questions[j];
|
57642
|
+
if (q.visible && !panel.isVisible)
|
57643
|
+
continue;
|
56987
57644
|
q.clearValueIfInvisible(reason);
|
56988
57645
|
this.isSetPanelItemData[q.getValueName()] = this.maxCheckCount + 1;
|
56989
57646
|
}
|
@@ -58300,15 +58957,11 @@ var QuestionRankingModel = /** @class */ (function (_super) {
|
|
58300
58957
|
QuestionRankingModel.prototype.beforeDestroyQuestionElement = function (el) {
|
58301
58958
|
_super.prototype.beforeDestroyQuestionElement.call(this, el);
|
58302
58959
|
};
|
58303
|
-
QuestionRankingModel.prototype.supportSelectAll = function () {
|
58304
|
-
|
58305
|
-
};
|
58306
|
-
QuestionRankingModel.prototype.
|
58307
|
-
|
58308
|
-
};
|
58309
|
-
QuestionRankingModel.prototype.supportNone = function () {
|
58310
|
-
return false;
|
58311
|
-
};
|
58960
|
+
QuestionRankingModel.prototype.supportSelectAll = function () { return false; };
|
58961
|
+
QuestionRankingModel.prototype.supportOther = function () { return false; };
|
58962
|
+
QuestionRankingModel.prototype.supportNone = function () { return false; };
|
58963
|
+
QuestionRankingModel.prototype.supportRefuse = function () { return false; };
|
58964
|
+
QuestionRankingModel.prototype.supportDontKnow = function () { return false; };
|
58312
58965
|
QuestionRankingModel.prototype.handleKeydownSelectToRank = function (event, movedElement) {
|
58313
58966
|
if (this.isDesignMode)
|
58314
58967
|
return;
|
@@ -58495,6 +59148,8 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_3__["Serializer"].addClass("ranking", [
|
|
58495
59148
|
{ name: "otherErrorText", visible: false, isSerializable: false },
|
58496
59149
|
{ name: "storeOthersAsComment", visible: false, isSerializable: false },
|
58497
59150
|
{ name: "showNoneItem", visible: false, isSerializable: false },
|
59151
|
+
{ name: "showRefuseItem", visible: false, isSerializable: false },
|
59152
|
+
{ name: "showDontKnowItem", visible: false, isSerializable: false },
|
58498
59153
|
{ name: "noneText", visible: false, isSerializable: false },
|
58499
59154
|
{ name: "showSelectAllItem", visible: false, isSerializable: false },
|
58500
59155
|
{ name: "selectAllText", visible: false, isSerializable: false },
|
@@ -59198,8 +59853,8 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
59198
59853
|
});
|
59199
59854
|
Object.defineProperty(QuestionRatingModel.prototype, "ratingRootCss", {
|
59200
59855
|
get: function () {
|
59201
|
-
var
|
59202
|
-
this.cssClasses.rootWrappable :
|
59856
|
+
var baseClassModifier = ((this.displayMode == "buttons" || (!!this.survey && this.survey.isDesignMode)) && this.cssClasses.rootWrappable) ?
|
59857
|
+
this.cssClasses.rootWrappable : "";
|
59203
59858
|
var rootClassModifier = "";
|
59204
59859
|
if (this.hasMaxLabel || this.hasMinLabel) {
|
59205
59860
|
if (this.rateDescriptionLocation == "top")
|
@@ -59210,7 +59865,8 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
59210
59865
|
rootClassModifier = this.cssClasses.rootLabelsDiagonal;
|
59211
59866
|
}
|
59212
59867
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_6__["CssClassBuilder"]()
|
59213
|
-
.append(
|
59868
|
+
.append(this.cssClasses.root)
|
59869
|
+
.append(baseClassModifier)
|
59214
59870
|
.append(rootClassModifier)
|
59215
59871
|
.append(this.cssClasses.itemSmall, this.itemSmallMode && this.rateType != "labels")
|
59216
59872
|
.toString();
|
@@ -60710,7 +61366,7 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
60710
61366
|
configurable: true
|
60711
61367
|
});
|
60712
61368
|
QuestionTextModel.prototype.getMaxLength = function () {
|
60713
|
-
if (this.
|
61369
|
+
if (!this.isTextInput)
|
60714
61370
|
return null;
|
60715
61371
|
return _super.prototype.getMaxLength.call(this);
|
60716
61372
|
};
|
@@ -66371,6 +67027,287 @@ _element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.re
|
|
66371
67027
|
});
|
66372
67028
|
|
66373
67029
|
|
67030
|
+
/***/ }),
|
67031
|
+
|
67032
|
+
/***/ "./src/react/progress.tsx":
|
67033
|
+
/*!********************************!*\
|
67034
|
+
!*** ./src/react/progress.tsx ***!
|
67035
|
+
\********************************/
|
67036
|
+
/*! exports provided: SurveyProgress */
|
67037
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
67038
|
+
|
67039
|
+
"use strict";
|
67040
|
+
__webpack_require__.r(__webpack_exports__);
|
67041
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyProgress", function() { return SurveyProgress; });
|
67042
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
67043
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
67044
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
|
67045
|
+
/* harmony import */ var _reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactSurveyNavigationBase */ "./src/react/reactSurveyNavigationBase.tsx");
|
67046
|
+
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
|
67047
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
67048
|
+
var extendStatics = function (d, b) {
|
67049
|
+
extendStatics = Object.setPrototypeOf ||
|
67050
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
67051
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
67052
|
+
return extendStatics(d, b);
|
67053
|
+
};
|
67054
|
+
return function (d, b) {
|
67055
|
+
if (typeof b !== "function" && b !== null)
|
67056
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
67057
|
+
extendStatics(d, b);
|
67058
|
+
function __() { this.constructor = d; }
|
67059
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
67060
|
+
};
|
67061
|
+
})();
|
67062
|
+
|
67063
|
+
|
67064
|
+
|
67065
|
+
|
67066
|
+
var SurveyProgress = /** @class */ (function (_super) {
|
67067
|
+
__extends(SurveyProgress, _super);
|
67068
|
+
function SurveyProgress(props) {
|
67069
|
+
return _super.call(this, props) || this;
|
67070
|
+
}
|
67071
|
+
Object.defineProperty(SurveyProgress.prototype, "isTop", {
|
67072
|
+
get: function () {
|
67073
|
+
return this.props.isTop;
|
67074
|
+
},
|
67075
|
+
enumerable: false,
|
67076
|
+
configurable: true
|
67077
|
+
});
|
67078
|
+
Object.defineProperty(SurveyProgress.prototype, "progress", {
|
67079
|
+
get: function () {
|
67080
|
+
return this.survey.progressValue;
|
67081
|
+
},
|
67082
|
+
enumerable: false,
|
67083
|
+
configurable: true
|
67084
|
+
});
|
67085
|
+
Object.defineProperty(SurveyProgress.prototype, "progressText", {
|
67086
|
+
get: function () {
|
67087
|
+
return this.survey.progressText;
|
67088
|
+
},
|
67089
|
+
enumerable: false,
|
67090
|
+
configurable: true
|
67091
|
+
});
|
67092
|
+
SurveyProgress.prototype.render = function () {
|
67093
|
+
var progressStyle = {
|
67094
|
+
width: this.progress + "%",
|
67095
|
+
};
|
67096
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.survey.getProgressCssClasses(this.props.container) },
|
67097
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { style: progressStyle, className: this.css.progressBar, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "progress" },
|
67098
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyProgressModel"].getProgressTextInBarCss(this.css) }, this.progressText)),
|
67099
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyProgressModel"].getProgressTextUnderBarCss(this.css) }, this.progressText)));
|
67100
|
+
};
|
67101
|
+
return SurveyProgress;
|
67102
|
+
}(_reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__["SurveyNavigationBase"]));
|
67103
|
+
|
67104
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-progress-pages", function (props) {
|
67105
|
+
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgress, props);
|
67106
|
+
});
|
67107
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-progress-questions", function (props) {
|
67108
|
+
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgress, props);
|
67109
|
+
});
|
67110
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-progress-correctquestions", function (props) {
|
67111
|
+
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgress, props);
|
67112
|
+
});
|
67113
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-progress-requiredquestions", function (props) {
|
67114
|
+
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgress, props);
|
67115
|
+
});
|
67116
|
+
|
67117
|
+
|
67118
|
+
/***/ }),
|
67119
|
+
|
67120
|
+
/***/ "./src/react/progressButtons.tsx":
|
67121
|
+
/*!***************************************!*\
|
67122
|
+
!*** ./src/react/progressButtons.tsx ***!
|
67123
|
+
\***************************************/
|
67124
|
+
/*! exports provided: SurveyProgressButtons */
|
67125
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
67126
|
+
|
67127
|
+
"use strict";
|
67128
|
+
__webpack_require__.r(__webpack_exports__);
|
67129
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressButtons", function() { return SurveyProgressButtons; });
|
67130
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
67131
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
67132
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
|
67133
|
+
/* harmony import */ var _reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactSurveyNavigationBase */ "./src/react/reactSurveyNavigationBase.tsx");
|
67134
|
+
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
|
67135
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
67136
|
+
var extendStatics = function (d, b) {
|
67137
|
+
extendStatics = Object.setPrototypeOf ||
|
67138
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
67139
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
67140
|
+
return extendStatics(d, b);
|
67141
|
+
};
|
67142
|
+
return function (d, b) {
|
67143
|
+
if (typeof b !== "function" && b !== null)
|
67144
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
67145
|
+
extendStatics(d, b);
|
67146
|
+
function __() { this.constructor = d; }
|
67147
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
67148
|
+
};
|
67149
|
+
})();
|
67150
|
+
|
67151
|
+
|
67152
|
+
|
67153
|
+
|
67154
|
+
var SurveyProgressButtons = /** @class */ (function (_super) {
|
67155
|
+
__extends(SurveyProgressButtons, _super);
|
67156
|
+
function SurveyProgressButtons(props) {
|
67157
|
+
var _this = _super.call(this, props) || this;
|
67158
|
+
_this.listContainerRef = react__WEBPACK_IMPORTED_MODULE_0__["createRef"]();
|
67159
|
+
return _this;
|
67160
|
+
}
|
67161
|
+
Object.defineProperty(SurveyProgressButtons.prototype, "model", {
|
67162
|
+
get: function () {
|
67163
|
+
return this.props.model;
|
67164
|
+
},
|
67165
|
+
enumerable: false,
|
67166
|
+
configurable: true
|
67167
|
+
});
|
67168
|
+
Object.defineProperty(SurveyProgressButtons.prototype, "container", {
|
67169
|
+
get: function () {
|
67170
|
+
return this.props.container;
|
67171
|
+
},
|
67172
|
+
enumerable: false,
|
67173
|
+
configurable: true
|
67174
|
+
});
|
67175
|
+
SurveyProgressButtons.prototype.onResize = function (canShowItemTitles) {
|
67176
|
+
this.setState({ canShowItemTitles: canShowItemTitles });
|
67177
|
+
this.setState({ canShowHeader: !canShowItemTitles });
|
67178
|
+
};
|
67179
|
+
SurveyProgressButtons.prototype.onUpdateScroller = function (hasScroller) {
|
67180
|
+
this.setState({ hasScroller: hasScroller });
|
67181
|
+
};
|
67182
|
+
SurveyProgressButtons.prototype.onUpdateSettings = function () {
|
67183
|
+
this.setState({ canShowItemTitles: this.model.showItemTitles });
|
67184
|
+
this.setState({ canShowFooter: !this.model.showItemTitles });
|
67185
|
+
};
|
67186
|
+
SurveyProgressButtons.prototype.render = function () {
|
67187
|
+
var _this = this;
|
67188
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.model.getRootCss(this.props.container), role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "progress" },
|
67189
|
+
this.state.canShowHeader ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsHeader },
|
67190
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageTitle, title: this.model.headerText }, this.model.headerText)) : null,
|
67191
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsContainer },
|
67192
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.model.getScrollButtonCss(this.state.hasScroller, true), role: "button", onClick: function () {
|
67193
|
+
return _this.clickScrollButton(_this.listContainerRef.current, true);
|
67194
|
+
} }),
|
67195
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsListContainer, ref: this.listContainerRef },
|
67196
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("ul", { className: this.css.progressButtonsList }, this.getListElements())),
|
67197
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.model.getScrollButtonCss(this.state.hasScroller, false), role: "button", onClick: function () {
|
67198
|
+
return _this.clickScrollButton(_this.listContainerRef.current, false);
|
67199
|
+
} })),
|
67200
|
+
this.state.canShowFooter ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsFooter },
|
67201
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageTitle, title: this.model.footerText }, this.model.footerText)) : null));
|
67202
|
+
};
|
67203
|
+
SurveyProgressButtons.prototype.getListElements = function () {
|
67204
|
+
var _this = this;
|
67205
|
+
var buttons = [];
|
67206
|
+
this.survey.visiblePages.forEach(function (page, index) {
|
67207
|
+
buttons.push(_this.renderListElement(page, index));
|
67208
|
+
});
|
67209
|
+
return buttons;
|
67210
|
+
};
|
67211
|
+
SurveyProgressButtons.prototype.renderListElement = function (page, index) {
|
67212
|
+
var _this = this;
|
67213
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("li", { key: "listelement" + index, className: this.model.getListElementCss(index), onClick: this.model.isListElementClickable(index)
|
67214
|
+
? function () { return _this.model.clickListElement(page); }
|
67215
|
+
: undefined, "data-page-number": this.model.getItemNumber(page) },
|
67216
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsConnector }),
|
67217
|
+
this.state.canShowItemTitles ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
|
67218
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageTitle, title: page.renderedNavigationTitle }, page.renderedNavigationTitle),
|
67219
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageDescription, title: page.navigationDescription }, page.navigationDescription)) : null));
|
67220
|
+
};
|
67221
|
+
SurveyProgressButtons.prototype.clickScrollButton = function (listContainerElement, isLeftScroll) {
|
67222
|
+
if (!!listContainerElement) {
|
67223
|
+
listContainerElement.scrollLeft += (isLeftScroll ? -1 : 1) * 70;
|
67224
|
+
}
|
67225
|
+
};
|
67226
|
+
SurveyProgressButtons.prototype.componentDidMount = function () {
|
67227
|
+
var _this = this;
|
67228
|
+
_super.prototype.componentDidMount.call(this);
|
67229
|
+
setTimeout(function () {
|
67230
|
+
_this.respManager = new survey_core__WEBPACK_IMPORTED_MODULE_1__["ProgressButtonsResponsivityManager"](_this.model, _this.listContainerRef.current, _this);
|
67231
|
+
}, 10);
|
67232
|
+
};
|
67233
|
+
SurveyProgressButtons.prototype.componentWillUnmount = function () {
|
67234
|
+
this.respManager.dispose();
|
67235
|
+
_super.prototype.componentWillUnmount.call(this);
|
67236
|
+
};
|
67237
|
+
return SurveyProgressButtons;
|
67238
|
+
}(_reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__["SurveyNavigationBase"]));
|
67239
|
+
|
67240
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-progress-buttons", function (props) {
|
67241
|
+
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgressButtons, props);
|
67242
|
+
});
|
67243
|
+
|
67244
|
+
|
67245
|
+
/***/ }),
|
67246
|
+
|
67247
|
+
/***/ "./src/react/progressToc.tsx":
|
67248
|
+
/*!***********************************!*\
|
67249
|
+
!*** ./src/react/progressToc.tsx ***!
|
67250
|
+
\***********************************/
|
67251
|
+
/*! exports provided: SurveyProgressToc */
|
67252
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
67253
|
+
|
67254
|
+
"use strict";
|
67255
|
+
__webpack_require__.r(__webpack_exports__);
|
67256
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressToc", function() { return SurveyProgressToc; });
|
67257
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
67258
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
67259
|
+
/* harmony import */ var _reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactSurveyNavigationBase */ "./src/react/reactSurveyNavigationBase.tsx");
|
67260
|
+
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
|
67261
|
+
/* harmony import */ var _components_list_list__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/list/list */ "./src/react/components/list/list.tsx");
|
67262
|
+
/* harmony import */ var _components_popup_popup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/popup/popup */ "./src/react/components/popup/popup.tsx");
|
67263
|
+
/* harmony import */ var _components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
|
67264
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
67265
|
+
var extendStatics = function (d, b) {
|
67266
|
+
extendStatics = Object.setPrototypeOf ||
|
67267
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
67268
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
67269
|
+
return extendStatics(d, b);
|
67270
|
+
};
|
67271
|
+
return function (d, b) {
|
67272
|
+
if (typeof b !== "function" && b !== null)
|
67273
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
67274
|
+
extendStatics(d, b);
|
67275
|
+
function __() { this.constructor = d; }
|
67276
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
67277
|
+
};
|
67278
|
+
})();
|
67279
|
+
|
67280
|
+
|
67281
|
+
|
67282
|
+
|
67283
|
+
|
67284
|
+
|
67285
|
+
var SurveyProgressToc = /** @class */ (function (_super) {
|
67286
|
+
__extends(SurveyProgressToc, _super);
|
67287
|
+
function SurveyProgressToc() {
|
67288
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
67289
|
+
}
|
67290
|
+
SurveyProgressToc.prototype.render = function () {
|
67291
|
+
var tocModel = this.props.model;
|
67292
|
+
var content;
|
67293
|
+
if (tocModel.isMobile) {
|
67294
|
+
content = react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { onClick: tocModel.togglePopup },
|
67295
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_5__["SvgIcon"], { iconName: tocModel.icon, size: 24 }),
|
67296
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_popup_popup__WEBPACK_IMPORTED_MODULE_4__["Popup"], { model: tocModel.popupModel }));
|
67297
|
+
}
|
67298
|
+
else {
|
67299
|
+
content = react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_list_list__WEBPACK_IMPORTED_MODULE_3__["List"], { model: tocModel.listModel });
|
67300
|
+
}
|
67301
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: tocModel.containerCss }, content));
|
67302
|
+
};
|
67303
|
+
return SurveyProgressToc;
|
67304
|
+
}(_reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_1__["SurveyNavigationBase"]));
|
67305
|
+
|
67306
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.registerElement("sv-navigation-toc", function (props) {
|
67307
|
+
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgressToc, props);
|
67308
|
+
});
|
67309
|
+
|
67310
|
+
|
66374
67311
|
/***/ }),
|
66375
67312
|
|
66376
67313
|
/***/ "./src/react/rating-dropdown.tsx":
|
@@ -66987,273 +67924,6 @@ var SurveyNavigationBase = /** @class */ (function (_super) {
|
|
66987
67924
|
|
66988
67925
|
|
66989
67926
|
|
66990
|
-
/***/ }),
|
66991
|
-
|
66992
|
-
/***/ "./src/react/reactSurveyProgress.tsx":
|
66993
|
-
/*!*******************************************!*\
|
66994
|
-
!*** ./src/react/reactSurveyProgress.tsx ***!
|
66995
|
-
\*******************************************/
|
66996
|
-
/*! exports provided: SurveyProgress */
|
66997
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
66998
|
-
|
66999
|
-
"use strict";
|
67000
|
-
__webpack_require__.r(__webpack_exports__);
|
67001
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyProgress", function() { return SurveyProgress; });
|
67002
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
67003
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
67004
|
-
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
|
67005
|
-
/* harmony import */ var _reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactSurveyNavigationBase */ "./src/react/reactSurveyNavigationBase.tsx");
|
67006
|
-
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
|
67007
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
67008
|
-
var extendStatics = function (d, b) {
|
67009
|
-
extendStatics = Object.setPrototypeOf ||
|
67010
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
67011
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
67012
|
-
return extendStatics(d, b);
|
67013
|
-
};
|
67014
|
-
return function (d, b) {
|
67015
|
-
if (typeof b !== "function" && b !== null)
|
67016
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
67017
|
-
extendStatics(d, b);
|
67018
|
-
function __() { this.constructor = d; }
|
67019
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
67020
|
-
};
|
67021
|
-
})();
|
67022
|
-
|
67023
|
-
|
67024
|
-
|
67025
|
-
|
67026
|
-
var SurveyProgress = /** @class */ (function (_super) {
|
67027
|
-
__extends(SurveyProgress, _super);
|
67028
|
-
function SurveyProgress(props) {
|
67029
|
-
return _super.call(this, props) || this;
|
67030
|
-
}
|
67031
|
-
Object.defineProperty(SurveyProgress.prototype, "isTop", {
|
67032
|
-
get: function () {
|
67033
|
-
return this.props.isTop;
|
67034
|
-
},
|
67035
|
-
enumerable: false,
|
67036
|
-
configurable: true
|
67037
|
-
});
|
67038
|
-
Object.defineProperty(SurveyProgress.prototype, "progress", {
|
67039
|
-
get: function () {
|
67040
|
-
return this.survey.progressValue;
|
67041
|
-
},
|
67042
|
-
enumerable: false,
|
67043
|
-
configurable: true
|
67044
|
-
});
|
67045
|
-
Object.defineProperty(SurveyProgress.prototype, "progressText", {
|
67046
|
-
get: function () {
|
67047
|
-
return this.survey.progressText;
|
67048
|
-
},
|
67049
|
-
enumerable: false,
|
67050
|
-
configurable: true
|
67051
|
-
});
|
67052
|
-
SurveyProgress.prototype.render = function () {
|
67053
|
-
var progressStyle = {
|
67054
|
-
width: this.progress + "%",
|
67055
|
-
};
|
67056
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.survey.getProgressCssClasses(this.props.container) },
|
67057
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { style: progressStyle, className: this.css.progressBar, role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "progress" },
|
67058
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyProgressModel"].getProgressTextInBarCss(this.css) }, this.progressText)),
|
67059
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyProgressModel"].getProgressTextUnderBarCss(this.css) }, this.progressText)));
|
67060
|
-
};
|
67061
|
-
return SurveyProgress;
|
67062
|
-
}(_reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__["SurveyNavigationBase"]));
|
67063
|
-
|
67064
|
-
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-progress-pages", function (props) {
|
67065
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgress, props);
|
67066
|
-
});
|
67067
|
-
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-progress-questions", function (props) {
|
67068
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgress, props);
|
67069
|
-
});
|
67070
|
-
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-progress-correctquestions", function (props) {
|
67071
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgress, props);
|
67072
|
-
});
|
67073
|
-
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-progress-requiredquestions", function (props) {
|
67074
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgress, props);
|
67075
|
-
});
|
67076
|
-
|
67077
|
-
|
67078
|
-
/***/ }),
|
67079
|
-
|
67080
|
-
/***/ "./src/react/reactSurveyProgressButtons.tsx":
|
67081
|
-
/*!**************************************************!*\
|
67082
|
-
!*** ./src/react/reactSurveyProgressButtons.tsx ***!
|
67083
|
-
\**************************************************/
|
67084
|
-
/*! exports provided: SurveyProgressButtons */
|
67085
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
67086
|
-
|
67087
|
-
"use strict";
|
67088
|
-
__webpack_require__.r(__webpack_exports__);
|
67089
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressButtons", function() { return SurveyProgressButtons; });
|
67090
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
67091
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
67092
|
-
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
|
67093
|
-
/* harmony import */ var _reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reactSurveyNavigationBase */ "./src/react/reactSurveyNavigationBase.tsx");
|
67094
|
-
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
|
67095
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
67096
|
-
var extendStatics = function (d, b) {
|
67097
|
-
extendStatics = Object.setPrototypeOf ||
|
67098
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
67099
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
67100
|
-
return extendStatics(d, b);
|
67101
|
-
};
|
67102
|
-
return function (d, b) {
|
67103
|
-
if (typeof b !== "function" && b !== null)
|
67104
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
67105
|
-
extendStatics(d, b);
|
67106
|
-
function __() { this.constructor = d; }
|
67107
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
67108
|
-
};
|
67109
|
-
})();
|
67110
|
-
|
67111
|
-
|
67112
|
-
|
67113
|
-
|
67114
|
-
var SurveyProgressButtons = /** @class */ (function (_super) {
|
67115
|
-
__extends(SurveyProgressButtons, _super);
|
67116
|
-
function SurveyProgressButtons(props) {
|
67117
|
-
var _this = _super.call(this, props) || this;
|
67118
|
-
_this.updateScroller = undefined;
|
67119
|
-
_this.progressButtonsModel = new survey_core__WEBPACK_IMPORTED_MODULE_1__["SurveyProgressButtonsModel"](_this.survey);
|
67120
|
-
_this.listContainerRef = react__WEBPACK_IMPORTED_MODULE_0__["createRef"]();
|
67121
|
-
return _this;
|
67122
|
-
}
|
67123
|
-
SurveyProgressButtons.prototype.render = function () {
|
67124
|
-
var _this = this;
|
67125
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsContainerCenter },
|
67126
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsContainer },
|
67127
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.getScrollButtonCss(true), role: "button", onClick: function () {
|
67128
|
-
return _this.clickScrollButton(_this.listContainerRef.current, true);
|
67129
|
-
} }),
|
67130
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsListContainer, ref: this.listContainerRef },
|
67131
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("ul", { className: this.css.progressButtonsList }, this.getListElements())),
|
67132
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.getScrollButtonCss(false), role: "button", onClick: function () {
|
67133
|
-
return _this.clickScrollButton(_this.listContainerRef.current, false);
|
67134
|
-
} }))));
|
67135
|
-
};
|
67136
|
-
SurveyProgressButtons.prototype.getListElements = function () {
|
67137
|
-
var _this = this;
|
67138
|
-
var buttons = [];
|
67139
|
-
this.survey.visiblePages.forEach(function (page, index) {
|
67140
|
-
buttons.push(_this.renderListElement(page, index));
|
67141
|
-
});
|
67142
|
-
return buttons;
|
67143
|
-
};
|
67144
|
-
SurveyProgressButtons.prototype.renderListElement = function (page, index) {
|
67145
|
-
var _this = this;
|
67146
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("li", { key: "listelement" + index, className: this.getListElementCss(index), onClick: this.isListElementClickable(index)
|
67147
|
-
? function () { return _this.clickListElement(index); }
|
67148
|
-
: undefined },
|
67149
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageTitle, title: page.renderedNavigationTitle }, page.renderedNavigationTitle),
|
67150
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageDescription, title: page.navigationDescription }, page.navigationDescription)));
|
67151
|
-
};
|
67152
|
-
SurveyProgressButtons.prototype.isListElementClickable = function (index) {
|
67153
|
-
return this.progressButtonsModel.isListElementClickable(index);
|
67154
|
-
};
|
67155
|
-
SurveyProgressButtons.prototype.getListElementCss = function (index) {
|
67156
|
-
return this.progressButtonsModel.getListElementCss(index);
|
67157
|
-
};
|
67158
|
-
SurveyProgressButtons.prototype.clickListElement = function (index) {
|
67159
|
-
this.progressButtonsModel.clickListElement(index);
|
67160
|
-
};
|
67161
|
-
SurveyProgressButtons.prototype.getScrollButtonCss = function (isLeftScroll) {
|
67162
|
-
return this.progressButtonsModel.getScrollButtonCss(this.state.hasScroller, isLeftScroll);
|
67163
|
-
};
|
67164
|
-
SurveyProgressButtons.prototype.clickScrollButton = function (listContainerElement, isLeftScroll) {
|
67165
|
-
if (!!listContainerElement) {
|
67166
|
-
listContainerElement.scrollLeft += (isLeftScroll ? -1 : 1) * 70;
|
67167
|
-
}
|
67168
|
-
};
|
67169
|
-
SurveyProgressButtons.prototype.componentDidMount = function () {
|
67170
|
-
var _this = this;
|
67171
|
-
this.updateScroller = setInterval(function () {
|
67172
|
-
if (!!_this.listContainerRef.current) {
|
67173
|
-
_this.setState({ hasScroller: _this.listContainerRef.current.scrollWidth > _this.listContainerRef.current.offsetWidth, });
|
67174
|
-
}
|
67175
|
-
}, 100);
|
67176
|
-
};
|
67177
|
-
SurveyProgressButtons.prototype.componentWillUnmount = function () {
|
67178
|
-
if (typeof this.updateScroller !== "undefined") {
|
67179
|
-
clearInterval(this.updateScroller);
|
67180
|
-
this.updateScroller = undefined;
|
67181
|
-
}
|
67182
|
-
};
|
67183
|
-
return SurveyProgressButtons;
|
67184
|
-
}(_reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_2__["SurveyNavigationBase"]));
|
67185
|
-
|
67186
|
-
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-progress-buttons", function (props) {
|
67187
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgressButtons, props);
|
67188
|
-
});
|
67189
|
-
|
67190
|
-
|
67191
|
-
/***/ }),
|
67192
|
-
|
67193
|
-
/***/ "./src/react/reactSurveyProgressToc.tsx":
|
67194
|
-
/*!**********************************************!*\
|
67195
|
-
!*** ./src/react/reactSurveyProgressToc.tsx ***!
|
67196
|
-
\**********************************************/
|
67197
|
-
/*! exports provided: SurveyProgressToc */
|
67198
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
67199
|
-
|
67200
|
-
"use strict";
|
67201
|
-
__webpack_require__.r(__webpack_exports__);
|
67202
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressToc", function() { return SurveyProgressToc; });
|
67203
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
67204
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
67205
|
-
/* harmony import */ var _reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactSurveyNavigationBase */ "./src/react/reactSurveyNavigationBase.tsx");
|
67206
|
-
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./element-factory */ "./src/react/element-factory.tsx");
|
67207
|
-
/* harmony import */ var _components_list_list__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/list/list */ "./src/react/components/list/list.tsx");
|
67208
|
-
/* harmony import */ var _components_popup_popup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/popup/popup */ "./src/react/components/popup/popup.tsx");
|
67209
|
-
/* harmony import */ var _components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
|
67210
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
67211
|
-
var extendStatics = function (d, b) {
|
67212
|
-
extendStatics = Object.setPrototypeOf ||
|
67213
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
67214
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
67215
|
-
return extendStatics(d, b);
|
67216
|
-
};
|
67217
|
-
return function (d, b) {
|
67218
|
-
if (typeof b !== "function" && b !== null)
|
67219
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
67220
|
-
extendStatics(d, b);
|
67221
|
-
function __() { this.constructor = d; }
|
67222
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
67223
|
-
};
|
67224
|
-
})();
|
67225
|
-
|
67226
|
-
|
67227
|
-
|
67228
|
-
|
67229
|
-
|
67230
|
-
|
67231
|
-
var SurveyProgressToc = /** @class */ (function (_super) {
|
67232
|
-
__extends(SurveyProgressToc, _super);
|
67233
|
-
function SurveyProgressToc() {
|
67234
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
67235
|
-
}
|
67236
|
-
SurveyProgressToc.prototype.render = function () {
|
67237
|
-
var tocModel = this.props.model;
|
67238
|
-
var content;
|
67239
|
-
if (tocModel.isMobile) {
|
67240
|
-
content = react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { onClick: tocModel.togglePopup },
|
67241
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_5__["SvgIcon"], { iconName: tocModel.icon, size: 24 }),
|
67242
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_popup_popup__WEBPACK_IMPORTED_MODULE_4__["Popup"], { model: tocModel.popupModel }));
|
67243
|
-
}
|
67244
|
-
else {
|
67245
|
-
content = react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_list_list__WEBPACK_IMPORTED_MODULE_3__["List"], { model: tocModel.listModel });
|
67246
|
-
}
|
67247
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: tocModel.containerCss }, content));
|
67248
|
-
};
|
67249
|
-
return SurveyProgressToc;
|
67250
|
-
}(_reactSurveyNavigationBase__WEBPACK_IMPORTED_MODULE_1__["SurveyNavigationBase"]));
|
67251
|
-
|
67252
|
-
_element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.registerElement("sv-navigation-toc", function (props) {
|
67253
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyProgressToc, props);
|
67254
|
-
});
|
67255
|
-
|
67256
|
-
|
67257
67927
|
/***/ }),
|
67258
67928
|
|
67259
67929
|
/***/ "./src/react/reactquestion.tsx":
|
@@ -68131,13 +68801,27 @@ var SurveyQuestionCommentItem = /** @class */ (function (_super) {
|
|
68131
68801
|
_this.state = { comment: _this.getComment() || "" };
|
68132
68802
|
return _this;
|
68133
68803
|
}
|
68134
|
-
SurveyQuestionCommentItem.prototype.
|
68135
|
-
|
68136
|
-
|
68137
|
-
|
68138
|
-
|
68804
|
+
SurveyQuestionCommentItem.prototype.componentDidUpdate = function (prevProps, prevState) {
|
68805
|
+
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
68806
|
+
this.updateDomElement();
|
68807
|
+
};
|
68808
|
+
SurveyQuestionCommentItem.prototype.componentDidMount = function () {
|
68809
|
+
_super.prototype.componentDidMount.call(this);
|
68810
|
+
this.updateDomElement();
|
68811
|
+
};
|
68812
|
+
SurveyQuestionCommentItem.prototype.updateDomElement = function () {
|
68813
|
+
if (!!this.control) {
|
68814
|
+
var control = this.control;
|
68815
|
+
var newValue = this.getComment() || "";
|
68816
|
+
if (!survey_core__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isTwoValueEquals(newValue, control.value, false, true, false)) {
|
68817
|
+
control.value = newValue;
|
68818
|
+
}
|
68819
|
+
}
|
68820
|
+
};
|
68821
|
+
SurveyQuestionCommentItem.prototype.setControl = function (element) {
|
68822
|
+
if (!!element) {
|
68823
|
+
this.control = element;
|
68139
68824
|
}
|
68140
|
-
return stateComment !== undefined ? stateComment : comment || "";
|
68141
68825
|
};
|
68142
68826
|
SurveyQuestionCommentItem.prototype.canRender = function () {
|
68143
68827
|
return !!this.props.question;
|
@@ -68164,18 +68848,11 @@ var SurveyQuestionCommentItem = /** @class */ (function (_super) {
|
|
68164
68848
|
var _this = this;
|
68165
68849
|
var question = this.props.question;
|
68166
68850
|
var className = this.props.otherCss || this.cssClasses.comment;
|
68167
|
-
var handleOnChange = function (event) {
|
68168
|
-
_this.setState({ comment: event.target.value });
|
68169
|
-
// https://github.com/surveyjs/survey-library/issues/7252
|
68170
|
-
if (!survey_core__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isTwoValueEquals(_this.getComment(), event.target.value, false, true, false)) {
|
68171
|
-
_this.setComment(event.target.value);
|
68172
|
-
}
|
68173
|
-
};
|
68174
|
-
var comment = this.getStateComment();
|
68175
68851
|
if (question.isReadOnlyRenderDiv()) {
|
68852
|
+
var comment = this.getComment() || "";
|
68176
68853
|
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", null, comment);
|
68177
68854
|
}
|
68178
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("textarea", { id: this.getId(), className: className,
|
68855
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("textarea", { id: this.getId(), className: className, ref: function (textarea) { return (_this.setControl(textarea)); }, disabled: this.isDisplayMode, maxLength: question.getOthersMaxLength(), placeholder: this.getPlaceholder(), onBlur: function (e) { _this.onCommentChange(e); }, onInput: function (e) { return _this.onCommentInput(e); }, "aria-required": question.isRequired || question.a11y_input_ariaRequired, "aria-label": question.ariaLabel || question.a11y_input_ariaLabel, style: { resize: question.resizeStyle } }));
|
68179
68856
|
};
|
68180
68857
|
return SurveyQuestionCommentItem;
|
68181
68858
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["ReactSurveyElement"]));
|
@@ -72359,15 +73036,27 @@ var settings = {
|
|
72359
73036
|
*/
|
72360
73037
|
showItemsInOrder: "default",
|
72361
73038
|
/**
|
72362
|
-
* A value to save in survey results when respondents select the None choice item.
|
73039
|
+
* A value to save in survey results when respondents select the "None" choice item.
|
72363
73040
|
*
|
72364
73041
|
* Default value: `"none"`
|
72365
73042
|
*/
|
72366
73043
|
noneItemValue: "none",
|
72367
73044
|
/**
|
72368
|
-
*
|
73045
|
+
* A value to save in survey results when respondents select the "Refuse to answer" choice item.
|
73046
|
+
*
|
73047
|
+
* Default value: `"refused"`
|
73048
|
+
*/
|
73049
|
+
refuseItemValue: "refused",
|
73050
|
+
/**
|
73051
|
+
* A value to save in survey results when respondents select the "Don't know" choice item.
|
72369
73052
|
*
|
72370
|
-
* Default value: `
|
73053
|
+
* Default value: `"dontknow"`
|
73054
|
+
*/
|
73055
|
+
dontKnowItemValue: "dontknow",
|
73056
|
+
/**
|
73057
|
+
* An object whose properties specify the order of the special choice items ("None", "Other", "Select All", "Refuse to answer", "Don't know") in select-based questions.
|
73058
|
+
*
|
73059
|
+
* Default value: `{ selectAllItem: [-1], noneItem: [1], otherItem: [2], dontKnowItem: [3], otherItem: [4] }`
|
72371
73060
|
*
|
72372
73061
|
* Use this object to reorder special choices. Each property accepts an array of integer numbers. Negative numbers place a special choice item above regular choice items, positive numbers place it below them. For instance, the code below specifies the following order of choices: None, Select All, regular choices, Other.
|
72373
73062
|
*
|
@@ -72388,7 +73077,9 @@ var settings = {
|
|
72388
73077
|
specialChoicesOrder: {
|
72389
73078
|
selectAllItem: [-1],
|
72390
73079
|
noneItem: [1],
|
72391
|
-
|
73080
|
+
refuseItem: [2],
|
73081
|
+
dontKnowItem: [3],
|
73082
|
+
otherItem: [4]
|
72392
73083
|
},
|
72393
73084
|
/**
|
72394
73085
|
* A list of supported validators by question type.
|
@@ -72442,6 +73133,12 @@ var settings = {
|
|
72442
73133
|
* Default value: `true`
|
72443
73134
|
*/
|
72444
73135
|
showMaxLengthIndicator: true,
|
73136
|
+
/**
|
73137
|
+
* Set to `false` to disable animations
|
73138
|
+
*
|
73139
|
+
* Default value: `true`
|
73140
|
+
*/
|
73141
|
+
animationEnabled: true,
|
72445
73142
|
/**
|
72446
73143
|
* An object that specifies heading levels (`<h1>`, `<h2>`, etc.) to use when rendering survey, page, panel, and question titles.
|
72447
73144
|
*
|
@@ -72527,7 +73224,8 @@ var settings = {
|
|
72527
73224
|
"email",
|
72528
73225
|
"impp",
|
72529
73226
|
]
|
72530
|
-
}
|
73227
|
+
},
|
73228
|
+
legacyProgressBarView: false
|
72531
73229
|
};
|
72532
73230
|
|
72533
73231
|
|
@@ -74352,7 +75050,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
74352
75050
|
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./header */ "./src/header.ts");
|
74353
75051
|
/* harmony import */ var _surveytimer__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./surveytimer */ "./src/surveytimer.ts");
|
74354
75052
|
/* harmony import */ var _surveyTaskManager__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./surveyTaskManager */ "./src/surveyTaskManager.ts");
|
74355
|
-
/* harmony import */ var
|
75053
|
+
/* harmony import */ var _progress_buttons__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./progress-buttons */ "./src/progress-buttons.ts");
|
75054
|
+
/* harmony import */ var _surveyToc__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./surveyToc */ "./src/surveyToc.ts");
|
74356
75055
|
var __extends = (undefined && undefined.__extends) || (function () {
|
74357
75056
|
var extendStatics = function (d, b) {
|
74358
75057
|
extendStatics = Object.setPrototypeOf ||
|
@@ -74396,6 +75095,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
74396
75095
|
|
74397
75096
|
|
74398
75097
|
|
75098
|
+
|
74399
75099
|
|
74400
75100
|
|
74401
75101
|
/**
|
@@ -74865,6 +75565,12 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
74865
75565
|
* [View Demo](https://surveyjs.io/form-library/examples/lazy-loading-dropdown/ (linkStyle))
|
74866
75566
|
*/
|
74867
75567
|
_this.onChoicesLazyLoad = _this.addEvent();
|
75568
|
+
/**
|
75569
|
+
* An event that is raised each time a search string in a [Dropdown](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model) or [Tag Box](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model) question changes. Use this event to implement custom filtering of choice options.
|
75570
|
+
* @see [QuestionDropdownModel.searchEnabled](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model#searchEnabled)
|
75571
|
+
* @see [QuestionDropdownModel.searchMode](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model#searchMode)
|
75572
|
+
*/
|
75573
|
+
_this.onChoicesSearch = _this.addEvent();
|
74868
75574
|
/**
|
74869
75575
|
* Use this event to load a display text for the [default choice item](https://surveyjs.io/form-library/documentation/questiondropdownmodel#defaultValue) in [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel) and [Tag Box](https://surveyjs.io/form-library/documentation/questiontagboxmodel) questions.
|
74870
75576
|
*
|
@@ -75236,6 +75942,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
75236
75942
|
_this.onScrollCallback = undefined;
|
75237
75943
|
}
|
75238
75944
|
});
|
75945
|
+
_this.progressBarValue = new _progress_buttons__WEBPACK_IMPORTED_MODULE_23__["ProgressButtons"](_this);
|
75239
75946
|
_this.layoutElements.push({
|
75240
75947
|
id: "timerpanel",
|
75241
75948
|
template: "survey-timerpanel",
|
@@ -75245,7 +75952,8 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
75245
75952
|
_this.layoutElements.push({
|
75246
75953
|
id: "progress-buttons",
|
75247
75954
|
component: "sv-progress-buttons",
|
75248
|
-
data: _this
|
75955
|
+
data: _this.progressBar,
|
75956
|
+
processResponsiveness: function (width) { return _this.progressBar.processResponsiveness && _this.progressBar.processResponsiveness(width); }
|
75249
75957
|
});
|
75250
75958
|
_this.layoutElements.push({
|
75251
75959
|
id: "progress-questions",
|
@@ -75270,10 +75978,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
75270
75978
|
_this.addLayoutElement({
|
75271
75979
|
id: "toc-navigation",
|
75272
75980
|
component: "sv-navigation-toc",
|
75273
|
-
data: new
|
75981
|
+
data: new _surveyToc__WEBPACK_IMPORTED_MODULE_24__["TOCModel"](_this)
|
75274
75982
|
});
|
75275
75983
|
_this.layoutElements.push({
|
75276
|
-
id: "
|
75984
|
+
id: "buttons-navigation",
|
75277
75985
|
component: "sv-action-bar",
|
75278
75986
|
data: _this.navigationBar
|
75279
75987
|
});
|
@@ -77215,6 +77923,13 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77215
77923
|
enumerable: false,
|
77216
77924
|
configurable: true
|
77217
77925
|
});
|
77926
|
+
Object.defineProperty(SurveyModel.prototype, "progressBar", {
|
77927
|
+
get: function () {
|
77928
|
+
return this.progressBarValue;
|
77929
|
+
},
|
77930
|
+
enumerable: false,
|
77931
|
+
configurable: true
|
77932
|
+
});
|
77218
77933
|
Object.defineProperty(SurveyModel.prototype, "showProgressBar", {
|
77219
77934
|
/**
|
77220
77935
|
* Controls the visibility of the progress bar and specifies its position.
|
@@ -77222,9 +77937,13 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77222
77937
|
* Possible values:
|
77223
77938
|
*
|
77224
77939
|
* - `"off"` (default) - Hides the progress bar.
|
77225
|
-
* - `"
|
77940
|
+
* - `"aboveHeader"` - Displays the progress bar above the survey header.
|
77941
|
+
* - `"belowHeader"` - Displays the progress bar below the survey header.
|
77226
77942
|
* - `"bottom"` - Displays the progress bar below survey content.
|
77227
|
-
* - `"
|
77943
|
+
* - `"topBottom"` - Displays the progress bar above and below survey content.
|
77944
|
+
* - `"auto"` - Automatically selects between `"aboveHeader"` and `"belowHeader"`.
|
77945
|
+
* - `"top"` - *(Obsolete)* Use the `"aboveHeader"` or `"belowHeader"` property value instead.
|
77946
|
+
* - `"both"` - *(Obsolete)* Use the `"topBottom"` property value instead.
|
77228
77947
|
*
|
77229
77948
|
* [View Demo](https://surveyjs.io/form-library/examples/navigation-default/ (linkStyle))
|
77230
77949
|
* @see progressBarType
|
@@ -77249,7 +77968,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77249
77968
|
* - `"questions"` - The number of answered questions.
|
77250
77969
|
* - `"requiredQuestions"` - The number of answered [required questions](https://surveyjs.io/form-library/documentation/api-reference/question#isRequired).
|
77251
77970
|
* - `"correctQuestions"` - The number of correct questions in a [quiz](https://surveyjs.io/form-library/documentation/design-survey/create-a-quiz).
|
77252
|
-
* - `"buttons"` -
|
77971
|
+
* - `"buttons"` - *(Obsolete)* Use the `"pages"` property value with the [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#progressBarShowPageTitles) property set to `true` instead.
|
77972
|
+
*
|
77973
|
+
* > When `progressBarType` is set to `"pages"`, you can also enable the [`progressBarShowPageNumbers`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#progressBarShowPageNumbers) and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#progressBarShowPageTitles) properties if you want to display page numbers and titles in the progress bar.
|
77253
77974
|
*
|
77254
77975
|
* [View Demo](https://surveyjs.io/form-library/examples/navigation-buttons/ (linkStyle))
|
77255
77976
|
* @see progressValue
|
@@ -77262,16 +77983,33 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77262
77983
|
newValue = "correctQuestion";
|
77263
77984
|
if (newValue === "requiredquestion")
|
77264
77985
|
newValue = "requiredQuestion";
|
77986
|
+
// if (newValue === "buttons") {
|
77987
|
+
// newValue = "pages";
|
77988
|
+
// this.progressBarShowPageTitles = true;
|
77989
|
+
// }
|
77265
77990
|
this.setPropertyValue("progressBarType", newValue);
|
77266
77991
|
},
|
77267
77992
|
enumerable: false,
|
77268
77993
|
configurable: true
|
77269
77994
|
});
|
77995
|
+
Object.defineProperty(SurveyModel.prototype, "progressBarComponentName", {
|
77996
|
+
get: function () {
|
77997
|
+
var actualProgressBarType = this.progressBarType;
|
77998
|
+
if (!_settings__WEBPACK_IMPORTED_MODULE_14__["settings"].legacyProgressBarView && _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_4__["surveyCss"].currentType === "defaultV2") {
|
77999
|
+
if (isStrCiEqual(actualProgressBarType, "pages")) {
|
78000
|
+
actualProgressBarType = "buttons";
|
78001
|
+
}
|
78002
|
+
}
|
78003
|
+
return "progress-" + actualProgressBarType;
|
78004
|
+
},
|
78005
|
+
enumerable: false,
|
78006
|
+
configurable: true
|
78007
|
+
});
|
77270
78008
|
Object.defineProperty(SurveyModel.prototype, "isShowProgressBarOnTop", {
|
77271
78009
|
get: function () {
|
77272
78010
|
if (!this.canShowProresBar())
|
77273
78011
|
return false;
|
77274
|
-
return
|
78012
|
+
return ["auto", "aboveheader", "belowheader", "topbottom", "top", "both"].indexOf(this.showProgressBar) !== -1;
|
77275
78013
|
},
|
77276
78014
|
enumerable: false,
|
77277
78015
|
configurable: true
|
@@ -77280,7 +78018,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77280
78018
|
get: function () {
|
77281
78019
|
if (!this.canShowProresBar())
|
77282
78020
|
return false;
|
77283
|
-
return this.showProgressBar === "bottom" || this.showProgressBar === "both";
|
78021
|
+
return this.showProgressBar === "bottom" || this.showProgressBar === "both" || this.showProgressBar === "topbottom";
|
77284
78022
|
},
|
77285
78023
|
enumerable: false,
|
77286
78024
|
configurable: true
|
@@ -79611,6 +80349,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
79611
80349
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_18__["CssClassBuilder"]()
|
79612
80350
|
.append(this.css.root)
|
79613
80351
|
.append(this.css.rootMobile, this.isMobile)
|
80352
|
+
.append(this.css.rootAnimationDisabled, !_settings__WEBPACK_IMPORTED_MODULE_14__["settings"].animationEnabled)
|
79614
80353
|
.append(this.css.rootReadOnly, this.mode === "display")
|
79615
80354
|
.append(this.css.rootCompact, this.isCompact)
|
79616
80355
|
.append(this.css.rootFitToContainer, this.fitToContainer)
|
@@ -80640,6 +81379,12 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
80640
81379
|
enumerable: false,
|
80641
81380
|
configurable: true
|
80642
81381
|
});
|
81382
|
+
/**
|
81383
|
+
* Recalculates all [expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions) in the survey.
|
81384
|
+
*/
|
81385
|
+
SurveyModel.prototype.runExpressions = function () {
|
81386
|
+
this.runConditions();
|
81387
|
+
};
|
80643
81388
|
SurveyModel.prototype.runConditions = function () {
|
80644
81389
|
if (this.isCompleted ||
|
80645
81390
|
this.isEndLoadingFromJson === "processing" ||
|
@@ -80876,6 +81621,12 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
80876
81621
|
this.onStateAndCurrentPageChanged();
|
80877
81622
|
this.updateState();
|
80878
81623
|
};
|
81624
|
+
SurveyModel.prototype.startLoadingFromJson = function (json) {
|
81625
|
+
_super.prototype.startLoadingFromJson.call(this, json);
|
81626
|
+
if (json && json.locale) {
|
81627
|
+
this.locale = json.locale;
|
81628
|
+
}
|
81629
|
+
};
|
80879
81630
|
SurveyModel.prototype.setJsonObject = function (jsonObj) {
|
80880
81631
|
this.fromJSON(jsonObj);
|
80881
81632
|
};
|
@@ -81987,7 +82738,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
81987
82738
|
* @see onTimer
|
81988
82739
|
*/
|
81989
82740
|
SurveyModel.prototype.startTimer = function () {
|
81990
|
-
this.
|
82741
|
+
if (this.isEditMode) {
|
82742
|
+
this.timerModel.start();
|
82743
|
+
}
|
81991
82744
|
};
|
81992
82745
|
SurveyModel.prototype.startTimerFromUI = function () {
|
81993
82746
|
if (this.showTimerPanel != "none" && this.state === "running") {
|
@@ -82261,7 +83014,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82261
83014
|
*
|
82262
83015
|
* This method accepts an object with the following layout element properties:
|
82263
83016
|
*
|
82264
|
-
* - `id`: `string` | `"timerpanel"` | `"progress-buttons"` | `"progress-questions"` | `"progress-pages"` | `"progress-correctquestions"` | `"progress-requiredquestions"` | `"toc-navigation"` | `"
|
83017
|
+
* - `id`: `string` | `"timerpanel"` | `"progress-buttons"` | `"progress-questions"` | `"progress-pages"` | `"progress-correctquestions"` | `"progress-requiredquestions"` | `"toc-navigation"` | `"buttons-navigation"`\
|
82265
83018
|
* A layout element identifier. You can use possible values to access and relocate or customize predefined layout elements.
|
82266
83019
|
*
|
82267
83020
|
* - `container`: `"header"` | `"footer"` | `"left"` | `"right"` | `"contentTop"` | `"contentBottom"`\
|
@@ -82310,10 +83063,13 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82310
83063
|
}
|
82311
83064
|
}
|
82312
83065
|
}
|
82313
|
-
else if (this.state === "running" && isStrCiEqual(layoutElement.id,
|
83066
|
+
else if (this.state === "running" && isStrCiEqual(layoutElement.id, this.progressBarComponentName)) {
|
82314
83067
|
var headerLayoutElement = this.findLayoutElement("advanced-header");
|
82315
83068
|
var advHeader = headerLayoutElement && headerLayoutElement.data;
|
82316
83069
|
var isBelowHeader = !advHeader || advHeader.hasBackground;
|
83070
|
+
if (isStrCiEqual(this.showProgressBar, "aboveHeader")) {
|
83071
|
+
isBelowHeader = false;
|
83072
|
+
}
|
82317
83073
|
if (container === "header" && !isBelowHeader) {
|
82318
83074
|
layoutElement.index = -150;
|
82319
83075
|
if (this.isShowProgressBarOnTop && !this.isShowStartingPage) {
|
@@ -82334,7 +83090,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82334
83090
|
}
|
82335
83091
|
}
|
82336
83092
|
}
|
82337
|
-
else if (isStrCiEqual(layoutElement.id, "
|
83093
|
+
else if (isStrCiEqual(layoutElement.id, "buttons-navigation")) {
|
82338
83094
|
if (container === "contentTop") {
|
82339
83095
|
if (["top", "both"].indexOf(this.isNavigationButtonsShowing) !== -1) {
|
82340
83096
|
containerLayoutElements.push(layoutElement);
|
@@ -82544,6 +83300,16 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82544
83300
|
__decorate([
|
82545
83301
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
82546
83302
|
], SurveyModel.prototype, "wrapperFormCss", void 0);
|
83303
|
+
__decorate([
|
83304
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({
|
83305
|
+
getDefaultValue: function (self) {
|
83306
|
+
return self.progressBarType === "buttons";
|
83307
|
+
},
|
83308
|
+
})
|
83309
|
+
], SurveyModel.prototype, "progressBarShowPageTitles", void 0);
|
83310
|
+
__decorate([
|
83311
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
83312
|
+
], SurveyModel.prototype, "progressBarShowPageNumbers", void 0);
|
82547
83313
|
__decorate([
|
82548
83314
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
82549
83315
|
], SurveyModel.prototype, "rootCss", void 0);
|
@@ -82679,7 +83445,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("survey", [
|
|
82679
83445
|
{
|
82680
83446
|
name: "showProgressBar",
|
82681
83447
|
default: "off",
|
82682
|
-
choices: ["off", "
|
83448
|
+
choices: ["off", "auto", "aboveHeader", "belowHeader", "bottom", "topBottom"],
|
82683
83449
|
},
|
82684
83450
|
{
|
82685
83451
|
name: "progressBarType",
|
@@ -82689,9 +83455,10 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("survey", [
|
|
82689
83455
|
"questions",
|
82690
83456
|
"requiredQuestions",
|
82691
83457
|
"correctQuestions",
|
82692
|
-
"buttons",
|
82693
83458
|
],
|
82694
83459
|
},
|
83460
|
+
{ name: "progressBarShowPageTitles:switch", category: "navigation" },
|
83461
|
+
{ name: "progressBarShowPageNumbers:switch", default: false, category: "navigation" },
|
82695
83462
|
{
|
82696
83463
|
name: "showTOC:switch",
|
82697
83464
|
default: false
|
@@ -82838,56 +83605,6 @@ var SurveyProgressModel = /** @class */ (function () {
|
|
82838
83605
|
|
82839
83606
|
|
82840
83607
|
|
82841
|
-
/***/ }),
|
82842
|
-
|
82843
|
-
/***/ "./src/surveyProgressButtons.ts":
|
82844
|
-
/*!**************************************!*\
|
82845
|
-
!*** ./src/surveyProgressButtons.ts ***!
|
82846
|
-
\**************************************/
|
82847
|
-
/*! exports provided: SurveyProgressButtonsModel */
|
82848
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
82849
|
-
|
82850
|
-
"use strict";
|
82851
|
-
__webpack_require__.r(__webpack_exports__);
|
82852
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressButtonsModel", function() { return SurveyProgressButtonsModel; });
|
82853
|
-
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
82854
|
-
|
82855
|
-
var SurveyProgressButtonsModel = /** @class */ (function () {
|
82856
|
-
function SurveyProgressButtonsModel(survey) {
|
82857
|
-
this.survey = survey;
|
82858
|
-
}
|
82859
|
-
SurveyProgressButtonsModel.prototype.isListElementClickable = function (index) {
|
82860
|
-
if (!this.survey.onServerValidateQuestions ||
|
82861
|
-
this.survey.onServerValidateQuestions.isEmpty ||
|
82862
|
-
this.survey.checkErrorsMode === "onComplete") {
|
82863
|
-
return true;
|
82864
|
-
}
|
82865
|
-
return index <= this.survey.currentPageNo + 1;
|
82866
|
-
};
|
82867
|
-
SurveyProgressButtonsModel.prototype.getListElementCss = function (index) {
|
82868
|
-
if (index >= this.survey.visiblePages.length)
|
82869
|
-
return;
|
82870
|
-
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_0__["CssClassBuilder"]()
|
82871
|
-
.append(this.survey.css.progressButtonsListElementPassed, this.survey.visiblePages[index].passed)
|
82872
|
-
.append(this.survey.css.progressButtonsListElementCurrent, this.survey.currentPageNo === index)
|
82873
|
-
.append(this.survey.css.progressButtonsListElementNonClickable, !this.isListElementClickable(index))
|
82874
|
-
.toString();
|
82875
|
-
};
|
82876
|
-
SurveyProgressButtonsModel.prototype.getScrollButtonCss = function (hasScroller, isLeftScroll) {
|
82877
|
-
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_0__["CssClassBuilder"]()
|
82878
|
-
.append(this.survey.css.progressButtonsImageButtonLeft, isLeftScroll)
|
82879
|
-
.append(this.survey.css.progressButtonsImageButtonRight, !isLeftScroll)
|
82880
|
-
.append(this.survey.css.progressButtonsImageButtonHidden, !hasScroller)
|
82881
|
-
.toString();
|
82882
|
-
};
|
82883
|
-
SurveyProgressButtonsModel.prototype.clickListElement = function (index) {
|
82884
|
-
this.survey.tryNavigateToPage(this.survey.visiblePages[index]);
|
82885
|
-
};
|
82886
|
-
return SurveyProgressButtonsModel;
|
82887
|
-
}());
|
82888
|
-
|
82889
|
-
|
82890
|
-
|
82891
83608
|
/***/ }),
|
82892
83609
|
|
82893
83610
|
/***/ "./src/surveyStrings.ts":
|