survey-react 1.9.78 → 1.9.80
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 +170 -23
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +66 -10
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +48 -8
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +167 -27
- package/survey.react.js +1013 -334
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/survey.react.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.80
|
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
|
*/
|
@@ -1441,9 +1441,6 @@ var BaseAction = /** @class */ (function (_super) {
|
|
1441
1441
|
__decorate([
|
1442
1442
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])({ defaultValue: "large" })
|
1443
1443
|
], BaseAction.prototype, "mode", void 0);
|
1444
|
-
__decorate([
|
1445
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])()
|
1446
|
-
], BaseAction.prototype, "owner", void 0);
|
1447
1444
|
__decorate([
|
1448
1445
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])()
|
1449
1446
|
], BaseAction.prototype, "visibleIndex", void 0);
|
@@ -3305,7 +3302,7 @@ var CalculatedValue = /** @class */ (function (_super) {
|
|
3305
3302
|
* The calculated value name. It should be non empty and unique.
|
3306
3303
|
*/
|
3307
3304
|
get: function () {
|
3308
|
-
return this.getPropertyValue("name"
|
3305
|
+
return this.getPropertyValue("name") || "";
|
3309
3306
|
},
|
3310
3307
|
set: function (val) {
|
3311
3308
|
this.setPropertyValue("name", val);
|
@@ -3318,7 +3315,7 @@ var CalculatedValue = /** @class */ (function (_super) {
|
|
3318
3315
|
* Set this property to true to include the non-empty calculated value into survey result, survey.data property.
|
3319
3316
|
*/
|
3320
3317
|
get: function () {
|
3321
|
-
return this.getPropertyValue("includeIntoResult"
|
3318
|
+
return this.getPropertyValue("includeIntoResult");
|
3322
3319
|
},
|
3323
3320
|
set: function (val) {
|
3324
3321
|
this.setPropertyValue("includeIntoResult", val);
|
@@ -3332,7 +3329,7 @@ var CalculatedValue = /** @class */ (function (_super) {
|
|
3332
3329
|
* Example: "({quantity} * {price}) * (100 - {discount}) / 100"
|
3333
3330
|
*/
|
3334
3331
|
get: function () {
|
3335
|
-
return this.getPropertyValue("expression"
|
3332
|
+
return this.getPropertyValue("expression") || "";
|
3336
3333
|
},
|
3337
3334
|
set: function (val) {
|
3338
3335
|
this.setPropertyValue("expression", val);
|
@@ -4965,6 +4962,8 @@ var modernCss = {
|
|
4965
4962
|
filterStringInput: "sv-dropdown__filter-string-input",
|
4966
4963
|
controlValue: "sv-dropdown__value",
|
4967
4964
|
controlInputFieldComponent: "sv_dropdown_control__input-field-component",
|
4965
|
+
hintPrefix: "sv-dropdown__hint-prefix",
|
4966
|
+
hintSuffix: "sv-dropdown__hint-suffix"
|
4968
4967
|
},
|
4969
4968
|
tagbox: {
|
4970
4969
|
root: "",
|
@@ -5115,6 +5114,7 @@ var modernCss = {
|
|
5115
5114
|
error: "sv-save-data_error",
|
5116
5115
|
success: "sv-save-data_success",
|
5117
5116
|
button: "sv-save-data_button",
|
5117
|
+
shown: "sv-save-data_root--shown"
|
5118
5118
|
},
|
5119
5119
|
window: {
|
5120
5120
|
root: "sv_window",
|
@@ -5315,7 +5315,9 @@ var defaultStandardCss = {
|
|
5315
5315
|
cleanButtonSvg: "sv_q_dropdown_clean-button-svg",
|
5316
5316
|
cleanButtonIconId: "icon-clear_16x16",
|
5317
5317
|
controlValue: "sv_q_dropdown__value",
|
5318
|
-
filterStringInput: "sv_q_dropdown__filter-string-input"
|
5318
|
+
filterStringInput: "sv_q_dropdown__filter-string-input",
|
5319
|
+
hintPrefix: "sv_q_dropdown__hint-prefix",
|
5320
|
+
hintSuffix: "sv_q_dropdown__hint-suffix"
|
5319
5321
|
},
|
5320
5322
|
html: { root: "" },
|
5321
5323
|
image: {
|
@@ -5484,6 +5486,7 @@ var defaultStandardCss = {
|
|
5484
5486
|
error: "sv-save-data_error",
|
5485
5487
|
success: "sv-save-data_success",
|
5486
5488
|
button: "sv-save-data_button",
|
5489
|
+
shown: "sv-save-data_root--shown"
|
5487
5490
|
},
|
5488
5491
|
window: {
|
5489
5492
|
root: "sv_window",
|
@@ -5591,9 +5594,11 @@ var defaultV2Css = {
|
|
5591
5594
|
edit: "",
|
5592
5595
|
},
|
5593
5596
|
panel: {
|
5597
|
+
asPage: "sd-panel--as-page",
|
5594
5598
|
number: "sd-element__num",
|
5595
5599
|
title: "sd-title sd-element__title sd-panel__title",
|
5596
5600
|
titleExpandable: "sd-element__title--expandable",
|
5601
|
+
titleNumInline: "sd-element__title--num-inline",
|
5597
5602
|
titleExpanded: "sd-element__title--expanded",
|
5598
5603
|
titleCollapsed: "sd-element__title--collapsed",
|
5599
5604
|
titleDisabled: "sd-element__title--disabled",
|
@@ -5682,6 +5687,7 @@ var defaultV2Css = {
|
|
5682
5687
|
headerBottom: "sd-question__header--location--bottom",
|
5683
5688
|
content: "sd-question__content",
|
5684
5689
|
contentLeft: "sd-question__content--left",
|
5690
|
+
titleNumInline: "sd-element__title--num-inline",
|
5685
5691
|
titleLeftRoot: "sd-question--left",
|
5686
5692
|
titleOnAnswer: "sd-question__title--answer",
|
5687
5693
|
titleOnError: "sd-question__title--error",
|
@@ -5831,6 +5837,7 @@ var defaultV2Css = {
|
|
5831
5837
|
itemLabelOnError: "sd-multipletext__item-container--error",
|
5832
5838
|
item: "sd-multipletext__item",
|
5833
5839
|
itemTitle: "sd-multipletext__item-title",
|
5840
|
+
content: "sd-multipletext__content sd-question__content",
|
5834
5841
|
row: "sd-multipletext__row",
|
5835
5842
|
cell: "sd-multipletext__cell"
|
5836
5843
|
},
|
@@ -5858,7 +5865,9 @@ var defaultV2Css = {
|
|
5858
5865
|
controlEmpty: "sd-dropdown--empty",
|
5859
5866
|
controlLabel: "sd-item__control-label",
|
5860
5867
|
filterStringInput: "sd-dropdown__filter-string-input",
|
5861
|
-
materialDecorator: "sd-item__decorator sd-radio__decorator"
|
5868
|
+
materialDecorator: "sd-item__decorator sd-radio__decorator",
|
5869
|
+
hintPrefix: "sd-dropdown__hint-prefix",
|
5870
|
+
hintSuffix: "sd-dropdown__hint-suffix"
|
5862
5871
|
},
|
5863
5872
|
imagepicker: {
|
5864
5873
|
mainRoot: "sd-element sd-question sd-row__question",
|
@@ -5941,6 +5950,7 @@ var defaultV2Css = {
|
|
5941
5950
|
empty: "sd-question--empty",
|
5942
5951
|
root: "sd-table sd-matrixdynamic",
|
5943
5952
|
tableWrapper: "sd-table-wrapper",
|
5953
|
+
content: "sd-matrixdynamic__content sd-question__content",
|
5944
5954
|
cell: "sd-table__cell",
|
5945
5955
|
row: "sd-table__row",
|
5946
5956
|
itemCell: "sd-table__cell--item",
|
@@ -5986,6 +5996,11 @@ var defaultV2Css = {
|
|
5986
5996
|
itemStarDisabled: "sd-rating__item-star--disabled",
|
5987
5997
|
itemStarHighlighted: "sd-rating__item-star--highlighted",
|
5988
5998
|
itemStarUnhighlighted: "sd-rating__item-star--unhighlighted",
|
5999
|
+
itemSmiley: "sd-rating__item-smiley",
|
6000
|
+
itemSmileyOnError: "sd-rating__item-smiley--error",
|
6001
|
+
itemSmileyHover: "sd-rating__item-smiley--allowhover",
|
6002
|
+
itemSmileySelected: "sd-rating__item-smiley--selected",
|
6003
|
+
itemSmileyDisabled: "sd-rating__item-smiley--disabled",
|
5989
6004
|
minText: "sd-rating__item-text sd-rating__min-text",
|
5990
6005
|
itemText: "sd-rating__item-text",
|
5991
6006
|
maxText: "sd-rating__item-text sd-rating__max-text",
|
@@ -6061,6 +6076,7 @@ var defaultV2Css = {
|
|
6061
6076
|
error: "sv-save-data_error",
|
6062
6077
|
success: "sv-save-data_success",
|
6063
6078
|
button: "sv-save-data_button",
|
6079
|
+
shown: "sv-save-data_root--shown"
|
6064
6080
|
},
|
6065
6081
|
window: {
|
6066
6082
|
root: "sv_window",
|
@@ -6286,10 +6302,6 @@ var DragDropChoices = /** @class */ (function (_super) {
|
|
6286
6302
|
draggedElementShortcut.appendChild(imageNode);
|
6287
6303
|
return draggedElementShortcut;
|
6288
6304
|
};
|
6289
|
-
DragDropChoices.prototype.findDropTargetNodeByDragOverNode = function (dragOverNode) {
|
6290
|
-
var result = dragOverNode.closest(this.dropTargetDataAttributeName);
|
6291
|
-
return result;
|
6292
|
-
};
|
6293
6305
|
DragDropChoices.prototype.getDropTargetByDataAttributeValue = function (dataAttributeValue) {
|
6294
6306
|
var dragOverChoice;
|
6295
6307
|
dragOverChoice = this.parentElement.choices.filter(function (choice) { return "" + choice.value == dataAttributeValue; })[0];
|
@@ -6787,9 +6799,8 @@ var DragDropCore = /** @class */ (function (_super) {
|
|
6787
6799
|
return this.findDropTargetNodeByDragOverNode(dragOverNode);
|
6788
6800
|
};
|
6789
6801
|
DragDropCore.prototype.findDropTargetNodeByDragOverNode = function (dragOverNode) {
|
6790
|
-
var
|
6791
|
-
|
6792
|
-
return result;
|
6802
|
+
var dropTargetNode = dragOverNode.closest(this.dropTargetDataAttributeName);
|
6803
|
+
return dropTargetNode;
|
6793
6804
|
};
|
6794
6805
|
DragDropCore.prototype.doClear = function () { };
|
6795
6806
|
DragDropCore.PreventScrolling = false;
|
@@ -6903,10 +6914,6 @@ var DragDropMatrixRows = /** @class */ (function (_super) {
|
|
6903
6914
|
DragDropMatrixRows.prototype.isDropTargetValid = function (dropTarget) {
|
6904
6915
|
return true;
|
6905
6916
|
};
|
6906
|
-
DragDropMatrixRows.prototype.findDropTargetNodeByDragOverNode = function (dragOverNode) {
|
6907
|
-
var result = dragOverNode.closest(this.dropTargetDataAttributeName);
|
6908
|
-
return result;
|
6909
|
-
};
|
6910
6917
|
DragDropMatrixRows.prototype.calculateIsBottom = function (clientY) {
|
6911
6918
|
var rendreredRows = this.parentElement.renderedTable.rows;
|
6912
6919
|
var rows = rendreredRows.map(function (rendredRow) { return rendredRow.row; });
|
@@ -7062,7 +7069,7 @@ var DragDropRankingChoices = /** @class */ (function (_super) {
|
|
7062
7069
|
};
|
7063
7070
|
DragDropRankingChoices.prototype.findDropTargetNodeByDragOverNode = function (dragOverNode) {
|
7064
7071
|
this.isDragOverRootNode = this.getIsDragOverRootNode(dragOverNode);
|
7065
|
-
return
|
7072
|
+
return _super.prototype.findDropTargetNodeByDragOverNode.call(this, dragOverNode);
|
7066
7073
|
};
|
7067
7074
|
DragDropRankingChoices.prototype.getIsDragOverRootNode = function (dragOverNode) {
|
7068
7075
|
// dragOverNode might be <path></path> for example and the className prop is obj
|
@@ -7553,9 +7560,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
7553
7560
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
7554
7561
|
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./list */ "./src/list.ts");
|
7555
7562
|
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
7556
|
-
/* harmony import */ var
|
7557
|
-
/* harmony import */ var
|
7558
|
-
/* harmony import */ var
|
7563
|
+
/* harmony import */ var _question_dropdown__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./question_dropdown */ "./src/question_dropdown.ts");
|
7564
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
7565
|
+
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
7566
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
7559
7567
|
var __extends = (undefined && undefined.__extends) || (function () {
|
7560
7568
|
var extendStatics = function (d, b) {
|
7561
7569
|
extendStatics = Object.setPrototypeOf ||
|
@@ -7584,6 +7592,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
7584
7592
|
|
7585
7593
|
|
7586
7594
|
|
7595
|
+
|
7587
7596
|
var DropdownListModel = /** @class */ (function (_super) {
|
7588
7597
|
__extends(DropdownListModel, _super);
|
7589
7598
|
function DropdownListModel(question, onSelectionChanged) {
|
@@ -7592,11 +7601,20 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7592
7601
|
_this.onSelectionChanged = onSelectionChanged;
|
7593
7602
|
_this.minPageSize = 25;
|
7594
7603
|
_this.loadingItemHeight = 40;
|
7604
|
+
_this._markdownMode = false;
|
7595
7605
|
_this.selectedItemSelector = ".sv-list__item--selected";
|
7596
7606
|
_this.itemSelector = ".sv-list__item";
|
7597
7607
|
_this.itemsSettings = { skip: 0, take: 0, totalCount: 0, items: [] };
|
7598
7608
|
_this.isRunningLoadQuestionChoices = false;
|
7599
7609
|
_this.popupCssClasses = "sv-single-select-list";
|
7610
|
+
question.onPropertyChanged.add(function (sender, options) {
|
7611
|
+
if (options.name == "value") {
|
7612
|
+
_this.showInputFieldComponent = _this.question.showInputFieldComponent;
|
7613
|
+
_this.showSelectedItemLocText = _this.question.showSelectedItemLocText;
|
7614
|
+
}
|
7615
|
+
});
|
7616
|
+
_this.showInputFieldComponent = _this.question.showInputFieldComponent;
|
7617
|
+
_this.showSelectedItemLocText = _this.question.showSelectedItemLocText;
|
7600
7618
|
_this.listModel = _this.createListModel();
|
7601
7619
|
_this.updateAfterListModelCreated(_this.listModel);
|
7602
7620
|
_this.setSearchEnabled(_this.question.searchEnabled);
|
@@ -7612,7 +7630,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7612
7630
|
configurable: true
|
7613
7631
|
});
|
7614
7632
|
DropdownListModel.prototype.getFocusFirstInputSelector = function () {
|
7615
|
-
if (
|
7633
|
+
if (_utils_devices__WEBPACK_IMPORTED_MODULE_6__["IsTouch"]) {
|
7616
7634
|
return this.isValueEmpty(this.question.value) ? this.itemSelector : this.selectedItemSelector;
|
7617
7635
|
}
|
7618
7636
|
else {
|
@@ -7661,10 +7679,10 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7661
7679
|
DropdownListModel.prototype.createPopup = function () {
|
7662
7680
|
var _this = this;
|
7663
7681
|
this._popupModel = new _popup__WEBPACK_IMPORTED_MODULE_3__["PopupModel"]("sv-list", { model: this.listModel }, "bottom", "center", false);
|
7664
|
-
this._popupModel.displayMode =
|
7682
|
+
this._popupModel.displayMode = _utils_devices__WEBPACK_IMPORTED_MODULE_6__["IsTouch"] ? "overlay" : "popup";
|
7665
7683
|
this._popupModel.positionMode = "fixed";
|
7666
|
-
this._popupModel.isFocusedContent =
|
7667
|
-
this._popupModel.setWidthByTarget = !
|
7684
|
+
this._popupModel.isFocusedContent = _utils_devices__WEBPACK_IMPORTED_MODULE_6__["IsTouch"];
|
7685
|
+
this._popupModel.setWidthByTarget = !_utils_devices__WEBPACK_IMPORTED_MODULE_6__["IsTouch"];
|
7668
7686
|
this.updatePopupFocusFirstInputSelector();
|
7669
7687
|
this.listModel.registerPropertyChangedHandlers(["showFilter"], function () {
|
7670
7688
|
_this.updatePopupFocusFirstInputSelector();
|
@@ -7691,7 +7709,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7691
7709
|
});
|
7692
7710
|
};
|
7693
7711
|
DropdownListModel.prototype.setFilterStringToListModel = function (newValue) {
|
7712
|
+
var _this = this;
|
7694
7713
|
this.listModel.filterString = newValue;
|
7714
|
+
this.listModel.resetFocusedItem();
|
7715
|
+
if (this.question.selectedItem && this.question.selectedItem.text.indexOf(newValue) >= 0) {
|
7716
|
+
this.listModel.focusedItem = this.getAvailableItems().filter(function (item) { return item.id == _this.question.selectedItem.value; })[0];
|
7717
|
+
return;
|
7718
|
+
}
|
7695
7719
|
if (!this.listModel.focusedItem || !this.listModel.isItemVisible(this.listModel.focusedItem)) {
|
7696
7720
|
this.listModel.focusFirstVisibleItem();
|
7697
7721
|
}
|
@@ -7715,11 +7739,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7715
7739
|
var _onSelectionChanged = this.onSelectionChanged;
|
7716
7740
|
if (!_onSelectionChanged) {
|
7717
7741
|
_onSelectionChanged = function (item) {
|
7718
|
-
_this.question.value = item.
|
7742
|
+
_this.question.value = item.id;
|
7743
|
+
if (_this.question.searchEnabled)
|
7744
|
+
_this.applyInputString(item);
|
7719
7745
|
_this._popupModel.toggleVisibility();
|
7720
7746
|
};
|
7721
7747
|
}
|
7722
|
-
var res = new _list__WEBPACK_IMPORTED_MODULE_2__["ListModel"](visibleItems, _onSelectionChanged, false);
|
7748
|
+
var res = new _list__WEBPACK_IMPORTED_MODULE_2__["ListModel"](visibleItems, _onSelectionChanged, false, undefined, undefined, this.listElementId);
|
7723
7749
|
res.renderElements = false;
|
7724
7750
|
res.areSameItemsCallback = function (item1, item2) {
|
7725
7751
|
return item1 === item2;
|
@@ -7738,7 +7764,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7738
7764
|
model.isAllDataLoaded = !this.question.choicesLazyLoadEnabled;
|
7739
7765
|
};
|
7740
7766
|
DropdownListModel.prototype.updateCssClasses = function (popupCssClass, listCssClasses) {
|
7741
|
-
this.popupModel.cssClass = new
|
7767
|
+
this.popupModel.cssClass = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__["CssClassBuilder"]().append(popupCssClass).append(this.popupCssClasses).toString();
|
7742
7768
|
this.listModel.cssClasses = listCssClasses;
|
7743
7769
|
};
|
7744
7770
|
DropdownListModel.prototype.resetFilterString = function () {
|
@@ -7751,7 +7777,6 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7751
7777
|
if (!!this.filterString && !this.popupModel.isVisible) {
|
7752
7778
|
this.popupModel.isVisible = true;
|
7753
7779
|
}
|
7754
|
-
this.setInputHasValue(!!this.filterString);
|
7755
7780
|
var updateAfterFilterStringChanged = function () {
|
7756
7781
|
_this.setFilterStringToListModel(_this.filterString);
|
7757
7782
|
_this.popupRecalculatePosition(true);
|
@@ -7764,9 +7789,99 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7764
7789
|
updateAfterFilterStringChanged();
|
7765
7790
|
}
|
7766
7791
|
};
|
7767
|
-
DropdownListModel.prototype.
|
7768
|
-
|
7792
|
+
DropdownListModel.prototype.applyInputString = function (item) {
|
7793
|
+
var hasHtml = item === null || item === void 0 ? void 0 : item.locText.hasHtml;
|
7794
|
+
if (hasHtml || this.question.inputFieldComponentName) {
|
7795
|
+
this._markdownMode = true;
|
7796
|
+
this.inputString = "";
|
7797
|
+
}
|
7798
|
+
else {
|
7799
|
+
this.inputString = item === null || item === void 0 ? void 0 : item.title;
|
7800
|
+
this.hintString = item === null || item === void 0 ? void 0 : item.title;
|
7801
|
+
}
|
7769
7802
|
};
|
7803
|
+
DropdownListModel.prototype.applyHintString = function (item) {
|
7804
|
+
var hasHtml = item === null || item === void 0 ? void 0 : item.locText.hasHtml;
|
7805
|
+
if (hasHtml || this.question.inputFieldComponentName) {
|
7806
|
+
this._markdownMode = true;
|
7807
|
+
this.hintString = "";
|
7808
|
+
}
|
7809
|
+
else {
|
7810
|
+
this.hintString = item === null || item === void 0 ? void 0 : item.title;
|
7811
|
+
}
|
7812
|
+
};
|
7813
|
+
Object.defineProperty(DropdownListModel.prototype, "inputStringRendered", {
|
7814
|
+
get: function () {
|
7815
|
+
return this.getPropertyValue("inputString") || "";
|
7816
|
+
},
|
7817
|
+
set: function (val) {
|
7818
|
+
this.setPropertyValue("inputString", val);
|
7819
|
+
this.filterString = val;
|
7820
|
+
this.applyHintString(this.listModel.focusedItem);
|
7821
|
+
},
|
7822
|
+
enumerable: false,
|
7823
|
+
configurable: true
|
7824
|
+
});
|
7825
|
+
Object.defineProperty(DropdownListModel.prototype, "placeholderRendered", {
|
7826
|
+
get: function () {
|
7827
|
+
return this.hintString ? "" : this.question.readOnlyText;
|
7828
|
+
},
|
7829
|
+
enumerable: false,
|
7830
|
+
configurable: true
|
7831
|
+
});
|
7832
|
+
Object.defineProperty(DropdownListModel.prototype, "listElementId", {
|
7833
|
+
get: function () {
|
7834
|
+
return this.question.inputId + "_list";
|
7835
|
+
},
|
7836
|
+
enumerable: false,
|
7837
|
+
configurable: true
|
7838
|
+
});
|
7839
|
+
Object.defineProperty(DropdownListModel.prototype, "hintStringLC", {
|
7840
|
+
get: function () {
|
7841
|
+
var _a;
|
7842
|
+
return ((_a = this.hintString) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || "";
|
7843
|
+
},
|
7844
|
+
enumerable: false,
|
7845
|
+
configurable: true
|
7846
|
+
});
|
7847
|
+
Object.defineProperty(DropdownListModel.prototype, "inputStringLC", {
|
7848
|
+
get: function () {
|
7849
|
+
var _a;
|
7850
|
+
return ((_a = this.inputString) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || "";
|
7851
|
+
},
|
7852
|
+
enumerable: false,
|
7853
|
+
configurable: true
|
7854
|
+
});
|
7855
|
+
Object.defineProperty(DropdownListModel.prototype, "showHintPrefix", {
|
7856
|
+
get: function () {
|
7857
|
+
return !!this.inputString && this.hintStringLC.indexOf(this.inputStringLC) > 0;
|
7858
|
+
},
|
7859
|
+
enumerable: false,
|
7860
|
+
configurable: true
|
7861
|
+
});
|
7862
|
+
Object.defineProperty(DropdownListModel.prototype, "hintStringPrefix", {
|
7863
|
+
get: function () {
|
7864
|
+
if (!this.inputString)
|
7865
|
+
return null;
|
7866
|
+
return this.hintString.substring(0, this.hintStringLC.indexOf(this.inputStringLC));
|
7867
|
+
},
|
7868
|
+
enumerable: false,
|
7869
|
+
configurable: true
|
7870
|
+
});
|
7871
|
+
Object.defineProperty(DropdownListModel.prototype, "showHintString", {
|
7872
|
+
get: function () {
|
7873
|
+
return !!this.question.searchEnabled && this.hintStringLC && this.hintStringLC.indexOf(this.inputStringLC) >= 0;
|
7874
|
+
},
|
7875
|
+
enumerable: false,
|
7876
|
+
configurable: true
|
7877
|
+
});
|
7878
|
+
Object.defineProperty(DropdownListModel.prototype, "hintStringSuffix", {
|
7879
|
+
get: function () {
|
7880
|
+
return this.hintString.substring(this.hintStringLC.indexOf(this.inputStringLC) + this.inputStringLC.length);
|
7881
|
+
},
|
7882
|
+
enumerable: false,
|
7883
|
+
configurable: true
|
7884
|
+
});
|
7770
7885
|
Object.defineProperty(DropdownListModel.prototype, "popupModel", {
|
7771
7886
|
get: function () {
|
7772
7887
|
return this._popupModel;
|
@@ -7790,14 +7905,14 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7790
7905
|
});
|
7791
7906
|
Object.defineProperty(DropdownListModel.prototype, "inputMode", {
|
7792
7907
|
get: function () {
|
7793
|
-
return
|
7908
|
+
return _utils_devices__WEBPACK_IMPORTED_MODULE_6__["IsTouch"] ? "none" : "text";
|
7794
7909
|
},
|
7795
7910
|
enumerable: false,
|
7796
7911
|
configurable: true
|
7797
7912
|
});
|
7798
7913
|
DropdownListModel.prototype.setSearchEnabled = function (newValue) {
|
7799
|
-
this.listModel.searchEnabled =
|
7800
|
-
this.listModel.showSearchClearButton =
|
7914
|
+
this.listModel.searchEnabled = _utils_devices__WEBPACK_IMPORTED_MODULE_6__["IsTouch"];
|
7915
|
+
this.listModel.showSearchClearButton = _utils_devices__WEBPACK_IMPORTED_MODULE_6__["IsTouch"];
|
7801
7916
|
this.searchEnabled = newValue;
|
7802
7917
|
};
|
7803
7918
|
DropdownListModel.prototype.updateItems = function () {
|
@@ -7805,7 +7920,6 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7805
7920
|
};
|
7806
7921
|
DropdownListModel.prototype.onClick = function (event) {
|
7807
7922
|
this._popupModel.toggleVisibility();
|
7808
|
-
this.listModel.focusNextVisibleItem();
|
7809
7923
|
if (this.searchEnabled && !!event && !!event.target) {
|
7810
7924
|
var input = event.target.querySelector("input");
|
7811
7925
|
if (!!input) {
|
@@ -7815,18 +7929,38 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7815
7929
|
};
|
7816
7930
|
DropdownListModel.prototype.onClear = function (event) {
|
7817
7931
|
this.question.clearValue();
|
7932
|
+
this.inputString = null;
|
7933
|
+
this.hintString = "";
|
7818
7934
|
this.resetFilterString();
|
7819
|
-
event
|
7820
|
-
|
7935
|
+
if (event) {
|
7936
|
+
event.preventDefault();
|
7937
|
+
event.stopPropagation();
|
7938
|
+
}
|
7821
7939
|
};
|
7822
7940
|
DropdownListModel.prototype.getSelectedAction = function () {
|
7823
7941
|
return this.question.selectedItem || null;
|
7824
7942
|
};
|
7943
|
+
DropdownListModel.prototype.changeSelectionWithKeyboard = function (reverse) {
|
7944
|
+
var _a;
|
7945
|
+
if (reverse) {
|
7946
|
+
this.listModel.focusPrevVisibleItem();
|
7947
|
+
}
|
7948
|
+
else {
|
7949
|
+
this.listModel.focusNextVisibleItem();
|
7950
|
+
}
|
7951
|
+
this.scrollToFocusedItem();
|
7952
|
+
if (this.question.value && this.question.searchEnabled && this.question instanceof _question_dropdown__WEBPACK_IMPORTED_MODULE_4__["QuestionDropdownModel"]) {
|
7953
|
+
this.applyInputString(this.listModel.focusedItem);
|
7954
|
+
}
|
7955
|
+
else {
|
7956
|
+
this.applyHintString(this.listModel.focusedItem);
|
7957
|
+
}
|
7958
|
+
this.ariaActivedescendant = (_a = this.listModel.focusedItem) === null || _a === void 0 ? void 0 : _a.elementId;
|
7959
|
+
};
|
7825
7960
|
DropdownListModel.prototype.keyHandler = function (event) {
|
7826
7961
|
var char = event.which || event.keyCode;
|
7827
7962
|
if (this.popupModel.isVisible && event.keyCode === 38) {
|
7828
|
-
this.
|
7829
|
-
this.scrollToFocusedItem();
|
7963
|
+
this.changeSelectionWithKeyboard(true);
|
7830
7964
|
event.preventDefault();
|
7831
7965
|
event.stopPropagation();
|
7832
7966
|
}
|
@@ -7834,28 +7968,48 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7834
7968
|
if (!this.popupModel.isVisible) {
|
7835
7969
|
this.popupModel.toggleVisibility();
|
7836
7970
|
}
|
7837
|
-
this.
|
7838
|
-
this.scrollToFocusedItem();
|
7971
|
+
this.changeSelectionWithKeyboard(false);
|
7839
7972
|
event.preventDefault();
|
7840
7973
|
event.stopPropagation();
|
7841
7974
|
}
|
7842
|
-
else if (this.popupModel.isVisible && (event.keyCode === 13 || event.keyCode === 32)) {
|
7843
|
-
this.
|
7975
|
+
else if (!this.popupModel.isVisible && (event.keyCode === 13 || event.keyCode === 32)) {
|
7976
|
+
this.popupModel.toggleVisibility();
|
7977
|
+
this.changeSelectionWithKeyboard(false);
|
7844
7978
|
event.preventDefault();
|
7845
7979
|
event.stopPropagation();
|
7846
7980
|
}
|
7847
|
-
else if (
|
7848
|
-
this.
|
7981
|
+
else if (this.popupModel.isVisible && (event.keyCode === 13 || event.keyCode === 32 && !this.question.searchEnabled)) {
|
7982
|
+
if (event.keyCode === 13 && this.question.searchEnabled && !this.inputString && this.question instanceof _question_dropdown__WEBPACK_IMPORTED_MODULE_4__["QuestionDropdownModel"] && !this._markdownMode && this.question.value) {
|
7983
|
+
this._popupModel.isVisible = false;
|
7984
|
+
this.onClear(event);
|
7985
|
+
}
|
7986
|
+
else {
|
7987
|
+
this.listModel.selectFocusedItem();
|
7988
|
+
this.onFocus(event);
|
7989
|
+
}
|
7990
|
+
event.preventDefault();
|
7991
|
+
event.stopPropagation();
|
7992
|
+
}
|
7993
|
+
else if (char === 46 || char === 8) {
|
7994
|
+
if (!this.searchEnabled) {
|
7995
|
+
this.onClear(event);
|
7996
|
+
}
|
7849
7997
|
}
|
7850
7998
|
else if (event.keyCode === 27) {
|
7851
|
-
this.
|
7999
|
+
this._popupModel.isVisible = false;
|
8000
|
+
this.hintString = "";
|
8001
|
+
if (this.question.searchEnabled && this.question instanceof _question_dropdown__WEBPACK_IMPORTED_MODULE_4__["QuestionDropdownModel"])
|
8002
|
+
this.applyInputString(this.question.selectedItem);
|
7852
8003
|
}
|
7853
8004
|
else {
|
7854
|
-
if (event.keyCode === 38 || event.keyCode === 40 || event.keyCode === 32) {
|
8005
|
+
if (event.keyCode === 38 || event.keyCode === 40 || event.keyCode === 32 && !this.question.searchEnabled) {
|
7855
8006
|
event.preventDefault();
|
7856
8007
|
event.stopPropagation();
|
7857
8008
|
}
|
7858
|
-
|
8009
|
+
if (event.keyCode === 32 && this.question.searchEnabled) {
|
8010
|
+
return;
|
8011
|
+
}
|
8012
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_7__["doKey2ClickUp"])(event, { processEsc: false, disableTabStop: this.question.isInputReadOnly });
|
7859
8013
|
}
|
7860
8014
|
};
|
7861
8015
|
DropdownListModel.prototype.onScroll = function (event) {
|
@@ -7865,7 +8019,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7865
8019
|
}
|
7866
8020
|
};
|
7867
8021
|
DropdownListModel.prototype.onBlur = function (event) {
|
7868
|
-
if (this.popupModel.isVisible &&
|
8022
|
+
if (this.popupModel.isVisible && _utils_devices__WEBPACK_IMPORTED_MODULE_6__["IsTouch"]) {
|
7869
8023
|
this._popupModel.isVisible = true;
|
7870
8024
|
return;
|
7871
8025
|
}
|
@@ -7873,9 +8027,22 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7873
8027
|
this.listModel.selectFocusedItem();
|
7874
8028
|
}
|
7875
8029
|
this.resetFilterString();
|
8030
|
+
this.inputString = null;
|
8031
|
+
this.hintString = "";
|
8032
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_7__["doKey2ClickBlur"])(event);
|
7876
8033
|
this._popupModel.isVisible = false;
|
7877
|
-
|
7878
|
-
|
8034
|
+
event.stopPropagation();
|
8035
|
+
};
|
8036
|
+
DropdownListModel.prototype.onFocus = function (event) {
|
8037
|
+
this.setInputStringFromSelectedItem();
|
8038
|
+
};
|
8039
|
+
DropdownListModel.prototype.setInputStringFromSelectedItem = function (newValue) {
|
8040
|
+
if (this.question.searchEnabled) {
|
8041
|
+
this.applyInputString(newValue || this.question.selectedItem);
|
8042
|
+
}
|
8043
|
+
else {
|
8044
|
+
this.inputString = null;
|
8045
|
+
}
|
7879
8046
|
};
|
7880
8047
|
DropdownListModel.prototype.scrollToFocusedItem = function () {
|
7881
8048
|
this.listModel.scrollToFocusedItem();
|
@@ -7891,6 +8058,24 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7891
8058
|
}
|
7892
8059
|
})
|
7893
8060
|
], DropdownListModel.prototype, "filterString", void 0);
|
8061
|
+
__decorate([
|
8062
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({
|
8063
|
+
defaultValue: "",
|
8064
|
+
onSet: function (newValue, target) {
|
8065
|
+
target.question.inputHasValue = !!newValue;
|
8066
|
+
target.showSelectedItemLocText = target.question.showSelectedItemLocText;
|
8067
|
+
}
|
8068
|
+
})
|
8069
|
+
], DropdownListModel.prototype, "inputString", void 0);
|
8070
|
+
__decorate([
|
8071
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({})
|
8072
|
+
], DropdownListModel.prototype, "showSelectedItemLocText", void 0);
|
8073
|
+
__decorate([
|
8074
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({})
|
8075
|
+
], DropdownListModel.prototype, "showInputFieldComponent", void 0);
|
8076
|
+
__decorate([
|
8077
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
8078
|
+
], DropdownListModel.prototype, "ariaActivedescendant", void 0);
|
7894
8079
|
__decorate([
|
7895
8080
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({
|
7896
8081
|
defaultValue: false,
|
@@ -7904,6 +8089,9 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7904
8089
|
}
|
7905
8090
|
})
|
7906
8091
|
], DropdownListModel.prototype, "hasScroll", void 0);
|
8092
|
+
__decorate([
|
8093
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "" })
|
8094
|
+
], DropdownListModel.prototype, "hintString", void 0);
|
7907
8095
|
return DropdownListModel;
|
7908
8096
|
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
|
7909
8097
|
|
@@ -8013,7 +8201,7 @@ var DropdownMultiSelectListModel = /** @class */ (function (_super) {
|
|
8013
8201
|
}
|
8014
8202
|
};
|
8015
8203
|
}
|
8016
|
-
return new _multiSelectListModel__WEBPACK_IMPORTED_MODULE_3__["MultiSelectListModel"](visibleItems, _onSelectionChanged, false);
|
8204
|
+
return new _multiSelectListModel__WEBPACK_IMPORTED_MODULE_3__["MultiSelectListModel"](visibleItems, _onSelectionChanged, false, undefined, undefined, this.listElementId);
|
8017
8205
|
};
|
8018
8206
|
Object.defineProperty(DropdownMultiSelectListModel.prototype, "shouldResetAfterCancel", {
|
8019
8207
|
get: function () {
|
@@ -8088,6 +8276,11 @@ var DropdownMultiSelectListModel = /** @class */ (function (_super) {
|
|
8088
8276
|
event.stopPropagation();
|
8089
8277
|
}
|
8090
8278
|
};
|
8279
|
+
DropdownMultiSelectListModel.prototype.setInputStringFromSelectedItem = function (newValue) {
|
8280
|
+
if (this.question.searchEnabled) {
|
8281
|
+
this.inputString = null;
|
8282
|
+
}
|
8283
|
+
};
|
8091
8284
|
__decorate([
|
8092
8285
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])({ defaultValue: "" })
|
8093
8286
|
], DropdownMultiSelectListModel.prototype, "filterStringPlaceholder", void 0);
|
@@ -8853,7 +9046,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
8853
9046
|
// import "../../main.scss";
|
8854
9047
|
//import "../../modern.scss";
|
8855
9048
|
var Version;
|
8856
|
-
Version = "" + "1.9.
|
9049
|
+
Version = "" + "1.9.80";
|
8857
9050
|
function checkLibraryVersion(ver, libraryName) {
|
8858
9051
|
if (Version != ver) {
|
8859
9052
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
@@ -9836,7 +10029,7 @@ var defaultBootstrapMaterialCss = _plugins_themes_bootstrapmaterial_cssbootstrap
|
|
9836
10029
|
/*!***************************************!*\
|
9837
10030
|
!*** ./src/entries/react-ui-model.ts ***!
|
9838
10031
|
\***************************************/
|
9839
|
-
/*! 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, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, 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, SurveyLocStringViewer, SurveyLocStringEditor */
|
10032
|
+
/*! 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, 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, SurveyLocStringViewer, SurveyLocStringEditor */
|
9840
10033
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9841
10034
|
|
9842
10035
|
"use strict";
|
@@ -9902,194 +10095,197 @@ __webpack_require__.r(__webpack_exports__);
|
|
9902
10095
|
/* harmony import */ var _react_components_rating_rating_item_star__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../react/components/rating/rating-item-star */ "./src/react/components/rating/rating-item-star.tsx");
|
9903
10096
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RatingItemStar", function() { return _react_components_rating_rating_item_star__WEBPACK_IMPORTED_MODULE_14__["RatingItemStar"]; });
|
9904
10097
|
|
9905
|
-
/* harmony import */ var
|
9906
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
10098
|
+
/* 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");
|
10099
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RatingItemSmiley", function() { return _react_components_rating_rating_item_smiley__WEBPACK_IMPORTED_MODULE_15__["RatingItemSmiley"]; });
|
10100
|
+
|
10101
|
+
/* harmony import */ var _react_tagbox_filter__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../react/tagbox-filter */ "./src/react/tagbox-filter.tsx");
|
10102
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TagboxFilterString", function() { return _react_tagbox_filter__WEBPACK_IMPORTED_MODULE_16__["TagboxFilterString"]; });
|
9907
10103
|
|
9908
|
-
/* harmony import */ var
|
9909
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionOptionItem", function() { return
|
10104
|
+
/* harmony import */ var _react_dropdown_item__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../react/dropdown-item */ "./src/react/dropdown-item.tsx");
|
10105
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionOptionItem", function() { return _react_dropdown_item__WEBPACK_IMPORTED_MODULE_17__["SurveyQuestionOptionItem"]; });
|
9910
10106
|
|
9911
|
-
/* harmony import */ var
|
9912
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionDropdownBase", function() { return
|
10107
|
+
/* harmony import */ var _react_dropdown_base__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../react/dropdown-base */ "./src/react/dropdown-base.tsx");
|
10108
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionDropdownBase", function() { return _react_dropdown_base__WEBPACK_IMPORTED_MODULE_18__["SurveyQuestionDropdownBase"]; });
|
9913
10109
|
|
9914
|
-
/* harmony import */ var
|
9915
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionDropdown", function() { return
|
10110
|
+
/* harmony import */ var _react_reactquestion_dropdown__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../react/reactquestion_dropdown */ "./src/react/reactquestion_dropdown.tsx");
|
10111
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionDropdown", function() { return _react_reactquestion_dropdown__WEBPACK_IMPORTED_MODULE_19__["SurveyQuestionDropdown"]; });
|
9916
10112
|
|
9917
|
-
/* harmony import */ var
|
9918
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionTagboxItem", function() { return
|
10113
|
+
/* harmony import */ var _react_tagbox_item__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../react/tagbox-item */ "./src/react/tagbox-item.tsx");
|
10114
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionTagboxItem", function() { return _react_tagbox_item__WEBPACK_IMPORTED_MODULE_20__["SurveyQuestionTagboxItem"]; });
|
9919
10115
|
|
9920
|
-
/* harmony import */ var
|
9921
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionTagbox", function() { return
|
10116
|
+
/* harmony import */ var _react_reactquestion_tagbox__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../react/reactquestion_tagbox */ "./src/react/reactquestion_tagbox.tsx");
|
10117
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionTagbox", function() { return _react_reactquestion_tagbox__WEBPACK_IMPORTED_MODULE_21__["SurveyQuestionTagbox"]; });
|
9922
10118
|
|
9923
|
-
/* harmony import */ var
|
9924
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionDropdownSelect", function() { return
|
10119
|
+
/* harmony import */ var _react_dropdown_select__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../react/dropdown-select */ "./src/react/dropdown-select.tsx");
|
10120
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionDropdownSelect", function() { return _react_dropdown_select__WEBPACK_IMPORTED_MODULE_22__["SurveyQuestionDropdownSelect"]; });
|
9925
10121
|
|
9926
|
-
/* harmony import */ var
|
9927
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrix", function() { return
|
10122
|
+
/* harmony import */ var _react_reactquestion_matrix__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../react/reactquestion_matrix */ "./src/react/reactquestion_matrix.tsx");
|
10123
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrix", function() { return _react_reactquestion_matrix__WEBPACK_IMPORTED_MODULE_23__["SurveyQuestionMatrix"]; });
|
9928
10124
|
|
9929
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixRow", function() { return
|
10125
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixRow", function() { return _react_reactquestion_matrix__WEBPACK_IMPORTED_MODULE_23__["SurveyQuestionMatrixRow"]; });
|
9930
10126
|
|
9931
|
-
/* harmony import */ var
|
9932
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionHtml", function() { return
|
10127
|
+
/* harmony import */ var _react_reactquestion_html__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../react/reactquestion_html */ "./src/react/reactquestion_html.tsx");
|
10128
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionHtml", function() { return _react_reactquestion_html__WEBPACK_IMPORTED_MODULE_24__["SurveyQuestionHtml"]; });
|
9933
10129
|
|
9934
|
-
/* harmony import */ var
|
9935
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionFile", function() { return
|
10130
|
+
/* harmony import */ var _react_reactquestion_file__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../react/reactquestion_file */ "./src/react/reactquestion_file.tsx");
|
10131
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionFile", function() { return _react_reactquestion_file__WEBPACK_IMPORTED_MODULE_25__["SurveyQuestionFile"]; });
|
9936
10132
|
|
9937
|
-
/* harmony import */ var
|
9938
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMultipleText", function() { return
|
10133
|
+
/* harmony import */ var _react_reactquestion_multipletext__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../react/reactquestion_multipletext */ "./src/react/reactquestion_multipletext.tsx");
|
10134
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMultipleText", function() { return _react_reactquestion_multipletext__WEBPACK_IMPORTED_MODULE_26__["SurveyQuestionMultipleText"]; });
|
9939
10135
|
|
9940
|
-
/* harmony import */ var
|
9941
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadiogroup", function() { return
|
10136
|
+
/* harmony import */ var _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../react/reactquestion_radiogroup */ "./src/react/reactquestion_radiogroup.tsx");
|
10137
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadiogroup", function() { return _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_27__["SurveyQuestionRadiogroup"]; });
|
9942
10138
|
|
9943
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadioItem", function() { return
|
10139
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRadioItem", function() { return _react_reactquestion_radiogroup__WEBPACK_IMPORTED_MODULE_27__["SurveyQuestionRadioItem"]; });
|
9944
10140
|
|
9945
|
-
/* harmony import */ var
|
9946
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionText", function() { return
|
10141
|
+
/* harmony import */ var _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../react/reactquestion_text */ "./src/react/reactquestion_text.tsx");
|
10142
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionText", function() { return _react_reactquestion_text__WEBPACK_IMPORTED_MODULE_28__["SurveyQuestionText"]; });
|
9947
10143
|
|
9948
|
-
/* harmony import */ var
|
9949
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBoolean", function() { return
|
10144
|
+
/* harmony import */ var _react_boolean__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../react/boolean */ "./src/react/boolean.tsx");
|
10145
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBoolean", function() { return _react_boolean__WEBPACK_IMPORTED_MODULE_29__["SurveyQuestionBoolean"]; });
|
9950
10146
|
|
9951
|
-
/* harmony import */ var
|
9952
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBooleanCheckbox", function() { return
|
10147
|
+
/* harmony import */ var _react_boolean_checkbox__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../react/boolean-checkbox */ "./src/react/boolean-checkbox.tsx");
|
10148
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBooleanCheckbox", function() { return _react_boolean_checkbox__WEBPACK_IMPORTED_MODULE_30__["SurveyQuestionBooleanCheckbox"]; });
|
9953
10149
|
|
9954
|
-
/* harmony import */ var
|
9955
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBooleanRadio", function() { return
|
10150
|
+
/* harmony import */ var _react_boolean_radio__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../react/boolean-radio */ "./src/react/boolean-radio.tsx");
|
10151
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionBooleanRadio", function() { return _react_boolean_radio__WEBPACK_IMPORTED_MODULE_31__["SurveyQuestionBooleanRadio"]; });
|
9956
10152
|
|
9957
|
-
/* harmony import */ var
|
9958
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEmpty", function() { return
|
10153
|
+
/* harmony import */ var _react_reactquestion_empty__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../react/reactquestion_empty */ "./src/react/reactquestion_empty.tsx");
|
10154
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEmpty", function() { return _react_reactquestion_empty__WEBPACK_IMPORTED_MODULE_32__["SurveyQuestionEmpty"]; });
|
9959
10155
|
|
9960
|
-
/* harmony import */ var
|
9961
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdownCell", function() { return
|
10156
|
+
/* harmony import */ var _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../react/reactquestion_matrixdropdownbase */ "./src/react/reactquestion_matrixdropdownbase.tsx");
|
10157
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdownCell", function() { return _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_33__["SurveyQuestionMatrixDropdownCell"]; });
|
9962
10158
|
|
9963
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdownBase", function() { return
|
10159
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdownBase", function() { return _react_reactquestion_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_33__["SurveyQuestionMatrixDropdownBase"]; });
|
9964
10160
|
|
9965
|
-
/* harmony import */ var
|
9966
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdown", function() { return
|
10161
|
+
/* harmony import */ var _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../react/reactquestion_matrixdropdown */ "./src/react/reactquestion_matrixdropdown.tsx");
|
10162
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDropdown", function() { return _react_reactquestion_matrixdropdown__WEBPACK_IMPORTED_MODULE_34__["SurveyQuestionMatrixDropdown"]; });
|
9967
10163
|
|
9968
|
-
/* harmony import */ var
|
9969
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamic", function() { return
|
10164
|
+
/* harmony import */ var _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../react/reactquestion_matrixdynamic */ "./src/react/reactquestion_matrixdynamic.tsx");
|
10165
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamic", function() { return _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_35__["SurveyQuestionMatrixDynamic"]; });
|
9970
10166
|
|
9971
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicAddButton", function() { return
|
10167
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicAddButton", function() { return _react_reactquestion_matrixdynamic__WEBPACK_IMPORTED_MODULE_35__["SurveyQuestionMatrixDynamicAddButton"]; });
|
9972
10168
|
|
9973
|
-
/* harmony import */ var
|
9974
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamic", function() { return
|
10169
|
+
/* harmony import */ var _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../react/reactquestion_paneldynamic */ "./src/react/reactquestion_paneldynamic.tsx");
|
10170
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamic", function() { return _react_reactquestion_paneldynamic__WEBPACK_IMPORTED_MODULE_36__["SurveyQuestionPanelDynamic"]; });
|
9975
10171
|
|
9976
|
-
/* harmony import */ var
|
9977
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgress", function() { return
|
10172
|
+
/* harmony import */ var _react_reactSurveyProgress__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../react/reactSurveyProgress */ "./src/react/reactSurveyProgress.tsx");
|
10173
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgress", function() { return _react_reactSurveyProgress__WEBPACK_IMPORTED_MODULE_37__["SurveyProgress"]; });
|
9978
10174
|
|
9979
|
-
/* harmony import */ var
|
9980
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressButtons", function() { return
|
10175
|
+
/* harmony import */ var _react_reactSurveyProgressButtons__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../react/reactSurveyProgressButtons */ "./src/react/reactSurveyProgressButtons.tsx");
|
10176
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressButtons", function() { return _react_reactSurveyProgressButtons__WEBPACK_IMPORTED_MODULE_38__["SurveyProgressButtons"]; });
|
9981
10177
|
|
9982
|
-
/* harmony import */ var
|
9983
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressToc", function() { return
|
10178
|
+
/* harmony import */ var _react_reactSurveyProgressToc__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../react/reactSurveyProgressToc */ "./src/react/reactSurveyProgressToc.tsx");
|
10179
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressToc", function() { return _react_reactSurveyProgressToc__WEBPACK_IMPORTED_MODULE_39__["SurveyProgressToc"]; });
|
9984
10180
|
|
9985
|
-
/* harmony import */ var
|
9986
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRating", function() { return
|
10181
|
+
/* harmony import */ var _react_reactquestion_rating__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../react/reactquestion_rating */ "./src/react/reactquestion_rating.tsx");
|
10182
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRating", function() { return _react_reactquestion_rating__WEBPACK_IMPORTED_MODULE_40__["SurveyQuestionRating"]; });
|
9987
10183
|
|
9988
|
-
/* harmony import */ var
|
9989
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRatingDropdown", function() { return
|
10184
|
+
/* harmony import */ var _react_rating_dropdown__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../react/rating-dropdown */ "./src/react/rating-dropdown.tsx");
|
10185
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionRatingDropdown", function() { return _react_rating_dropdown__WEBPACK_IMPORTED_MODULE_41__["SurveyQuestionRatingDropdown"]; });
|
9990
10186
|
|
9991
|
-
/* harmony import */ var
|
9992
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionExpression", function() { return
|
10187
|
+
/* harmony import */ var _react_reactquestion_expression__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../react/reactquestion_expression */ "./src/react/reactquestion_expression.tsx");
|
10188
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionExpression", function() { return _react_reactquestion_expression__WEBPACK_IMPORTED_MODULE_42__["SurveyQuestionExpression"]; });
|
9993
10189
|
|
9994
|
-
/* harmony import */ var
|
9995
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurvey", function() { return
|
10190
|
+
/* harmony import */ var _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../react/react-popup-survey */ "./src/react/react-popup-survey.tsx");
|
10191
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurvey", function() { return _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_43__["PopupSurvey"]; });
|
9996
10192
|
|
9997
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindow", function() { return
|
10193
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindow", function() { return _react_react_popup_survey__WEBPACK_IMPORTED_MODULE_43__["SurveyWindow"]; });
|
9998
10194
|
|
9999
|
-
/* harmony import */ var
|
10000
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactQuestionFactory", function() { return
|
10195
|
+
/* harmony import */ var _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../react/reactquestion_factory */ "./src/react/reactquestion_factory.tsx");
|
10196
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactQuestionFactory", function() { return _react_reactquestion_factory__WEBPACK_IMPORTED_MODULE_44__["ReactQuestionFactory"]; });
|
10001
10197
|
|
10002
|
-
/* harmony import */ var
|
10003
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactElementFactory", function() { return
|
10198
|
+
/* harmony import */ var _react_element_factory__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../react/element-factory */ "./src/react/element-factory.tsx");
|
10199
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReactElementFactory", function() { return _react_element_factory__WEBPACK_IMPORTED_MODULE_45__["ReactElementFactory"]; });
|
10004
10200
|
|
10005
|
-
/* harmony import */ var
|
10006
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionImagePicker", function() { return
|
10201
|
+
/* harmony import */ var _react_imagepicker__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../react/imagepicker */ "./src/react/imagepicker.tsx");
|
10202
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionImagePicker", function() { return _react_imagepicker__WEBPACK_IMPORTED_MODULE_46__["SurveyQuestionImagePicker"]; });
|
10007
10203
|
|
10008
|
-
/* harmony import */ var
|
10009
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionImage", function() { return
|
10204
|
+
/* harmony import */ var _react_image__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../react/image */ "./src/react/image.tsx");
|
10205
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionImage", function() { return _react_image__WEBPACK_IMPORTED_MODULE_47__["SurveyQuestionImage"]; });
|
10010
10206
|
|
10011
|
-
/* harmony import */ var
|
10012
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionSignaturePad", function() { return
|
10207
|
+
/* harmony import */ var _react_signaturepad__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../react/signaturepad */ "./src/react/signaturepad.tsx");
|
10208
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionSignaturePad", function() { return _react_signaturepad__WEBPACK_IMPORTED_MODULE_48__["SurveyQuestionSignaturePad"]; });
|
10013
10209
|
|
10014
|
-
/* harmony import */ var
|
10015
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionButtonGroup", function() { return
|
10210
|
+
/* harmony import */ var _react_reactquestion_buttongroup__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../react/reactquestion_buttongroup */ "./src/react/reactquestion_buttongroup.tsx");
|
10211
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionButtonGroup", function() { return _react_reactquestion_buttongroup__WEBPACK_IMPORTED_MODULE_49__["SurveyQuestionButtonGroup"]; });
|
10016
10212
|
|
10017
|
-
/* harmony import */ var
|
10018
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionCustom", function() { return
|
10213
|
+
/* harmony import */ var _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../react/reactquestion_custom */ "./src/react/reactquestion_custom.tsx");
|
10214
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionCustom", function() { return _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_50__["SurveyQuestionCustom"]; });
|
10019
10215
|
|
10020
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionComposite", function() { return
|
10216
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionComposite", function() { return _react_reactquestion_custom__WEBPACK_IMPORTED_MODULE_50__["SurveyQuestionComposite"]; });
|
10021
10217
|
|
10022
|
-
/* harmony import */ var
|
10023
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Popup", function() { return
|
10218
|
+
/* harmony import */ var _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../react/components/popup/popup */ "./src/react/components/popup/popup.tsx");
|
10219
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Popup", function() { return _react_components_popup_popup__WEBPACK_IMPORTED_MODULE_51__["Popup"]; });
|
10024
10220
|
|
10025
|
-
/* harmony import */ var
|
10026
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "List", function() { return
|
10221
|
+
/* harmony import */ var _react_components_list_list__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../react/components/list/list */ "./src/react/components/list/list.tsx");
|
10222
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "List", function() { return _react_components_list_list__WEBPACK_IMPORTED_MODULE_52__["List"]; });
|
10027
10223
|
|
10028
|
-
/* harmony import */ var
|
10029
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TitleActions", function() { return
|
10224
|
+
/* harmony import */ var _react_components_title_title_actions__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../react/components/title/title-actions */ "./src/react/components/title/title-actions.tsx");
|
10225
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TitleActions", function() { return _react_components_title_title_actions__WEBPACK_IMPORTED_MODULE_53__["TitleActions"]; });
|
10030
10226
|
|
10031
|
-
/* harmony import */ var
|
10032
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TitleElement", function() { return
|
10227
|
+
/* harmony import */ var _react_components_title_title_element__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../react/components/title/title-element */ "./src/react/components/title/title-element.tsx");
|
10228
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TitleElement", function() { return _react_components_title_title_element__WEBPACK_IMPORTED_MODULE_54__["TitleElement"]; });
|
10033
10229
|
|
10034
|
-
/* harmony import */ var
|
10035
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyActionBar", function() { return
|
10230
|
+
/* harmony import */ var _react_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../react/components/action-bar/action-bar */ "./src/react/components/action-bar/action-bar.tsx");
|
10231
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyActionBar", function() { return _react_components_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_55__["SurveyActionBar"]; });
|
10036
10232
|
|
10037
|
-
/* harmony import */ var
|
10038
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LogoImage", function() { return
|
10233
|
+
/* harmony import */ var _react_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../react/components/survey-header/logo-image */ "./src/react/components/survey-header/logo-image.tsx");
|
10234
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LogoImage", function() { return _react_components_survey_header_logo_image__WEBPACK_IMPORTED_MODULE_56__["LogoImage"]; });
|
10039
10235
|
|
10040
|
-
/* harmony import */ var
|
10041
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyHeader", function() { return
|
10236
|
+
/* harmony import */ var _react_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../react/components/survey-header/survey-header */ "./src/react/components/survey-header/survey-header.tsx");
|
10237
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyHeader", function() { return _react_components_survey_header_survey_header__WEBPACK_IMPORTED_MODULE_57__["SurveyHeader"]; });
|
10042
10238
|
|
10043
|
-
/* harmony import */ var
|
10044
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SvgIcon", function() { return
|
10239
|
+
/* harmony import */ var _react_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../react/components/svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
|
10240
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SvgIcon", function() { return _react_components_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_58__["SvgIcon"]; });
|
10045
10241
|
|
10046
|
-
/* harmony import */ var
|
10047
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicRemoveButton", function() { return
|
10242
|
+
/* harmony import */ var _react_components_matrix_actions_remove_button_remove_button__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../react/components/matrix-actions/remove-button/remove-button */ "./src/react/components/matrix-actions/remove-button/remove-button.tsx");
|
10243
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicRemoveButton", function() { return _react_components_matrix_actions_remove_button_remove_button__WEBPACK_IMPORTED_MODULE_59__["SurveyQuestionMatrixDynamicRemoveButton"]; });
|
10048
10244
|
|
10049
|
-
/* harmony import */ var
|
10050
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDetailButton", function() { return
|
10245
|
+
/* harmony import */ var _react_components_matrix_actions_detail_button_detail_button__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../react/components/matrix-actions/detail-button/detail-button */ "./src/react/components/matrix-actions/detail-button/detail-button.tsx");
|
10246
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDetailButton", function() { return _react_components_matrix_actions_detail_button_detail_button__WEBPACK_IMPORTED_MODULE_60__["SurveyQuestionMatrixDetailButton"]; });
|
10051
10247
|
|
10052
|
-
/* harmony import */ var
|
10053
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicDragDropIcon", function() { return
|
10248
|
+
/* harmony import */ var _react_components_matrix_actions_drag_drop_icon_drag_drop_icon__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../react/components/matrix-actions/drag-drop-icon/drag-drop-icon */ "./src/react/components/matrix-actions/drag-drop-icon/drag-drop-icon.tsx");
|
10249
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionMatrixDynamicDragDropIcon", function() { return _react_components_matrix_actions_drag_drop_icon_drag_drop_icon__WEBPACK_IMPORTED_MODULE_61__["SurveyQuestionMatrixDynamicDragDropIcon"]; });
|
10054
10250
|
|
10055
|
-
/* harmony import */ var
|
10056
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicAddButton", function() { return
|
10251
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-add-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-add-btn.tsx");
|
10252
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicAddButton", function() { return _react_components_paneldynamic_actions_paneldynamic_add_btn__WEBPACK_IMPORTED_MODULE_62__["SurveyQuestionPanelDynamicAddButton"]; });
|
10057
10253
|
|
10058
|
-
/* harmony import */ var
|
10059
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicRemoveButton", function() { return
|
10254
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_remove_btn__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-remove-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-remove-btn.tsx");
|
10255
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicRemoveButton", function() { return _react_components_paneldynamic_actions_paneldynamic_remove_btn__WEBPACK_IMPORTED_MODULE_63__["SurveyQuestionPanelDynamicRemoveButton"]; });
|
10060
10256
|
|
10061
|
-
/* harmony import */ var
|
10062
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicPrevButton", function() { return
|
10257
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_prev_btn__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-prev-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-prev-btn.tsx");
|
10258
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicPrevButton", function() { return _react_components_paneldynamic_actions_paneldynamic_prev_btn__WEBPACK_IMPORTED_MODULE_64__["SurveyQuestionPanelDynamicPrevButton"]; });
|
10063
10259
|
|
10064
|
-
/* harmony import */ var
|
10065
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicNextButton", function() { return
|
10260
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_next_btn__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-next-btn */ "./src/react/components/paneldynamic-actions/paneldynamic-next-btn.tsx");
|
10261
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicNextButton", function() { return _react_components_paneldynamic_actions_paneldynamic_next_btn__WEBPACK_IMPORTED_MODULE_65__["SurveyQuestionPanelDynamicNextButton"]; });
|
10066
10262
|
|
10067
|
-
/* harmony import */ var
|
10068
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicProgressText", function() { return
|
10263
|
+
/* harmony import */ var _react_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../react/components/paneldynamic-actions/paneldynamic-progress-text */ "./src/react/components/paneldynamic-actions/paneldynamic-progress-text.tsx");
|
10264
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionPanelDynamicProgressText", function() { return _react_components_paneldynamic_actions_paneldynamic_progress_text__WEBPACK_IMPORTED_MODULE_66__["SurveyQuestionPanelDynamicProgressText"]; });
|
10069
10265
|
|
10070
|
-
/* harmony import */ var
|
10071
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyNavigationButton", function() { return
|
10266
|
+
/* harmony import */ var _react_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../react/components/survey-actions/survey-nav-button */ "./src/react/components/survey-actions/survey-nav-button.tsx");
|
10267
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyNavigationButton", function() { return _react_components_survey_actions_survey_nav_button__WEBPACK_IMPORTED_MODULE_67__["SurveyNavigationButton"]; });
|
10072
10268
|
|
10073
|
-
/* harmony import */ var
|
10074
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRow", function() { return
|
10269
|
+
/* harmony import */ var _react_components_matrix_row__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../react/components/matrix/row */ "./src/react/components/matrix/row.tsx");
|
10270
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRow", function() { return _react_components_matrix_row__WEBPACK_IMPORTED_MODULE_68__["MatrixRow"]; });
|
10075
10271
|
|
10076
|
-
/* harmony import */ var
|
10077
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Skeleton", function() { return
|
10272
|
+
/* harmony import */ var _react_components_skeleton__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../react/components/skeleton */ "./src/react/components/skeleton.tsx");
|
10273
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Skeleton", function() { return _react_components_skeleton__WEBPACK_IMPORTED_MODULE_69__["Skeleton"]; });
|
10078
10274
|
|
10079
|
-
/* harmony import */ var
|
10080
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NotifierComponent", function() { return
|
10275
|
+
/* harmony import */ var _react_components_notifier__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../react/components/notifier */ "./src/react/components/notifier.tsx");
|
10276
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NotifierComponent", function() { return _react_components_notifier__WEBPACK_IMPORTED_MODULE_70__["NotifierComponent"]; });
|
10081
10277
|
|
10082
|
-
/* harmony import */ var
|
10083
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentsContainer", function() { return
|
10278
|
+
/* harmony import */ var _react_components_components_container__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../react/components/components-container */ "./src/react/components/components-container.tsx");
|
10279
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentsContainer", function() { return _react_components_components_container__WEBPACK_IMPORTED_MODULE_71__["ComponentsContainer"]; });
|
10084
10280
|
|
10085
|
-
/* harmony import */ var
|
10086
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounterComponent", function() { return
|
10281
|
+
/* harmony import */ var _react_components_character_counter__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../react/components/character-counter */ "./src/react/components/character-counter.tsx");
|
10282
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounterComponent", function() { return _react_components_character_counter__WEBPACK_IMPORTED_MODULE_72__["CharacterCounterComponent"]; });
|
10087
10283
|
|
10088
|
-
/* harmony import */ var
|
10089
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return
|
10284
|
+
/* harmony import */ var _react_string_viewer__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../react/string-viewer */ "./src/react/string-viewer.tsx");
|
10285
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringViewer", function() { return _react_string_viewer__WEBPACK_IMPORTED_MODULE_73__["SurveyLocStringViewer"]; });
|
10090
10286
|
|
10091
|
-
/* harmony import */ var
|
10092
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return
|
10287
|
+
/* harmony import */ var _react_string_editor__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../react/string-editor */ "./src/react/string-editor.tsx");
|
10288
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLocStringEditor", function() { return _react_string_editor__WEBPACK_IMPORTED_MODULE_74__["SurveyLocStringEditor"]; });
|
10093
10289
|
|
10094
10290
|
// react
|
10095
10291
|
|
@@ -10164,6 +10360,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
10164
10360
|
|
10165
10361
|
|
10166
10362
|
|
10363
|
+
|
10167
10364
|
|
10168
10365
|
|
10169
10366
|
//Uncomment to include the "date" question type.
|
@@ -10176,7 +10373,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
10176
10373
|
/*!******************************!*\
|
10177
10374
|
!*** ./src/entries/react.ts ***!
|
10178
10375
|
\******************************/
|
10179
|
-
/*! exports provided: Version, checkLibraryVersion, 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, QuestionMultipleTextModel, 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, createTOCListModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, 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, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropSurveyElements, DragDropChoices, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, createDropdownActionModel, createDropdownActionModelAdvanced, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, TooltipManager, 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, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionHtml, SurveyQuestionFile, 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, SurveyLocStringViewer, SurveyLocStringEditor */
|
10376
|
+
/*! exports provided: Version, checkLibraryVersion, 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, QuestionMultipleTextModel, 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, createTOCListModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, 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, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropSurveyElements, DragDropChoices, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, createDropdownActionModel, createDropdownActionModelAdvanced, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, TooltipManager, 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, 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, SurveyLocStringViewer, SurveyLocStringEditor */
|
10180
10377
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10181
10378
|
|
10182
10379
|
"use strict";
|
@@ -10639,6 +10836,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
10639
10836
|
|
10640
10837
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RatingItemStar", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["RatingItemStar"]; });
|
10641
10838
|
|
10839
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RatingItemSmiley", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["RatingItemSmiley"]; });
|
10840
|
+
|
10642
10841
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TagboxFilterString", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["TagboxFilterString"]; });
|
10643
10842
|
|
10644
10843
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionOptionItem", function() { return _react_ui_model__WEBPACK_IMPORTED_MODULE_3__["SurveyQuestionOptionItem"]; });
|
@@ -16310,6 +16509,158 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
16310
16509
|
|
16311
16510
|
/***/ }),
|
16312
16511
|
|
16512
|
+
/***/ "./src/images/smiley sync \\.svg$":
|
16513
|
+
/*!****************************************************!*\
|
16514
|
+
!*** ./src/images/smiley sync nonrecursive \.svg$ ***!
|
16515
|
+
\****************************************************/
|
16516
|
+
/*! no static exports found */
|
16517
|
+
/***/ (function(module, exports, __webpack_require__) {
|
16518
|
+
|
16519
|
+
var map = {
|
16520
|
+
"./average.svg": "./src/images/smiley/average.svg",
|
16521
|
+
"./excellent.svg": "./src/images/smiley/excellent.svg",
|
16522
|
+
"./good.svg": "./src/images/smiley/good.svg",
|
16523
|
+
"./normal.svg": "./src/images/smiley/normal.svg",
|
16524
|
+
"./not-good.svg": "./src/images/smiley/not-good.svg",
|
16525
|
+
"./perfect.svg": "./src/images/smiley/perfect.svg",
|
16526
|
+
"./poor.svg": "./src/images/smiley/poor.svg",
|
16527
|
+
"./terrible.svg": "./src/images/smiley/terrible.svg",
|
16528
|
+
"./very-good.svg": "./src/images/smiley/very-good.svg",
|
16529
|
+
"./very-poor.svg": "./src/images/smiley/very-poor.svg"
|
16530
|
+
};
|
16531
|
+
|
16532
|
+
|
16533
|
+
function webpackContext(req) {
|
16534
|
+
var id = webpackContextResolve(req);
|
16535
|
+
return __webpack_require__(id);
|
16536
|
+
}
|
16537
|
+
function webpackContextResolve(req) {
|
16538
|
+
if(!__webpack_require__.o(map, req)) {
|
16539
|
+
var e = new Error("Cannot find module '" + req + "'");
|
16540
|
+
e.code = 'MODULE_NOT_FOUND';
|
16541
|
+
throw e;
|
16542
|
+
}
|
16543
|
+
return map[req];
|
16544
|
+
}
|
16545
|
+
webpackContext.keys = function webpackContextKeys() {
|
16546
|
+
return Object.keys(map);
|
16547
|
+
};
|
16548
|
+
webpackContext.resolve = webpackContextResolve;
|
16549
|
+
module.exports = webpackContext;
|
16550
|
+
webpackContext.id = "./src/images/smiley sync \\.svg$";
|
16551
|
+
|
16552
|
+
/***/ }),
|
16553
|
+
|
16554
|
+
/***/ "./src/images/smiley/average.svg":
|
16555
|
+
/*!***************************************!*\
|
16556
|
+
!*** ./src/images/smiley/average.svg ***!
|
16557
|
+
\***************************************/
|
16558
|
+
/*! no static exports found */
|
16559
|
+
/***/ (function(module, exports) {
|
16560
|
+
|
16561
|
+
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z\"></path></svg>"
|
16562
|
+
|
16563
|
+
/***/ }),
|
16564
|
+
|
16565
|
+
/***/ "./src/images/smiley/excellent.svg":
|
16566
|
+
/*!*****************************************!*\
|
16567
|
+
!*** ./src/images/smiley/excellent.svg ***!
|
16568
|
+
\*****************************************/
|
16569
|
+
/*! no static exports found */
|
16570
|
+
/***/ (function(module, exports) {
|
16571
|
+
|
16572
|
+
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z\"></path></svg>"
|
16573
|
+
|
16574
|
+
/***/ }),
|
16575
|
+
|
16576
|
+
/***/ "./src/images/smiley/good.svg":
|
16577
|
+
/*!************************************!*\
|
16578
|
+
!*** ./src/images/smiley/good.svg ***!
|
16579
|
+
\************************************/
|
16580
|
+
/*! no static exports found */
|
16581
|
+
/***/ (function(module, exports) {
|
16582
|
+
|
16583
|
+
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z\"></path></svg>"
|
16584
|
+
|
16585
|
+
/***/ }),
|
16586
|
+
|
16587
|
+
/***/ "./src/images/smiley/normal.svg":
|
16588
|
+
/*!**************************************!*\
|
16589
|
+
!*** ./src/images/smiley/normal.svg ***!
|
16590
|
+
\**************************************/
|
16591
|
+
/*! no static exports found */
|
16592
|
+
/***/ (function(module, exports) {
|
16593
|
+
|
16594
|
+
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z\"></path></svg>"
|
16595
|
+
|
16596
|
+
/***/ }),
|
16597
|
+
|
16598
|
+
/***/ "./src/images/smiley/not-good.svg":
|
16599
|
+
/*!****************************************!*\
|
16600
|
+
!*** ./src/images/smiley/not-good.svg ***!
|
16601
|
+
\****************************************/
|
16602
|
+
/*! no static exports found */
|
16603
|
+
/***/ (function(module, exports) {
|
16604
|
+
|
16605
|
+
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z\"></path></svg>"
|
16606
|
+
|
16607
|
+
/***/ }),
|
16608
|
+
|
16609
|
+
/***/ "./src/images/smiley/perfect.svg":
|
16610
|
+
/*!***************************************!*\
|
16611
|
+
!*** ./src/images/smiley/perfect.svg ***!
|
16612
|
+
\***************************************/
|
16613
|
+
/*! no static exports found */
|
16614
|
+
/***/ (function(module, exports) {
|
16615
|
+
|
16616
|
+
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z\"></path></svg>"
|
16617
|
+
|
16618
|
+
/***/ }),
|
16619
|
+
|
16620
|
+
/***/ "./src/images/smiley/poor.svg":
|
16621
|
+
/*!************************************!*\
|
16622
|
+
!*** ./src/images/smiley/poor.svg ***!
|
16623
|
+
\************************************/
|
16624
|
+
/*! no static exports found */
|
16625
|
+
/***/ (function(module, exports) {
|
16626
|
+
|
16627
|
+
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z\"></path></svg>"
|
16628
|
+
|
16629
|
+
/***/ }),
|
16630
|
+
|
16631
|
+
/***/ "./src/images/smiley/terrible.svg":
|
16632
|
+
/*!****************************************!*\
|
16633
|
+
!*** ./src/images/smiley/terrible.svg ***!
|
16634
|
+
\****************************************/
|
16635
|
+
/*! no static exports found */
|
16636
|
+
/***/ (function(module, exports) {
|
16637
|
+
|
16638
|
+
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z\"></path></svg>"
|
16639
|
+
|
16640
|
+
/***/ }),
|
16641
|
+
|
16642
|
+
/***/ "./src/images/smiley/very-good.svg":
|
16643
|
+
/*!*****************************************!*\
|
16644
|
+
!*** ./src/images/smiley/very-good.svg ***!
|
16645
|
+
\*****************************************/
|
16646
|
+
/*! no static exports found */
|
16647
|
+
/***/ (function(module, exports) {
|
16648
|
+
|
16649
|
+
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z\"></path></svg>"
|
16650
|
+
|
16651
|
+
/***/ }),
|
16652
|
+
|
16653
|
+
/***/ "./src/images/smiley/very-poor.svg":
|
16654
|
+
/*!*****************************************!*\
|
16655
|
+
!*** ./src/images/smiley/very-poor.svg ***!
|
16656
|
+
\*****************************************/
|
16657
|
+
/*! no static exports found */
|
16658
|
+
/***/ (function(module, exports) {
|
16659
|
+
|
16660
|
+
module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#clip0_15894_140103)\"><path d=\"M4.88291 4.50999C4.47291 4.50999 4.08291 4.24999 3.94291 3.83999C3.76291 3.31999 4.03291 2.74999 4.55291 2.56999L8.32291 1.24999C8.84291 1.05999 9.41291 1.33999 9.59291 1.85999C9.77291 2.37999 9.50291 2.94999 8.98291 3.12999L5.20291 4.44999C5.09291 4.48999 4.98291 4.50999 4.87291 4.50999H4.88291ZM19.8129 3.88999C20.0229 3.37999 19.7729 2.78999 19.2629 2.58999L15.5529 1.06999C15.0429 0.859992 14.4529 1.10999 14.2529 1.61999C14.0429 2.12999 14.2929 2.71999 14.8029 2.91999L18.5029 4.42999C18.6229 4.47999 18.7529 4.49999 18.8829 4.49999C19.2729 4.49999 19.6529 4.26999 19.8129 3.87999V3.88999ZM3.50291 5.99999C2.64291 6.36999 1.79291 6.87999 1.00291 7.47999C0.79291 7.63999 0.64291 7.86999 0.59291 8.13999C0.48291 8.72999 0.87291 9.28999 1.45291 9.39999C2.04291 9.50999 2.60291 9.11999 2.71291 8.53999C2.87291 7.68999 3.12291 6.82999 3.50291 5.98999V5.99999ZM21.0429 8.54999C21.6029 10.48 24.2429 8.83999 22.7529 7.47999C21.9629 6.87999 21.1129 6.36999 20.2529 5.99999C20.6329 6.83999 20.8829 7.69999 21.0429 8.54999ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 9.99999 11.8829 9.99999C7.47291 9.99999 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z\"></path></g><defs><clipPath id=\"clip0_15894_140103\"><rect width=\"24\" height=\"24\" fill=\"white\"></rect></clipPath></defs></svg>"
|
16661
|
+
|
16662
|
+
/***/ }),
|
16663
|
+
|
16313
16664
|
/***/ "./src/itemvalue.ts":
|
16314
16665
|
/*!**************************!*\
|
16315
16666
|
!*** ./src/itemvalue.ts ***!
|
@@ -18199,7 +18550,7 @@ var JsonMetadata = /** @class */ (function () {
|
|
18199
18550
|
var props = {};
|
18200
18551
|
this.generateSchemaProperties(classInfo, props, schemaDef);
|
18201
18552
|
if (hasParent) {
|
18202
|
-
res.
|
18553
|
+
res.allOf = [
|
18203
18554
|
{ $ref: "#" + classInfo.parentName },
|
18204
18555
|
{ properties: props },
|
18205
18556
|
];
|
@@ -18686,11 +19037,12 @@ var defaultListCss = {
|
|
18686
19037
|
};
|
18687
19038
|
var ListModel = /** @class */ (function (_super) {
|
18688
19039
|
__extends(ListModel, _super);
|
18689
|
-
function ListModel(items, onSelectionChanged, allowSelection, selectedItem, onFilterStringChangedCallback) {
|
19040
|
+
function ListModel(items, onSelectionChanged, allowSelection, selectedItem, onFilterStringChangedCallback, elementId) {
|
18690
19041
|
var _this = _super.call(this) || this;
|
18691
19042
|
_this.onSelectionChanged = onSelectionChanged;
|
18692
19043
|
_this.allowSelection = allowSelection;
|
18693
19044
|
_this.onFilterStringChangedCallback = onFilterStringChangedCallback;
|
19045
|
+
_this.elementId = elementId;
|
18694
19046
|
_this.onItemClick = function (itemValue) {
|
18695
19047
|
if (_this.isItemDisabled(itemValue) || _this.isItemSelected(itemValue)) {
|
18696
19048
|
return;
|
@@ -18762,8 +19114,12 @@ var ListModel = /** @class */ (function (_super) {
|
|
18762
19114
|
}
|
18763
19115
|
};
|
18764
19116
|
ListModel.prototype.setItems = function (items, sortByVisibleIndex) {
|
19117
|
+
var _this = this;
|
18765
19118
|
if (sortByVisibleIndex === void 0) { sortByVisibleIndex = true; }
|
18766
19119
|
_super.prototype.setItems.call(this, items, sortByVisibleIndex);
|
19120
|
+
if (this.elementId) {
|
19121
|
+
this.renderedActions.forEach(function (action) { action.elementId = _this.elementId + action.id; });
|
19122
|
+
}
|
18767
19123
|
if (!this.isAllDataLoaded && !!this.actions.length) {
|
18768
19124
|
this.actions.push(this.loadingIndicator);
|
18769
19125
|
}
|
@@ -18789,7 +19145,7 @@ var ListModel = /** @class */ (function (_super) {
|
|
18789
19145
|
});
|
18790
19146
|
Object.defineProperty(ListModel.prototype, "emptyMessage", {
|
18791
19147
|
get: function () {
|
18792
|
-
return this.getLocalizationString("emptyMessage");
|
19148
|
+
return this.isAllDataLoaded ? this.getLocalizationString("emptyMessage") : this.loadingText;
|
18793
19149
|
},
|
18794
19150
|
enumerable: false,
|
18795
19151
|
configurable: true
|
@@ -20351,12 +20707,12 @@ var dutchSurveyStrings = {
|
|
20351
20707
|
urlGetChoicesError: "De vraag gaf een leeg antwoord terug of de 'pad' eigenschap is niet correct",
|
20352
20708
|
exceedMaxSize: "De grootte van het bestand mag niet groter zijn dan {0}",
|
20353
20709
|
otherRequiredError: "Vul het veld 'Anders, nl.' in",
|
20354
|
-
uploadingFile: "Uw bestand wordt
|
20355
|
-
loadingFile: "
|
20710
|
+
uploadingFile: "Uw bestand wordt geüpload. Gelieve enkele seconden te wachten en opnieuw te proberen.",
|
20711
|
+
loadingFile: "Laden...",
|
20356
20712
|
chooseFile: "Kies uw bestand(en)...",
|
20357
20713
|
noFileChosen: "Geen bestand gekozen",
|
20358
20714
|
fileDragAreaPlaceholder: "Sleep het bestand naar hier",
|
20359
|
-
confirmDelete: "
|
20715
|
+
confirmDelete: "Wilt u deze gegevens verwijderen?",
|
20360
20716
|
keyDuplicationError: "Deze waarde moet uniek zijn.",
|
20361
20717
|
addColumn: "Voeg kolom toe",
|
20362
20718
|
addRow: "Voeg rij toe",
|
@@ -20380,14 +20736,14 @@ var dutchSurveyStrings = {
|
|
20380
20736
|
timerLimitAll: "U heeft {0} van {1} op deze pagina gespendeerd en {2} van {3} in totaal.",
|
20381
20737
|
timerLimitPage: "U heeft {0} van {1} gespendeerd op deze pagina.",
|
20382
20738
|
timerLimitSurvey: "U heeft {0} van {1} in het totaal.",
|
20383
|
-
clearCaption: "
|
20739
|
+
clearCaption: "Verwijder",
|
20384
20740
|
signaturePlaceHolder: "Hier tekenen",
|
20385
20741
|
chooseFileCaption: "Gekozen bestand",
|
20386
|
-
removeFileCaption: "Verwijder
|
20742
|
+
removeFileCaption: "Verwijder dit bestand",
|
20387
20743
|
booleanCheckedLabel: "Ja",
|
20388
20744
|
booleanUncheckedLabel: "Nee",
|
20389
|
-
confirmRemoveFile: "
|
20390
|
-
confirmRemoveAllFiles: "
|
20745
|
+
confirmRemoveFile: "Weet u zeker dat u deze file wilt verwijderen: {0}?",
|
20746
|
+
confirmRemoveAllFiles: "Weet u zeker dat u al deze files wilt verwijderen?",
|
20391
20747
|
questionTitlePatternText: "Titel van de vraag",
|
20392
20748
|
// modalCancelButtonText: "Cancel",
|
20393
20749
|
// modalApplyButtonText: "Apply",
|
@@ -25199,7 +25555,7 @@ var QuestionMatrixBaseModel = /** @class */ (function (_super) {
|
|
25199
25555
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])({ defaultValue: "middle" })
|
25200
25556
|
], QuestionMatrixBaseModel.prototype, "verticalAlign", void 0);
|
25201
25557
|
__decorate([
|
25202
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])(
|
25558
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])()
|
25203
25559
|
], QuestionMatrixBaseModel.prototype, "alternateRows", void 0);
|
25204
25560
|
return QuestionMatrixBaseModel;
|
25205
25561
|
}(_question__WEBPACK_IMPORTED_MODULE_1__["Question"]));
|
@@ -25258,9 +25614,11 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
25258
25614
|
|
25259
25615
|
var MultiSelectListModel = /** @class */ (function (_super) {
|
25260
25616
|
__extends(MultiSelectListModel, _super);
|
25261
|
-
function MultiSelectListModel(items, onSelectionChanged, allowSelection, selectedItems, onFilterStringChangedCallback) {
|
25262
|
-
var _this = _super.call(this, items, onSelectionChanged, allowSelection, undefined, onFilterStringChangedCallback) || this;
|
25617
|
+
function MultiSelectListModel(items, onSelectionChanged, allowSelection, selectedItems, onFilterStringChangedCallback, elementId) {
|
25618
|
+
var _this = _super.call(this, items, onSelectionChanged, allowSelection, undefined, onFilterStringChangedCallback, elementId) || this;
|
25263
25619
|
_this.onItemClick = function (item) {
|
25620
|
+
if (_this.isItemDisabled(item))
|
25621
|
+
return;
|
25264
25622
|
_this.isExpanded = false;
|
25265
25623
|
if (_this.isItemSelected(item)) {
|
25266
25624
|
_this.selectedItems.splice(_this.selectedItems.indexOf(item), 1)[0];
|
@@ -25365,6 +25723,7 @@ var Notifier = /** @class */ (function (_super) {
|
|
25365
25723
|
_this.actionBar.updateCallback = function (isResetInitialized) {
|
25366
25724
|
_this.actionBar.actions.forEach(function (action) { return action.cssClasses = {}; });
|
25367
25725
|
};
|
25726
|
+
_this.css = _this.cssClasses.root;
|
25368
25727
|
return _this;
|
25369
25728
|
}
|
25370
25729
|
Notifier.prototype.getCssClass = function (type) {
|
@@ -25373,27 +25732,35 @@ var Notifier = /** @class */ (function (_super) {
|
|
25373
25732
|
.append(this.cssClasses.info, type !== "error" && type !== "success")
|
25374
25733
|
.append(this.cssClasses.error, type === "error")
|
25375
25734
|
.append(this.cssClasses.success, type === "success")
|
25735
|
+
.append(this.cssClasses.shown, this.active)
|
25376
25736
|
.toString();
|
25377
25737
|
};
|
25378
25738
|
Notifier.prototype.updateActionsVisibility = function (type) {
|
25379
25739
|
var _this = this;
|
25380
25740
|
this.actionBar.actions.forEach(function (action) { return action.visible = (_this.actionsVisibility[action.id] === type); });
|
25381
25741
|
};
|
25382
|
-
Notifier.prototype.notify = function (message, type) {
|
25742
|
+
Notifier.prototype.notify = function (message, type, waitUserAction) {
|
25383
25743
|
var _this = this;
|
25384
25744
|
if (type === void 0) { type = "info"; }
|
25385
|
-
|
25386
|
-
this.
|
25387
|
-
|
25388
|
-
|
25389
|
-
|
25390
|
-
|
25391
|
-
|
25392
|
-
|
25393
|
-
|
25394
|
-
|
25395
|
-
|
25396
|
-
|
25745
|
+
if (waitUserAction === void 0) { waitUserAction = false; }
|
25746
|
+
this.isDisplayed = true;
|
25747
|
+
setTimeout(function () {
|
25748
|
+
_this.updateActionsVisibility(type);
|
25749
|
+
_this.message = message;
|
25750
|
+
_this.active = true;
|
25751
|
+
_this.css = _this.getCssClass(type);
|
25752
|
+
if (!!_this.timer) {
|
25753
|
+
clearTimeout(_this.timer);
|
25754
|
+
_this.timer = undefined;
|
25755
|
+
}
|
25756
|
+
if (!waitUserAction) {
|
25757
|
+
_this.timer = setTimeout(function () {
|
25758
|
+
_this.timer = undefined;
|
25759
|
+
_this.active = false;
|
25760
|
+
_this.css = _this.getCssClass(type);
|
25761
|
+
}, _this.timeout);
|
25762
|
+
}
|
25763
|
+
}, 1);
|
25397
25764
|
};
|
25398
25765
|
Notifier.prototype.addAction = function (action, notificationType) {
|
25399
25766
|
action.visible = false;
|
@@ -25404,6 +25771,9 @@ var Notifier = /** @class */ (function (_super) {
|
|
25404
25771
|
__decorate([
|
25405
25772
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])({ defaultValue: false })
|
25406
25773
|
], Notifier.prototype, "active", void 0);
|
25774
|
+
__decorate([
|
25775
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])({ defaultValue: false })
|
25776
|
+
], Notifier.prototype, "isDisplayed", void 0);
|
25407
25777
|
__decorate([
|
25408
25778
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_2__["property"])()
|
25409
25779
|
], Notifier.prototype, "message", void 0);
|
@@ -25502,9 +25872,9 @@ var PageModel = /** @class */ (function (_super) {
|
|
25502
25872
|
};
|
25503
25873
|
Object.defineProperty(PageModel.prototype, "navigationTitle", {
|
25504
25874
|
/**
|
25505
|
-
* A caption displayed on a navigation button in the progress bar. Applies
|
25875
|
+
* A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when [`showProgressBar`](https://surveyjs.io/form-library/documentation/surveymodel#showProgressBar) is `true` and [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is `"buttons"`.
|
25506
25876
|
*
|
25507
|
-
* If this property is undefined, the navigation
|
25877
|
+
* If this property is undefined, the navigation buttons display page [titles](https://surveyjs.io/form-library/documentation/api-reference/page-model#title) or [names](https://surveyjs.io/form-library/documentation/pagemodel#name).
|
25508
25878
|
*/
|
25509
25879
|
get: function () {
|
25510
25880
|
return this.getLocalizableStringText("navigationTitle");
|
@@ -26279,7 +26649,7 @@ var QuestionRowModel = /** @class */ (function (_super) {
|
|
26279
26649
|
QuestionRowModel.prototype.getRowCss = function () {
|
26280
26650
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__["CssClassBuilder"]()
|
26281
26651
|
.append(this.panel.cssClasses.row)
|
26282
|
-
.append(this.panel.cssClasses.pageRow, this.panel.isPage)
|
26652
|
+
.append(this.panel.cssClasses.pageRow, this.panel.isPage || (!!this.panel.originalPage && !this.panel.survey.isShowingPreview))
|
26283
26653
|
.append(this.panel.cssClasses.rowMultiple, this.visibleElements.length > 1)
|
26284
26654
|
.toString();
|
26285
26655
|
};
|
@@ -26526,9 +26896,12 @@ var PanelModelBase = /** @class */ (function (_super) {
|
|
26526
26896
|
configurable: true
|
26527
26897
|
});
|
26528
26898
|
PanelModelBase.prototype.calcCssClasses = function (css) {
|
26529
|
-
var classes = { panel: {}, error: {}, row: "", rowMultiple: "" };
|
26899
|
+
var classes = { panel: {}, error: {}, row: "", rowMultiple: "", pageRow: "" };
|
26530
26900
|
this.copyCssClasses(classes.panel, css.panel);
|
26531
26901
|
this.copyCssClasses(classes.error, css.error);
|
26902
|
+
if (!!css.pageRow) {
|
26903
|
+
classes.pageRow = css.pageRow;
|
26904
|
+
}
|
26532
26905
|
if (!!css.row) {
|
26533
26906
|
classes.row = css.row;
|
26534
26907
|
}
|
@@ -26787,7 +27160,7 @@ var PanelModelBase = /** @class */ (function (_super) {
|
|
26787
27160
|
* @see [Data Validation](https://surveyjs.io/form-library/documentation/data-validation)
|
26788
27161
|
*/
|
26789
27162
|
get: function () {
|
26790
|
-
return this.getPropertyValue("isRequired"
|
27163
|
+
return this.getPropertyValue("isRequired");
|
26791
27164
|
},
|
26792
27165
|
set: function (val) {
|
26793
27166
|
this.setPropertyValue("isRequired", val);
|
@@ -27882,7 +28255,7 @@ var PanelModel = /** @class */ (function (_super) {
|
|
27882
28255
|
* @see SurveyModel.questionTitlePattern
|
27883
28256
|
*/
|
27884
28257
|
get: function () {
|
27885
|
-
return this.getPropertyValue("showNumber"
|
28258
|
+
return this.getPropertyValue("showNumber");
|
27886
28259
|
},
|
27887
28260
|
set: function (val) {
|
27888
28261
|
this.setPropertyValue("showNumber", val);
|
@@ -28127,14 +28500,7 @@ var PanelModel = /** @class */ (function (_super) {
|
|
28127
28500
|
};
|
28128
28501
|
Object.defineProperty(PanelModel.prototype, "cssTitle", {
|
28129
28502
|
get: function () {
|
28130
|
-
return
|
28131
|
-
.append(this.cssClasses.panel.title)
|
28132
|
-
.append(this.cssClasses.panel.titleExpandable, this.state !== "default")
|
28133
|
-
.append(this.cssClasses.panel.titleExpanded, this.isExpanded)
|
28134
|
-
.append(this.cssClasses.panel.titleCollapsed, this.isCollapsed)
|
28135
|
-
.append(this.cssClasses.panel.titleDisabled, this.isReadOnly)
|
28136
|
-
.append(this.cssClasses.panel.titleOnError, this.containsErrors)
|
28137
|
-
.toString();
|
28503
|
+
return this.getCssTitle(this.cssClasses.panel);
|
28138
28504
|
},
|
28139
28505
|
enumerable: false,
|
28140
28506
|
configurable: true
|
@@ -28167,15 +28533,23 @@ var PanelModel = /** @class */ (function (_super) {
|
|
28167
28533
|
return;
|
28168
28534
|
this.survey.whenPanelFocusIn(this);
|
28169
28535
|
};
|
28170
|
-
PanelModel.prototype.
|
28171
|
-
return
|
28172
|
-
|
28173
|
-
|
28174
|
-
|
28175
|
-
|
28176
|
-
|
28536
|
+
PanelModel.prototype.getHasFrameV2 = function () {
|
28537
|
+
return _super.prototype.getHasFrameV2.call(this) && (!this.originalPage || this.survey.isShowingPreview);
|
28538
|
+
};
|
28539
|
+
PanelModel.prototype.getIsNested = function () {
|
28540
|
+
return _super.prototype.getIsNested.call(this) && this.parent !== undefined;
|
28541
|
+
};
|
28542
|
+
PanelModel.prototype.getCssRoot = function (cssClasses) {
|
28543
|
+
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__["CssClassBuilder"]()
|
28544
|
+
.append(_super.prototype.getCssRoot.call(this, cssClasses))
|
28545
|
+
.append(cssClasses.container)
|
28546
|
+
.append(cssClasses.asPage, !!this.originalPage && !this.survey.isShowingPreview)
|
28547
|
+
.append(cssClasses.invisible, !this.isDesignMode && this.areInvisibleElementsShowing && !this.visible)
|
28177
28548
|
.toString();
|
28178
28549
|
};
|
28550
|
+
PanelModel.prototype.getContainerCss = function () {
|
28551
|
+
return this.getCssRoot(this.cssClasses.panel);
|
28552
|
+
};
|
28179
28553
|
return PanelModel;
|
28180
28554
|
}(PanelModelBase));
|
28181
28555
|
|
@@ -28427,6 +28801,8 @@ var defaultCss = {
|
|
28427
28801
|
cleanButtonSvg: "sv_q_dd_clean-button-svg",
|
28428
28802
|
cleanButtonIconId: "icon-clear_16x16",
|
28429
28803
|
filterStringInput: "sv_q_dd_filter-string-input",
|
28804
|
+
hintPrefix: "sv_q_dd_hint-prefix",
|
28805
|
+
hintSuffix: "sv_q_dd_hint-suffix"
|
28430
28806
|
},
|
28431
28807
|
tagbox: {
|
28432
28808
|
root: "sv_q_dd_root",
|
@@ -30479,7 +30855,9 @@ var PopupBaseViewModel = /** @class */ (function (_super) {
|
|
30479
30855
|
this.switchFocus();
|
30480
30856
|
};
|
30481
30857
|
PopupBaseViewModel.prototype.updateOnHiding = function () {
|
30482
|
-
this.
|
30858
|
+
if (this.isFocusedContent && this.prevActiveElement) {
|
30859
|
+
this.prevActiveElement.focus();
|
30860
|
+
}
|
30483
30861
|
};
|
30484
30862
|
PopupBaseViewModel.prototype.focusFirstInput = function () {
|
30485
30863
|
var _this = this;
|
@@ -30833,6 +31211,9 @@ var Question = /** @class */ (function (_super) {
|
|
30833
31211
|
_this.registerPropertyChangedHandlers(["showCommentArea", "showOtherItem"], function () {
|
30834
31212
|
_this.initCommentFromSurvey();
|
30835
31213
|
});
|
31214
|
+
_this.registerFunctionOnPropertiesValueChanged(["no"], function () {
|
31215
|
+
_this.updateQuestionCss();
|
31216
|
+
});
|
30836
31217
|
_this.registerPropertyChangedHandlers(["isMobile"], function () { _this.onMobileChanged(); });
|
30837
31218
|
return _this;
|
30838
31219
|
}
|
@@ -31015,7 +31396,6 @@ var Question = /** @class */ (function (_super) {
|
|
31015
31396
|
* You can use question values as placeholders in the following places:
|
31016
31397
|
*
|
31017
31398
|
* - Survey element titles and descriptions
|
31018
|
-
* - The [`expression`](https://surveyjs.io/form-library/documentation/questionexpressionmodel#expression) property of the [Expression](https://surveyjs.io/form-library/documentation/questionexpressionmodel) question
|
31019
31399
|
* - The [`html`](https://surveyjs.io/form-library/documentation/questionhtmlmodel#html) property of the [HTML](https://surveyjs.io/form-library/documentation/questionhtmlmodel) question
|
31020
31400
|
*
|
31021
31401
|
* To use a question value as a placeholder, specify the question `name` in curly brackets: `{questionName}`. Refer to the following help topic for more information: [Dynamic Texts - Question Values](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#question-values).
|
@@ -31632,6 +32012,7 @@ var Question = /** @class */ (function (_super) {
|
|
31632
32012
|
};
|
31633
32013
|
Question.prototype.getCssRoot = function (cssClasses) {
|
31634
32014
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
|
32015
|
+
.append(_super.prototype.getCssRoot.call(this, cssClasses))
|
31635
32016
|
.append(this.isFlowLayout && !this.isDesignMode
|
31636
32017
|
? cssClasses.flowRoot
|
31637
32018
|
: cssClasses.mainRoot)
|
@@ -31639,10 +32020,6 @@ var Question = /** @class */ (function (_super) {
|
|
31639
32020
|
.append(cssClasses.hasError, this.errors.length > 0)
|
31640
32021
|
.append(cssClasses.small, !this.width)
|
31641
32022
|
.append(cssClasses.answered, this.isAnswered)
|
31642
|
-
.append(cssClasses.expanded, !!this.isExpanded)
|
31643
|
-
.append(cssClasses.collapsed, !!this.isCollapsed)
|
31644
|
-
.append(cssClasses.withFrame, this.hasFrameV2)
|
31645
|
-
.append(cssClasses.nested, (this.hasParent || !this.isSingleInRow) && this.isDefaultV2Theme)
|
31646
32023
|
.toString();
|
31647
32024
|
};
|
31648
32025
|
Object.defineProperty(Question.prototype, "cssHeader", {
|
@@ -31694,12 +32071,7 @@ var Question = /** @class */ (function (_super) {
|
|
31694
32071
|
};
|
31695
32072
|
Question.prototype.getCssTitle = function (cssClasses) {
|
31696
32073
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
|
31697
|
-
.append(cssClasses
|
31698
|
-
.append(cssClasses.titleExpandable, this.state !== "default")
|
31699
|
-
.append(cssClasses.titleExpanded, this.isExpanded)
|
31700
|
-
.append(cssClasses.titleCollapsed, this.isCollapsed)
|
31701
|
-
.append(cssClasses.titleDisabled, this.isReadOnly)
|
31702
|
-
.append(cssClasses.titleOnError, this.containsErrors)
|
32074
|
+
.append(_super.prototype.getCssTitle.call(this, cssClasses))
|
31703
32075
|
.append(cssClasses.titleOnAnswer, !this.containsErrors && this.isAnswered)
|
31704
32076
|
.toString();
|
31705
32077
|
};
|
@@ -32610,7 +32982,9 @@ var Question = /** @class */ (function (_super) {
|
|
32610
32982
|
var _this = this;
|
32611
32983
|
this.defaultValueRunner = this.getDefaultRunner(this.defaultValueRunner, this.defaultValueExpression);
|
32612
32984
|
this.setValueAndRunExpression(this.defaultValueRunner, this.getUnbindValue(this.defaultValue), function (val) {
|
32613
|
-
_this.value
|
32985
|
+
if (!_helpers__WEBPACK_IMPORTED_MODULE_0__["Helpers"].isTwoValueEquals(_this.value, val)) {
|
32986
|
+
_this.value = val;
|
32987
|
+
}
|
32614
32988
|
});
|
32615
32989
|
};
|
32616
32990
|
Question.prototype.isValueExpression = function (val) {
|
@@ -32641,7 +33015,11 @@ var Question = /** @class */ (function (_super) {
|
|
32641
33015
|
return false;
|
32642
33016
|
if (!setFunc) {
|
32643
33017
|
setFunc = function (val) {
|
32644
|
-
_this.runExpressionSetValue(val, function (val) {
|
33018
|
+
_this.runExpressionSetValue(val, function (val) {
|
33019
|
+
if (!_helpers__WEBPACK_IMPORTED_MODULE_0__["Helpers"].isTwoValueEquals(_this.value, val)) {
|
33020
|
+
_this.value = val;
|
33021
|
+
}
|
33022
|
+
});
|
32645
33023
|
};
|
32646
33024
|
}
|
32647
33025
|
if (!values)
|
@@ -33768,7 +34146,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
33768
34146
|
* @see noneText
|
33769
34147
|
*/
|
33770
34148
|
get: function () {
|
33771
|
-
return this.getPropertyValue("showNoneItem"
|
34149
|
+
return this.getPropertyValue("showNoneItem");
|
33772
34150
|
},
|
33773
34151
|
set: function (val) {
|
33774
34152
|
this.setPropertyValue("showNoneItem", val);
|
@@ -33937,6 +34315,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
33937
34315
|
QuestionSelectBase.prototype.onEnableItemCallBack = function (item) {
|
33938
34316
|
return true;
|
33939
34317
|
};
|
34318
|
+
QuestionSelectBase.prototype.onSelectedItemValuesChangedHandler = function (newValue) { };
|
33940
34319
|
QuestionSelectBase.prototype.setConditionalChoicesRunner = function () {
|
33941
34320
|
if (this.choicesVisibleIf) {
|
33942
34321
|
if (!this.conditionChoicesVisibleIfRunner) {
|
@@ -34303,7 +34682,7 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
34303
34682
|
* This property is useful if you show or hide choice items at runtime based on a [condition](https://surveyjs.io/form-library/documentation/questionselectbase#choicesVisibleIf).
|
34304
34683
|
*/
|
34305
34684
|
get: function () {
|
34306
|
-
return this.getPropertyValue("hideIfChoicesEmpty"
|
34685
|
+
return this.getPropertyValue("hideIfChoicesEmpty");
|
34307
34686
|
},
|
34308
34687
|
set: function (val) {
|
34309
34688
|
this.setPropertyValue("hideIfChoicesEmpty", val);
|
@@ -34627,12 +35006,12 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
34627
35006
|
if (this.isBuiltInChoice(choices[i], question))
|
34628
35007
|
continue;
|
34629
35008
|
if (isSelected === undefined) {
|
34630
|
-
res.push(choices[i]);
|
35009
|
+
res.push(this.copyChoiceItem(choices[i]));
|
34631
35010
|
continue;
|
34632
35011
|
}
|
34633
35012
|
var itemsSelected = question.isItemSelected(choices[i]);
|
34634
35013
|
if ((itemsSelected && isSelected) || (!itemsSelected && !isSelected)) {
|
34635
|
-
res.push(choices[i]);
|
35014
|
+
res.push(this.copyChoiceItem(choices[i]));
|
34636
35015
|
}
|
34637
35016
|
}
|
34638
35017
|
if (this.choicesFromQuestionMode === "selected" && question.isOtherSelected && !!question.comment) {
|
@@ -34640,6 +35019,9 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
34640
35019
|
}
|
34641
35020
|
return res;
|
34642
35021
|
};
|
35022
|
+
QuestionSelectBase.prototype.copyChoiceItem = function (item) {
|
35023
|
+
return new _itemvalue__WEBPACK_IMPORTED_MODULE_3__["ItemValue"](item.value, item.text);
|
35024
|
+
};
|
34643
35025
|
Object.defineProperty(QuestionSelectBase.prototype, "hasActiveChoices", {
|
34644
35026
|
get: function () {
|
34645
35027
|
var choices = this.visibleChoices;
|
@@ -34891,7 +35273,9 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
34891
35273
|
return;
|
34892
35274
|
this.isUpdatingChoicesDependedQuestions = true;
|
34893
35275
|
for (var i = 0; i < this.dependedQuestions.length; i++) {
|
34894
|
-
this.dependedQuestions[i]
|
35276
|
+
var q = this.dependedQuestions[i];
|
35277
|
+
q.onVisibleChoicesChanged();
|
35278
|
+
q.clearIncorrectValuesCore();
|
34895
35279
|
}
|
34896
35280
|
this.isUpdatingChoicesDependedQuestions = false;
|
34897
35281
|
};
|
@@ -35296,10 +35680,12 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
35296
35680
|
return classes;
|
35297
35681
|
};
|
35298
35682
|
__decorate([
|
35299
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
35683
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ onSet: function (newVal, target) {
|
35684
|
+
target.onSelectedItemValuesChangedHandler(newVal);
|
35685
|
+
} })
|
35300
35686
|
], QuestionSelectBase.prototype, "selectedItemValues", void 0);
|
35301
35687
|
__decorate([
|
35302
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])(
|
35688
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
35303
35689
|
], QuestionSelectBase.prototype, "separateSpecialChoices", void 0);
|
35304
35690
|
__decorate([
|
35305
35691
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ localizable: true })
|
@@ -36251,7 +36637,7 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
36251
36637
|
* @see separateSpecialChoices
|
36252
36638
|
*/
|
36253
36639
|
get: function () {
|
36254
|
-
return this.getPropertyValue("showSelectAllItem"
|
36640
|
+
return this.getPropertyValue("showSelectAllItem");
|
36255
36641
|
},
|
36256
36642
|
set: function (val) {
|
36257
36643
|
this.setPropertyValue("showSelectAllItem", val);
|
@@ -37036,6 +37422,11 @@ var ComponentQuestionJSON = /** @class */ (function () {
|
|
37036
37422
|
return;
|
37037
37423
|
this.json.onValueChanged(question, name, newValue);
|
37038
37424
|
};
|
37425
|
+
ComponentQuestionJSON.prototype.onValueChanging = function (question, name, newValue) {
|
37426
|
+
if (!this.json.onValueChanging)
|
37427
|
+
return newValue;
|
37428
|
+
return this.json.onValueChanging(question, name, newValue);
|
37429
|
+
};
|
37039
37430
|
ComponentQuestionJSON.prototype.onItemValuePropertyChanged = function (question, item, propertyName, name, newValue) {
|
37040
37431
|
if (!this.json.onItemValuePropertyChanged)
|
37041
37432
|
return;
|
@@ -37246,6 +37637,23 @@ var QuestionCustomModelBase = /** @class */ (function (_super) {
|
|
37246
37637
|
this.customQuestion.onValueChanged(this, name, newValue);
|
37247
37638
|
}
|
37248
37639
|
};
|
37640
|
+
QuestionCustomModelBase.prototype.getQuestionByName = function (name) {
|
37641
|
+
return undefined;
|
37642
|
+
};
|
37643
|
+
QuestionCustomModelBase.prototype.isValueChanging = function (name, newValue) {
|
37644
|
+
if (!!this.customQuestion) {
|
37645
|
+
var qValue = newValue;
|
37646
|
+
newValue = this.customQuestion.onValueChanging(this, name, newValue);
|
37647
|
+
if (!_helpers__WEBPACK_IMPORTED_MODULE_3__["Helpers"].isTwoValueEquals(newValue, qValue)) {
|
37648
|
+
var q = this.getQuestionByName(name);
|
37649
|
+
if (!!q) {
|
37650
|
+
q.value = newValue;
|
37651
|
+
return true;
|
37652
|
+
}
|
37653
|
+
}
|
37654
|
+
}
|
37655
|
+
return false;
|
37656
|
+
};
|
37249
37657
|
QuestionCustomModelBase.prototype.convertDataName = function (name) {
|
37250
37658
|
return this.getValueName();
|
37251
37659
|
};
|
@@ -37336,6 +37744,14 @@ var QuestionCustomModel = /** @class */ (function (_super) {
|
|
37336
37744
|
this.contentQuestion.onAnyValueChanged(name);
|
37337
37745
|
}
|
37338
37746
|
};
|
37747
|
+
QuestionCustomModel.prototype.getQuestionByName = function (name) {
|
37748
|
+
return this.contentQuestion;
|
37749
|
+
};
|
37750
|
+
QuestionCustomModel.prototype.setValue = function (name, newValue, locNotification, allowNotifyValueChanged) {
|
37751
|
+
if (this.isValueChanging(name, newValue))
|
37752
|
+
return;
|
37753
|
+
_super.prototype.setValue.call(this, name, newValue, locNotification, allowNotifyValueChanged);
|
37754
|
+
};
|
37339
37755
|
QuestionCustomModel.prototype.hasErrors = function (fireCallback, rec) {
|
37340
37756
|
if (fireCallback === void 0) { fireCallback = true; }
|
37341
37757
|
if (rec === void 0) { rec = null; }
|
@@ -37642,9 +38058,14 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
|
|
37642
38058
|
var val = this.value;
|
37643
38059
|
return !!val ? val[name] : null;
|
37644
38060
|
};
|
38061
|
+
QuestionCompositeModel.prototype.getQuestionByName = function (name) {
|
38062
|
+
return !!this.contentPanel ? this.contentPanel.getQuestionByName(name) : undefined;
|
38063
|
+
};
|
37645
38064
|
QuestionCompositeModel.prototype.setValue = function (name, newValue, locNotification, allowNotifyValueChanged) {
|
37646
38065
|
if (this.settingNewValue)
|
37647
38066
|
return;
|
38067
|
+
if (this.isValueChanging(name, newValue))
|
38068
|
+
return;
|
37648
38069
|
this.settingNewValue = true;
|
37649
38070
|
if (!this.isEditingSurveyElement && !!this.contentPanel) {
|
37650
38071
|
var panelValue = this.contentPanel.getValue();
|
@@ -37694,7 +38115,11 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
|
|
37694
38115
|
var questions = this.contentPanel.questions;
|
37695
38116
|
for (var i = 0; i < questions.length; i++) {
|
37696
38117
|
var key = questions[i].getValueName();
|
37697
|
-
|
38118
|
+
var val = !!newValue ? newValue[key] : undefined;
|
38119
|
+
var q = questions[i];
|
38120
|
+
if (!this.isTwoValueEquals(q.value, val)) {
|
38121
|
+
q.value = val;
|
38122
|
+
}
|
37698
38123
|
}
|
37699
38124
|
this.settingNewValue = false;
|
37700
38125
|
};
|
@@ -37886,7 +38311,7 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
|
|
37886
38311
|
else if (!selectedItemValues) {
|
37887
38312
|
this.updateSelectedItemValues();
|
37888
38313
|
}
|
37889
|
-
return this.lastSelectedItemValue || selectedItemValues || new _itemvalue__WEBPACK_IMPORTED_MODULE_3__["ItemValue"](this.value);
|
38314
|
+
return this.lastSelectedItemValue || selectedItemValues || (this.isOtherSelected ? this.otherItem : new _itemvalue__WEBPACK_IMPORTED_MODULE_3__["ItemValue"](this.value));
|
37890
38315
|
},
|
37891
38316
|
enumerable: false,
|
37892
38317
|
configurable: true
|
@@ -38036,20 +38461,41 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
|
|
38036
38461
|
enumerable: false,
|
38037
38462
|
configurable: true
|
38038
38463
|
});
|
38464
|
+
Object.defineProperty(QuestionDropdownModel.prototype, "dropdownListModel", {
|
38465
|
+
get: function () {
|
38466
|
+
if (this.renderAs !== "select" && !this.dropdownListModelValue) {
|
38467
|
+
this.dropdownListModelValue = new _dropdownListModel__WEBPACK_IMPORTED_MODULE_5__["DropdownListModel"](this);
|
38468
|
+
}
|
38469
|
+
return this.dropdownListModelValue;
|
38470
|
+
},
|
38471
|
+
set: function (val) {
|
38472
|
+
this.dropdownListModelValue = val;
|
38473
|
+
},
|
38474
|
+
enumerable: false,
|
38475
|
+
configurable: true
|
38476
|
+
});
|
38039
38477
|
Object.defineProperty(QuestionDropdownModel.prototype, "popupModel", {
|
38040
38478
|
get: function () {
|
38041
38479
|
var _a;
|
38042
|
-
if (this.renderAs !== "select" && !this.dropdownListModel) {
|
38043
|
-
this.dropdownListModel = new _dropdownListModel__WEBPACK_IMPORTED_MODULE_5__["DropdownListModel"](this);
|
38044
|
-
}
|
38045
38480
|
return (_a = this.dropdownListModel) === null || _a === void 0 ? void 0 : _a.popupModel;
|
38046
38481
|
},
|
38047
38482
|
enumerable: false,
|
38048
38483
|
configurable: true
|
38049
38484
|
});
|
38485
|
+
Object.defineProperty(QuestionDropdownModel.prototype, "ariaExpanded", {
|
38486
|
+
get: function () {
|
38487
|
+
return this.popupModel.isVisible;
|
38488
|
+
},
|
38489
|
+
enumerable: false,
|
38490
|
+
configurable: true
|
38491
|
+
});
|
38050
38492
|
QuestionDropdownModel.prototype.onOpenedCallBack = function () {
|
38051
38493
|
this.onOpened.fire(this, { question: this, choices: this.choices });
|
38052
38494
|
};
|
38495
|
+
QuestionDropdownModel.prototype.onSelectedItemValuesChangedHandler = function (newValue) {
|
38496
|
+
var _a;
|
38497
|
+
(_a = this.dropdownListModel) === null || _a === void 0 ? void 0 : _a.setInputStringFromSelectedItem(newValue);
|
38498
|
+
};
|
38053
38499
|
QuestionDropdownModel.prototype.hasUnknownValue = function (val, includeOther, isFilteredChoices, checkEmptyValue) {
|
38054
38500
|
if (this.choicesLazyLoadEnabled) {
|
38055
38501
|
return false;
|
@@ -38084,11 +38530,10 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
|
|
38084
38530
|
}
|
38085
38531
|
};
|
38086
38532
|
__decorate([
|
38087
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])(
|
38533
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
38088
38534
|
], QuestionDropdownModel.prototype, "allowClear", void 0);
|
38089
38535
|
__decorate([
|
38090
38536
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({
|
38091
|
-
defaultValue: true,
|
38092
38537
|
onSet: function (newValue, target) {
|
38093
38538
|
if (!!target.dropdownListModel) {
|
38094
38539
|
target.dropdownListModel.setSearchEnabled(newValue);
|
@@ -38103,7 +38548,7 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
|
|
38103
38548
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: "" })
|
38104
38549
|
], QuestionDropdownModel.prototype, "readOnlyText", void 0);
|
38105
38550
|
__decorate([
|
38106
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])(
|
38551
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
38107
38552
|
], QuestionDropdownModel.prototype, "choicesLazyLoadEnabled", void 0);
|
38108
38553
|
__decorate([
|
38109
38554
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: 25 })
|
@@ -39498,7 +39943,7 @@ var QuestionHtmlModel = /** @class */ (function (_super) {
|
|
39498
39943
|
var locHtml = _this.createLocalizableString("html", _this);
|
39499
39944
|
locHtml.onGetTextCallback = function (str) {
|
39500
39945
|
return !!_this.survey && !_this.ignoreHtmlProgressing
|
39501
|
-
? _this.
|
39946
|
+
? _this.processHtml(str)
|
39502
39947
|
: str;
|
39503
39948
|
};
|
39504
39949
|
return _this;
|
@@ -39542,11 +39987,14 @@ var QuestionHtmlModel = /** @class */ (function (_super) {
|
|
39542
39987
|
});
|
39543
39988
|
Object.defineProperty(QuestionHtmlModel.prototype, "processedHtml", {
|
39544
39989
|
get: function () {
|
39545
|
-
return this.
|
39990
|
+
return this.processHtml(this.html);
|
39546
39991
|
},
|
39547
39992
|
enumerable: false,
|
39548
39993
|
configurable: true
|
39549
39994
|
});
|
39995
|
+
QuestionHtmlModel.prototype.processHtml = function (html) {
|
39996
|
+
return this.survey ? this.survey.processHtml(html, "html-question") : this.html;
|
39997
|
+
};
|
39550
39998
|
return QuestionHtmlModel;
|
39551
39999
|
}(_questionnonvalue__WEBPACK_IMPORTED_MODULE_0__["QuestionNonValue"]));
|
39552
40000
|
|
@@ -40788,7 +41236,7 @@ var QuestionMatrixModel = /** @class */ (function (_super) {
|
|
40788
41236
|
* @see isRequired
|
40789
41237
|
*/
|
40790
41238
|
get: function () {
|
40791
|
-
return this.getPropertyValue("isAllRowRequired"
|
41239
|
+
return this.getPropertyValue("isAllRowRequired");
|
40792
41240
|
},
|
40793
41241
|
set: function (val) {
|
40794
41242
|
this.setPropertyValue("isAllRowRequired", val);
|
@@ -41333,7 +41781,7 @@ var QuestionMatrixDropdownModel = /** @class */ (function (_super) {
|
|
41333
41781
|
* @see rowsVisibleIf
|
41334
41782
|
*/
|
41335
41783
|
get: function () {
|
41336
|
-
return this.getPropertyValue("hideIfRowsEmpty"
|
41784
|
+
return this.getPropertyValue("hideIfRowsEmpty");
|
41337
41785
|
},
|
41338
41786
|
set: function (val) {
|
41339
41787
|
this.setPropertyValue("hideIfRowsEmpty", val);
|
@@ -42680,7 +43128,7 @@ var QuestionMatrixDropdownModelBase = /** @class */ (function (_super) {
|
|
42680
43128
|
});
|
42681
43129
|
Object.defineProperty(QuestionMatrixDropdownModelBase.prototype, "horizontalScroll", {
|
42682
43130
|
get: function () {
|
42683
|
-
return this.getPropertyValue("horizontalScroll"
|
43131
|
+
return this.getPropertyValue("horizontalScroll");
|
42684
43132
|
},
|
42685
43133
|
set: function (val) {
|
42686
43134
|
this.setPropertyValue("horizontalScroll", val);
|
@@ -44273,7 +44721,7 @@ var MatrixDropdownColumn = /** @class */ (function (_super) {
|
|
44273
44721
|
});
|
44274
44722
|
Object.defineProperty(MatrixDropdownColumn.prototype, "showInMultipleColumns", {
|
44275
44723
|
get: function () {
|
44276
|
-
return this.getPropertyValue("showInMultipleColumns"
|
44724
|
+
return this.getPropertyValue("showInMultipleColumns");
|
44277
44725
|
},
|
44278
44726
|
set: function (val) {
|
44279
44727
|
this.setPropertyValue("showInMultipleColumns", val);
|
@@ -45836,7 +46284,7 @@ var QuestionMatrixDynamicModel = /** @class */ (function (_super) {
|
|
45836
46284
|
* @see confirmDeleteText
|
45837
46285
|
*/
|
45838
46286
|
get: function () {
|
45839
|
-
return this.getPropertyValue("confirmDelete"
|
46287
|
+
return this.getPropertyValue("confirmDelete");
|
45840
46288
|
},
|
45841
46289
|
set: function (val) {
|
45842
46290
|
this.setPropertyValue("confirmDelete", val);
|
@@ -45881,7 +46329,7 @@ var QuestionMatrixDynamicModel = /** @class */ (function (_super) {
|
|
45881
46329
|
* @see defaultValue
|
45882
46330
|
*/
|
45883
46331
|
get: function () {
|
45884
|
-
return this.getPropertyValue("defaultValueFromLastRow"
|
46332
|
+
return this.getPropertyValue("defaultValueFromLastRow");
|
45885
46333
|
},
|
45886
46334
|
set: function (val) {
|
45887
46335
|
this.setPropertyValue("defaultValueFromLastRow", val);
|
@@ -48091,7 +48539,7 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
|
|
48091
48539
|
* @see confirmDeleteText
|
48092
48540
|
*/
|
48093
48541
|
get: function () {
|
48094
|
-
return this.getPropertyValue("confirmDelete"
|
48542
|
+
return this.getPropertyValue("confirmDelete");
|
48095
48543
|
},
|
48096
48544
|
set: function (val) {
|
48097
48545
|
this.setPropertyValue("confirmDelete", val);
|
@@ -48748,7 +49196,7 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
|
|
48748
49196
|
* @see defaultValue
|
48749
49197
|
*/
|
48750
49198
|
get: function () {
|
48751
|
-
return this.getPropertyValue("defaultValueFromLastPanel"
|
49199
|
+
return this.getPropertyValue("defaultValueFromLastPanel");
|
48752
49200
|
},
|
48753
49201
|
set: function (val) {
|
48754
49202
|
this.setPropertyValue("defaultValueFromLastPanel", val);
|
@@ -49888,7 +50336,7 @@ var QuestionRadiogroupModel = /** @class */ (function (_super) {
|
|
49888
50336
|
if (!itemValue && !selectedItemValues) {
|
49889
50337
|
this.updateSelectedItemValues();
|
49890
50338
|
}
|
49891
|
-
return itemValue || selectedItemValues || new _itemvalue__WEBPACK_IMPORTED_MODULE_3__["ItemValue"](this.value);
|
50339
|
+
return itemValue || selectedItemValues || (this.isOtherSelected ? this.otherItem : new _itemvalue__WEBPACK_IMPORTED_MODULE_3__["ItemValue"](this.value));
|
49892
50340
|
},
|
49893
50341
|
enumerable: false,
|
49894
50342
|
configurable: true
|
@@ -50677,10 +51125,19 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
50677
51125
|
enumerable: false,
|
50678
51126
|
configurable: true
|
50679
51127
|
});
|
51128
|
+
Object.defineProperty(QuestionRatingModel.prototype, "isSmiley", {
|
51129
|
+
get: function () {
|
51130
|
+
return this.rateType == "smileys";
|
51131
|
+
},
|
51132
|
+
enumerable: false,
|
51133
|
+
configurable: true
|
51134
|
+
});
|
50680
51135
|
Object.defineProperty(QuestionRatingModel.prototype, "itemComponentName", {
|
50681
51136
|
get: function () {
|
50682
51137
|
if (this.isStar)
|
50683
51138
|
return "sv-rating-item-star";
|
51139
|
+
if (this.isSmiley)
|
51140
|
+
return "sv-rating-item-smiley";
|
50684
51141
|
return "sv-rating-item";
|
50685
51142
|
},
|
50686
51143
|
enumerable: false,
|
@@ -50725,9 +51182,34 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
50725
51182
|
enumerable: false,
|
50726
51183
|
configurable: true
|
50727
51184
|
});
|
51185
|
+
QuestionRatingModel.prototype.getItemSmiley = function (item) {
|
51186
|
+
var icons = ["terrible", "very-poor", "poor", "not-good", "average", "normal", "good", "very-good", "excellent", "perfect"];
|
51187
|
+
var priority = ["very-good", "not-good", "normal", "good", "average", "excellent", "poor", "perfect", "very-poor", "terrible"];
|
51188
|
+
var count = this.rateValues.length || this.rateMax - this.rateMin + 1;
|
51189
|
+
var selectedPriority = priority.slice(0, count);
|
51190
|
+
var selectedIcons = icons.filter(function (i) { return selectedPriority.indexOf(i) != -1; });
|
51191
|
+
if (this.rateValues.length == 0) {
|
51192
|
+
return selectedIcons[item.value - this.rateMin];
|
51193
|
+
}
|
51194
|
+
else {
|
51195
|
+
return selectedIcons[this.rateValues.indexOf(item)];
|
51196
|
+
}
|
51197
|
+
};
|
51198
|
+
QuestionRatingModel.prototype.getItemSmileyIconName = function (item) {
|
51199
|
+
return "icon-" + this.getItemSmiley(item);
|
51200
|
+
};
|
50728
51201
|
QuestionRatingModel.prototype.getItemClass = function (item, highlight) {
|
51202
|
+
var _this = this;
|
50729
51203
|
if (highlight === void 0) { highlight = "none"; }
|
50730
|
-
var isSelected = this.
|
51204
|
+
var isSelected = this.value == item.value;
|
51205
|
+
if (this.isStar) {
|
51206
|
+
if (this.rateValues.length == 0) {
|
51207
|
+
isSelected = this.value >= item.value;
|
51208
|
+
}
|
51209
|
+
else {
|
51210
|
+
isSelected = this.rateValues.indexOf(this.rateValues.filter(function (i) { return i.value == _this.value; })[0]) >= this.rateValues.indexOf(item);
|
51211
|
+
}
|
51212
|
+
}
|
50731
51213
|
var isDisabled = this.isReadOnly || !item.isEnabled;
|
50732
51214
|
var allowHover = !isDisabled && (this.value != item.value) && !(!!this.survey && this.survey.isDesignMode);
|
50733
51215
|
var renderedItem = this.renderedRateItems.filter(function (i) { return i.itemValue == item; })[0];
|
@@ -50749,6 +51231,13 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
50749
51231
|
itemHighlightedClass = this.cssClasses.itemStarHighlighted;
|
50750
51232
|
itemUnhighlightedClass = this.cssClasses.itemStarUnhighlighted;
|
50751
51233
|
}
|
51234
|
+
if (this.isSmiley) {
|
51235
|
+
itemClass = this.cssClasses.itemSmiley;
|
51236
|
+
itemSelectedClass = this.cssClasses.itemSmileySelected;
|
51237
|
+
itemDisabledClass = this.cssClasses.itemSmileyDisabled;
|
51238
|
+
itemHoverClass = this.cssClasses.itemSmileyHover;
|
51239
|
+
itemitemOnErrorClass = this.cssClasses.itemSmileyOnError;
|
51240
|
+
}
|
50752
51241
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_6__["CssClassBuilder"]()
|
50753
51242
|
.append(itemClass)
|
50754
51243
|
.append(itemSelectedClass, isSelected)
|
@@ -51438,6 +51927,13 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
51438
51927
|
enumerable: false,
|
51439
51928
|
configurable: true
|
51440
51929
|
});
|
51930
|
+
Object.defineProperty(QuestionTagboxModel.prototype, "ariaExpanded", {
|
51931
|
+
get: function () {
|
51932
|
+
return this.popupModel.isVisible;
|
51933
|
+
},
|
51934
|
+
enumerable: false,
|
51935
|
+
configurable: true
|
51936
|
+
});
|
51441
51937
|
QuestionTagboxModel.prototype.getControlClass = function () {
|
51442
51938
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__["CssClassBuilder"]()
|
51443
51939
|
.append(this.cssClasses.control)
|
@@ -51493,7 +51989,7 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
51493
51989
|
return this.inputId + "_0";
|
51494
51990
|
};
|
51495
51991
|
__decorate([
|
51496
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])(
|
51992
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
51497
51993
|
], QuestionTagboxModel.prototype, "allowClear", void 0);
|
51498
51994
|
__decorate([
|
51499
51995
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({
|
@@ -51507,7 +52003,6 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
51507
52003
|
], QuestionTagboxModel.prototype, "searchEnabled", void 0);
|
51508
52004
|
__decorate([
|
51509
52005
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({
|
51510
|
-
defaultValue: false,
|
51511
52006
|
onSet: function (newValue, target) {
|
51512
52007
|
if (!!target.dropdownListModel) {
|
51513
52008
|
target.dropdownListModel.setHideSelectedItems(newValue);
|
@@ -51516,7 +52011,7 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
51516
52011
|
})
|
51517
52012
|
], QuestionTagboxModel.prototype, "hideSelectedItems", void 0);
|
51518
52013
|
__decorate([
|
51519
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])(
|
52014
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
51520
52015
|
], QuestionTagboxModel.prototype, "choicesLazyLoadEnabled", void 0);
|
51521
52016
|
__decorate([
|
51522
52017
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: 25 })
|
@@ -51766,7 +52261,7 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
51766
52261
|
* A value passed on to the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of the underlying `<input>` element.
|
51767
52262
|
*/
|
51768
52263
|
get: function () {
|
51769
|
-
return this.getPropertyValue("autocomplete",
|
52264
|
+
return this.getPropertyValue("autocomplete", null);
|
51770
52265
|
},
|
51771
52266
|
set: function (val) {
|
51772
52267
|
this.setPropertyValue("autocomplete", val);
|
@@ -53589,7 +54084,7 @@ var ListItem = /** @class */ (function (_super) {
|
|
53589
54084
|
var style = {
|
53590
54085
|
display: isVisible ? null : "none"
|
53591
54086
|
};
|
53592
|
-
return Object(_reactSurvey__WEBPACK_IMPORTED_MODULE_3__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("li", { className: className, role: "option", style: style, "aria-selected": this.model.isItemSelected(this.item), onClick: function (event) {
|
54087
|
+
return Object(_reactSurvey__WEBPACK_IMPORTED_MODULE_3__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("li", { className: className, role: "option", style: style, id: this.item.elementId, "aria-selected": this.model.isItemSelected(this.item), onClick: function (event) {
|
53593
54088
|
_this.model.onItemClick(_this.item);
|
53594
54089
|
event.stopPropagation();
|
53595
54090
|
}, onPointerDown: function (event) { return _this.model.onPointerDown(event, _this.item); } },
|
@@ -53689,7 +54184,7 @@ var List = /** @class */ (function (_super) {
|
|
53689
54184
|
return null;
|
53690
54185
|
var items = this.renderItems();
|
53691
54186
|
var ulStyle = { display: this.model.isEmpty ? "none" : null };
|
53692
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("ul", { className: this.model.cssClasses.itemsContainer, style: ulStyle, role: "listbox", onMouseDown: function (e) {
|
54187
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("ul", { className: this.model.cssClasses.itemsContainer, style: ulStyle, role: "listbox", id: this.model.elementId, onMouseDown: function (e) {
|
53693
54188
|
e.preventDefault();
|
53694
54189
|
}, onKeyDown: this.handleKeydown, onMouseMove: this.handleMouseMove }, items));
|
53695
54190
|
};
|
@@ -54087,7 +54582,9 @@ var NotifierComponent = /** @class */ (function (_super) {
|
|
54087
54582
|
return this.notifier;
|
54088
54583
|
};
|
54089
54584
|
NotifierComponent.prototype.renderElement = function () {
|
54090
|
-
|
54585
|
+
if (!this.notifier.isDisplayed)
|
54586
|
+
return null;
|
54587
|
+
var style = { visibility: this.notifier.active ? "visible" : "hidden" };
|
54091
54588
|
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", { className: this.notifier.css, style: style },
|
54092
54589
|
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", null, this.notifier.message),
|
54093
54590
|
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_action_bar_action_bar__WEBPACK_IMPORTED_MODULE_3__["SurveyActionBar"], { model: this.notifier.actionBar })));
|
@@ -54637,6 +55134,85 @@ function showDialog(dialogOptions) {
|
|
54637
55134
|
survey_core__WEBPACK_IMPORTED_MODULE_2__["settings"].showModal = showModal;
|
54638
55135
|
|
54639
55136
|
|
55137
|
+
/***/ }),
|
55138
|
+
|
55139
|
+
/***/ "./src/react/components/rating/rating-item-smiley.tsx":
|
55140
|
+
/*!************************************************************!*\
|
55141
|
+
!*** ./src/react/components/rating/rating-item-smiley.tsx ***!
|
55142
|
+
\************************************************************/
|
55143
|
+
/*! exports provided: RatingItemSmiley */
|
55144
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
55145
|
+
|
55146
|
+
"use strict";
|
55147
|
+
__webpack_require__.r(__webpack_exports__);
|
55148
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RatingItemSmiley", function() { return RatingItemSmiley; });
|
55149
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
55150
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
55151
|
+
/* harmony import */ var _element_factory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../element-factory */ "./src/react/element-factory.tsx");
|
55152
|
+
/* harmony import */ var _reactquestion_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../reactquestion_element */ "./src/react/reactquestion_element.tsx");
|
55153
|
+
/* harmony import */ var _svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../svg-icon/svg-icon */ "./src/react/components/svg-icon/svg-icon.tsx");
|
55154
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
55155
|
+
var extendStatics = function (d, b) {
|
55156
|
+
extendStatics = Object.setPrototypeOf ||
|
55157
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
55158
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
55159
|
+
return extendStatics(d, b);
|
55160
|
+
};
|
55161
|
+
return function (d, b) {
|
55162
|
+
if (typeof b !== "function" && b !== null)
|
55163
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
55164
|
+
extendStatics(d, b);
|
55165
|
+
function __() { this.constructor = d; }
|
55166
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
55167
|
+
};
|
55168
|
+
})();
|
55169
|
+
|
55170
|
+
|
55171
|
+
|
55172
|
+
|
55173
|
+
var RatingItemSmiley = /** @class */ (function (_super) {
|
55174
|
+
__extends(RatingItemSmiley, _super);
|
55175
|
+
function RatingItemSmiley() {
|
55176
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
55177
|
+
}
|
55178
|
+
Object.defineProperty(RatingItemSmiley.prototype, "question", {
|
55179
|
+
get: function () {
|
55180
|
+
return this.props.question;
|
55181
|
+
},
|
55182
|
+
enumerable: false,
|
55183
|
+
configurable: true
|
55184
|
+
});
|
55185
|
+
Object.defineProperty(RatingItemSmiley.prototype, "item", {
|
55186
|
+
get: function () {
|
55187
|
+
return this.props.item;
|
55188
|
+
},
|
55189
|
+
enumerable: false,
|
55190
|
+
configurable: true
|
55191
|
+
});
|
55192
|
+
Object.defineProperty(RatingItemSmiley.prototype, "index", {
|
55193
|
+
get: function () {
|
55194
|
+
return this.props.index;
|
55195
|
+
},
|
55196
|
+
enumerable: false,
|
55197
|
+
configurable: true
|
55198
|
+
});
|
55199
|
+
RatingItemSmiley.prototype.getStateElement = function () {
|
55200
|
+
return this.item;
|
55201
|
+
};
|
55202
|
+
RatingItemSmiley.prototype.render = function () {
|
55203
|
+
var _this = this;
|
55204
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("label", { className: this.question.getItemClass(this.item.itemValue), onMouseOver: function (e) { return _this.question.onItemMouseIn(_this.item); }, onMouseOut: function (e) { return _this.question.onItemMouseOut(_this.item); } },
|
55205
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.name, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.isDisplayMode, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: function () { }, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy }),
|
55206
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { size: "auto", iconName: this.question.getItemSmileyIconName(this.item.itemValue), title: this.item.text })));
|
55207
|
+
};
|
55208
|
+
return RatingItemSmiley;
|
55209
|
+
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__["SurveyElementBase"]));
|
55210
|
+
|
55211
|
+
_element_factory__WEBPACK_IMPORTED_MODULE_1__["ReactElementFactory"].Instance.registerElement("sv-rating-item-smiley", function (props) {
|
55212
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(RatingItemSmiley, props);
|
55213
|
+
});
|
55214
|
+
|
55215
|
+
|
54640
55216
|
/***/ }),
|
54641
55217
|
|
54642
55218
|
/***/ "./src/react/components/rating/rating-item-star.tsx":
|
@@ -54706,8 +55282,8 @@ var RatingItemStar = /** @class */ (function (_super) {
|
|
54706
55282
|
var _this = this;
|
54707
55283
|
return (react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("label", { className: this.question.getItemClass(this.item.itemValue), onMouseOver: function (e) { return _this.question.onItemMouseIn(_this.item); }, onMouseOut: function (e) { return _this.question.onItemMouseOut(_this.item); } },
|
54708
55284
|
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("input", { type: "radio", className: "sv-visuallyhidden", name: this.question.name, id: this.question.getInputId(this.index), value: this.item.value, disabled: this.isDisplayMode, checked: this.question.value == this.item.value, onClick: this.props.handleOnClick, onChange: function () { }, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy }),
|
54709
|
-
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { className: "sv-star", size:
|
54710
|
-
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { className: "sv-star-2", size:
|
55285
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { className: "sv-star", size: "auto", iconName: "icon-rating-star", title: this.item.text }),
|
55286
|
+
react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_svg_icon_svg_icon__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { className: "sv-star-2", size: "auto", iconName: "icon-rating-star-2", title: this.item.text })));
|
54711
55287
|
};
|
54712
55288
|
return RatingItemStar;
|
54713
55289
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_2__["SurveyElementBase"]));
|
@@ -55523,8 +56099,15 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
55523
56099
|
(_a = _this.question.dropdownListModel) === null || _a === void 0 ? void 0 : _a.onBlur(event);
|
55524
56100
|
_this.updateInputDomElement();
|
55525
56101
|
};
|
56102
|
+
_this.focus = function (event) {
|
56103
|
+
var _a;
|
56104
|
+
(_a = _this.question.dropdownListModel) === null || _a === void 0 ? void 0 : _a.onFocus(event);
|
56105
|
+
};
|
55526
56106
|
return _this;
|
55527
56107
|
}
|
56108
|
+
SurveyQuestionDropdownBase.prototype.getStateElement = function () {
|
56109
|
+
return this.question["dropdownListModel"];
|
56110
|
+
};
|
55528
56111
|
SurveyQuestionDropdownBase.prototype.setValueCore = function (newValue) {
|
55529
56112
|
this.questionBase.renderedValue = newValue;
|
55530
56113
|
};
|
@@ -55543,7 +56126,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
55543
56126
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", null, this.question.readOnlyText));
|
55544
56127
|
}
|
55545
56128
|
else {
|
55546
|
-
if (!this.question
|
56129
|
+
if (!this.question["dropdownListModel"]) {
|
55547
56130
|
this.question["dropdownListModel"] = new survey_core__WEBPACK_IMPORTED_MODULE_1__["DropdownListModel"](this.question);
|
55548
56131
|
}
|
55549
56132
|
selectElement = react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
|
@@ -55566,16 +56149,23 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
55566
56149
|
var valueElement = this.renderValueElement(dropdownListModel);
|
55567
56150
|
var onInputChange = function (e) {
|
55568
56151
|
if (e.target === document.activeElement) {
|
55569
|
-
dropdownListModel.
|
56152
|
+
dropdownListModel.inputStringRendered = e.target.value;
|
55570
56153
|
}
|
55571
56154
|
};
|
55572
56155
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.inputReadOnly ? undefined : 0, onClick: this.click,
|
55573
56156
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
55574
56157
|
// @ts-ignore
|
55575
|
-
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy },
|
56158
|
+
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy, "aria-expanded": this.question.ariaExpanded ? "true" : "false", "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
|
56159
|
+
dropdownListModel.showHintPrefix ?
|
56160
|
+
(react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.hintPrefix },
|
56161
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, dropdownListModel.hintStringPrefix))) : null,
|
55576
56162
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.controlValue },
|
56163
|
+
dropdownListModel.showHintString ?
|
56164
|
+
(react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.hintSuffix },
|
56165
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, dropdownListModel.inputStringRendered),
|
56166
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, dropdownListModel.hintStringSuffix))) : null,
|
55577
56167
|
valueElement,
|
55578
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.filterStringEnabled ? this.question.ariaRole : undefined, "aria-label": this.question.placeholder,
|
56168
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.filterStringEnabled ? this.question.ariaRole : undefined, "aria-label": this.question.placeholder, "aria-expanded": this.question.ariaExpanded ? "true" : "false", "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant, placeholder: dropdownListModel.placeholderRendered, readOnly: !dropdownListModel.searchEnabled ? true : undefined, tabIndex: dropdownListModel.inputReadOnly ? undefined : -1, disabled: this.question.isInputReadOnly, inputMode: dropdownListModel.inputMode, onChange: function (e) { onInputChange(e); }, onBlur: this.blur, onFocus: this.focus })),
|
55579
56169
|
this.createClearButton()));
|
55580
56170
|
};
|
55581
56171
|
SurveyQuestionDropdownBase.prototype.createClearButton = function () {
|
@@ -55600,9 +56190,9 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
55600
56190
|
SurveyQuestionDropdownBase.prototype.updateInputDomElement = function () {
|
55601
56191
|
if (!!this.inputElement) {
|
55602
56192
|
var control = this.inputElement;
|
55603
|
-
var newValue = this.question.dropdownListModel.
|
56193
|
+
var newValue = this.question.dropdownListModel.inputStringRendered;
|
55604
56194
|
if (!survey_core__WEBPACK_IMPORTED_MODULE_1__["Helpers"].isTwoValueEquals(newValue, control.value)) {
|
55605
|
-
control.value = this.question.dropdownListModel.
|
56195
|
+
control.value = this.question.dropdownListModel.inputStringRendered;
|
55606
56196
|
}
|
55607
56197
|
}
|
55608
56198
|
};
|
@@ -58248,6 +58838,8 @@ var SurveyQuestionCheckboxItem = /** @class */ (function (_super) {
|
|
58248
58838
|
SurveyQuestionCheckboxItem.prototype.shouldComponentUpdate = function (nextProps, nextState) {
|
58249
58839
|
if (!_super.prototype.shouldComponentUpdate.call(this, nextProps, nextState))
|
58250
58840
|
return false;
|
58841
|
+
if (!this.question)
|
58842
|
+
return false;
|
58251
58843
|
return (!this.question.customWidget ||
|
58252
58844
|
!!this.question.customWidgetData.isNeedRender ||
|
58253
58845
|
!!this.question.customWidget.widgetJson.isDefaultRender ||
|
@@ -60624,6 +61216,8 @@ var SurveyQuestionRadioItem = /** @class */ (function (_super) {
|
|
60624
61216
|
SurveyQuestionRadioItem.prototype.shouldComponentUpdate = function (nextProps, nextState) {
|
60625
61217
|
if (!_super.prototype.shouldComponentUpdate.call(this, nextProps, nextState))
|
60626
61218
|
return false;
|
61219
|
+
if (!this.question)
|
61220
|
+
return false;
|
60627
61221
|
return (!this.question.customWidget ||
|
60628
61222
|
!!this.question.customWidgetData.isNeedRender ||
|
60629
61223
|
!!this.question.customWidget.widgetJson.isDefaultRender ||
|
@@ -60985,7 +61579,7 @@ var SurveyQuestionTagbox = /** @class */ (function (_super) {
|
|
60985
61579
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.inputReadOnly ? undefined : 0, onClick: this.click,
|
60986
61580
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
60987
61581
|
// @ts-ignore
|
60988
|
-
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy },
|
61582
|
+
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy, "aria-expanded": this.question.ariaExpanded ? "true" : "false", "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
|
60989
61583
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.cssClasses.controlValue },
|
60990
61584
|
items,
|
60991
61585
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_tagbox_filter__WEBPACK_IMPORTED_MODULE_4__["TagboxFilterString"], { model: dropdownMultiSelectListModel, question: this.question })),
|
@@ -61638,7 +62232,7 @@ var SurveyLocStringViewer = /** @class */ (function (_super) {
|
|
61638
62232
|
};
|
61639
62233
|
SurveyLocStringViewer.prototype.componentDidUpdate = function (prevProps, prevState) {
|
61640
62234
|
if (!!prevProps.locStr) {
|
61641
|
-
|
62235
|
+
prevProps.locStr.onStringChanged.remove(this.onChangedHandler);
|
61642
62236
|
}
|
61643
62237
|
this.reactOnStrChanged();
|
61644
62238
|
};
|
@@ -61736,15 +62330,15 @@ var TagboxFilterString = /** @class */ (function (_super) {
|
|
61736
62330
|
TagboxFilterString.prototype.updateDomElement = function () {
|
61737
62331
|
if (!!this.inputElement) {
|
61738
62332
|
var control = this.inputElement;
|
61739
|
-
var newValue = this.model.
|
62333
|
+
var newValue = this.model.inputStringRendered;
|
61740
62334
|
if (!survey_core__WEBPACK_IMPORTED_MODULE_1__["Helpers"].isTwoValueEquals(newValue, control.value)) {
|
61741
|
-
control.value = this.model.
|
62335
|
+
control.value = this.model.inputStringRendered;
|
61742
62336
|
}
|
61743
62337
|
}
|
61744
62338
|
};
|
61745
62339
|
TagboxFilterString.prototype.onChange = function (e) {
|
61746
62340
|
if (e.target === document.activeElement) {
|
61747
|
-
this.model.
|
62341
|
+
this.model.inputStringRendered = e.target.value;
|
61748
62342
|
}
|
61749
62343
|
};
|
61750
62344
|
TagboxFilterString.prototype.keyhandler = function (e) {
|
@@ -61753,12 +62347,15 @@ var TagboxFilterString = /** @class */ (function (_super) {
|
|
61753
62347
|
TagboxFilterString.prototype.onBlur = function (e) {
|
61754
62348
|
this.model.onBlur(e);
|
61755
62349
|
};
|
62350
|
+
TagboxFilterString.prototype.onFocus = function (e) {
|
62351
|
+
this.model.onFocus(e);
|
62352
|
+
};
|
61756
62353
|
TagboxFilterString.prototype.getStateElement = function () {
|
61757
62354
|
return this.model;
|
61758
62355
|
};
|
61759
62356
|
TagboxFilterString.prototype.render = function () {
|
61760
62357
|
var _this = this;
|
61761
|
-
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.model.inputMode, ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: !this.model.searchEnabled ? true : undefined, size: !this.model.
|
62358
|
+
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.model.inputMode, ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: !this.model.searchEnabled ? true : undefined, size: !this.model.inputStringRendered ? 1 : undefined, role: this.model.filterStringEnabled ? this.question.ariaRole : undefined, "aria-label": this.question.placeholder, "aria-expanded": this.question.ariaExpanded ? "true" : "false", "aria-controls": this.model.listElementId, "aria-activedescendant": this.model.ariaActivedescendant, placeholder: this.model.filterStringPlaceholder, onKeyDown: function (e) { _this.keyhandler(e); }, onChange: function (e) { _this.onChange(e); }, onBlur: function (e) { _this.onBlur(e); }, onFocus: function (e) { _this.onFocus(e); } }));
|
61762
62359
|
};
|
61763
62360
|
return TagboxFilterString;
|
61764
62361
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_3__["SurveyElementBase"]));
|
@@ -62397,6 +62994,7 @@ var modernThemeColors = {
|
|
62397
62994
|
"$clean-button-color": "#1948b3",
|
62398
62995
|
"$body-background-color": "#ffffff",
|
62399
62996
|
"$foreground-light": "#909090",
|
62997
|
+
"$font-family": "Raleway",
|
62400
62998
|
};
|
62401
62999
|
var defaultThemeColors = {
|
62402
63000
|
"$header-background-color": "#e7e7e7",
|
@@ -62746,6 +63344,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
62746
63344
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./helpers */ "./src/helpers.ts");
|
62747
63345
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
62748
63346
|
/* harmony import */ var _actions_container__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./actions/container */ "./src/actions/container.ts");
|
63347
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
62749
63348
|
var __extends = (undefined && undefined.__extends) || (function () {
|
62750
63349
|
var extendStatics = function (d, b) {
|
62751
63350
|
extendStatics = Object.setPrototypeOf ||
|
@@ -62773,6 +63372,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
62773
63372
|
|
62774
63373
|
|
62775
63374
|
|
63375
|
+
|
62776
63376
|
/**
|
62777
63377
|
* A base class for the [`SurveyElement`](https://surveyjs.io/form-library/documentation/surveyelement) and [`SurveyModel`](https://surveyjs.io/form-library/documentation/surveymodel) classes.
|
62778
63378
|
*/
|
@@ -63709,18 +64309,28 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
63709
64309
|
};
|
63710
64310
|
Object.defineProperty(SurveyElement.prototype, "hasParent", {
|
63711
64311
|
get: function () {
|
63712
|
-
return (this.parent && !this.parent.isPage) || (this.parent === undefined);
|
63713
|
-
},
|
63714
|
-
enumerable: false,
|
63715
|
-
configurable: true
|
63716
|
-
});
|
63717
|
-
Object.defineProperty(SurveyElement.prototype, "hasFrameV2", {
|
63718
|
-
get: function () {
|
63719
|
-
return !this.hasParent && this.isDefaultV2Theme && !this.isDesignMode && this.isSingleInRow;
|
64312
|
+
return (this.parent && !this.parent.isPage && (!this.parent.originalPage || this.survey.isShowingPreview)) || (this.parent === undefined);
|
63720
64313
|
},
|
63721
64314
|
enumerable: false,
|
63722
64315
|
configurable: true
|
63723
64316
|
});
|
64317
|
+
SurveyElement.prototype.shouldAddRunnerStyles = function () {
|
64318
|
+
return !this.isDesignMode && this.isDefaultV2Theme;
|
64319
|
+
};
|
64320
|
+
SurveyElement.prototype.getHasFrameV2 = function () {
|
64321
|
+
return this.shouldAddRunnerStyles() && (!this.hasParent && this.isSingleInRow);
|
64322
|
+
};
|
64323
|
+
SurveyElement.prototype.getIsNested = function () {
|
64324
|
+
return this.shouldAddRunnerStyles() && (this.hasParent || !this.isSingleInRow);
|
64325
|
+
};
|
64326
|
+
SurveyElement.prototype.getCssRoot = function (cssClasses) {
|
64327
|
+
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_6__["CssClassBuilder"]()
|
64328
|
+
.append(cssClasses.withFrame, this.getHasFrameV2())
|
64329
|
+
.append(cssClasses.collapsed, !!this.isCollapsed)
|
64330
|
+
.append(cssClasses.expanded, !!this.isExpanded)
|
64331
|
+
.append(cssClasses.nested, this.getIsNested())
|
64332
|
+
.toString();
|
64333
|
+
};
|
63724
64334
|
Object.defineProperty(SurveyElement.prototype, "width", {
|
63725
64335
|
/**
|
63726
64336
|
* Sets survey element width in CSS values.
|
@@ -63885,6 +64495,18 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
63885
64495
|
this.toggleState();
|
63886
64496
|
}
|
63887
64497
|
};
|
64498
|
+
SurveyElement.prototype.getCssTitle = function (cssClasses) {
|
64499
|
+
var isExpandable = this.state !== "default";
|
64500
|
+
var numInlineLimit = 4;
|
64501
|
+
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_6__["CssClassBuilder"]()
|
64502
|
+
.append(cssClasses.title)
|
64503
|
+
.append(cssClasses.titleNumInline, (this.no || "").length > numInlineLimit || isExpandable)
|
64504
|
+
.append(cssClasses.titleExpandable, isExpandable)
|
64505
|
+
.append(cssClasses.titleExpanded, this.isExpanded)
|
64506
|
+
.append(cssClasses.titleCollapsed, this.isCollapsed)
|
64507
|
+
.append(cssClasses.titleDisabled, this.isReadOnly)
|
64508
|
+
.append(cssClasses.titleOnError, this.containsErrors).toString();
|
64509
|
+
};
|
63888
64510
|
SurveyElement.prototype.localeChanged = function () {
|
63889
64511
|
_super.prototype.localeChanged.call(this);
|
63890
64512
|
this.updateDescriptionVisibility(this.description);
|
@@ -64318,7 +64940,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
64318
64940
|
*/
|
64319
64941
|
_this.onValidatedErrorsOnCurrentPage = _this.addEvent();
|
64320
64942
|
/**
|
64321
|
-
*
|
64943
|
+
* An event that is raised when the survey processes HTML content. Handle this event to modify HTML content before displaying.
|
64322
64944
|
* @see completedHtml
|
64323
64945
|
* @see loadingHtml
|
64324
64946
|
* @see QuestionHtmlModel.html
|
@@ -64839,11 +65461,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
64839
65461
|
_this.updateCss();
|
64840
65462
|
_this.setCalculatedWidthModeUpdater();
|
64841
65463
|
_this.notifier = new _notifier__WEBPACK_IMPORTED_MODULE_19__["Notifier"](_this.css.saveData);
|
64842
|
-
_this.notifier.addAction(
|
64843
|
-
id: "save-again",
|
64844
|
-
title: _this.getLocalizationString("saveAgainButton"),
|
64845
|
-
action: function () { _this.doComplete(); }
|
64846
|
-
}, "error");
|
65464
|
+
_this.notifier.addAction(_this.createTryAgainAction(), "error");
|
64847
65465
|
_this.layoutElements.push({
|
64848
65466
|
id: "timerpanel",
|
64849
65467
|
template: "survey-timerpanel",
|
@@ -64935,6 +65553,21 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
64935
65553
|
enumerable: false,
|
64936
65554
|
configurable: true
|
64937
65555
|
});
|
65556
|
+
SurveyModel.prototype.createTryAgainAction = function () {
|
65557
|
+
var _this = this;
|
65558
|
+
return {
|
65559
|
+
id: "save-again",
|
65560
|
+
title: this.getLocalizationString("saveAgainButton"),
|
65561
|
+
action: function () {
|
65562
|
+
if (_this.isCompleted) {
|
65563
|
+
_this.saveDataOnComplete();
|
65564
|
+
}
|
65565
|
+
else {
|
65566
|
+
_this.doComplete();
|
65567
|
+
}
|
65568
|
+
}
|
65569
|
+
};
|
65570
|
+
};
|
64938
65571
|
SurveyModel.prototype.createHtmlLocString = function (name, locName, func) {
|
64939
65572
|
this.createLocalizableString(name, this, false, locName).onGetLocalizationTextCallback = func;
|
64940
65573
|
};
|
@@ -65238,7 +65871,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
65238
65871
|
* Refer to the following help topic for more information on the use case: [Continue an Incomplete Survey](https://surveyjs.io/form-library/documentation/handle-survey-results-continue-incomplete).
|
65239
65872
|
*/
|
65240
65873
|
get: function () {
|
65241
|
-
return this.getPropertyValue("sendResultOnPageNext"
|
65874
|
+
return this.getPropertyValue("sendResultOnPageNext");
|
65242
65875
|
},
|
65243
65876
|
set: function (val) {
|
65244
65877
|
this.setPropertyValue("sendResultOnPageNext", val);
|
@@ -65252,7 +65885,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
65252
65885
|
* @see surveyPostId
|
65253
65886
|
*/
|
65254
65887
|
get: function () {
|
65255
|
-
return this.getPropertyValue("surveyShowDataSaving"
|
65888
|
+
return this.getPropertyValue("surveyShowDataSaving");
|
65256
65889
|
},
|
65257
65890
|
set: function (val) {
|
65258
65891
|
this.setPropertyValue("surveyShowDataSaving", val);
|
@@ -65329,6 +65962,8 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
65329
65962
|
* Gets or sets the visibility of the table of contents.
|
65330
65963
|
*
|
65331
65964
|
* Default value: `false`
|
65965
|
+
*
|
65966
|
+
* [View Demo](https://surveyjs.io/form-library/examples/toc-feature/ (linkStyle))
|
65332
65967
|
* @see tocLocation
|
65333
65968
|
*/
|
65334
65969
|
get: function () {
|
@@ -65348,6 +65983,8 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
65348
65983
|
*
|
65349
65984
|
* - `"left"` (default)
|
65350
65985
|
* - `"right"`
|
65986
|
+
*
|
65987
|
+
* [View Demo](https://surveyjs.io/form-library/examples/toc-feature/ (linkStyle))
|
65351
65988
|
* @see showTOC
|
65352
65989
|
*/
|
65353
65990
|
get: function () {
|
@@ -65578,7 +66215,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
65578
66215
|
* [View Demo](https://surveyjs.io/form-library/examples/survey-autonextpage/ (linkStyle))
|
65579
66216
|
*/
|
65580
66217
|
get: function () {
|
65581
|
-
return this.getPropertyValue("goNextPageAutomatic"
|
66218
|
+
return this.getPropertyValue("goNextPageAutomatic");
|
65582
66219
|
},
|
65583
66220
|
set: function (val) {
|
65584
66221
|
this.setPropertyValue("goNextPageAutomatic", val);
|
@@ -65729,7 +66366,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
65729
66366
|
* @see clearIncorrectValues
|
65730
66367
|
*/
|
65731
66368
|
get: function () {
|
65732
|
-
return this.getPropertyValue("keepIncorrectValues"
|
66369
|
+
return this.getPropertyValue("keepIncorrectValues");
|
65733
66370
|
},
|
65734
66371
|
set: function (val) {
|
65735
66372
|
this.setPropertyValue("keepIncorrectValues", val);
|
@@ -66525,7 +67162,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
66525
67162
|
* [View Demo](https://surveyjs.io/form-library/examples/survey-options/ (linkStyle))
|
66526
67163
|
*/
|
66527
67164
|
get: function () {
|
66528
|
-
return this.getPropertyValue("showPageNumbers"
|
67165
|
+
return this.getPropertyValue("showPageNumbers");
|
66529
67166
|
},
|
66530
67167
|
set: function (value) {
|
66531
67168
|
if (value === this.showPageNumbers)
|
@@ -67436,7 +68073,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
67436
68073
|
}
|
67437
68074
|
};
|
67438
68075
|
SurveyModel.prototype.notify = function (message, type) {
|
67439
|
-
this.notifier.notify(message, type);
|
68076
|
+
this.notifier.notify(message, type, type === "error");
|
67440
68077
|
};
|
67441
68078
|
/**
|
67442
68079
|
* Clears the survey data and state. If the survey has a `completed` state, it will get a `running` state.
|
@@ -67655,8 +68292,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
67655
68292
|
* @param value use true to set the survey into the design mode.
|
67656
68293
|
*/
|
67657
68294
|
SurveyModel.prototype.setDesignMode = function (value) {
|
67658
|
-
this._isDesignMode
|
67659
|
-
|
68295
|
+
if (!!this._isDesignMode != !!value) {
|
68296
|
+
this._isDesignMode = !!value;
|
68297
|
+
this.onQuestionsOnPageModeChanged("standard");
|
68298
|
+
}
|
67660
68299
|
};
|
67661
68300
|
Object.defineProperty(SurveyModel.prototype, "showInvisibleElements", {
|
67662
68301
|
/**
|
@@ -68092,7 +68731,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
68092
68731
|
if (!!this.mouseDownPage && this.mouseDownPage !== this.activePage)
|
68093
68732
|
return;
|
68094
68733
|
this.mouseDownPage = null;
|
68095
|
-
this.nextPage();
|
68734
|
+
return this.nextPage();
|
68096
68735
|
};
|
68097
68736
|
SurveyModel.prototype.nextPageMouseDown = function () {
|
68098
68737
|
this.mouseDownPage = this.activePage;
|
@@ -68176,12 +68815,13 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
68176
68815
|
});
|
68177
68816
|
Object.defineProperty(SurveyModel.prototype, "questionsOnPageMode", {
|
68178
68817
|
/**
|
68179
|
-
*
|
68818
|
+
* Specifies how to distribute survey elements between pages.
|
68180
68819
|
*
|
68181
|
-
*
|
68820
|
+
* Possible values:
|
68182
68821
|
*
|
68183
|
-
* - `singlePage` -
|
68184
|
-
* - `questionPerPage` -
|
68822
|
+
* - `"singlePage"` - Combines all survey pages into a single page.
|
68823
|
+
* - `"questionPerPage"` - Creates a separate page for every question.
|
68824
|
+
* - `"standard"` (default) - Retains the original structure specified in the JSON schema.
|
68185
68825
|
*/
|
68186
68826
|
get: function () {
|
68187
68827
|
return this.getPropertyValue("questionsOnPageMode");
|
@@ -68198,7 +68838,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
68198
68838
|
* An end user cannot navigate to the start page and the start page does not affect a survey progress.
|
68199
68839
|
*/
|
68200
68840
|
get: function () {
|
68201
|
-
return this.getPropertyValue("firstPageIsStarted"
|
68841
|
+
return this.getPropertyValue("firstPageIsStarted");
|
68202
68842
|
},
|
68203
68843
|
set: function (val) {
|
68204
68844
|
this.setPropertyValue("firstPageIsStarted", val);
|
@@ -68501,7 +69141,6 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
68501
69141
|
* @see navigateToUrlOnCondition
|
68502
69142
|
*/
|
68503
69143
|
SurveyModel.prototype.doComplete = function (isCompleteOnTrigger) {
|
68504
|
-
var _this = this;
|
68505
69144
|
if (isCompleteOnTrigger === void 0) { isCompleteOnTrigger = false; }
|
68506
69145
|
if (this.isCompleted)
|
68507
69146
|
return;
|
@@ -68510,11 +69149,17 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
68510
69149
|
return false;
|
68511
69150
|
}
|
68512
69151
|
this.checkOnPageTriggers(true);
|
68513
|
-
var previousCookie = this.hasCookie;
|
68514
69152
|
this.stopTimer();
|
68515
69153
|
this.isCompleted = true;
|
68516
69154
|
this.clearUnusedValues();
|
68517
69155
|
this.setCookie();
|
69156
|
+
this.saveDataOnComplete(isCompleteOnTrigger);
|
69157
|
+
return true;
|
69158
|
+
};
|
69159
|
+
SurveyModel.prototype.saveDataOnComplete = function (isCompleteOnTrigger) {
|
69160
|
+
var _this = this;
|
69161
|
+
if (isCompleteOnTrigger === void 0) { isCompleteOnTrigger = false; }
|
69162
|
+
var previousCookie = this.hasCookie;
|
68518
69163
|
var showSaveInProgress = function (text) {
|
68519
69164
|
savingDataStarted = true;
|
68520
69165
|
_this.setCompletedState("saving", text);
|
@@ -68549,7 +69194,6 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
68549
69194
|
if (!savingDataStarted) {
|
68550
69195
|
this.navigateTo();
|
68551
69196
|
}
|
68552
|
-
return true;
|
68553
69197
|
};
|
68554
69198
|
SurveyModel.prototype.checkOnCompletingEvent = function (isCompleteOnTrigger) {
|
68555
69199
|
var options = {
|
@@ -68718,7 +69362,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
68718
69362
|
*/
|
68719
69363
|
get: function () {
|
68720
69364
|
var html = this.renderedCompletedHtml;
|
68721
|
-
return !!html ? this.processHtml(html) : "";
|
69365
|
+
return !!html ? this.processHtml(html, "completed") : "";
|
68722
69366
|
},
|
68723
69367
|
enumerable: false,
|
68724
69368
|
configurable: true
|
@@ -68730,7 +69374,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
68730
69374
|
* @see cookieName
|
68731
69375
|
*/
|
68732
69376
|
get: function () {
|
68733
|
-
return this.processHtml(this.completedBeforeHtml);
|
69377
|
+
return this.processHtml(this.completedBeforeHtml, "completed-before");
|
68734
69378
|
},
|
68735
69379
|
enumerable: false,
|
68736
69380
|
configurable: true
|
@@ -68740,7 +69384,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
68740
69384
|
* Returns the HTML content, that is shows when a survey loads the survey JSON.
|
68741
69385
|
*/
|
68742
69386
|
get: function () {
|
68743
|
-
return this.processHtml(this.loadingHtml);
|
69387
|
+
return this.processHtml(this.loadingHtml, "loading");
|
68744
69388
|
},
|
68745
69389
|
enumerable: false,
|
68746
69390
|
configurable: true
|
@@ -70222,6 +70866,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
70222
70866
|
SurveyModel.prototype.setVariable = function (name, newValue) {
|
70223
70867
|
if (!name)
|
70224
70868
|
return;
|
70869
|
+
if (!!this.valuesHash) {
|
70870
|
+
delete this.valuesHash[name];
|
70871
|
+
}
|
70225
70872
|
name = name.toLowerCase();
|
70226
70873
|
this.variablesHash[name] = newValue;
|
70227
70874
|
this.notifyElementsOnAnyValueOrVariableChanged(name);
|
@@ -70641,8 +71288,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
70641
71288
|
this.onValidatePanel.fire(this, options);
|
70642
71289
|
return options.error ? new _error__WEBPACK_IMPORTED_MODULE_9__["CustomError"](options.error, this) : null;
|
70643
71290
|
};
|
70644
|
-
SurveyModel.prototype.processHtml = function (html) {
|
70645
|
-
|
71291
|
+
SurveyModel.prototype.processHtml = function (html, reason) {
|
71292
|
+
if (!reason)
|
71293
|
+
reason = "";
|
71294
|
+
var options = { html: html, reason: reason };
|
70646
71295
|
this.onProcessHtml.fire(this, options);
|
70647
71296
|
return this.processText(options.html, true);
|
70648
71297
|
};
|
@@ -71021,11 +71670,12 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
71021
71670
|
};
|
71022
71671
|
Object.defineProperty(SurveyModel.prototype, "timeSpent", {
|
71023
71672
|
/**
|
71024
|
-
*
|
71673
|
+
* Gets or set the time in seconds an end user spends on the survey.
|
71025
71674
|
* @see startTimer
|
71026
71675
|
* @see PageModel.timeSpent
|
71027
71676
|
*/
|
71028
71677
|
get: function () { return this.timerModel.spent; },
|
71678
|
+
set: function (val) { this.timerModel.spent = val; },
|
71029
71679
|
enumerable: false,
|
71030
71680
|
configurable: true
|
71031
71681
|
});
|
@@ -71218,6 +71868,27 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
71218
71868
|
SurveyModel.prototype.getSkeletonComponentName = function (element) {
|
71219
71869
|
return this.skeletonComponentName;
|
71220
71870
|
};
|
71871
|
+
/**
|
71872
|
+
* Adds an element to the survey layout.
|
71873
|
+
*
|
71874
|
+
* This method accepts an object with the following layout element properties:
|
71875
|
+
*
|
71876
|
+
* - `id`: `String` | `"timerpanel"` | `"progress-buttons"` | `"progress-questions"` | `"progress-pages"` | `"progress-correctquestions"` | `"progress-requiredquestions"` | `"toc-navigation"` | `"navigationbuttons"`\
|
71877
|
+
* A layout element identifier. You can use possible values to access and relocate or customize predefined layout elements.
|
71878
|
+
*
|
71879
|
+
* - `container`: `"header"` | `"footer"` | `"left"` | `"right"` | `"contentTop"` | `"contentBottom"`\
|
71880
|
+
* A layout container that holds the element. If you want to display the element within multiple containers, set this property to an array of possible values.
|
71881
|
+
*
|
71882
|
+
* - `component`: `String`\
|
71883
|
+
* The name of the component that renders the layout element.
|
71884
|
+
*
|
71885
|
+
* - `data`: `any`\
|
71886
|
+
* Data passed as props to `component`.
|
71887
|
+
*
|
71888
|
+
* [View Demo](https://surveyjs.io/form-library/examples/progress-bar-with-percentage/ (linkStyle))
|
71889
|
+
* @param layoutElement A layout element configuration.
|
71890
|
+
* @returns The configuration of the previous layout element with the same `id`.
|
71891
|
+
*/
|
71221
71892
|
SurveyModel.prototype.addLayoutElement = function (layoutElement) {
|
71222
71893
|
var existingLayoutElement = this.removeLayoutElement(layoutElement.id);
|
71223
71894
|
this.layoutElements.push(layoutElement);
|
@@ -71320,7 +71991,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
71320
71991
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
71321
71992
|
], SurveyModel.prototype, "containerCss", void 0);
|
71322
71993
|
__decorate([
|
71323
|
-
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])(
|
71994
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
71324
71995
|
], SurveyModel.prototype, "showBrandInfo", void 0);
|
71325
71996
|
__decorate([
|
71326
71997
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
@@ -72002,7 +72673,7 @@ function tryNavigateToPage(survey, index) {
|
|
72002
72673
|
}
|
72003
72674
|
else if (index > survey.currentPageNo) {
|
72004
72675
|
for (var i = survey.currentPageNo; i < index; i++) {
|
72005
|
-
if (!survey.
|
72676
|
+
if (!survey.nextPageUIClick())
|
72006
72677
|
return false;
|
72007
72678
|
}
|
72008
72679
|
}
|
@@ -72014,6 +72685,9 @@ function createTOCListModel(survey) {
|
|
72014
72685
|
id: page.name,
|
72015
72686
|
title: page.navigationTitle || page.title || page.name,
|
72016
72687
|
action: function () {
|
72688
|
+
if (typeof document !== undefined && !!document.activeElement) {
|
72689
|
+
!!document.activeElement.blur && document.activeElement.blur();
|
72690
|
+
}
|
72017
72691
|
return tryNavigateToPage(survey, index);
|
72018
72692
|
}
|
72019
72693
|
});
|
@@ -72206,7 +72880,9 @@ var SvgIconRegistry = /** @class */ (function () {
|
|
72206
72880
|
var SvgRegistry = new SvgIconRegistry();
|
72207
72881
|
var SvgBundleViewModel;
|
72208
72882
|
var path = __webpack_require__("./src/images sync \\.svg$");
|
72883
|
+
var pathSmiley = __webpack_require__("./src/images/smiley sync \\.svg$");
|
72209
72884
|
SvgRegistry.registerIconsFromFolder(path);
|
72885
|
+
SvgRegistry.registerIconsFromFolder(pathSmiley);
|
72210
72886
|
|
72211
72887
|
|
72212
72888
|
/***/ }),
|
@@ -72695,7 +73371,7 @@ var Trigger = /** @class */ (function (_super) {
|
|
72695
73371
|
var firstName = processValue.getFirstName(name);
|
72696
73372
|
if (!keys.hasOwnProperty(firstName))
|
72697
73373
|
continue;
|
72698
|
-
if (name
|
73374
|
+
if (name === firstName)
|
72699
73375
|
return true;
|
72700
73376
|
var keyValue = keys[firstName];
|
72701
73377
|
if (keyValue == undefined)
|
@@ -72708,7 +73384,8 @@ var Trigger = /** @class */ (function (_super) {
|
|
72708
73384
|
var oldValue = processValue.getValue(name, v);
|
72709
73385
|
v[firstName] = keyValue["newValue"];
|
72710
73386
|
var newValue = processValue.getValue(name, v);
|
72711
|
-
|
73387
|
+
if (!this.isTwoValueEquals(oldValue, newValue))
|
73388
|
+
return true;
|
72712
73389
|
}
|
72713
73390
|
return false;
|
72714
73391
|
};
|
@@ -72883,7 +73560,7 @@ var SurveyTriggerSetValue = /** @class */ (function (_super) {
|
|
72883
73560
|
});
|
72884
73561
|
Object.defineProperty(SurveyTriggerSetValue.prototype, "isVariable", {
|
72885
73562
|
get: function () {
|
72886
|
-
return this.getPropertyValue("isVariable"
|
73563
|
+
return this.getPropertyValue("isVariable");
|
72887
73564
|
},
|
72888
73565
|
set: function (val) {
|
72889
73566
|
this.setPropertyValue("isVariable", val);
|
@@ -74337,6 +75014,8 @@ var AnswerCountValidator = /** @class */ (function (_super) {
|
|
74337
75014
|
|
74338
75015
|
/**
|
74339
75016
|
* Use it to validate the text by regular expressions.
|
75017
|
+
*
|
75018
|
+
* [View Demo](https://surveyjs.io/form-library/examples/javascript-form-validation/ (linkStyle))
|
74340
75019
|
*/
|
74341
75020
|
var RegexValidator = /** @class */ (function (_super) {
|
74342
75021
|
__extends(RegexValidator, _super);
|