survey-react 1.9.128 → 1.9.129
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 +154 -48
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +61 -14
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +61 -14
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +99 -6
- package/survey.react.js +371 -59
- 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.129
|
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
|
*/
|
@@ -2297,18 +2297,23 @@ var Base = /** @class */ (function () {
|
|
2297
2297
|
configurable: true
|
2298
2298
|
});
|
2299
2299
|
Base.prototype.doPropertyValueChangedCallback = function (name, oldValue, newValue, arrayChanges, target) {
|
2300
|
-
|
2300
|
+
var fireCallback = function (obj) {
|
2301
|
+
if (!!obj && !!obj.onPropertyValueChangedCallback) {
|
2302
|
+
obj.onPropertyValueChangedCallback(name, oldValue, newValue, target, arrayChanges);
|
2303
|
+
}
|
2304
|
+
};
|
2305
|
+
if (this.isInternal) {
|
2306
|
+
fireCallback(this);
|
2301
2307
|
return;
|
2308
|
+
}
|
2302
2309
|
if (!target)
|
2303
2310
|
target = this;
|
2304
2311
|
var notifier = this.getSurvey();
|
2305
2312
|
if (!notifier)
|
2306
2313
|
notifier = this;
|
2307
|
-
|
2308
|
-
|
2309
|
-
|
2310
|
-
if (notifier !== this && !!this.onPropertyValueChangedCallback) {
|
2311
|
-
this.onPropertyValueChangedCallback(name, oldValue, newValue, target, arrayChanges);
|
2314
|
+
fireCallback(notifier);
|
2315
|
+
if (notifier !== this) {
|
2316
|
+
fireCallback(this);
|
2312
2317
|
}
|
2313
2318
|
};
|
2314
2319
|
Base.prototype.addExpressionProperty = function (name, onExecute, canRun) {
|
@@ -4778,7 +4783,7 @@ var modernCss = {
|
|
4778
4783
|
cellText: "sv-matrix__text",
|
4779
4784
|
cellTextSelected: "sv-matrix__text--checked",
|
4780
4785
|
cellTextDisabled: "sv-matrix__text--disabled",
|
4781
|
-
cellResponsiveTitle: "sv-
|
4786
|
+
cellResponsiveTitle: "sv-matrix__cell-responsive-title",
|
4782
4787
|
itemSvgIconId: "#icon-modernradio",
|
4783
4788
|
},
|
4784
4789
|
matrixdropdown: {
|
@@ -4890,6 +4895,7 @@ var modernCss = {
|
|
4890
4895
|
window: {
|
4891
4896
|
root: "sv_window",
|
4892
4897
|
rootCollapsedMod: "sv_window--collapsed",
|
4898
|
+
rootFullScreenMode: "sv_window--full-screen",
|
4893
4899
|
rootContent: "sv_window_root-content",
|
4894
4900
|
body: "sv_window_content",
|
4895
4901
|
header: {
|
@@ -4900,7 +4906,8 @@ var modernCss = {
|
|
4900
4906
|
buttonExpanded: "",
|
4901
4907
|
buttonCollapsed: "",
|
4902
4908
|
collapseButton: "sv_window_button sv_window_button_collapse",
|
4903
|
-
closeButton: "sv_window_button sv_window_button_close"
|
4909
|
+
closeButton: "sv_window_button sv_window_button_close",
|
4910
|
+
fullScreenButton: "sv_window_button sv_window_button_full_screen"
|
4904
4911
|
}
|
4905
4912
|
},
|
4906
4913
|
variables: {
|
@@ -5122,7 +5129,7 @@ var defaultStandardCss = {
|
|
5122
5129
|
cellText: "sv_q_m_cell_text",
|
5123
5130
|
cellTextSelected: "sv_q_m_cell_selected",
|
5124
5131
|
cellLabel: "sv_q_m_cell_label",
|
5125
|
-
cellResponsiveTitle: "
|
5132
|
+
cellResponsiveTitle: "sv_q_m_cell_responsive_title"
|
5126
5133
|
},
|
5127
5134
|
matrixdropdown: {
|
5128
5135
|
root: "sv_q_matrix_dropdown",
|
@@ -5288,6 +5295,7 @@ var defaultStandardCss = {
|
|
5288
5295
|
window: {
|
5289
5296
|
root: "sv_window",
|
5290
5297
|
rootCollapsedMod: "sv_window--collapsed",
|
5298
|
+
rootFullScreenMode: "sv_window--full-screen",
|
5291
5299
|
rootContent: "sv_window_root-content",
|
5292
5300
|
body: "sv_window_content",
|
5293
5301
|
header: {
|
@@ -5298,7 +5306,8 @@ var defaultStandardCss = {
|
|
5298
5306
|
buttonExpanded: "",
|
5299
5307
|
buttonCollapsed: "",
|
5300
5308
|
collapseButton: "sv_window_button sv_window_button_collapse",
|
5301
|
-
closeButton: "sv_window_button sv_window_button_close"
|
5309
|
+
closeButton: "sv_window_button sv_window_button_close",
|
5310
|
+
fullScreenButton: "sv_window_button sv_window_button_full_screen"
|
5302
5311
|
}
|
5303
5312
|
},
|
5304
5313
|
variables: {
|
@@ -6010,6 +6019,7 @@ var defaultV2Css = {
|
|
6010
6019
|
window: {
|
6011
6020
|
root: "sv_window",
|
6012
6021
|
rootCollapsedMod: "sv_window--collapsed",
|
6022
|
+
rootFullScreenMode: "sv_window--full-screen",
|
6013
6023
|
rootContent: "sv_window_root-content",
|
6014
6024
|
body: "sv_window_content",
|
6015
6025
|
header: {
|
@@ -6020,7 +6030,8 @@ var defaultV2Css = {
|
|
6020
6030
|
buttonExpanded: "",
|
6021
6031
|
buttonCollapsed: "",
|
6022
6032
|
collapseButton: "sv_window_button sv_window_button_collapse",
|
6023
|
-
closeButton: "sv_window_button sv_window_button_close"
|
6033
|
+
closeButton: "sv_window_button sv_window_button_close",
|
6034
|
+
fullScreenButton: "sv_window_button sv_window_button_full_screen"
|
6024
6035
|
}
|
6025
6036
|
},
|
6026
6037
|
ranking: {
|
@@ -7872,6 +7883,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7872
7883
|
_this.qustionPropertyChangedHandler = function (sender, options) {
|
7873
7884
|
_this.onPropertyChangedHandler(sender, options);
|
7874
7885
|
};
|
7886
|
+
_this.htmlCleanerElement = document.createElement("div");
|
7875
7887
|
question.onPropertyChanged.add(_this.qustionPropertyChangedHandler);
|
7876
7888
|
_this.showInputFieldComponent = _this.question.showInputFieldComponent;
|
7877
7889
|
_this.listModel = _this.createListModel();
|
@@ -8007,7 +8019,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8007
8019
|
_this.question.value = item.id;
|
8008
8020
|
if (_this.question.searchEnabled)
|
8009
8021
|
_this.applyInputString(item);
|
8010
|
-
_this.
|
8022
|
+
_this.popupModel.isVisible = false;
|
8011
8023
|
};
|
8012
8024
|
}
|
8013
8025
|
var res = new _list__WEBPACK_IMPORTED_MODULE_3__["ListModel"](visibleItems, _onSelectionChanged, false, undefined, this.question.choicesLazyLoadEnabled ? this.listModelFilterStringChanged : undefined, this.listElementId);
|
@@ -8092,7 +8104,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8092
8104
|
var hasHtml = item === null || item === void 0 ? void 0 : item.locText.hasHtml;
|
8093
8105
|
if (hasHtml || this.question.inputFieldComponentName) {
|
8094
8106
|
this._markdownMode = true;
|
8095
|
-
this.inputString =
|
8107
|
+
this.inputString = this.cleanHtml(item === null || item === void 0 ? void 0 : item.locText.getHtmlValue());
|
8096
8108
|
this.hintString = "";
|
8097
8109
|
}
|
8098
8110
|
else {
|
@@ -8100,6 +8112,10 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8100
8112
|
this.hintString = item === null || item === void 0 ? void 0 : item.title;
|
8101
8113
|
}
|
8102
8114
|
};
|
8115
|
+
DropdownListModel.prototype.cleanHtml = function (html) {
|
8116
|
+
this.htmlCleanerElement.innerHTML = html;
|
8117
|
+
return this.htmlCleanerElement.textContent;
|
8118
|
+
};
|
8103
8119
|
DropdownListModel.prototype.fixInputCase = function () {
|
8104
8120
|
var hintStringMiddle = this.hintStringMiddle;
|
8105
8121
|
if (hintStringMiddle && this.inputString != hintStringMiddle)
|
@@ -9030,7 +9046,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
9030
9046
|
/*!*************************************!*\
|
9031
9047
|
!*** ./src/entries/chunks/model.ts ***!
|
9032
9048
|
\*************************************/
|
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 */
|
9049
|
+
/*! 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, chooseFiles, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank */
|
9034
9050
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9035
9051
|
|
9036
9052
|
"use strict";
|
@@ -9481,6 +9497,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
9481
9497
|
|
9482
9498
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_83__["createSvg"]; });
|
9483
9499
|
|
9500
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_83__["chooseFiles"]; });
|
9501
|
+
|
9484
9502
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_83__["sanitizeEditableContent"]; });
|
9485
9503
|
|
9486
9504
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../../utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
@@ -9507,8 +9525,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
9507
9525
|
//import "../../modern.scss";
|
9508
9526
|
var Version;
|
9509
9527
|
var ReleaseDate;
|
9510
|
-
Version = "" + "1.9.
|
9511
|
-
ReleaseDate = "" + "2024-
|
9528
|
+
Version = "" + "1.9.129";
|
9529
|
+
ReleaseDate = "" + "2024-02-06";
|
9512
9530
|
function checkLibraryVersion(ver, libraryName) {
|
9513
9531
|
if (Version != ver) {
|
9514
9532
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
@@ -9683,7 +9701,7 @@ function checkPrefix(prefix) {
|
|
9683
9701
|
/*!**************************************!*\
|
9684
9702
|
!*** ./src/entries/core-wo-model.ts ***!
|
9685
9703
|
\**************************************/
|
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 */
|
9704
|
+
/*! 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, chooseFiles, 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 */
|
9687
9705
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9688
9706
|
|
9689
9707
|
"use strict";
|
@@ -10057,6 +10075,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
10057
10075
|
|
10058
10076
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["createSvg"]; });
|
10059
10077
|
|
10078
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["chooseFiles"]; });
|
10079
|
+
|
10060
10080
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["sanitizeEditableContent"]; });
|
10061
10081
|
|
10062
10082
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CssClassBuilder", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["CssClassBuilder"]; });
|
@@ -10148,7 +10168,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
10148
10168
|
/*!*****************************!*\
|
10149
10169
|
!*** ./src/entries/core.ts ***!
|
10150
10170
|
\*****************************/
|
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 */
|
10171
|
+
/*! 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, chooseFiles, 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 */
|
10152
10172
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10153
10173
|
|
10154
10174
|
"use strict";
|
@@ -10522,6 +10542,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
10522
10542
|
|
10523
10543
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["createSvg"]; });
|
10524
10544
|
|
10545
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["chooseFiles"]; });
|
10546
|
+
|
10525
10547
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["sanitizeEditableContent"]; });
|
10526
10548
|
|
10527
10549
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CssClassBuilder", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["CssClassBuilder"]; });
|
@@ -11005,7 +11027,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
11005
11027
|
/*!******************************!*\
|
11006
11028
|
!*** ./src/entries/react.ts ***!
|
11007
11029
|
\******************************/
|
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 */
|
11030
|
+
/*! 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, chooseFiles, 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 */
|
11009
11031
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11010
11032
|
|
11011
11033
|
"use strict";
|
@@ -11379,6 +11401,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
11379
11401
|
|
11380
11402
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["createSvg"]; });
|
11381
11403
|
|
11404
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["chooseFiles"]; });
|
11405
|
+
|
11382
11406
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["sanitizeEditableContent"]; });
|
11383
11407
|
|
11384
11408
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CssClassBuilder", function() { return _core__WEBPACK_IMPORTED_MODULE_0__["CssClassBuilder"]; });
|
@@ -16495,6 +16519,21 @@ function propertyValue(params) {
|
|
16495
16519
|
return q ? q[params[1]] : undefined;
|
16496
16520
|
}
|
16497
16521
|
FunctionFactory.Instance.register("propertyValue", propertyValue);
|
16522
|
+
function substring_(params) {
|
16523
|
+
if (params.length < 2)
|
16524
|
+
return "";
|
16525
|
+
var s = params[0];
|
16526
|
+
if (!s || typeof s !== "string")
|
16527
|
+
return "";
|
16528
|
+
var start = params[1];
|
16529
|
+
if (!_helpers__WEBPACK_IMPORTED_MODULE_0__["Helpers"].isNumber(start))
|
16530
|
+
return "";
|
16531
|
+
var end = params.length > 2 ? params[2] : undefined;
|
16532
|
+
if (!_helpers__WEBPACK_IMPORTED_MODULE_0__["Helpers"].isNumber(end))
|
16533
|
+
return s.substring(start);
|
16534
|
+
return s.substring(start, end);
|
16535
|
+
}
|
16536
|
+
FunctionFactory.Instance.register("substring", substring_);
|
16498
16537
|
|
16499
16538
|
|
16500
16539
|
/***/ }),
|
@@ -16636,13 +16675,10 @@ var Cover = /** @class */ (function (_super) {
|
|
16636
16675
|
function Cover() {
|
16637
16676
|
var _this = _super.call(this) || this;
|
16638
16677
|
_this.cells = [];
|
16639
|
-
_this.renderBackgroundImage = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["wrapUrlForBackgroundImage"])(_this.backgroundImage);
|
16640
16678
|
["top", "middle", "bottom"].forEach(function (positionY) {
|
16641
16679
|
return ["left", "center", "right"].forEach(function (positionX) { return _this.cells.push(new CoverCell(_this, positionX, positionY)); });
|
16642
16680
|
});
|
16643
|
-
_this.
|
16644
|
-
_this.updateContentClasses();
|
16645
|
-
_this.updateBackgroundImageClasses();
|
16681
|
+
_this.init();
|
16646
16682
|
return _this;
|
16647
16683
|
}
|
16648
16684
|
Cover.prototype.calcBackgroundSize = function (backgroundImageFit) {
|
@@ -16658,6 +16694,9 @@ var Cover = /** @class */ (function (_super) {
|
|
16658
16694
|
this.headerClasses = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__["CssClassBuilder"]()
|
16659
16695
|
.append("sv-header")
|
16660
16696
|
.append("sv-header__without-background", (this.backgroundColor === "transparent") && !this.backgroundImage)
|
16697
|
+
.append("sv-header__background-color--none", this.backgroundColor === "transparent" && !this.titleColor && !this.descriptionColor)
|
16698
|
+
.append("sv-header__background-color--accent", !this.backgroundColor && !this.titleColor && !this.descriptionColor)
|
16699
|
+
.append("sv-header__background-color--custom", !!this.backgroundColor && this.backgroundColor !== "transparent" && !this.titleColor && !this.descriptionColor)
|
16661
16700
|
.append("sv-header__overlap", this.overlapEnabled)
|
16662
16701
|
.toString();
|
16663
16702
|
};
|
@@ -16681,7 +16720,16 @@ var Cover = /** @class */ (function (_super) {
|
|
16681
16720
|
_super.prototype.fromJSON.call(this, theme.header);
|
16682
16721
|
if (!!theme.cssVariables) {
|
16683
16722
|
this.backgroundColor = theme.cssVariables["--sjs-header-backcolor"];
|
16723
|
+
this.titleColor = theme.cssVariables["--sjs-font-headertitle-color"];
|
16724
|
+
this.descriptionColor = theme.cssVariables["--sjs-font-headerdescription-color"];
|
16684
16725
|
}
|
16726
|
+
this.init();
|
16727
|
+
};
|
16728
|
+
Cover.prototype.init = function () {
|
16729
|
+
this.renderBackgroundImage = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["wrapUrlForBackgroundImage"])(this.backgroundImage);
|
16730
|
+
this.updateHeaderClasses();
|
16731
|
+
this.updateContentClasses();
|
16732
|
+
this.updateBackgroundImageClasses();
|
16685
16733
|
};
|
16686
16734
|
Cover.prototype.getType = function () {
|
16687
16735
|
return "cover";
|
@@ -16804,6 +16852,12 @@ var Cover = /** @class */ (function (_super) {
|
|
16804
16852
|
__decorate([
|
16805
16853
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
16806
16854
|
], Cover.prototype, "backgroundColor", void 0);
|
16855
|
+
__decorate([
|
16856
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
16857
|
+
], Cover.prototype, "titleColor", void 0);
|
16858
|
+
__decorate([
|
16859
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
16860
|
+
], Cover.prototype, "descriptionColor", void 0);
|
16807
16861
|
__decorate([
|
16808
16862
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({
|
16809
16863
|
onSet: function (newVal, target) {
|
@@ -17392,12 +17446,14 @@ var map = {
|
|
17392
17446
|
"./V2Check.svg": "./src/images/V2Check.svg",
|
17393
17447
|
"./V2Check_24x24.svg": "./src/images/V2Check_24x24.svg",
|
17394
17448
|
"./V2DragElement_16x16.svg": "./src/images/V2DragElement_16x16.svg",
|
17449
|
+
"./back-to-panel_16x16.svg": "./src/images/back-to-panel_16x16.svg",
|
17395
17450
|
"./chevron.svg": "./src/images/chevron.svg",
|
17396
17451
|
"./clear_16x16.svg": "./src/images/clear_16x16.svg",
|
17397
17452
|
"./close_16x16.svg": "./src/images/close_16x16.svg",
|
17398
17453
|
"./collapseDetail.svg": "./src/images/collapseDetail.svg",
|
17399
17454
|
"./drag-n-drop.svg": "./src/images/drag-n-drop.svg",
|
17400
17455
|
"./expandDetail.svg": "./src/images/expandDetail.svg",
|
17456
|
+
"./full-screen_16x16.svg": "./src/images/full-screen_16x16.svg",
|
17401
17457
|
"./loading.svg": "./src/images/loading.svg",
|
17402
17458
|
"./minimize_16x16.svg": "./src/images/minimize_16x16.svg",
|
17403
17459
|
"./no-image.svg": "./src/images/no-image.svg",
|
@@ -17774,6 +17830,17 @@ module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\
|
|
17774
17830
|
|
17775
17831
|
/***/ }),
|
17776
17832
|
|
17833
|
+
/***/ "./src/images/back-to-panel_16x16.svg":
|
17834
|
+
/*!********************************************!*\
|
17835
|
+
!*** ./src/images/back-to-panel_16x16.svg ***!
|
17836
|
+
\********************************************/
|
17837
|
+
/*! no static exports found */
|
17838
|
+
/***/ (function(module, exports) {
|
17839
|
+
|
17840
|
+
module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.0001 6C15.0001 6.55 14.5501 7 14.0001 7H10.0001C9.45006 7 9.00006 6.55 9.00006 6V2C9.00006 1.45 9.45006 1 10.0001 1C10.5501 1 11.0001 1.45 11.0001 2V3.59L13.2901 1.29C13.4901 1.09 13.7401 1 14.0001 1C14.2601 1 14.5101 1.1 14.7101 1.29C15.1001 1.68 15.1001 2.31 14.7101 2.7L12.4201 4.99H14.0101C14.5601 4.99 15.0101 5.44 15.0101 5.99L15.0001 6ZM6.00006 9H2.00006C1.45006 9 1.00006 9.45 1.00006 10C1.00006 10.55 1.45006 11 2.00006 11H3.59006L1.29006 13.29C0.900059 13.68 0.900059 14.31 1.29006 14.7C1.68006 15.09 2.31006 15.09 2.70006 14.7L4.99006 12.41V14C4.99006 14.55 5.44006 15 5.99006 15C6.54006 15 6.99006 14.55 6.99006 14V10C6.99006 9.45 6.54006 9 5.99006 9H6.00006Z\"></path></svg>"
|
17841
|
+
|
17842
|
+
/***/ }),
|
17843
|
+
|
17777
17844
|
/***/ "./src/images/chevron.svg":
|
17778
17845
|
/*!********************************!*\
|
17779
17846
|
!*** ./src/images/chevron.svg ***!
|
@@ -17840,6 +17907,17 @@ module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\
|
|
17840
17907
|
|
17841
17908
|
/***/ }),
|
17842
17909
|
|
17910
|
+
/***/ "./src/images/full-screen_16x16.svg":
|
17911
|
+
/*!******************************************!*\
|
17912
|
+
!*** ./src/images/full-screen_16x16.svg ***!
|
17913
|
+
\******************************************/
|
17914
|
+
/*! no static exports found */
|
17915
|
+
/***/ (function(module, exports) {
|
17916
|
+
|
17917
|
+
module.exports = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6.71 10.71L4.42 13H6.01C6.56 13 7.01 13.45 7.01 14C7.01 14.55 6.56 15 6.01 15H2C1.45 15 1 14.55 1 14V10C1 9.45 1.45 9 2 9C2.55 9 3 9.45 3 10V11.59L5.29 9.3C5.68 8.91 6.31 8.91 6.7 9.3C7.09 9.69 7.09 10.32 6.7 10.71H6.71ZM14 1H10C9.45 1 9 1.45 9 2C9 2.55 9.45 3 10 3H11.59L9.3 5.29C8.91 5.68 8.91 6.31 9.3 6.7C9.5 6.9 9.75 6.99 10.01 6.99C10.27 6.99 10.52 6.89 10.72 6.7L13.01 4.41V6C13.01 6.55 13.46 7 14.01 7C14.56 7 15.01 6.55 15.01 6V2C15.01 1.45 14.56 1 14.01 1H14Z\"></path></svg>"
|
17918
|
+
|
17919
|
+
/***/ }),
|
17920
|
+
|
17843
17921
|
/***/ "./src/images/loading.svg":
|
17844
17922
|
/*!********************************!*\
|
17845
17923
|
!*** ./src/images/loading.svg ***!
|
@@ -19093,22 +19171,32 @@ var JsonObjectProperty = /** @class */ (function () {
|
|
19093
19171
|
enumerable: false,
|
19094
19172
|
configurable: true
|
19095
19173
|
});
|
19174
|
+
JsonObjectProperty.prototype.isEnable = function (obj) {
|
19175
|
+
if (this.readOnly)
|
19176
|
+
return false;
|
19177
|
+
if (!obj || !this.enableIf)
|
19178
|
+
return true;
|
19179
|
+
return this.enableIf(this.getOriginalObj(obj));
|
19180
|
+
};
|
19096
19181
|
JsonObjectProperty.prototype.isVisible = function (layout, obj) {
|
19097
19182
|
if (obj === void 0) { obj = null; }
|
19098
19183
|
var isLayout = !this.layout || this.layout == layout;
|
19099
19184
|
if (!this.visible || !isLayout)
|
19100
19185
|
return false;
|
19101
19186
|
if (!!this.visibleIf && !!obj) {
|
19102
|
-
|
19103
|
-
var orjObj = obj.getOriginalObj();
|
19104
|
-
if (orjObj && Serializer.findProperty(orjObj.getType(), this.name)) {
|
19105
|
-
obj = orjObj;
|
19106
|
-
}
|
19107
|
-
}
|
19108
|
-
return this.visibleIf(obj);
|
19187
|
+
return this.visibleIf(this.getOriginalObj(obj));
|
19109
19188
|
}
|
19110
19189
|
return true;
|
19111
19190
|
};
|
19191
|
+
JsonObjectProperty.prototype.getOriginalObj = function (obj) {
|
19192
|
+
if (obj && obj.getOriginalObj) {
|
19193
|
+
var orjObj = obj.getOriginalObj();
|
19194
|
+
if (orjObj && Serializer.findProperty(orjObj.getType(), this.name)) {
|
19195
|
+
return orjObj;
|
19196
|
+
}
|
19197
|
+
}
|
19198
|
+
return obj;
|
19199
|
+
};
|
19112
19200
|
Object.defineProperty(JsonObjectProperty.prototype, "visible", {
|
19113
19201
|
get: function () {
|
19114
19202
|
return this.visibleValue != null ? this.visibleValue : true;
|
@@ -19232,6 +19320,7 @@ var JsonObjectProperty = /** @class */ (function () {
|
|
19232
19320
|
"showMode",
|
19233
19321
|
"dependedProperties",
|
19234
19322
|
"visibleIf",
|
19323
|
+
"enableIf",
|
19235
19324
|
"onExecuteExpression",
|
19236
19325
|
"onPropertyEditorUpdate",
|
19237
19326
|
"maxLength",
|
@@ -19550,7 +19639,7 @@ var JsonMetadataClass = /** @class */ (function () {
|
|
19550
19639
|
if (!_helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isValueEmpty(propInfo.maxLength)) {
|
19551
19640
|
prop.maxLength = propInfo.maxLength;
|
19552
19641
|
}
|
19553
|
-
if (
|
19642
|
+
if (propInfo.displayName !== undefined) {
|
19554
19643
|
prop.displayName = propInfo.displayName;
|
19555
19644
|
}
|
19556
19645
|
if (!_helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isValueEmpty(propInfo.category)) {
|
@@ -19601,6 +19690,9 @@ var JsonMetadataClass = /** @class */ (function () {
|
|
19601
19690
|
if (!!propInfo.visibleIf) {
|
19602
19691
|
prop.visibleIf = propInfo.visibleIf;
|
19603
19692
|
}
|
19693
|
+
if (!!propInfo.enableIf) {
|
19694
|
+
prop.enableIf = propInfo.enableIf;
|
19695
|
+
}
|
19604
19696
|
if (!!propInfo.onExecuteExpression) {
|
19605
19697
|
prop.onExecuteExpression = propInfo.onExecuteExpression;
|
19606
19698
|
}
|
@@ -20527,9 +20619,7 @@ var JsonObject = /** @class */ (function () {
|
|
20527
20619
|
JsonObject.prototype.removePosOnValueToJson = function (property, value) {
|
20528
20620
|
if (!property.isCustom || !value)
|
20529
20621
|
return value;
|
20530
|
-
|
20531
|
-
delete value[JsonObject.positionPropertyName];
|
20532
|
-
}
|
20622
|
+
this.removePosFromObj(value);
|
20533
20623
|
return value;
|
20534
20624
|
};
|
20535
20625
|
JsonObject.prototype.removePos = function (property, value) {
|
@@ -20545,9 +20635,14 @@ var JsonObject = /** @class */ (function () {
|
|
20545
20635
|
this.removePosFromObj(obj[i]);
|
20546
20636
|
}
|
20547
20637
|
}
|
20638
|
+
if (typeof obj !== "object")
|
20639
|
+
return;
|
20548
20640
|
if (!!obj[JsonObject.positionPropertyName]) {
|
20549
20641
|
delete obj[JsonObject.positionPropertyName];
|
20550
20642
|
}
|
20643
|
+
for (var key in obj) {
|
20644
|
+
this.removePosFromObj(obj[key]);
|
20645
|
+
}
|
20551
20646
|
};
|
20552
20647
|
JsonObject.prototype.isValueArray = function (value) {
|
20553
20648
|
return value && Array.isArray(value);
|
@@ -27443,7 +27538,7 @@ var slovakSurveyStrings = {
|
|
27443
27538
|
cancel: "Zrušiť"
|
27444
27539
|
};
|
27445
27540
|
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].locales["sk"] = slovakSurveyStrings;
|
27446
|
-
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["sk"] = "
|
27541
|
+
survey_core__WEBPACK_IMPORTED_MODULE_0__["surveyLocalization"].localeNames["sk"] = "slovak";
|
27447
27542
|
// The following strings have been translated by a machine translation service
|
27448
27543
|
// Remove those strings that you have corrected manually
|
27449
27544
|
// indexText: "{0} of {1}" => "{0} {1}"
|
@@ -34151,7 +34246,7 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
34151
34246
|
else {
|
34152
34247
|
_this.surveyValue = _this.createSurvey(jsonObj);
|
34153
34248
|
}
|
34154
|
-
|
34249
|
+
_this.surveyValue.fitToContainer = true;
|
34155
34250
|
if ("undefined" !== typeof document) {
|
34156
34251
|
_this.windowElement = document.createElement("div");
|
34157
34252
|
}
|
@@ -34200,6 +34295,20 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
34200
34295
|
enumerable: false,
|
34201
34296
|
configurable: true
|
34202
34297
|
});
|
34298
|
+
Object.defineProperty(PopupSurveyModel.prototype, "isFullScreen", {
|
34299
|
+
get: function () {
|
34300
|
+
return this.getPropertyValue("isFullScreen", false);
|
34301
|
+
},
|
34302
|
+
set: function (val) {
|
34303
|
+
if (!this.isExpanded && !!val) {
|
34304
|
+
this.isExpanded = true;
|
34305
|
+
}
|
34306
|
+
this.setPropertyValue("isFullScreen", val);
|
34307
|
+
this.setCssRoot();
|
34308
|
+
},
|
34309
|
+
enumerable: false,
|
34310
|
+
configurable: true
|
34311
|
+
});
|
34203
34312
|
/**
|
34204
34313
|
* Shows the pop-up survey. The survey may appear [expanded or collapsed](#isExpanded).
|
34205
34314
|
*
|
@@ -34220,6 +34329,9 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
34220
34329
|
PopupSurveyModel.prototype.hide = function () {
|
34221
34330
|
this.isShowing = false;
|
34222
34331
|
};
|
34332
|
+
PopupSurveyModel.prototype.toggleFullScreen = function () {
|
34333
|
+
this.isFullScreen = !this.isFullScreen;
|
34334
|
+
};
|
34223
34335
|
Object.defineProperty(PopupSurveyModel.prototype, "isExpanded", {
|
34224
34336
|
/**
|
34225
34337
|
* Indicates whether the pop-up window is expanded or collapsed.
|
@@ -34230,6 +34342,9 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
34230
34342
|
return this.getPropertyValue("isExpanded", false);
|
34231
34343
|
},
|
34232
34344
|
set: function (val) {
|
34345
|
+
if (!!this.isFullScreen && !val) {
|
34346
|
+
this.isFullScreen = false;
|
34347
|
+
}
|
34233
34348
|
this.setPropertyValue("isExpanded", val);
|
34234
34349
|
},
|
34235
34350
|
enumerable: false,
|
@@ -34320,6 +34435,22 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
34320
34435
|
enumerable: false,
|
34321
34436
|
configurable: true
|
34322
34437
|
});
|
34438
|
+
Object.defineProperty(PopupSurveyModel.prototype, "allowFullScreen", {
|
34439
|
+
/**
|
34440
|
+
* Specifies whether to display a button that allow showing pop-up in full-screen mode.
|
34441
|
+
*
|
34442
|
+
* Default value: `false`
|
34443
|
+
*
|
34444
|
+
*/
|
34445
|
+
get: function () {
|
34446
|
+
return this.getPropertyValue("allowFullScreen", false);
|
34447
|
+
},
|
34448
|
+
set: function (val) {
|
34449
|
+
this.setPropertyValue("allowFullScreen", val);
|
34450
|
+
},
|
34451
|
+
enumerable: false,
|
34452
|
+
configurable: true
|
34453
|
+
});
|
34323
34454
|
Object.defineProperty(PopupSurveyModel.prototype, "css", {
|
34324
34455
|
get: function () {
|
34325
34456
|
return this.survey.css;
|
@@ -34400,6 +34531,13 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
34400
34531
|
enumerable: false,
|
34401
34532
|
configurable: true
|
34402
34533
|
});
|
34534
|
+
Object.defineProperty(PopupSurveyModel.prototype, "cssHeaderFullScreenButton", {
|
34535
|
+
get: function () {
|
34536
|
+
return this.getPropertyValue("cssHeaderFullScreenButton", "");
|
34537
|
+
},
|
34538
|
+
enumerable: false,
|
34539
|
+
configurable: true
|
34540
|
+
});
|
34403
34541
|
Object.defineProperty(PopupSurveyModel.prototype, "renderedWidth", {
|
34404
34542
|
get: function () {
|
34405
34543
|
var width = this.getPropertyValue("width", "60%");
|
@@ -34414,7 +34552,7 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
34414
34552
|
if (!this.css || !this.css.window)
|
34415
34553
|
return;
|
34416
34554
|
var cssWindow = this.css.window;
|
34417
|
-
this.
|
34555
|
+
this.setCssRoot();
|
34418
34556
|
this.setPropertyValue("cssRootCollapsedMod", cssWindow.rootCollapsedMod);
|
34419
34557
|
this.setPropertyValue("cssRootContent", cssWindow.rootContent);
|
34420
34558
|
this.setPropertyValue("cssBody", cssWindow.body);
|
@@ -34426,8 +34564,18 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
34426
34564
|
this.setPropertyValue("cssHeaderButtonsContainer", cssHeader.buttonsContainer);
|
34427
34565
|
this.setPropertyValue("cssHeaderCollapseButton", cssHeader.collapseButton);
|
34428
34566
|
this.setPropertyValue("cssHeaderCloseButton", cssHeader.closeButton);
|
34567
|
+
this.setPropertyValue("cssHeaderFullScreenButton", cssHeader.fullScreenButton);
|
34429
34568
|
this.updateCssButton();
|
34430
34569
|
};
|
34570
|
+
PopupSurveyModel.prototype.setCssRoot = function () {
|
34571
|
+
var cssWindow = this.css.window;
|
34572
|
+
if (this.isFullScreen) {
|
34573
|
+
this.setPropertyValue("cssRoot", cssWindow.root + " " + cssWindow.rootFullScreenMode);
|
34574
|
+
}
|
34575
|
+
else {
|
34576
|
+
this.setPropertyValue("cssRoot", cssWindow.root);
|
34577
|
+
}
|
34578
|
+
};
|
34431
34579
|
PopupSurveyModel.prototype.updateCssButton = function () {
|
34432
34580
|
var cssHeader = !!this.css.window ? this.css.window.header : null;
|
34433
34581
|
if (!cssHeader)
|
@@ -43031,8 +43179,8 @@ var ComponentQuestionJSON = /** @class */ (function () {
|
|
43031
43179
|
});
|
43032
43180
|
ComponentQuestionJSON.prototype.getDynamicProperties = function () {
|
43033
43181
|
if (!Array.isArray(this.dynamicProperties)) {
|
43182
|
+
this.dynamicProperties = this.calcDynamicProperties();
|
43034
43183
|
}
|
43035
|
-
this.dynamicProperties = this.calcDynamicProperties();
|
43036
43184
|
return this.dynamicProperties;
|
43037
43185
|
};
|
43038
43186
|
ComponentQuestionJSON.prototype.calcDynamicProperties = function () {
|
@@ -43409,8 +43557,25 @@ var QuestionCustomModel = /** @class */ (function (_super) {
|
|
43409
43557
|
return this.questionWrapper;
|
43410
43558
|
};
|
43411
43559
|
QuestionCustomModel.prototype.createWrapper = function () {
|
43560
|
+
var _this = this;
|
43412
43561
|
this.questionWrapper = this.createQuestion();
|
43413
43562
|
this.createDynamicProperties(this.questionWrapper);
|
43563
|
+
if (this.getDynamicProperties().length > 0) {
|
43564
|
+
this.questionWrapper.onPropertyValueChangedCallback = function (name, oldValue, newValue, sender, arrayChanges) {
|
43565
|
+
var prop = _this.getDynamicProperty(name);
|
43566
|
+
if (prop) {
|
43567
|
+
_this.propertyValueChanged(name, oldValue, newValue, arrayChanges);
|
43568
|
+
}
|
43569
|
+
};
|
43570
|
+
}
|
43571
|
+
};
|
43572
|
+
QuestionCustomModel.prototype.getDynamicProperty = function (name) {
|
43573
|
+
var props = this.getDynamicProperties();
|
43574
|
+
for (var i = 0; i < props.length; i++) {
|
43575
|
+
if (props[i].name === name)
|
43576
|
+
return props[i];
|
43577
|
+
}
|
43578
|
+
return null;
|
43414
43579
|
};
|
43415
43580
|
QuestionCustomModel.prototype.getElement = function () {
|
43416
43581
|
return this.contentQuestion;
|
@@ -43820,6 +43985,13 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
|
|
43820
43985
|
_super.prototype.setValue.call(this, name, newValue, locNotification, allowNotifyValueChanged);
|
43821
43986
|
this.settingNewValue = false;
|
43822
43987
|
};
|
43988
|
+
QuestionCompositeModel.prototype.getFilteredValues = function () {
|
43989
|
+
var values = !!this.data ? this.data.getFilteredValues() : {};
|
43990
|
+
if (!!this.contentPanel) {
|
43991
|
+
values[QuestionCompositeModel.ItemVariableName] = this.contentPanel.getValue();
|
43992
|
+
}
|
43993
|
+
return values;
|
43994
|
+
};
|
43823
43995
|
QuestionCompositeModel.prototype.updateValueCoreWithPanelValue = function () {
|
43824
43996
|
var panelValue = this.getContentPanelValue();
|
43825
43997
|
if (this.isTwoValueEquals(this.getValueCore(), panelValue))
|
@@ -45234,7 +45406,7 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
45234
45406
|
};
|
45235
45407
|
_this.doClean = function () {
|
45236
45408
|
if (_this.needConfirmRemoveFile) {
|
45237
|
-
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["confirmActionAsync"])(_this.confirmRemoveAllMessage, function () { _this.clearFilesCore(); }, undefined, _this.getLocale());
|
45409
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["confirmActionAsync"])(_this.confirmRemoveAllMessage, function () { _this.clearFilesCore(); }, undefined, _this.getLocale(), _this.survey.rootElement);
|
45238
45410
|
return;
|
45239
45411
|
}
|
45240
45412
|
_this.clearFilesCore();
|
@@ -45588,6 +45760,18 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
45588
45760
|
enumerable: false,
|
45589
45761
|
configurable: true
|
45590
45762
|
});
|
45763
|
+
QuestionFileModel.prototype.chooseFile = function () {
|
45764
|
+
var _this = this;
|
45765
|
+
var inputElement = document.getElementById(this.inputId);
|
45766
|
+
if (inputElement) {
|
45767
|
+
if (this.survey) {
|
45768
|
+
this.survey.chooseFiles(inputElement, function (files) { return _this.loadFiles(files); }, { element: this });
|
45769
|
+
}
|
45770
|
+
else {
|
45771
|
+
inputElement.click();
|
45772
|
+
}
|
45773
|
+
}
|
45774
|
+
};
|
45591
45775
|
Object.defineProperty(QuestionFileModel.prototype, "needConfirmRemoveFile", {
|
45592
45776
|
/**
|
45593
45777
|
* Specifies whether users should confirm file deletion.
|
@@ -46124,7 +46308,7 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
46124
46308
|
QuestionFileModel.prototype.doRemoveFile = function (data) {
|
46125
46309
|
var _this = this;
|
46126
46310
|
if (this.needConfirmRemoveFile) {
|
46127
|
-
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["confirmActionAsync"])(this.getConfirmRemoveMessage(data.name), function () { _this.removeFileCore(data); }, undefined, this.getLocale());
|
46311
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["confirmActionAsync"])(this.getConfirmRemoveMessage(data.name), function () { _this.removeFileCore(data); }, undefined, this.getLocale(), this.survey.rootElement);
|
46128
46312
|
return;
|
46129
46313
|
}
|
46130
46314
|
this.removeFileCore(data);
|
@@ -46149,9 +46333,12 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
46149
46333
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: 0 })
|
46150
46334
|
], QuestionFileModel.prototype, "indexToShow", void 0);
|
46151
46335
|
__decorate([
|
46152
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({
|
46336
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({
|
46337
|
+
defaultValue: 1,
|
46338
|
+
onSet: function (_, target) {
|
46153
46339
|
target.updateFileNavigator();
|
46154
|
-
}
|
46340
|
+
}
|
46341
|
+
})
|
46155
46342
|
], QuestionFileModel.prototype, "pageSize", void 0);
|
46156
46343
|
__decorate([
|
46157
46344
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: false })
|
@@ -46160,11 +46347,13 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
46160
46347
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
46161
46348
|
], QuestionFileModel.prototype, "allowCameraAccess", void 0);
|
46162
46349
|
__decorate([
|
46163
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({
|
46350
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({
|
46351
|
+
onSet: function (val, obj) {
|
46164
46352
|
if (!obj.isLoadingFromJson) {
|
46165
46353
|
obj.updateCurrentMode();
|
46166
46354
|
}
|
46167
|
-
}
|
46355
|
+
}
|
46356
|
+
})
|
46168
46357
|
], QuestionFileModel.prototype, "sourceType", void 0);
|
46169
46358
|
__decorate([
|
46170
46359
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
@@ -48576,6 +48765,9 @@ var MatrixDropdownCell = /** @class */ (function () {
|
|
48576
48765
|
enumerable: false,
|
48577
48766
|
configurable: true
|
48578
48767
|
});
|
48768
|
+
MatrixDropdownCell.prototype.getQuestionWrapperClassName = function (className) {
|
48769
|
+
return className;
|
48770
|
+
};
|
48579
48771
|
MatrixDropdownCell.prototype.runCondition = function (values, properties) {
|
48580
48772
|
this.question.runCondition(values, properties);
|
48581
48773
|
};
|
@@ -48615,6 +48807,22 @@ var MatrixDropdownTotalCell = /** @class */ (function (_super) {
|
|
48615
48807
|
this.question.unlocCalculation();
|
48616
48808
|
this.question.runIfReadOnly = true;
|
48617
48809
|
};
|
48810
|
+
MatrixDropdownTotalCell.prototype.getQuestionWrapperClassName = function (className) {
|
48811
|
+
var result = _super.prototype.getQuestionWrapperClassName.call(this, className);
|
48812
|
+
if (!result) {
|
48813
|
+
return result;
|
48814
|
+
}
|
48815
|
+
if (this.question.expression && this.question.expression != "''") {
|
48816
|
+
result += " " + className + "--expression";
|
48817
|
+
}
|
48818
|
+
var alignment = this.column.totalAlignment;
|
48819
|
+
if (alignment === "auto") {
|
48820
|
+
if (this.column.cellType === "dropdown") {
|
48821
|
+
alignment = "left";
|
48822
|
+
}
|
48823
|
+
}
|
48824
|
+
return result + " " + className + "--" + alignment;
|
48825
|
+
};
|
48618
48826
|
MatrixDropdownTotalCell.prototype.getTotalExpression = function () {
|
48619
48827
|
if (!!this.column.totalExpression)
|
48620
48828
|
return this.column.totalExpression;
|
@@ -51056,9 +51264,11 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("matrixdropdownb
|
|
51056
51264
|
default: "none",
|
51057
51265
|
},
|
51058
51266
|
{ name: "cellErrorLocation", default: "default", choices: ["default", "top", "bottom"] },
|
51059
|
-
{
|
51267
|
+
{
|
51268
|
+
name: "detailErrorLocation", default: "default", choices: ["default", "top", "bottom"],
|
51269
|
+
visibleIf: function (obj) { return !!obj && obj.detailPanelMode != "none"; }
|
51060
51270
|
},
|
51061
|
-
"horizontalScroll:boolean",
|
51271
|
+
{ name: "horizontalScroll:boolean", visible: false, },
|
51062
51272
|
{
|
51063
51273
|
name: "choices:itemvalue[]", uniqueProperty: "value",
|
51064
51274
|
},
|
@@ -51855,6 +52065,32 @@ var MatrixDropdownColumn = /** @class */ (function (_super) {
|
|
51855
52065
|
enumerable: false,
|
51856
52066
|
configurable: true
|
51857
52067
|
});
|
52068
|
+
Object.defineProperty(MatrixDropdownColumn.prototype, "totalAlignment", {
|
52069
|
+
/**
|
52070
|
+
* An alignment for calculated total values.
|
52071
|
+
*
|
52072
|
+
* Possible values:
|
52073
|
+
*
|
52074
|
+
* - `"left"`
|
52075
|
+
* - `"center"`
|
52076
|
+
* - `"right"`
|
52077
|
+
* - `"auto"` (default) - Applies one of the values above based on the column's [cell type](#cellType).
|
52078
|
+
*
|
52079
|
+
* [View Demo](https://surveyjs.io/form-library/examples/aggregate-data-within-form/ (linkStyle))
|
52080
|
+
* @see totalType
|
52081
|
+
* @see totalFormat
|
52082
|
+
* @see totalCurrency
|
52083
|
+
* @see totalDisplayStyle
|
52084
|
+
*/
|
52085
|
+
get: function () {
|
52086
|
+
return this.getPropertyValue("totalAlignment");
|
52087
|
+
},
|
52088
|
+
set: function (val) {
|
52089
|
+
this.setPropertyValue("totalAlignment", val);
|
52090
|
+
},
|
52091
|
+
enumerable: false,
|
52092
|
+
configurable: true
|
52093
|
+
});
|
51858
52094
|
Object.defineProperty(MatrixDropdownColumn.prototype, "totalCurrency", {
|
51859
52095
|
/**
|
51860
52096
|
* Specifies a currency used to display calculated total values. Applies only if [`totalDisplayStyle`](#totalDisplayStyle) is set to `"currency"`.
|
@@ -52173,6 +52409,11 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("matrixdropdownc
|
|
52173
52409
|
default: "none",
|
52174
52410
|
choices: ["none", "decimal", "currency", "percent"],
|
52175
52411
|
},
|
52412
|
+
{
|
52413
|
+
name: "totalAlignment",
|
52414
|
+
default: "auto",
|
52415
|
+
choices: ["auto", "left", "center", "right"],
|
52416
|
+
},
|
52176
52417
|
{
|
52177
52418
|
name: "totalCurrency",
|
52178
52419
|
choices: function () {
|
@@ -52363,6 +52604,13 @@ var QuestionMatrixDropdownRenderedCell = /** @class */ (function () {
|
|
52363
52604
|
enumerable: false,
|
52364
52605
|
configurable: true
|
52365
52606
|
});
|
52607
|
+
Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype, "cellQuestionWrapperClassName", {
|
52608
|
+
get: function () {
|
52609
|
+
return this.cell.getQuestionWrapperClassName(this.matrix.cssClasses.cellQuestionWrapper);
|
52610
|
+
},
|
52611
|
+
enumerable: false,
|
52612
|
+
configurable: true
|
52613
|
+
});
|
52366
52614
|
Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype, "headers", {
|
52367
52615
|
get: function () {
|
52368
52616
|
if (this.cell && this.cell.column) {
|
@@ -54045,7 +54293,7 @@ var QuestionMatrixDynamicModel = /** @class */ (function (_super) {
|
|
54045
54293
|
confirmDelete = this.isRequireConfirmOnRowDelete(index);
|
54046
54294
|
}
|
54047
54295
|
if (confirmDelete) {
|
54048
|
-
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_5__["confirmActionAsync"])(this.confirmDeleteText, function () { _this.removeRowAsync(index, row); }, undefined, this.getLocale());
|
54296
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_5__["confirmActionAsync"])(this.confirmDeleteText, function () { _this.removeRowAsync(index, row); }, undefined, this.getLocale(), this.survey.rootElement);
|
54049
54297
|
return;
|
54050
54298
|
}
|
54051
54299
|
this.removeRowAsync(index, row);
|
@@ -57225,7 +57473,7 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
|
|
57225
57473
|
if (!this.canRemovePanel)
|
57226
57474
|
return;
|
57227
57475
|
if (this.isRequireConfirmOnDelete(value)) {
|
57228
|
-
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_9__["confirmActionAsync"])(this.confirmDeleteText, function () { _this.removePanel(value); }, undefined, this.getLocale());
|
57476
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_9__["confirmActionAsync"])(this.confirmDeleteText, function () { _this.removePanel(value); }, undefined, this.getLocale(), this.survey.rootElement);
|
57229
57477
|
}
|
57230
57478
|
else {
|
57231
57479
|
this.removePanel(value);
|
@@ -63273,7 +63521,8 @@ var SurveyFileChooseButton = /** @class */ (function (_super) {
|
|
63273
63521
|
configurable: true
|
63274
63522
|
});
|
63275
63523
|
SurveyFileChooseButton.prototype.render = function () {
|
63276
|
-
|
63524
|
+
var _this = this;
|
63525
|
+
return Object(_reactSurvey__WEBPACK_IMPORTED_MODULE_1__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("label", { tabIndex: 0, className: this.question.getChooseFileCss(), htmlFor: this.question.inputId, "aria-label": this.question.chooseButtonText, onClick: function () { return _this.question.chooseFile(); } },
|
63277
63526
|
(!!this.question.cssClasses.chooseFileIconId) ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { title: this.question.chooseButtonText, iconName: this.question.cssClasses.chooseFileIconId, size: "auto" }) : null,
|
63278
63527
|
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", null, this.question.chooseButtonText)));
|
63279
63528
|
};
|
@@ -63486,7 +63735,7 @@ var Header = /** @class */ (function (_super) {
|
|
63486
63735
|
};
|
63487
63736
|
Header.prototype.renderElement = function () {
|
63488
63737
|
this.model.survey = this.props.survey;
|
63489
|
-
if (!(this.props.survey.headerView === "advanced"
|
63738
|
+
if (!(this.props.survey.headerView === "advanced")) {
|
63490
63739
|
return null;
|
63491
63740
|
}
|
63492
63741
|
var headerContent = null;
|
@@ -67440,6 +67689,7 @@ var PopupSurvey = /** @class */ (function (_super) {
|
|
67440
67689
|
var titleCollapsed = null;
|
67441
67690
|
var expandCollapseIcon;
|
67442
67691
|
var closeButton = null;
|
67692
|
+
var allowFullScreenButon = null;
|
67443
67693
|
if (popup.isCollapsed) {
|
67444
67694
|
headerCss += " " + popup.cssRootCollapsedMod;
|
67445
67695
|
titleCollapsed = this.renderTitleCollapsed(popup);
|
@@ -67451,9 +67701,13 @@ var PopupSurvey = /** @class */ (function (_super) {
|
|
67451
67701
|
if (popup.allowClose) {
|
67452
67702
|
closeButton = this.renderCloseButton(this.popup);
|
67453
67703
|
}
|
67704
|
+
if (popup.allowFullScreen) {
|
67705
|
+
allowFullScreenButon = this.renderAllowFullScreenButon(this.popup);
|
67706
|
+
}
|
67454
67707
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: popup.cssHeaderRoot },
|
67455
67708
|
titleCollapsed,
|
67456
67709
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: popup.cssHeaderButtonsContainer },
|
67710
|
+
allowFullScreenButon,
|
67457
67711
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: popup.cssHeaderCollapseButton, onClick: this.handleOnExpanded }, expandCollapseIcon),
|
67458
67712
|
closeButton)));
|
67459
67713
|
};
|
@@ -67472,6 +67726,16 @@ var PopupSurvey = /** @class */ (function (_super) {
|
|
67472
67726
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: popup.cssHeaderCloseButton, onClick: function () { popup.hide(); } },
|
67473
67727
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { iconName: "icon-close_16x16", size: 16 })));
|
67474
67728
|
};
|
67729
|
+
PopupSurvey.prototype.renderAllowFullScreenButon = function (popup) {
|
67730
|
+
var Icon;
|
67731
|
+
if (popup.isFullScreen) {
|
67732
|
+
Icon = react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { iconName: "icon-back-to-panel_16x16", size: 16 });
|
67733
|
+
}
|
67734
|
+
else {
|
67735
|
+
Icon = react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { iconName: "icon-full-screen_16x16", size: 16 });
|
67736
|
+
}
|
67737
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: popup.cssHeaderFullScreenButton, onClick: function () { popup.toggleFullScreen(); } }, Icon));
|
67738
|
+
};
|
67475
67739
|
PopupSurvey.prototype.renderBody = function () {
|
67476
67740
|
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.popup.cssBody }, this.doRender());
|
67477
67741
|
};
|
@@ -67484,6 +67748,7 @@ var PopupSurvey = /** @class */ (function (_super) {
|
|
67484
67748
|
this.popup.closeOnCompleteTimeout = newProps.closeOnCompleteTimeout;
|
67485
67749
|
}
|
67486
67750
|
this.popup.allowClose = newProps.allowClose;
|
67751
|
+
this.popup.allowFullScreen = newProps.allowFullScreen;
|
67487
67752
|
this.popup.isShowing = true;
|
67488
67753
|
if (!this.popup.isExpanded && (newProps.expanded || newProps.isExpanded))
|
67489
67754
|
this.popup.expand();
|
@@ -68267,7 +68532,7 @@ var SurveyQuestionAndErrorsCell = /** @class */ (function (_super) {
|
|
68267
68532
|
var style = this.getCellStyle();
|
68268
68533
|
var cell = this.props.cell;
|
68269
68534
|
var focusIn = function () { cell.focusIn(); };
|
68270
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("td", { ref: this.cellRef, className: this.itemCss, colSpan: cell.colSpans, "data-responsive-title": this.getHeaderText(), title: cell.getTitle(), style: style, onFocus: focusIn }, this.wrapCell(this.props.cell, (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.
|
68535
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("td", { ref: this.cellRef, className: this.itemCss, colSpan: cell.colSpans, "data-responsive-title": this.getHeaderText(), title: cell.getTitle(), style: style, onFocus: focusIn }, this.wrapCell(this.props.cell, (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.props.cell.cellQuestionWrapperClassName }, this.renderQuestion())))));
|
68271
68536
|
};
|
68272
68537
|
SurveyQuestionAndErrorsCell.prototype.getCellStyle = function () {
|
68273
68538
|
return null;
|
@@ -72984,8 +73249,8 @@ var settings = {
|
|
72984
73249
|
* @param message A message to be displayed in the confirm dialog window.
|
72985
73250
|
* @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
|
72986
73251
|
*/
|
72987
|
-
confirmActionAsync: function (message, callback, applyTitle, locale) {
|
72988
|
-
return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_0__["showConfirmDialog"])(message, callback, applyTitle, locale);
|
73252
|
+
confirmActionAsync: function (message, callback, applyTitle, locale, rootElement) {
|
73253
|
+
return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_0__["showConfirmDialog"])(message, callback, applyTitle, locale, rootElement);
|
72989
73254
|
},
|
72990
73255
|
/**
|
72991
73256
|
* A minimum width value for all survey elements.
|
@@ -75412,6 +75677,12 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
75412
75677
|
* @see getResult
|
75413
75678
|
*/
|
75414
75679
|
_this.onGetResult = _this.addEvent();
|
75680
|
+
/**
|
75681
|
+
* An event that is raised when Survey Creator opens a dialog window for users to select files.
|
75682
|
+
* @see onUploadFile
|
75683
|
+
* @see uploadFiles
|
75684
|
+
*/
|
75685
|
+
_this.onOpenFileChooser = _this.addEvent();
|
75415
75686
|
/**
|
75416
75687
|
* An event that is raised when a File Upload or Signature Pad question starts to upload a file. Applies only if [`storeDataAsText`](https://surveyjs.io/form-library/documentation/api-reference/file-model#storeDataAsText) is `false`. Use this event to upload files to your server.
|
75417
75688
|
*
|
@@ -80730,6 +81001,26 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
80730
81001
|
_survey_element__WEBPACK_IMPORTED_MODULE_3__["SurveyElement"].ScrollElementToTop(options.elementId, scrollIfVisible);
|
80731
81002
|
}
|
80732
81003
|
};
|
81004
|
+
/**
|
81005
|
+
* Opens a dialog window for users to select files.
|
81006
|
+
* @param input A [file input HTML element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement).
|
81007
|
+
* @param callback A callback function that you can use to process selected files. Accepts an array of JavaScript <a href="https://developer.mozilla.org/en-US/docs/Web/API/File" target="_blank">File</a> objects.
|
81008
|
+
* @see onOpenFileChooser
|
81009
|
+
* @see onUploadFile
|
81010
|
+
*/
|
81011
|
+
SurveyModel.prototype.chooseFiles = function (input, callback, context) {
|
81012
|
+
if (this.onOpenFileChooser.isEmpty) {
|
81013
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_15__["chooseFiles"])(input, callback);
|
81014
|
+
}
|
81015
|
+
else {
|
81016
|
+
this.onOpenFileChooser.fire(this, {
|
81017
|
+
input: input,
|
81018
|
+
element: context && context.element || this.survey,
|
81019
|
+
item: context && context.item,
|
81020
|
+
callback: callback
|
81021
|
+
});
|
81022
|
+
}
|
81023
|
+
};
|
80733
81024
|
/**
|
80734
81025
|
* Uploads files to a server.
|
80735
81026
|
*
|
@@ -83070,6 +83361,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
83070
83361
|
if (isStrCiEqual(this.showProgressBar, "aboveHeader")) {
|
83071
83362
|
isBelowHeader = false;
|
83072
83363
|
}
|
83364
|
+
if (isStrCiEqual(this.showProgressBar, "belowHeader")) {
|
83365
|
+
isBelowHeader = true;
|
83366
|
+
}
|
83073
83367
|
if (container === "header" && !isBelowHeader) {
|
83074
83368
|
layoutElement.index = -150;
|
83075
83369
|
if (this.isShowProgressBarOnTop && !this.isShowStartingPage) {
|
@@ -85931,7 +86225,7 @@ var VerticalResponsivityManager = /** @class */ (function (_super) {
|
|
85931
86225
|
/*!****************************!*\
|
85932
86226
|
!*** ./src/utils/utils.ts ***!
|
85933
86227
|
\****************************/
|
85934
|
-
/*! exports provided: unwrap, getRenderedSize, getRenderedStyleSize, doKey2ClickBlur, doKey2ClickUp, doKey2ClickDown, sanitizeEditableContent, Logger, showConfirmDialog, mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild */
|
86228
|
+
/*! exports provided: unwrap, getRenderedSize, getRenderedStyleSize, doKey2ClickBlur, doKey2ClickUp, doKey2ClickDown, sanitizeEditableContent, Logger, showConfirmDialog, mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles */
|
85935
86229
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
85936
86230
|
|
85937
86231
|
"use strict";
|
@@ -85970,6 +86264,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
85970
86264
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "preventDefaults", function() { return preventDefaults; });
|
85971
86265
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "findParentByClassNames", function() { return findParentByClassNames; });
|
85972
86266
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getFirstVisibleChild", function() { return getFirstVisibleChild; });
|
86267
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return chooseFiles; });
|
85973
86268
|
/* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../localizablestring */ "./src/localizablestring.ts");
|
85974
86269
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../settings */ "./src/settings.ts");
|
85975
86270
|
/* harmony import */ var _surveyStrings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../surveyStrings */ "./src/surveyStrings.ts");
|
@@ -85994,7 +86289,7 @@ function confirmAction(message) {
|
|
85994
86289
|
return _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].confirmActionFunc(message);
|
85995
86290
|
return confirm(message);
|
85996
86291
|
}
|
85997
|
-
function confirmActionAsync(message, funcOnYes, funcOnNo, locale) {
|
86292
|
+
function confirmActionAsync(message, funcOnYes, funcOnNo, locale, rootElement) {
|
85998
86293
|
var callbackFunc = function (res) {
|
85999
86294
|
if (res)
|
86000
86295
|
funcOnYes();
|
@@ -86002,7 +86297,7 @@ function confirmActionAsync(message, funcOnYes, funcOnNo, locale) {
|
|
86002
86297
|
funcOnNo();
|
86003
86298
|
};
|
86004
86299
|
if (!!_settings__WEBPACK_IMPORTED_MODULE_1__["settings"] && !!_settings__WEBPACK_IMPORTED_MODULE_1__["settings"].confirmActionAsync) {
|
86005
|
-
if (_settings__WEBPACK_IMPORTED_MODULE_1__["settings"].confirmActionAsync(message, callbackFunc, undefined, locale))
|
86300
|
+
if (_settings__WEBPACK_IMPORTED_MODULE_1__["settings"].confirmActionAsync(message, callbackFunc, undefined, locale, rootElement))
|
86006
86301
|
return;
|
86007
86302
|
}
|
86008
86303
|
callbackFunc(confirmAction(message));
|
@@ -86351,7 +86646,7 @@ var Logger = /** @class */ (function () {
|
|
86351
86646
|
return Logger;
|
86352
86647
|
}());
|
86353
86648
|
|
86354
|
-
function showConfirmDialog(message, callback, applyTitle, locale) {
|
86649
|
+
function showConfirmDialog(message, callback, applyTitle, locale, rootElement) {
|
86355
86650
|
var locStr = new _localizablestring__WEBPACK_IMPORTED_MODULE_0__["LocalizableString"](undefined);
|
86356
86651
|
var popupViewModel = _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].showDialog({
|
86357
86652
|
componentName: "sv-string-viewer",
|
@@ -86368,7 +86663,7 @@ function showConfirmDialog(message, callback, applyTitle, locale) {
|
|
86368
86663
|
displayMode: "popup",
|
86369
86664
|
isFocusedContent: false,
|
86370
86665
|
cssClass: "sv-popup--confirm-delete"
|
86371
|
-
},
|
86666
|
+
}, rootElement);
|
86372
86667
|
var toolbar = popupViewModel.footerToolbar;
|
86373
86668
|
var applyBtn = toolbar.getActionById("apply");
|
86374
86669
|
var cancelBtn = toolbar.getActionById("cancel");
|
@@ -86379,6 +86674,23 @@ function showConfirmDialog(message, callback, applyTitle, locale) {
|
|
86379
86674
|
popupViewModel.width = "452px";
|
86380
86675
|
return true;
|
86381
86676
|
}
|
86677
|
+
function chooseFiles(input, callback) {
|
86678
|
+
if (!window || !window["FileReader"])
|
86679
|
+
return;
|
86680
|
+
input.value = "";
|
86681
|
+
input.onchange = function (event) {
|
86682
|
+
if (!window["FileReader"])
|
86683
|
+
return;
|
86684
|
+
if (!input || !input.files || input.files.length < 1)
|
86685
|
+
return;
|
86686
|
+
var files = [];
|
86687
|
+
for (var i = 0; i < input.files.length; i++) {
|
86688
|
+
files.push(input.files[i]);
|
86689
|
+
}
|
86690
|
+
callback(files);
|
86691
|
+
};
|
86692
|
+
input.click();
|
86693
|
+
}
|
86382
86694
|
|
86383
86695
|
|
86384
86696
|
|