survey-react 1.9.117 → 1.9.119
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 +125 -42
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +5 -2
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +5 -2
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +173 -42
- package/survey.react.js +666 -341
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +4 -4
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.119
|
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
|
*/
|
@@ -112,7 +112,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
112
112
|
__webpack_require__.r(__webpack_exports__);
|
113
113
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return SignaturePad; });
|
114
114
|
/*!
|
115
|
-
* Signature Pad v4.1.
|
115
|
+
* Signature Pad v4.1.7 | https://github.com/szimek/signature_pad
|
116
116
|
* (c) 2023 Szymon Nowak | Released under the MIT license
|
117
117
|
*/
|
118
118
|
|
@@ -143,14 +143,6 @@ class Point {
|
|
143
143
|
}
|
144
144
|
|
145
145
|
class Bezier {
|
146
|
-
constructor(startPoint, control2, control1, endPoint, startWidth, endWidth) {
|
147
|
-
this.startPoint = startPoint;
|
148
|
-
this.control2 = control2;
|
149
|
-
this.control1 = control1;
|
150
|
-
this.endPoint = endPoint;
|
151
|
-
this.startWidth = startWidth;
|
152
|
-
this.endWidth = endWidth;
|
153
|
-
}
|
154
146
|
static fromPoints(points, widths) {
|
155
147
|
const c2 = this.calculateControlPoints(points[0], points[1], points[2]).c2;
|
156
148
|
const c3 = this.calculateControlPoints(points[1], points[2], points[3]).c1;
|
@@ -176,6 +168,14 @@ class Bezier {
|
|
176
168
|
c2: new Point(m2.x + tx, m2.y + ty),
|
177
169
|
};
|
178
170
|
}
|
171
|
+
constructor(startPoint, control2, control1, endPoint, startWidth, endWidth) {
|
172
|
+
this.startPoint = startPoint;
|
173
|
+
this.control2 = control2;
|
174
|
+
this.control1 = control1;
|
175
|
+
this.endPoint = endPoint;
|
176
|
+
this.startWidth = startWidth;
|
177
|
+
this.endWidth = endWidth;
|
178
|
+
}
|
179
179
|
length() {
|
180
180
|
const steps = 10;
|
181
181
|
let length = 0;
|
@@ -266,7 +266,7 @@ class SignaturePad extends SignatureEventTarget {
|
|
266
266
|
constructor(canvas, options = {}) {
|
267
267
|
super();
|
268
268
|
this.canvas = canvas;
|
269
|
-
this.
|
269
|
+
this._drawingStroke = false;
|
270
270
|
this._isEmpty = true;
|
271
271
|
this._lastPoints = [];
|
272
272
|
this._data = [];
|
@@ -274,18 +274,14 @@ class SignaturePad extends SignatureEventTarget {
|
|
274
274
|
this._lastWidth = 0;
|
275
275
|
this._handleMouseDown = (event) => {
|
276
276
|
if (event.buttons === 1) {
|
277
|
-
this._drawningStroke = true;
|
278
277
|
this._strokeBegin(event);
|
279
278
|
}
|
280
279
|
};
|
281
280
|
this._handleMouseMove = (event) => {
|
282
|
-
|
283
|
-
this._strokeMoveUpdate(event);
|
284
|
-
}
|
281
|
+
this._strokeMoveUpdate(event);
|
285
282
|
};
|
286
283
|
this._handleMouseUp = (event) => {
|
287
|
-
if (event.buttons === 1
|
288
|
-
this._drawningStroke = false;
|
284
|
+
if (event.buttons === 1) {
|
289
285
|
this._strokeEnd(event);
|
290
286
|
}
|
291
287
|
};
|
@@ -316,20 +312,15 @@ class SignaturePad extends SignatureEventTarget {
|
|
316
312
|
}
|
317
313
|
};
|
318
314
|
this._handlePointerStart = (event) => {
|
319
|
-
this._drawningStroke = true;
|
320
315
|
event.preventDefault();
|
321
316
|
this._strokeBegin(event);
|
322
317
|
};
|
323
318
|
this._handlePointerMove = (event) => {
|
324
|
-
|
325
|
-
event.preventDefault();
|
326
|
-
this._strokeMoveUpdate(event);
|
327
|
-
}
|
319
|
+
this._strokeMoveUpdate(event);
|
328
320
|
};
|
329
321
|
this._handlePointerEnd = (event) => {
|
330
|
-
if (this.
|
322
|
+
if (this._drawingStroke) {
|
331
323
|
event.preventDefault();
|
332
|
-
this._drawningStroke = false;
|
333
324
|
this._strokeEnd(event);
|
334
325
|
}
|
335
326
|
};
|
@@ -450,7 +441,11 @@ class SignaturePad extends SignatureEventTarget {
|
|
450
441
|
};
|
451
442
|
}
|
452
443
|
_strokeBegin(event) {
|
453
|
-
this.dispatchEvent(new CustomEvent('beginStroke', { detail: event }));
|
444
|
+
const cancelled = !this.dispatchEvent(new CustomEvent('beginStroke', { detail: event, cancelable: true }));
|
445
|
+
if (cancelled) {
|
446
|
+
return;
|
447
|
+
}
|
448
|
+
this._drawingStroke = true;
|
454
449
|
const pointGroupOptions = this._getPointGroupOptions();
|
455
450
|
const newPointGroup = Object.assign(Object.assign({}, pointGroupOptions), { points: [] });
|
456
451
|
this._data.push(newPointGroup);
|
@@ -458,6 +453,9 @@ class SignaturePad extends SignatureEventTarget {
|
|
458
453
|
this._strokeUpdate(event);
|
459
454
|
}
|
460
455
|
_strokeUpdate(event) {
|
456
|
+
if (!this._drawingStroke) {
|
457
|
+
return;
|
458
|
+
}
|
461
459
|
if (this._data.length === 0) {
|
462
460
|
this._strokeBegin(event);
|
463
461
|
return;
|
@@ -496,17 +494,21 @@ class SignaturePad extends SignatureEventTarget {
|
|
496
494
|
this.dispatchEvent(new CustomEvent('afterUpdateStroke', { detail: event }));
|
497
495
|
}
|
498
496
|
_strokeEnd(event) {
|
497
|
+
if (!this._drawingStroke) {
|
498
|
+
return;
|
499
|
+
}
|
499
500
|
this._strokeUpdate(event);
|
501
|
+
this._drawingStroke = false;
|
500
502
|
this.dispatchEvent(new CustomEvent('endStroke', { detail: event }));
|
501
503
|
}
|
502
504
|
_handlePointerEvents() {
|
503
|
-
this.
|
505
|
+
this._drawingStroke = false;
|
504
506
|
this.canvas.addEventListener('pointerdown', this._handlePointerStart);
|
505
507
|
this.canvas.addEventListener('pointermove', this._handlePointerMove);
|
506
508
|
this.canvas.ownerDocument.addEventListener('pointerup', this._handlePointerEnd);
|
507
509
|
}
|
508
510
|
_handleMouseEvents() {
|
509
|
-
this.
|
511
|
+
this._drawingStroke = false;
|
510
512
|
this.canvas.addEventListener('mousedown', this._handleMouseDown);
|
511
513
|
this.canvas.addEventListener('mousemove', this._handleMouseMove);
|
512
514
|
this.canvas.ownerDocument.addEventListener('mouseup', this._handleMouseUp);
|
@@ -2135,7 +2137,7 @@ var Base = /** @class */ (function () {
|
|
2135
2137
|
Base.prototype.resetPropertyValue = function (name) {
|
2136
2138
|
var locStr = this.localizableStrings ? this.localizableStrings[name] : undefined;
|
2137
2139
|
if (locStr) {
|
2138
|
-
locStr.
|
2140
|
+
locStr.clear();
|
2139
2141
|
}
|
2140
2142
|
else {
|
2141
2143
|
this.setPropertyValue(name, undefined);
|
@@ -3967,7 +3969,20 @@ var ProcessValue = /** @class */ (function () {
|
|
3967
3969
|
return res;
|
3968
3970
|
};
|
3969
3971
|
ProcessValue.prototype.getNonNestedObject = function (obj, text, createPath) {
|
3970
|
-
var
|
3972
|
+
var checkedKeys = new Array();
|
3973
|
+
var len = 0;
|
3974
|
+
var res = this.getNonNestedObjectCore(obj, text, createPath, checkedKeys);
|
3975
|
+
while (!res && len < checkedKeys.length) {
|
3976
|
+
len = checkedKeys.length;
|
3977
|
+
res = this.getNonNestedObjectCore(obj, text, createPath, checkedKeys);
|
3978
|
+
}
|
3979
|
+
return res;
|
3980
|
+
};
|
3981
|
+
ProcessValue.prototype.getNonNestedObjectCore = function (obj, text, createPath, checkedKeys) {
|
3982
|
+
var curName = this.getFirstPropertyName(text, obj, createPath, checkedKeys);
|
3983
|
+
if (!!curName) {
|
3984
|
+
checkedKeys.push(curName);
|
3985
|
+
}
|
3971
3986
|
var path = !!curName ? [curName] : null;
|
3972
3987
|
while (text != curName && !!obj) {
|
3973
3988
|
var isArray = text[0] == "[";
|
@@ -3990,7 +4005,7 @@ var ProcessValue = /** @class */ (function () {
|
|
3990
4005
|
if (!!text && text[0] == ".") {
|
3991
4006
|
text = text.substring(1);
|
3992
4007
|
}
|
3993
|
-
curName = this.getFirstPropertyName(text, obj, createPath);
|
4008
|
+
curName = this.getFirstPropertyName(text, obj, createPath, checkedKeys);
|
3994
4009
|
if (!!curName) {
|
3995
4010
|
path.push(curName);
|
3996
4011
|
}
|
@@ -4012,8 +4027,9 @@ var ProcessValue = /** @class */ (function () {
|
|
4012
4027
|
return null;
|
4013
4028
|
return { value: curValue[index], text: text, index: index };
|
4014
4029
|
};
|
4015
|
-
ProcessValue.prototype.getFirstPropertyName = function (name, obj, createProp) {
|
4030
|
+
ProcessValue.prototype.getFirstPropertyName = function (name, obj, createProp, checkedKeys) {
|
4016
4031
|
if (createProp === void 0) { createProp = false; }
|
4032
|
+
if (checkedKeys === void 0) { checkedKeys = undefined; }
|
4017
4033
|
if (!name)
|
4018
4034
|
return name;
|
4019
4035
|
if (!obj)
|
@@ -4024,6 +4040,8 @@ var ProcessValue = /** @class */ (function () {
|
|
4024
4040
|
var A = nameInLow[0];
|
4025
4041
|
var a = A.toUpperCase();
|
4026
4042
|
for (var key in obj) {
|
4043
|
+
if (Array.isArray(checkedKeys) && checkedKeys.indexOf(key) > -1)
|
4044
|
+
continue;
|
4027
4045
|
var first = key[0];
|
4028
4046
|
if (first === a || first === A) {
|
4029
4047
|
var keyName = key.toLowerCase();
|
@@ -4820,6 +4838,7 @@ var modernCss = {
|
|
4820
4838
|
},
|
4821
4839
|
saveData: {
|
4822
4840
|
root: "sv-save-data_root",
|
4841
|
+
rootWithButtons: "sv-save-data_root--with-buttons",
|
4823
4842
|
info: "sv-save-data_info",
|
4824
4843
|
error: "sv-save-data_error",
|
4825
4844
|
success: "sv-save-data_success",
|
@@ -5212,6 +5231,7 @@ var defaultStandardCss = {
|
|
5212
5231
|
},
|
5213
5232
|
saveData: {
|
5214
5233
|
root: "sv-save-data_root",
|
5234
|
+
rootWithButtons: "sv-save-data_root--with-buttons",
|
5215
5235
|
info: "sv-save-data_info",
|
5216
5236
|
error: "sv-save-data_error",
|
5217
5237
|
success: "sv-save-data_success",
|
@@ -5361,7 +5381,8 @@ var defaultV2Css = {
|
|
5361
5381
|
nested: "sd-element--nested sd-element--nested-with-borders",
|
5362
5382
|
invisible: "sd-element--invisible",
|
5363
5383
|
navigationButton: "",
|
5364
|
-
compact: "sd-element--with-frame sd-element--compact"
|
5384
|
+
compact: "sd-element--with-frame sd-element--compact",
|
5385
|
+
errorsContainer: "sd-panel__errbox sd-element__erbox sd-element__erbox--above-element"
|
5365
5386
|
},
|
5366
5387
|
paneldynamic: {
|
5367
5388
|
mainRoot: "sd-element sd-question sd-question--paneldynamic sd-element--complex sd-question--complex sd-row__question",
|
@@ -5427,7 +5448,8 @@ var defaultV2Css = {
|
|
5427
5448
|
root: "sd-page sd-body__page",
|
5428
5449
|
emptyHeaderRoot: "sd-page__empty-header",
|
5429
5450
|
title: "sd-title sd-page__title",
|
5430
|
-
description: "sd-description sd-page__description"
|
5451
|
+
description: "sd-description sd-page__description",
|
5452
|
+
errorsContainer: "sd-page__errbox"
|
5431
5453
|
},
|
5432
5454
|
pageTitle: "sd-title sd-page__title",
|
5433
5455
|
pageDescription: "sd-description sd-page__description",
|
@@ -5482,6 +5504,9 @@ var defaultV2Css = {
|
|
5482
5504
|
invisible: "sd-element--invisible",
|
5483
5505
|
composite: "sd-element--complex",
|
5484
5506
|
disabled: "sd-question--disabled",
|
5507
|
+
errorsContainer: "sd-element__erbox sd-question__erbox",
|
5508
|
+
errorsContainerTop: "sd-element__erbox--above-element sd-question__erbox--above-question",
|
5509
|
+
errorsContainerBottom: "sd-question__erbox--below-question"
|
5485
5510
|
},
|
5486
5511
|
image: {
|
5487
5512
|
mainRoot: "sd-question sd-question--image",
|
@@ -5498,14 +5523,11 @@ var defaultV2Css = {
|
|
5498
5523
|
withFrame: ""
|
5499
5524
|
},
|
5500
5525
|
error: {
|
5501
|
-
root: "sd-
|
5526
|
+
root: "sd-error",
|
5502
5527
|
icon: "",
|
5503
5528
|
item: "",
|
5504
|
-
|
5505
|
-
|
5506
|
-
belowQuestion: "sd-question__erbox--below-question",
|
5507
|
-
locationTop: "sd-question__erbox--location--top",
|
5508
|
-
locationBottom: "sd-question__erbox--location--bottom"
|
5529
|
+
locationTop: "",
|
5530
|
+
locationBottom: ""
|
5509
5531
|
},
|
5510
5532
|
checkbox: {
|
5511
5533
|
root: "sd-selectbase",
|
@@ -5724,6 +5746,8 @@ var defaultV2Css = {
|
|
5724
5746
|
rowHasEndActions: "sd-table__row--has-end-actions",
|
5725
5747
|
headerCell: "sd-table__cell sd-table__cell--header",
|
5726
5748
|
rowTextCell: "sd-table__cell sd-table__cell--row-text",
|
5749
|
+
footerCell: "sd-table__cell sd-table__cell--footer",
|
5750
|
+
footerTotalCell: "sd-table__cell sd-table__cell--footer-total",
|
5727
5751
|
columnTitleCell: "sd-table__cell--column-title",
|
5728
5752
|
cellRequiredText: "sd-question__required-text",
|
5729
5753
|
detailButton: "sd-table__cell--detail-button",
|
@@ -5759,6 +5783,7 @@ var defaultV2Css = {
|
|
5759
5783
|
itemCell: "sd-table__cell--item",
|
5760
5784
|
headerCell: "sd-table__cell sd-table__cell--header",
|
5761
5785
|
rowTextCell: "sd-table__cell sd-table__cell--row-text",
|
5786
|
+
footerCell: "sd-table__cell sd-table__cell--footer",
|
5762
5787
|
columnTitleCell: "sd-table__cell--column-title",
|
5763
5788
|
cellRequiredText: "sd-question__required-text",
|
5764
5789
|
button: "sd-action sd-matrixdynamic__btn",
|
@@ -5909,6 +5934,7 @@ var defaultV2Css = {
|
|
5909
5934
|
},
|
5910
5935
|
saveData: {
|
5911
5936
|
root: "sv-save-data_root",
|
5937
|
+
rootWithButtons: "sv-save-data_root--with-buttons",
|
5912
5938
|
info: "sv-save-data_info",
|
5913
5939
|
error: "sv-save-data_error",
|
5914
5940
|
success: "sv-save-data_success",
|
@@ -6174,7 +6200,10 @@ var DragDropPageHelperV1 = /** @class */ (function () {
|
|
6174
6200
|
allow: true,
|
6175
6201
|
target: this.dragDropInfo.target,
|
6176
6202
|
source: this.dragDropInfo.source,
|
6203
|
+
toElement: this.dragDropInfo.target,
|
6204
|
+
draggedElement: this.dragDropInfo.source,
|
6177
6205
|
parent: parent,
|
6206
|
+
fromElement: this.dragDropInfo.source ? this.dragDropInfo.source.parent : null,
|
6178
6207
|
insertAfter: insertAfter,
|
6179
6208
|
insertBefore: insertBefore,
|
6180
6209
|
};
|
@@ -6587,10 +6616,12 @@ var DragDropChoices = /** @class */ (function (_super) {
|
|
6587
6616
|
var draggedElementShortcut = document.createElement("div");
|
6588
6617
|
draggedElementShortcut.style.cssText = " \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1));\n background-color: var(--sjs-general-backcolor, var(--background, #fff));\n padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n border-radius: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n ";
|
6589
6618
|
var itemValueNode = draggedElementNode.closest("[data-sv-drop-target-item-value]");
|
6590
|
-
|
6619
|
+
this.imagepickerControlsNode = itemValueNode.querySelector(".svc-image-item-value-controls");
|
6591
6620
|
var imageContainerNode = itemValueNode.querySelector(".sd-imagepicker__image-container");
|
6592
6621
|
var imageNode = itemValueNode.querySelector(item.imageLink ? "img" : ".sd-imagepicker__no-image").cloneNode(true);
|
6593
|
-
|
6622
|
+
if (!!this.imagepickerControlsNode) {
|
6623
|
+
this.imagepickerControlsNode.style.display = "none";
|
6624
|
+
}
|
6594
6625
|
imageContainerNode.style.width = imageNode.width + "px";
|
6595
6626
|
imageContainerNode.style.height = imageNode.height + "px";
|
6596
6627
|
imageNode.style.objectFit = "cover";
|
@@ -6680,6 +6711,10 @@ var DragDropChoices = /** @class */ (function (_super) {
|
|
6680
6711
|
if (!!this.parentElement) {
|
6681
6712
|
this.updateVisibleChoices(this.parentElement);
|
6682
6713
|
}
|
6714
|
+
if (!!this.imagepickerControlsNode) {
|
6715
|
+
this.imagepickerControlsNode.style.display = "flex";
|
6716
|
+
this.imagepickerControlsNode = null;
|
6717
|
+
}
|
6683
6718
|
_super.prototype.clear.call(this);
|
6684
6719
|
};
|
6685
6720
|
DragDropChoices.prototype.updateVisibleChoices = function (parent) {
|
@@ -9384,8 +9419,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
9384
9419
|
//import "../../modern.scss";
|
9385
9420
|
var Version;
|
9386
9421
|
var ReleaseDate;
|
9387
|
-
Version = "" + "1.9.
|
9388
|
-
ReleaseDate = "" + "2023-11-
|
9422
|
+
Version = "" + "1.9.119";
|
9423
|
+
ReleaseDate = "" + "2023-11-28";
|
9389
9424
|
function checkLibraryVersion(ver, libraryName) {
|
9390
9425
|
if (Version != ver) {
|
9391
9426
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
@@ -10508,7 +10543,7 @@ var defaultBootstrapMaterialCss = _plugins_themes_bootstrapmaterial_cssbootstrap
|
|
10508
10543
|
/*!***************************************!*\
|
10509
10544
|
!*** ./src/entries/react-ui-model.ts ***!
|
10510
10545
|
\***************************************/
|
10511
|
-
/*! 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, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
|
10546
|
+
/*! exports provided: Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, RatingItem, RatingItemStar, RatingItemSmiley, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
|
10512
10547
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10513
10548
|
|
10514
10549
|
"use strict";
|
@@ -10577,210 +10612,213 @@ __webpack_require__.r(__webpack_exports__);
|
|
10577
10612
|
/* harmony import */ var _react_components_rating_rating_item_smiley__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../react/components/rating/rating-item-smiley */ "./src/react/components/rating/rating-item-smiley.tsx");
|
10578
10613
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RatingItemSmiley", function() { return _react_components_rating_rating_item_smiley__WEBPACK_IMPORTED_MODULE_15__["RatingItemSmiley"]; });
|
10579
10614
|
|
10580
|
-
/* harmony import */ var
|
10581
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10615
|
+
/* harmony import */ var _react_components_rating_rating_dropdown_item__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../react/components/rating/rating-dropdown-item */ "./src/react/components/rating/rating-dropdown-item.tsx");
|
10616
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RatingDropdownItem", function() { return _react_components_rating_rating_dropdown_item__WEBPACK_IMPORTED_MODULE_16__["RatingDropdownItem"]; });
|
10582
10617
|
|
10583
|
-
/* harmony import */ var
|
10584
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10618
|
+
/* harmony import */ var _react_tagbox_filter__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../react/tagbox-filter */ "./src/react/tagbox-filter.tsx");
|
10619
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TagboxFilterString", function() { return _react_tagbox_filter__WEBPACK_IMPORTED_MODULE_17__["TagboxFilterString"]; });
|
10585
10620
|
|
10586
|
-
/* harmony import */ var
|
10587
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10621
|
+
/* harmony import */ var _react_dropdown_item__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../react/dropdown-item */ "./src/react/dropdown-item.tsx");
|
10622
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionOptionItem", function() { return _react_dropdown_item__WEBPACK_IMPORTED_MODULE_18__["SurveyQuestionOptionItem"]; });
|
10588
10623
|
|
10589
|
-
/* harmony import */ var
|
10590
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10624
|
+
/* harmony import */ var _react_dropdown_base__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../react/dropdown-base */ "./src/react/dropdown-base.tsx");
|
10625
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionDropdownBase", function() { return _react_dropdown_base__WEBPACK_IMPORTED_MODULE_19__["SurveyQuestionDropdownBase"]; });
|
10591
10626
|
|
10592
|
-
/* harmony import */ var
|
10593
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10627
|
+
/* harmony import */ var _react_reactquestion_dropdown__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../react/reactquestion_dropdown */ "./src/react/reactquestion_dropdown.tsx");
|
10628
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionDropdown", function() { return _react_reactquestion_dropdown__WEBPACK_IMPORTED_MODULE_20__["SurveyQuestionDropdown"]; });
|
10594
10629
|
|
10595
|
-
/* harmony import */ var
|
10596
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10630
|
+
/* harmony import */ var _react_tagbox_item__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../react/tagbox-item */ "./src/react/tagbox-item.tsx");
|
10631
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionTagboxItem", function() { return _react_tagbox_item__WEBPACK_IMPORTED_MODULE_21__["SurveyQuestionTagboxItem"]; });
|
10597
10632
|
|
10598
|
-
/* harmony import */ var
|
10599
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10633
|
+
/* harmony import */ var _react_reactquestion_tagbox__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../react/reactquestion_tagbox */ "./src/react/reactquestion_tagbox.tsx");
|
10634
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionTagbox", function() { return _react_reactquestion_tagbox__WEBPACK_IMPORTED_MODULE_22__["SurveyQuestionTagbox"]; });
|
10600
10635
|
|
10601
|
-
/* harmony import */ var
|
10602
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10636
|
+
/* harmony import */ var _react_dropdown_select__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../react/dropdown-select */ "./src/react/dropdown-select.tsx");
|
10637
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionDropdownSelect", function() { return _react_dropdown_select__WEBPACK_IMPORTED_MODULE_23__["SurveyQuestionDropdownSelect"]; });
|
10603
10638
|
|
10604
|
-
/* harmony
|
10639
|
+
/* harmony import */ var _react_reactquestion_matrix__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../react/reactquestion_matrix */ "./src/react/reactquestion_matrix.tsx");
|
10640
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrix", function() { return _react_reactquestion_matrix__WEBPACK_IMPORTED_MODULE_24__["SurveyQuestionMatrix"]; });
|
10605
10641
|
|
10606
|
-
/* harmony
|
10607
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionHtml", function() { return _react_reactquestion_html__WEBPACK_IMPORTED_MODULE_24__["SurveyQuestionHtml"]; });
|
10642
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixRow", function() { return _react_reactquestion_matrix__WEBPACK_IMPORTED_MODULE_24__["SurveyQuestionMatrixRow"]; });
|
10608
10643
|
|
10609
|
-
/* harmony import */ var
|
10610
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10644
|
+
/* harmony import */ var _react_reactquestion_html__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../react/reactquestion_html */ "./src/react/reactquestion_html.tsx");
|
10645
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionHtml", function() { return _react_reactquestion_html__WEBPACK_IMPORTED_MODULE_25__["SurveyQuestionHtml"]; });
|
10611
10646
|
|
10612
|
-
/* harmony import */ var
|
10613
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10647
|
+
/* harmony import */ var _react_reactquestion_file__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../react/reactquestion_file */ "./src/react/reactquestion_file.tsx");
|
10648
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionFile", function() { return _react_reactquestion_file__WEBPACK_IMPORTED_MODULE_26__["SurveyQuestionFile"]; });
|
10614
10649
|
|
10615
|
-
/* harmony import */ var
|
10616
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10650
|
+
/* harmony import */ var _react_components_file_file_choose_button__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../react/components/file/file-choose-button */ "./src/react/components/file/file-choose-button.tsx");
|
10651
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyFileChooseButton", function() { return _react_components_file_file_choose_button__WEBPACK_IMPORTED_MODULE_27__["SurveyFileChooseButton"]; });
|
10617
10652
|
|
10618
|
-
/* harmony import */ var
|
10619
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10653
|
+
/* harmony import */ var _react_components_file_file_preview__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../react/components/file/file-preview */ "./src/react/components/file/file-preview.tsx");
|
10654
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyFilePreview", function() { return _react_components_file_file_preview__WEBPACK_IMPORTED_MODULE_28__["SurveyFilePreview"]; });
|
10620
10655
|
|
10621
|
-
/* harmony import */ var
|
10622
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10656
|
+
/* harmony import */ var _react_reactquestion_multipletext__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../react/reactquestion_multipletext */ "./src/react/reactquestion_multipletext.tsx");
|
10657
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMultipleText", function() { return _react_reactquestion_multipletext__WEBPACK_IMPORTED_MODULE_29__["SurveyQuestionMultipleText"]; });
|
10623
10658
|
|
10624
|
-
/* harmony
|
10659
|
+
/* harmony import */ var _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../react/reactquestion_radiogroup */ "./src/react/reactquestion_radiogroup.tsx");
|
10660
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadiogroup", function() { return _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_30__["SurveyQuestionRadiogroup"]; });
|
10625
10661
|
|
10626
|
-
/* harmony
|
10627
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionText", function() { return _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_30__["SurveyQuestionText"]; });
|
10662
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadioItem", function() { return _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_30__["SurveyQuestionRadioItem"]; });
|
10628
10663
|
|
10629
|
-
/* harmony import */ var
|
10630
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10664
|
+
/* harmony import */ var _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../react/reactquestion_text */ "./src/react/reactquestion_text.tsx");
|
10665
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionText", function() { return _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_31__["SurveyQuestionText"]; });
|
10631
10666
|
|
10632
|
-
/* harmony import */ var
|
10633
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10667
|
+
/* harmony import */ var _react_boolean__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../react/boolean */ "./src/react/boolean.tsx");
|
10668
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBoolean", function() { return _react_boolean__WEBPACK_IMPORTED_MODULE_32__["SurveyQuestionBoolean"]; });
|
10634
10669
|
|
10635
|
-
/* harmony import */ var
|
10636
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10670
|
+
/* harmony import */ var _react_boolean_checkbox__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../react/boolean-checkbox */ "./src/react/boolean-checkbox.tsx");
|
10671
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBooleanCheckbox", function() { return _react_boolean_checkbox__WEBPACK_IMPORTED_MODULE_33__["SurveyQuestionBooleanCheckbox"]; });
|
10637
10672
|
|
10638
|
-
/* harmony import */ var
|
10639
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10673
|
+
/* harmony import */ var _react_boolean_radio__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../react/boolean-radio */ "./src/react/boolean-radio.tsx");
|
10674
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBooleanRadio", function() { return _react_boolean_radio__WEBPACK_IMPORTED_MODULE_34__["SurveyQuestionBooleanRadio"]; });
|
10640
10675
|
|
10641
|
-
/* harmony import */ var
|
10642
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10676
|
+
/* harmony import */ var _react_reactquestion_empty__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../react/reactquestion_empty */ "./src/react/reactquestion_empty.tsx");
|
10677
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEmpty", function() { return _react_reactquestion_empty__WEBPACK_IMPORTED_MODULE_35__["SurveyQuestionEmpty"]; });
|
10643
10678
|
|
10644
|
-
/* harmony
|
10679
|
+
/* harmony import */ var _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../react/reactquestion_matrixdropdownbase */ "./src/react/reactquestion_matrixdropdownbase.tsx");
|
10680
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdownCell", function() { return _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_36__["SurveyQuestionMatrixDropdownCell"]; });
|
10645
10681
|
|
10646
|
-
/* harmony
|
10647
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdown", function() { return _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_36__["SurveyQuestionMatrixDropdown"]; });
|
10682
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdownBase", function() { return _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_36__["SurveyQuestionMatrixDropdownBase"]; });
|
10648
10683
|
|
10649
|
-
/* harmony import */ var
|
10650
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10684
|
+
/* harmony import */ var _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../react/reactquestion_matrixdropdown */ "./src/react/reactquestion_matrixdropdown.tsx");
|
10685
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdown", function() { return _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_37__["SurveyQuestionMatrixDropdown"]; });
|
10651
10686
|
|
10652
|
-
/* harmony
|
10687
|
+
/* harmony import */ var _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../react/reactquestion_matrixdynamic */ "./src/react/reactquestion_matrixdynamic.tsx");
|
10688
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamic", function() { return _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_38__["SurveyQuestionMatrixDynamic"]; });
|
10653
10689
|
|
10654
|
-
/* harmony
|
10655
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamic", function() { return _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_38__["SurveyQuestionPanelDynamic"]; });
|
10690
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicAddButton", function() { return _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_38__["SurveyQuestionMatrixDynamicAddButton"]; });
|
10656
10691
|
|
10657
|
-
/* harmony import */ var
|
10658
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10692
|
+
/* harmony import */ var _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../react/reactquestion_paneldynamic */ "./src/react/reactquestion_paneldynamic.tsx");
|
10693
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamic", function() { return _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_39__["SurveyQuestionPanelDynamic"]; });
|
10659
10694
|
|
10660
|
-
/* harmony import */ var
|
10661
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10695
|
+
/* harmony import */ var _react_reactSurveyProgress__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../react/reactSurveyProgress */ "./src/react/reactSurveyProgress.tsx");
|
10696
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgress", function() { return _react_reactSurveyProgress__WEBPACK_IMPORTED_MODULE_40__["SurveyProgress"]; });
|
10662
10697
|
|
10663
|
-
/* harmony import */ var
|
10664
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10698
|
+
/* harmony import */ var _react_reactSurveyProgressButtons__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../react/reactSurveyProgressButtons */ "./src/react/reactSurveyProgressButtons.tsx");
|
10699
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressButtons", function() { return _react_reactSurveyProgressButtons__WEBPACK_IMPORTED_MODULE_41__["SurveyProgressButtons"]; });
|
10665
10700
|
|
10666
|
-
/* harmony import */ var
|
10667
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10701
|
+
/* harmony import */ var _react_reactSurveyProgressToc__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../react/reactSurveyProgressToc */ "./src/react/reactSurveyProgressToc.tsx");
|
10702
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressToc", function() { return _react_reactSurveyProgressToc__WEBPACK_IMPORTED_MODULE_42__["SurveyProgressToc"]; });
|
10668
10703
|
|
10669
|
-
/* harmony import */ var
|
10670
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10704
|
+
/* harmony import */ var _react_reactquestion_rating__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../react/reactquestion_rating */ "./src/react/reactquestion_rating.tsx");
|
10705
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRating", function() { return _react_reactquestion_rating__WEBPACK_IMPORTED_MODULE_43__["SurveyQuestionRating"]; });
|
10671
10706
|
|
10672
|
-
/* harmony import */ var
|
10673
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10707
|
+
/* harmony import */ var _react_rating_dropdown__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../react/rating-dropdown */ "./src/react/rating-dropdown.tsx");
|
10708
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRatingDropdown", function() { return _react_rating_dropdown__WEBPACK_IMPORTED_MODULE_44__["SurveyQuestionRatingDropdown"]; });
|
10674
10709
|
|
10675
|
-
/* harmony import */ var
|
10676
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10710
|
+
/* harmony import */ var _react_reactquestion_expression__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../react/reactquestion_expression */ "./src/react/reactquestion_expression.tsx");
|
10711
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionExpression", function() { return _react_reactquestion_expression__WEBPACK_IMPORTED_MODULE_45__["SurveyQuestionExpression"]; });
|
10677
10712
|
|
10678
|
-
/* harmony
|
10713
|
+
/* harmony import */ var _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../react/react-popup-survey */ "./src/react/react-popup-survey.tsx");
|
10714
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurvey", function() { return _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_46__["PopupSurvey"]; });
|
10679
10715
|
|
10680
|
-
/* harmony
|
10681
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactQuestionFactory", function() { return _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_46__["ReactQuestionFactory"]; });
|
10716
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindow", function() { return _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_46__["SurveyWindow"]; });
|
10682
10717
|
|
10683
|
-
/* harmony import */ var
|
10684
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10718
|
+
/* harmony import */ var _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../react/reactquestion_factory */ "./src/react/reactquestion_factory.tsx");
|
10719
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactQuestionFactory", function() { return _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_47__["ReactQuestionFactory"]; });
|
10685
10720
|
|
10686
|
-
/* harmony import */ var
|
10687
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10721
|
+
/* harmony import */ var _react_element_factory__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../react/element-factory */ "./src/react/element-factory.tsx");
|
10722
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactElementFactory", function() { return _react_element_factory__WEBPACK_IMPORTED_MODULE_48__["ReactElementFactory"]; });
|
10688
10723
|
|
10689
|
-
/* harmony import */ var
|
10690
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10724
|
+
/* harmony import */ var _react_imagepicker__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../react/imagepicker */ "./src/react/imagepicker.tsx");
|
10725
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionImagePicker", function() { return _react_imagepicker__WEBPACK_IMPORTED_MODULE_49__["SurveyQuestionImagePicker"]; });
|
10691
10726
|
|
10692
|
-
/* harmony import */ var
|
10693
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10727
|
+
/* harmony import */ var _react_image__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../react/image */ "./src/react/image.tsx");
|
10728
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionImage", function() { return _react_image__WEBPACK_IMPORTED_MODULE_50__["SurveyQuestionImage"]; });
|
10694
10729
|
|
10695
|
-
/* harmony import */ var
|
10696
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10730
|
+
/* harmony import */ var _react_signaturepad__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../react/signaturepad */ "./src/react/signaturepad.tsx");
|
10731
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionSignaturePad", function() { return _react_signaturepad__WEBPACK_IMPORTED_MODULE_51__["SurveyQuestionSignaturePad"]; });
|
10697
10732
|
|
10698
|
-
/* harmony import */ var
|
10699
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10733
|
+
/* harmony import */ var _react_reactquestion_buttongroup__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../react/reactquestion_buttongroup */ "./src/react/reactquestion_buttongroup.tsx");
|
10734
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionButtonGroup", function() { return _react_reactquestion_buttongroup__WEBPACK_IMPORTED_MODULE_52__["SurveyQuestionButtonGroup"]; });
|
10700
10735
|
|
10701
|
-
/* harmony
|
10736
|
+
/* harmony import */ var _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../react/reactquestion_custom */ "./src/react/reactquestion_custom.tsx");
|
10737
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionCustom", function() { return _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_53__["SurveyQuestionCustom"]; });
|
10702
10738
|
|
10703
|
-
/* harmony
|
10704
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Popup", function() { return _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_53__["Popup"]; });
|
10739
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionComposite", function() { return _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_53__["SurveyQuestionComposite"]; });
|
10705
10740
|
|
10706
|
-
/* harmony import */ var
|
10707
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10741
|
+
/* harmony import */ var _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../react/components/popup/popup */ "./src/react/components/popup/popup.tsx");
|
10742
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Popup", function() { return _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_54__["Popup"]; });
|
10708
10743
|
|
10709
|
-
/* harmony import */ var
|
10710
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10744
|
+
/* harmony import */ var _react_components_list_list__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../react/components/list/list */ "./src/react/components/list/list.tsx");
|
10745
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "List", function() { return _react_components_list_list__WEBPACK_IMPORTED_MODULE_55__["List"]; });
|
10711
10746
|
|
10712
|
-
/* harmony import */ var
|
10713
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10747
|
+
/* harmony import */ var _react_components_title_title_actions__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../react/components/title/title-actions */ "./src/react/components/title/title-actions.tsx");
|
10748
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TitleActions", function() { return _react_components_title_title_actions__WEBPACK_IMPORTED_MODULE_56__["TitleActions"]; });
|
10714
10749
|
|
10715
|
-
/* harmony import */ var
|
10716
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10750
|
+
/* harmony import */ var _react_components_title_title_element__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../react/components/title/title-element */ "./src/react/components/title/title-element.tsx");
|
10751
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TitleElement", function() { return _react_components_title_title_element__WEBPACK_IMPORTED_MODULE_57__["TitleElement"]; });
|
10717
10752
|
|
10718
|
-
/* harmony import */ var
|
10719
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10753
|
+
/* harmony import */ var _react_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../react/components/action-bar/action-bar */ "./src/react/components/action-bar/action-bar.tsx");
|
10754
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyActionBar", function() { return _react_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_58__["SurveyActionBar"]; });
|
10720
10755
|
|
10721
|
-
/* harmony import */ var
|
10722
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10756
|
+
/* harmony import */ var _react_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../react/components/survey-header/logo-image */ "./src/react/components/survey-header/logo-image.tsx");
|
10757
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LogoImage", function() { return _react_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_59__["LogoImage"]; });
|
10723
10758
|
|
10724
|
-
/* harmony import */ var
|
10725
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10759
|
+
/* harmony import */ var _react_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../react/components/survey-header/survey-header */ "./src/react/components/survey-header/survey-header.tsx");
|
10760
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyHeader", function() { return _react_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_60__["SurveyHeader"]; });
|
10726
10761
|
|
10727
|
-
/* harmony import */ var
|
10728
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10762
|
+
/* harmony import */ var _react_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../react/components/svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
|
10763
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SvgIcon", function() { return _react_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_61__["SvgIcon"]; });
|
10729
10764
|
|
10730
|
-
/* harmony import */ var
|
10731
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10765
|
+
/* harmony import */ var _react_components_matrix_actions_remove_button_remove_button__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../react/components/matrix-actions/remove-button/remove-button */ "./src/react/components/matrix-actions/remove-button/remove-button.tsx");
|
10766
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicRemoveButton", function() { return _react_components_matrix_actions_remove_button_remove_button__WEBPACK_IMPORTED_MODULE_62__["SurveyQuestionMatrixDynamicRemoveButton"]; });
|
10732
10767
|
|
10733
|
-
/* harmony import */ var
|
10734
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10768
|
+
/* harmony import */ var _react_components_matrix_actions_detail_button_detail_button__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../react/components/matrix-actions/detail-button/detail-button */ "./src/react/components/matrix-actions/detail-button/detail-button.tsx");
|
10769
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDetailButton", function() { return _react_components_matrix_actions_detail_button_detail_button__WEBPACK_IMPORTED_MODULE_63__["SurveyQuestionMatrixDetailButton"]; });
|
10735
10770
|
|
10736
|
-
/* harmony import */ var
|
10737
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10771
|
+
/* harmony import */ var _react_components_matrix_actions_drag_drop_icon_drag_drop_icon__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../react/components/matrix-actions/drag-drop-icon/drag-drop-icon */ "./src/react/components/matrix-actions/drag-drop-icon/drag-drop-icon.tsx");
|
10772
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicDragDropIcon", function() { return _react_components_matrix_actions_drag_drop_icon_drag_drop_icon__WEBPACK_IMPORTED_MODULE_64__["SurveyQuestionMatrixDynamicDragDropIcon"]; });
|
10738
10773
|
|
10739
|
-
/* harmony import */ var
|
10740
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10774
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-add-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-add-btn.tsx");
|
10775
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicAddButton", function() { return _react_components_paneldynamic_actions_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_65__["SurveyQuestionPanelDynamicAddButton"]; });
|
10741
10776
|
|
10742
|
-
/* harmony import */ var
|
10743
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10777
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_remove_btn__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-remove-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-remove-btn.tsx");
|
10778
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicRemoveButton", function() { return _react_components_paneldynamic_actions_paneldynamic_remove_btn__WEBPACK_IMPORTED_MODULE_66__["SurveyQuestionPanelDynamicRemoveButton"]; });
|
10744
10779
|
|
10745
|
-
/* harmony import */ var
|
10746
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10780
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_prev_btn__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-prev-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-prev-btn.tsx");
|
10781
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicPrevButton", function() { return _react_components_paneldynamic_actions_paneldynamic_prev_btn__WEBPACK_IMPORTED_MODULE_67__["SurveyQuestionPanelDynamicPrevButton"]; });
|
10747
10782
|
|
10748
|
-
/* harmony import */ var
|
10749
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10783
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_next_btn__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-next-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-next-btn.tsx");
|
10784
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicNextButton", function() { return _react_components_paneldynamic_actions_paneldynamic_next_btn__WEBPACK_IMPORTED_MODULE_68__["SurveyQuestionPanelDynamicNextButton"]; });
|
10750
10785
|
|
10751
|
-
/* harmony import */ var
|
10752
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10786
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-progress-text */ "./src/react/components/paneldynamic-actions/paneldynamic-progress-text.tsx");
|
10787
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicProgressText", function() { return _react_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_69__["SurveyQuestionPanelDynamicProgressText"]; });
|
10753
10788
|
|
10754
|
-
/* harmony import */ var
|
10755
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10789
|
+
/* harmony import */ var _react_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../react/components/survey-actions/survey-nav-button */ "./src/react/components/survey-actions/survey-nav-button.tsx");
|
10790
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyNavigationButton", function() { return _react_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_70__["SurveyNavigationButton"]; });
|
10756
10791
|
|
10757
|
-
/* harmony import */ var
|
10758
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10792
|
+
/* harmony import */ var _react_components_matrix_row__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../react/components/matrix/row */ "./src/react/components/matrix/row.tsx");
|
10793
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRow", function() { return _react_components_matrix_row__WEBPACK_IMPORTED_MODULE_71__["MatrixRow"]; });
|
10759
10794
|
|
10760
|
-
/* harmony import */ var
|
10761
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10795
|
+
/* harmony import */ var _react_components_skeleton__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../react/components/skeleton */ "./src/react/components/skeleton.tsx");
|
10796
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Skeleton", function() { return _react_components_skeleton__WEBPACK_IMPORTED_MODULE_72__["Skeleton"]; });
|
10762
10797
|
|
10763
|
-
/* harmony import */ var
|
10764
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10798
|
+
/* harmony import */ var _react_components_notifier__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../react/components/notifier */ "./src/react/components/notifier.tsx");
|
10799
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NotifierComponent", function() { return _react_components_notifier__WEBPACK_IMPORTED_MODULE_73__["NotifierComponent"]; });
|
10765
10800
|
|
10766
|
-
/* harmony import */ var
|
10767
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10801
|
+
/* harmony import */ var _react_components_components_container__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../react/components/components-container */ "./src/react/components/components-container.tsx");
|
10802
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentsContainer", function() { return _react_components_components_container__WEBPACK_IMPORTED_MODULE_74__["ComponentsContainer"]; });
|
10768
10803
|
|
10769
|
-
/* harmony import */ var
|
10770
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10804
|
+
/* harmony import */ var _react_components_character_counter__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../react/components/character-counter */ "./src/react/components/character-counter.tsx");
|
10805
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounterComponent", function() { return _react_components_character_counter__WEBPACK_IMPORTED_MODULE_75__["CharacterCounterComponent"]; });
|
10771
10806
|
|
10772
|
-
/* harmony
|
10807
|
+
/* harmony import */ var _react_components_header__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../react/components/header */ "./src/react/components/header.tsx");
|
10808
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HeaderMobile", function() { return _react_components_header__WEBPACK_IMPORTED_MODULE_76__["HeaderMobile"]; });
|
10773
10809
|
|
10774
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10810
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HeaderCell", function() { return _react_components_header__WEBPACK_IMPORTED_MODULE_76__["HeaderCell"]; });
|
10775
10811
|
|
10776
|
-
/* harmony
|
10777
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_string_viewer__WEBPACK_IMPORTED_MODULE_76__["SurveyLocStringViewer"]; });
|
10812
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Header", function() { return _react_components_header__WEBPACK_IMPORTED_MODULE_76__["Header"]; });
|
10778
10813
|
|
10779
|
-
/* harmony import */ var
|
10780
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10814
|
+
/* harmony import */ var _react_string_viewer__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../react/string-viewer */ "./src/react/string-viewer.tsx");
|
10815
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_string_viewer__WEBPACK_IMPORTED_MODULE_77__["SurveyLocStringViewer"]; });
|
10781
10816
|
|
10782
|
-
/* harmony import */ var
|
10783
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10817
|
+
/* harmony import */ var _react_string_editor__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../react/string-editor */ "./src/react/string-editor.tsx");
|
10818
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return _react_string_editor__WEBPACK_IMPORTED_MODULE_78__["SurveyLocStringEditor"]; });
|
10819
|
+
|
10820
|
+
/* harmony import */ var _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../react/components/loading-indicator */ "./src/react/components/loading-indicator.tsx");
|
10821
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LoadingIndicatorComponent", function() { return _react_components_loading_indicator__WEBPACK_IMPORTED_MODULE_79__["LoadingIndicatorComponent"]; });
|
10784
10822
|
|
10785
10823
|
// react
|
10786
10824
|
|
@@ -10860,6 +10898,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
10860
10898
|
|
10861
10899
|
|
10862
10900
|
|
10901
|
+
|
10863
10902
|
|
10864
10903
|
|
10865
10904
|
//Uncomment to include the "date" question type.
|
@@ -10872,7 +10911,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
10872
10911
|
/*!******************************!*\
|
10873
10912
|
!*** ./src/entries/react.ts ***!
|
10874
10913
|
\******************************/
|
10875
|
-
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, 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, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
|
10914
|
+
/*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, 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, RatingDropdownItem, 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, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent */
|
10876
10915
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10877
10916
|
|
10878
10917
|
"use strict";
|
@@ -11373,6 +11412,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
11373
11412
|
|
11374
11413
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RatingItemSmiley", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["RatingItemSmiley"]; });
|
11375
11414
|
|
11415
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RatingDropdownItem", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["RatingDropdownItem"]; });
|
11416
|
+
|
11376
11417
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TagboxFilterString", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["TagboxFilterString"]; });
|
11377
11418
|
|
11378
11419
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionOptionItem", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["SurveyQuestionOptionItem"]; });
|
@@ -16700,7 +16741,7 @@ var Cover = /** @class */ (function (_super) {
|
|
16700
16741
|
|
16701
16742
|
_jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("cover", [
|
16702
16743
|
{ name: "height:number", minValue: 0, default: 256 },
|
16703
|
-
{ name: "inheritWidthFrom", default: "
|
16744
|
+
{ name: "inheritWidthFrom", default: "container" },
|
16704
16745
|
{ name: "textAreaWidth:number", minValue: 0, default: 512 },
|
16705
16746
|
{ name: "textGlowEnabled:boolean" },
|
16706
16747
|
{ name: "overlapEnabled:boolean" },
|
@@ -18761,6 +18802,11 @@ var JsonObjectProperty = /** @class */ (function () {
|
|
18761
18802
|
return ((value === false && (this.type == "boolean" || this.type == "switch")) ||
|
18762
18803
|
value === "" || _helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isValueEmpty(value));
|
18763
18804
|
};
|
18805
|
+
JsonObjectProperty.prototype.getSerializableValue = function (obj) {
|
18806
|
+
if (!!this.onSerializeValue)
|
18807
|
+
return this.onSerializeValue(obj);
|
18808
|
+
return this.getValue(obj);
|
18809
|
+
};
|
18764
18810
|
JsonObjectProperty.prototype.getValue = function (obj) {
|
18765
18811
|
if (this.onGetValue)
|
18766
18812
|
return this.onGetValue(obj);
|
@@ -19352,6 +19398,9 @@ var JsonMetadataClass = /** @class */ (function () {
|
|
19352
19398
|
if (!!propInfo.baseValue) {
|
19353
19399
|
prop.setBaseValue(propInfo.baseValue);
|
19354
19400
|
}
|
19401
|
+
if (propInfo.onSerializeValue) {
|
19402
|
+
prop.onSerializeValue = propInfo.onSerializeValue;
|
19403
|
+
}
|
19355
19404
|
if (propInfo.onGetValue) {
|
19356
19405
|
prop.onGetValue = propInfo.onGetValue;
|
19357
19406
|
}
|
@@ -20146,7 +20195,7 @@ var JsonObject = /** @class */ (function () {
|
|
20146
20195
|
if (property.isSerializable === false ||
|
20147
20196
|
(property.isLightSerializable === false && this.lightSerializing))
|
20148
20197
|
return;
|
20149
|
-
var value = property.
|
20198
|
+
var value = property.getSerializableValue(obj);
|
20150
20199
|
if (!storeDefaults && property.isDefaultValueByObj(obj, value))
|
20151
20200
|
return;
|
20152
20201
|
if (this.isValueArray(value)) {
|
@@ -22526,8 +22575,8 @@ var englishStrings = {
|
|
22526
22575
|
textMaxLength: "Please enter no more than {0} character(s).",
|
22527
22576
|
textMinMaxLength: "Please enter at least {0} and no more than {1} characters.",
|
22528
22577
|
minRowCountError: "Please fill in at least {0} row(s).",
|
22529
|
-
minSelectError: "Please select at least {0}
|
22530
|
-
maxSelectError: "Please select no more than {0}
|
22578
|
+
minSelectError: "Please select at least {0} option(s).",
|
22579
|
+
maxSelectError: "Please select no more than {0} option(s).",
|
22531
22580
|
numericMinMax: "The '{0}' should be at least {1} and at most {2}",
|
22532
22581
|
numericMin: "The '{0}' should be at least {1}",
|
22533
22582
|
numericMax: "The '{0}' should be at most {1}",
|
@@ -22536,6 +22585,7 @@ var englishStrings = {
|
|
22536
22585
|
urlRequestError: "The request returned error '{0}'. {1}",
|
22537
22586
|
urlGetChoicesError: "The request returned empty data or the 'path' property is incorrect",
|
22538
22587
|
exceedMaxSize: "The file size should not exceed {0}.",
|
22588
|
+
noUploadFilesHandler: "Files cannot be uploaded. Please add a handler for the 'onUploadFiles' event.",
|
22539
22589
|
otherRequiredError: "Response required: enter another value.",
|
22540
22590
|
uploadingFile: "Your file is uploading. Please wait several seconds and try again.",
|
22541
22591
|
loadingFile: "Loading...",
|
@@ -28424,9 +28474,19 @@ var QuestionMatrixBaseModel = /** @class */ (function (_super) {
|
|
28424
28474
|
enumerable: false,
|
28425
28475
|
configurable: true
|
28426
28476
|
});
|
28477
|
+
//a11y
|
28427
28478
|
QuestionMatrixBaseModel.prototype.getCellAriaLabel = function (rowTitle, columnTitle) {
|
28428
|
-
|
28479
|
+
var row = (this.getLocalizationString("matrix_row") || "row").toLocaleLowerCase();
|
28480
|
+
var column = (this.getLocalizationString("matrix_column") || "column").toLocaleLowerCase();
|
28481
|
+
return row + " " + rowTitle + ", " + column + " " + columnTitle;
|
28429
28482
|
};
|
28483
|
+
Object.defineProperty(QuestionMatrixBaseModel.prototype, "isNewA11yStructure", {
|
28484
|
+
get: function () {
|
28485
|
+
return true;
|
28486
|
+
},
|
28487
|
+
enumerable: false,
|
28488
|
+
configurable: true
|
28489
|
+
});
|
28430
28490
|
__decorate([
|
28431
28491
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])()
|
28432
28492
|
], QuestionMatrixBaseModel.prototype, "verticalAlign", void 0);
|
@@ -28606,6 +28666,7 @@ var Notifier = /** @class */ (function (_super) {
|
|
28606
28666
|
Notifier.prototype.getCssClass = function (type) {
|
28607
28667
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]()
|
28608
28668
|
.append(this.cssClasses.root)
|
28669
|
+
.append(this.cssClasses.rootWithButtons, this.actionBar.visibleActions.length > 0)
|
28609
28670
|
.append(this.cssClasses.info, type !== "error" && type !== "success")
|
28610
28671
|
.append(this.cssClasses.error, type === "error")
|
28611
28672
|
.append(this.cssClasses.success, type === "success")
|
@@ -28857,8 +28918,9 @@ var PageModel = /** @class */ (function (_super) {
|
|
28857
28918
|
configurable: true
|
28858
28919
|
});
|
28859
28920
|
PageModel.prototype.calcCssClasses = function (css) {
|
28860
|
-
var classes = { page: {}, pageTitle: "", pageDescription: "", row: "", rowMultiple: "", pageRow: "", rowCompact: "" };
|
28921
|
+
var classes = { page: {}, error: {}, pageTitle: "", pageDescription: "", row: "", rowMultiple: "", pageRow: "", rowCompact: "" };
|
28861
28922
|
this.copyCssClasses(classes.page, css.page);
|
28923
|
+
this.copyCssClasses(classes.error, css.error);
|
28862
28924
|
if (!!css.pageTitle) {
|
28863
28925
|
classes.pageTitle = css.pageTitle;
|
28864
28926
|
}
|
@@ -28906,6 +28968,11 @@ var PageModel = /** @class */ (function (_super) {
|
|
28906
28968
|
enumerable: false,
|
28907
28969
|
configurable: true
|
28908
28970
|
});
|
28971
|
+
PageModel.prototype.getCssError = function (cssClasses) {
|
28972
|
+
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__["CssClassBuilder"]()
|
28973
|
+
.append(_super.prototype.getCssError.call(this, cssClasses))
|
28974
|
+
.append(cssClasses.page.errorsContainer).toString();
|
28975
|
+
};
|
28909
28976
|
Object.defineProperty(PageModel.prototype, "navigationButtonsVisibility", {
|
28910
28977
|
/**
|
28911
28978
|
* Set this property to "hide" to make "Prev", "Next" and "Complete" buttons are invisible for this page. Set this property to "show" to make these buttons visible, even if survey showNavigationButtons property is false.
|
@@ -29402,7 +29469,7 @@ var PanelModelBase = /** @class */ (function (_super) {
|
|
29402
29469
|
Object.defineProperty(PanelModelBase.prototype, "hasTitle", {
|
29403
29470
|
get: function () {
|
29404
29471
|
return ((this.canShowTitle() && this.locTitle.textOrHtml.length > 0) ||
|
29405
|
-
(this.
|
29472
|
+
(this.isDesignMode && (this.showTitle && _settings__WEBPACK_IMPORTED_MODULE_7__["settings"].designMode.showEmptyTitles)));
|
29406
29473
|
},
|
29407
29474
|
enumerable: false,
|
29408
29475
|
configurable: true
|
@@ -30750,6 +30817,16 @@ var PanelModelBase = /** @class */ (function (_super) {
|
|
30750
30817
|
enumerable: false,
|
30751
30818
|
configurable: true
|
30752
30819
|
});
|
30820
|
+
Object.defineProperty(PanelModelBase.prototype, "cssError", {
|
30821
|
+
get: function () {
|
30822
|
+
return this.getCssError(this.cssClasses);
|
30823
|
+
},
|
30824
|
+
enumerable: false,
|
30825
|
+
configurable: true
|
30826
|
+
});
|
30827
|
+
PanelModelBase.prototype.getCssError = function (cssClasses) {
|
30828
|
+
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__["CssClassBuilder"]().append(cssClasses.error.root).toString();
|
30829
|
+
};
|
30753
30830
|
PanelModelBase.prototype.dispose = function () {
|
30754
30831
|
_super.prototype.dispose.call(this);
|
30755
30832
|
if (this.rows) {
|
@@ -30948,11 +31025,17 @@ var PanelModel = /** @class */ (function (_super) {
|
|
30948
31025
|
PanelModel.prototype.setNo = function (visibleIndex) {
|
30949
31026
|
this.setPropertyValue("no", _helpers__WEBPACK_IMPORTED_MODULE_1__["Helpers"].getNumberByIndex(this.visibleIndex, this.getStartIndex()));
|
30950
31027
|
};
|
31028
|
+
PanelModel.prototype.notifyStateChanged = function () {
|
31029
|
+
if (!this.isLoadingFromJson) {
|
31030
|
+
this.locTitle.strChanged();
|
31031
|
+
}
|
31032
|
+
_super.prototype.notifyStateChanged.call(this);
|
31033
|
+
};
|
30951
31034
|
PanelModel.prototype.createLocTitleProperty = function () {
|
30952
31035
|
var _this = this;
|
30953
31036
|
var locTitleValue = _super.prototype.createLocTitleProperty.call(this);
|
30954
31037
|
locTitleValue.onGetTextCallback = function (text) {
|
30955
|
-
if (!text && (_this.
|
31038
|
+
if (!text && (_this.state !== "default")) {
|
30956
31039
|
text = _this.name;
|
30957
31040
|
}
|
30958
31041
|
return text;
|
@@ -31125,26 +31208,17 @@ var PanelModel = /** @class */ (function (_super) {
|
|
31125
31208
|
enumerable: false,
|
31126
31209
|
configurable: true
|
31127
31210
|
});
|
31128
|
-
Object.defineProperty(PanelModel.prototype, "cssError", {
|
31129
|
-
get: function () {
|
31130
|
-
return this.getCssError(this.cssClasses);
|
31131
|
-
},
|
31132
|
-
enumerable: false,
|
31133
|
-
configurable: true
|
31134
|
-
});
|
31135
31211
|
Object.defineProperty(PanelModel.prototype, "showErrorsAbovePanel", {
|
31136
31212
|
get: function () {
|
31137
|
-
return this.isDefaultV2Theme;
|
31213
|
+
return this.isDefaultV2Theme && !this.showPanelAsPage;
|
31138
31214
|
},
|
31139
31215
|
enumerable: false,
|
31140
31216
|
configurable: true
|
31141
31217
|
});
|
31142
31218
|
PanelModel.prototype.getCssError = function (cssClasses) {
|
31143
|
-
var isDefaultV2Theme = this.isDefaultV2Theme;
|
31144
31219
|
var builder = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__["CssClassBuilder"]()
|
31145
|
-
.append(
|
31146
|
-
.append(
|
31147
|
-
.append(this.cssClasses.error.aboveQuestion, isDefaultV2Theme);
|
31220
|
+
.append(_super.prototype.getCssError.call(this, cssClasses))
|
31221
|
+
.append(cssClasses.panel.errorsContainer);
|
31148
31222
|
return builder.append("panel-error-root", builder.isEmpty()).toString();
|
31149
31223
|
};
|
31150
31224
|
PanelModel.prototype.onVisibleChanged = function () {
|
@@ -31165,16 +31239,23 @@ var PanelModel = /** @class */ (function (_super) {
|
|
31165
31239
|
this.survey.whenPanelFocusIn(this);
|
31166
31240
|
};
|
31167
31241
|
PanelModel.prototype.getHasFrameV2 = function () {
|
31168
|
-
return _super.prototype.getHasFrameV2.call(this) &&
|
31242
|
+
return _super.prototype.getHasFrameV2.call(this) && !this.showPanelAsPage;
|
31169
31243
|
};
|
31170
31244
|
PanelModel.prototype.getIsNested = function () {
|
31171
31245
|
return _super.prototype.getIsNested.call(this) && this.parent !== undefined;
|
31172
31246
|
};
|
31247
|
+
Object.defineProperty(PanelModel.prototype, "showPanelAsPage", {
|
31248
|
+
get: function () {
|
31249
|
+
return !!this.originalPage && !this.survey.isShowingPreview;
|
31250
|
+
},
|
31251
|
+
enumerable: false,
|
31252
|
+
configurable: true
|
31253
|
+
});
|
31173
31254
|
PanelModel.prototype.getCssRoot = function (cssClasses) {
|
31174
31255
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__["CssClassBuilder"]()
|
31175
31256
|
.append(_super.prototype.getCssRoot.call(this, cssClasses))
|
31176
31257
|
.append(cssClasses.container)
|
31177
|
-
.append(cssClasses.asPage,
|
31258
|
+
.append(cssClasses.asPage, this.showPanelAsPage)
|
31178
31259
|
.append(cssClasses.invisible, !this.isDesignMode && this.areInvisibleElementsShowing && !this.visible)
|
31179
31260
|
.toString();
|
31180
31261
|
};
|
@@ -34992,16 +35073,6 @@ var Question = /** @class */ (function (_super) {
|
|
34992
35073
|
this.updateCommentElements();
|
34993
35074
|
}
|
34994
35075
|
};
|
34995
|
-
Question.prototype.onCompositionUpdateComment = function (event) {
|
34996
|
-
var _this = this;
|
34997
|
-
if (this.isInputTextUpdate) {
|
34998
|
-
setTimeout(function () {
|
34999
|
-
if (event.target) {
|
35000
|
-
_this.comment = event.target.value;
|
35001
|
-
}
|
35002
|
-
}, 1);
|
35003
|
-
}
|
35004
|
-
};
|
35005
35076
|
Question.prototype.onCommentChange = function (event) {
|
35006
35077
|
this.comment = event.target.value;
|
35007
35078
|
if (this.comment !== event.target.value) {
|
@@ -35265,9 +35336,9 @@ var Question = /** @class */ (function (_super) {
|
|
35265
35336
|
Question.prototype.getCssError = function (cssClasses) {
|
35266
35337
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
|
35267
35338
|
.append(cssClasses.error.root)
|
35268
|
-
.append(cssClasses.
|
35269
|
-
.append(cssClasses.
|
35270
|
-
.append(cssClasses.
|
35339
|
+
.append(cssClasses.errorsContainer, this.showErrorsBelowQuestion || this.showErrorsAboveQuestion)
|
35340
|
+
.append(cssClasses.errorsContainerTop, this.showErrorsAboveQuestion)
|
35341
|
+
.append(cssClasses.errorsContainerBottom, this.showErrorsBelowQuestion)
|
35271
35342
|
.append(cssClasses.error.locationTop, this.showErrorOnTop)
|
35272
35343
|
.append(cssClasses.error.locationBottom, this.showErrorOnBottom)
|
35273
35344
|
.toString();
|
@@ -35529,6 +35600,7 @@ var Question = /** @class */ (function (_super) {
|
|
35529
35600
|
* @see otherItem
|
35530
35601
|
* @see otherErrorText
|
35531
35602
|
* @see showCommentArea
|
35603
|
+
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
35532
35604
|
*/
|
35533
35605
|
get: function () {
|
35534
35606
|
return this.getPropertyValue("showOtherItem", false);
|
@@ -35993,6 +36065,8 @@ var Question = /** @class */ (function (_super) {
|
|
35993
36065
|
* - `{row.other_question_name}` (to access questions inside the same dynamic matrix or multi-column dropdown)
|
35994
36066
|
*
|
35995
36067
|
* An expression can also include built-in and custom functions for advanced calculations. For example, if the `defaultValue` should be today's date, set the `defaultValueExpression` to `"today()"`, and the corresponding built-in function will be executed each time the survey is loaded. Refer to the following help topic for more information: [Built-In Functions](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#built-in-functions).
|
36068
|
+
*
|
36069
|
+
* [View Demo](https://surveyjs.io/form-library/examples/specify-default-question-value-dynamically (linkStyle))
|
35996
36070
|
* @see defaultValue
|
35997
36071
|
* @see setValueExpression
|
35998
36072
|
*/
|
@@ -36698,7 +36772,7 @@ var Question = /** @class */ (function (_super) {
|
|
36698
36772
|
});
|
36699
36773
|
}
|
36700
36774
|
else {
|
36701
|
-
this.updateValueFromSurveyCore(newValue,
|
36775
|
+
this.updateValueFromSurveyCore(newValue, this.data !== this.getSurvey());
|
36702
36776
|
}
|
36703
36777
|
this.updateDependedQuestions();
|
36704
36778
|
this.updateIsAnswered();
|
@@ -37699,6 +37773,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
37699
37773
|
* When users select the "None" item in multi-select questions, all other items become unselected.
|
37700
37774
|
* @see noneItem
|
37701
37775
|
* @see noneText
|
37776
|
+
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
37702
37777
|
*/
|
37703
37778
|
get: function () {
|
37704
37779
|
return this.getPropertyValue("showNoneItem");
|
@@ -38180,6 +38255,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
38180
38255
|
*
|
38181
38256
|
* [View Demo](https://surveyjs.io/form-library/examples/questiontype-dropdownrestfull/ (linkStyle))
|
38182
38257
|
* @see choices
|
38258
|
+
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
38183
38259
|
*/
|
38184
38260
|
get: function () {
|
38185
38261
|
return this.getPropertyValue("choicesByUrl");
|
@@ -38213,6 +38289,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
38213
38289
|
* If you need to specify only the `value` property, you can set the `choices` property to an array of primitive values, for example, `[ "item1", "item2", "item3" ]`. These values are both saved in survey results and used as display text.
|
38214
38290
|
* @see choicesByUrl
|
38215
38291
|
* @see choicesFromQuestion
|
38292
|
+
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
38216
38293
|
*/
|
38217
38294
|
get: function () {
|
38218
38295
|
return this.getPropertyValue("choices");
|
@@ -38355,6 +38432,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
38355
38432
|
* - `"asc"`- Sorts choice items in ascending order.
|
38356
38433
|
* - `"desc"`- Sorts choice items in ascending order.
|
38357
38434
|
* - `"random"` - Displays choice items in random order.
|
38435
|
+
* @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
|
38358
38436
|
*/
|
38359
38437
|
get: function () {
|
38360
38438
|
return this.getPropertyValue("choicesOrder");
|
@@ -38879,16 +38957,6 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
38879
38957
|
this.updateCommentElements();
|
38880
38958
|
}
|
38881
38959
|
};
|
38882
|
-
QuestionSelectBase.prototype.onCompositionUpdateOtherValue = function (event) {
|
38883
|
-
var _this = this;
|
38884
|
-
if (this.isInputTextUpdate) {
|
38885
|
-
setTimeout(function () {
|
38886
|
-
if (event.target) {
|
38887
|
-
_this.otherValue = event.target.value;
|
38888
|
-
}
|
38889
|
-
}, 1);
|
38890
|
-
}
|
38891
|
-
};
|
38892
38960
|
QuestionSelectBase.prototype.onOtherValueChange = function (event) {
|
38893
38961
|
this.otherValue = event.target.value;
|
38894
38962
|
if (this.otherValue !== event.target.value) {
|
@@ -40552,12 +40620,14 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
40552
40620
|
* @see enabledChoices
|
40553
40621
|
*/
|
40554
40622
|
get: function () {
|
40623
|
+
var val = this.renderedValue;
|
40624
|
+
var visChoices = this.visibleChoices;
|
40625
|
+
var selectedItemValues = this.selectedItemValues;
|
40555
40626
|
if (this.isEmpty())
|
40556
40627
|
return [];
|
40557
|
-
var
|
40558
|
-
var allChoices = !!this.defaultSelectedItemValues ? [].concat(this.defaultSelectedItemValues, this.visibleChoices) : this.visibleChoices;
|
40628
|
+
var allChoices = !!this.defaultSelectedItemValues ? [].concat(this.defaultSelectedItemValues, visChoices) : visChoices;
|
40559
40629
|
var itemValues = val.map(function (item) { return _itemvalue__WEBPACK_IMPORTED_MODULE_4__["ItemValue"].getItemByValue(allChoices, item); }).filter(function (item) { return !!item; });
|
40560
|
-
if (!itemValues.length && !
|
40630
|
+
if (!itemValues.length && !selectedItemValues) {
|
40561
40631
|
this.updateSelectedItemValues();
|
40562
40632
|
}
|
40563
40633
|
return this.validateItemValues(itemValues);
|
@@ -41155,7 +41225,7 @@ var QuestionCommentModel = /** @class */ (function (_super) {
|
|
41155
41225
|
this.updateRemainingCharacterCounter(event.target.value);
|
41156
41226
|
};
|
41157
41227
|
QuestionCommentModel.prototype.onKeyDown = function (event) {
|
41158
|
-
this.
|
41228
|
+
this.onKeyDownPreprocess && this.onKeyDownPreprocess(event);
|
41159
41229
|
if (!this.acceptCarriageReturn && (event.key === "Enter" || event.keyCode === 13)) {
|
41160
41230
|
event.preventDefault();
|
41161
41231
|
event.stopPropagation();
|
@@ -43296,7 +43366,6 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
43296
43366
|
_this.onUploadStateChanged = _this.addEvent();
|
43297
43367
|
_this.onStateChanged = _this.addEvent();
|
43298
43368
|
_this.fileNavigator = new _actions_container__WEBPACK_IMPORTED_MODULE_7__["ActionContainer"]();
|
43299
|
-
_this.actionsContainer = new _actions_container__WEBPACK_IMPORTED_MODULE_7__["ActionContainer"]();
|
43300
43369
|
_this.canFlipCameraValue = undefined;
|
43301
43370
|
_this.prevPreviewLength = 0;
|
43302
43371
|
_this.calcAvailableItemsCount = function (availableWidth, itemWidth, gap) {
|
@@ -43355,6 +43424,9 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
43355
43424
|
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["loadFileFromBase64"])(data.content, data.name);
|
43356
43425
|
}
|
43357
43426
|
};
|
43427
|
+
_this.createLocalizableString("takePhotoCaption", _this, false, true);
|
43428
|
+
_this.actionsContainer = new _actions_container__WEBPACK_IMPORTED_MODULE_7__["ActionContainer"]();
|
43429
|
+
_this.actionsContainer.locOwner = _this;
|
43358
43430
|
_this.fileIndexAction = new _actions_action__WEBPACK_IMPORTED_MODULE_8__["Action"]({
|
43359
43431
|
id: "fileIndex",
|
43360
43432
|
title: _this.getFileIndexCaption(),
|
@@ -43381,7 +43453,7 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
43381
43453
|
id: "sv-file-take-picture",
|
43382
43454
|
iconSize: "auto",
|
43383
43455
|
innerCss: new _base__WEBPACK_IMPORTED_MODULE_3__["ComputedUpdater"](function () { return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__["CssClassBuilder"]().append(_this.cssClasses.contextButton).append(_this.cssClasses.takePictureButton).toString(); }),
|
43384
|
-
|
43456
|
+
locTitle: _this.locTakePhotoCaption,
|
43385
43457
|
showTitle: false,
|
43386
43458
|
action: function () {
|
43387
43459
|
_this.snapPicture();
|
@@ -43417,7 +43489,7 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
43417
43489
|
iconName: "icon-takepicture_24x24",
|
43418
43490
|
id: "sv-file-start-camera",
|
43419
43491
|
iconSize: "auto",
|
43420
|
-
|
43492
|
+
locTitle: _this.locTakePhotoCaption,
|
43421
43493
|
showTitle: new _base__WEBPACK_IMPORTED_MODULE_3__["ComputedUpdater"](function () { return !_this.isAnswered; }),
|
43422
43494
|
enabledIf: function () { return !_this.isInputReadOnly; },
|
43423
43495
|
action: function () {
|
@@ -43752,6 +43824,17 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
43752
43824
|
QuestionFileModel.prototype.getConfirmRemoveMessage = function (fileName) {
|
43753
43825
|
return this.confirmRemoveMessage.format(fileName);
|
43754
43826
|
};
|
43827
|
+
Object.defineProperty(QuestionFileModel.prototype, "takePhotoCaption", {
|
43828
|
+
get: function () { return this.getLocalizableStringText("takePhotoCaption"); },
|
43829
|
+
set: function (val) { this.setLocalizableStringText("takePhotoCaption", val); },
|
43830
|
+
enumerable: false,
|
43831
|
+
configurable: true
|
43832
|
+
});
|
43833
|
+
Object.defineProperty(QuestionFileModel.prototype, "locTakePhotoCaption", {
|
43834
|
+
get: function () { return this.getLocalizableString("takePhotoCaption"); },
|
43835
|
+
enumerable: false,
|
43836
|
+
configurable: true
|
43837
|
+
});
|
43755
43838
|
Object.defineProperty(QuestionFileModel.prototype, "locRenderedPlaceholder", {
|
43756
43839
|
get: function () {
|
43757
43840
|
var _this = this;
|
@@ -43989,14 +44072,22 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
43989
44072
|
}
|
43990
44073
|
else {
|
43991
44074
|
if (_this.survey) {
|
43992
|
-
_this.survey.uploadFiles(_this, _this.name, files, function (
|
43993
|
-
if (
|
43994
|
-
_this.
|
43995
|
-
|
43996
|
-
|
44075
|
+
_this.survey.uploadFiles(_this, _this.name, files, function (arg1, arg2) {
|
44076
|
+
if (Array.isArray(arg1)) {
|
44077
|
+
_this.value = (_this.value || []).concat(arg1.map(function (r) {
|
44078
|
+
return {
|
44079
|
+
name: r.file.name,
|
44080
|
+
type: r.file.type,
|
44081
|
+
content: r.content,
|
44082
|
+
};
|
44083
|
+
}));
|
44084
|
+
if (Array.isArray(arg2)) {
|
44085
|
+
arg2.forEach(function (error) { return _this.errors.push(new _error__WEBPACK_IMPORTED_MODULE_4__["UploadingFileError"](error, _this)); });
|
44086
|
+
_this.stateChanged("error");
|
44087
|
+
}
|
43997
44088
|
}
|
43998
|
-
if (
|
43999
|
-
_this.value = (_this.value || []).concat(
|
44089
|
+
if (arg1 === "success" && Array.isArray(arg2)) {
|
44090
|
+
_this.value = (_this.value || []).concat(arg2.map(function (r) {
|
44000
44091
|
return {
|
44001
44092
|
name: r.file.name,
|
44002
44093
|
type: r.file.type,
|
@@ -44004,6 +44095,16 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
44004
44095
|
};
|
44005
44096
|
}));
|
44006
44097
|
}
|
44098
|
+
if (arg1 === "error") {
|
44099
|
+
if (typeof (arg2) === "string") {
|
44100
|
+
_this.errors.push(new _error__WEBPACK_IMPORTED_MODULE_4__["UploadingFileError"](arg2, _this));
|
44101
|
+
}
|
44102
|
+
if (Array.isArray(arg2) && arg2.length > 0) {
|
44103
|
+
arg2.forEach(function (error) { return _this.errors.push(new _error__WEBPACK_IMPORTED_MODULE_4__["UploadingFileError"](error, _this)); });
|
44104
|
+
}
|
44105
|
+
_this.stateChanged("error");
|
44106
|
+
}
|
44107
|
+
_this.stateChanged("loaded");
|
44007
44108
|
});
|
44008
44109
|
}
|
44009
44110
|
}
|
@@ -44360,9 +44461,6 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
44360
44461
|
__decorate([
|
44361
44462
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ localizable: { defaultStr: "chooseFileCaption" } })
|
44362
44463
|
], QuestionFileModel.prototype, "chooseButtonCaption", void 0);
|
44363
|
-
__decorate([
|
44364
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ localizable: { defaultStr: "takePhotoCaption" } })
|
44365
|
-
], QuestionFileModel.prototype, "takePhotoCaption", void 0);
|
44366
44464
|
__decorate([
|
44367
44465
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ localizable: { defaultStr: "replaceFileCaption" } })
|
44368
44466
|
], QuestionFileModel.prototype, "replaceButtonCaption", void 0);
|
@@ -46608,7 +46706,19 @@ var MatrixDropdownCell = /** @class */ (function () {
|
|
46608
46706
|
this.data = data;
|
46609
46707
|
this.questionValue = this.createQuestion(column, row, data);
|
46610
46708
|
this.questionValue.updateCustomWidget();
|
46709
|
+
this.updateCellQuestionTitleDueToAccessebility(row);
|
46611
46710
|
}
|
46711
|
+
MatrixDropdownCell.prototype.updateCellQuestionTitleDueToAccessebility = function (row) {
|
46712
|
+
var _this = this;
|
46713
|
+
this.questionValue.locTitle.onGetTextCallback = function (str) {
|
46714
|
+
if (!row || !row.getSurvey())
|
46715
|
+
return _this.questionValue.title;
|
46716
|
+
var rowTitle = row.getAccessbilityText();
|
46717
|
+
if (!rowTitle)
|
46718
|
+
return _this.questionValue.title;
|
46719
|
+
return _this.column.colOwner.getCellAriaLabel(rowTitle, _this.questionValue.title);
|
46720
|
+
};
|
46721
|
+
};
|
46612
46722
|
MatrixDropdownCell.prototype.locStrsChanged = function () {
|
46613
46723
|
this.question.locStrsChanged();
|
46614
46724
|
};
|
@@ -46766,6 +46876,13 @@ var MatrixDropdownRowModelBase = /** @class */ (function () {
|
|
46766
46876
|
enumerable: false,
|
46767
46877
|
configurable: true
|
46768
46878
|
});
|
46879
|
+
Object.defineProperty(MatrixDropdownRowModelBase.prototype, "dataName", {
|
46880
|
+
get: function () {
|
46881
|
+
return this.rowName;
|
46882
|
+
},
|
46883
|
+
enumerable: false,
|
46884
|
+
configurable: true
|
46885
|
+
});
|
46769
46886
|
Object.defineProperty(MatrixDropdownRowModelBase.prototype, "text", {
|
46770
46887
|
get: function () {
|
46771
46888
|
return this.rowName;
|
@@ -46822,6 +46939,9 @@ var MatrixDropdownRowModelBase = /** @class */ (function () {
|
|
46822
46939
|
enumerable: false,
|
46823
46940
|
configurable: true
|
46824
46941
|
});
|
46942
|
+
MatrixDropdownRowModelBase.prototype.getAccessbilityText = function () {
|
46943
|
+
return this.locText && this.locText.renderedHtml;
|
46944
|
+
};
|
46825
46945
|
Object.defineProperty(MatrixDropdownRowModelBase.prototype, "hasPanel", {
|
46826
46946
|
get: function () {
|
46827
46947
|
if (!this.data)
|
@@ -48430,7 +48550,7 @@ var QuestionMatrixDropdownModelBase = /** @class */ (function (_super) {
|
|
48430
48550
|
questionPlainData.isNode = true;
|
48431
48551
|
questionPlainData.data = this.visibleRows.map(function (row) {
|
48432
48552
|
var rowDataItem = {
|
48433
|
-
name: row.
|
48553
|
+
name: row.dataName,
|
48434
48554
|
title: row.text,
|
48435
48555
|
value: row.value,
|
48436
48556
|
displayValue: _this.getRowDisplayValue(false, row, row.value),
|
@@ -48991,6 +49111,7 @@ var QuestionMatrixDropdownModelBase = /** @class */ (function (_super) {
|
|
48991
49111
|
this.onCreateDetailPanelCallback(row, panel);
|
48992
49112
|
}
|
48993
49113
|
panel.questions.forEach(function (q) { return q.setParentQuestion(_this); });
|
49114
|
+
panel.onSurveyLoad();
|
48994
49115
|
return panel;
|
48995
49116
|
};
|
48996
49117
|
QuestionMatrixDropdownModelBase.prototype.getSharedQuestionByName = function (columnName, row) {
|
@@ -50244,12 +50365,6 @@ var QuestionMatrixDropdownRenderedCell = /** @class */ (function () {
|
|
50244
50365
|
Object.defineProperty(QuestionMatrixDropdownRenderedCell.prototype, "headers", {
|
50245
50366
|
get: function () {
|
50246
50367
|
if (this.cell && this.cell.column) {
|
50247
|
-
if (this.cell.column.cellHint === " ") {
|
50248
|
-
return "";
|
50249
|
-
}
|
50250
|
-
if (!!this.cell.column.cellHint) {
|
50251
|
-
return this.cell.column.locCellHint.renderedHtml;
|
50252
|
-
}
|
50253
50368
|
if (this.matrix.IsMultiplyColumn(this.cell.column)) {
|
50254
50369
|
if (!!this.item) {
|
50255
50370
|
return this.item.locText.renderedHtml;
|
@@ -50258,6 +50373,13 @@ var QuestionMatrixDropdownRenderedCell = /** @class */ (function () {
|
|
50258
50373
|
return "";
|
50259
50374
|
}
|
50260
50375
|
}
|
50376
|
+
var cellHint = this.cell.column.cellHint;
|
50377
|
+
if (!!cellHint) {
|
50378
|
+
if (cellHint.trim() === "")
|
50379
|
+
return "";
|
50380
|
+
return this.cell.column.locCellHint.renderedHtml;
|
50381
|
+
}
|
50382
|
+
return this.cell.column.title;
|
50261
50383
|
}
|
50262
50384
|
if (this.hasQuestion && this.question.isVisible) {
|
50263
50385
|
return this.question.locTitle.renderedHtml;
|
@@ -50685,7 +50807,10 @@ var QuestionMatrixDropdownRenderedTable = /** @class */ (function (_super) {
|
|
50685
50807
|
this.footerRow.cells.push(this.createHeaderCell(null, "action"));
|
50686
50808
|
}
|
50687
50809
|
if (this.matrix.hasRowText) {
|
50688
|
-
this.
|
50810
|
+
var cell_1 = this.createTextCell(this.matrix.getFooterText());
|
50811
|
+
cell_1.className = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__["CssClassBuilder"]().append(cell_1.className)
|
50812
|
+
.append(this.cssClasses.footerTotalCell).toString();
|
50813
|
+
this.footerRow.cells.push(cell_1);
|
50689
50814
|
}
|
50690
50815
|
var cells = this.matrix.visibleTotalRow.cells;
|
50691
50816
|
for (var i = 0; i < cells.length; i++) {
|
@@ -50700,6 +50825,8 @@ var QuestionMatrixDropdownRenderedTable = /** @class */ (function (_super) {
|
|
50700
50825
|
if (cell.column) {
|
50701
50826
|
this.setHeaderCellWidth(cell.column, editCell);
|
50702
50827
|
}
|
50828
|
+
editCell.className = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__["CssClassBuilder"]().append(editCell.className)
|
50829
|
+
.append(this.cssClasses.footerCell).toString();
|
50703
50830
|
this.footerRow.cells.push(editCell);
|
50704
50831
|
}
|
50705
50832
|
}
|
@@ -51315,6 +51442,23 @@ var MatrixDynamicRowModel = /** @class */ (function (_super) {
|
|
51315
51442
|
enumerable: false,
|
51316
51443
|
configurable: true
|
51317
51444
|
});
|
51445
|
+
Object.defineProperty(MatrixDynamicRowModel.prototype, "dataName", {
|
51446
|
+
get: function () {
|
51447
|
+
return "row" + (this.index + 1);
|
51448
|
+
},
|
51449
|
+
enumerable: false,
|
51450
|
+
configurable: true
|
51451
|
+
});
|
51452
|
+
Object.defineProperty(MatrixDynamicRowModel.prototype, "text", {
|
51453
|
+
get: function () {
|
51454
|
+
return "row " + (this.index + 1);
|
51455
|
+
},
|
51456
|
+
enumerable: false,
|
51457
|
+
configurable: true
|
51458
|
+
});
|
51459
|
+
MatrixDynamicRowModel.prototype.getAccessbilityText = function () {
|
51460
|
+
return (this.index + 1).toString();
|
51461
|
+
};
|
51318
51462
|
Object.defineProperty(MatrixDynamicRowModel.prototype, "shortcutText", {
|
51319
51463
|
get: function () {
|
51320
51464
|
var matrix = this.data;
|
@@ -57036,6 +57180,15 @@ var RenderedRatingItem = /** @class */ (function (_super) {
|
|
57036
57180
|
return RenderedRatingItem;
|
57037
57181
|
}(_base__WEBPACK_IMPORTED_MODULE_7__["Base"]));
|
57038
57182
|
|
57183
|
+
var RatingItemValue = /** @class */ (function (_super) {
|
57184
|
+
__extends(RatingItemValue, _super);
|
57185
|
+
function RatingItemValue(value, description) {
|
57186
|
+
var _this = _super.call(this, value) || this;
|
57187
|
+
_this.description = description;
|
57188
|
+
return _this;
|
57189
|
+
}
|
57190
|
+
return RatingItemValue;
|
57191
|
+
}(_itemvalue__WEBPACK_IMPORTED_MODULE_0__["ItemValue"]));
|
57039
57192
|
/**
|
57040
57193
|
* A class that describes the Rating Scale question type.
|
57041
57194
|
*
|
@@ -57330,18 +57483,7 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
57330
57483
|
rateValues = this.rateValues;
|
57331
57484
|
}
|
57332
57485
|
else {
|
57333
|
-
|
57334
|
-
var value = this.rateMin;
|
57335
|
-
var step = this.rateStep;
|
57336
|
-
while (value <= this.rateMax &&
|
57337
|
-
res.length < _settings__WEBPACK_IMPORTED_MODULE_4__["settings"].ratingMaximumRateValueCount) {
|
57338
|
-
var item = new _itemvalue__WEBPACK_IMPORTED_MODULE_0__["ItemValue"](value);
|
57339
|
-
item.locOwner = this;
|
57340
|
-
item.ownerPropertyName = "rateValues";
|
57341
|
-
res.push(item);
|
57342
|
-
value = this.correctValue(value + step, step);
|
57343
|
-
}
|
57344
|
-
rateValues = res;
|
57486
|
+
rateValues = this.createRateValues();
|
57345
57487
|
}
|
57346
57488
|
if (this.rateType == "smileys" && rateValues.length > 10)
|
57347
57489
|
rateValues = rateValues.slice(0, 10);
|
@@ -57358,6 +57500,27 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
57358
57500
|
return renderedItem;
|
57359
57501
|
});
|
57360
57502
|
};
|
57503
|
+
QuestionRatingModel.prototype.createRateValues = function () {
|
57504
|
+
var res = [];
|
57505
|
+
var value = this.rateMin;
|
57506
|
+
var step = this.rateStep;
|
57507
|
+
while (value <= this.rateMax &&
|
57508
|
+
res.length < _settings__WEBPACK_IMPORTED_MODULE_4__["settings"].ratingMaximumRateValueCount) {
|
57509
|
+
var description = void 0;
|
57510
|
+
if (value === this.rateMin) {
|
57511
|
+
description = this.minRateDescription && this.locMinRateDescription;
|
57512
|
+
}
|
57513
|
+
if (value === this.rateMax || res.length === _settings__WEBPACK_IMPORTED_MODULE_4__["settings"].ratingMaximumRateValueCount) {
|
57514
|
+
description = this.maxRateDescription && this.locMaxRateDescription;
|
57515
|
+
}
|
57516
|
+
var item = new RatingItemValue(value, description);
|
57517
|
+
item.locOwner = this;
|
57518
|
+
item.ownerPropertyName = "rateValues";
|
57519
|
+
res.push(item);
|
57520
|
+
value = this.correctValue(value + step, step);
|
57521
|
+
}
|
57522
|
+
return res;
|
57523
|
+
};
|
57361
57524
|
QuestionRatingModel.prototype.correctValue = function (value, step) {
|
57362
57525
|
if (!value)
|
57363
57526
|
return value;
|
@@ -57480,7 +57643,7 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
57480
57643
|
});
|
57481
57644
|
QuestionRatingModel.prototype.getDefaultItemComponent = function () {
|
57482
57645
|
if (this.renderAs == "dropdown")
|
57483
|
-
return "";
|
57646
|
+
return "sv-rating-dropdown-item";
|
57484
57647
|
if (this.isStar)
|
57485
57648
|
return "sv-rating-item-star";
|
57486
57649
|
if (this.isSmiley)
|
@@ -58891,7 +59054,7 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
58891
59054
|
_this.updateRemainingCharacterCounter(event.target.value);
|
58892
59055
|
};
|
58893
59056
|
_this.onKeyDown = function (event) {
|
58894
|
-
_this.
|
59057
|
+
_this.onKeyDownPreprocess && _this.onKeyDownPreprocess(event);
|
58895
59058
|
if (_this.isInputTextUpdate) {
|
58896
59059
|
_this._isWaitingForEnter = event.keyCode === 229;
|
58897
59060
|
}
|
@@ -59652,7 +59815,6 @@ var QuestionTextBase = /** @class */ (function (_super) {
|
|
59652
59815
|
function QuestionTextBase(name) {
|
59653
59816
|
var _this = _super.call(this, name) || this;
|
59654
59817
|
_this.characterCounter = new CharacterCounter();
|
59655
|
-
_this.disableNativeUndoRedo = false;
|
59656
59818
|
return _this;
|
59657
59819
|
}
|
59658
59820
|
QuestionTextBase.prototype.isTextValue = function () {
|
@@ -59778,13 +59940,6 @@ var QuestionTextBase = /** @class */ (function (_super) {
|
|
59778
59940
|
return val;
|
59779
59941
|
};
|
59780
59942
|
QuestionTextBase.prototype.getValueSeparator = function () { return ", "; };
|
59781
|
-
QuestionTextBase.prototype.checkForUndo = function (event) {
|
59782
|
-
if (this.disableNativeUndoRedo && this.isInputTextUpdate && (event.ctrlKey || event.metaKey)) {
|
59783
|
-
if ([89, 90].indexOf(event.keyCode) !== -1) {
|
59784
|
-
event.preventDefault();
|
59785
|
-
}
|
59786
|
-
}
|
59787
|
-
};
|
59788
59943
|
QuestionTextBase.prototype.getControlCssClassBuilder = function () {
|
59789
59944
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]()
|
59790
59945
|
.append(this.cssClasses.root)
|
@@ -62305,6 +62460,77 @@ survey_core__WEBPACK_IMPORTED_MODULE_2__["settings"].showModal = showModal;
|
|
62305
62460
|
survey_core__WEBPACK_IMPORTED_MODULE_2__["settings"].showDialog = showDialog;
|
62306
62461
|
|
62307
62462
|
|
62463
|
+
/***/ }),
|
62464
|
+
|
62465
|
+
/***/ "./src/react/components/rating/rating-dropdown-item.tsx":
|
62466
|
+
/*!**************************************************************!*\
|
62467
|
+
!*** ./src/react/components/rating/rating-dropdown-item.tsx ***!
|
62468
|
+
\**************************************************************/
|
62469
|
+
/*! exports provided: RatingDropdownItem */
|
62470
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
62471
|
+
|
62472
|
+
"use strict";
|
62473
|
+
__webpack_require__.r(__webpack_exports__);
|
62474
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RatingDropdownItem", function() { return RatingDropdownItem; });
|
62475
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
62476
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
62477
|
+
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../element-factory */ "./src/react/element-factory.tsx");
|
62478
|
+
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../reactquestion_element */ "./src/react/reactquestion_element.tsx");
|
62479
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
62480
|
+
var extendStatics = function (d, b) {
|
62481
|
+
extendStatics = Object.setPrototypeOf ||
|
62482
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
62483
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
62484
|
+
return extendStatics(d, b);
|
62485
|
+
};
|
62486
|
+
return function (d, b) {
|
62487
|
+
if (typeof b !== "function" && b !== null)
|
62488
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
62489
|
+
extendStatics(d, b);
|
62490
|
+
function __() { this.constructor = d; }
|
62491
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
62492
|
+
};
|
62493
|
+
})();
|
62494
|
+
|
62495
|
+
|
62496
|
+
|
62497
|
+
var RatingDropdownItem = /** @class */ (function (_super) {
|
62498
|
+
__extends(RatingDropdownItem, _super);
|
62499
|
+
function RatingDropdownItem() {
|
62500
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
62501
|
+
}
|
62502
|
+
Object.defineProperty(RatingDropdownItem.prototype, "item", {
|
62503
|
+
get: function () {
|
62504
|
+
return this.props.item;
|
62505
|
+
},
|
62506
|
+
enumerable: false,
|
62507
|
+
configurable: true
|
62508
|
+
});
|
62509
|
+
RatingDropdownItem.prototype.getStateElement = function () {
|
62510
|
+
return this.item;
|
62511
|
+
};
|
62512
|
+
RatingDropdownItem.prototype.render = function () {
|
62513
|
+
if (!this.item)
|
62514
|
+
return null;
|
62515
|
+
var item = this.props.item;
|
62516
|
+
var description = this.renderDescription(item);
|
62517
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sd-rating-dropdown-item" },
|
62518
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", { className: "sd-rating-dropdown-item_text" }, item.title),
|
62519
|
+
description));
|
62520
|
+
};
|
62521
|
+
RatingDropdownItem.prototype.renderDescription = function (item) {
|
62522
|
+
if (!item.description)
|
62523
|
+
return null;
|
62524
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: "sd-rating-dropdown-item_description" }, this.renderLocString(item.description, undefined, "locString")));
|
62525
|
+
};
|
62526
|
+
return RatingDropdownItem;
|
62527
|
+
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__["SurveyElementBase"]));
|
62528
|
+
|
62529
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_1__["ReactElementFactory"].Instance.registerElement("sv-rating-dropdown-item", function (props) {
|
62530
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(RatingDropdownItem, props);
|
62531
|
+
});
|
62532
|
+
|
62533
|
+
|
62308
62534
|
/***/ }),
|
62309
62535
|
|
62310
62536
|
/***/ "./src/react/components/rating/rating-item-smiley.tsx":
|
@@ -64219,6 +64445,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
64219
64445
|
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactquestion_element */ "./src/react/reactquestion_element.tsx");
|
64220
64446
|
/* harmony import */ var _panel_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./panel-base */ "./src/react/panel-base.tsx");
|
64221
64447
|
/* harmony import */ var _components_title_title_element__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/title/title-element */ "./src/react/components/title/title-element.tsx");
|
64448
|
+
/* harmony import */ var _reactquestion__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reactquestion */ "./src/react/reactquestion.tsx");
|
64222
64449
|
var __extends = (undefined && undefined.__extends) || (function () {
|
64223
64450
|
var extendStatics = function (d, b) {
|
64224
64451
|
extendStatics = Object.setPrototypeOf ||
|
@@ -64238,6 +64465,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
64238
64465
|
|
64239
64466
|
|
64240
64467
|
|
64468
|
+
|
64241
64469
|
var SurveyPage = /** @class */ (function (_super) {
|
64242
64470
|
__extends(SurveyPage, _super);
|
64243
64471
|
function SurveyPage(props) {
|
@@ -64257,9 +64485,11 @@ var SurveyPage = /** @class */ (function (_super) {
|
|
64257
64485
|
var title = this.renderTitle();
|
64258
64486
|
var description = this.renderDescription();
|
64259
64487
|
var rows = this.renderRows(this.panelBase.cssClasses);
|
64488
|
+
var errors = (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_reactquestion__WEBPACK_IMPORTED_MODULE_4__["SurveyElementErrors"], { element: this.panelBase, cssClasses: this.panelBase.cssClasses, creator: this.creator }));
|
64260
64489
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { ref: this.rootRef, className: this.page.cssRoot },
|
64261
64490
|
title,
|
64262
64491
|
description,
|
64492
|
+
errors,
|
64263
64493
|
rows));
|
64264
64494
|
};
|
64265
64495
|
SurveyPage.prototype.renderTitle = function () {
|
@@ -64556,7 +64786,7 @@ _element_factory__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.re
|
|
64556
64786
|
/*!***************************************!*\
|
64557
64787
|
!*** ./src/react/rating-dropdown.tsx ***!
|
64558
64788
|
\***************************************/
|
64559
|
-
/*! exports provided: SurveyQuestionRatingDropdown */
|
64789
|
+
/*! exports provided: RatingDropdownItem, SurveyQuestionRatingDropdown */
|
64560
64790
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
64561
64791
|
|
64562
64792
|
"use strict";
|
@@ -64567,6 +64797,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
64567
64797
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
|
64568
64798
|
/* harmony import */ var _dropdown_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dropdown-base */ "./src/react/dropdown-base.tsx");
|
64569
64799
|
/* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reactquestion_factory */ "./src/react/reactquestion_factory.tsx");
|
64800
|
+
/* harmony import */ var _components_rating_rating_dropdown_item__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/rating/rating-dropdown-item */ "./src/react/components/rating/rating-dropdown-item.tsx");
|
64801
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RatingDropdownItem", function() { return _components_rating_rating_dropdown_item__WEBPACK_IMPORTED_MODULE_4__["RatingDropdownItem"]; });
|
64802
|
+
|
64570
64803
|
var __extends = (undefined && undefined.__extends) || (function () {
|
64571
64804
|
var extendStatics = function (d, b) {
|
64572
64805
|
extendStatics = Object.setPrototypeOf ||
|
@@ -64586,6 +64819,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
64586
64819
|
|
64587
64820
|
|
64588
64821
|
|
64822
|
+
|
64589
64823
|
var SurveyQuestionRatingDropdown = /** @class */ (function (_super) {
|
64590
64824
|
__extends(SurveyQuestionRatingDropdown, _super);
|
64591
64825
|
function SurveyQuestionRatingDropdown(props) {
|
@@ -66236,8 +66470,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
66236
66470
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
66237
66471
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
66238
66472
|
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./reactquestion_element */ "./src/react/reactquestion_element.tsx");
|
66239
|
-
/* harmony import */ var
|
66240
|
-
/* harmony import */ var
|
66473
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-core */ "./src/entries/core.ts");
|
66474
|
+
/* harmony import */ var _reactquestion_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reactquestion_factory */ "./src/react/reactquestion_factory.tsx");
|
66475
|
+
/* harmony import */ var _components_character_counter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/character-counter */ "./src/react/components/character-counter.tsx");
|
66241
66476
|
var __extends = (undefined && undefined.__extends) || (function () {
|
66242
66477
|
var extendStatics = function (d, b) {
|
66243
66478
|
extendStatics = Object.setPrototypeOf ||
|
@@ -66257,6 +66492,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
66257
66492
|
|
66258
66493
|
|
66259
66494
|
|
66495
|
+
|
66260
66496
|
var SurveyQuestionComment = /** @class */ (function (_super) {
|
66261
66497
|
__extends(SurveyQuestionComment, _super);
|
66262
66498
|
function SurveyQuestionComment(props) {
|
@@ -66279,7 +66515,7 @@ var SurveyQuestionComment = /** @class */ (function (_super) {
|
|
66279
66515
|
if (this.question.isReadOnlyRenderDiv()) {
|
66280
66516
|
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", null, this.question.value);
|
66281
66517
|
}
|
66282
|
-
var counter = !!this.question.getMaxLength() ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](
|
66518
|
+
var counter = !!this.question.getMaxLength() ? (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_components_character_counter__WEBPACK_IMPORTED_MODULE_4__["CharacterCounterComponent"], { counter: this.question.characterCounter, remainingCharacterCounter: this.question.cssClasses.remainingCharacterCounter })) : null;
|
66283
66519
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
|
66284
66520
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("textarea", { id: this.question.inputId, className: this.question.className, disabled: this.question.isInputReadOnly, readOnly: this.question.isInputReadOnly, ref: function (textarea) { return (_this.setControl(textarea)); }, maxLength: this.question.getMaxLength(), placeholder: placeholder, onBlur: onBlur, onInput: onInput, onKeyDown: function (event) { _this.question.onKeyDown(event); }, cols: this.question.cols, rows: this.question.rows, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-describedby": this.question.a11y_input_ariaDescribedBy, style: { resize: this.question.resizeStyle } }),
|
66285
66521
|
counter));
|
@@ -66289,9 +66525,19 @@ var SurveyQuestionComment = /** @class */ (function (_super) {
|
|
66289
66525
|
|
66290
66526
|
var SurveyQuestionCommentItem = /** @class */ (function (_super) {
|
66291
66527
|
__extends(SurveyQuestionCommentItem, _super);
|
66292
|
-
function SurveyQuestionCommentItem() {
|
66293
|
-
|
66528
|
+
function SurveyQuestionCommentItem(props) {
|
66529
|
+
var _this = _super.call(this, props) || this;
|
66530
|
+
_this.state = { comment: _this.getComment() || "" };
|
66531
|
+
return _this;
|
66294
66532
|
}
|
66533
|
+
SurveyQuestionCommentItem.prototype.getStateComment = function () {
|
66534
|
+
var comment = this.getComment();
|
66535
|
+
var stateComment = this.state.comment;
|
66536
|
+
if (stateComment !== undefined && stateComment.trim() !== comment) {
|
66537
|
+
stateComment = comment;
|
66538
|
+
}
|
66539
|
+
return stateComment !== undefined ? stateComment : comment || "";
|
66540
|
+
};
|
66295
66541
|
SurveyQuestionCommentItem.prototype.canRender = function () {
|
66296
66542
|
return !!this.props.question;
|
66297
66543
|
};
|
@@ -66301,12 +66547,12 @@ var SurveyQuestionCommentItem = /** @class */ (function (_super) {
|
|
66301
66547
|
SurveyQuestionCommentItem.prototype.onCommentInput = function (event) {
|
66302
66548
|
this.props.question.onCommentInput(event);
|
66303
66549
|
};
|
66304
|
-
SurveyQuestionCommentItem.prototype.onCommentCompositionUpdate = function (event) {
|
66305
|
-
this.props.question.onCompositionUpdateComment(event);
|
66306
|
-
};
|
66307
66550
|
SurveyQuestionCommentItem.prototype.getComment = function () {
|
66308
66551
|
return this.props.question.comment;
|
66309
66552
|
};
|
66553
|
+
SurveyQuestionCommentItem.prototype.setComment = function (value) {
|
66554
|
+
this.props.question.comment = value;
|
66555
|
+
};
|
66310
66556
|
SurveyQuestionCommentItem.prototype.getId = function () {
|
66311
66557
|
return this.props.question.commentId;
|
66312
66558
|
};
|
@@ -66319,18 +66565,16 @@ var SurveyQuestionCommentItem = /** @class */ (function (_super) {
|
|
66319
66565
|
var className = this.props.otherCss || this.cssClasses.comment;
|
66320
66566
|
var handleOnChange = function (event) {
|
66321
66567
|
_this.setState({ comment: event.target.value });
|
66322
|
-
|
66568
|
+
// https://github.com/surveyjs/survey-library/issues/7252
|
66569
|
+
if (!survey_core__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isTwoValueEquals(_this.getComment(), event.target.value, false, true, false)) {
|
66570
|
+
_this.setComment(event.target.value);
|
66571
|
+
}
|
66323
66572
|
};
|
66324
|
-
var
|
66325
|
-
var stateComment = !!this.state ? this.state.comment : undefined;
|
66326
|
-
if (stateComment !== undefined && stateComment.trim() !== questionComment) {
|
66327
|
-
stateComment = questionComment;
|
66328
|
-
}
|
66329
|
-
var comment = stateComment !== undefined ? stateComment : questionComment || "";
|
66573
|
+
var comment = this.getStateComment();
|
66330
66574
|
if (question.isReadOnlyRenderDiv()) {
|
66331
66575
|
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", null, comment);
|
66332
66576
|
}
|
66333
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("textarea", { id: this.getId(), className: className, value: comment, disabled: this.isDisplayMode, maxLength: question.getOthersMaxLength(), placeholder: this.getPlaceholder(), onChange: handleOnChange, onBlur: function (e) { _this.onCommentChange(e); handleOnChange(e); }, onInput: function (e) { return _this.onCommentInput(e); },
|
66577
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("textarea", { id: this.getId(), className: className, value: comment, disabled: this.isDisplayMode, maxLength: question.getOthersMaxLength(), placeholder: this.getPlaceholder(), onChange: handleOnChange, onBlur: function (e) { _this.onCommentChange(e); handleOnChange(e); }, onInput: function (e) { return _this.onCommentInput(e); }, "aria-required": question.isRequired || question.a11y_input_ariaRequired, "aria-label": question.ariaLabel || question.a11y_input_ariaLabel, style: { resize: question.resizeStyle } }));
|
66334
66578
|
};
|
66335
66579
|
return SurveyQuestionCommentItem;
|
66336
66580
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_1__["ReactSurveyElement"]));
|
@@ -66346,12 +66590,12 @@ var SurveyQuestionOtherValueItem = /** @class */ (function (_super) {
|
|
66346
66590
|
SurveyQuestionOtherValueItem.prototype.onCommentInput = function (event) {
|
66347
66591
|
this.props.question.onOtherValueInput(event);
|
66348
66592
|
};
|
66349
|
-
SurveyQuestionOtherValueItem.prototype.onCommentCompositionUpdate = function (event) {
|
66350
|
-
this.props.question.onCompositionUpdateOtherValue(event);
|
66351
|
-
};
|
66352
66593
|
SurveyQuestionOtherValueItem.prototype.getComment = function () {
|
66353
66594
|
return this.props.question.otherValue;
|
66354
66595
|
};
|
66596
|
+
SurveyQuestionOtherValueItem.prototype.setComment = function (value) {
|
66597
|
+
this.props.question.otherValue = value;
|
66598
|
+
};
|
66355
66599
|
SurveyQuestionOtherValueItem.prototype.getId = function () {
|
66356
66600
|
return this.props.question.otherId;
|
66357
66601
|
};
|
@@ -66361,7 +66605,7 @@ var SurveyQuestionOtherValueItem = /** @class */ (function (_super) {
|
|
66361
66605
|
return SurveyQuestionOtherValueItem;
|
66362
66606
|
}(SurveyQuestionCommentItem));
|
66363
66607
|
|
66364
|
-
|
66608
|
+
_reactquestion_factory__WEBPACK_IMPORTED_MODULE_3__["ReactQuestionFactory"].Instance.registerQuestion("comment", function (props) {
|
66365
66609
|
return react__WEBPACK_IMPORTED_MODULE_0__["createElement"](SurveyQuestionComment, props);
|
66366
66610
|
});
|
66367
66611
|
|
@@ -67407,7 +67651,7 @@ var SurveyQuestionMatrixRow = /** @class */ (function (_super) {
|
|
67407
67651
|
else {
|
67408
67652
|
td = (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("td", { key: key, "data-responsive-title": column.locText.renderedHtml, className: this.question.cssClasses.cell },
|
67409
67653
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("label", { onMouseDown: this.handleOnMouseDown, className: itemClass },
|
67410
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { id: inputId, type: "radio", className: this.cssClasses.itemValue, name: row.fullName, value: column.value, disabled: this.isDisplayMode, checked: isChecked, onChange: this.handleOnChange, "aria-required": this.question.
|
67654
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { id: inputId, type: "radio", className: this.cssClasses.itemValue, name: row.fullName, value: column.value, disabled: this.isDisplayMode, checked: isChecked, onChange: this.handleOnChange, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.getCellAriaLabel(row.locText.renderedHtml, column.locText.renderedHtml), "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-describedby": this.question.a11y_input_ariaDescribedBy }),
|
67411
67655
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { className: this.question.cssClasses.materialDecorator }, this.question.itemSvgIcon ?
|
67412
67656
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("svg", { className: this.cssClasses.itemDecorator },
|
67413
67657
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("use", { xlinkHref: this.question.itemSvgIcon })) :
|
@@ -70441,6 +70685,27 @@ var settings = {
|
|
70441
70685
|
* Default value: `"none"`
|
70442
70686
|
*/
|
70443
70687
|
noneItemValue: "none",
|
70688
|
+
/**
|
70689
|
+
* An object whose properties specify the order of the special choice items (None, Other, Select All) in select-based questions.
|
70690
|
+
*
|
70691
|
+
* Default value: `{ selectAllItem: [-1], noneItem: [1], otherItem: [2] }`
|
70692
|
+
*
|
70693
|
+
* Use this object to reorder special choices. Each property accepts an array of integer numbers. Negative numbers place a special choice item above regular choice items, positive numbers place it below them. For instance, the code below specifies the following order of choices: None, Select All, regular choices, Other.
|
70694
|
+
*
|
70695
|
+
* ```js
|
70696
|
+
* import { settings } from "survey-core";
|
70697
|
+
*
|
70698
|
+
* settings.specialChoicesOrder.noneItem = [-2];
|
70699
|
+
* settings.specialChoicesOrder.selectAllItem = [-1];
|
70700
|
+
* settings.specialChoicesOrder.otherItem = [1];
|
70701
|
+
* ```
|
70702
|
+
*
|
70703
|
+
* If you want to duplicate a special choice item above and below other choices, add two numbers to the corresponding array:
|
70704
|
+
*
|
70705
|
+
* ```js
|
70706
|
+
* settings.specialChoicesOrder.selectAllItem = [-1, 3] // Displays Select All above and below other choices
|
70707
|
+
* ```
|
70708
|
+
*/
|
70444
70709
|
specialChoicesOrder: {
|
70445
70710
|
selectAllItem: [-1],
|
70446
70711
|
noneItem: [1],
|
@@ -71368,9 +71633,7 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
71368
71633
|
* @see isExpanded
|
71369
71634
|
*/
|
71370
71635
|
get: function () {
|
71371
|
-
|
71372
|
-
return;
|
71373
|
-
return this.state === "collapsed";
|
71636
|
+
return this.state === "collapsed" && !this.isDesignMode;
|
71374
71637
|
},
|
71375
71638
|
enumerable: false,
|
71376
71639
|
configurable: true
|
@@ -73090,7 +73353,8 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
73090
73353
|
* Specifies whether to hide validation errors thrown by the Required validation in the UI.
|
73091
73354
|
*
|
73092
73355
|
* [Built-In Client-Side Validators](https://surveyjs.io/form-library/documentation/data-validation#built-in-client-side-validators (linkStyle))
|
73093
|
-
* @see
|
73356
|
+
* @see validationEnabled
|
73357
|
+
* @see validationAllowSwitchPages
|
73094
73358
|
*/
|
73095
73359
|
_this.hideRequiredErrors = false;
|
73096
73360
|
//#endregion
|
@@ -73099,15 +73363,27 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
73099
73363
|
_this._isCompact = false;
|
73100
73364
|
_this._isDesignMode = false;
|
73101
73365
|
/**
|
73102
|
-
* Specifies whether
|
73366
|
+
* Specifies whether data validation is enabled.
|
73103
73367
|
*
|
73104
|
-
* Default value: `
|
73368
|
+
* Default value: `true`
|
73369
|
+
* @see checkErrorsMode
|
73105
73370
|
* @see hideRequiredErrors
|
73106
|
-
* @see nextPage
|
73107
|
-
* @see isPrevPage
|
73108
|
-
* @see completeLastPage
|
73109
73371
|
*/
|
73110
|
-
_this.
|
73372
|
+
_this.validationEnabled = true;
|
73373
|
+
/**
|
73374
|
+
* Specifies whether respondents can switch the current page even if it contains validation errors.
|
73375
|
+
*
|
73376
|
+
* Default value: `false`
|
73377
|
+
* @see checkErrorsMode
|
73378
|
+
*/
|
73379
|
+
_this.validationAllowSwitchPages = false;
|
73380
|
+
/**
|
73381
|
+
* Specifies whether respondents can end a survey with validation errors.
|
73382
|
+
*
|
73383
|
+
* Default value: `false`
|
73384
|
+
* @see checkErrorsMode
|
73385
|
+
*/
|
73386
|
+
_this.validationAllowComplete = false;
|
73111
73387
|
_this.isNavigationButtonPressed = false;
|
73112
73388
|
_this.mouseDownPage = null;
|
73113
73389
|
_this.isCalculatingProgressText = false;
|
@@ -73541,6 +73817,17 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
73541
73817
|
enumerable: false,
|
73542
73818
|
configurable: true
|
73543
73819
|
});
|
73820
|
+
SurveyModel.prototype.insertAdvancedHeader = function (advHeader) {
|
73821
|
+
advHeader.survey = this;
|
73822
|
+
this.layoutElements.push({
|
73823
|
+
id: "advanced-header",
|
73824
|
+
container: "header",
|
73825
|
+
component: "sv-header",
|
73826
|
+
index: -100,
|
73827
|
+
data: advHeader,
|
73828
|
+
processResponsiveness: function (width) { return advHeader.processResponsiveness(width); }
|
73829
|
+
});
|
73830
|
+
};
|
73544
73831
|
SurveyModel.prototype.getNavigationCss = function (main, btn) {
|
73545
73832
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_18__["CssClassBuilder"]().append(main)
|
73546
73833
|
.append(btn).toString();
|
@@ -74075,6 +74362,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
74075
74362
|
* - `"onComplete"` - Triggers validation when a user clicks the Complete button. If previous pages contain errors, the survey switches to the page with the first error.
|
74076
74363
|
*
|
74077
74364
|
* Refer to the following help topic for more information: [Data Validation](https://surveyjs.io/form-library/documentation/data-validation).
|
74365
|
+
* @see validationEnabled
|
74366
|
+
* @see validationAllowSwitchPages
|
74367
|
+
* @see validationAllowComplete
|
74368
|
+
* @see validate
|
74078
74369
|
*/
|
74079
74370
|
get: function () {
|
74080
74371
|
return this.getPropertyValue("checkErrorsMode");
|
@@ -76106,6 +76397,16 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
76106
76397
|
this.notify(this.completedStateText, this.completedState, value === "error");
|
76107
76398
|
}
|
76108
76399
|
};
|
76400
|
+
/**
|
76401
|
+
* Displays a toast notification with a specified message.
|
76402
|
+
*
|
76403
|
+
* Depending on the `type` argument, a survey can display the following notification types:
|
76404
|
+
*
|
76405
|
+
* 
|
76406
|
+
* @param message A message to display.
|
76407
|
+
* @param type A notification type: `"info"` (default), `"success"`, or `"error"`.
|
76408
|
+
* @param showActions For internal use.
|
76409
|
+
*/
|
76109
76410
|
SurveyModel.prototype.notify = function (message, type, showActions) {
|
76110
76411
|
if (showActions === void 0) { showActions = false; }
|
76111
76412
|
this.notifier.showActions = showActions;
|
@@ -76395,6 +76696,15 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
76395
76696
|
return;
|
76396
76697
|
document.cookie = this.cookieName + "=;";
|
76397
76698
|
};
|
76699
|
+
Object.defineProperty(SurveyModel.prototype, "ignoreValidation", {
|
76700
|
+
/**
|
76701
|
+
* This property is obsolete. Use the [`validationEnabled`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#validationEnabled) property instead.
|
76702
|
+
*/
|
76703
|
+
get: function () { return !this.validationEnabled; },
|
76704
|
+
set: function (val) { this.validationEnabled = !val; },
|
76705
|
+
enumerable: false,
|
76706
|
+
configurable: true
|
76707
|
+
});
|
76398
76708
|
/**
|
76399
76709
|
* Switches the survey to the next page.
|
76400
76710
|
*
|
@@ -76411,19 +76721,20 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
76411
76721
|
};
|
76412
76722
|
SurveyModel.prototype.hasErrorsOnNavigate = function (doComplete) {
|
76413
76723
|
var _this = this;
|
76414
|
-
if (this.
|
76724
|
+
if (!this.isEditMode || this.ignoreValidation)
|
76415
76725
|
return false;
|
76726
|
+
var skipValidation = doComplete && this.validationAllowComplete || !doComplete && this.validationAllowSwitchPages;
|
76416
76727
|
var func = function (hasErrors) {
|
76417
|
-
if (!hasErrors) {
|
76728
|
+
if (!hasErrors || skipValidation) {
|
76418
76729
|
_this.doCurrentPageCompleteCore(doComplete);
|
76419
76730
|
}
|
76420
76731
|
};
|
76421
76732
|
if (this.isValidateOnComplete) {
|
76422
76733
|
if (!this.isLastPage)
|
76423
76734
|
return false;
|
76424
|
-
return this.validate(true, true, func) !== true;
|
76735
|
+
return this.validate(true, true, func) !== true && !skipValidation;
|
76425
76736
|
}
|
76426
|
-
return this.validateCurrentPage(func) !== true;
|
76737
|
+
return this.validateCurrentPage(func) !== true && !skipValidation;
|
76427
76738
|
};
|
76428
76739
|
SurveyModel.prototype.checkForAsyncQuestionValidation = function (questions, func) {
|
76429
76740
|
var _this = this;
|
@@ -76926,14 +77237,14 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
76926
77237
|
if (this.isShowingPreview)
|
76927
77238
|
return;
|
76928
77239
|
if (this.questionsOnPageMode == "standard" || this.isDesignMode) {
|
76929
|
-
if (this.
|
76930
|
-
this.restoreOriginalPages(this.
|
77240
|
+
if (this.originalPages) {
|
77241
|
+
this.restoreOriginalPages(this.originalPages);
|
76931
77242
|
}
|
76932
|
-
this.
|
77243
|
+
this.originalPages = undefined;
|
76933
77244
|
}
|
76934
77245
|
else {
|
76935
77246
|
if (!oldValue || oldValue == "standard") {
|
76936
|
-
this.
|
77247
|
+
this.originalPages = this.pages.slice(0, this.pages.length);
|
76937
77248
|
}
|
76938
77249
|
this.setupPagesForPageModes(this.isSinglePage);
|
76939
77250
|
}
|
@@ -77783,7 +78094,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77783
78094
|
});
|
77784
78095
|
Object.defineProperty(SurveyModel.prototype, "isValidateOnComplete", {
|
77785
78096
|
get: function () {
|
77786
|
-
return this.checkErrorsMode === "onComplete";
|
78097
|
+
return this.checkErrorsMode === "onComplete" || this.validationAllowSwitchPages && !this.validationAllowComplete;
|
77787
78098
|
},
|
77788
78099
|
enumerable: false,
|
77789
78100
|
configurable: true
|
@@ -77934,13 +78245,13 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77934
78245
|
* @param question A [File Upload question instance](https://surveyjs.io/form-library/documentation/api-reference/file-model).
|
77935
78246
|
* @param name The File Upload question's [`name`](https://surveyjs.io/form-library/documentation/api-reference/file-model#name).
|
77936
78247
|
* @param files An array of JavaScript <a href="https://developer.mozilla.org/en-US/docs/Web/API/File" target="_blank">File</a> objects that represent files to upload.
|
77937
|
-
* @param callback A callback function that allows you to
|
78248
|
+
* @param callback A callback function that allows you to access successfully uploaded files as the first argument. If any files fail to upload, the second argument contains an array of error messages.
|
77938
78249
|
* @see onUploadFiles
|
77939
78250
|
* @see downloadFile
|
77940
78251
|
*/
|
77941
78252
|
SurveyModel.prototype.uploadFiles = function (question, name, files, callback) {
|
77942
78253
|
if (this.onUploadFiles.isEmpty) {
|
77943
|
-
callback("error",
|
78254
|
+
callback("error", this.getLocString("noUploadFilesHandler"));
|
77944
78255
|
}
|
77945
78256
|
else {
|
77946
78257
|
this.onUploadFiles.fire(this, {
|
@@ -80066,6 +80377,11 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
80066
80377
|
SurveyModel.prototype.stopMovingQuestion = function () {
|
80067
80378
|
this.isMovingQuestion = false;
|
80068
80379
|
};
|
80380
|
+
Object.defineProperty(SurveyModel.prototype, "isQuestionDragging", {
|
80381
|
+
get: function () { return this.isMovingQuestion; },
|
80382
|
+
enumerable: false,
|
80383
|
+
configurable: true
|
80384
|
+
});
|
80069
80385
|
/**
|
80070
80386
|
* Focuses a question with a specified name. Switches the current page if needed.
|
80071
80387
|
* @param name A question name.
|
@@ -80254,6 +80570,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
80254
80570
|
}
|
80255
80571
|
}
|
80256
80572
|
}
|
80573
|
+
containerLayoutElements.sort(function (a, b) { return (a.index || 0) - (b.index || 0); });
|
80257
80574
|
return containerLayoutElements;
|
80258
80575
|
};
|
80259
80576
|
SurveyModel.prototype.processPopupVisiblityChanged = function (question, popup, visible) {
|
@@ -80272,15 +80589,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
80272
80589
|
Object.keys(theme).forEach(function (key) {
|
80273
80590
|
if (key === "header") {
|
80274
80591
|
_this.removeLayoutElement("advanced-header");
|
80275
|
-
var
|
80276
|
-
|
80277
|
-
_this.
|
80278
|
-
|
80279
|
-
container: "header",
|
80280
|
-
component: "sv-header",
|
80281
|
-
data: advHeader_1,
|
80282
|
-
processResponsiveness: function (width) { return advHeader_1.processResponsiveness(width); }
|
80283
|
-
});
|
80592
|
+
var advHeader = new _header__WEBPACK_IMPORTED_MODULE_20__["Cover"]();
|
80593
|
+
advHeader.fromTheme(theme);
|
80594
|
+
_this.insertAdvancedHeader(advHeader);
|
80595
|
+
_this.headerView = "advanced";
|
80284
80596
|
}
|
80285
80597
|
if (key === "isPanelless") {
|
80286
80598
|
_this.isCompact = theme[key];
|
@@ -80377,14 +80689,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
80377
80689
|
advHeader.titlePositionY = "middle";
|
80378
80690
|
advHeader.descriptionPositionX = target.logoPosition === "right" ? "left" : "right";
|
80379
80691
|
advHeader.descriptionPositionY = "middle";
|
80380
|
-
advHeader
|
80381
|
-
target.layoutElements.unshift({
|
80382
|
-
id: "advanced-header",
|
80383
|
-
container: "header",
|
80384
|
-
component: "sv-header",
|
80385
|
-
data: advHeader,
|
80386
|
-
processResponsiveness: function (width) { return advHeader.processResponsiveness(width); }
|
80387
|
-
});
|
80692
|
+
target.insertAdvancedHeader(advHeader);
|
80388
80693
|
}
|
80389
80694
|
}
|
80390
80695
|
else {
|
@@ -80490,7 +80795,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("survey", [
|
|
80490
80795
|
className: "htmlconditionitem", isArray: true
|
80491
80796
|
},
|
80492
80797
|
{ name: "loadingHtml:html", serializationProperty: "locLoadingHtml" },
|
80493
|
-
{ name: "pages:surveypages", className: "page", isArray: true },
|
80798
|
+
{ name: "pages:surveypages", className: "page", isArray: true, onSerializeValue: function (obj) { return obj.originalPages || obj.pages; } },
|
80494
80799
|
{
|
80495
80800
|
name: "elements",
|
80496
80801
|
alternativeName: "questions",
|
@@ -82933,19 +83238,36 @@ var ResponsivityManager = /** @class */ (function () {
|
|
82933
83238
|
configurable: true
|
82934
83239
|
});
|
82935
83240
|
ResponsivityManager.prototype.process = function () {
|
82936
|
-
var
|
83241
|
+
var _this = this;
|
82937
83242
|
if (this.isContainerVisible && !this.model.isResponsivenessDisabled) {
|
82938
83243
|
if (!this.isInitialized) {
|
82939
83244
|
this.model.setActionsMode("large");
|
82940
|
-
|
82941
|
-
|
83245
|
+
var recalcItemSizes = function () {
|
83246
|
+
_this.calcItemsSizes();
|
83247
|
+
_this.isInitialized = true;
|
83248
|
+
};
|
83249
|
+
if (queueMicrotask) {
|
83250
|
+
queueMicrotask(recalcItemSizes);
|
83251
|
+
}
|
83252
|
+
else {
|
83253
|
+
recalcItemSizes();
|
83254
|
+
}
|
83255
|
+
}
|
83256
|
+
var processResponsiveness = function () {
|
83257
|
+
var _a;
|
83258
|
+
var dotsItemSize = _this.dotsItemSize;
|
83259
|
+
if (!_this.dotsItemSize) {
|
83260
|
+
var dotsItemElement = (_a = _this.container) === null || _a === void 0 ? void 0 : _a.querySelector(".sv-dots");
|
83261
|
+
dotsItemSize = dotsItemElement && _this.calcItemSize(dotsItemElement) || _this.dotsSizeConst;
|
83262
|
+
}
|
83263
|
+
_this.model.fit(_this.getAvailableSpace(), dotsItemSize);
|
83264
|
+
};
|
83265
|
+
if (queueMicrotask) {
|
83266
|
+
queueMicrotask(processResponsiveness);
|
82942
83267
|
}
|
82943
|
-
|
82944
|
-
|
82945
|
-
var dotsItemElement = (_a = this.container) === null || _a === void 0 ? void 0 : _a.querySelector(".sv-dots");
|
82946
|
-
dotsItemSize = dotsItemElement && this.calcItemSize(dotsItemElement) || this.dotsSizeConst;
|
83268
|
+
else {
|
83269
|
+
processResponsiveness();
|
82947
83270
|
}
|
82948
|
-
this.model.fit(this.getAvailableSpace(), dotsItemSize);
|
82949
83271
|
}
|
82950
83272
|
};
|
82951
83273
|
ResponsivityManager.prototype.dispose = function () {
|
@@ -83367,6 +83689,9 @@ function findParentByClassNames(element, classNames) {
|
|
83367
83689
|
function sanitizeEditableContent(element) {
|
83368
83690
|
if (window.getSelection && document.createRange && element.childNodes.length > 0) {
|
83369
83691
|
var selection = document.getSelection();
|
83692
|
+
if (selection.rangeCount == 0) {
|
83693
|
+
return;
|
83694
|
+
}
|
83370
83695
|
var range = selection.getRangeAt(0);
|
83371
83696
|
range.setStart(range.endContainer, range.endOffset);
|
83372
83697
|
range.setEndAfter(element.lastChild);
|