survey-react 1.9.110 → 1.9.111
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 +768 -670
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +300 -240
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +66 -53
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +218 -168
- package/survey.react.js +522 -288
- 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.111
|
3
3
|
* Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -1816,7 +1816,7 @@ var Base = /** @class */ (function () {
|
|
1816
1816
|
*
|
1817
1817
|
* - `sender`: `this`\
|
1818
1818
|
* A SurveyJS object whose property has changed.
|
1819
|
-
* - `options.name`: `
|
1819
|
+
* - `options.name`: `string`\
|
1820
1820
|
* The name of the changed property.
|
1821
1821
|
* - `options.newValue`: `any`\
|
1822
1822
|
* A new value for the property.
|
@@ -1833,7 +1833,7 @@ var Base = /** @class */ (function () {
|
|
1833
1833
|
* A SurveyJS object whose property contains an array of `ItemValue` objects.
|
1834
1834
|
* - `options.obj`: [`ItemValue`](https://surveyjs.io/form-library/documentation/itemvalue)\
|
1835
1835
|
* An `ItemValue` object.
|
1836
|
-
* - `options.propertyName`: `
|
1836
|
+
* - `options.propertyName`: `string`\
|
1837
1837
|
* The name of the property to which an array of `ItemValue` objects is assigned (for example, `"choices"` or `"rows"`).
|
1838
1838
|
* - `options.name`: `"text"` | `"value"`\
|
1839
1839
|
* The name of the changed property.
|
@@ -4077,7 +4077,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
4077
4077
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConditionRunner", function() { return ConditionRunner; });
|
4078
4078
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpressionRunner", function() { return ExpressionRunner; });
|
4079
4079
|
/* harmony import */ var _conditionProcessValue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./conditionProcessValue */ "./src/conditionProcessValue.ts");
|
4080
|
-
/* harmony import */ var
|
4080
|
+
/* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
|
4081
|
+
/* harmony import */ var _conditionsParser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./conditionsParser */ "./src/conditionsParser.ts");
|
4081
4082
|
var __extends = (undefined && undefined.__extends) || (function () {
|
4082
4083
|
var extendStatics = function (d, b) {
|
4083
4084
|
extendStatics = Object.setPrototypeOf ||
|
@@ -4095,10 +4096,11 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
4095
4096
|
})();
|
4096
4097
|
|
4097
4098
|
|
4099
|
+
|
4098
4100
|
var ExpressionExecutor = /** @class */ (function () {
|
4099
4101
|
function ExpressionExecutor(expression) {
|
4100
4102
|
this.processValue = new _conditionProcessValue__WEBPACK_IMPORTED_MODULE_0__["ProcessValue"]();
|
4101
|
-
this.parser = new
|
4103
|
+
this.parser = new _conditionsParser__WEBPACK_IMPORTED_MODULE_2__["ConditionsParser"]();
|
4102
4104
|
this.isAsyncValue = false;
|
4103
4105
|
this.hasFunctionValue = false;
|
4104
4106
|
this.setExpression(expression);
|
@@ -4143,8 +4145,12 @@ var ExpressionExecutor = /** @class */ (function () {
|
|
4143
4145
|
ExpressionExecutor.prototype.run = function (values, properties) {
|
4144
4146
|
var _this = this;
|
4145
4147
|
if (properties === void 0) { properties = null; }
|
4146
|
-
if (!this.operand)
|
4148
|
+
if (!this.operand) {
|
4149
|
+
if (!!this.expression) {
|
4150
|
+
_console_warnings__WEBPACK_IMPORTED_MODULE_1__["ConsoleWarnings"].warn("Invalid expression: " + this.expression);
|
4151
|
+
}
|
4147
4152
|
return null;
|
4153
|
+
}
|
4148
4154
|
this.processValue.values = values;
|
4149
4155
|
this.processValue.properties = properties;
|
4150
4156
|
if (!this.isAsync)
|
@@ -4527,10 +4533,16 @@ var Cover = /** @class */ (function (_super) {
|
|
4527
4533
|
return "100% 100%";
|
4528
4534
|
}
|
4529
4535
|
if (backgroundImageFit === "tile") {
|
4530
|
-
return "
|
4536
|
+
return "auto";
|
4531
4537
|
}
|
4532
4538
|
return backgroundImageFit;
|
4533
4539
|
};
|
4540
|
+
Cover.prototype.fromTheme = function (theme) {
|
4541
|
+
_super.prototype.fromJSON.call(this, theme.cover);
|
4542
|
+
if (!!theme.cssVariables) {
|
4543
|
+
this.backgroundColor = theme.cssVariables["--sjs-cover-backcolor"];
|
4544
|
+
}
|
4545
|
+
};
|
4534
4546
|
Cover.prototype.getType = function () {
|
4535
4547
|
return "cover";
|
4536
4548
|
};
|
@@ -4553,6 +4565,7 @@ var Cover = /** @class */ (function (_super) {
|
|
4553
4565
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__["CssClassBuilder"]()
|
4554
4566
|
.append("sv-cover")
|
4555
4567
|
.append("sv-conver__without-background", !this.backgroundColor && !this.backgroundImage)
|
4568
|
+
.append("sv-conver__overlap", this.overlap)
|
4556
4569
|
.toString();
|
4557
4570
|
},
|
4558
4571
|
enumerable: false,
|
@@ -4667,7 +4680,6 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("cover", [
|
|
4667
4680
|
{ name: "invertText:boolean" },
|
4668
4681
|
{ name: "glowText:boolean" },
|
4669
4682
|
{ name: "overlap:boolean" },
|
4670
|
-
{ name: "backgroundColor" },
|
4671
4683
|
{ name: "backgroundImage" },
|
4672
4684
|
{ name: "backgroundImageOpacity:number", minValue: 0, maxValue: 1, default: 1 },
|
4673
4685
|
{ name: "backgroundImageFit", default: "cover", choices: ["cover", "fill", "contain"] },
|
@@ -5590,6 +5602,8 @@ var defaultV2Css = {
|
|
5590
5602
|
rootReadOnly: "sd-root--readonly",
|
5591
5603
|
rootCompact: "sd-root--compact",
|
5592
5604
|
rootFitToContainer: "sd-root-modern--full-container",
|
5605
|
+
rootWrapper: "sd-root-modern__wrapper",
|
5606
|
+
rootWrapperFixed: "sd-root-modern__wrapper--fixed",
|
5593
5607
|
rootBackgroundImage: "sd-root_background-image",
|
5594
5608
|
container: "sd-container-modern",
|
5595
5609
|
header: "sd-title sd-container-modern__title",
|
@@ -8382,11 +8396,11 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8382
8396
|
return;
|
8383
8397
|
this._popupModel.toggleVisibility();
|
8384
8398
|
this.focusItemOnClickAndPopup();
|
8385
|
-
|
8386
|
-
|
8387
|
-
|
8388
|
-
|
8389
|
-
|
8399
|
+
this.question.focus();
|
8400
|
+
};
|
8401
|
+
DropdownListModel.prototype.chevronPointerDown = function (event) {
|
8402
|
+
if (this._popupModel.isVisible) {
|
8403
|
+
event.preventDefault();
|
8390
8404
|
}
|
8391
8405
|
};
|
8392
8406
|
DropdownListModel.prototype.onPropertyChangedHandler = function (sender, options) {
|
@@ -9631,8 +9645,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
9631
9645
|
//import "../../modern.scss";
|
9632
9646
|
var Version;
|
9633
9647
|
var ReleaseDate;
|
9634
|
-
Version = "" + "1.9.
|
9635
|
-
ReleaseDate = "" + "2023-
|
9648
|
+
Version = "" + "1.9.111";
|
9649
|
+
ReleaseDate = "" + "2023-10-04";
|
9636
9650
|
function checkLibraryVersion(ver, libraryName) {
|
9637
9651
|
if (Version != ver) {
|
9638
9652
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
@@ -10725,7 +10739,7 @@ var defaultBootstrapMaterialCss = _plugins_themes_bootstrapmaterial_cssbootstrap
|
|
10725
10739
|
/*!***************************************!*\
|
10726
10740
|
!*** ./src/entries/react-ui-model.ts ***!
|
10727
10741
|
\***************************************/
|
10728
|
-
/*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, 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, CoverCellComponent, CoverComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
|
10742
|
+
/*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, 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, CoverCellComponent, CoverComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
|
10729
10743
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10730
10744
|
|
10731
10745
|
"use strict";
|
@@ -10826,173 +10840,176 @@ __webpack_require__.r(__webpack_exports__);
|
|
10826
10840
|
/* harmony import */ var _react_reactquestion_file__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../react/reactquestion_file */ "./src/react/reactquestion_file.tsx");
|
10827
10841
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionFile", function() { return _react_reactquestion_file__WEBPACK_IMPORTED_MODULE_25__["SurveyQuestionFile"]; });
|
10828
10842
|
|
10829
|
-
/* harmony import */ var
|
10830
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyFileChooseButton", function() { return
|
10843
|
+
/* harmony import */ var _react_components_file_file_choose_button__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../react/components/file/file-choose-button */ "./src/react/components/file/file-choose-button.tsx");
|
10844
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyFileChooseButton", function() { return _react_components_file_file_choose_button__WEBPACK_IMPORTED_MODULE_26__["SurveyFileChooseButton"]; });
|
10831
10845
|
|
10832
|
-
/* harmony import */ var
|
10833
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10846
|
+
/* harmony import */ var _react_components_file_file_preview__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../react/components/file/file-preview */ "./src/react/components/file/file-preview.tsx");
|
10847
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyFilePreview", function() { return _react_components_file_file_preview__WEBPACK_IMPORTED_MODULE_27__["SurveyFilePreview"]; });
|
10834
10848
|
|
10835
|
-
/* harmony import */ var
|
10836
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10849
|
+
/* harmony import */ var _react_reactquestion_multipletext__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../react/reactquestion_multipletext */ "./src/react/reactquestion_multipletext.tsx");
|
10850
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMultipleText", function() { return _react_reactquestion_multipletext__WEBPACK_IMPORTED_MODULE_28__["SurveyQuestionMultipleText"]; });
|
10837
10851
|
|
10838
|
-
/* harmony
|
10852
|
+
/* harmony import */ var _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../react/reactquestion_radiogroup */ "./src/react/reactquestion_radiogroup.tsx");
|
10853
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadiogroup", function() { return _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_29__["SurveyQuestionRadiogroup"]; });
|
10839
10854
|
|
10840
|
-
/* harmony
|
10841
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionText", function() { return _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_29__["SurveyQuestionText"]; });
|
10855
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadioItem", function() { return _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_29__["SurveyQuestionRadioItem"]; });
|
10842
10856
|
|
10843
|
-
/* harmony import */ var
|
10844
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10857
|
+
/* harmony import */ var _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../react/reactquestion_text */ "./src/react/reactquestion_text.tsx");
|
10858
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionText", function() { return _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_30__["SurveyQuestionText"]; });
|
10845
10859
|
|
10846
|
-
/* harmony import */ var
|
10847
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10860
|
+
/* harmony import */ var _react_boolean__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../react/boolean */ "./src/react/boolean.tsx");
|
10861
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBoolean", function() { return _react_boolean__WEBPACK_IMPORTED_MODULE_31__["SurveyQuestionBoolean"]; });
|
10848
10862
|
|
10849
|
-
/* harmony import */ var
|
10850
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10863
|
+
/* harmony import */ var _react_boolean_checkbox__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../react/boolean-checkbox */ "./src/react/boolean-checkbox.tsx");
|
10864
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBooleanCheckbox", function() { return _react_boolean_checkbox__WEBPACK_IMPORTED_MODULE_32__["SurveyQuestionBooleanCheckbox"]; });
|
10851
10865
|
|
10852
|
-
/* harmony import */ var
|
10853
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10866
|
+
/* harmony import */ var _react_boolean_radio__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../react/boolean-radio */ "./src/react/boolean-radio.tsx");
|
10867
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBooleanRadio", function() { return _react_boolean_radio__WEBPACK_IMPORTED_MODULE_33__["SurveyQuestionBooleanRadio"]; });
|
10854
10868
|
|
10855
|
-
/* harmony import */ var
|
10856
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10869
|
+
/* harmony import */ var _react_reactquestion_empty__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../react/reactquestion_empty */ "./src/react/reactquestion_empty.tsx");
|
10870
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEmpty", function() { return _react_reactquestion_empty__WEBPACK_IMPORTED_MODULE_34__["SurveyQuestionEmpty"]; });
|
10857
10871
|
|
10858
|
-
/* harmony
|
10872
|
+
/* harmony import */ var _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../react/reactquestion_matrixdropdownbase */ "./src/react/reactquestion_matrixdropdownbase.tsx");
|
10873
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdownCell", function() { return _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_35__["SurveyQuestionMatrixDropdownCell"]; });
|
10859
10874
|
|
10860
|
-
/* harmony
|
10861
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdown", function() { return _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_35__["SurveyQuestionMatrixDropdown"]; });
|
10875
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdownBase", function() { return _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_35__["SurveyQuestionMatrixDropdownBase"]; });
|
10862
10876
|
|
10863
|
-
/* harmony import */ var
|
10864
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10877
|
+
/* harmony import */ var _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../react/reactquestion_matrixdropdown */ "./src/react/reactquestion_matrixdropdown.tsx");
|
10878
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdown", function() { return _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_36__["SurveyQuestionMatrixDropdown"]; });
|
10865
10879
|
|
10866
|
-
/* harmony
|
10880
|
+
/* harmony import */ var _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../react/reactquestion_matrixdynamic */ "./src/react/reactquestion_matrixdynamic.tsx");
|
10881
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamic", function() { return _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_37__["SurveyQuestionMatrixDynamic"]; });
|
10867
10882
|
|
10868
|
-
/* harmony
|
10869
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamic", function() { return _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_37__["SurveyQuestionPanelDynamic"]; });
|
10883
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicAddButton", function() { return _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_37__["SurveyQuestionMatrixDynamicAddButton"]; });
|
10870
10884
|
|
10871
|
-
/* harmony import */ var
|
10872
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10885
|
+
/* harmony import */ var _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../react/reactquestion_paneldynamic */ "./src/react/reactquestion_paneldynamic.tsx");
|
10886
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamic", function() { return _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_38__["SurveyQuestionPanelDynamic"]; });
|
10873
10887
|
|
10874
|
-
/* harmony import */ var
|
10875
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10888
|
+
/* harmony import */ var _react_reactSurveyProgress__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../react/reactSurveyProgress */ "./src/react/reactSurveyProgress.tsx");
|
10889
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgress", function() { return _react_reactSurveyProgress__WEBPACK_IMPORTED_MODULE_39__["SurveyProgress"]; });
|
10876
10890
|
|
10877
|
-
/* harmony import */ var
|
10878
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10891
|
+
/* harmony import */ var _react_reactSurveyProgressButtons__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../react/reactSurveyProgressButtons */ "./src/react/reactSurveyProgressButtons.tsx");
|
10892
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressButtons", function() { return _react_reactSurveyProgressButtons__WEBPACK_IMPORTED_MODULE_40__["SurveyProgressButtons"]; });
|
10879
10893
|
|
10880
|
-
/* harmony import */ var
|
10881
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10894
|
+
/* harmony import */ var _react_reactSurveyProgressToc__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../react/reactSurveyProgressToc */ "./src/react/reactSurveyProgressToc.tsx");
|
10895
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressToc", function() { return _react_reactSurveyProgressToc__WEBPACK_IMPORTED_MODULE_41__["SurveyProgressToc"]; });
|
10882
10896
|
|
10883
|
-
/* harmony import */ var
|
10884
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10897
|
+
/* harmony import */ var _react_reactquestion_rating__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../react/reactquestion_rating */ "./src/react/reactquestion_rating.tsx");
|
10898
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRating", function() { return _react_reactquestion_rating__WEBPACK_IMPORTED_MODULE_42__["SurveyQuestionRating"]; });
|
10885
10899
|
|
10886
|
-
/* harmony import */ var
|
10887
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10900
|
+
/* harmony import */ var _react_rating_dropdown__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../react/rating-dropdown */ "./src/react/rating-dropdown.tsx");
|
10901
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRatingDropdown", function() { return _react_rating_dropdown__WEBPACK_IMPORTED_MODULE_43__["SurveyQuestionRatingDropdown"]; });
|
10888
10902
|
|
10889
|
-
/* harmony import */ var
|
10890
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10903
|
+
/* harmony import */ var _react_reactquestion_expression__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../react/reactquestion_expression */ "./src/react/reactquestion_expression.tsx");
|
10904
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionExpression", function() { return _react_reactquestion_expression__WEBPACK_IMPORTED_MODULE_44__["SurveyQuestionExpression"]; });
|
10891
10905
|
|
10892
|
-
/* harmony
|
10906
|
+
/* harmony import */ var _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../react/react-popup-survey */ "./src/react/react-popup-survey.tsx");
|
10907
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurvey", function() { return _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_45__["PopupSurvey"]; });
|
10893
10908
|
|
10894
|
-
/* harmony
|
10895
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactQuestionFactory", function() { return _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_45__["ReactQuestionFactory"]; });
|
10909
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindow", function() { return _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_45__["SurveyWindow"]; });
|
10896
10910
|
|
10897
|
-
/* harmony import */ var
|
10898
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10911
|
+
/* harmony import */ var _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../react/reactquestion_factory */ "./src/react/reactquestion_factory.tsx");
|
10912
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactQuestionFactory", function() { return _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_46__["ReactQuestionFactory"]; });
|
10899
10913
|
|
10900
|
-
/* harmony import */ var
|
10901
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10914
|
+
/* harmony import */ var _react_element_factory__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../react/element-factory */ "./src/react/element-factory.tsx");
|
10915
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactElementFactory", function() { return _react_element_factory__WEBPACK_IMPORTED_MODULE_47__["ReactElementFactory"]; });
|
10902
10916
|
|
10903
|
-
/* harmony import */ var
|
10904
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10917
|
+
/* harmony import */ var _react_imagepicker__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../react/imagepicker */ "./src/react/imagepicker.tsx");
|
10918
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionImagePicker", function() { return _react_imagepicker__WEBPACK_IMPORTED_MODULE_48__["SurveyQuestionImagePicker"]; });
|
10905
10919
|
|
10906
|
-
/* harmony import */ var
|
10907
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10920
|
+
/* harmony import */ var _react_image__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../react/image */ "./src/react/image.tsx");
|
10921
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionImage", function() { return _react_image__WEBPACK_IMPORTED_MODULE_49__["SurveyQuestionImage"]; });
|
10908
10922
|
|
10909
|
-
/* harmony import */ var
|
10910
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10923
|
+
/* harmony import */ var _react_signaturepad__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../react/signaturepad */ "./src/react/signaturepad.tsx");
|
10924
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionSignaturePad", function() { return _react_signaturepad__WEBPACK_IMPORTED_MODULE_50__["SurveyQuestionSignaturePad"]; });
|
10911
10925
|
|
10912
|
-
/* harmony import */ var
|
10913
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10926
|
+
/* harmony import */ var _react_reactquestion_buttongroup__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../react/reactquestion_buttongroup */ "./src/react/reactquestion_buttongroup.tsx");
|
10927
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionButtonGroup", function() { return _react_reactquestion_buttongroup__WEBPACK_IMPORTED_MODULE_51__["SurveyQuestionButtonGroup"]; });
|
10914
10928
|
|
10915
|
-
/* harmony
|
10929
|
+
/* harmony import */ var _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../react/reactquestion_custom */ "./src/react/reactquestion_custom.tsx");
|
10930
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionCustom", function() { return _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_52__["SurveyQuestionCustom"]; });
|
10916
10931
|
|
10917
|
-
/* harmony
|
10918
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Popup", function() { return _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_52__["Popup"]; });
|
10932
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionComposite", function() { return _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_52__["SurveyQuestionComposite"]; });
|
10919
10933
|
|
10920
|
-
/* harmony import */ var
|
10921
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10934
|
+
/* harmony import */ var _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../react/components/popup/popup */ "./src/react/components/popup/popup.tsx");
|
10935
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Popup", function() { return _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_53__["Popup"]; });
|
10922
10936
|
|
10923
|
-
/* harmony import */ var
|
10924
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10937
|
+
/* harmony import */ var _react_components_list_list__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../react/components/list/list */ "./src/react/components/list/list.tsx");
|
10938
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "List", function() { return _react_components_list_list__WEBPACK_IMPORTED_MODULE_54__["List"]; });
|
10925
10939
|
|
10926
|
-
/* harmony import */ var
|
10927
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10940
|
+
/* harmony import */ var _react_components_title_title_actions__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../react/components/title/title-actions */ "./src/react/components/title/title-actions.tsx");
|
10941
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TitleActions", function() { return _react_components_title_title_actions__WEBPACK_IMPORTED_MODULE_55__["TitleActions"]; });
|
10928
10942
|
|
10929
|
-
/* harmony import */ var
|
10930
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10943
|
+
/* harmony import */ var _react_components_title_title_element__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../react/components/title/title-element */ "./src/react/components/title/title-element.tsx");
|
10944
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TitleElement", function() { return _react_components_title_title_element__WEBPACK_IMPORTED_MODULE_56__["TitleElement"]; });
|
10931
10945
|
|
10932
|
-
/* harmony import */ var
|
10933
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10946
|
+
/* harmony import */ var _react_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../react/components/action-bar/action-bar */ "./src/react/components/action-bar/action-bar.tsx");
|
10947
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyActionBar", function() { return _react_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_57__["SurveyActionBar"]; });
|
10934
10948
|
|
10935
|
-
/* harmony import */ var
|
10936
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10949
|
+
/* harmony import */ var _react_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../react/components/survey-header/logo-image */ "./src/react/components/survey-header/logo-image.tsx");
|
10950
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LogoImage", function() { return _react_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_58__["LogoImage"]; });
|
10937
10951
|
|
10938
|
-
/* harmony import */ var
|
10939
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10952
|
+
/* harmony import */ var _react_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../react/components/survey-header/survey-header */ "./src/react/components/survey-header/survey-header.tsx");
|
10953
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyHeader", function() { return _react_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_59__["SurveyHeader"]; });
|
10940
10954
|
|
10941
|
-
/* harmony import */ var
|
10942
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10955
|
+
/* harmony import */ var _react_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../react/components/svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
|
10956
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SvgIcon", function() { return _react_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_60__["SvgIcon"]; });
|
10943
10957
|
|
10944
|
-
/* harmony import */ var
|
10945
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10958
|
+
/* harmony import */ var _react_components_matrix_actions_remove_button_remove_button__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../react/components/matrix-actions/remove-button/remove-button */ "./src/react/components/matrix-actions/remove-button/remove-button.tsx");
|
10959
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicRemoveButton", function() { return _react_components_matrix_actions_remove_button_remove_button__WEBPACK_IMPORTED_MODULE_61__["SurveyQuestionMatrixDynamicRemoveButton"]; });
|
10946
10960
|
|
10947
|
-
/* harmony import */ var
|
10948
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10961
|
+
/* harmony import */ var _react_components_matrix_actions_detail_button_detail_button__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../react/components/matrix-actions/detail-button/detail-button */ "./src/react/components/matrix-actions/detail-button/detail-button.tsx");
|
10962
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDetailButton", function() { return _react_components_matrix_actions_detail_button_detail_button__WEBPACK_IMPORTED_MODULE_62__["SurveyQuestionMatrixDetailButton"]; });
|
10949
10963
|
|
10950
|
-
/* harmony import */ var
|
10951
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10964
|
+
/* harmony import */ var _react_components_matrix_actions_drag_drop_icon_drag_drop_icon__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../react/components/matrix-actions/drag-drop-icon/drag-drop-icon */ "./src/react/components/matrix-actions/drag-drop-icon/drag-drop-icon.tsx");
|
10965
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicDragDropIcon", function() { return _react_components_matrix_actions_drag_drop_icon_drag_drop_icon__WEBPACK_IMPORTED_MODULE_63__["SurveyQuestionMatrixDynamicDragDropIcon"]; });
|
10952
10966
|
|
10953
|
-
/* harmony import */ var
|
10954
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10967
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-add-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-add-btn.tsx");
|
10968
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicAddButton", function() { return _react_components_paneldynamic_actions_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_64__["SurveyQuestionPanelDynamicAddButton"]; });
|
10955
10969
|
|
10956
|
-
/* harmony import */ var
|
10957
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10970
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_remove_btn__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-remove-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-remove-btn.tsx");
|
10971
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicRemoveButton", function() { return _react_components_paneldynamic_actions_paneldynamic_remove_btn__WEBPACK_IMPORTED_MODULE_65__["SurveyQuestionPanelDynamicRemoveButton"]; });
|
10958
10972
|
|
10959
|
-
/* harmony import */ var
|
10960
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10973
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_prev_btn__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-prev-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-prev-btn.tsx");
|
10974
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicPrevButton", function() { return _react_components_paneldynamic_actions_paneldynamic_prev_btn__WEBPACK_IMPORTED_MODULE_66__["SurveyQuestionPanelDynamicPrevButton"]; });
|
10961
10975
|
|
10962
|
-
/* harmony import */ var
|
10963
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10976
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_next_btn__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-next-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-next-btn.tsx");
|
10977
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicNextButton", function() { return _react_components_paneldynamic_actions_paneldynamic_next_btn__WEBPACK_IMPORTED_MODULE_67__["SurveyQuestionPanelDynamicNextButton"]; });
|
10964
10978
|
|
10965
|
-
/* harmony import */ var
|
10966
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10979
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-progress-text */ "./src/react/components/paneldynamic-actions/paneldynamic-progress-text.tsx");
|
10980
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicProgressText", function() { return _react_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_68__["SurveyQuestionPanelDynamicProgressText"]; });
|
10967
10981
|
|
10968
|
-
/* harmony import */ var
|
10969
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10982
|
+
/* harmony import */ var _react_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../react/components/survey-actions/survey-nav-button */ "./src/react/components/survey-actions/survey-nav-button.tsx");
|
10983
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyNavigationButton", function() { return _react_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_69__["SurveyNavigationButton"]; });
|
10970
10984
|
|
10971
|
-
/* harmony import */ var
|
10972
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10985
|
+
/* harmony import */ var _react_components_matrix_row__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../react/components/matrix/row */ "./src/react/components/matrix/row.tsx");
|
10986
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRow", function() { return _react_components_matrix_row__WEBPACK_IMPORTED_MODULE_70__["MatrixRow"]; });
|
10973
10987
|
|
10974
|
-
/* harmony import */ var
|
10975
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10988
|
+
/* harmony import */ var _react_components_skeleton__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../react/components/skeleton */ "./src/react/components/skeleton.tsx");
|
10989
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Skeleton", function() { return _react_components_skeleton__WEBPACK_IMPORTED_MODULE_71__["Skeleton"]; });
|
10976
10990
|
|
10977
|
-
/* harmony import */ var
|
10978
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10991
|
+
/* harmony import */ var _react_components_notifier__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../react/components/notifier */ "./src/react/components/notifier.tsx");
|
10992
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NotifierComponent", function() { return _react_components_notifier__WEBPACK_IMPORTED_MODULE_72__["NotifierComponent"]; });
|
10979
10993
|
|
10980
|
-
/* harmony import */ var
|
10981
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10994
|
+
/* harmony import */ var _react_components_components_container__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../react/components/components-container */ "./src/react/components/components-container.tsx");
|
10995
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentsContainer", function() { return _react_components_components_container__WEBPACK_IMPORTED_MODULE_73__["ComponentsContainer"]; });
|
10982
10996
|
|
10983
|
-
/* harmony import */ var
|
10984
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10997
|
+
/* harmony import */ var _react_components_character_counter__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../react/components/character-counter */ "./src/react/components/character-counter.tsx");
|
10998
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounterComponent", function() { return _react_components_character_counter__WEBPACK_IMPORTED_MODULE_74__["CharacterCounterComponent"]; });
|
10985
10999
|
|
10986
|
-
/* harmony
|
11000
|
+
/* harmony import */ var _react_components_cover__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../react/components/cover */ "./src/react/components/cover.tsx");
|
11001
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCellComponent", function() { return _react_components_cover__WEBPACK_IMPORTED_MODULE_75__["CoverCellComponent"]; });
|
10987
11002
|
|
10988
|
-
/* harmony
|
10989
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_string_viewer__WEBPACK_IMPORTED_MODULE_75__["SurveyLocStringViewer"]; });
|
11003
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverComponent", function() { return _react_components_cover__WEBPACK_IMPORTED_MODULE_75__["CoverComponent"]; });
|
10990
11004
|
|
10991
|
-
/* harmony import */ var
|
10992
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11005
|
+
/* harmony import */ var _react_string_viewer__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../react/string-viewer */ "./src/react/string-viewer.tsx");
|
11006
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_string_viewer__WEBPACK_IMPORTED_MODULE_76__["SurveyLocStringViewer"]; });
|
10993
11007
|
|
10994
|
-
/* harmony import */ var
|
10995
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
11008
|
+
/* harmony import */ var _react_string_editor__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../react/string-editor */ "./src/react/string-editor.tsx");
|
11009
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return _react_string_editor__WEBPACK_IMPORTED_MODULE_77__["SurveyLocStringEditor"]; });
|
11010
|
+
|
11011
|
+
/* harmony import */ var _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../react/components/loading-indicator */ "./src/react/components/loading-indicator.tsx");
|
11012
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LoadingIndicatorComponent", function() { return _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_78__["LoadingIndicatorComponent"]; });
|
10996
11013
|
|
10997
11014
|
// react
|
10998
11015
|
|
@@ -11071,6 +11088,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
11071
11088
|
|
11072
11089
|
|
11073
11090
|
|
11091
|
+
|
11074
11092
|
|
11075
11093
|
|
11076
11094
|
//Uncomment to include the "date" question type.
|
@@ -11083,7 +11101,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
11083
11101
|
/*!******************************!*\
|
11084
11102
|
!*** ./src/entries/react.ts ***!
|
11085
11103
|
\******************************/
|
11086
|
-
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, 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, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, 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, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, 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, CoverCellComponent, CoverComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
|
11104
|
+
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, 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, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, 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, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, 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, CoverCellComponent, CoverComponent, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
|
11087
11105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
11088
11106
|
|
11089
11107
|
"use strict";
|
@@ -11606,6 +11624,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
11606
11624
|
|
11607
11625
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyFileChooseButton", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["SurveyFileChooseButton"]; });
|
11608
11626
|
|
11627
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyFilePreview", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["SurveyFilePreview"]; });
|
11628
|
+
|
11609
11629
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMultipleText", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["SurveyQuestionMultipleText"]; });
|
11610
11630
|
|
11611
11631
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadiogroup", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["SurveyQuestionRadiogroup"]; });
|
@@ -16157,6 +16177,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
16157
16177
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerFunction", function() { return registerFunction; });
|
16158
16178
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers */ "./src/helpers.ts");
|
16159
16179
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
16180
|
+
/* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
|
16181
|
+
|
16160
16182
|
|
16161
16183
|
|
16162
16184
|
var FunctionFactory = /** @class */ (function () {
|
@@ -16193,8 +16215,10 @@ var FunctionFactory = /** @class */ (function () {
|
|
16193
16215
|
FunctionFactory.prototype.run = function (name, params, properties) {
|
16194
16216
|
if (properties === void 0) { properties = null; }
|
16195
16217
|
var func = this.functionHash[name];
|
16196
|
-
if (!func)
|
16218
|
+
if (!func) {
|
16219
|
+
_console_warnings__WEBPACK_IMPORTED_MODULE_2__["ConsoleWarnings"].warn("Unknown function name: " + name);
|
16197
16220
|
return null;
|
16221
|
+
}
|
16198
16222
|
var classRunner = {
|
16199
16223
|
func: func,
|
16200
16224
|
};
|
@@ -22322,6 +22346,8 @@ var englishStrings = {
|
|
22322
22346
|
tagboxDoneButtonCaption: "OK",
|
22323
22347
|
selectToRankEmptyRankedAreaText: "All choices are ranked",
|
22324
22348
|
selectToRankEmptyUnrankedAreaText: "Drag and drop choices here to rank them",
|
22349
|
+
ok: "OK",
|
22350
|
+
cancel: "Cancel",
|
22325
22351
|
};
|
22326
22352
|
// Uncomment the lines below if you create a custom dictionary.
|
22327
22353
|
// Replace "en" with a custom locale code (for example, "fr" or "de"),
|
@@ -29645,8 +29671,8 @@ var PanelModelBase = /** @class */ (function (_super) {
|
|
29645
29671
|
};
|
29646
29672
|
/**
|
29647
29673
|
* Validates questions within this panel or page and returns `false` if the validation fails.
|
29648
|
-
* @param fireCallback *Optional
|
29649
|
-
* @param focusOnFirstError *Optional
|
29674
|
+
* @param fireCallback *(Optional)* Pass `false` if you do not want to show validation errors in the UI.
|
29675
|
+
* @param focusOnFirstError *(Optional)* Pass `true` if you want to focus the first question with a validation error.
|
29650
29676
|
* @see [Data Validation](https://surveyjs.io/form-library/documentation/data-validation)
|
29651
29677
|
*/
|
29652
29678
|
PanelModelBase.prototype.validate = function (fireCallback, focusOnFirstError, rec) {
|
@@ -32310,6 +32336,7 @@ function setStyles() {
|
|
32310
32336
|
".sv-popup__button:disabled:hover": "box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);",
|
32311
32337
|
".sv-popup__button.sv-popup__button--apply": "background-color: var(--primary, #19b394); color: var(--primary-foreground, #fff);",
|
32312
32338
|
".sv-popup__button.sv-popup__button--apply:disabled": "background-color: var(--background-dim, #f3f3f3);",
|
32339
|
+
".sv-popup__button.sv-popup__button--danger": "background-color: var(--sjs-special-red, #E50A3E); color: var(--primary-foreground, #fff);",
|
32313
32340
|
//eo popup
|
32314
32341
|
//list
|
32315
32342
|
".sv-list": "padding: 0; margin: 0; background: var(--background, #fff); list-style-type: none; overflow-y: auto;",
|
@@ -33075,6 +33102,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
33075
33102
|
|
33076
33103
|
|
33077
33104
|
function createPopupModalViewModel(options, rootElement) {
|
33105
|
+
var _a;
|
33078
33106
|
var popupModel = new _popup__WEBPACK_IMPORTED_MODULE_0__["PopupModel"](options.componentName, options.data, "top", "left", false, true, options.onCancel, options.onApply, function () {
|
33079
33107
|
options.onHide();
|
33080
33108
|
if (!!container) {
|
@@ -33082,6 +33110,7 @@ function createPopupModalViewModel(options, rootElement) {
|
|
33082
33110
|
}
|
33083
33111
|
}, options.onShow, options.cssClass, options.title);
|
33084
33112
|
popupModel.displayMode = options.displayMode || "popup";
|
33113
|
+
popupModel.isFocusedContent = (_a = options.isFocusedContent) !== null && _a !== void 0 ? _a : true;
|
33085
33114
|
var popupViewModel = new _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_2__["PopupModalViewModel"](popupModel);
|
33086
33115
|
if (!!rootElement && !!rootElement.appendChild) {
|
33087
33116
|
var container = document.createElement("div");
|
@@ -33739,9 +33768,9 @@ var Question = /** @class */ (function (_super) {
|
|
33739
33768
|
*
|
33740
33769
|
* - `sender`: `SurveyModel`\
|
33741
33770
|
* A survey instance that contains the question whose ready state has changed.
|
33742
|
-
* - `options.isReady`: `
|
33771
|
+
* - `options.isReady`: `boolean`\
|
33743
33772
|
* Indicates whether the question is ready.
|
33744
|
-
* - `options.oldIsReady`: `
|
33773
|
+
* - `options.oldIsReady`: `boolean`\
|
33745
33774
|
* Indicates the previous ready state.
|
33746
33775
|
*/
|
33747
33776
|
_this.onReadyChanged = _this.addEvent();
|
@@ -34216,7 +34245,7 @@ var Question = /** @class */ (function (_super) {
|
|
34216
34245
|
};
|
34217
34246
|
Question.prototype.runTriggers = function (name, value) {
|
34218
34247
|
var _this = this;
|
34219
|
-
if (this.isRunningResetValueIf ||
|
34248
|
+
if (this.isRunningResetValueIf || this.isReadOnly || !this.resetValueIf || this.isEmpty() || this.isSettingQuestionValue)
|
34220
34249
|
return;
|
34221
34250
|
if (this.parentQuestion && this.parentQuestion.getValueName() === name)
|
34222
34251
|
return;
|
@@ -34657,6 +34686,7 @@ var Question = /** @class */ (function (_super) {
|
|
34657
34686
|
};
|
34658
34687
|
Question.prototype.afterRender = function (el) {
|
34659
34688
|
var _this = this;
|
34689
|
+
this.afterRenderCore(el);
|
34660
34690
|
if (!this.survey)
|
34661
34691
|
return;
|
34662
34692
|
this.survey.afterRenderQuestion(this, el);
|
@@ -34675,6 +34705,8 @@ var Question = /** @class */ (function (_super) {
|
|
34675
34705
|
}
|
34676
34706
|
this.checkForResponsiveness(el);
|
34677
34707
|
};
|
34708
|
+
Question.prototype.afterRenderCore = function (el) {
|
34709
|
+
};
|
34678
34710
|
Question.prototype.getCommentElementsId = function () {
|
34679
34711
|
return [this.commentId];
|
34680
34712
|
};
|
@@ -35386,27 +35418,27 @@ var Question = /** @class */ (function (_super) {
|
|
35386
35418
|
*
|
35387
35419
|
* | Question type | Value type(s) |
|
35388
35420
|
* | ------------- | ------------- |
|
35389
|
-
* | Checkboxes | `Array<
|
35390
|
-
* | Dropdown | `
|
35391
|
-
* | Dynamic Matrix | `Array<
|
35392
|
-
* | Dynamic Panel | `Array<
|
35393
|
-
* | Expression | `
|
35421
|
+
* | Checkboxes | `Array<string \| number>` |
|
35422
|
+
* | Dropdown | `string` \| `number` |
|
35423
|
+
* | Dynamic Matrix | `Array<object>` |
|
35424
|
+
* | Dynamic Panel | `Array<object>` |
|
35425
|
+
* | Expression | `string` \| `number` \| `boolean` |
|
35394
35426
|
* | File Upload | `File` \| `Array<File>` |
|
35395
35427
|
* | HTML | (no value) |
|
35396
35428
|
* | Image | (no value) |
|
35397
|
-
* | Image Picker | `Array<
|
35398
|
-
* | Long Text | `
|
35399
|
-
* | Multi-Select Dropdown | `
|
35400
|
-
* | Multi-Select Matrix | `
|
35401
|
-
* | Multiple Textboxes | `Array<
|
35429
|
+
* | Image Picker | `Array<string \| number>` |
|
35430
|
+
* | Long Text | `string` |
|
35431
|
+
* | Multi-Select Dropdown | `object` |
|
35432
|
+
* | Multi-Select Matrix | `object` |
|
35433
|
+
* | Multiple Textboxes | `Array<string>` |
|
35402
35434
|
* | Panel | (no value) |
|
35403
|
-
* | Radio Button Group | `
|
35404
|
-
* | Ranking | `Array<
|
35405
|
-
* | Rating Scale | `
|
35406
|
-
* | Signature | `
|
35407
|
-
* | Single-Line Input | `
|
35408
|
-
* | Single-Select Matrix | `
|
35409
|
-
* | Yes/No (Boolean) | `
|
35435
|
+
* | Radio Button Group | `string` \| `number` |
|
35436
|
+
* | Ranking | `Array<string \| number>` |
|
35437
|
+
* | Rating Scale | `number` \| `string` |
|
35438
|
+
* | Signature | `string` (base64-encoded image) |
|
35439
|
+
* | Single-Line Input | `string` \| `number` \| `Date` |
|
35440
|
+
* | Single-Select Matrix | `object` |
|
35441
|
+
* | Yes/No (Boolean) | `boolean` \| `string` |
|
35410
35442
|
*/
|
35411
35443
|
get: function () {
|
35412
35444
|
return this.getValueCore();
|
@@ -36040,7 +36072,7 @@ var Question = /** @class */ (function (_super) {
|
|
36040
36072
|
};
|
36041
36073
|
/**
|
36042
36074
|
* Validates this question and returns `false` if the validation fails.
|
36043
|
-
* @param fireCallback *Optional
|
36075
|
+
* @param fireCallback *(Optional)* Pass `false` if you do not want to show validation errors in the UI.
|
36044
36076
|
* @see [Data Validation](https://surveyjs.io/form-library/documentation/data-validation)
|
36045
36077
|
*/
|
36046
36078
|
Question.prototype.validate = function (fireCallback, rec) {
|
@@ -36181,8 +36213,10 @@ var Question = /** @class */ (function (_super) {
|
|
36181
36213
|
if (!this.checkIsValueCorrect(newValue))
|
36182
36214
|
return;
|
36183
36215
|
this.isOldAnswered = this.isAnswered;
|
36216
|
+
this.isSettingQuestionValue = true;
|
36184
36217
|
this.setNewValueInData(newValue);
|
36185
36218
|
this.allowNotifyValueChanged && this.onValueChanged();
|
36219
|
+
this.isSettingQuestionValue = false;
|
36186
36220
|
if (this.isAnswered !== this.isOldAnswered) {
|
36187
36221
|
this.updateQuestionCss();
|
36188
36222
|
}
|
@@ -36767,7 +36801,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("question", [
|
|
36767
36801
|
"enableIf:condition",
|
36768
36802
|
{
|
36769
36803
|
name: "resetValueIf:condition",
|
36770
|
-
category: "logic"
|
36804
|
+
category: "logic"
|
36771
36805
|
},
|
36772
36806
|
"defaultValue:value",
|
36773
36807
|
{
|
@@ -37689,8 +37723,10 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
37689
37723
|
customValues[_i - 1] = arguments[_i];
|
37690
37724
|
}
|
37691
37725
|
_this.waitingGetChoiceDisplayValueResponse = false;
|
37692
|
-
if (!displayValues || !displayValues.length)
|
37726
|
+
if (!displayValues || !displayValues.length) {
|
37727
|
+
_this.updateIsReady();
|
37693
37728
|
return;
|
37729
|
+
}
|
37694
37730
|
var items = displayValues.map(function (displayValue, index) { return _this.createItemValue(valueArray[index], displayValue); });
|
37695
37731
|
_this.setCustomValuesIntoItems(items, customValues);
|
37696
37732
|
if (Array.isArray(value)) {
|
@@ -41003,8 +41039,8 @@ var QuestionCustomModelBase = /** @class */ (function (_super) {
|
|
41003
41039
|
QuestionCustomModelBase.prototype.afterRenderQuestionElement = function (el) {
|
41004
41040
|
//Do nothing
|
41005
41041
|
};
|
41006
|
-
QuestionCustomModelBase.prototype.
|
41007
|
-
_super.prototype.
|
41042
|
+
QuestionCustomModelBase.prototype.afterRenderCore = function (el) {
|
41043
|
+
_super.prototype.afterRenderCore.call(this, el);
|
41008
41044
|
if (!!this.customQuestion) {
|
41009
41045
|
this.customQuestion.onAfterRender(this, el);
|
41010
41046
|
}
|
@@ -41201,8 +41237,8 @@ var QuestionCustomModel = /** @class */ (function (_super) {
|
|
41201
41237
|
_super.prototype.focus.call(this, onError);
|
41202
41238
|
}
|
41203
41239
|
};
|
41204
|
-
QuestionCustomModel.prototype.
|
41205
|
-
_super.prototype.
|
41240
|
+
QuestionCustomModel.prototype.afterRenderCore = function (el) {
|
41241
|
+
_super.prototype.afterRenderCore.call(this, el);
|
41206
41242
|
if (!!this.contentQuestion) {
|
41207
41243
|
this.contentQuestion.afterRender(el);
|
41208
41244
|
}
|
@@ -42761,7 +42797,7 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
42761
42797
|
*
|
42762
42798
|
* - `sender`: `SurveyModel`\
|
42763
42799
|
* A survey instance that raised the event.
|
42764
|
-
* - `options.state`: `
|
42800
|
+
* - `options.state`: `string`\
|
42765
42801
|
* The current upload state: `"empty"`, `"loading"`, `"loaded"`, or `"error"`.
|
42766
42802
|
*/
|
42767
42803
|
_this.onUploadStateChanged = _this.addEvent();
|
@@ -43369,7 +43405,14 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
43369
43405
|
get: function () {
|
43370
43406
|
var isShowLoadingIndicator = this.showLoadingIndicator;
|
43371
43407
|
var isPlayingVideo = this.isPlayingVideo;
|
43372
|
-
return
|
43408
|
+
return !isShowLoadingIndicator && !isPlayingVideo;
|
43409
|
+
},
|
43410
|
+
enumerable: false,
|
43411
|
+
configurable: true
|
43412
|
+
});
|
43413
|
+
Object.defineProperty(QuestionFileModel.prototype, "showPreviewContainer", {
|
43414
|
+
get: function () {
|
43415
|
+
return this.previewValue && this.previewValue.length > 0;
|
43373
43416
|
},
|
43374
43417
|
enumerable: false,
|
43375
43418
|
configurable: true
|
@@ -44020,6 +44063,13 @@ var QuestionHtmlModel = /** @class */ (function (_super) {
|
|
44020
44063
|
QuestionHtmlModel.prototype.processHtml = function (html) {
|
44021
44064
|
return this.survey ? this.survey.processHtml(html, "html-question") : this.html;
|
44022
44065
|
};
|
44066
|
+
Object.defineProperty(QuestionHtmlModel.prototype, "isNewA11yStructure", {
|
44067
|
+
get: function () {
|
44068
|
+
return true;
|
44069
|
+
},
|
44070
|
+
enumerable: false,
|
44071
|
+
configurable: true
|
44072
|
+
});
|
44023
44073
|
return QuestionHtmlModel;
|
44024
44074
|
}(_questionnonvalue__WEBPACK_IMPORTED_MODULE_0__["QuestionNonValue"]));
|
44025
44075
|
|
@@ -49439,6 +49489,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("matrixdropdownc
|
|
49439
49489
|
"visibleIf:condition",
|
49440
49490
|
"enableIf:condition",
|
49441
49491
|
"requiredIf:condition",
|
49492
|
+
"resetValueIf:condition",
|
49442
49493
|
{
|
49443
49494
|
name: "showInMultipleColumns:boolean",
|
49444
49495
|
dependsOn: "cellType",
|
@@ -50297,9 +50348,7 @@ var QuestionMatrixDropdownRenderedTable = /** @class */ (function (_super) {
|
|
50297
50348
|
var renderedCell = this.createTextCell(row.locText);
|
50298
50349
|
renderedCell.row = row;
|
50299
50350
|
res.cells.push(renderedCell);
|
50300
|
-
|
50301
|
-
this.setHeaderCellWidth(null, renderedCell);
|
50302
|
-
}
|
50351
|
+
this.setHeaderCellWidth(null, renderedCell);
|
50303
50352
|
renderedCell.className = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__["CssClassBuilder"]()
|
50304
50353
|
.append(renderedCell.className)
|
50305
50354
|
.append(this.cssClasses.rowTextCell)
|
@@ -51123,7 +51172,7 @@ var QuestionMatrixDynamicModel = /** @class */ (function (_super) {
|
|
51123
51172
|
};
|
51124
51173
|
/**
|
51125
51174
|
* Creates and adds a new row to the matrix.
|
51126
|
-
* @param setFocus *Optional
|
51175
|
+
* @param setFocus *(Optional)* Pass `true` to focus the cell in the first column.
|
51127
51176
|
*/
|
51128
51177
|
QuestionMatrixDynamicModel.prototype.addRow = function (setFocus) {
|
51129
51178
|
var oldRowCount = this.rowCount;
|
@@ -51261,7 +51310,7 @@ var QuestionMatrixDynamicModel = /** @class */ (function (_super) {
|
|
51261
51310
|
/**
|
51262
51311
|
* Removes a matrix row with a specified index.
|
51263
51312
|
* @param index A zero-based row index.
|
51264
|
-
* @param confirmDelete *Optional
|
51313
|
+
* @param confirmDelete *(Optional)* A Boolean value that specifies whether to display a confirmation dialog. If you do not specify this parameter, the [`confirmDelete`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#confirmDelete) property value is used.
|
51265
51314
|
*/
|
51266
51315
|
QuestionMatrixDynamicModel.prototype.removeRow = function (index, confirmDelete) {
|
51267
51316
|
var _this = this;
|
@@ -53195,8 +53244,8 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
|
|
53195
53244
|
*
|
53196
53245
|
* The template can contain the following placeholders:
|
53197
53246
|
*
|
53198
|
-
* - `{panelIndex}` - A
|
53199
|
-
* - `{visiblePanelIndex}` - A
|
53247
|
+
* - `{panelIndex}` - A panel index within the collection of all panels. Starts with 1.
|
53248
|
+
* - `{visiblePanelIndex}` - A panel index within the collection of visible panels. Starts with 1.
|
53200
53249
|
* @see template
|
53201
53250
|
* @see templateDescription
|
53202
53251
|
* @see templateElements
|
@@ -53225,8 +53274,12 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
|
|
53225
53274
|
*
|
53226
53275
|
* The template can contain the following placeholders:
|
53227
53276
|
*
|
53228
|
-
* - `{panelIndex}` - A
|
53229
|
-
* - `{visiblePanelIndex}` - A
|
53277
|
+
* - `{panelIndex}` - A panel index within the collection of all panels. Starts with 1.
|
53278
|
+
* - `{visiblePanelIndex}` - A panel index within the collection of visible panels. Starts with 1.
|
53279
|
+
*
|
53280
|
+
* If you want to customize individual tab titles, handle `SurveyModel`'s [`onGetDynamicPanelTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onGetDynamicPanelTabTitle) event.
|
53281
|
+
*
|
53282
|
+
* [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
|
53230
53283
|
* @see templateTitle
|
53231
53284
|
* @see renderMode
|
53232
53285
|
*/
|
@@ -54003,11 +54056,11 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
|
|
54003
54056
|
*
|
54004
54057
|
* Possible values:
|
54005
54058
|
*
|
54006
|
-
* - `"list"` - Renders panels one under the other. [View Demo](https://surveyjs.io/form-library/examples/how-to-use-expressions-in-dynamic-panel/)
|
54059
|
+
* - `"list"` (default) - Renders panels one under the other. [View Demo](https://surveyjs.io/form-library/examples/how-to-use-expressions-in-dynamic-panel/)
|
54007
54060
|
* - `"progressTop"` - Renders each panel as a card and displays a progress bar at the top. [View Demo](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/)
|
54008
54061
|
* - `"progressBottom"` - Renders each panel panel as a card and displays a progress bar at the bottom.
|
54009
54062
|
* - `"progressTopBottom"` - Renders each panel as a card and displays a progress bar at the top and bottom.
|
54010
|
-
* - `"tab"` - Renders each panel within a tab. Use the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) to specify a template for tab titles.
|
54063
|
+
* - `"tab"` - Renders each panel within a tab. Use the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) to specify a template for tab titles. [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/)
|
54011
54064
|
*/
|
54012
54065
|
get: function () {
|
54013
54066
|
return this.getPropertyValue("renderMode");
|
@@ -56242,6 +56295,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
56242
56295
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
56243
56296
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
56244
56297
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
56298
|
+
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
56245
56299
|
var __extends = (undefined && undefined.__extends) || (function () {
|
56246
56300
|
var extendStatics = function (d, b) {
|
56247
56301
|
extendStatics = Object.setPrototypeOf ||
|
@@ -56272,6 +56326,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
56272
56326
|
|
56273
56327
|
|
56274
56328
|
|
56329
|
+
|
56275
56330
|
var RenderedRatingItem = /** @class */ (function (_super) {
|
56276
56331
|
__extends(RenderedRatingItem, _super);
|
56277
56332
|
function RenderedRatingItem(itemValue, locString) {
|
@@ -56784,6 +56839,8 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
56784
56839
|
}
|
56785
56840
|
};
|
56786
56841
|
QuestionRatingModel.prototype.onItemMouseIn = function (item) {
|
56842
|
+
if (_utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"])
|
56843
|
+
return;
|
56787
56844
|
if (this.isReadOnly || !item.itemValue.isEnabled || this.isDesignMode)
|
56788
56845
|
return;
|
56789
56846
|
var high = true;
|
@@ -56801,6 +56858,8 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
56801
56858
|
}
|
56802
56859
|
};
|
56803
56860
|
QuestionRatingModel.prototype.onItemMouseOut = function (item) {
|
56861
|
+
if (_utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"])
|
56862
|
+
return;
|
56804
56863
|
this.renderedRateItems.forEach(function (item) { return item.highlight = "none"; });
|
56805
56864
|
};
|
56806
56865
|
Object.defineProperty(QuestionRatingModel.prototype, "itemSmallMode", {
|
@@ -60074,7 +60133,7 @@ var CoverComponent = /** @class */ (function (_super) {
|
|
60074
60133
|
if (!(this.props.survey.titleView === "cover" && this.props.survey.renderedHasHeader)) {
|
60075
60134
|
return null;
|
60076
60135
|
}
|
60077
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.coverClasses, style: { height: this.model.renderedHeight
|
60136
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.coverClasses, style: { height: this.model.renderedHeight } },
|
60078
60137
|
this.model.backgroundImage ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { style: this.model.backgroundImageStyle, className: this.model.backgroundImageClasses }) : null,
|
60079
60138
|
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.model.contentClasses }, this.model.cells.map(function (cell, index) { return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(CoverCellComponent, { key: index, model: cell }); }))));
|
60080
60139
|
};
|
@@ -60088,10 +60147,10 @@ _element_factory__WEBPACK_IMPORTED_MODULE_2__["ReactElementFactory"].Instance.re
|
|
60088
60147
|
|
60089
60148
|
/***/ }),
|
60090
60149
|
|
60091
|
-
/***/ "./src/react/components/file
|
60092
|
-
|
60093
|
-
!*** ./src/react/components/file
|
60094
|
-
|
60150
|
+
/***/ "./src/react/components/file/file-choose-button.tsx":
|
60151
|
+
/*!**********************************************************!*\
|
60152
|
+
!*** ./src/react/components/file/file-choose-button.tsx ***!
|
60153
|
+
\**********************************************************/
|
60095
60154
|
/*! exports provided: SurveyFileChooseButton */
|
60096
60155
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
60097
60156
|
|
@@ -60149,6 +60208,91 @@ _element_factory__WEBPACK_IMPORTED_MODULE_4__["ReactElementFactory"].Instance.re
|
|
60149
60208
|
});
|
60150
60209
|
|
60151
60210
|
|
60211
|
+
/***/ }),
|
60212
|
+
|
60213
|
+
/***/ "./src/react/components/file/file-preview.tsx":
|
60214
|
+
/*!****************************************************!*\
|
60215
|
+
!*** ./src/react/components/file/file-preview.tsx ***!
|
60216
|
+
\****************************************************/
|
60217
|
+
/*! exports provided: SurveyFilePreview */
|
60218
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
60219
|
+
|
60220
|
+
"use strict";
|
60221
|
+
__webpack_require__.r(__webpack_exports__);
|
60222
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyFilePreview", function() { return SurveyFilePreview; });
|
60223
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
60224
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
60225
|
+
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../reactquestion_element */ "./src/react/reactquestion_element.tsx");
|
60226
|
+
/* harmony import */ var _svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
|
60227
|
+
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../element-factory */ "./src/react/element-factory.tsx");
|
60228
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
60229
|
+
var extendStatics = function (d, b) {
|
60230
|
+
extendStatics = Object.setPrototypeOf ||
|
60231
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
60232
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
60233
|
+
return extendStatics(d, b);
|
60234
|
+
};
|
60235
|
+
return function (d, b) {
|
60236
|
+
if (typeof b !== "function" && b !== null)
|
60237
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
60238
|
+
extendStatics(d, b);
|
60239
|
+
function __() { this.constructor = d; }
|
60240
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
60241
|
+
};
|
60242
|
+
})();
|
60243
|
+
|
60244
|
+
|
60245
|
+
|
60246
|
+
|
60247
|
+
var SurveyFilePreview = /** @class */ (function (_super) {
|
60248
|
+
__extends(SurveyFilePreview, _super);
|
60249
|
+
function SurveyFilePreview() {
|
60250
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
60251
|
+
}
|
60252
|
+
Object.defineProperty(SurveyFilePreview.prototype, "question", {
|
60253
|
+
get: function () {
|
60254
|
+
return this.props.question;
|
60255
|
+
},
|
60256
|
+
enumerable: false,
|
60257
|
+
configurable: true
|
60258
|
+
});
|
60259
|
+
SurveyFilePreview.prototype.renderFileSign = function (className, val) {
|
60260
|
+
var _this = this;
|
60261
|
+
if (!className || !val.name)
|
60262
|
+
return null;
|
60263
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: className },
|
60264
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("a", { href: val.content, onClick: function (event) {
|
60265
|
+
_this.question.doDownloadFile(event, val);
|
60266
|
+
}, title: val.name, download: val.name, style: { width: this.question.imageWidth } }, val.name)));
|
60267
|
+
};
|
60268
|
+
SurveyFilePreview.prototype.renderElement = function () {
|
60269
|
+
var _this = this;
|
60270
|
+
var previews = this.question.previewValue.map(function (val, index) {
|
60271
|
+
if (!val)
|
60272
|
+
return null;
|
60273
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", { key: _this.question.inputId + "_" + index, className: _this.question.cssClasses.preview, style: { display: _this.question.isPreviewVisible(index) ? undefined : "none" } },
|
60274
|
+
_this.renderFileSign(_this.question.cssClasses.fileSign, val),
|
60275
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: _this.question.cssClasses.imageWrapper },
|
60276
|
+
_this.question.canPreviewImage(val) ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("img", { src: val.content, style: { height: _this.question.imageHeight, width: _this.question.imageWidth }, alt: "File preview" })) : (_this.question.cssClasses.defaultImage ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { iconName: _this.question.cssClasses.defaultImageIconId, size: "auto", className: _this.question.cssClasses.defaultImage })) : null),
|
60277
|
+
val.name && !_this.question.isReadOnly ? (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: _this.question.getRemoveButtonCss(), onClick: function () { return _this.question.doRemoveFile(val); } },
|
60278
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", { className: _this.question.cssClasses.removeFile }, _this.question.removeFileCaption),
|
60279
|
+
(_this.question.cssClasses.removeFileSvgIconId) ?
|
60280
|
+
(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { title: _this.question.removeFileCaption, iconName: _this.question.cssClasses.removeFileSvgIconId, size: "auto", className: _this.question.cssClasses.removeFileSvg })) : null)) : null),
|
60281
|
+
_this.renderFileSign(_this.question.cssClasses.fileSignBottom, val)));
|
60282
|
+
});
|
60283
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.question.cssClasses.fileList || undefined }, previews);
|
60284
|
+
};
|
60285
|
+
SurveyFilePreview.prototype.canRender = function () {
|
60286
|
+
return this.question.showPreviewContainer;
|
60287
|
+
};
|
60288
|
+
return SurveyFilePreview;
|
60289
|
+
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["SurveyElementBase"]));
|
60290
|
+
|
60291
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.registerElement("sv-file-preview", function (props) {
|
60292
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(SurveyFilePreview, props);
|
60293
|
+
});
|
60294
|
+
|
60295
|
+
|
60152
60296
|
/***/ }),
|
60153
60297
|
|
60154
60298
|
/***/ "./src/react/components/list/list-item.tsx":
|
@@ -62264,6 +62408,10 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
62264
62408
|
var _a;
|
62265
62409
|
(_a = _this.question.dropdownListModel) === null || _a === void 0 ? void 0 : _a.onClick(event);
|
62266
62410
|
};
|
62411
|
+
_this.chevronPointerDown = function (event) {
|
62412
|
+
var _a;
|
62413
|
+
(_a = _this.question.dropdownListModel) === null || _a === void 0 ? void 0 : _a.chevronPointerDown(event);
|
62414
|
+
};
|
62267
62415
|
_this.clear = function (event) {
|
62268
62416
|
var _a;
|
62269
62417
|
(_a = _this.question.dropdownListModel) === null || _a === void 0 ? void 0 : _a.onClear(event);
|
@@ -62359,7 +62507,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
62359
62507
|
SurveyQuestionDropdownBase.prototype.createChevronButton = function () {
|
62360
62508
|
if (!this.question.cssClasses.chevronButtonIconId)
|
62361
62509
|
return null;
|
62362
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.chevronButton },
|
62510
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.chevronButton, onPointerDown: this.chevronPointerDown },
|
62363
62511
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { className: this.question.cssClasses.chevronButtonSvg, iconName: this.question.cssClasses.chevronButtonIconId, size: "auto" })));
|
62364
62512
|
};
|
62365
62513
|
SurveyQuestionDropdownBase.prototype.renderOther = function (cssClasses) {
|
@@ -63910,7 +64058,7 @@ var Survey = /** @class */ (function (_super) {
|
|
63910
64058
|
else {
|
63911
64059
|
renderResult = this.renderSurvey();
|
63912
64060
|
}
|
63913
|
-
var backgroundImage = !!this.survey.
|
64061
|
+
var backgroundImage = !!this.survey.backgroundImage ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.rootBackgroundImage, style: this.survey.backgroundImageStyle }) : null;
|
63914
64062
|
var header = this.survey.titleView === "title" ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_5__["SurveyHeader"], { survey: this.survey }) : null;
|
63915
64063
|
var onSubmit = function (event) {
|
63916
64064
|
event.preventDefault();
|
@@ -63922,16 +64070,17 @@ var Survey = /** @class */ (function (_super) {
|
|
63922
64070
|
var rootCss = this.survey.getRootCss();
|
63923
64071
|
var cssClasses = this.rootNodeClassName ? this.rootNodeClassName + " " + rootCss : rootCss;
|
63924
64072
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: this.rootNodeId, ref: this.rootRef, className: cssClasses, style: this.survey.themeVariables },
|
63925
|
-
|
63926
|
-
|
63927
|
-
|
63928
|
-
|
63929
|
-
|
63930
|
-
|
63931
|
-
|
63932
|
-
|
63933
|
-
|
63934
|
-
|
64073
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.survey.wrapperFormCss },
|
64074
|
+
backgroundImage,
|
64075
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("form", { onSubmit: onSubmit },
|
64076
|
+
customHeader,
|
64077
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.container },
|
64078
|
+
header,
|
64079
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_10__["ComponentsContainer"], { survey: this.survey, container: "header", needRenderWrapper: false }),
|
64080
|
+
renderResult,
|
64081
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_components_container__WEBPACK_IMPORTED_MODULE_10__["ComponentsContainer"], { survey: this.survey, container: "footer", needRenderWrapper: false }))),
|
64082
|
+
this.survey.showBrandInfo ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_brand_info__WEBPACK_IMPORTED_MODULE_8__["BrandInfo"], null) : null,
|
64083
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_notifier__WEBPACK_IMPORTED_MODULE_9__["NotifierComponent"], { notifier: this.survey.notifier }))));
|
63935
64084
|
};
|
63936
64085
|
Survey.prototype.renderElement = function () {
|
63937
64086
|
return this.doRender();
|
@@ -66154,14 +66303,8 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
|
|
66154
66303
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, this.question.clearButtonCaption),
|
66155
66304
|
(!!this.question.cssClasses.removeButtonIconId) ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { iconName: this.question.cssClasses.removeButtonIconId, size: "auto", title: this.question.clearButtonCaption }) : null)) : null;
|
66156
66305
|
};
|
66157
|
-
SurveyQuestionFile.prototype.
|
66158
|
-
|
66159
|
-
if (!className || !val.name)
|
66160
|
-
return null;
|
66161
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: className },
|
66162
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("a", { href: val.content, onClick: function (event) {
|
66163
|
-
_this.question.doDownloadFile(event, val);
|
66164
|
-
}, title: val.name, download: val.name, style: { width: this.question.imageWidth } }, val.name)));
|
66306
|
+
SurveyQuestionFile.prototype.renderPreview = function () {
|
66307
|
+
return _entries_react_ui_model__WEBPACK_IMPORTED_MODULE_7__["ReactElementFactory"].Instance.createElement("sv-file-preview", { question: this.question });
|
66165
66308
|
};
|
66166
66309
|
SurveyQuestionFile.prototype.renderLoadingIndicator = function () {
|
66167
66310
|
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.loadingIndicator },
|
@@ -66174,23 +66317,6 @@ var SurveyQuestionFile = /** @class */ (function (_super) {
|
|
66174
66317
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("video", { autoPlay: true, playsInline: true, id: this.question.videoId, className: this.question.cssClasses.video }),
|
66175
66318
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_action_bar_action_bar_item__WEBPACK_IMPORTED_MODULE_6__["SurveyAction"], { item: this.question.takePictureAction })));
|
66176
66319
|
};
|
66177
|
-
SurveyQuestionFile.prototype.renderPreview = function () {
|
66178
|
-
var _this = this;
|
66179
|
-
var previews = this.question.previewValue.map(function (val, index) {
|
66180
|
-
if (!val)
|
66181
|
-
return null;
|
66182
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { key: _this.question.inputId + "_" + index, className: _this.question.cssClasses.preview, style: { display: _this.question.isPreviewVisible(index) ? undefined : "none" } },
|
66183
|
-
_this.renderFileSign(_this.question.cssClasses.fileSign, val),
|
66184
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: _this.question.cssClasses.imageWrapper },
|
66185
|
-
_this.question.canPreviewImage(val) ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("img", { src: val.content, style: { height: _this.question.imageHeight, width: _this.question.imageWidth }, alt: "File preview" })) : (_this.question.cssClasses.defaultImage ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { iconName: _this.question.cssClasses.defaultImageIconId, size: "auto", className: _this.question.cssClasses.defaultImage })) : null),
|
66186
|
-
val.name && !_this.question.isReadOnly ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: _this.question.getRemoveButtonCss(), onClick: function () { return _this.question.doRemoveFile(val); } },
|
66187
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: _this.question.cssClasses.removeFile }, _this.question.removeFileCaption),
|
66188
|
-
(_this.question.cssClasses.removeFileSvgIconId) ?
|
66189
|
-
(react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { title: _this.question.removeFileCaption, iconName: _this.question.cssClasses.removeFileSvgIconId, size: "auto", className: _this.question.cssClasses.removeFileSvg })) : null)) : null),
|
66190
|
-
_this.renderFileSign(_this.question.cssClasses.fileSignBottom, val)));
|
66191
|
-
});
|
66192
|
-
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.fileList || undefined }, previews);
|
66193
|
-
};
|
66194
66320
|
return SurveyQuestionFile;
|
66195
66321
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_3__["SurveyQuestionElementBase"]));
|
66196
66322
|
|
@@ -66853,6 +66979,7 @@ var SurveyQuestionMatrixDropdownCell = /** @class */ (function (_super) {
|
|
66853
66979
|
column: this.cell.cell.column,
|
66854
66980
|
};
|
66855
66981
|
this.question.survey.matrixAfterCellRender(this.question, options);
|
66982
|
+
this.question.afterRenderCore(el);
|
66856
66983
|
}
|
66857
66984
|
};
|
66858
66985
|
SurveyQuestionMatrixDropdownCell.prototype.getShowErrors = function () {
|
@@ -68931,6 +69058,8 @@ var RendererFactory = /** @class */ (function () {
|
|
68931
69058
|
"use strict";
|
68932
69059
|
__webpack_require__.r(__webpack_exports__);
|
68933
69060
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
|
69061
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
69062
|
+
|
68934
69063
|
var document = globalThis.document;
|
68935
69064
|
var defaultEnvironment = (!!document ? {
|
68936
69065
|
root: document,
|
@@ -68972,10 +69101,10 @@ var settings = {
|
|
68972
69101
|
*
|
68973
69102
|
* Nested properties:
|
68974
69103
|
*
|
68975
|
-
* - `showEmptyDescriptions`: `
|
69104
|
+
* - `showEmptyDescriptions`: `boolean`\
|
68976
69105
|
* Specifies whether to display an empty description for pages and panels. Default value: `true`.
|
68977
69106
|
*
|
68978
|
-
* - `showEmptyTitles`: `
|
69107
|
+
* - `showEmptyTitles`: `boolean`\
|
68979
69108
|
* Specifies whether to display an empty title for pages and panels. Default value: `true`.
|
68980
69109
|
*/
|
68981
69110
|
designMode: {
|
@@ -68999,13 +69128,13 @@ var settings = {
|
|
68999
69128
|
*
|
69000
69129
|
* Nested properties:
|
69001
69130
|
*
|
69002
|
-
* - `useLocalTimeZone`: `
|
69131
|
+
* - `useLocalTimeZone`: `boolean`\
|
69003
69132
|
* Disable this property if you want internal SurveyJS functions to use methods that work with UTC date and time (`setUTCDate()` `setUTCHours()`, etc.) instead of methods that work with local date and time (`setYear`, `setHours()`, etc.). Default value: `true`.
|
69004
69133
|
*
|
69005
|
-
* - `defaultLocaleName`: `
|
69134
|
+
* - `defaultLocaleName`: `string`\
|
69006
69135
|
* A property key that stores a translation for the default locale. Default value: `"default"`.
|
69007
69136
|
*
|
69008
|
-
* - `storeDuplicatedTranslations`: `
|
69137
|
+
* - `storeDuplicatedTranslations`: `boolean`\
|
69009
69138
|
* Specifies whether surveys should store translation strings that equal the translation strings in the default locale. Default value: `false`.
|
69010
69139
|
*/
|
69011
69140
|
localization: {
|
@@ -69035,16 +69164,16 @@ var settings = {
|
|
69035
69164
|
*
|
69036
69165
|
* Nested properties:
|
69037
69166
|
*
|
69038
|
-
* - `encodeUrlParams`: `
|
69167
|
+
* - `encodeUrlParams`: `boolean`\
|
69039
69168
|
* Specifies whether to encode URL parameters when you access a web service. Default value: `true`.
|
69040
69169
|
*
|
69041
|
-
* - `cacheLoadedChoices`: `
|
69170
|
+
* - `cacheLoadedChoices`: `boolean`\
|
69042
69171
|
* Specifies whether to cache [choices](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model#choicesByUrl) loaded from a web service. Default value: `true`.
|
69043
69172
|
*
|
69044
|
-
* - `disableQuestionWhileLoadingChoices`: `
|
69173
|
+
* - `disableQuestionWhileLoadingChoices`: `boolean`\
|
69045
69174
|
* Disables a question while its choices are being loaded from a web service. Default value: `false`.
|
69046
69175
|
*
|
69047
|
-
* - `surveyServiceUrl`: `
|
69176
|
+
* - `surveyServiceUrl`: `string`\
|
69048
69177
|
* The URL of the SurveyJS Service API endpoint.
|
69049
69178
|
*/
|
69050
69179
|
web: {
|
@@ -69082,14 +69211,14 @@ var settings = {
|
|
69082
69211
|
*
|
69083
69212
|
* Nested properties:
|
69084
69213
|
*
|
69085
|
-
* - `changeNavigationButtonsOnComplete`: `
|
69214
|
+
* - `changeNavigationButtonsOnComplete`: `boolean`\
|
69086
69215
|
* Specifies whether to re-evaluate an expression associated with the [Complete trigger](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#complete) immediately when a question value changes. If the expression evaluates to `true`, the trigger is executed. Default value: `false`.\
|
69087
69216
|
* Keep this property set to `false` if you want to re-evaluate the Complete trigger's expression only when the respondents navigate to another page.
|
69088
69217
|
*
|
69089
|
-
* - `executeCompleteOnValueChanged`: `
|
69218
|
+
* - `executeCompleteOnValueChanged`: `boolean`\
|
69090
69219
|
* Specifies whether to replace the Next button with the Complete button when the [Complete trigger](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#complete) is going to be executed. Default value: `true`.
|
69091
69220
|
*
|
69092
|
-
* - `executeSkipOnValueChanged`: `
|
69221
|
+
* - `executeSkipOnValueChanged`: `boolean`\
|
69093
69222
|
* Specifies whether to re-evaluate an expression associated with the [Skip trigger](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#skip) immediately when a question value changes. If the expression evaluates to `true`, the trigger is executed. Default value: `true`.\
|
69094
69223
|
* Disable this property if you want to re-evaluate the Skip trigger's expression only when respondents navigate to another page.
|
69095
69224
|
*/
|
@@ -69120,13 +69249,13 @@ var settings = {
|
|
69120
69249
|
*
|
69121
69250
|
* Nested properties:
|
69122
69251
|
*
|
69123
|
-
* - `itemValueSerializeAsObject`: `
|
69252
|
+
* - `itemValueSerializeAsObject`: `boolean`\
|
69124
69253
|
* Enable this property if you want to serialize [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) instances as objects even when they include only the `value` property. Default value: `false`. View an example below.
|
69125
69254
|
*
|
69126
|
-
* - `itemValueSerializeDisplayText`: `
|
69255
|
+
* - `itemValueSerializeDisplayText`: `boolean`\
|
69127
69256
|
* Enable this property if you want to serialize the `text` property of [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) objects even when it is empty or equal to the `value` property. Default value: `false`. View an example below.
|
69128
69257
|
*
|
69129
|
-
* - `localizableStringSerializeAsObject`: `
|
69258
|
+
* - `localizableStringSerializeAsObject`: `boolean`\
|
69130
69259
|
* Enable this property if you want to serialize [`LocalizableString`](https://surveyjs.io/form-library/documentation/api-reference/localizablestring) instances as objects even when they include only a translation string for the default locale. For example, `"Custom String"` will be serialized as `{ default: "Custom String" }`. Default value: `false`.
|
69131
69260
|
*
|
69132
69261
|
* ```js
|
@@ -69170,7 +69299,7 @@ var settings = {
|
|
69170
69299
|
*
|
69171
69300
|
* Nested properties:
|
69172
69301
|
*
|
69173
|
-
* - `enabled`: `
|
69302
|
+
* - `enabled`: `boolean`\
|
69174
69303
|
* Specifies whether to add questions to the DOM only when they get into the viewport. Default value: `false`.
|
69175
69304
|
*
|
69176
69305
|
* > Lazy rendering is an experimental feature that may not work as expected in all use cases.
|
@@ -69193,28 +69322,28 @@ var settings = {
|
|
69193
69322
|
*
|
69194
69323
|
* Nested properties:
|
69195
69324
|
*
|
69196
|
-
* - `defaultRowName`: `
|
69325
|
+
* - `defaultRowName`: `string`\
|
69197
69326
|
* A property key that stores an object with default cell values. Default value: "default".
|
69198
69327
|
*
|
69199
|
-
* - `defaultCellType`: `
|
69328
|
+
* - `defaultCellType`: `string`\
|
69200
69329
|
* The default type of matrix cells. Default value: `"dropdown"`.\
|
69201
69330
|
* You can specify this setting for individual questions or matrix columns: [`cellType`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#cellType). Refer to the `cellType` property description for information on possible values.
|
69202
69331
|
*
|
69203
|
-
* - `totalsSuffix`: `
|
69332
|
+
* - `totalsSuffix`: `string`\
|
69204
69333
|
* A suffix added to the name of the property that stores total values. The resulting property name consists of the matrix name and the suffix. Default value: `"-total"`.
|
69205
69334
|
*
|
69206
|
-
* - `maxRowCount`: `
|
69335
|
+
* - `maxRowCount`: `number`\
|
69207
69336
|
* A maximum number of rows in a Dynamic Matrix. Default value: 1000.\
|
69208
69337
|
* You can specify this setting for an individual Dynamic Matrix: [`maxRowCount`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#maxRowCount).
|
69209
69338
|
*
|
69210
|
-
* - `maxRowCountInCondition`: `
|
69339
|
+
* - `maxRowCountInCondition`: `number`\
|
69211
69340
|
* A maximum number of matrix rows included in the Condition drop-down menu in Survey Creator. This menu is used to configure conditional survey logic. Default value: 1.\
|
69212
69341
|
* If you set this property to 0, the Condition menu does not include any matrix rows. Users still can specify conditions that use matrix rows but only with Manual Entry.
|
69213
69342
|
*
|
69214
|
-
* - `renderRemoveAsIcon`: `
|
69343
|
+
* - `renderRemoveAsIcon`: `boolean`\
|
69215
69344
|
* Disable this property if you want to render the Remove action in Dynamic Matrix as a button. Otherwise, the action is rendered as an icon. Default value: `true`.
|
69216
69345
|
*
|
69217
|
-
* - `columnWidthsByType`: `
|
69346
|
+
* - `columnWidthsByType`: `object`\
|
69218
69347
|
* An object that specifies fixed and minimum column width based on the column type.\
|
69219
69348
|
* Example: `settings.matrix.columnWidthsByType = { "tagbox": { minWidth: "240px", width: "300px" } }`
|
69220
69349
|
*
|
@@ -69268,11 +69397,11 @@ var settings = {
|
|
69268
69397
|
*
|
69269
69398
|
* Nested properties:
|
69270
69399
|
*
|
69271
|
-
* - `maxPanelCount`: `
|
69400
|
+
* - `maxPanelCount`: `number`\
|
69272
69401
|
* A maximum number of panels in Dynamic Panel. Default value: 100.\
|
69273
69402
|
* You can specify this setting for an individual Dynamic Panel: [`maxPanelCount`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#maxPanelCount).
|
69274
69403
|
*
|
69275
|
-
* - `maxPanelCountInCondition`: `
|
69404
|
+
* - `maxPanelCountInCondition`: `number`\
|
69276
69405
|
* A maximum number of Dynamic Panel panels included in the Condition drop-down menu in Survey Creator. This menu is used to configure conditional survey logic. Default value: 1.\
|
69277
69406
|
* If you set this property to 0, the Condition menu does not include any panel questions. Users still can specify conditions that use panel questions but only with Manual Entry.
|
69278
69407
|
*/
|
@@ -69325,10 +69454,10 @@ var settings = {
|
|
69325
69454
|
*
|
69326
69455
|
* Nested properties:
|
69327
69456
|
*
|
69328
|
-
* - `includeQuestionsWithHiddenNumber`: `
|
69457
|
+
* - `includeQuestionsWithHiddenNumber`: `boolean`\
|
69329
69458
|
* Specifies whether to number questions whose [`hideNumber`](https://surveyjs.io/form-library/documentation/api-reference/question#hideNumber) property is enabled. Default value: `false`.
|
69330
69459
|
*
|
69331
|
-
* - `includeQuestionsWithHiddenTitle`: `
|
69460
|
+
* - `includeQuestionsWithHiddenTitle`: `boolean`\
|
69332
69461
|
* Specifies whether to number questions whose [`titleLocation`](https://surveyjs.io/form-library/documentation/api-reference/question#titleLocation) property is set to `"hidden"`. Default value: `false`.
|
69333
69462
|
*/
|
69334
69463
|
numbering: {
|
@@ -69362,10 +69491,10 @@ var settings = {
|
|
69362
69491
|
*
|
69363
69492
|
* Nested properties:
|
69364
69493
|
*
|
69365
|
-
* - `trimStrings`: `
|
69494
|
+
* - `trimStrings`: `boolean`\
|
69366
69495
|
* Specifies whether to remove whitespace from both ends of a string before the comparison. Default value: `true`.
|
69367
69496
|
*
|
69368
|
-
* - `caseSensitive`: `
|
69497
|
+
* - `caseSensitive`: `boolean`\
|
69369
69498
|
* Specifies whether to differentiate between capital and lower-case letters. Default value: `false`.
|
69370
69499
|
*/
|
69371
69500
|
comparator: {
|
@@ -69403,7 +69532,7 @@ var settings = {
|
|
69403
69532
|
*/
|
69404
69533
|
tagboxCloseOnSelect: false,
|
69405
69534
|
/**
|
69406
|
-
* A property that allows you to display a custom confirm dialog
|
69535
|
+
* A property that allows you to display a custom confirm dialog.
|
69407
69536
|
*
|
69408
69537
|
* Set this property to a function that renders your custom dialog window. This function should return `true` if a user confirms an action or `false` otherwise.
|
69409
69538
|
* @param message A message to be displayed in the confirm dialog window.
|
@@ -69412,14 +69541,25 @@ var settings = {
|
|
69412
69541
|
return confirm(message);
|
69413
69542
|
},
|
69414
69543
|
/**
|
69415
|
-
* A property that allows you to display a custom confirm dialog
|
69544
|
+
* A property that allows you to display a custom confirm dialog in async mode or activate the standard browser dialog.
|
69545
|
+
*
|
69546
|
+
* To display a custom confirm dialog, set this property to a function that renders it. This function should return `true` to be enabled; otherwise, a survey executes the [`confirmActionFunc`](#confirmActionFunc) function. Pass the dialog result as the `callback` parameter: `true` if a user confirms an action, `false` otherwise.
|
69416
69547
|
*
|
69417
|
-
*
|
69548
|
+
* To activate the standard browser dialog, set the `confirmActionAsync` property to a function that returns `false`. With this configuration, a survey falls back to the [`confirmActionFunc`](#confirmActionFunc) function, which renders the standard browser dialog by default.
|
69549
|
+
*
|
69550
|
+
* ```js
|
69551
|
+
* import { settings } from "survey-core";
|
69552
|
+
*
|
69553
|
+
* // Display the standard browser dialog
|
69554
|
+
* settings.confirmActionAsync = () => {
|
69555
|
+
* return false;
|
69556
|
+
* }
|
69557
|
+
* ```
|
69418
69558
|
* @param message A message to be displayed in the confirm dialog window.
|
69419
69559
|
* @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
|
69420
69560
|
*/
|
69421
69561
|
confirmActionAsync: function (message, callback) {
|
69422
|
-
return
|
69562
|
+
return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_0__["showConfirmDialog"])(message, callback);
|
69423
69563
|
},
|
69424
69564
|
/**
|
69425
69565
|
* A minimum width value for all survey elements.
|
@@ -69448,7 +69588,7 @@ var settings = {
|
|
69448
69588
|
*
|
69449
69589
|
* Nested properties:
|
69450
69590
|
*
|
69451
|
-
* - `lifetime`: `
|
69591
|
+
* - `lifetime`: `number`\
|
69452
69592
|
* Specifies a time period during which a notification is displayed; measured in milliseconds.
|
69453
69593
|
*/
|
69454
69594
|
notifications: {
|
@@ -72035,6 +72175,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
72035
72175
|
_this.onDynamicPanelItemValueChanged = _this.addEvent();
|
72036
72176
|
/**
|
72037
72177
|
* An event that is raised before a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) renders [tab titles](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle). Use this event to change individual tab titles.
|
72178
|
+
*
|
72179
|
+
* For information on event handler parameters, refer to descriptions within the interface.
|
72180
|
+
*
|
72181
|
+
* [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
|
72038
72182
|
*/
|
72039
72183
|
_this.onGetDynamicPanelTabTitle = _this.addEvent();
|
72040
72184
|
/**
|
@@ -72202,6 +72346,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
72202
72346
|
_this.registerPropertyChangedHandlers(["state", "currentPage", "showPreviewBeforeComplete"], function () { _this.onStateAndCurrentPageChanged(); });
|
72203
72347
|
_this.registerPropertyChangedHandlers(["logo", "logoPosition"], function () { _this.updateHasLogo(); });
|
72204
72348
|
_this.registerPropertyChangedHandlers(["backgroundImage"], function () { _this.updateRenderBackgroundImage(); });
|
72349
|
+
_this.registerPropertyChangedHandlers(["renderBackgroundImage", "backgroundOpacity", "backgroundImageFit", "fitToContainer", "backgroundImageAttachment"], function () {
|
72350
|
+
_this.updateBackgroundImageStyle();
|
72351
|
+
});
|
72205
72352
|
_this.onGetQuestionNo.onCallbacksChanged = function () {
|
72206
72353
|
_this.resetVisibleIndexes();
|
72207
72354
|
};
|
@@ -72450,6 +72597,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
72450
72597
|
this.rootCss = this.getRootCss();
|
72451
72598
|
this.updateNavigationCss();
|
72452
72599
|
this.updateCompletedPageCss();
|
72600
|
+
this.updateWrapperFormCss();
|
72453
72601
|
};
|
72454
72602
|
Object.defineProperty(SurveyModel.prototype, "css", {
|
72455
72603
|
/**
|
@@ -73684,18 +73832,20 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
73684
73832
|
enumerable: false,
|
73685
73833
|
configurable: true
|
73686
73834
|
});
|
73687
|
-
|
73688
|
-
|
73689
|
-
|
73690
|
-
|
73691
|
-
|
73692
|
-
|
73693
|
-
|
73694
|
-
|
73695
|
-
|
73696
|
-
|
73697
|
-
|
73698
|
-
|
73835
|
+
SurveyModel.prototype.updateBackgroundImageStyle = function () {
|
73836
|
+
this.backgroundImageStyle = {
|
73837
|
+
opacity: this.backgroundOpacity,
|
73838
|
+
backgroundImage: this.renderBackgroundImage,
|
73839
|
+
backgroundSize: this.backgroundImageFit,
|
73840
|
+
backgroundAttachment: !this.fitToContainer ? this.backgroundImageAttachment : undefined
|
73841
|
+
};
|
73842
|
+
};
|
73843
|
+
SurveyModel.prototype.updateWrapperFormCss = function () {
|
73844
|
+
this.wrapperFormCss = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_18__["CssClassBuilder"]()
|
73845
|
+
.append(this.css.rootWrapper)
|
73846
|
+
.append(this.css.rootWrapperFixed, this.backgroundImageAttachment === "fixed")
|
73847
|
+
.toString();
|
73848
|
+
};
|
73699
73849
|
Object.defineProperty(SurveyModel.prototype, "completedHtml", {
|
73700
73850
|
/**
|
73701
73851
|
* HTML content displayed on the [complete page](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#complete-page).
|
@@ -75119,8 +75269,8 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
75119
75269
|
};
|
75120
75270
|
/**
|
75121
75271
|
* Resets the survey [`state`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#state) and, optionally, [`data`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#data). If `state` is `"completed"`, it becomes `"running"`.
|
75122
|
-
* @param clearData *Optional
|
75123
|
-
* @param goToFirstPage *Optional
|
75272
|
+
* @param clearData *(Optional)* Specifies whether to clear survey data. Default value: `true`.
|
75273
|
+
* @param goToFirstPage *(Optional)* Specifies whether to switch the survey to the first page. Default value: `true`.
|
75124
75274
|
*/
|
75125
75275
|
SurveyModel.prototype.clear = function (clearData, goToFirstPage) {
|
75126
75276
|
if (clearData === void 0) { clearData = true; }
|
@@ -75504,7 +75654,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
75504
75654
|
* Validates all questions on the current page and returns `false` if the validation fails.
|
75505
75655
|
*
|
75506
75656
|
* If you use validation expressions and at least one of them calls an async function, the `validateCurrentPage` method returns `undefined`. In this case, you should pass a callback function as the `onAsyncValidation` parameter. The function's `hasErrors` Boolean parameter will contain the validation result.
|
75507
|
-
* @param onAsyncValidation *Optional
|
75657
|
+
* @param onAsyncValidation *(Optional)* Pass a callback function. It accepts a Boolean `hasErrors` parameter that equals `true` if the validation fails or `false` otherwise.
|
75508
75658
|
* @see currentPage
|
75509
75659
|
* @see validate
|
75510
75660
|
* @see validateCurrentPage
|
@@ -75523,7 +75673,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
75523
75673
|
*
|
75524
75674
|
* If you use validation expressions and at least one of them calls an async function, the `validatePage` method returns `undefined`. In this case, you should pass a callback function as the `onAsyncValidation` parameter. The function's `hasErrors` Boolean parameter will contain the validation result.
|
75525
75675
|
* @param page Pass the `PageModel` that you want to validate. You can pass `undefined` to validate the [`activePage`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#activePage).
|
75526
|
-
* @param onAsyncValidation *Optional
|
75676
|
+
* @param onAsyncValidation *(Optional)* Pass a callback function. It accepts a Boolean `hasErrors` parameter that equals `true` if the validation fails or `false` otherwise.
|
75527
75677
|
* @see validate
|
75528
75678
|
* @see validateCurrentPage
|
75529
75679
|
*/
|
@@ -75553,9 +75703,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
75553
75703
|
* Validates all questions and returns `false` if the validation fails.
|
75554
75704
|
*
|
75555
75705
|
* If you use validation expressions and at least one of them calls an async function, the `validate` method returns `undefined`. In this case, you should pass a callback function as the `onAsyncValidation` parameter. The function's `hasErrors` Boolean parameter will contain the validation result.
|
75556
|
-
* @param fireCallback *Optional
|
75557
|
-
* @param focusOnFirstError *Optional
|
75558
|
-
* @param onAsyncValidation *Optional
|
75706
|
+
* @param fireCallback *(Optional)* Pass `false` if you do not want to show validation errors in the UI.
|
75707
|
+
* @param focusOnFirstError *(Optional)* Pass `true` if you want to focus the first question with a validation error. The survey will be switched to the page that contains this question if required.
|
75708
|
+
* @param onAsyncValidation *(Optional)* Pass a callback function. It accepts a Boolean `hasErrors` parameter that equals `true` if the validation fails or `false` otherwise.
|
75559
75709
|
* @see validateCurrentPage
|
75560
75710
|
* @see validatePage
|
75561
75711
|
*/
|
@@ -77618,7 +77768,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77618
77768
|
SurveyModel.prototype.runQuestionsTriggers = function (name, value) {
|
77619
77769
|
if (this.isDisplayMode || this.isDesignMode)
|
77620
77770
|
return;
|
77621
|
-
var questions = this.getAllQuestions(
|
77771
|
+
var questions = this.getAllQuestions();
|
77622
77772
|
questions.forEach(function (q) { return q.runTriggers(name, value); });
|
77623
77773
|
};
|
77624
77774
|
SurveyModel.prototype.checkIfNewPagesBecomeVisible = function (oldCurrentPageIndex) {
|
@@ -79162,13 +79312,13 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
79162
79312
|
*
|
79163
79313
|
* This method accepts an object with the following layout element properties:
|
79164
79314
|
*
|
79165
|
-
* - `id`: `
|
79315
|
+
* - `id`: `string` | `"timerpanel"` | `"progress-buttons"` | `"progress-questions"` | `"progress-pages"` | `"progress-correctquestions"` | `"progress-requiredquestions"` | `"toc-navigation"` | `"navigationbuttons"`\
|
79166
79316
|
* A layout element identifier. You can use possible values to access and relocate or customize predefined layout elements.
|
79167
79317
|
*
|
79168
79318
|
* - `container`: `"header"` | `"footer"` | `"left"` | `"right"` | `"contentTop"` | `"contentBottom"`\
|
79169
79319
|
* A layout container that holds the element. If you want to display the element within multiple containers, set this property to an array of possible values.
|
79170
79320
|
*
|
79171
|
-
* - `component`: `
|
79321
|
+
* - `component`: `string`\
|
79172
79322
|
* The name of the component that renders the layout element.
|
79173
79323
|
*
|
79174
79324
|
* - `data`: `any`\
|
@@ -79262,7 +79412,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
79262
79412
|
if (key === "cover") {
|
79263
79413
|
_this.removeLayoutElement("cover");
|
79264
79414
|
var newCoverModel = new _cover__WEBPACK_IMPORTED_MODULE_20__["Cover"]();
|
79265
|
-
newCoverModel.
|
79415
|
+
newCoverModel.fromTheme(theme);
|
79266
79416
|
_this.layoutElements.push({
|
79267
79417
|
id: "cover",
|
79268
79418
|
container: "header",
|
@@ -79309,12 +79459,26 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
79309
79459
|
};
|
79310
79460
|
SurveyModel.prototype.addScrollEventListener = function () {
|
79311
79461
|
var _this = this;
|
79462
|
+
var _a;
|
79312
79463
|
this.scrollHandler = function () { _this.onScroll(); };
|
79313
79464
|
this.rootElement.addEventListener("scroll", this.scrollHandler);
|
79465
|
+
if (!!this.rootElement.getElementsByTagName("form")[0]) {
|
79466
|
+
this.rootElement.getElementsByTagName("form")[0].addEventListener("scroll", this.scrollHandler);
|
79467
|
+
}
|
79468
|
+
if (!!this.css.rootWrapper) {
|
79469
|
+
(_a = this.rootElement.getElementsByClassName(this.css.rootWrapper)[0]) === null || _a === void 0 ? void 0 : _a.addEventListener("scroll", this.scrollHandler);
|
79470
|
+
}
|
79314
79471
|
};
|
79315
79472
|
SurveyModel.prototype.removeScrollEventListener = function () {
|
79473
|
+
var _a;
|
79316
79474
|
if (!!this.rootElement && !!this.scrollHandler) {
|
79317
79475
|
this.rootElement.removeEventListener("scroll", this.scrollHandler);
|
79476
|
+
if (!!this.rootElement.getElementsByTagName("form")[0]) {
|
79477
|
+
this.rootElement.getElementsByTagName("form")[0].removeEventListener("scroll", this.scrollHandler);
|
79478
|
+
}
|
79479
|
+
if (!!this.css.rootWrapper) {
|
79480
|
+
(_a = this.rootElement.getElementsByClassName(this.css.rootWrapper)[0]) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", this.scrollHandler);
|
79481
|
+
}
|
79318
79482
|
}
|
79319
79483
|
};
|
79320
79484
|
SurveyModel.TemplateRendererComponentName = "sv-template-renderer";
|
@@ -79388,8 +79552,18 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
79388
79552
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
79389
79553
|
], SurveyModel.prototype, "backgroundImageFit", void 0);
|
79390
79554
|
__decorate([
|
79391
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])(
|
79555
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({
|
79556
|
+
onSet: function (newValue, target) {
|
79557
|
+
target.updateCss();
|
79558
|
+
}
|
79559
|
+
})
|
79392
79560
|
], SurveyModel.prototype, "backgroundImageAttachment", void 0);
|
79561
|
+
__decorate([
|
79562
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
79563
|
+
], SurveyModel.prototype, "backgroundImageStyle", void 0);
|
79564
|
+
__decorate([
|
79565
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
79566
|
+
], SurveyModel.prototype, "wrapperFormCss", void 0);
|
79393
79567
|
__decorate([
|
79394
79568
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
79395
79569
|
], SurveyModel.prototype, "rootCss", void 0);
|
@@ -80074,8 +80248,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
80074
80248
|
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./list */ "./src/list.ts");
|
80075
80249
|
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./page */ "./src/page.ts");
|
80076
80250
|
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
80077
|
-
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
80078
|
-
|
80079
80251
|
|
80080
80252
|
|
80081
80253
|
|
@@ -80147,15 +80319,21 @@ var TOCModel = /** @class */ (function () {
|
|
80147
80319
|
function TOCModel(survey) {
|
80148
80320
|
var _this = this;
|
80149
80321
|
this.survey = survey;
|
80150
|
-
this.isMobile = _utils_devices__WEBPACK_IMPORTED_MODULE_5__["IsTouch"];
|
80151
80322
|
this.icon = "icon-navmenu_24x24";
|
80152
80323
|
this.togglePopup = function () {
|
80153
80324
|
_this.popupModel.toggleVisibility();
|
80154
80325
|
};
|
80155
80326
|
this.listModel = createTOCListModel(survey, function () { _this.popupModel.isVisible = false; });
|
80156
80327
|
this.popupModel = new _popup__WEBPACK_IMPORTED_MODULE_4__["PopupModel"]("sv-list", { model: this.listModel });
|
80157
|
-
this.popupModel.displayMode =
|
80328
|
+
this.popupModel.displayMode = new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return _this.isMobile ? "overlay" : "popup"; });
|
80158
80329
|
}
|
80330
|
+
Object.defineProperty(TOCModel.prototype, "isMobile", {
|
80331
|
+
get: function () {
|
80332
|
+
return this.survey.isMobile;
|
80333
|
+
},
|
80334
|
+
enumerable: false,
|
80335
|
+
configurable: true
|
80336
|
+
});
|
80159
80337
|
Object.defineProperty(TOCModel.prototype, "containerCss", {
|
80160
80338
|
get: function () {
|
80161
80339
|
return getTocRootCss(this.survey, this.isMobile);
|
@@ -80163,6 +80341,10 @@ var TOCModel = /** @class */ (function () {
|
|
80163
80341
|
enumerable: false,
|
80164
80342
|
configurable: true
|
80165
80343
|
});
|
80344
|
+
TOCModel.prototype.dispose = function () {
|
80345
|
+
this.popupModel.dispose();
|
80346
|
+
this.listModel.dispose();
|
80347
|
+
};
|
80166
80348
|
return TOCModel;
|
80167
80349
|
}());
|
80168
80350
|
|
@@ -80796,7 +80978,13 @@ var Trigger = /** @class */ (function (_super) {
|
|
80796
80978
|
if (!!this.conditionRunner) {
|
80797
80979
|
this.perform(values, properties);
|
80798
80980
|
}
|
80981
|
+
else {
|
80982
|
+
if (this.canSuccessOnEmptyExpression()) {
|
80983
|
+
this.triggerResult(true, values, properties);
|
80984
|
+
}
|
80985
|
+
}
|
80799
80986
|
};
|
80987
|
+
Trigger.prototype.canSuccessOnEmptyExpression = function () { return false; };
|
80800
80988
|
Trigger.prototype.check = function (value) {
|
80801
80989
|
var triggerResult = Trigger.operators[this.operator](value, this.value);
|
80802
80990
|
if (triggerResult) {
|
@@ -80856,9 +81044,14 @@ var Trigger = /** @class */ (function (_super) {
|
|
80856
81044
|
if (!keys)
|
80857
81045
|
return false;
|
80858
81046
|
this.createConditionRunner();
|
80859
|
-
if (this.conditionRunner.hasFunction() === true)
|
81047
|
+
if (this.conditionRunner && this.conditionRunner.hasFunction() === true)
|
80860
81048
|
return true;
|
80861
|
-
return new _conditionProcessValue__WEBPACK_IMPORTED_MODULE_5__["ProcessValue"]().isAnyKeyChanged(keys, this.
|
81049
|
+
return new _conditionProcessValue__WEBPACK_IMPORTED_MODULE_5__["ProcessValue"]().isAnyKeyChanged(keys, this.getUsedVariables());
|
81050
|
+
};
|
81051
|
+
Trigger.prototype.getUsedVariables = function () {
|
81052
|
+
if (!this.conditionRunner)
|
81053
|
+
return [];
|
81054
|
+
return this.conditionRunner.getVariables();
|
80862
81055
|
};
|
80863
81056
|
Trigger.prototype.createConditionRunner = function () {
|
80864
81057
|
if (!!this.conditionRunner)
|
@@ -81191,6 +81384,14 @@ var SurveyTriggerCopyValue = /** @class */ (function (_super) {
|
|
81191
81384
|
return;
|
81192
81385
|
this.owner.copyTriggerValue(this.setToName, this.fromName, this.copyDisplayValue);
|
81193
81386
|
};
|
81387
|
+
SurveyTriggerCopyValue.prototype.canSuccessOnEmptyExpression = function () { return true; };
|
81388
|
+
SurveyTriggerCopyValue.prototype.getUsedVariables = function () {
|
81389
|
+
var res = _super.prototype.getUsedVariables.call(this);
|
81390
|
+
if (res.length === 0 && !!this.fromName) {
|
81391
|
+
res.push(this.fromName);
|
81392
|
+
}
|
81393
|
+
return res;
|
81394
|
+
};
|
81194
81395
|
return SurveyTriggerCopyValue;
|
81195
81396
|
}(SurveyTrigger));
|
81196
81397
|
|
@@ -81923,7 +82124,7 @@ var VerticalResponsivityManager = /** @class */ (function (_super) {
|
|
81923
82124
|
/*!****************************!*\
|
81924
82125
|
!*** ./src/utils/utils.ts ***!
|
81925
82126
|
\****************************/
|
81926
|
-
/*! exports provided: unwrap, getRenderedSize, getRenderedStyleSize, doKey2ClickBlur, doKey2ClickUp, doKey2ClickDown, sanitizeEditableContent, Logger, 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 */
|
82127
|
+
/*! 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 */
|
81927
82128
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
81928
82129
|
|
81929
82130
|
"use strict";
|
@@ -81936,6 +82137,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
81936
82137
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickDown", function() { return doKey2ClickDown; });
|
81937
82138
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return sanitizeEditableContent; });
|
81938
82139
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Logger", function() { return Logger; });
|
82140
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "showConfirmDialog", function() { return showConfirmDialog; });
|
81939
82141
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mergeValues", function() { return mergeValues; });
|
81940
82142
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getElementWidth", function() { return getElementWidth; });
|
81941
82143
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isContainerVisible", function() { return isContainerVisible; });
|
@@ -81961,7 +82163,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
81961
82163
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "preventDefaults", function() { return preventDefaults; });
|
81962
82164
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "findParentByClassNames", function() { return findParentByClassNames; });
|
81963
82165
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getFirstVisibleChild", function() { return getFirstVisibleChild; });
|
81964
|
-
/* harmony import */ var
|
82166
|
+
/* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../localizablestring */ "./src/localizablestring.ts");
|
82167
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../settings */ "./src/settings.ts");
|
82168
|
+
/* harmony import */ var _surveyStrings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../surveyStrings */ "./src/surveyStrings.ts");
|
82169
|
+
|
82170
|
+
|
81965
82171
|
|
81966
82172
|
function compareVersions(a, b) {
|
81967
82173
|
var regExStrip0 = /(\.0+)+$/;
|
@@ -81977,8 +82183,8 @@ function compareVersions(a, b) {
|
|
81977
82183
|
return segmentsA.length - segmentsB.length;
|
81978
82184
|
}
|
81979
82185
|
function confirmAction(message) {
|
81980
|
-
if (!!
|
81981
|
-
return
|
82186
|
+
if (!!_settings__WEBPACK_IMPORTED_MODULE_1__["settings"] && !!_settings__WEBPACK_IMPORTED_MODULE_1__["settings"].confirmActionFunc)
|
82187
|
+
return _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].confirmActionFunc(message);
|
81982
82188
|
return confirm(message);
|
81983
82189
|
}
|
81984
82190
|
function confirmActionAsync(message, funcOnYes, funcOnNo) {
|
@@ -81988,8 +82194,8 @@ function confirmActionAsync(message, funcOnYes, funcOnNo) {
|
|
81988
82194
|
else if (!!funcOnNo)
|
81989
82195
|
funcOnNo();
|
81990
82196
|
};
|
81991
|
-
if (!!
|
81992
|
-
if (
|
82197
|
+
if (!!_settings__WEBPACK_IMPORTED_MODULE_1__["settings"] && !!_settings__WEBPACK_IMPORTED_MODULE_1__["settings"].confirmActionAsync) {
|
82198
|
+
if (_settings__WEBPACK_IMPORTED_MODULE_1__["settings"].confirmActionAsync(message, callbackFunc))
|
81993
82199
|
return;
|
81994
82200
|
}
|
81995
82201
|
callbackFunc(confirmAction(message));
|
@@ -82045,15 +82251,15 @@ var isShadowDOM = function (rootElement) {
|
|
82045
82251
|
return !!rootElement && !!("host" in rootElement && rootElement.host);
|
82046
82252
|
};
|
82047
82253
|
var getElement = function (element) {
|
82048
|
-
var root =
|
82254
|
+
var root = _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].environment.root;
|
82049
82255
|
return typeof element === "string" ? root.getElementById(element) : element;
|
82050
82256
|
};
|
82051
82257
|
function isElementVisible(element, threshold) {
|
82052
82258
|
if (threshold === void 0) { threshold = 0; }
|
82053
|
-
if (typeof
|
82259
|
+
if (typeof _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].environment === "undefined") {
|
82054
82260
|
return false;
|
82055
82261
|
}
|
82056
|
-
var root =
|
82262
|
+
var root = _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].environment.root;
|
82057
82263
|
var clientHeight = isShadowDOM(root)
|
82058
82264
|
? root.host.clientHeight
|
82059
82265
|
: root.documentElement.clientHeight;
|
@@ -82068,7 +82274,7 @@ function isElementVisible(element, threshold) {
|
|
82068
82274
|
return maxTop <= minBottom;
|
82069
82275
|
}
|
82070
82276
|
function findScrollableParent(element) {
|
82071
|
-
var root =
|
82277
|
+
var root = _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].environment.root;
|
82072
82278
|
if (!element) {
|
82073
82279
|
return isShadowDOM(root)
|
82074
82280
|
? root.host
|
@@ -82087,7 +82293,7 @@ function findScrollableParent(element) {
|
|
82087
82293
|
return findScrollableParent(element.parentElement);
|
82088
82294
|
}
|
82089
82295
|
function scrollElementByChildId(id) {
|
82090
|
-
var environment =
|
82296
|
+
var environment = _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].environment;
|
82091
82297
|
if (!environment)
|
82092
82298
|
return;
|
82093
82299
|
var root = environment.root;
|
@@ -82110,7 +82316,7 @@ function wrapUrlForBackgroundImage(url) {
|
|
82110
82316
|
function getIconNameFromProxy(iconName) {
|
82111
82317
|
if (!iconName)
|
82112
82318
|
return iconName;
|
82113
|
-
var proxyName =
|
82319
|
+
var proxyName = _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].customIcons[iconName];
|
82114
82320
|
return !!proxyName ? proxyName : iconName;
|
82115
82321
|
}
|
82116
82322
|
function createSvg(size, width, height, iconName, svgElem, title) {
|
@@ -82333,6 +82539,34 @@ var Logger = /** @class */ (function () {
|
|
82333
82539
|
return Logger;
|
82334
82540
|
}());
|
82335
82541
|
|
82542
|
+
function showConfirmDialog(message, callback) {
|
82543
|
+
var locStr = new _localizablestring__WEBPACK_IMPORTED_MODULE_0__["LocalizableString"](undefined);
|
82544
|
+
var popupViewModel = _settings__WEBPACK_IMPORTED_MODULE_1__["settings"].showDialog({
|
82545
|
+
componentName: "sv-string-viewer",
|
82546
|
+
data: { locStr: locStr, locString: locStr, model: locStr },
|
82547
|
+
onApply: function () {
|
82548
|
+
callback(true);
|
82549
|
+
return true;
|
82550
|
+
},
|
82551
|
+
onCancel: function () {
|
82552
|
+
callback(false);
|
82553
|
+
return false;
|
82554
|
+
},
|
82555
|
+
title: message,
|
82556
|
+
displayMode: "popup",
|
82557
|
+
isFocusedContent: false,
|
82558
|
+
cssClass: "sv-popup--confirm-delete"
|
82559
|
+
}, /*settings.rootElement*/ document.body); //TODO survey root
|
82560
|
+
var toolbar = popupViewModel.footerToolbar;
|
82561
|
+
var applyBtn = toolbar.getActionById("apply");
|
82562
|
+
var cancelBtn = toolbar.getActionById("cancel");
|
82563
|
+
cancelBtn.title = _surveyStrings__WEBPACK_IMPORTED_MODULE_2__["surveyLocalization"].getString("cancel");
|
82564
|
+
cancelBtn.innerCss = "sv-popup__body-footer-item sv-popup__button sd-btn sd-btn--small";
|
82565
|
+
applyBtn.title = _surveyStrings__WEBPACK_IMPORTED_MODULE_2__["surveyLocalization"].getString("ok");
|
82566
|
+
applyBtn.innerCss = "sv-popup__body-footer-item sv-popup__button sv-popup__button--danger sd-btn sd-btn--small sd-btn--danger";
|
82567
|
+
popupViewModel.width = "452px";
|
82568
|
+
return true;
|
82569
|
+
}
|
82336
82570
|
|
82337
82571
|
|
82338
82572
|
|