survey-react 1.9.134 → 1.9.135
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 +21 -20
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +6 -1
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.css.map +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +320 -14
- package/survey.react.js +952 -565
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +5 -5
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.135
|
3
3
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -112,8 +112,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
112
112
|
__webpack_require__.r(__webpack_exports__);
|
113
113
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return SignaturePad; });
|
114
114
|
/*!
|
115
|
-
* Signature Pad v4.
|
116
|
-
* (c)
|
115
|
+
* Signature Pad v4.2.0 | https://github.com/szimek/signature_pad
|
116
|
+
* (c) 2024 Szymon Nowak | Released under the MIT license
|
117
117
|
*/
|
118
118
|
|
119
119
|
class Point {
|
@@ -333,10 +333,11 @@ class SignaturePad extends SignatureEventTarget {
|
|
333
333
|
this.penColor = options.penColor || 'black';
|
334
334
|
this.backgroundColor = options.backgroundColor || 'rgba(0,0,0,0)';
|
335
335
|
this.compositeOperation = options.compositeOperation || 'source-over';
|
336
|
+
this.canvasContextOptions = ('canvasContextOptions' in options ? options.canvasContextOptions : {});
|
336
337
|
this._strokeMoveUpdate = this.throttle
|
337
338
|
? throttle(SignaturePad.prototype._strokeUpdate, this.throttle)
|
338
339
|
: SignaturePad.prototype._strokeUpdate;
|
339
|
-
this._ctx = canvas.getContext('2d');
|
340
|
+
this._ctx = canvas.getContext('2d', this.canvasContextOptions);
|
340
341
|
this.clear();
|
341
342
|
this.on();
|
342
343
|
}
|
@@ -5592,7 +5593,8 @@ var defaultV2Css = {
|
|
5592
5593
|
html: {
|
5593
5594
|
mainRoot: "sd-question sd-row__question sd-question--html",
|
5594
5595
|
root: "sd-html",
|
5595
|
-
withFrame: ""
|
5596
|
+
withFrame: "",
|
5597
|
+
nested: "sd-element--nested sd-html--nested"
|
5596
5598
|
},
|
5597
5599
|
error: {
|
5598
5600
|
root: "sd-error",
|
@@ -5776,6 +5778,7 @@ var defaultV2Css = {
|
|
5776
5778
|
mainRoot: "sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",
|
5777
5779
|
tableWrapper: "sd-matrix sd-table-wrapper",
|
5778
5780
|
root: "sd-table sd-matrix__table",
|
5781
|
+
columnsAutoWidth: "sd-table--columnsautowidth",
|
5779
5782
|
noHeader: "sd-table--no-header",
|
5780
5783
|
rootVerticalAlignTop: "sd-table--align-top",
|
5781
5784
|
rootVerticalAlignMiddle: "sd-table--align-middle",
|
@@ -5804,6 +5807,7 @@ var defaultV2Css = {
|
|
5804
5807
|
mainRoot: "sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",
|
5805
5808
|
rootScroll: "sd-question--scroll",
|
5806
5809
|
root: "sd-table sd-matrixdropdown",
|
5810
|
+
columnsAutoWidth: "sd-table--columnsautowidth",
|
5807
5811
|
noHeader: "sd-table--no-header",
|
5808
5812
|
hasFooter: "sd-table--has-footer",
|
5809
5813
|
rootVerticalAlignTop: "sd-table--align-top",
|
@@ -5846,6 +5850,7 @@ var defaultV2Css = {
|
|
5846
5850
|
rootScroll: "sd-question--scroll",
|
5847
5851
|
empty: "sd-question--empty",
|
5848
5852
|
root: "sd-table sd-matrixdynamic",
|
5853
|
+
columnsAutoWidth: "sd-table--columnsautowidth",
|
5849
5854
|
noHeader: "sd-table--no-header",
|
5850
5855
|
hasFooter: "sd-table--has-footer",
|
5851
5856
|
tableWrapper: "sd-table-wrapper",
|
@@ -6628,6 +6633,7 @@ var DragDropPanelHelperV1 = /** @class */ (function () {
|
|
6628
6633
|
__webpack_require__.r(__webpack_exports__);
|
6629
6634
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragDropChoices", function() { return DragDropChoices; });
|
6630
6635
|
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core */ "./src/dragdrop/core.ts");
|
6636
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
6631
6637
|
var __extends = (undefined && undefined.__extends) || (function () {
|
6632
6638
|
var extendStatics = function (d, b) {
|
6633
6639
|
extendStatics = Object.setPrototypeOf ||
|
@@ -6644,6 +6650,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
6644
6650
|
};
|
6645
6651
|
})();
|
6646
6652
|
|
6653
|
+
|
6647
6654
|
var DragDropChoices = /** @class */ (function (_super) {
|
6648
6655
|
__extends(DragDropChoices, _super);
|
6649
6656
|
function DragDropChoices() {
|
@@ -6673,7 +6680,9 @@ var DragDropChoices = /** @class */ (function (_super) {
|
|
6673
6680
|
if (this.parentElement.getType() === "imagepicker") {
|
6674
6681
|
return this.createImagePickerShortcut(this.draggedElement, text, draggedElementNode, event);
|
6675
6682
|
}
|
6676
|
-
var draggedElementShortcut =
|
6683
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("div");
|
6684
|
+
if (!draggedElementShortcut)
|
6685
|
+
return;
|
6677
6686
|
// draggedElementShortcut.innerText = text;
|
6678
6687
|
draggedElementShortcut.style.cssText = " \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));\n ";
|
6679
6688
|
var isDeepClone = true;
|
@@ -6697,7 +6706,9 @@ var DragDropChoices = /** @class */ (function (_super) {
|
|
6697
6706
|
return draggedElementShortcut;
|
6698
6707
|
};
|
6699
6708
|
DragDropChoices.prototype.createImagePickerShortcut = function (item, text, draggedElementNode, event) {
|
6700
|
-
var draggedElementShortcut =
|
6709
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("div");
|
6710
|
+
if (!draggedElementShortcut)
|
6711
|
+
return;
|
6701
6712
|
draggedElementShortcut.style.cssText = " \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1));\n background-color: var(--sjs-general-backcolor, var(--background, #fff));\n padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n border-radius: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n ";
|
6702
6713
|
var itemValueNode = draggedElementNode.closest("[data-sv-drop-target-item-value]");
|
6703
6714
|
this.imagepickerControlsNode = itemValueNode.querySelector(".svc-image-item-value-controls");
|
@@ -6825,6 +6836,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
6825
6836
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragDropCore", function() { return DragDropCore; });
|
6826
6837
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../base */ "./src/base.ts");
|
6827
6838
|
/* harmony import */ var _dom_adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dom-adapter */ "./src/dragdrop/dom-adapter.ts");
|
6839
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
6840
|
+
|
6828
6841
|
|
6829
6842
|
|
6830
6843
|
var DragDropCore = /** @class */ (function () {
|
@@ -6906,9 +6919,11 @@ var DragDropCore = /** @class */ (function () {
|
|
6906
6919
|
return draggedElement.shortcutText;
|
6907
6920
|
};
|
6908
6921
|
DragDropCore.prototype.createDraggedElementShortcut = function (text, draggedElementNode, event) {
|
6909
|
-
var draggedElementShortcut =
|
6910
|
-
draggedElementShortcut
|
6911
|
-
|
6922
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].createElement("div");
|
6923
|
+
if (!!draggedElementShortcut) {
|
6924
|
+
draggedElementShortcut.innerText = text;
|
6925
|
+
draggedElementShortcut.className = this.getDraggedElementClass();
|
6926
|
+
}
|
6912
6927
|
return draggedElementShortcut;
|
6913
6928
|
};
|
6914
6929
|
DragDropCore.prototype.getDraggedElementClass = function () {
|
@@ -6920,7 +6935,9 @@ var DragDropCore = /** @class */ (function () {
|
|
6920
6935
|
var displayProp = this.domAdapter.draggedElementShortcut.style.display;
|
6921
6936
|
//this.domAdapter.draggedElementShortcut.hidden = true;
|
6922
6937
|
this.domAdapter.draggedElementShortcut.style.display = "none";
|
6923
|
-
|
6938
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].isAvailable())
|
6939
|
+
return null;
|
6940
|
+
var dragOverNode = _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].getDocument().elementFromPoint(clientX, clientY);
|
6924
6941
|
// this.domAdapter.draggedElementShortcut.hidden = false;
|
6925
6942
|
this.domAdapter.draggedElementShortcut.style.display = displayProp || "block";
|
6926
6943
|
if (!dragOverNode)
|
@@ -7020,6 +7037,7 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
|
|
7020
7037
|
to[j] = from[i];
|
7021
7038
|
return to;
|
7022
7039
|
};
|
7040
|
+
/* eslint-disable no-restricted-globals */
|
7023
7041
|
|
7024
7042
|
|
7025
7043
|
|
@@ -7331,7 +7349,8 @@ var DragDropDOMAdapter = /** @class */ (function () {
|
|
7331
7349
|
"use strict";
|
7332
7350
|
__webpack_require__.r(__webpack_exports__);
|
7333
7351
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragDropMatrixRows", function() { return DragDropMatrixRows; });
|
7334
|
-
/* harmony import */ var
|
7352
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
7353
|
+
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core */ "./src/dragdrop/core.ts");
|
7335
7354
|
var __extends = (undefined && undefined.__extends) || (function () {
|
7336
7355
|
var extendStatics = function (d, b) {
|
7337
7356
|
extendStatics = Object.setPrototypeOf ||
|
@@ -7348,6 +7367,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
7348
7367
|
};
|
7349
7368
|
})();
|
7350
7369
|
|
7370
|
+
|
7351
7371
|
var DragDropMatrixRows = /** @class */ (function (_super) {
|
7352
7372
|
__extends(DragDropMatrixRows, _super);
|
7353
7373
|
function DragDropMatrixRows() {
|
@@ -7368,12 +7388,17 @@ var DragDropMatrixRows = /** @class */ (function (_super) {
|
|
7368
7388
|
configurable: true
|
7369
7389
|
});
|
7370
7390
|
DragDropMatrixRows.prototype.onStartDrag = function () {
|
7371
|
-
|
7372
|
-
|
7391
|
+
var _body = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
7392
|
+
if (!!_body) {
|
7393
|
+
this.restoreUserSelectValue = _body.style.userSelect;
|
7394
|
+
_body.style.userSelect = "none";
|
7395
|
+
}
|
7373
7396
|
};
|
7374
7397
|
DragDropMatrixRows.prototype.createDraggedElementShortcut = function (text, draggedElementNode, event) {
|
7375
7398
|
var _this = this;
|
7376
|
-
var draggedElementShortcut =
|
7399
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("div");
|
7400
|
+
if (!draggedElementShortcut)
|
7401
|
+
return;
|
7377
7402
|
// draggedElementShortcut.innerText = text;
|
7378
7403
|
draggedElementShortcut.style.cssText = " \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));\n ";
|
7379
7404
|
var isDeepClone = true;
|
@@ -7477,11 +7502,14 @@ var DragDropMatrixRows = /** @class */ (function (_super) {
|
|
7477
7502
|
this.parentElement.clearOnDrop();
|
7478
7503
|
this.fromIndex = null;
|
7479
7504
|
this.toIndex = null;
|
7480
|
-
|
7505
|
+
var _body = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
7506
|
+
if (!!_body) {
|
7507
|
+
_body.style.userSelect = this.restoreUserSelectValue || "initial";
|
7508
|
+
}
|
7481
7509
|
_super.prototype.clear.call(this);
|
7482
7510
|
};
|
7483
7511
|
return DragDropMatrixRows;
|
7484
|
-
}(
|
7512
|
+
}(_core__WEBPACK_IMPORTED_MODULE_1__["DragDropCore"]));
|
7485
7513
|
|
7486
7514
|
|
7487
7515
|
|
@@ -7500,6 +7528,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
7500
7528
|
/* harmony import */ var _choices__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./choices */ "./src/dragdrop/choices.ts");
|
7501
7529
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
7502
7530
|
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/devices */ "./src/utils/devices.ts");
|
7531
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
7503
7532
|
var __extends = (undefined && undefined.__extends) || (function () {
|
7504
7533
|
var extendStatics = function (d, b) {
|
7505
7534
|
extendStatics = Object.setPrototypeOf ||
|
@@ -7518,6 +7547,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
7518
7547
|
|
7519
7548
|
|
7520
7549
|
|
7550
|
+
|
7521
7551
|
var DragDropRankingChoices = /** @class */ (function (_super) {
|
7522
7552
|
__extends(DragDropRankingChoices, _super);
|
7523
7553
|
function DragDropRankingChoices() {
|
@@ -7549,7 +7579,9 @@ var DragDropRankingChoices = /** @class */ (function (_super) {
|
|
7549
7579
|
configurable: true
|
7550
7580
|
});
|
7551
7581
|
DragDropRankingChoices.prototype.createDraggedElementShortcut = function (text, draggedElementNode, event) {
|
7552
|
-
var draggedElementShortcut =
|
7582
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].createElement("div");
|
7583
|
+
if (!draggedElementShortcut)
|
7584
|
+
return;
|
7553
7585
|
draggedElementShortcut.className = this.shortcutClass + " sv-ranking-shortcut";
|
7554
7586
|
draggedElementShortcut.style.cssText = " \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n border-radius: calc(12.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n min-width: 100px;\n max-width: 400px;\n box-shadow: var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1));\n background-color: var(--sjs-general-backcolor, var(--background, #fff));\n font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));\n ";
|
7555
7587
|
var isDeepClone = true;
|
@@ -7837,15 +7869,16 @@ var DragDropRankingSelectToRank = /** @class */ (function (_super) {
|
|
7837
7869
|
__webpack_require__.r(__webpack_exports__);
|
7838
7870
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DropdownListModel", function() { return DropdownListModel; });
|
7839
7871
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
7840
|
-
/* harmony import */ var
|
7841
|
-
/* harmony import */ var
|
7842
|
-
/* harmony import */ var
|
7843
|
-
/* harmony import */ var
|
7844
|
-
/* harmony import */ var
|
7845
|
-
/* harmony import */ var
|
7846
|
-
/* harmony import */ var
|
7847
|
-
/* harmony import */ var
|
7848
|
-
/* harmony import */ var
|
7872
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
7873
|
+
/* harmony import */ var _itemvalue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./itemvalue */ "./src/itemvalue.ts");
|
7874
|
+
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
7875
|
+
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./list */ "./src/list.ts");
|
7876
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
7877
|
+
/* harmony import */ var _question_dropdown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./question_dropdown */ "./src/question_dropdown.ts");
|
7878
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
7879
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
7880
|
+
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
7881
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
7849
7882
|
var __extends = (undefined && undefined.__extends) || (function () {
|
7850
7883
|
var extendStatics = function (d, b) {
|
7851
7884
|
extendStatics = Object.setPrototypeOf ||
|
@@ -7877,6 +7910,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
7877
7910
|
|
7878
7911
|
|
7879
7912
|
|
7913
|
+
|
7880
7914
|
var DropdownListModel = /** @class */ (function (_super) {
|
7881
7915
|
__extends(DropdownListModel, _super);
|
7882
7916
|
function DropdownListModel(question, onSelectionChanged) {
|
@@ -7900,14 +7934,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7900
7934
|
_this.qustionPropertyChangedHandler = function (sender, options) {
|
7901
7935
|
_this.onPropertyChangedHandler(sender, options);
|
7902
7936
|
};
|
7903
|
-
|
7904
|
-
_this.htmlCleanerElement = document.createElement("div");
|
7905
|
-
}
|
7937
|
+
_this.htmlCleanerElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("div");
|
7906
7938
|
question.onPropertyChanged.add(_this.qustionPropertyChangedHandler);
|
7907
7939
|
_this.showInputFieldComponent = _this.question.showInputFieldComponent;
|
7908
7940
|
_this.listModel = _this.createListModel();
|
7909
7941
|
_this.updateAfterListModelCreated(_this.listModel);
|
7910
7942
|
_this.setSearchEnabled(_this.question.searchEnabled);
|
7943
|
+
_this.setTextWrapEnabled(_this.question.textWrapEnabled);
|
7911
7944
|
_this.createPopup();
|
7912
7945
|
_this.resetItemsSettings();
|
7913
7946
|
return _this;
|
@@ -7920,7 +7953,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7920
7953
|
configurable: true
|
7921
7954
|
});
|
7922
7955
|
DropdownListModel.prototype.getFocusFirstInputSelector = function () {
|
7923
|
-
if (
|
7956
|
+
if (_utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"]) {
|
7924
7957
|
return this.isValueEmpty(this.question.value) ? this.itemSelector : this.selectedItemSelector;
|
7925
7958
|
}
|
7926
7959
|
else {
|
@@ -7968,12 +8001,12 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7968
8001
|
};
|
7969
8002
|
DropdownListModel.prototype.createPopup = function () {
|
7970
8003
|
var _this = this;
|
7971
|
-
this._popupModel = new
|
7972
|
-
this._popupModel.displayMode =
|
8004
|
+
this._popupModel = new _popup__WEBPACK_IMPORTED_MODULE_5__["PopupModel"]("sv-list", { model: this.listModel }, "bottom", "center", false);
|
8005
|
+
this._popupModel.displayMode = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"] ? "overlay" : "popup";
|
7973
8006
|
this._popupModel.positionMode = "fixed";
|
7974
8007
|
this._popupModel.isFocusedContainer = false;
|
7975
|
-
this._popupModel.isFocusedContent =
|
7976
|
-
this._popupModel.setWidthByTarget = !
|
8008
|
+
this._popupModel.isFocusedContent = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
8009
|
+
this._popupModel.setWidthByTarget = !_utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
7977
8010
|
this.updatePopupFocusFirstInputSelector();
|
7978
8011
|
this.listModel.registerPropertyChangedHandlers(["showFilter"], function () {
|
7979
8012
|
_this.updatePopupFocusFirstInputSelector();
|
@@ -8015,6 +8048,9 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8015
8048
|
this.listModel.focusFirstVisibleItem();
|
8016
8049
|
}
|
8017
8050
|
};
|
8051
|
+
DropdownListModel.prototype.setTextWrapEnabled = function (newValue) {
|
8052
|
+
this.listModel.textWrapEnabled = newValue;
|
8053
|
+
};
|
8018
8054
|
DropdownListModel.prototype.popupRecalculatePosition = function (isResetHeight) {
|
8019
8055
|
var _this = this;
|
8020
8056
|
setTimeout(function () {
|
@@ -8035,7 +8071,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8035
8071
|
if (_this.filteredItems)
|
8036
8072
|
return _this.filteredItems.indexOf(item) >= 0;
|
8037
8073
|
var textInLow = item.text.toLocaleLowerCase();
|
8038
|
-
textInLow =
|
8074
|
+
textInLow = _settings__WEBPACK_IMPORTED_MODULE_7__["settings"].comparator.normalizeTextCallback(textInLow, "filter");
|
8039
8075
|
var index = textInLow.indexOf(textToSearch.toLocaleLowerCase());
|
8040
8076
|
return _this.question.searchMode == "startsWith" ? index == 0 : index > -1;
|
8041
8077
|
});
|
@@ -8052,7 +8088,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8052
8088
|
_this.popupModel.isVisible = false;
|
8053
8089
|
};
|
8054
8090
|
}
|
8055
|
-
var res = new
|
8091
|
+
var res = new _list__WEBPACK_IMPORTED_MODULE_4__["ListModel"](visibleItems, _onSelectionChanged, false, undefined, this.question.choicesLazyLoadEnabled ? this.listModelFilterStringChanged : undefined, this.listElementId);
|
8056
8092
|
this.setOnTextSearchCallbackForListModel(res);
|
8057
8093
|
res.renderElements = false;
|
8058
8094
|
res.forceShowFilter = true;
|
@@ -8073,7 +8109,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8073
8109
|
model.isAllDataLoaded = !this.question.choicesLazyLoadEnabled;
|
8074
8110
|
};
|
8075
8111
|
DropdownListModel.prototype.updateCssClasses = function (popupCssClass, listCssClasses) {
|
8076
|
-
this.popupModel.cssClass = new
|
8112
|
+
this.popupModel.cssClass = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_8__["CssClassBuilder"]().append(popupCssClass).append(this.popupCssClasses).toString();
|
8077
8113
|
this.listModel.cssClasses = listCssClasses;
|
8078
8114
|
};
|
8079
8115
|
DropdownListModel.prototype.resetFilterString = function () {
|
@@ -8274,14 +8310,14 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8274
8310
|
});
|
8275
8311
|
Object.defineProperty(DropdownListModel.prototype, "inputMode", {
|
8276
8312
|
get: function () {
|
8277
|
-
return
|
8313
|
+
return _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"] ? "none" : "text";
|
8278
8314
|
},
|
8279
8315
|
enumerable: false,
|
8280
8316
|
configurable: true
|
8281
8317
|
});
|
8282
8318
|
DropdownListModel.prototype.setSearchEnabled = function (newValue) {
|
8283
|
-
this.listModel.searchEnabled =
|
8284
|
-
this.listModel.showSearchClearButton =
|
8319
|
+
this.listModel.searchEnabled = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
8320
|
+
this.listModel.showSearchClearButton = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
8285
8321
|
this.searchEnabled = newValue;
|
8286
8322
|
};
|
8287
8323
|
DropdownListModel.prototype.updateItems = function () {
|
@@ -8306,6 +8342,9 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8306
8342
|
if (options.name == "choicesLazyLoadEnabled" && options.newValue) {
|
8307
8343
|
this.listModel.setOnFilterStringChangedCallback(this.listModelFilterStringChanged);
|
8308
8344
|
}
|
8345
|
+
if (options.name == "textWrapEnabled") {
|
8346
|
+
this.setTextWrapEnabled(options.newValue);
|
8347
|
+
}
|
8309
8348
|
};
|
8310
8349
|
DropdownListModel.prototype.focusItemOnClickAndPopup = function () {
|
8311
8350
|
if (this._popupModel.isVisible && this.question.value)
|
@@ -8326,7 +8365,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8326
8365
|
var _a;
|
8327
8366
|
var focusedItem = this.listModel.focusedItem;
|
8328
8367
|
if (!focusedItem && this.question.selectedItem) {
|
8329
|
-
if (
|
8368
|
+
if (_itemvalue__WEBPACK_IMPORTED_MODULE_2__["ItemValue"].getItemByValue(this.question.visibleChoices, this.question.value)) {
|
8330
8369
|
this.listModel.focusedItem = this.question.selectedItem;
|
8331
8370
|
}
|
8332
8371
|
}
|
@@ -8391,7 +8430,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8391
8430
|
event.stopPropagation();
|
8392
8431
|
}
|
8393
8432
|
else if (this.popupModel.isVisible && (event.keyCode === 13 || event.keyCode === 32 && (!this.question.searchEnabled || !this.inputString))) {
|
8394
|
-
if (event.keyCode === 13 && this.question.searchEnabled && !this.inputString && this.question instanceof
|
8433
|
+
if (event.keyCode === 13 && this.question.searchEnabled && !this.inputString && this.question instanceof _question_dropdown__WEBPACK_IMPORTED_MODULE_6__["QuestionDropdownModel"] && !this._markdownMode && this.question.value) {
|
8395
8434
|
this._popupModel.isVisible = false;
|
8396
8435
|
this.onClear(event);
|
8397
8436
|
}
|
@@ -8420,7 +8459,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8420
8459
|
if (event.keyCode === 32 && this.question.searchEnabled) {
|
8421
8460
|
return;
|
8422
8461
|
}
|
8423
|
-
Object(
|
8462
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_10__["doKey2ClickUp"])(event, { processEsc: false, disableTabStop: this.question.isInputReadOnly });
|
8424
8463
|
}
|
8425
8464
|
};
|
8426
8465
|
DropdownListModel.prototype.onEscape = function () {
|
@@ -8435,11 +8474,11 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8435
8474
|
};
|
8436
8475
|
DropdownListModel.prototype.onBlur = function (event) {
|
8437
8476
|
this.focused = false;
|
8438
|
-
if (this.popupModel.isVisible &&
|
8477
|
+
if (this.popupModel.isVisible && _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"]) {
|
8439
8478
|
this._popupModel.isVisible = true;
|
8440
8479
|
return;
|
8441
8480
|
}
|
8442
|
-
Object(
|
8481
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_10__["doKey2ClickBlur"])(event);
|
8443
8482
|
this._popupModel.isVisible = false;
|
8444
8483
|
this.resetFilterString();
|
8445
8484
|
this.inputString = null;
|
@@ -8475,13 +8514,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8475
8514
|
this.listModel.scrollToFocusedItem();
|
8476
8515
|
};
|
8477
8516
|
__decorate([
|
8478
|
-
Object(
|
8517
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({ defaultValue: false })
|
8479
8518
|
], DropdownListModel.prototype, "focused", void 0);
|
8480
8519
|
__decorate([
|
8481
|
-
Object(
|
8520
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({ defaultValue: true })
|
8482
8521
|
], DropdownListModel.prototype, "searchEnabled", void 0);
|
8483
8522
|
__decorate([
|
8484
|
-
Object(
|
8523
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({
|
8485
8524
|
defaultValue: "",
|
8486
8525
|
onSet: function (_, target) {
|
8487
8526
|
target.onSetFilterString();
|
@@ -8489,7 +8528,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8489
8528
|
})
|
8490
8529
|
], DropdownListModel.prototype, "filterString", void 0);
|
8491
8530
|
__decorate([
|
8492
|
-
Object(
|
8531
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({
|
8493
8532
|
defaultValue: "",
|
8494
8533
|
onSet: function (newValue, target) {
|
8495
8534
|
target.question.inputHasValue = !!newValue;
|
@@ -8497,13 +8536,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8497
8536
|
})
|
8498
8537
|
], DropdownListModel.prototype, "inputString", void 0);
|
8499
8538
|
__decorate([
|
8500
|
-
Object(
|
8539
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({})
|
8501
8540
|
], DropdownListModel.prototype, "showInputFieldComponent", void 0);
|
8502
8541
|
__decorate([
|
8503
|
-
Object(
|
8542
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])()
|
8504
8543
|
], DropdownListModel.prototype, "ariaActivedescendant", void 0);
|
8505
8544
|
__decorate([
|
8506
|
-
Object(
|
8545
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({
|
8507
8546
|
defaultValue: false,
|
8508
8547
|
onSet: function (newVal, target) {
|
8509
8548
|
if (newVal) {
|
@@ -8516,7 +8555,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8516
8555
|
})
|
8517
8556
|
], DropdownListModel.prototype, "hasScroll", void 0);
|
8518
8557
|
__decorate([
|
8519
|
-
Object(
|
8558
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({ defaultValue: "" })
|
8520
8559
|
], DropdownListModel.prototype, "hintString", void 0);
|
8521
8560
|
return DropdownListModel;
|
8522
8561
|
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
|
@@ -8908,6 +8947,8 @@ var dxSurveyService = /** @class */ (function () {
|
|
8908
8947
|
"use strict";
|
8909
8948
|
__webpack_require__.r(__webpack_exports__);
|
8910
8949
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ElementHelper", function() { return ElementHelper; });
|
8950
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
8951
|
+
|
8911
8952
|
var ElementHelper = /** @class */ (function () {
|
8912
8953
|
function ElementHelper() {
|
8913
8954
|
}
|
@@ -8915,7 +8956,7 @@ var ElementHelper = /** @class */ (function () {
|
|
8915
8956
|
element && element.focus();
|
8916
8957
|
};
|
8917
8958
|
ElementHelper.visibility = function (node) {
|
8918
|
-
var style =
|
8959
|
+
var style = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getComputedStyle(node);
|
8919
8960
|
if (style.display === "none" || style.visibility === "hidden")
|
8920
8961
|
return false;
|
8921
8962
|
return node.parentElement ? this.visibility(node.parentElement) : true;
|
@@ -9083,493 +9124,495 @@ __webpack_require__.r(__webpack_exports__);
|
|
9083
9124
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return setLicenseKey; });
|
9084
9125
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "slk", function() { return slk; });
|
9085
9126
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasLicense", function() { return hasLicense; });
|
9086
|
-
/* harmony import */ var
|
9087
|
-
/* harmony
|
9127
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../global_variables_utils */ "./src/global_variables_utils.ts");
|
9128
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../settings */ "./src/settings.ts");
|
9129
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return _settings__WEBPACK_IMPORTED_MODULE_1__["settings"]; });
|
9088
9130
|
|
9089
|
-
/* harmony import */ var
|
9090
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Helpers", function() { return
|
9131
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers */ "./src/helpers.ts");
|
9132
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Helpers", function() { return _helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"]; });
|
9091
9133
|
|
9092
|
-
/* harmony import */ var
|
9093
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerCountValidator", function() { return
|
9134
|
+
/* harmony import */ var _validator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../validator */ "./src/validator.ts");
|
9135
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerCountValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["AnswerCountValidator"]; });
|
9094
9136
|
|
9095
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EmailValidator", function() { return
|
9137
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EmailValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["EmailValidator"]; });
|
9096
9138
|
|
9097
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NumericValidator", function() { return
|
9139
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NumericValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["NumericValidator"]; });
|
9098
9140
|
|
9099
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RegexValidator", function() { return
|
9141
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RegexValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["RegexValidator"]; });
|
9100
9142
|
|
9101
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyValidator", function() { return
|
9143
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["SurveyValidator"]; });
|
9102
9144
|
|
9103
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextValidator", function() { return
|
9145
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["TextValidator"]; });
|
9104
9146
|
|
9105
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorResult", function() { return
|
9147
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorResult", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["ValidatorResult"]; });
|
9106
9148
|
|
9107
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionValidator", function() { return
|
9149
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["ExpressionValidator"]; });
|
9108
9150
|
|
9109
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorRunner", function() { return
|
9151
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorRunner", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["ValidatorRunner"]; });
|
9110
9152
|
|
9111
|
-
/* harmony import */ var
|
9112
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ItemValue", function() { return
|
9153
|
+
/* harmony import */ var _itemvalue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../itemvalue */ "./src/itemvalue.ts");
|
9154
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ItemValue", function() { return _itemvalue__WEBPACK_IMPORTED_MODULE_4__["ItemValue"]; });
|
9113
9155
|
|
9114
|
-
/* harmony import */ var
|
9115
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Base", function() { return
|
9156
|
+
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../base */ "./src/base.ts");
|
9157
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Base", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["Base"]; });
|
9116
9158
|
|
9117
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Event", function() { return
|
9159
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Event", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["Event"]; });
|
9118
9160
|
|
9119
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EventBase", function() { return
|
9161
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EventBase", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["EventBase"]; });
|
9120
9162
|
|
9121
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayChanges", function() { return
|
9163
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayChanges", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["ArrayChanges"]; });
|
9122
9164
|
|
9123
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComputedUpdater", function() { return
|
9165
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComputedUpdater", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["ComputedUpdater"]; });
|
9124
9166
|
|
9125
|
-
/* harmony import */ var
|
9126
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyError", function() { return
|
9167
|
+
/* harmony import */ var _survey_error__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../survey-error */ "./src/survey-error.ts");
|
9168
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyError", function() { return _survey_error__WEBPACK_IMPORTED_MODULE_6__["SurveyError"]; });
|
9127
9169
|
|
9128
|
-
/* harmony import */ var
|
9129
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElementCore", function() { return
|
9170
|
+
/* harmony import */ var _survey_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../survey-element */ "./src/survey-element.ts");
|
9171
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElementCore", function() { return _survey_element__WEBPACK_IMPORTED_MODULE_7__["SurveyElementCore"]; });
|
9130
9172
|
|
9131
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElement", function() { return
|
9173
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElement", function() { return _survey_element__WEBPACK_IMPORTED_MODULE_7__["SurveyElement"]; });
|
9132
9174
|
|
9133
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragTypeOverMeEnum", function() { return
|
9175
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragTypeOverMeEnum", function() { return _survey_element__WEBPACK_IMPORTED_MODULE_7__["DragTypeOverMeEnum"]; });
|
9134
9176
|
|
9135
|
-
/* harmony import */ var
|
9136
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CalculatedValue", function() { return
|
9177
|
+
/* harmony import */ var _calculatedValue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../calculatedValue */ "./src/calculatedValue.ts");
|
9178
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CalculatedValue", function() { return _calculatedValue__WEBPACK_IMPORTED_MODULE_8__["CalculatedValue"]; });
|
9137
9179
|
|
9138
|
-
/* harmony import */ var
|
9139
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomError", function() { return
|
9180
|
+
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../error */ "./src/error.ts");
|
9181
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["CustomError"]; });
|
9140
9182
|
|
9141
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerRequiredError", function() { return
|
9183
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerRequiredError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["AnswerRequiredError"]; });
|
9142
9184
|
|
9143
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OneAnswerRequiredError", function() { return
|
9185
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OneAnswerRequiredError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["OneAnswerRequiredError"]; });
|
9144
9186
|
|
9145
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RequreNumericError", function() { return
|
9187
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RequreNumericError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["RequreNumericError"]; });
|
9146
9188
|
|
9147
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExceedSizeError", function() { return
|
9189
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExceedSizeError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["ExceedSizeError"]; });
|
9148
9190
|
|
9149
|
-
/* harmony import */ var
|
9150
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableString", function() { return
|
9191
|
+
/* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../localizablestring */ "./src/localizablestring.ts");
|
9192
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableString", function() { return _localizablestring__WEBPACK_IMPORTED_MODULE_10__["LocalizableString"]; });
|
9151
9193
|
|
9152
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableStrings", function() { return
|
9194
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableStrings", function() { return _localizablestring__WEBPACK_IMPORTED_MODULE_10__["LocalizableStrings"]; });
|
9153
9195
|
|
9154
|
-
/* harmony import */ var
|
9155
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HtmlConditionItem", function() { return
|
9196
|
+
/* harmony import */ var _expressionItems__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../expressionItems */ "./src/expressionItems.ts");
|
9197
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HtmlConditionItem", function() { return _expressionItems__WEBPACK_IMPORTED_MODULE_11__["HtmlConditionItem"]; });
|
9156
9198
|
|
9157
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UrlConditionItem", function() { return
|
9199
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UrlConditionItem", function() { return _expressionItems__WEBPACK_IMPORTED_MODULE_11__["UrlConditionItem"]; });
|
9158
9200
|
|
9159
|
-
/* harmony import */ var
|
9160
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestful", function() { return
|
9201
|
+
/* harmony import */ var _choicesRestful__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../choicesRestful */ "./src/choicesRestful.ts");
|
9202
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestful", function() { return _choicesRestful__WEBPACK_IMPORTED_MODULE_12__["ChoicesRestful"]; });
|
9161
9203
|
|
9162
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestfull", function() { return
|
9204
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestfull", function() { return _choicesRestful__WEBPACK_IMPORTED_MODULE_12__["ChoicesRestfull"]; });
|
9163
9205
|
|
9164
|
-
/* harmony import */ var
|
9165
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionFactory", function() { return
|
9206
|
+
/* harmony import */ var _functionsfactory__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../functionsfactory */ "./src/functionsfactory.ts");
|
9207
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionFactory", function() { return _functionsfactory__WEBPACK_IMPORTED_MODULE_13__["FunctionFactory"]; });
|
9166
9208
|
|
9167
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "registerFunction", function() { return
|
9209
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "registerFunction", function() { return _functionsfactory__WEBPACK_IMPORTED_MODULE_13__["registerFunction"]; });
|
9168
9210
|
|
9169
|
-
/* harmony import */ var
|
9170
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionRunner", function() { return
|
9211
|
+
/* harmony import */ var _conditions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../conditions */ "./src/conditions.ts");
|
9212
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionRunner", function() { return _conditions__WEBPACK_IMPORTED_MODULE_14__["ConditionRunner"]; });
|
9171
9213
|
|
9172
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionRunner", function() { return
|
9214
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionRunner", function() { return _conditions__WEBPACK_IMPORTED_MODULE_14__["ExpressionRunner"]; });
|
9173
9215
|
|
9174
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionExecutor", function() { return
|
9216
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionExecutor", function() { return _conditions__WEBPACK_IMPORTED_MODULE_14__["ExpressionExecutor"]; });
|
9175
9217
|
|
9176
|
-
/* harmony import */ var
|
9177
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Operand", function() { return
|
9218
|
+
/* harmony import */ var _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../expressions/expressions */ "./src/expressions/expressions.ts");
|
9219
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Operand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["Operand"]; });
|
9178
9220
|
|
9179
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Const", function() { return
|
9221
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Const", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["Const"]; });
|
9180
9222
|
|
9181
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BinaryOperand", function() { return
|
9223
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BinaryOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["BinaryOperand"]; });
|
9182
9224
|
|
9183
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Variable", function() { return
|
9225
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Variable", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["Variable"]; });
|
9184
9226
|
|
9185
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionOperand", function() { return
|
9227
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["FunctionOperand"]; });
|
9186
9228
|
|
9187
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayOperand", function() { return
|
9229
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["ArrayOperand"]; });
|
9188
9230
|
|
9189
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnaryOperand", function() { return
|
9231
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnaryOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["UnaryOperand"]; });
|
9190
9232
|
|
9191
|
-
/* harmony import */ var
|
9192
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionsParser", function() { return
|
9233
|
+
/* harmony import */ var _conditionsParser__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../conditionsParser */ "./src/conditionsParser.ts");
|
9234
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionsParser", function() { return _conditionsParser__WEBPACK_IMPORTED_MODULE_16__["ConditionsParser"]; });
|
9193
9235
|
|
9194
|
-
/* harmony import */ var
|
9195
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProcessValue", function() { return
|
9236
|
+
/* harmony import */ var _conditionProcessValue__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../conditionProcessValue */ "./src/conditionProcessValue.ts");
|
9237
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProcessValue", function() { return _conditionProcessValue__WEBPACK_IMPORTED_MODULE_17__["ProcessValue"]; });
|
9196
9238
|
|
9197
|
-
/* harmony import */ var
|
9198
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonError", function() { return
|
9239
|
+
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../jsonobject */ "./src/jsonobject.ts");
|
9240
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonError"]; });
|
9199
9241
|
|
9200
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonIncorrectTypeError", function() { return
|
9242
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonIncorrectTypeError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonIncorrectTypeError"]; });
|
9201
9243
|
|
9202
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadata", function() { return
|
9244
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadata", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMetadata"]; });
|
9203
9245
|
|
9204
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadataClass", function() { return
|
9246
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadataClass", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMetadataClass"]; });
|
9205
9247
|
|
9206
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeError", function() { return
|
9248
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMissingTypeError"]; });
|
9207
9249
|
|
9208
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeErrorBase", function() { return
|
9250
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeErrorBase", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMissingTypeErrorBase"]; });
|
9209
9251
|
|
9210
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObject", function() { return
|
9252
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObject", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonObject"]; });
|
9211
9253
|
|
9212
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObjectProperty", function() { return
|
9254
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObjectProperty", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonObjectProperty"]; });
|
9213
9255
|
|
9214
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonRequiredPropertyError", function() { return
|
9256
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonRequiredPropertyError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonRequiredPropertyError"]; });
|
9215
9257
|
|
9216
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonUnknownPropertyError", function() { return
|
9258
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonUnknownPropertyError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonUnknownPropertyError"]; });
|
9217
9259
|
|
9218
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Serializer", function() { return
|
9260
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Serializer", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["Serializer"]; });
|
9219
9261
|
|
9220
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "property", function() { return
|
9262
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "property", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["property"]; });
|
9221
9263
|
|
9222
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyArray", function() { return
|
9264
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyArray", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["propertyArray"]; });
|
9223
9265
|
|
9224
|
-
/* harmony import */ var
|
9225
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownCell", function() { return
|
9266
|
+
/* harmony import */ var _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../question_matrixdropdownbase */ "./src/question_matrixdropdownbase.ts");
|
9267
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownCell", function() { return _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__["MatrixDropdownCell"]; });
|
9226
9268
|
|
9227
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModelBase", function() { return
|
9269
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModelBase", function() { return _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__["MatrixDropdownRowModelBase"]; });
|
9228
9270
|
|
9229
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModelBase", function() { return
|
9271
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModelBase", function() { return _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__["QuestionMatrixDropdownModelBase"]; });
|
9230
9272
|
|
9231
|
-
/* harmony import */ var
|
9232
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownColumn", function() { return
|
9273
|
+
/* harmony import */ var _question_matrixdropdowncolumn__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../question_matrixdropdowncolumn */ "./src/question_matrixdropdowncolumn.ts");
|
9274
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownColumn", function() { return _question_matrixdropdowncolumn__WEBPACK_IMPORTED_MODULE_20__["MatrixDropdownColumn"]; });
|
9233
9275
|
|
9234
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "matrixDropdownColumnTypes", function() { return
|
9276
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "matrixDropdownColumnTypes", function() { return _question_matrixdropdowncolumn__WEBPACK_IMPORTED_MODULE_20__["matrixDropdownColumnTypes"]; });
|
9235
9277
|
|
9236
|
-
/* harmony import */ var
|
9237
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedCell", function() { return
|
9278
|
+
/* harmony import */ var _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../question_matrixdropdownrendered */ "./src/question_matrixdropdownrendered.ts");
|
9279
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedCell", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedCell"]; });
|
9238
9280
|
|
9239
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedRow", function() { return
|
9281
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedRow", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedRow"]; });
|
9240
9282
|
|
9241
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedErrorRow", function() { return
|
9283
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedErrorRow", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedErrorRow"]; });
|
9242
9284
|
|
9243
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedTable", function() { return
|
9285
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedTable", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedTable"]; });
|
9244
9286
|
|
9245
|
-
/* harmony import */ var
|
9246
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModel", function() { return
|
9287
|
+
/* harmony import */ var _question_matrixdropdown__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../question_matrixdropdown */ "./src/question_matrixdropdown.ts");
|
9288
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModel", function() { return _question_matrixdropdown__WEBPACK_IMPORTED_MODULE_22__["MatrixDropdownRowModel"]; });
|
9247
9289
|
|
9248
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModel", function() { return
|
9290
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModel", function() { return _question_matrixdropdown__WEBPACK_IMPORTED_MODULE_22__["QuestionMatrixDropdownModel"]; });
|
9249
9291
|
|
9250
|
-
/* harmony import */ var
|
9251
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDynamicRowModel", function() { return
|
9292
|
+
/* harmony import */ var _question_matrixdynamic__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../question_matrixdynamic */ "./src/question_matrixdynamic.ts");
|
9293
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDynamicRowModel", function() { return _question_matrixdynamic__WEBPACK_IMPORTED_MODULE_23__["MatrixDynamicRowModel"]; });
|
9252
9294
|
|
9253
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDynamicModel", function() { return
|
9295
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDynamicModel", function() { return _question_matrixdynamic__WEBPACK_IMPORTED_MODULE_23__["QuestionMatrixDynamicModel"]; });
|
9254
9296
|
|
9255
|
-
/* harmony import */ var
|
9256
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRowModel", function() { return
|
9297
|
+
/* harmony import */ var _question_matrix__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../question_matrix */ "./src/question_matrix.ts");
|
9298
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRowModel", function() { return _question_matrix__WEBPACK_IMPORTED_MODULE_24__["MatrixRowModel"]; });
|
9257
9299
|
|
9258
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixCells", function() { return
|
9300
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixCells", function() { return _question_matrix__WEBPACK_IMPORTED_MODULE_24__["MatrixCells"]; });
|
9259
9301
|
|
9260
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixModel", function() { return
|
9302
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixModel", function() { return _question_matrix__WEBPACK_IMPORTED_MODULE_24__["QuestionMatrixModel"]; });
|
9261
9303
|
|
9262
|
-
/* harmony import */ var
|
9263
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixBaseModel", function() { return
|
9304
|
+
/* harmony import */ var _martixBase__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../martixBase */ "./src/martixBase.ts");
|
9305
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixBaseModel", function() { return _martixBase__WEBPACK_IMPORTED_MODULE_25__["QuestionMatrixBaseModel"]; });
|
9264
9306
|
|
9265
|
-
/* harmony import */ var
|
9266
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextItemModel", function() { return
|
9307
|
+
/* harmony import */ var _question_multipletext__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../question_multipletext */ "./src/question_multipletext.ts");
|
9308
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextItemModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextItemModel"]; });
|
9267
9309
|
|
9268
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextCell", function() { return
|
9310
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextCell", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextCell"]; });
|
9269
9311
|
|
9270
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextErrorCell", function() { return
|
9312
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextErrorCell", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextErrorCell"]; });
|
9271
9313
|
|
9272
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextErrorRow", function() { return
|
9314
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextErrorRow", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MutlipleTextErrorRow"]; });
|
9273
9315
|
|
9274
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextRow", function() { return
|
9316
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextRow", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MutlipleTextRow"]; });
|
9275
9317
|
|
9276
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return
|
9318
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["QuestionMultipleTextModel"]; });
|
9277
9319
|
|
9278
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return
|
9320
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextEditorModel"]; });
|
9279
9321
|
|
9280
|
-
/* harmony import */ var
|
9281
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return
|
9322
|
+
/* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../panel */ "./src/panel.ts");
|
9323
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return _panel__WEBPACK_IMPORTED_MODULE_27__["PanelModel"]; });
|
9282
9324
|
|
9283
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModelBase", function() { return
|
9325
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModelBase", function() { return _panel__WEBPACK_IMPORTED_MODULE_27__["PanelModelBase"]; });
|
9284
9326
|
|
9285
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRowModel", function() { return
|
9327
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRowModel", function() { return _panel__WEBPACK_IMPORTED_MODULE_27__["QuestionRowModel"]; });
|
9286
9328
|
|
9287
|
-
/* harmony import */ var
|
9288
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FlowPanelModel", function() { return
|
9329
|
+
/* harmony import */ var _flowpanel__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../flowpanel */ "./src/flowpanel.ts");
|
9330
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FlowPanelModel", function() { return _flowpanel__WEBPACK_IMPORTED_MODULE_28__["FlowPanelModel"]; });
|
9289
9331
|
|
9290
|
-
/* harmony import */ var
|
9291
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PageModel", function() { return
|
9332
|
+
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../page */ "./src/page.ts");
|
9333
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PageModel", function() { return _page__WEBPACK_IMPORTED_MODULE_29__["PageModel"]; });
|
9292
9334
|
|
9293
|
-
/* harmony import */ var
|
9294
|
-
/* empty/unused harmony star reexport *//* harmony import */ var
|
9295
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DefaultTitleModel", function() { return
|
9335
|
+
/* harmony import */ var _template_renderer__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../../template-renderer */ "./src/template-renderer.ts");
|
9336
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _defaultTitle__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../defaultTitle */ "./src/defaultTitle.ts");
|
9337
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DefaultTitleModel", function() { return _defaultTitle__WEBPACK_IMPORTED_MODULE_31__["DefaultTitleModel"]; });
|
9296
9338
|
|
9297
|
-
/* harmony import */ var
|
9298
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Question", function() { return
|
9339
|
+
/* harmony import */ var _question__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../../question */ "./src/question.ts");
|
9340
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Question", function() { return _question__WEBPACK_IMPORTED_MODULE_32__["Question"]; });
|
9299
9341
|
|
9300
|
-
/* harmony import */ var
|
9301
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionNonValue", function() { return
|
9342
|
+
/* harmony import */ var _questionnonvalue__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../questionnonvalue */ "./src/questionnonvalue.ts");
|
9343
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionNonValue", function() { return _questionnonvalue__WEBPACK_IMPORTED_MODULE_33__["QuestionNonValue"]; });
|
9302
9344
|
|
9303
|
-
/* harmony import */ var
|
9304
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionEmptyModel", function() { return
|
9345
|
+
/* harmony import */ var _question_empty__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../question_empty */ "./src/question_empty.ts");
|
9346
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionEmptyModel", function() { return _question_empty__WEBPACK_IMPORTED_MODULE_34__["QuestionEmptyModel"]; });
|
9305
9347
|
|
9306
|
-
/* harmony import */ var
|
9307
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxBase", function() { return
|
9348
|
+
/* harmony import */ var _question_baseselect__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../question_baseselect */ "./src/question_baseselect.ts");
|
9349
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxBase", function() { return _question_baseselect__WEBPACK_IMPORTED_MODULE_35__["QuestionCheckboxBase"]; });
|
9308
9350
|
|
9309
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSelectBase", function() { return
|
9351
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSelectBase", function() { return _question_baseselect__WEBPACK_IMPORTED_MODULE_35__["QuestionSelectBase"]; });
|
9310
9352
|
|
9311
|
-
/* harmony import */ var
|
9312
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxModel", function() { return
|
9353
|
+
/* harmony import */ var _question_checkbox__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../question_checkbox */ "./src/question_checkbox.ts");
|
9354
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxModel", function() { return _question_checkbox__WEBPACK_IMPORTED_MODULE_36__["QuestionCheckboxModel"]; });
|
9313
9355
|
|
9314
|
-
/* harmony import */ var
|
9315
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTagboxModel", function() { return
|
9356
|
+
/* harmony import */ var _question_tagbox__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../question_tagbox */ "./src/question_tagbox.ts");
|
9357
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTagboxModel", function() { return _question_tagbox__WEBPACK_IMPORTED_MODULE_37__["QuestionTagboxModel"]; });
|
9316
9358
|
|
9317
|
-
/* harmony import */ var
|
9318
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRankingModel", function() { return
|
9359
|
+
/* harmony import */ var _question_ranking__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../../question_ranking */ "./src/question_ranking.ts");
|
9360
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRankingModel", function() { return _question_ranking__WEBPACK_IMPORTED_MODULE_38__["QuestionRankingModel"]; });
|
9319
9361
|
|
9320
|
-
/* harmony import */ var
|
9321
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCommentModel", function() { return
|
9362
|
+
/* harmony import */ var _question_comment__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../../question_comment */ "./src/question_comment.ts");
|
9363
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCommentModel", function() { return _question_comment__WEBPACK_IMPORTED_MODULE_39__["QuestionCommentModel"]; });
|
9322
9364
|
|
9323
|
-
/* harmony import */ var
|
9324
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionDropdownModel", function() { return
|
9365
|
+
/* harmony import */ var _question_dropdown__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../../question_dropdown */ "./src/question_dropdown.ts");
|
9366
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionDropdownModel", function() { return _question_dropdown__WEBPACK_IMPORTED_MODULE_40__["QuestionDropdownModel"]; });
|
9325
9367
|
|
9326
|
-
/* harmony import */ var
|
9327
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFactory", function() { return
|
9368
|
+
/* harmony import */ var _questionfactory__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../../questionfactory */ "./src/questionfactory.ts");
|
9369
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFactory", function() { return _questionfactory__WEBPACK_IMPORTED_MODULE_41__["QuestionFactory"]; });
|
9328
9370
|
|
9329
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ElementFactory", function() { return
|
9371
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ElementFactory", function() { return _questionfactory__WEBPACK_IMPORTED_MODULE_41__["ElementFactory"]; });
|
9330
9372
|
|
9331
|
-
/* harmony import */ var
|
9332
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFileModel", function() { return
|
9373
|
+
/* harmony import */ var _question_file__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../../question_file */ "./src/question_file.ts");
|
9374
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFileModel", function() { return _question_file__WEBPACK_IMPORTED_MODULE_42__["QuestionFileModel"]; });
|
9333
9375
|
|
9334
|
-
/* harmony import */ var
|
9335
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionHtmlModel", function() { return
|
9376
|
+
/* harmony import */ var _question_html__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../../question_html */ "./src/question_html.ts");
|
9377
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionHtmlModel", function() { return _question_html__WEBPACK_IMPORTED_MODULE_43__["QuestionHtmlModel"]; });
|
9336
9378
|
|
9337
|
-
/* harmony import */ var
|
9338
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRadiogroupModel", function() { return
|
9379
|
+
/* harmony import */ var _question_radiogroup__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../../question_radiogroup */ "./src/question_radiogroup.ts");
|
9380
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRadiogroupModel", function() { return _question_radiogroup__WEBPACK_IMPORTED_MODULE_44__["QuestionRadiogroupModel"]; });
|
9339
9381
|
|
9340
|
-
/* harmony import */ var
|
9341
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRatingModel", function() { return
|
9382
|
+
/* harmony import */ var _question_rating__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../../question_rating */ "./src/question_rating.ts");
|
9383
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRatingModel", function() { return _question_rating__WEBPACK_IMPORTED_MODULE_45__["QuestionRatingModel"]; });
|
9342
9384
|
|
9343
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RenderedRatingItem", function() { return
|
9385
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RenderedRatingItem", function() { return _question_rating__WEBPACK_IMPORTED_MODULE_45__["RenderedRatingItem"]; });
|
9344
9386
|
|
9345
|
-
/* harmony import */ var
|
9346
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionExpressionModel", function() { return
|
9387
|
+
/* harmony import */ var _question_expression__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../../question_expression */ "./src/question_expression.ts");
|
9388
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionExpressionModel", function() { return _question_expression__WEBPACK_IMPORTED_MODULE_46__["QuestionExpressionModel"]; });
|
9347
9389
|
|
9348
|
-
/* harmony import */ var
|
9349
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextBase", function() { return
|
9390
|
+
/* harmony import */ var _question_textbase__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../../question_textbase */ "./src/question_textbase.ts");
|
9391
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextBase", function() { return _question_textbase__WEBPACK_IMPORTED_MODULE_47__["QuestionTextBase"]; });
|
9350
9392
|
|
9351
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounter", function() { return
|
9393
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounter", function() { return _question_textbase__WEBPACK_IMPORTED_MODULE_47__["CharacterCounter"]; });
|
9352
9394
|
|
9353
|
-
/* harmony import */ var
|
9354
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextModel", function() { return
|
9395
|
+
/* harmony import */ var _question_text__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../../question_text */ "./src/question_text.ts");
|
9396
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextModel", function() { return _question_text__WEBPACK_IMPORTED_MODULE_48__["QuestionTextModel"]; });
|
9355
9397
|
|
9356
|
-
/* harmony import */ var
|
9357
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionBooleanModel", function() { return
|
9398
|
+
/* harmony import */ var _question_boolean__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../../question_boolean */ "./src/question_boolean.ts");
|
9399
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionBooleanModel", function() { return _question_boolean__WEBPACK_IMPORTED_MODULE_49__["QuestionBooleanModel"]; });
|
9358
9400
|
|
9359
|
-
/* harmony import */ var
|
9360
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImagePickerModel", function() { return
|
9401
|
+
/* harmony import */ var _question_imagepicker__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../../question_imagepicker */ "./src/question_imagepicker.ts");
|
9402
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImagePickerModel", function() { return _question_imagepicker__WEBPACK_IMPORTED_MODULE_50__["QuestionImagePickerModel"]; });
|
9361
9403
|
|
9362
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ImageItemValue", function() { return
|
9404
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ImageItemValue", function() { return _question_imagepicker__WEBPACK_IMPORTED_MODULE_50__["ImageItemValue"]; });
|
9363
9405
|
|
9364
|
-
/* harmony import */ var
|
9365
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImageModel", function() { return
|
9406
|
+
/* harmony import */ var _question_image__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../../question_image */ "./src/question_image.ts");
|
9407
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImageModel", function() { return _question_image__WEBPACK_IMPORTED_MODULE_51__["QuestionImageModel"]; });
|
9366
9408
|
|
9367
|
-
/* harmony import */ var
|
9368
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSignaturePadModel", function() { return
|
9409
|
+
/* harmony import */ var _question_signaturepad__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../../question_signaturepad */ "./src/question_signaturepad.ts");
|
9410
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSignaturePadModel", function() { return _question_signaturepad__WEBPACK_IMPORTED_MODULE_52__["QuestionSignaturePadModel"]; });
|
9369
9411
|
|
9370
|
-
/* harmony import */ var
|
9371
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicModel", function() { return
|
9412
|
+
/* harmony import */ var _question_paneldynamic__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../../question_paneldynamic */ "./src/question_paneldynamic.ts");
|
9413
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicModel", function() { return _question_paneldynamic__WEBPACK_IMPORTED_MODULE_53__["QuestionPanelDynamicModel"]; });
|
9372
9414
|
|
9373
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicItem", function() { return
|
9415
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicItem", function() { return _question_paneldynamic__WEBPACK_IMPORTED_MODULE_53__["QuestionPanelDynamicItem"]; });
|
9374
9416
|
|
9375
|
-
/* harmony import */ var
|
9376
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimer", function() { return
|
9417
|
+
/* harmony import */ var _surveytimer__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../../surveytimer */ "./src/surveytimer.ts");
|
9418
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimer", function() { return _surveytimer__WEBPACK_IMPORTED_MODULE_54__["SurveyTimer"]; });
|
9377
9419
|
|
9378
|
-
/* harmony import */ var
|
9379
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimerModel", function() { return
|
9420
|
+
/* harmony import */ var _surveyTimerModel__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../../surveyTimerModel */ "./src/surveyTimerModel.ts");
|
9421
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimerModel", function() { return _surveyTimerModel__WEBPACK_IMPORTED_MODULE_55__["SurveyTimerModel"]; });
|
9380
9422
|
|
9381
|
-
/* harmony import */ var
|
9382
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tryFocusPage", function() { return
|
9423
|
+
/* harmony import */ var _surveyToc__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../../surveyToc */ "./src/surveyToc.ts");
|
9424
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tryFocusPage", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["tryFocusPage"]; });
|
9383
9425
|
|
9384
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createTOCListModel", function() { return
|
9426
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createTOCListModel", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["createTOCListModel"]; });
|
9385
9427
|
|
9386
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getTocRootCss", function() { return
|
9428
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getTocRootCss", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["getTocRootCss"]; });
|
9387
9429
|
|
9388
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TOCModel", function() { return
|
9430
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TOCModel", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["TOCModel"]; });
|
9389
9431
|
|
9390
|
-
/* harmony import */ var
|
9391
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressModel", function() { return
|
9432
|
+
/* harmony import */ var _surveyProgress__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../../surveyProgress */ "./src/surveyProgress.ts");
|
9433
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressModel", function() { return _surveyProgress__WEBPACK_IMPORTED_MODULE_57__["SurveyProgressModel"]; });
|
9392
9434
|
|
9393
|
-
/* harmony import */ var
|
9394
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return
|
9435
|
+
/* harmony import */ var _progress_buttons__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../../progress-buttons */ "./src/progress-buttons.ts");
|
9436
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return _progress_buttons__WEBPACK_IMPORTED_MODULE_58__["ProgressButtons"]; });
|
9395
9437
|
|
9396
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return
|
9438
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return _progress_buttons__WEBPACK_IMPORTED_MODULE_58__["ProgressButtonsResponsivityManager"]; });
|
9397
9439
|
|
9398
|
-
/* harmony import */ var
|
9399
|
-
/* empty/unused harmony star reexport *//* harmony import */ var
|
9400
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return
|
9440
|
+
/* harmony import */ var _themes__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../../themes */ "./src/themes.ts");
|
9441
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../../survey */ "./src/survey.ts");
|
9442
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return _survey__WEBPACK_IMPORTED_MODULE_60__["SurveyModel"]; });
|
9401
9443
|
|
9402
|
-
/* harmony import */ var
|
9403
|
-
/* empty/unused harmony star reexport *//* harmony import */ var
|
9404
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTrigger", function() { return
|
9444
|
+
/* harmony import */ var _survey_events_api__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../../survey-events-api */ "./src/survey-events-api.ts");
|
9445
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _trigger__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../../trigger */ "./src/trigger.ts");
|
9446
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTrigger", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTrigger"]; });
|
9405
9447
|
|
9406
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerComplete", function() { return
|
9448
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerComplete", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerComplete"]; });
|
9407
9449
|
|
9408
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSetValue", function() { return
|
9450
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSetValue", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerSetValue"]; });
|
9409
9451
|
|
9410
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerVisible", function() { return
|
9452
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerVisible", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerVisible"]; });
|
9411
9453
|
|
9412
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerCopyValue", function() { return
|
9454
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerCopyValue", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerCopyValue"]; });
|
9413
9455
|
|
9414
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerRunExpression", function() { return
|
9456
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerRunExpression", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerRunExpression"]; });
|
9415
9457
|
|
9416
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSkip", function() { return
|
9458
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSkip", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerSkip"]; });
|
9417
9459
|
|
9418
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Trigger", function() { return
|
9460
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Trigger", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["Trigger"]; });
|
9419
9461
|
|
9420
|
-
/* harmony import */ var
|
9421
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurveyModel", function() { return
|
9462
|
+
/* harmony import */ var _popup_survey__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../../popup-survey */ "./src/popup-survey.ts");
|
9463
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurveyModel", function() { return _popup_survey__WEBPACK_IMPORTED_MODULE_63__["PopupSurveyModel"]; });
|
9422
9464
|
|
9423
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindowModel", function() { return
|
9465
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindowModel", function() { return _popup_survey__WEBPACK_IMPORTED_MODULE_63__["SurveyWindowModel"]; });
|
9424
9466
|
|
9425
|
-
/* harmony import */ var
|
9426
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextPreProcessor", function() { return
|
9467
|
+
/* harmony import */ var _textPreProcessor__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../../textPreProcessor */ "./src/textPreProcessor.ts");
|
9468
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextPreProcessor", function() { return _textPreProcessor__WEBPACK_IMPORTED_MODULE_64__["TextPreProcessor"]; });
|
9427
9469
|
|
9428
|
-
/* harmony import */ var
|
9429
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Notifier", function() { return
|
9470
|
+
/* harmony import */ var _notifier__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../../notifier */ "./src/notifier.ts");
|
9471
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Notifier", function() { return _notifier__WEBPACK_IMPORTED_MODULE_65__["Notifier"]; });
|
9430
9472
|
|
9431
|
-
/* harmony import */ var
|
9432
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Cover", function() { return
|
9473
|
+
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../../header */ "./src/header.ts");
|
9474
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Cover", function() { return _header__WEBPACK_IMPORTED_MODULE_66__["Cover"]; });
|
9433
9475
|
|
9434
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCell", function() { return
|
9476
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCell", function() { return _header__WEBPACK_IMPORTED_MODULE_66__["CoverCell"]; });
|
9435
9477
|
|
9436
|
-
/* harmony import */ var
|
9437
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "dxSurveyService", function() { return
|
9478
|
+
/* harmony import */ var _dxSurveyService__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../../dxSurveyService */ "./src/dxSurveyService.ts");
|
9479
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "dxSurveyService", function() { return _dxSurveyService__WEBPACK_IMPORTED_MODULE_67__["dxSurveyService"]; });
|
9438
9480
|
|
9439
|
-
/* harmony import */ var
|
9440
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "englishStrings", function() { return
|
9481
|
+
/* harmony import */ var _localization_english__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../../localization/english */ "./src/localization/english.ts");
|
9482
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "englishStrings", function() { return _localization_english__WEBPACK_IMPORTED_MODULE_68__["englishStrings"]; });
|
9441
9483
|
|
9442
|
-
/* harmony import */ var
|
9443
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyLocalization", function() { return
|
9484
|
+
/* harmony import */ var _surveyStrings__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../../surveyStrings */ "./src/surveyStrings.ts");
|
9485
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyLocalization", function() { return _surveyStrings__WEBPACK_IMPORTED_MODULE_69__["surveyLocalization"]; });
|
9444
9486
|
|
9445
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyStrings", function() { return
|
9487
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyStrings", function() { return _surveyStrings__WEBPACK_IMPORTED_MODULE_69__["surveyStrings"]; });
|
9446
9488
|
|
9447
|
-
/* harmony import */ var
|
9448
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomWidget", function() { return
|
9489
|
+
/* harmony import */ var _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../../questionCustomWidgets */ "./src/questionCustomWidgets.ts");
|
9490
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomWidget", function() { return _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_70__["QuestionCustomWidget"]; });
|
9449
9491
|
|
9450
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomWidgetCollection", function() { return
|
9492
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomWidgetCollection", function() { return _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_70__["CustomWidgetCollection"]; });
|
9451
9493
|
|
9452
|
-
/* harmony import */ var
|
9453
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomModel", function() { return
|
9494
|
+
/* harmony import */ var _question_custom__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../../question_custom */ "./src/question_custom.ts");
|
9495
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomModel", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["QuestionCustomModel"]; });
|
9454
9496
|
|
9455
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCompositeModel", function() { return
|
9497
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCompositeModel", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["QuestionCompositeModel"]; });
|
9456
9498
|
|
9457
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentQuestionJSON", function() { return
|
9499
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentQuestionJSON", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["ComponentQuestionJSON"]; });
|
9458
9500
|
|
9459
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentCollection", function() { return
|
9501
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentCollection", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["ComponentCollection"]; });
|
9460
9502
|
|
9461
|
-
/* harmony import */ var
|
9462
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return
|
9503
|
+
/* harmony import */ var _stylesmanager__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../../stylesmanager */ "./src/stylesmanager.ts");
|
9504
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return _stylesmanager__WEBPACK_IMPORTED_MODULE_72__["StylesManager"]; });
|
9463
9505
|
|
9464
|
-
/* harmony import */ var
|
9465
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ListModel", function() { return
|
9506
|
+
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../../list */ "./src/list.ts");
|
9507
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ListModel", function() { return _list__WEBPACK_IMPORTED_MODULE_73__["ListModel"]; });
|
9466
9508
|
|
9467
|
-
/* harmony import */ var
|
9468
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultiSelectListModel", function() { return
|
9509
|
+
/* harmony import */ var _multiSelectListModel__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../../multiSelectListModel */ "./src/multiSelectListModel.ts");
|
9510
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultiSelectListModel", function() { return _multiSelectListModel__WEBPACK_IMPORTED_MODULE_74__["MultiSelectListModel"]; });
|
9469
9511
|
|
9470
|
-
/* harmony import */ var
|
9471
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModel", function() { return
|
9512
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../../popup */ "./src/popup.ts");
|
9513
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModel", function() { return _popup__WEBPACK_IMPORTED_MODULE_75__["PopupModel"]; });
|
9472
9514
|
|
9473
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createDialogOptions", function() { return
|
9515
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createDialogOptions", function() { return _popup__WEBPACK_IMPORTED_MODULE_75__["createDialogOptions"]; });
|
9474
9516
|
|
9475
|
-
/* harmony import */ var
|
9476
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupBaseViewModel", function() { return
|
9517
|
+
/* harmony import */ var _popup_view_model__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../../popup-view-model */ "./src/popup-view-model.ts");
|
9518
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupBaseViewModel", function() { return _popup_view_model__WEBPACK_IMPORTED_MODULE_76__["PopupBaseViewModel"]; });
|
9477
9519
|
|
9478
|
-
/* harmony import */ var
|
9479
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupDropdownViewModel", function() { return
|
9520
|
+
/* harmony import */ var _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../../popup-dropdown-view-model */ "./src/popup-dropdown-view-model.ts");
|
9521
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupDropdownViewModel", function() { return _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_77__["PopupDropdownViewModel"]; });
|
9480
9522
|
|
9481
|
-
/* harmony import */ var
|
9482
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModalViewModel", function() { return
|
9523
|
+
/* harmony import */ var _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../../popup-modal-view-model */ "./src/popup-modal-view-model.ts");
|
9524
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModalViewModel", function() { return _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_78__["PopupModalViewModel"]; });
|
9483
9525
|
|
9484
|
-
/* harmony import */ var
|
9485
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupViewModel", function() { return
|
9526
|
+
/* harmony import */ var _popup_utils__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../../popup-utils */ "./src/popup-utils.ts");
|
9527
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupViewModel", function() { return _popup_utils__WEBPACK_IMPORTED_MODULE_79__["createPopupViewModel"]; });
|
9486
9528
|
|
9487
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupModalViewModel", function() { return
|
9529
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupModalViewModel", function() { return _popup_utils__WEBPACK_IMPORTED_MODULE_79__["createPopupModalViewModel"]; });
|
9488
9530
|
|
9489
|
-
/* harmony import */ var
|
9490
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownListModel", function() { return
|
9531
|
+
/* harmony import */ var _dropdownListModel__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../../dropdownListModel */ "./src/dropdownListModel.ts");
|
9532
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownListModel", function() { return _dropdownListModel__WEBPACK_IMPORTED_MODULE_80__["DropdownListModel"]; });
|
9491
9533
|
|
9492
|
-
/* harmony import */ var
|
9493
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownMultiSelectListModel", function() { return
|
9534
|
+
/* harmony import */ var _dropdownMultiSelectListModel__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../../dropdownMultiSelectListModel */ "./src/dropdownMultiSelectListModel.ts");
|
9535
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownMultiSelectListModel", function() { return _dropdownMultiSelectListModel__WEBPACK_IMPORTED_MODULE_81__["DropdownMultiSelectListModel"]; });
|
9494
9536
|
|
9495
|
-
/* harmony import */ var
|
9496
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionButtonGroupModel", function() { return
|
9537
|
+
/* harmony import */ var _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ../../question_buttongroup */ "./src/question_buttongroup.ts");
|
9538
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionButtonGroupModel", function() { return _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__["QuestionButtonGroupModel"]; });
|
9497
9539
|
|
9498
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemModel", function() { return
|
9540
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemModel", function() { return _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__["ButtonGroupItemModel"]; });
|
9499
9541
|
|
9500
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemValue", function() { return
|
9542
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemValue", function() { return _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__["ButtonGroupItemValue"]; });
|
9501
9543
|
|
9502
|
-
/* harmony import */ var
|
9503
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsMobile", function() { return
|
9544
|
+
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ../../utils/devices */ "./src/utils/devices.ts");
|
9545
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsMobile", function() { return _utils_devices__WEBPACK_IMPORTED_MODULE_83__["IsMobile"]; });
|
9504
9546
|
|
9505
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsTouch", function() { return
|
9547
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsTouch", function() { return _utils_devices__WEBPACK_IMPORTED_MODULE_83__["IsTouch"]; });
|
9506
9548
|
|
9507
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "_setIsTouch", function() { return
|
9549
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "_setIsTouch", function() { return _utils_devices__WEBPACK_IMPORTED_MODULE_83__["_setIsTouch"]; });
|
9508
9550
|
|
9509
|
-
/* harmony import */ var
|
9510
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmAction", function() { return
|
9551
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../../utils/utils */ "./src/utils/utils.ts");
|
9552
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmAction", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["confirmAction"]; });
|
9511
9553
|
|
9512
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmActionAsync", function() { return
|
9554
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmActionAsync", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["confirmActionAsync"]; });
|
9513
9555
|
|
9514
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "detectIEOrEdge", function() { return
|
9556
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "detectIEOrEdge", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["detectIEOrEdge"]; });
|
9515
9557
|
|
9516
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickUp", function() { return
|
9558
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickUp", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["doKey2ClickUp"]; });
|
9517
9559
|
|
9518
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickDown", function() { return
|
9560
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickDown", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["doKey2ClickDown"]; });
|
9519
9561
|
|
9520
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickBlur", function() { return
|
9562
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickBlur", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["doKey2ClickBlur"]; });
|
9521
9563
|
|
9522
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "loadFileFromBase64", function() { return
|
9564
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "loadFileFromBase64", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["loadFileFromBase64"]; });
|
9523
9565
|
|
9524
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "increaseHeightByContent", function() { return
|
9566
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "increaseHeightByContent", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["increaseHeightByContent"]; });
|
9525
9567
|
|
9526
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return
|
9568
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["createSvg"]; });
|
9527
9569
|
|
9528
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return
|
9570
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["chooseFiles"]; });
|
9529
9571
|
|
9530
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return
|
9572
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["sanitizeEditableContent"]; });
|
9531
9573
|
|
9532
|
-
/* harmony import */ var
|
9533
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskBase", function() { return
|
9574
|
+
/* harmony import */ var _mask_mask_base__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ../../mask/mask_base */ "./src/mask/mask_base.ts");
|
9575
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskBase", function() { return _mask_mask_base__WEBPACK_IMPORTED_MODULE_85__["InputMaskBase"]; });
|
9534
9576
|
|
9535
|
-
/* harmony import */ var
|
9536
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskPattern", function() { return
|
9577
|
+
/* harmony import */ var _mask_mask_pattern__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ../../mask/mask_pattern */ "./src/mask/mask_pattern.ts");
|
9578
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskPattern", function() { return _mask_mask_pattern__WEBPACK_IMPORTED_MODULE_86__["InputMaskPattern"]; });
|
9537
9579
|
|
9538
|
-
/* harmony import */ var
|
9539
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskNumeric", function() { return
|
9580
|
+
/* harmony import */ var _mask_mask_numeric__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ../../mask/mask_numeric */ "./src/mask/mask_numeric.ts");
|
9581
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskNumeric", function() { return _mask_mask_numeric__WEBPACK_IMPORTED_MODULE_87__["InputMaskNumeric"]; });
|
9540
9582
|
|
9541
|
-
/* harmony import */ var
|
9542
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskDateTime", function() { return
|
9583
|
+
/* harmony import */ var _mask_mask_datetime__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ../../mask/mask_datetime */ "./src/mask/mask_datetime.ts");
|
9584
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskDateTime", function() { return _mask_mask_datetime__WEBPACK_IMPORTED_MODULE_88__["InputMaskDateTime"]; });
|
9543
9585
|
|
9544
|
-
/* harmony import */ var
|
9545
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskCurrency", function() { return
|
9586
|
+
/* harmony import */ var _mask_mask_currency__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ../../mask/mask_currency */ "./src/mask/mask_currency.ts");
|
9587
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskCurrency", function() { return _mask_mask_currency__WEBPACK_IMPORTED_MODULE_89__["InputMaskCurrency"]; });
|
9546
9588
|
|
9547
|
-
/* harmony import */ var
|
9548
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CssClassBuilder", function() { return
|
9589
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ../../utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
9590
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CssClassBuilder", function() { return _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_90__["CssClassBuilder"]; });
|
9549
9591
|
|
9550
|
-
/* harmony import */ var
|
9551
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyCss", function() { return
|
9592
|
+
/* harmony import */ var _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ../../defaultCss/defaultV2Css */ "./src/defaultCss/defaultV2Css.ts");
|
9593
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyCss", function() { return _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__["surveyCss"]; });
|
9552
9594
|
|
9553
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2Css", function() { return
|
9595
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2Css", function() { return _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__["defaultV2Css"]; });
|
9554
9596
|
|
9555
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2ThemeName", function() { return
|
9597
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2ThemeName", function() { return _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__["defaultV2ThemeName"]; });
|
9556
9598
|
|
9557
|
-
/* harmony import */ var
|
9558
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropCore", function() { return
|
9599
|
+
/* harmony import */ var _dragdrop_core__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ../../dragdrop/core */ "./src/dragdrop/core.ts");
|
9600
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropCore", function() { return _dragdrop_core__WEBPACK_IMPORTED_MODULE_92__["DragDropCore"]; });
|
9559
9601
|
|
9560
|
-
/* harmony import */ var
|
9561
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropChoices", function() { return
|
9602
|
+
/* harmony import */ var _dragdrop_choices__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ../../dragdrop/choices */ "./src/dragdrop/choices.ts");
|
9603
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropChoices", function() { return _dragdrop_choices__WEBPACK_IMPORTED_MODULE_93__["DragDropChoices"]; });
|
9562
9604
|
|
9563
|
-
/* harmony import */ var
|
9564
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropRankingSelectToRank", function() { return
|
9605
|
+
/* harmony import */ var _dragdrop_ranking_select_to_rank__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ../../dragdrop/ranking-select-to-rank */ "./src/dragdrop/ranking-select-to-rank.ts");
|
9606
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropRankingSelectToRank", function() { return _dragdrop_ranking_select_to_rank__WEBPACK_IMPORTED_MODULE_94__["DragDropRankingSelectToRank"]; });
|
9565
9607
|
|
9566
9608
|
// styles
|
9567
9609
|
// import "../../main.scss";
|
9568
9610
|
//import "../../modern.scss";
|
9611
|
+
|
9569
9612
|
var Version;
|
9570
9613
|
var ReleaseDate;
|
9571
|
-
Version = "" + "1.9.
|
9572
|
-
ReleaseDate = "" + "2024-03-
|
9614
|
+
Version = "" + "1.9.135";
|
9615
|
+
ReleaseDate = "" + "2024-03-19";
|
9573
9616
|
function checkLibraryVersion(ver, libraryName) {
|
9574
9617
|
if (Version != ver) {
|
9575
9618
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
@@ -9633,8 +9676,9 @@ function checkPrefix(prefix) {
|
|
9633
9676
|
var ds = prefix.substring(index + s.length).toLowerCase().split(",");
|
9634
9677
|
if (!Array.isArray(ds) || ds.length === 0)
|
9635
9678
|
return true;
|
9636
|
-
|
9637
|
-
|
9679
|
+
var location = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].getLocation();
|
9680
|
+
if (!!location && !!location.hostname) {
|
9681
|
+
var hn = location.hostname.toLowerCase();
|
9638
9682
|
ds.push("localhost");
|
9639
9683
|
for (var i = 0; i < ds.length; i++) {
|
9640
9684
|
if (hn.indexOf(ds[i]) > -1)
|
@@ -16040,6 +16084,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
16040
16084
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FlowPanelModel", function() { return FlowPanelModel; });
|
16041
16085
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
16042
16086
|
/* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./panel */ "./src/panel.ts");
|
16087
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
16043
16088
|
var __extends = (undefined && undefined.__extends) || (function () {
|
16044
16089
|
var extendStatics = function (d, b) {
|
16045
16090
|
extendStatics = Object.setPrototypeOf ||
|
@@ -16057,6 +16102,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
16057
16102
|
})();
|
16058
16103
|
|
16059
16104
|
|
16105
|
+
|
16060
16106
|
/**
|
16061
16107
|
* The flow panel object. It is a container with flow layout where you can mix questions with markdown text.
|
16062
16108
|
*
|
@@ -16181,15 +16227,14 @@ var FlowPanelModel = /** @class */ (function (_super) {
|
|
16181
16227
|
};
|
16182
16228
|
FlowPanelModel.prototype.insertTextAtCursor = function (text, prevName) {
|
16183
16229
|
if (prevName === void 0) { prevName = null; }
|
16184
|
-
if (!this.isDesignMode ||
|
16185
|
-
typeof document === "undefined" ||
|
16186
|
-
!window.getSelection)
|
16230
|
+
if (!this.isDesignMode || !_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomWindowHelper"].isAvailable())
|
16187
16231
|
return false;
|
16188
|
-
var sel =
|
16232
|
+
var sel = _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomWindowHelper"].getSelection();
|
16189
16233
|
if (sel.getRangeAt && sel.rangeCount) {
|
16190
16234
|
var range = sel.getRangeAt(0);
|
16191
16235
|
range.deleteContents();
|
16192
|
-
|
16236
|
+
var textElement = new Text(text);
|
16237
|
+
range.insertNode(textElement);
|
16193
16238
|
var self = this;
|
16194
16239
|
if (self.getContent) {
|
16195
16240
|
var str = self.getContent(prevName);
|
@@ -16622,6 +16667,148 @@ function substring_(params) {
|
|
16622
16667
|
FunctionFactory.Instance.register("substring", substring_);
|
16623
16668
|
|
16624
16669
|
|
16670
|
+
/***/ }),
|
16671
|
+
|
16672
|
+
/***/ "./src/global_variables_utils.ts":
|
16673
|
+
/*!***************************************!*\
|
16674
|
+
!*** ./src/global_variables_utils.ts ***!
|
16675
|
+
\***************************************/
|
16676
|
+
/*! exports provided: DomWindowHelper, DomDocumentHelper */
|
16677
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16678
|
+
|
16679
|
+
"use strict";
|
16680
|
+
__webpack_require__.r(__webpack_exports__);
|
16681
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomWindowHelper", function() { return DomWindowHelper; });
|
16682
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomDocumentHelper", function() { return DomDocumentHelper; });
|
16683
|
+
/* eslint-disable no-restricted-globals */
|
16684
|
+
var DomWindowHelper = /** @class */ (function () {
|
16685
|
+
function DomWindowHelper() {
|
16686
|
+
}
|
16687
|
+
DomWindowHelper.isAvailable = function () {
|
16688
|
+
return "undefined" !== typeof window;
|
16689
|
+
};
|
16690
|
+
DomWindowHelper.isFileReaderAvailable = function () {
|
16691
|
+
if (!DomWindowHelper.isAvailable())
|
16692
|
+
return false;
|
16693
|
+
return !!window["FileReader"];
|
16694
|
+
};
|
16695
|
+
DomWindowHelper.getLocation = function () {
|
16696
|
+
if (!DomWindowHelper.isAvailable())
|
16697
|
+
return;
|
16698
|
+
return window.location;
|
16699
|
+
};
|
16700
|
+
DomWindowHelper.getVisualViewport = function () {
|
16701
|
+
if (!DomWindowHelper.isAvailable())
|
16702
|
+
return null;
|
16703
|
+
return window.visualViewport;
|
16704
|
+
};
|
16705
|
+
DomWindowHelper.getInnerWidth = function () {
|
16706
|
+
if (!DomWindowHelper.isAvailable())
|
16707
|
+
return;
|
16708
|
+
return window.innerWidth;
|
16709
|
+
};
|
16710
|
+
DomWindowHelper.getInnerHeight = function () {
|
16711
|
+
if (!DomWindowHelper.isAvailable())
|
16712
|
+
return null;
|
16713
|
+
return window.innerHeight;
|
16714
|
+
};
|
16715
|
+
DomWindowHelper.getWindow = function () {
|
16716
|
+
if (!DomWindowHelper.isAvailable())
|
16717
|
+
return;
|
16718
|
+
return window;
|
16719
|
+
};
|
16720
|
+
DomWindowHelper.hasOwn = function (propertyName) {
|
16721
|
+
if (!DomWindowHelper.isAvailable())
|
16722
|
+
return;
|
16723
|
+
return propertyName in window;
|
16724
|
+
};
|
16725
|
+
DomWindowHelper.getSelection = function () {
|
16726
|
+
if (DomWindowHelper.isAvailable() && window.getSelection) {
|
16727
|
+
return window.getSelection();
|
16728
|
+
}
|
16729
|
+
};
|
16730
|
+
DomWindowHelper.requestAnimationFrame = function (callback) {
|
16731
|
+
if (DomWindowHelper.isAvailable()) {
|
16732
|
+
return window.requestAnimationFrame(callback);
|
16733
|
+
}
|
16734
|
+
};
|
16735
|
+
DomWindowHelper.addEventListener = function (type, listener) {
|
16736
|
+
if (!DomWindowHelper.isAvailable())
|
16737
|
+
return;
|
16738
|
+
window.addEventListener(type, listener);
|
16739
|
+
};
|
16740
|
+
DomWindowHelper.removeEventListener = function (type, listener) {
|
16741
|
+
if (!DomWindowHelper.isAvailable())
|
16742
|
+
return;
|
16743
|
+
window.removeEventListener(type, listener);
|
16744
|
+
};
|
16745
|
+
return DomWindowHelper;
|
16746
|
+
}());
|
16747
|
+
|
16748
|
+
var DomDocumentHelper = /** @class */ (function () {
|
16749
|
+
function DomDocumentHelper() {
|
16750
|
+
}
|
16751
|
+
DomDocumentHelper.isAvailable = function () {
|
16752
|
+
return "undefined" !== typeof document;
|
16753
|
+
};
|
16754
|
+
DomDocumentHelper.getBody = function () {
|
16755
|
+
if (!DomDocumentHelper.isAvailable())
|
16756
|
+
return;
|
16757
|
+
return document.body;
|
16758
|
+
};
|
16759
|
+
DomDocumentHelper.getDocumentElement = function () {
|
16760
|
+
if (!DomDocumentHelper.isAvailable())
|
16761
|
+
return;
|
16762
|
+
return document.documentElement;
|
16763
|
+
};
|
16764
|
+
DomDocumentHelper.getDocument = function () {
|
16765
|
+
if (!DomDocumentHelper.isAvailable())
|
16766
|
+
return;
|
16767
|
+
return document;
|
16768
|
+
};
|
16769
|
+
DomDocumentHelper.getCookie = function () {
|
16770
|
+
if (!DomDocumentHelper.isAvailable())
|
16771
|
+
return;
|
16772
|
+
return document.cookie;
|
16773
|
+
};
|
16774
|
+
DomDocumentHelper.setCookie = function (newCookie) {
|
16775
|
+
if (!DomDocumentHelper.isAvailable())
|
16776
|
+
return;
|
16777
|
+
document.cookie = newCookie;
|
16778
|
+
};
|
16779
|
+
DomDocumentHelper.activeElementBlur = function () {
|
16780
|
+
if (!DomDocumentHelper.isAvailable())
|
16781
|
+
return;
|
16782
|
+
var activeElement = document.activeElement;
|
16783
|
+
if (!!activeElement && !!activeElement.blur) {
|
16784
|
+
activeElement.blur();
|
16785
|
+
}
|
16786
|
+
};
|
16787
|
+
DomDocumentHelper.createElement = function (tagName) {
|
16788
|
+
if (!DomDocumentHelper.isAvailable())
|
16789
|
+
return;
|
16790
|
+
return document.createElement(tagName);
|
16791
|
+
};
|
16792
|
+
DomDocumentHelper.getComputedStyle = function (elt) {
|
16793
|
+
if (!DomDocumentHelper.isAvailable())
|
16794
|
+
return new CSSStyleDeclaration();
|
16795
|
+
return document.defaultView.getComputedStyle(elt);
|
16796
|
+
};
|
16797
|
+
DomDocumentHelper.addEventListener = function (type, listener) {
|
16798
|
+
if (!DomDocumentHelper.isAvailable())
|
16799
|
+
return;
|
16800
|
+
document.addEventListener(type, listener);
|
16801
|
+
};
|
16802
|
+
DomDocumentHelper.removeEventListener = function (type, listener) {
|
16803
|
+
if (!DomDocumentHelper.isAvailable())
|
16804
|
+
return;
|
16805
|
+
document.removeEventListener(type, listener);
|
16806
|
+
};
|
16807
|
+
return DomDocumentHelper;
|
16808
|
+
}());
|
16809
|
+
|
16810
|
+
|
16811
|
+
|
16625
16812
|
/***/ }),
|
16626
16813
|
|
16627
16814
|
/***/ "./src/header.ts":
|
@@ -20449,23 +20636,9 @@ var JsonError = /** @class */ (function () {
|
|
20449
20636
|
var JsonUnknownPropertyError = /** @class */ (function (_super) {
|
20450
20637
|
__extends(JsonUnknownPropertyError, _super);
|
20451
20638
|
function JsonUnknownPropertyError(propertyName, className) {
|
20452
|
-
var _this = _super.call(this, "unknownproperty", "
|
20453
|
-
propertyName +
|
20454
|
-
"' in class '" +
|
20455
|
-
className +
|
20456
|
-
"' is unknown.") || this;
|
20639
|
+
var _this = _super.call(this, "unknownproperty", "Unknown property in class '" + className + "': '" + propertyName + "'.") || this;
|
20457
20640
|
_this.propertyName = propertyName;
|
20458
20641
|
_this.className = className;
|
20459
|
-
var properties = Serializer.getProperties(className);
|
20460
|
-
if (properties) {
|
20461
|
-
_this.description = "The list of available properties are: ";
|
20462
|
-
for (var i = 0; i < properties.length; i++) {
|
20463
|
-
if (i > 0)
|
20464
|
-
_this.description += ", ";
|
20465
|
-
_this.description += properties[i].name;
|
20466
|
-
}
|
20467
|
-
_this.description += ".";
|
20468
|
-
}
|
20469
20642
|
return _this;
|
20470
20643
|
}
|
20471
20644
|
return JsonUnknownPropertyError;
|
@@ -20478,14 +20651,6 @@ var JsonMissingTypeErrorBase = /** @class */ (function (_super) {
|
|
20478
20651
|
_this.baseClassName = baseClassName;
|
20479
20652
|
_this.type = type;
|
20480
20653
|
_this.message = message;
|
20481
|
-
_this.description = "The following types are available: ";
|
20482
|
-
var types = Serializer.getChildrenClasses(baseClassName, true);
|
20483
|
-
for (var i = 0; i < types.length; i++) {
|
20484
|
-
if (i > 0)
|
20485
|
-
_this.description += ", ";
|
20486
|
-
_this.description += "'" + types[i].name + "'";
|
20487
|
-
}
|
20488
|
-
_this.description += ".";
|
20489
20654
|
return _this;
|
20490
20655
|
}
|
20491
20656
|
return JsonMissingTypeErrorBase;
|
@@ -20948,6 +21113,7 @@ var defaultListCss = {
|
|
20948
21113
|
itemWithIcon: "sv-list__item--with-icon",
|
20949
21114
|
itemDisabled: "sv-list__item--disabled",
|
20950
21115
|
itemFocused: "sv-list__item--focused",
|
21116
|
+
itemTextWrap: "sv-list__item-text--wrap",
|
20951
21117
|
itemIcon: "sv-list__item-icon",
|
20952
21118
|
itemSeparator: "sv-list__item-separator",
|
20953
21119
|
itemBody: "sv-list__item-body",
|
@@ -21001,6 +21167,7 @@ var ListModel = /** @class */ (function (_super) {
|
|
21001
21167
|
.append(_this.cssClasses.itemDisabled, _this.isItemDisabled(itemValue))
|
21002
21168
|
.append(_this.cssClasses.itemFocused, _this.isItemFocused(itemValue))
|
21003
21169
|
.append(_this.cssClasses.itemSelected, _this.isItemSelected(itemValue))
|
21170
|
+
.append(_this.cssClasses.itemTextWrap, _this.textWrapEnabled)
|
21004
21171
|
.append(itemValue.css)
|
21005
21172
|
.toString();
|
21006
21173
|
};
|
@@ -21298,6 +21465,9 @@ var ListModel = /** @class */ (function (_super) {
|
|
21298
21465
|
__decorate([
|
21299
21466
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: true })
|
21300
21467
|
], ListModel.prototype, "renderElements", void 0);
|
21468
|
+
__decorate([
|
21469
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
|
21470
|
+
], ListModel.prototype, "textWrapEnabled", void 0);
|
21301
21471
|
return ListModel;
|
21302
21472
|
}(_actions_container__WEBPACK_IMPORTED_MODULE_1__["ActionContainer"]));
|
21303
21473
|
|
@@ -29668,10 +29838,18 @@ var QuestionMatrixBaseModel = /** @class */ (function (_super) {
|
|
29668
29838
|
//TODO: make it mor intelligent
|
29669
29839
|
return true;
|
29670
29840
|
};
|
29841
|
+
Object.defineProperty(QuestionMatrixBaseModel.prototype, "columnsAutoWidth", {
|
29842
|
+
get: function () {
|
29843
|
+
return !this.isMobile && !this.columns.some(function (col) { return !!col.width; });
|
29844
|
+
},
|
29845
|
+
enumerable: false,
|
29846
|
+
configurable: true
|
29847
|
+
});
|
29671
29848
|
QuestionMatrixBaseModel.prototype.getTableCss = function () {
|
29672
29849
|
var _a;
|
29673
29850
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__["CssClassBuilder"]()
|
29674
29851
|
.append(this.cssClasses.root)
|
29852
|
+
.append(this.cssClasses.columnsAutoWidth, this.columnsAutoWidth)
|
29675
29853
|
.append(this.cssClasses.noHeader, !this.showHeader)
|
29676
29854
|
.append(this.cssClasses.hasFooter, !!((_a = this.renderedTable) === null || _a === void 0 ? void 0 : _a.showAddRowOnBottom))
|
29677
29855
|
.append(this.cssClasses.rootAlternateRows, this.alternateRows)
|
@@ -29777,12 +29955,6 @@ var InputElementAdapter = /** @class */ (function () {
|
|
29777
29955
|
event.preventDefault();
|
29778
29956
|
}
|
29779
29957
|
};
|
29780
|
-
this.blurInputHandler = function (event) {
|
29781
|
-
var unmaskedValue = _this.inputMaskInstance.getUnmaskedValue(event.target.value);
|
29782
|
-
_this.prevUnmaskedValue = unmaskedValue;
|
29783
|
-
var maskedValue = _this.inputMaskInstance.getMaskedValue(unmaskedValue);
|
29784
|
-
_this.inputElement.value = maskedValue;
|
29785
|
-
};
|
29786
29958
|
this.inputElement.value = inputMaskInstance.getMaskedValue(value);
|
29787
29959
|
this.prevUnmaskedValue = value;
|
29788
29960
|
inputMaskInstance.onPropertyChanged.add(this.inputMaskInstancePropertyChangedHandler);
|
@@ -29810,13 +29982,11 @@ var InputElementAdapter = /** @class */ (function () {
|
|
29810
29982
|
InputElementAdapter.prototype.addInputEventListener = function () {
|
29811
29983
|
if (!!this.inputElement) {
|
29812
29984
|
this.inputElement.addEventListener("beforeinput", this.beforeInputHandler);
|
29813
|
-
this.inputElement.addEventListener("blur", this.blurInputHandler);
|
29814
29985
|
}
|
29815
29986
|
};
|
29816
29987
|
InputElementAdapter.prototype.removeInputEventListener = function () {
|
29817
29988
|
if (!!this.inputElement) {
|
29818
29989
|
this.inputElement.removeEventListener("beforeinput", this.beforeInputHandler);
|
29819
|
-
this.inputElement.removeEventListener("blur", this.blurInputHandler);
|
29820
29990
|
}
|
29821
29991
|
};
|
29822
29992
|
InputElementAdapter.prototype.dispose = function () {
|
@@ -29865,6 +30035,14 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
29865
30035
|
};
|
29866
30036
|
|
29867
30037
|
|
30038
|
+
/**
|
30039
|
+
* A base class for classes that implement input masks:
|
30040
|
+
*
|
30041
|
+
* - [`InputMaskNumeric`](https://surveyjs.io/form-library/documentation/inputmasknumeric)
|
30042
|
+
* - [`InputMaskCurrency`](https://surveyjs.io/form-library/documentation/inputmaskcurrency)
|
30043
|
+
* - [`InputMaskDateTime`](https://surveyjs.io/form-library/documentation/inputmaskdatetime)
|
30044
|
+
* - [`InputMaskPattern`](https://surveyjs.io/form-library/documentation/inputmaskpattern)
|
30045
|
+
*/
|
29868
30046
|
var InputMaskBase = /** @class */ (function (_super) {
|
29869
30047
|
__extends(InputMaskBase, _super);
|
29870
30048
|
function InputMaskBase() {
|
@@ -29961,6 +30139,26 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
29961
30139
|
};
|
29962
30140
|
|
29963
30141
|
|
30142
|
+
/**
|
30143
|
+
* A class that describes an input mask of the `"currency"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
30144
|
+
*
|
30145
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
30146
|
+
*
|
30147
|
+
* ```js
|
30148
|
+
* const surveyJson = {
|
30149
|
+
* "elements": [{
|
30150
|
+
* "name": "textquestion1"
|
30151
|
+
* "type": "text",
|
30152
|
+
* "maskType": "currency",
|
30153
|
+
* "maskSettings": {
|
30154
|
+
* // Specify the properties of a currency input mask here
|
30155
|
+
* }
|
30156
|
+
* }]
|
30157
|
+
* }
|
30158
|
+
* ```
|
30159
|
+
*
|
30160
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
30161
|
+
*/
|
29964
30162
|
var InputMaskCurrency = /** @class */ (function (_super) {
|
29965
30163
|
__extends(InputMaskCurrency, _super);
|
29966
30164
|
function InputMaskCurrency() {
|
@@ -30139,6 +30337,26 @@ function getDateTimeLexems(pattern) {
|
|
30139
30337
|
}
|
30140
30338
|
return result;
|
30141
30339
|
}
|
30340
|
+
/**
|
30341
|
+
* A class that describes an input mask of the `"datetime"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
30342
|
+
*
|
30343
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
30344
|
+
*
|
30345
|
+
* ```js
|
30346
|
+
* const surveyJson = {
|
30347
|
+
* "elements": [{
|
30348
|
+
* "name": "textquestion1"
|
30349
|
+
* "type": "text",
|
30350
|
+
* "maskType": "datetime",
|
30351
|
+
* "maskSettings": {
|
30352
|
+
* // Specify the properties of a date-time input mask here
|
30353
|
+
* }
|
30354
|
+
* }]
|
30355
|
+
* }
|
30356
|
+
* ```
|
30357
|
+
*
|
30358
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
30359
|
+
*/
|
30142
30360
|
var InputMaskDateTime = /** @class */ (function (_super) {
|
30143
30361
|
__extends(InputMaskDateTime, _super);
|
30144
30362
|
function InputMaskDateTime() {
|
@@ -30433,12 +30651,7 @@ var InputMaskDateTime = /** @class */ (function (_super) {
|
|
30433
30651
|
return this.getISO_8601Format(tempDateTime);
|
30434
30652
|
};
|
30435
30653
|
InputMaskDateTime.prototype.getMaskedValue = function (src) {
|
30436
|
-
|
30437
|
-
return this._getMaskedValue(src);
|
30438
|
-
}
|
30439
|
-
else {
|
30440
|
-
return this.getMaskedStrFromISO(src);
|
30441
|
-
}
|
30654
|
+
return this.getMaskedStrFromISO(src);
|
30442
30655
|
};
|
30443
30656
|
InputMaskDateTime.prototype.processInput = function (args) {
|
30444
30657
|
var result = { value: args.prevValue, caretPosition: args.selectionEnd, cancelPreventDefault: false };
|
@@ -30539,6 +30752,26 @@ function splitString(str, reverse, n) {
|
|
30539
30752
|
}
|
30540
30753
|
return arr;
|
30541
30754
|
}
|
30755
|
+
/**
|
30756
|
+
* A class that describes an input mask of the `"numeric"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
30757
|
+
*
|
30758
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
30759
|
+
*
|
30760
|
+
* ```js
|
30761
|
+
* const surveyJson = {
|
30762
|
+
* "elements": [{
|
30763
|
+
* "name": "textquestion1"
|
30764
|
+
* "type": "text",
|
30765
|
+
* "maskType": "numeric",
|
30766
|
+
* "maskSettings": {
|
30767
|
+
* // Specify the properties of a numeric input mask here
|
30768
|
+
* }
|
30769
|
+
* }]
|
30770
|
+
* }
|
30771
|
+
* ```
|
30772
|
+
*
|
30773
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
30774
|
+
*/
|
30542
30775
|
var InputMaskNumeric = /** @class */ (function (_super) {
|
30543
30776
|
__extends(InputMaskNumeric, _super);
|
30544
30777
|
function InputMaskNumeric() {
|
@@ -30863,6 +31096,26 @@ function getUnmaskedValueByPattern(str, pattern, matchWholeMask, skipFixedChar)
|
|
30863
31096
|
}
|
30864
31097
|
return result;
|
30865
31098
|
}
|
31099
|
+
/**
|
31100
|
+
* A class that describes an input mask of the `"pattern"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
31101
|
+
*
|
31102
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
31103
|
+
*
|
31104
|
+
* ```js
|
31105
|
+
* const surveyJson = {
|
31106
|
+
* "elements": [{
|
31107
|
+
* "name": "textquestion1"
|
31108
|
+
* "type": "text",
|
31109
|
+
* "maskType": "pattern",
|
31110
|
+
* "maskSettings": {
|
31111
|
+
* // Specify the properties of a pattern input mask here
|
31112
|
+
* }
|
31113
|
+
* }]
|
31114
|
+
* }
|
31115
|
+
* ```
|
31116
|
+
*
|
31117
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
31118
|
+
*/
|
30866
31119
|
var InputMaskPattern = /** @class */ (function (_super) {
|
30867
31120
|
__extends(InputMaskPattern, _super);
|
30868
31121
|
function InputMaskPattern() {
|
@@ -31599,6 +31852,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
31599
31852
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
31600
31853
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
31601
31854
|
/* harmony import */ var _drag_drop_panel_helper_v1__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./drag-drop-panel-helper-v1 */ "./src/drag-drop-panel-helper-v1.ts");
|
31855
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
31602
31856
|
var __extends = (undefined && undefined.__extends) || (function () {
|
31603
31857
|
var extendStatics = function (d, b) {
|
31604
31858
|
extendStatics = Object.setPrototypeOf ||
|
@@ -31636,6 +31890,7 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
|
|
31636
31890
|
|
31637
31891
|
|
31638
31892
|
|
31893
|
+
|
31639
31894
|
var QuestionRowModel = /** @class */ (function (_super) {
|
31640
31895
|
__extends(QuestionRowModel, _super);
|
31641
31896
|
function QuestionRowModel(panel) {
|
@@ -31655,12 +31910,12 @@ var QuestionRowModel = /** @class */ (function (_super) {
|
|
31655
31910
|
QuestionRowModel.prototype.startLazyRendering = function (rowContainerDiv, findScrollableContainer) {
|
31656
31911
|
var _this = this;
|
31657
31912
|
if (findScrollableContainer === void 0) { findScrollableContainer = _utils_utils__WEBPACK_IMPORTED_MODULE_8__["findScrollableParent"]; }
|
31658
|
-
if ("
|
31913
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomDocumentHelper"].isAvailable())
|
31659
31914
|
return;
|
31660
31915
|
this._scrollableParent = findScrollableContainer(rowContainerDiv);
|
31661
31916
|
// if this._scrollableParent is html the scroll event isn't fired, so we should use window
|
31662
|
-
if (this._scrollableParent ===
|
31663
|
-
this._scrollableParent =
|
31917
|
+
if (this._scrollableParent === _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomDocumentHelper"].getDocumentElement()) {
|
31918
|
+
this._scrollableParent = _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomWindowHelper"].getWindow();
|
31664
31919
|
}
|
31665
31920
|
var hasScroll = this._scrollableParent.scrollHeight > this._scrollableParent.clientHeight;
|
31666
31921
|
this.isNeedRender = !hasScroll;
|
@@ -35296,6 +35551,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
35296
35551
|
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
35297
35552
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
35298
35553
|
/* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./survey */ "./src/survey.ts");
|
35554
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
35299
35555
|
var __extends = (undefined && undefined.__extends) || (function () {
|
35300
35556
|
var extendStatics = function (d, b) {
|
35301
35557
|
extendStatics = Object.setPrototypeOf ||
|
@@ -35323,6 +35579,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
35323
35579
|
|
35324
35580
|
|
35325
35581
|
|
35582
|
+
|
35326
35583
|
var PopupDropdownViewModel = /** @class */ (function (_super) {
|
35327
35584
|
__extends(PopupDropdownViewModel, _super);
|
35328
35585
|
function PopupDropdownViewModel(model, targetElement) {
|
@@ -35337,8 +35594,13 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35337
35594
|
_this.hidePopup();
|
35338
35595
|
};
|
35339
35596
|
_this.resizeEventCallback = function () {
|
35340
|
-
|
35341
|
-
|
35597
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable())
|
35598
|
+
return;
|
35599
|
+
var visualViewport = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport();
|
35600
|
+
var documentElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getDocumentElement();
|
35601
|
+
if (!!documentElement && !!visualViewport) {
|
35602
|
+
documentElement.style.setProperty("--sv-popup-overlay-height", visualViewport.height * visualViewport.scale + "px");
|
35603
|
+
}
|
35342
35604
|
};
|
35343
35605
|
_this.resizeWindowCallback = function () {
|
35344
35606
|
if (!_this.isOverlay) {
|
@@ -35370,7 +35632,7 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35370
35632
|
return;
|
35371
35633
|
var fixedPopupContainer = (_b = this.container) === null || _b === void 0 ? void 0 : _b.querySelector(this.fixedPopupContainer);
|
35372
35634
|
var scrollContent = popupContainer.querySelector(this.scrollingContentSelector);
|
35373
|
-
var popupComputedStyle =
|
35635
|
+
var popupComputedStyle = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(popupContainer);
|
35374
35636
|
var marginLeft = (parseFloat(popupComputedStyle.marginLeft) || 0);
|
35375
35637
|
var marginRight = (parseFloat(popupComputedStyle.marginRight) || 0);
|
35376
35638
|
var height = popupContainer.offsetHeight - scrollContent.offsetHeight + scrollContent.scrollHeight;
|
@@ -35378,15 +35640,15 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35378
35640
|
this.model.setWidthByTarget && (this.minWidth = targetElementRect.width + "px");
|
35379
35641
|
var verticalPosition = this.model.verticalPosition;
|
35380
35642
|
var actualHorizontalPosition = this.getActualHorizontalPosition();
|
35381
|
-
if (
|
35382
|
-
var heightValues = [height,
|
35643
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable()) {
|
35644
|
+
var heightValues = [height, _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight() * 0.9, (_c = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport()) === null || _c === void 0 ? void 0 : _c.height];
|
35383
35645
|
height = Math.ceil(Math.min.apply(Math, heightValues.filter(function (each) { return typeof each === "number"; })));
|
35384
|
-
verticalPosition = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].updateVerticalPosition(targetElementRect, height, this.model.verticalPosition, this.model.showPointer,
|
35646
|
+
verticalPosition = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].updateVerticalPosition(targetElementRect, height, this.model.verticalPosition, this.model.showPointer, _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight());
|
35385
35647
|
}
|
35386
35648
|
this.popupDirection = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].calculatePopupDirection(verticalPosition, actualHorizontalPosition);
|
35387
35649
|
var pos = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].calculatePosition(targetElementRect, height, width + marginLeft + marginRight, verticalPosition, actualHorizontalPosition, this.showHeader, this.model.positionMode);
|
35388
|
-
if (
|
35389
|
-
var newVerticalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].getCorrectedVerticalDimensions(pos.top, height,
|
35650
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable()) {
|
35651
|
+
var newVerticalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].getCorrectedVerticalDimensions(pos.top, height, _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight(), verticalPosition);
|
35390
35652
|
if (!!newVerticalDimensions) {
|
35391
35653
|
this.height = newVerticalDimensions.height + "px";
|
35392
35654
|
pos.top = newVerticalDimensions.top;
|
@@ -35396,7 +35658,7 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35396
35658
|
pos.left = targetElementRect.left;
|
35397
35659
|
}
|
35398
35660
|
else {
|
35399
|
-
var newHorizontalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].updateHorizontalDimensions(pos.left, width,
|
35661
|
+
var newHorizontalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].updateHorizontalDimensions(pos.left, width, _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerWidth(), actualHorizontalPosition, this.model.positionMode, { left: marginLeft, right: marginRight });
|
35400
35662
|
if (!!newHorizontalDimensions) {
|
35401
35663
|
this.width = newHorizontalDimensions.width ? newHorizontalDimensions.width + "px" : undefined;
|
35402
35664
|
pos.left = newHorizontalDimensions.left;
|
@@ -35418,8 +35680,8 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35418
35680
|
};
|
35419
35681
|
PopupDropdownViewModel.prototype.getActualHorizontalPosition = function () {
|
35420
35682
|
var actualHorizontalPosition = this.model.horizontalPosition;
|
35421
|
-
if ("
|
35422
|
-
var isRtl =
|
35683
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].isAvailable()) {
|
35684
|
+
var isRtl = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getBody()).direction == "rtl";
|
35423
35685
|
if (isRtl) {
|
35424
35686
|
if (this.model.horizontalPosition === "left") {
|
35425
35687
|
actualHorizontalPosition = "right";
|
@@ -35465,21 +35727,21 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35465
35727
|
this.updatePosition(true, false);
|
35466
35728
|
}
|
35467
35729
|
this.switchFocus();
|
35468
|
-
|
35730
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].addEventListener("resize", this.resizeWindowCallback);
|
35469
35731
|
if (this.shouldCreateResizeCallback) {
|
35470
|
-
|
35732
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport().addEventListener("resize", this.resizeEventCallback);
|
35471
35733
|
if (this.container) {
|
35472
35734
|
this.container.addEventListener("touchstart", this.touchStartEventCallback);
|
35473
35735
|
this.container.addEventListener("touchmove", this.touchMoveEventCallback);
|
35474
35736
|
}
|
35475
|
-
this.calculateIsTablet(
|
35737
|
+
this.calculateIsTablet(_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerWidth(), _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight());
|
35476
35738
|
this.resizeEventCallback();
|
35477
35739
|
}
|
35478
|
-
|
35740
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].addEventListener("scroll", this.scrollEventCallBack);
|
35479
35741
|
};
|
35480
35742
|
Object.defineProperty(PopupDropdownViewModel.prototype, "shouldCreateResizeCallback", {
|
35481
35743
|
get: function () {
|
35482
|
-
return !!
|
35744
|
+
return !!_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport() && this.isOverlay && _utils_devices__WEBPACK_IMPORTED_MODULE_3__["IsTouch"];
|
35483
35745
|
},
|
35484
35746
|
enumerable: false,
|
35485
35747
|
configurable: true
|
@@ -35501,15 +35763,15 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35501
35763
|
};
|
35502
35764
|
PopupDropdownViewModel.prototype.updateOnHiding = function () {
|
35503
35765
|
_super.prototype.updateOnHiding.call(this);
|
35504
|
-
|
35766
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].removeEventListener("resize", this.resizeWindowCallback);
|
35505
35767
|
if (this.shouldCreateResizeCallback) {
|
35506
|
-
|
35768
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport().removeEventListener("resize", this.resizeEventCallback);
|
35507
35769
|
if (this.container) {
|
35508
35770
|
this.container.removeEventListener("touchstart", this.touchStartEventCallback);
|
35509
35771
|
this.container.removeEventListener("touchmove", this.touchMoveEventCallback);
|
35510
35772
|
}
|
35511
35773
|
}
|
35512
|
-
|
35774
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].removeEventListener("scroll", this.scrollEventCallBack);
|
35513
35775
|
if (!this.isDisposed) {
|
35514
35776
|
this.top = undefined;
|
35515
35777
|
this.left = undefined;
|
@@ -35667,6 +35929,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
35667
35929
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
35668
35930
|
/* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./survey */ "./src/survey.ts");
|
35669
35931
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
35932
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
35670
35933
|
var __extends = (undefined && undefined.__extends) || (function () {
|
35671
35934
|
var extendStatics = function (d, b) {
|
35672
35935
|
extendStatics = Object.setPrototypeOf ||
|
@@ -35691,6 +35954,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
35691
35954
|
|
35692
35955
|
|
35693
35956
|
|
35957
|
+
|
35694
35958
|
/**
|
35695
35959
|
* A class that renders a survey in a pop-up window.
|
35696
35960
|
*
|
@@ -35716,9 +35980,7 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
35716
35980
|
_this.surveyValue = _this.createSurvey(jsonObj);
|
35717
35981
|
}
|
35718
35982
|
_this.surveyValue.fitToContainer = true;
|
35719
|
-
|
35720
|
-
_this.windowElement = document.createElement("div");
|
35721
|
-
}
|
35983
|
+
_this.windowElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].createElement("div");
|
35722
35984
|
_this.survey.onComplete.add(function (survey, options) {
|
35723
35985
|
_this.onSurveyComplete();
|
35724
35986
|
});
|
@@ -36069,14 +36331,9 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
36069
36331
|
var timerId = null;
|
36070
36332
|
var func = function () {
|
36071
36333
|
self.hide();
|
36072
|
-
|
36073
|
-
window.clearInterval(timerId);
|
36074
|
-
}
|
36334
|
+
clearInterval(timerId);
|
36075
36335
|
};
|
36076
|
-
timerId =
|
36077
|
-
typeof window !== "undefined"
|
36078
|
-
? window.setInterval(func, this.closeOnCompleteTimeout * 1000)
|
36079
|
-
: 0;
|
36336
|
+
timerId = setInterval(func, this.closeOnCompleteTimeout * 1000);
|
36080
36337
|
}
|
36081
36338
|
};
|
36082
36339
|
PopupSurveyModel.prototype.onScroll = function () {
|
@@ -36114,15 +36371,17 @@ var SurveyWindowModel = /** @class */ (function (_super) {
|
|
36114
36371
|
__webpack_require__.r(__webpack_exports__);
|
36115
36372
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPopupModalViewModel", function() { return createPopupModalViewModel; });
|
36116
36373
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPopupViewModel", function() { return createPopupViewModel; });
|
36117
|
-
/* harmony import */ var
|
36118
|
-
/* harmony import */ var
|
36119
|
-
/* harmony import */ var
|
36374
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
36375
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
36376
|
+
/* harmony import */ var _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./popup-dropdown-view-model */ "./src/popup-dropdown-view-model.ts");
|
36377
|
+
/* harmony import */ var _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./popup-modal-view-model */ "./src/popup-modal-view-model.ts");
|
36378
|
+
|
36120
36379
|
|
36121
36380
|
|
36122
36381
|
|
36123
36382
|
function createPopupModalViewModel(options, rootElement) {
|
36124
36383
|
var _a;
|
36125
|
-
var popupModel = new
|
36384
|
+
var popupModel = new _popup__WEBPACK_IMPORTED_MODULE_1__["PopupModel"](options.componentName, options.data, "top", "left", false, true, options.onCancel, options.onApply, function () {
|
36126
36385
|
options.onHide();
|
36127
36386
|
if (!!container) {
|
36128
36387
|
popupViewModel.resetComponentElement();
|
@@ -36130,9 +36389,9 @@ function createPopupModalViewModel(options, rootElement) {
|
|
36130
36389
|
}, options.onShow, options.cssClass, options.title);
|
36131
36390
|
popupModel.displayMode = options.displayMode || "popup";
|
36132
36391
|
popupModel.isFocusedContent = (_a = options.isFocusedContent) !== null && _a !== void 0 ? _a : true;
|
36133
|
-
var popupViewModel = new
|
36392
|
+
var popupViewModel = new _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__["PopupModalViewModel"](popupModel);
|
36134
36393
|
if (!!rootElement && !!rootElement.appendChild) {
|
36135
|
-
var container =
|
36394
|
+
var container = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("div");
|
36136
36395
|
rootElement.appendChild(container);
|
36137
36396
|
popupViewModel.setComponentElement(container);
|
36138
36397
|
}
|
@@ -36143,10 +36402,10 @@ function createPopupModalViewModel(options, rootElement) {
|
|
36143
36402
|
}
|
36144
36403
|
function createPopupViewModel(model, targetElement) {
|
36145
36404
|
if (model.isModal) {
|
36146
|
-
return new
|
36405
|
+
return new _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__["PopupModalViewModel"](model);
|
36147
36406
|
}
|
36148
36407
|
else {
|
36149
|
-
return new
|
36408
|
+
return new _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_2__["PopupDropdownViewModel"](model, targetElement);
|
36150
36409
|
}
|
36151
36410
|
}
|
36152
36411
|
|
@@ -36170,6 +36429,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
36170
36429
|
/* harmony import */ var _actions_container__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./actions/container */ "./src/actions/container.ts");
|
36171
36430
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
36172
36431
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
36432
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
36173
36433
|
var __extends = (undefined && undefined.__extends) || (function () {
|
36174
36434
|
var extendStatics = function (d, b) {
|
36175
36435
|
extendStatics = Object.setPrototypeOf ||
|
@@ -36197,6 +36457,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
36197
36457
|
|
36198
36458
|
|
36199
36459
|
|
36460
|
+
|
36200
36461
|
var FOCUS_INPUT_SELECTOR = "input:not(:disabled):not([readonly]):not([type=hidden]),select:not(:disabled):not([readonly]),textarea:not(:disabled):not([readonly]), button:not(:disabled):not([readonly]), [tabindex]:not([tabindex^=\"-\"])";
|
36201
36462
|
var PopupBaseViewModel = /** @class */ (function (_super) {
|
36202
36463
|
__extends(PopupBaseViewModel, _super);
|
@@ -36473,8 +36734,8 @@ var PopupBaseViewModel = /** @class */ (function (_super) {
|
|
36473
36734
|
this.resetComponentElement();
|
36474
36735
|
};
|
36475
36736
|
PopupBaseViewModel.prototype.initializePopupContainer = function () {
|
36476
|
-
if (!this.container
|
36477
|
-
var container =
|
36737
|
+
if (!this.container) {
|
36738
|
+
var container = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].createElement("div");
|
36478
36739
|
this.createdContainer = container;
|
36479
36740
|
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_5__["getElement"])(_settings__WEBPACK_IMPORTED_MODULE_4__["settings"].environment.popupMountContainer).appendChild(container);
|
36480
36741
|
}
|
@@ -36491,7 +36752,7 @@ var PopupBaseViewModel = /** @class */ (function (_super) {
|
|
36491
36752
|
PopupBaseViewModel.prototype.preventScrollOuside = function (event, deltaY) {
|
36492
36753
|
var currentElement = event.target;
|
36493
36754
|
while (currentElement !== this.container) {
|
36494
|
-
if (
|
36755
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(currentElement).overflowY === "auto" && currentElement.scrollHeight !== currentElement.offsetHeight) {
|
36495
36756
|
var scrollHeight = currentElement.scrollHeight, scrollTop = currentElement.scrollTop, clientHeight = currentElement.clientHeight;
|
36496
36757
|
if (!(deltaY > 0 && Math.abs(scrollHeight - clientHeight - scrollTop) < 1) && !(deltaY < 0 && scrollTop <= 0)) {
|
36497
36758
|
return;
|
@@ -36545,6 +36806,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
36545
36806
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createDialogOptions", function() { return createDialogOptions; });
|
36546
36807
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
36547
36808
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
36809
|
+
/* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
|
36548
36810
|
var __extends = (undefined && undefined.__extends) || (function () {
|
36549
36811
|
var extendStatics = function (d, b) {
|
36550
36812
|
extendStatics = Object.setPrototypeOf ||
|
@@ -36568,6 +36830,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
36568
36830
|
};
|
36569
36831
|
|
36570
36832
|
|
36833
|
+
|
36571
36834
|
var PopupModel = /** @class */ (function (_super) {
|
36572
36835
|
__extends(PopupModel, _super);
|
36573
36836
|
function PopupModel(contentComponentName, contentComponentData, verticalPosition, horizontalPosition, showPointer, isModal, onCancel, onApply, onHide, onShow, cssClass, title, onDispose) {
|
@@ -36700,6 +36963,7 @@ function createDialogOptions(componentName, data, onApply, onCancel, onHide, onS
|
|
36700
36963
|
if (onHide === void 0) { onHide = function () { }; }
|
36701
36964
|
if (onShow === void 0) { onShow = function () { }; }
|
36702
36965
|
if (displayMode === void 0) { displayMode = "popup"; }
|
36966
|
+
_console_warnings__WEBPACK_IMPORTED_MODULE_2__["ConsoleWarnings"].warn("The `showModal()` and `createDialogOptions()` methods are obsolete. Use the `showDialog()` method instead.");
|
36703
36967
|
return {
|
36704
36968
|
componentName: componentName,
|
36705
36969
|
data: data,
|
@@ -36989,6 +37253,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
36989
37253
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
36990
37254
|
/* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
|
36991
37255
|
/* harmony import */ var _conditionProcessValue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./conditionProcessValue */ "./src/conditionProcessValue.ts");
|
37256
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
36992
37257
|
var __extends = (undefined && undefined.__extends) || (function () {
|
36993
37258
|
var extendStatics = function (d, b) {
|
36994
37259
|
extendStatics = Object.setPrototypeOf ||
|
@@ -37024,6 +37289,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
37024
37289
|
|
37025
37290
|
|
37026
37291
|
|
37292
|
+
|
37027
37293
|
var TriggerExpressionInfo = /** @class */ (function () {
|
37028
37294
|
function TriggerExpressionInfo(name, canRun, doComplete) {
|
37029
37295
|
this.name = name;
|
@@ -39943,7 +40209,7 @@ var Question = /** @class */ (function (_super) {
|
|
39943
40209
|
}
|
39944
40210
|
};
|
39945
40211
|
this.resizeObserver = new ResizeObserver(function (entries) {
|
39946
|
-
|
40212
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_14__["DomWindowHelper"].requestAnimationFrame(function () {
|
39947
40213
|
_this.triggerResponsiveness(false);
|
39948
40214
|
});
|
39949
40215
|
});
|
@@ -40994,8 +41260,13 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
40994
41260
|
!this.isValueEmpty(this.defaultValue) &&
|
40995
41261
|
this.hasUnknownValue(this.defaultValue);
|
40996
41262
|
this.prevOtherValue = undefined;
|
41263
|
+
var prevComment = this.comment;
|
40997
41264
|
_super.prototype.setDefaultValue.call(this);
|
40998
41265
|
this.isSettingDefaultValue = false;
|
41266
|
+
if (this.comment && this.getStoreOthersAsComment() && prevComment !== this.comment) {
|
41267
|
+
this.setValueCore(this.setOtherValueIntoValue(this.value));
|
41268
|
+
this.setCommentIntoData(this.comment);
|
41269
|
+
}
|
40999
41270
|
};
|
41000
41271
|
QuestionSelectBase.prototype.getIsMultipleValue = function () {
|
41001
41272
|
return false;
|
@@ -41348,6 +41619,18 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
41348
41619
|
});
|
41349
41620
|
};
|
41350
41621
|
QuestionSelectBase.prototype.hasUnknownValue = function (val, includeOther, isFilteredChoices, checkEmptyValue) {
|
41622
|
+
if (includeOther === void 0) { includeOther = false; }
|
41623
|
+
if (isFilteredChoices === void 0) { isFilteredChoices = true; }
|
41624
|
+
if (checkEmptyValue === void 0) { checkEmptyValue = false; }
|
41625
|
+
if (!Array.isArray(val))
|
41626
|
+
return this.hasUnknownValueItem(val, includeOther, isFilteredChoices, checkEmptyValue);
|
41627
|
+
for (var i = 0; i < val.length; i++) {
|
41628
|
+
if (this.hasUnknownValueItem(val, includeOther, isFilteredChoices, checkEmptyValue))
|
41629
|
+
return true;
|
41630
|
+
}
|
41631
|
+
return false;
|
41632
|
+
};
|
41633
|
+
QuestionSelectBase.prototype.hasUnknownValueItem = function (val, includeOther, isFilteredChoices, checkEmptyValue) {
|
41351
41634
|
if (includeOther === void 0) { includeOther = false; }
|
41352
41635
|
if (isFilteredChoices === void 0) { isFilteredChoices = true; }
|
41353
41636
|
if (checkEmptyValue === void 0) { checkEmptyValue = false; }
|
@@ -42917,6 +43200,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
42917
43200
|
/* harmony import */ var _question__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./question */ "./src/question.ts");
|
42918
43201
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
42919
43202
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
43203
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
42920
43204
|
var __extends = (undefined && undefined.__extends) || (function () {
|
42921
43205
|
var extendStatics = function (d, b) {
|
42922
43206
|
extendStatics = Object.setPrototypeOf ||
|
@@ -42943,6 +43227,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
42943
43227
|
|
42944
43228
|
|
42945
43229
|
|
43230
|
+
|
42946
43231
|
/**
|
42947
43232
|
* A class that describes the Yes/No (Boolean) question type.
|
42948
43233
|
*
|
@@ -43240,8 +43525,8 @@ var QuestionBooleanModel = /** @class */ (function (_super) {
|
|
43240
43525
|
};
|
43241
43526
|
QuestionBooleanModel.prototype.calculateBooleanValueByEvent = function (event, isRightClick) {
|
43242
43527
|
var isRtl = false;
|
43243
|
-
if ("
|
43244
|
-
isRtl =
|
43528
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_5__["DomDocumentHelper"].isAvailable()) {
|
43529
|
+
isRtl = _global_variables_utils__WEBPACK_IMPORTED_MODULE_5__["DomDocumentHelper"].getComputedStyle(event.target).direction == "rtl";
|
43245
43530
|
}
|
43246
43531
|
this.booleanValue = isRtl ? !isRightClick : isRightClick;
|
43247
43532
|
};
|
@@ -44064,7 +44349,7 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
44064
44349
|
if (!Array.isArray(newValue))
|
44065
44350
|
return -1;
|
44066
44351
|
for (var i = 0; i < newValue.length; i++) {
|
44067
|
-
if (this.
|
44352
|
+
if (this.hasUnknownValueItem(newValue[i], false, false))
|
44068
44353
|
return i;
|
44069
44354
|
}
|
44070
44355
|
return -1;
|
@@ -44287,7 +44572,7 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
44287
44572
|
for (var i = 0; i < val.length; i++) {
|
44288
44573
|
if (val[i] == this.otherItem.value)
|
44289
44574
|
return val;
|
44290
|
-
if (this.
|
44575
|
+
if (this.hasUnknownValueItem(val[i], true, false)) {
|
44291
44576
|
this.otherValue = val[i];
|
44292
44577
|
var newVal = val.slice();
|
44293
44578
|
newVal[i] = this.otherItem.value;
|
@@ -46094,6 +46379,9 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
|
|
46094
46379
|
__decorate([
|
46095
46380
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
46096
46381
|
], QuestionDropdownModel.prototype, "searchMode", void 0);
|
46382
|
+
__decorate([
|
46383
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
46384
|
+
], QuestionDropdownModel.prototype, "textWrapEnabled", void 0);
|
46097
46385
|
__decorate([
|
46098
46386
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
|
46099
46387
|
], QuestionDropdownModel.prototype, "inputHasValue", void 0);
|
@@ -46119,6 +46407,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("dropdown", [
|
|
46119
46407
|
{ name: "choicesMax:number", default: 0 },
|
46120
46408
|
{ name: "choicesStep:number", default: 1, minValue: 1 },
|
46121
46409
|
{ name: "autocomplete", alternativeName: "autoComplete", choices: _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].questions.dataList, },
|
46410
|
+
{ name: "textWrapEnabled:boolean", default: true },
|
46122
46411
|
{ name: "renderAs", default: "default", visible: false },
|
46123
46412
|
{ name: "searchEnabled:boolean", default: true, visible: false },
|
46124
46413
|
{ name: "searchMode", default: "contains", choices: ["contains", "startsWith"], },
|
@@ -46762,6 +47051,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
46762
47051
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers */ "./src/helpers.ts");
|
46763
47052
|
/* harmony import */ var _utils_camera__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/camera */ "./src/utils/camera.ts");
|
46764
47053
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
47054
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
46765
47055
|
var __extends = (undefined && undefined.__extends) || (function () {
|
46766
47056
|
var extendStatics = function (d, b) {
|
46767
47057
|
extendStatics = Object.setPrototypeOf ||
|
@@ -46796,6 +47086,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
46796
47086
|
|
46797
47087
|
|
46798
47088
|
|
47089
|
+
|
46799
47090
|
function dataUrl2File(dataUrl, fileName, type) {
|
46800
47091
|
var str = atob(dataUrl.split(",")[1]);
|
46801
47092
|
var buffer = new Uint8Array(str.split("").map(function (c) { return c.charCodeAt(0); })).buffer;
|
@@ -47344,12 +47635,14 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
47344
47635
|
});
|
47345
47636
|
QuestionFileModel.prototype.chooseFile = function (event) {
|
47346
47637
|
var _this = this;
|
47347
|
-
|
47638
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].isAvailable())
|
47639
|
+
return;
|
47640
|
+
var inputElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].getDocument().getElementById(this.inputId);
|
47348
47641
|
event.preventDefault();
|
47349
47642
|
event.stopImmediatePropagation();
|
47350
47643
|
if (inputElement) {
|
47351
47644
|
if (this.survey) {
|
47352
|
-
this.survey.chooseFiles(inputElement, function (files) { return _this.loadFiles(files); }, { element: this });
|
47645
|
+
this.survey.chooseFiles(inputElement, function (files) { return _this.loadFiles(files); }, { element: this, elementType: this.getType(), propertyName: this.name });
|
47353
47646
|
}
|
47354
47647
|
else {
|
47355
47648
|
inputElement.click();
|
@@ -47795,7 +48088,7 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
47795
48088
|
.toString();
|
47796
48089
|
};
|
47797
48090
|
QuestionFileModel.prototype.onChange = function (src) {
|
47798
|
-
if (!
|
48091
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomWindowHelper"].isFileReaderAvailable())
|
47799
48092
|
return;
|
47800
48093
|
if (!src || !src.files || src.files.length < 1)
|
47801
48094
|
return;
|
@@ -47861,10 +48154,10 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
47861
48154
|
var fileListSelector = this.getFileListSelector();
|
47862
48155
|
var fileListElement = fileListSelector ? this.rootElement.querySelector(this.getFileListSelector()) : undefined;
|
47863
48156
|
if (fileListElement) {
|
47864
|
-
this.calculatedGapBetweenItems = Math.ceil(Number.parseFloat(
|
48157
|
+
this.calculatedGapBetweenItems = Math.ceil(Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].getComputedStyle(fileListElement).gap));
|
47865
48158
|
var firstVisibleItem = Array.from(fileListElement.children).filter(function (_, index) { return _this.isPreviewVisible(index); })[0];
|
47866
48159
|
if (firstVisibleItem) {
|
47867
|
-
this.calculatedItemWidth = Math.ceil(Number.parseFloat(
|
48160
|
+
this.calculatedItemWidth = Math.ceil(Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].getComputedStyle(firstVisibleItem).width));
|
47868
48161
|
}
|
47869
48162
|
}
|
47870
48163
|
}
|
@@ -48075,6 +48368,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
48075
48368
|
/* harmony import */ var _questionnonvalue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./questionnonvalue */ "./src/questionnonvalue.ts");
|
48076
48369
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
48077
48370
|
/* harmony import */ var _questionfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./questionfactory */ "./src/questionfactory.ts");
|
48371
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
48078
48372
|
var __extends = (undefined && undefined.__extends) || (function () {
|
48079
48373
|
var extendStatics = function (d, b) {
|
48080
48374
|
extendStatics = Object.setPrototypeOf ||
|
@@ -48093,6 +48387,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
48093
48387
|
|
48094
48388
|
|
48095
48389
|
|
48390
|
+
|
48096
48391
|
/**
|
48097
48392
|
* A class that describes the HTML question type. Unlike other question types, HTML cannot have a title or value.
|
48098
48393
|
*
|
@@ -48164,6 +48459,13 @@ var QuestionHtmlModel = /** @class */ (function (_super) {
|
|
48164
48459
|
enumerable: false,
|
48165
48460
|
configurable: true
|
48166
48461
|
});
|
48462
|
+
Object.defineProperty(QuestionHtmlModel.prototype, "renderCssRoot", {
|
48463
|
+
get: function () {
|
48464
|
+
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]().append(this.cssClasses.root).append(this.cssClasses.nested, this.getIsNested()).toString() || undefined;
|
48465
|
+
},
|
48466
|
+
enumerable: false,
|
48467
|
+
configurable: true
|
48468
|
+
});
|
48167
48469
|
return QuestionHtmlModel;
|
48168
48470
|
}(_questionnonvalue__WEBPACK_IMPORTED_MODULE_0__["QuestionNonValue"]));
|
48169
48471
|
|
@@ -48542,6 +48844,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
48542
48844
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
48543
48845
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
48544
48846
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
48847
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
48545
48848
|
var __extends = (undefined && undefined.__extends) || (function () {
|
48546
48849
|
var extendStatics = function (d, b) {
|
48547
48850
|
extendStatics = Object.setPrototypeOf ||
|
@@ -48571,6 +48874,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
48571
48874
|
|
48572
48875
|
|
48573
48876
|
|
48877
|
+
|
48574
48878
|
var ImageItemValue = /** @class */ (function (_super) {
|
48575
48879
|
__extends(ImageItemValue, _super);
|
48576
48880
|
function ImageItemValue(value, text, typeName) {
|
@@ -49045,7 +49349,7 @@ var QuestionImagePickerModel = /** @class */ (function (_super) {
|
|
49045
49349
|
var observedElement = el && selector ? el.querySelector(selector) : undefined;
|
49046
49350
|
if (!!observedElement) {
|
49047
49351
|
this.reCalcGapBetweenItemsCallback = function () {
|
49048
|
-
_this.gapBetweenItems = Math.ceil(Number.parseFloat(
|
49352
|
+
_this.gapBetweenItems = Math.ceil(Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_8__["DomDocumentHelper"].getComputedStyle(observedElement).gap)) || 16;
|
49049
49353
|
};
|
49050
49354
|
this.reCalcGapBetweenItemsCallback();
|
49051
49355
|
}
|
@@ -52702,6 +53006,9 @@ var QuestionMatrixDropdownModelBase = /** @class */ (function (_super) {
|
|
52702
53006
|
if (!!this.renderedTable) {
|
52703
53007
|
this.renderedTable.onDetailPanelChangeVisibility(row, val);
|
52704
53008
|
}
|
53009
|
+
if (this.survey) {
|
53010
|
+
this.survey.matrixDetailPanelVisibleChanged(this, row.rowIndex - 1, row, val);
|
53011
|
+
}
|
52705
53012
|
if (val && this.detailPanelMode === "underRowSingle") {
|
52706
53013
|
var rows = this.visibleRows;
|
52707
53014
|
for (var i = 0; i < rows.length; i++) {
|
@@ -61122,6 +61429,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
61122
61429
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
61123
61430
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
61124
61431
|
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
61432
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
61125
61433
|
var __extends = (undefined && undefined.__extends) || (function () {
|
61126
61434
|
var extendStatics = function (d, b) {
|
61127
61435
|
extendStatics = Object.setPrototypeOf ||
|
@@ -61153,6 +61461,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
61153
61461
|
|
61154
61462
|
|
61155
61463
|
|
61464
|
+
|
61156
61465
|
var RenderedRatingItem = /** @class */ (function (_super) {
|
61157
61466
|
__extends(RenderedRatingItem, _super);
|
61158
61467
|
function RenderedRatingItem(itemValue, locString) {
|
@@ -61437,19 +61746,22 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
61437
61746
|
QuestionRatingModel.prototype.updateColors = function (themeVariables) {
|
61438
61747
|
if (this.colorMode === "monochrome")
|
61439
61748
|
return;
|
61440
|
-
if (
|
61749
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_10__["DomDocumentHelper"].isAvailable())
|
61441
61750
|
return;
|
61442
61751
|
if (QuestionRatingModel.colorsCalculated)
|
61443
61752
|
return;
|
61444
61753
|
function getRGBColor(colorName, varName) {
|
61445
61754
|
var str = !!themeVariables && themeVariables[colorName];
|
61446
61755
|
if (!str) {
|
61447
|
-
var style = getComputedStyle(
|
61756
|
+
var style = getComputedStyle(_global_variables_utils__WEBPACK_IMPORTED_MODULE_10__["DomDocumentHelper"].getDocumentElement());
|
61448
61757
|
str = style.getPropertyValue && style.getPropertyValue(varName);
|
61449
61758
|
}
|
61450
61759
|
if (!str)
|
61451
61760
|
return null;
|
61452
|
-
var
|
61761
|
+
var canvasElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_10__["DomDocumentHelper"].createElement("canvas");
|
61762
|
+
if (!canvasElement)
|
61763
|
+
return null;
|
61764
|
+
var ctx = canvasElement.getContext("2d");
|
61453
61765
|
ctx.fillStyle = str;
|
61454
61766
|
var newStr = ctx.fillStyle;
|
61455
61767
|
if (newStr.startsWith("rgba")) {
|
@@ -62383,9 +62695,7 @@ var QuestionSignaturePadModel = /** @class */ (function (_super) {
|
|
62383
62695
|
};
|
62384
62696
|
QuestionSignaturePadModel.prototype.fromUrl = function (url) {
|
62385
62697
|
var _this = this;
|
62386
|
-
|
62387
|
-
return;
|
62388
|
-
var img = document.createElement("img");
|
62698
|
+
var img = new Image();
|
62389
62699
|
img.crossOrigin = "anonymous";
|
62390
62700
|
img.src = url;
|
62391
62701
|
img.onload = function () {
|
@@ -63021,8 +63331,8 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
63021
63331
|
};
|
63022
63332
|
QuestionTagboxModel.prototype.dispose = function () {
|
63023
63333
|
_super.prototype.dispose.call(this);
|
63024
|
-
if (!!this.
|
63025
|
-
this.
|
63334
|
+
if (!!this.dropdownListModel) {
|
63335
|
+
this.dropdownListModel.dispose();
|
63026
63336
|
}
|
63027
63337
|
};
|
63028
63338
|
QuestionTagboxModel.prototype.clearValue = function () {
|
@@ -63078,6 +63388,9 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
63078
63388
|
__decorate([
|
63079
63389
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ getDefaultValue: function () { return _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].tagboxCloseOnSelect; } })
|
63080
63390
|
], QuestionTagboxModel.prototype, "closeOnSelect", void 0);
|
63391
|
+
__decorate([
|
63392
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
63393
|
+
], QuestionTagboxModel.prototype, "textWrapEnabled", void 0);
|
63081
63394
|
return QuestionTagboxModel;
|
63082
63395
|
}(_question_checkbox__WEBPACK_IMPORTED_MODULE_3__["QuestionCheckboxModel"]));
|
63083
63396
|
|
@@ -63085,6 +63398,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("tagbox", [
|
|
63085
63398
|
{ name: "placeholder", serializationProperty: "locPlaceholder" },
|
63086
63399
|
{ name: "allowClear:boolean", default: true },
|
63087
63400
|
{ name: "searchEnabled:boolean", default: true },
|
63401
|
+
{ name: "textWrapEnabled:boolean", default: true },
|
63088
63402
|
{ name: "choicesLazyLoadEnabled:boolean", default: false, visible: false },
|
63089
63403
|
{ name: "choicesLazyLoadPageSize:number", default: 25, visible: false },
|
63090
63404
|
{ name: "hideSelectedItems:boolean", default: false },
|
@@ -63255,6 +63569,20 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
63255
63569
|
configurable: true
|
63256
63570
|
});
|
63257
63571
|
Object.defineProperty(QuestionTextModel.prototype, "maskSettings", {
|
63572
|
+
/**
|
63573
|
+
* An object with properties that configure the mask applied to the input.
|
63574
|
+
*
|
63575
|
+
* Available properties depend on the specified [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType) and belong to corresponding classes. Refer to the class APIs for a full list of properties:
|
63576
|
+
*
|
63577
|
+
* | `maskType` | Class |
|
63578
|
+
* | ---------- | ----- |
|
63579
|
+
* | `"numeric"` | [`InputMaskNumeric`](https://surveyjs.io/form-library/documentation/api-reference/inputmasknumeric) |
|
63580
|
+
* | `"currency"` | [`InputMaskCurrency`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskcurrency) |
|
63581
|
+
* | `"datetime"` | [`InputMaskDateTime`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskdatetime) |
|
63582
|
+
* | `"pattern"` | [`InputMaskPattern`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskpattern) |
|
63583
|
+
*
|
63584
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
63585
|
+
*/
|
63258
63586
|
get: function () {
|
63259
63587
|
return this.getPropertyValue("maskSettings");
|
63260
63588
|
},
|
@@ -63534,12 +63862,14 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
63534
63862
|
});
|
63535
63863
|
Object.defineProperty(QuestionTextModel.prototype, "inputValue", {
|
63536
63864
|
get: function () {
|
63537
|
-
return
|
63865
|
+
return this._inputValue;
|
63538
63866
|
},
|
63539
63867
|
set: function (val) {
|
63540
63868
|
var value = val;
|
63869
|
+
this._inputValue = val;
|
63541
63870
|
if (!this.maskTypeIsEmpty) {
|
63542
63871
|
value = this.maskInstance.getUnmaskedValue(val);
|
63872
|
+
this._inputValue = this.maskInstance.getMaskedValue(value);
|
63543
63873
|
if (!!value && this.maskSettings.saveMaskedValue) {
|
63544
63874
|
value = this.maskInstance.getMaskedValue(value);
|
63545
63875
|
}
|
@@ -63549,6 +63879,21 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
63549
63879
|
enumerable: false,
|
63550
63880
|
configurable: true
|
63551
63881
|
});
|
63882
|
+
QuestionTextModel.prototype.onChangeQuestionValue = function (newValue) {
|
63883
|
+
_super.prototype.onChangeQuestionValue.call(this, newValue);
|
63884
|
+
this.updateInputValue();
|
63885
|
+
};
|
63886
|
+
QuestionTextModel.prototype.updateInputValue = function () {
|
63887
|
+
if (this.maskTypeIsEmpty) {
|
63888
|
+
this._inputValue = this.value;
|
63889
|
+
}
|
63890
|
+
else if (this.maskSettings.saveMaskedValue) {
|
63891
|
+
this._inputValue = !!this.value ? this.value : this.maskInstance.getMaskedValue("");
|
63892
|
+
}
|
63893
|
+
else {
|
63894
|
+
this._inputValue = this.maskInstance.getMaskedValue(this.value);
|
63895
|
+
}
|
63896
|
+
};
|
63552
63897
|
QuestionTextModel.prototype.onCheckForErrors = function (errors, isOnValueChanged) {
|
63553
63898
|
var _this = this;
|
63554
63899
|
_super.prototype.onCheckForErrors.call(this, errors, isOnValueChanged);
|
@@ -63765,6 +64110,9 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
63765
64110
|
onSet: function (newValue, target) { target.onSetMaskType(newValue); }
|
63766
64111
|
})
|
63767
64112
|
], QuestionTextModel.prototype, "maskType", void 0);
|
64113
|
+
__decorate([
|
64114
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
64115
|
+
], QuestionTextModel.prototype, "_inputValue", void 0);
|
63768
64116
|
return QuestionTextModel;
|
63769
64117
|
}(_question_textbase__WEBPACK_IMPORTED_MODULE_7__["QuestionTextBase"]));
|
63770
64118
|
|
@@ -68875,8 +69223,8 @@ var SurveyPanelBase = /** @class */ (function (_super) {
|
|
68875
69223
|
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
68876
69224
|
if (!!prevProps.page &&
|
68877
69225
|
!!this.survey &&
|
68878
|
-
!!this.survey.
|
68879
|
-
prevProps.page.id === this.survey.
|
69226
|
+
!!this.survey.activePage &&
|
69227
|
+
prevProps.page.id === this.survey.activePage.id)
|
68880
69228
|
return;
|
68881
69229
|
this.doAfterRender();
|
68882
69230
|
};
|
@@ -74591,23 +74939,25 @@ var RendererFactory = /** @class */ (function () {
|
|
74591
74939
|
"use strict";
|
74592
74940
|
__webpack_require__.r(__webpack_exports__);
|
74593
74941
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
|
74594
|
-
/* harmony import */ var
|
74942
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
74943
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
74944
|
+
|
74595
74945
|
|
74596
74946
|
var document = typeof globalThis !== "undefined" ? globalThis.document : undefined.document;
|
74597
74947
|
var defaultEnvironment = (!!document ? {
|
74598
74948
|
root: document,
|
74599
|
-
_rootElement:
|
74949
|
+
_rootElement: _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody(),
|
74600
74950
|
get rootElement() {
|
74601
74951
|
var _a;
|
74602
|
-
return (_a = this._rootElement) !== null && _a !== void 0 ? _a :
|
74952
|
+
return (_a = this._rootElement) !== null && _a !== void 0 ? _a : _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
74603
74953
|
},
|
74604
74954
|
set rootElement(rootElement) {
|
74605
74955
|
this._rootElement = rootElement;
|
74606
74956
|
},
|
74607
|
-
_popupMountContainer:
|
74957
|
+
_popupMountContainer: _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody(),
|
74608
74958
|
get popupMountContainer() {
|
74609
74959
|
var _a;
|
74610
|
-
return (_a = this._popupMountContainer) !== null && _a !== void 0 ? _a :
|
74960
|
+
return (_a = this._popupMountContainer) !== null && _a !== void 0 ? _a : _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
74611
74961
|
},
|
74612
74962
|
set popupMountContainer(popupMountContainer) {
|
74613
74963
|
this._popupMountContainer = popupMountContainer;
|
@@ -74656,7 +75006,7 @@ var settings = {
|
|
74656
75006
|
* Nested properties:
|
74657
75007
|
*
|
74658
75008
|
* - `useLocalTimeZone`: `boolean`\
|
74659
|
-
* Disable this property if you want internal SurveyJS functions to use methods that work with UTC date and time (`setUTCDate()` `setUTCHours()`, etc.) instead of methods that work with local date and time (`setYear`, `setHours()`, etc.). Default value: `true`.
|
75009
|
+
* Disable this property if you want internal SurveyJS functions to use methods that work with UTC date and time (`setUTCDate()` `setUTCHours()`, etc.) instead of methods that work with local date and time (`setYear()`, `setHours()`, etc.). Default value: `true`.
|
74660
75010
|
*
|
74661
75011
|
* - `defaultLocaleName`: `string`\
|
74662
75012
|
* A property key that stores a translation for the default locale. Default value: `"default"`.
|
@@ -74802,7 +75152,8 @@ var settings = {
|
|
74802
75152
|
* - `enabled`: `boolean`\
|
74803
75153
|
* Specifies whether to add questions to the DOM only when they get into the viewport. Default value: `false`.
|
74804
75154
|
*
|
74805
|
-
*
|
75155
|
+
* [View Demo](https://surveyjs.io/form-library/examples/survey-lazy/ (linkStyle))
|
75156
|
+
* @see [SurveyModel.lazyRendering](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#lazyRendering)
|
74806
75157
|
*/
|
74807
75158
|
lazyRender: {
|
74808
75159
|
enabled: false,
|
@@ -75036,7 +75387,7 @@ var settings = {
|
|
75036
75387
|
* @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
|
75037
75388
|
*/
|
75038
75389
|
confirmActionAsync: function (message, callback, applyTitle, locale, rootElement) {
|
75039
|
-
return Object(
|
75390
|
+
return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_1__["showConfirmDialog"])(message, callback, applyTitle, locale, rootElement);
|
75040
75391
|
},
|
75041
75392
|
/**
|
75042
75393
|
* A minimum width value for all survey elements.
|
@@ -75277,6 +75628,20 @@ var settings = {
|
|
75277
75628
|
]
|
75278
75629
|
},
|
75279
75630
|
legacyProgressBarView: false,
|
75631
|
+
/**
|
75632
|
+
* An object with properties that configure input masks.
|
75633
|
+
*
|
75634
|
+
* Nested properties:
|
75635
|
+
*
|
75636
|
+
* - `patternPlaceholderChar`: `string`\
|
75637
|
+
* A symbol used as a placeholder for characters to be entered in [pattern masks](https://surveyjs.io/form-library/documentation/api-reference/inputmaskpattern). Default value: `"_"`.
|
75638
|
+
*
|
75639
|
+
* - `patternEscapeChar`: `string`\
|
75640
|
+
* A symbol used to insert literal representations of special characters in [pattern masks](https://surveyjs.io/form-library/documentation/api-reference/inputmaskpattern). Default value: `"\\"`.
|
75641
|
+
*
|
75642
|
+
* - `patternDefinitions`: `<{ [key: string]: RegExp }>`\
|
75643
|
+
* An object that maps placeholder symbols to regular expressions in [pattern masks](https://surveyjs.io/form-library/documentation/api-reference/inputmaskpattern). Default value: `{ "9": /[0-9]/, "a": /[a-zA-Z]/, "#": /[a-zA-Z0-9]/ }`.
|
75644
|
+
*/
|
75280
75645
|
maskSettings: {
|
75281
75646
|
patternPlaceholderChar: "_",
|
75282
75647
|
patternEscapeChar: "\\",
|
@@ -75310,8 +75675,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
75310
75675
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "winterstoneThemeColors", function() { return winterstoneThemeColors; });
|
75311
75676
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return StylesManager; });
|
75312
75677
|
/* harmony import */ var _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultCss/defaultV2Css */ "./src/defaultCss/defaultV2Css.ts");
|
75313
|
-
/* harmony import */ var
|
75314
|
-
/* harmony import */ var
|
75678
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
75679
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
75680
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
75681
|
+
|
75315
75682
|
|
75316
75683
|
|
75317
75684
|
|
@@ -75545,11 +75912,11 @@ var StylesManager = /** @class */ (function () {
|
|
75545
75912
|
return themeMapper;
|
75546
75913
|
};
|
75547
75914
|
StylesManager.getIncludedThemeCss = function () {
|
75548
|
-
if (typeof
|
75915
|
+
if (typeof _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment === "undefined")
|
75549
75916
|
return [];
|
75550
|
-
var rootElement =
|
75917
|
+
var rootElement = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.rootElement;
|
75551
75918
|
var themeMapper = StylesManager.getAvailableThemes();
|
75552
|
-
var element = Object(
|
75919
|
+
var element = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["isShadowDOM"])(rootElement) ? rootElement.host : rootElement;
|
75553
75920
|
if (!!element) {
|
75554
75921
|
var styles_1 = getComputedStyle(element);
|
75555
75922
|
if (styles_1.length) {
|
@@ -75559,9 +75926,9 @@ var StylesManager = /** @class */ (function () {
|
|
75559
75926
|
return [];
|
75560
75927
|
};
|
75561
75928
|
StylesManager.findSheet = function (styleSheetId) {
|
75562
|
-
if (typeof
|
75929
|
+
if (typeof _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment === "undefined")
|
75563
75930
|
return null;
|
75564
|
-
var styleSheets =
|
75931
|
+
var styleSheets = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root.styleSheets;
|
75565
75932
|
for (var i = 0; i < styleSheets.length; i++) {
|
75566
75933
|
if (!!styleSheets[i].ownerNode && styleSheets[i].ownerNode["id"] === styleSheetId) {
|
75567
75934
|
return styleSheets[i];
|
@@ -75570,14 +75937,14 @@ var StylesManager = /** @class */ (function () {
|
|
75570
75937
|
return null;
|
75571
75938
|
};
|
75572
75939
|
StylesManager.createSheet = function (styleSheetId) {
|
75573
|
-
var stylesSheetsMountContainer =
|
75574
|
-
var style =
|
75940
|
+
var stylesSheetsMountContainer = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.stylesSheetsMountContainer;
|
75941
|
+
var style = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("style");
|
75575
75942
|
style.id = styleSheetId;
|
75576
75943
|
// Add a media (and/or media query) here if you'd like!
|
75577
75944
|
// style.setAttribute("media", "screen")
|
75578
75945
|
// style.setAttribute("media", "only screen and (max-width : 1024px)")
|
75579
|
-
style.appendChild(
|
75580
|
-
Object(
|
75946
|
+
style.appendChild(new Text(""));
|
75947
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["getElement"])(stylesSheetsMountContainer).appendChild(style);
|
75581
75948
|
if (!!StylesManager.Logger) {
|
75582
75949
|
StylesManager.Logger.log("style sheet " + styleSheetId + " created");
|
75583
75950
|
}
|
@@ -75585,10 +75952,10 @@ var StylesManager = /** @class */ (function () {
|
|
75585
75952
|
};
|
75586
75953
|
StylesManager.applyTheme = function (themeName, themeSelector) {
|
75587
75954
|
if (themeName === void 0) { themeName = "default"; }
|
75588
|
-
if (typeof
|
75955
|
+
if (typeof _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment === "undefined")
|
75589
75956
|
return;
|
75590
|
-
var rootElement =
|
75591
|
-
var element = Object(
|
75957
|
+
var rootElement = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.rootElement;
|
75958
|
+
var element = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["isShadowDOM"])(rootElement) ? rootElement.host : rootElement;
|
75592
75959
|
_defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_0__["surveyCss"].currentType = themeName;
|
75593
75960
|
if (StylesManager.Enabled) {
|
75594
75961
|
if (themeName !== "bootstrap" && themeName !== "bootstrapmaterial") {
|
@@ -75703,6 +76070,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
75703
76070
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
75704
76071
|
/* harmony import */ var _actions_container__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./actions/container */ "./src/actions/container.ts");
|
75705
76072
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
76073
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
75706
76074
|
var __extends = (undefined && undefined.__extends) || (function () {
|
75707
76075
|
var extendStatics = function (d, b) {
|
75708
76076
|
extendStatics = Object.setPrototypeOf ||
|
@@ -75731,6 +76099,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
75731
76099
|
|
75732
76100
|
|
75733
76101
|
|
76102
|
+
|
75734
76103
|
/**
|
75735
76104
|
* A base class for the [`SurveyElement`](https://surveyjs.io/form-library/documentation/surveyelement) and [`SurveyModel`](https://surveyjs.io/form-library/documentation/surveymodel) classes.
|
75736
76105
|
*/
|
@@ -75960,11 +76329,11 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
75960
76329
|
elLeft = el.getBoundingClientRect().left;
|
75961
76330
|
needScroll = elLeft < 0;
|
75962
76331
|
}
|
75963
|
-
if (
|
75964
|
-
var height =
|
76332
|
+
if (!needScroll && _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].isAvailable()) {
|
76333
|
+
var height = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].getInnerHeight();
|
75965
76334
|
needScroll = height > 0 && height < elTop;
|
75966
76335
|
if (!needScroll && checkLeft) {
|
75967
|
-
var width =
|
76336
|
+
var width = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].getInnerWidth();
|
75968
76337
|
needScroll = width > 0 && width < elLeft;
|
75969
76338
|
}
|
75970
76339
|
}
|
@@ -75992,7 +76361,7 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
75992
76361
|
return null;
|
75993
76362
|
};
|
75994
76363
|
SurveyElement.FocusElement = function (elementId) {
|
75995
|
-
if (!elementId ||
|
76364
|
+
if (!elementId || !_global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomDocumentHelper"].isAvailable())
|
75996
76365
|
return false;
|
75997
76366
|
var res = SurveyElement.focusElementCore(elementId);
|
75998
76367
|
if (!res) {
|
@@ -76907,12 +77276,13 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
76907
77276
|
});
|
76908
77277
|
SurveyElement.prototype.isContainsSelection = function (el) {
|
76909
77278
|
var elementWithSelection = undefined;
|
76910
|
-
|
76911
|
-
|
77279
|
+
var _document = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomDocumentHelper"].getDocument();
|
77280
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomDocumentHelper"].isAvailable() && !!_document && _document["selection"]) {
|
77281
|
+
elementWithSelection = _document["selection"].createRange().parentElement();
|
76912
77282
|
}
|
76913
77283
|
else {
|
76914
|
-
var selection =
|
76915
|
-
if (selection.rangeCount > 0) {
|
77284
|
+
var selection = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].getSelection();
|
77285
|
+
if (!!selection && selection.rangeCount > 0) {
|
76916
77286
|
var range = selection.getRangeAt(0);
|
76917
77287
|
if (range.startOffset !== range.endOffset) {
|
76918
77288
|
elementWithSelection = range.startContainer.parentNode;
|
@@ -77130,6 +77500,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
77130
77500
|
/* harmony import */ var _surveyTaskManager__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./surveyTaskManager */ "./src/surveyTaskManager.ts");
|
77131
77501
|
/* harmony import */ var _progress_buttons__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./progress-buttons */ "./src/progress-buttons.ts");
|
77132
77502
|
/* harmony import */ var _surveyToc__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./surveyToc */ "./src/surveyToc.ts");
|
77503
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
77133
77504
|
var __extends = (undefined && undefined.__extends) || (function () {
|
77134
77505
|
var extendStatics = function (d, b) {
|
77135
77506
|
extendStatics = Object.setPrototypeOf ||
|
@@ -77174,6 +77545,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
77174
77545
|
|
77175
77546
|
|
77176
77547
|
|
77548
|
+
|
77177
77549
|
|
77178
77550
|
|
77179
77551
|
/**
|
@@ -77302,7 +77674,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77302
77674
|
*/
|
77303
77675
|
_this.onPageVisibleChanged = _this.addEvent();
|
77304
77676
|
/**
|
77305
|
-
* An event that is raised after
|
77677
|
+
* An event that is raised after panel visibility is changed.
|
77306
77678
|
*
|
77307
77679
|
* For information on event handler parameters, refer to descriptions within the interface.
|
77308
77680
|
*
|
@@ -77697,6 +78069,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77697
78069
|
* This event is obsolete. Use the [`onMatrixRenderRemoveButton`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRenderRemoveButton) event instead.
|
77698
78070
|
*/
|
77699
78071
|
_this.onMatrixAllowRemoveRow = _this.onMatrixRenderRemoveButton;
|
78072
|
+
/**
|
78073
|
+
* An event that is raised after the visibility of an [expandable detail section](https://surveyjs.io/form-library/examples/add-expandable-details-section-under-matrix-rows/) is changed. This event can be raised for [Multi-Select](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list) and [Dynamic Matrix](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model) questions.
|
78074
|
+
*/
|
78075
|
+
_this.onMatrixDetailPanelVisibleChanged = _this.addEvent();
|
77700
78076
|
/**
|
77701
78077
|
* An event that is raised before a cell in a [Multi-Select Matrix](https://surveyjs.io/form-library/examples/questiontype-matrixdropdown/) or [Dynamic Matrix](https://surveyjs.io/form-library/examples/questiontype-matrixdynamic/) is created. Use this event to change the type of individual matrix cells.
|
77702
78078
|
* @see onAfterRenderMatrixCell
|
@@ -77906,7 +78282,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77906
78282
|
_this.skippedPages = [];
|
77907
78283
|
_this.skeletonComponentName = "sv-skeleton";
|
77908
78284
|
_this.taskManager = new _surveyTaskManager__WEBPACK_IMPORTED_MODULE_22__["SurveyTaskManagerModel"]();
|
77909
|
-
if (
|
78285
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].isAvailable()) {
|
77910
78286
|
SurveyModel.stylesManager = new _stylesmanager__WEBPACK_IMPORTED_MODULE_11__["StylesManager"]();
|
77911
78287
|
}
|
77912
78288
|
var htmlCallBack = function (str) { return "<h3>" + str + "</h3>"; };
|
@@ -78340,13 +78716,12 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
78340
78716
|
/**
|
78341
78717
|
* Specifies whether to enable lazy rendering.
|
78342
78718
|
*
|
78343
|
-
* In default mode, a survey renders the entire current page. With lazy rendering, the survey renders the page gradually as a user scrolls it. This helps reduce survey startup time and
|
78719
|
+
* In default mode, a survey renders the entire current page. With lazy rendering, the survey renders the page gradually as a user scrolls it. This helps reduce survey startup time and optimizes large surveys for low-end devices.
|
78344
78720
|
*
|
78345
78721
|
* Default value: `false`
|
78346
78722
|
*
|
78347
78723
|
* [View Demo](https://surveyjs.io/form-library/examples/survey-lazy/ (linkStyle))
|
78348
|
-
*
|
78349
|
-
* > This is an experimental feature that may not work properly in certain cases.
|
78724
|
+
* @see [settings.lazyRender](https://surveyjs.io/form-library/documentation/api-reference/settings#lazyRender)
|
78350
78725
|
*/
|
78351
78726
|
get: function () {
|
78352
78727
|
return this.lazyRenderingValue === true;
|
@@ -80026,7 +80401,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
80026
80401
|
* - `"belowHeader"` - Displays the progress bar below the survey header.
|
80027
80402
|
* - `"bottom"` - Displays the progress bar below survey content.
|
80028
80403
|
* - `"topBottom"` - Displays the progress bar above and below survey content.
|
80029
|
-
* - `"auto"` -
|
80404
|
+
* - `"auto"` - Displays the progress bar below the survey header if the header has a [background image](https://surveyjs.io/form-library/documentation/api-reference/iheader#backgroundImage) or color. Otherwise, the progress bar is displayed above the header.
|
80030
80405
|
* - `"top"` - *(Obsolete)* Use the `"aboveHeader"` or `"belowHeader"` property value instead.
|
80031
80406
|
* - `"both"` - *(Obsolete)* Use the `"topBottom"` property value instead.
|
80032
80407
|
*
|
@@ -81068,8 +81443,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
81068
81443
|
SurveyModel.prototype.currentPageChanged = function (newValue, oldValue) {
|
81069
81444
|
this.notifyQuestionsOnHidingContent(oldValue);
|
81070
81445
|
var options = this.createPageChangeEventOptions(newValue, oldValue);
|
81071
|
-
if (
|
81072
|
-
oldValue.
|
81446
|
+
if (oldValue && !oldValue.passed) {
|
81447
|
+
if (oldValue.validate(false)) {
|
81448
|
+
oldValue.passed = true;
|
81449
|
+
}
|
81073
81450
|
}
|
81074
81451
|
this.onCurrentPageChanged.fire(this, options);
|
81075
81452
|
};
|
@@ -81261,9 +81638,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
81261
81638
|
* @see deleteCookie
|
81262
81639
|
*/
|
81263
81640
|
get: function () {
|
81264
|
-
if (!this.cookieName
|
81641
|
+
if (!this.cookieName)
|
81265
81642
|
return false;
|
81266
|
-
var cookies =
|
81643
|
+
var cookies = _global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].getCookie();
|
81267
81644
|
return cookies && cookies.indexOf(this.cookieName + "=true") > -1;
|
81268
81645
|
},
|
81269
81646
|
enumerable: false,
|
@@ -81275,10 +81652,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
81275
81652
|
* @see deleteCookie
|
81276
81653
|
*/
|
81277
81654
|
SurveyModel.prototype.setCookie = function () {
|
81278
|
-
if (!this.cookieName
|
81655
|
+
if (!this.cookieName)
|
81279
81656
|
return;
|
81280
|
-
|
81281
|
-
this.cookieName + "=true; expires=Fri, 31 Dec 9999 0:0:0 GMT";
|
81657
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].setCookie(this.cookieName + "=true; expires=Fri, 31 Dec 9999 0:0:0 GMT");
|
81282
81658
|
};
|
81283
81659
|
/**
|
81284
81660
|
* Deletes a cookie with a specified [`cookieName`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#cookieName) from the browser.
|
@@ -81288,7 +81664,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
81288
81664
|
SurveyModel.prototype.deleteCookie = function () {
|
81289
81665
|
if (!this.cookieName)
|
81290
81666
|
return;
|
81291
|
-
|
81667
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].setCookie(this.cookieName + "=;");
|
81292
81668
|
};
|
81293
81669
|
Object.defineProperty(SurveyModel.prototype, "ignoreValidation", {
|
81294
81670
|
/**
|
@@ -82453,11 +82829,11 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82453
82829
|
var observedElement = htmlElement;
|
82454
82830
|
var cssVariables = this.css.variables;
|
82455
82831
|
if (!!cssVariables) {
|
82456
|
-
var mobileWidth_1 = Number.parseFloat(
|
82832
|
+
var mobileWidth_1 = Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].getComputedStyle(observedElement).getPropertyValue(cssVariables.mobileWidth));
|
82457
82833
|
if (!!mobileWidth_1) {
|
82458
82834
|
var isProcessed_1 = false;
|
82459
82835
|
this.resizeObserver = new ResizeObserver(function (entries) {
|
82460
|
-
|
82836
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomWindowHelper"].requestAnimationFrame(function () {
|
82461
82837
|
if (isProcessed_1 || !Object(_utils_utils__WEBPACK_IMPORTED_MODULE_15__["isContainerVisible"])(observedElement)) {
|
82462
82838
|
isProcessed_1 = false;
|
82463
82839
|
}
|
@@ -82643,15 +83019,14 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82643
83019
|
return options.allow;
|
82644
83020
|
};
|
82645
83021
|
SurveyModel.prototype.matrixAllowRemoveRow = function (question, rowIndex, row) {
|
82646
|
-
var options = {
|
82647
|
-
question: question,
|
82648
|
-
rowIndex: rowIndex,
|
82649
|
-
row: row,
|
82650
|
-
allow: true,
|
82651
|
-
};
|
83022
|
+
var options = { question: question, rowIndex: rowIndex, row: row, allow: true };
|
82652
83023
|
this.onMatrixRenderRemoveButton.fire(this, options);
|
82653
83024
|
return options.allow;
|
82654
83025
|
};
|
83026
|
+
SurveyModel.prototype.matrixDetailPanelVisibleChanged = function (question, rowIndex, row, visible) {
|
83027
|
+
var options = { question: question, rowIndex: rowIndex, row: row, visible: visible, detailPanel: row.detailPanel };
|
83028
|
+
this.onMatrixDetailPanelVisibleChanged.fire(this, options);
|
83029
|
+
};
|
82655
83030
|
SurveyModel.prototype.matrixCellCreating = function (question, options) {
|
82656
83031
|
options.question = question;
|
82657
83032
|
this.onMatrixCellCreating.fire(this, options);
|
@@ -82834,8 +83209,11 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82834
83209
|
this.onOpenFileChooser.fire(this, {
|
82835
83210
|
input: input,
|
82836
83211
|
element: context && context.element || this.survey,
|
83212
|
+
elementType: context && context.elementType,
|
82837
83213
|
item: context && context.item,
|
82838
|
-
|
83214
|
+
propertyName: context && context.propertyName,
|
83215
|
+
callback: callback,
|
83216
|
+
context: context
|
82839
83217
|
});
|
82840
83218
|
}
|
82841
83219
|
};
|
@@ -86187,9 +86565,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
86187
86565
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TOCModel", function() { return TOCModel; });
|
86188
86566
|
/* harmony import */ var _actions_action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./actions/action */ "./src/actions/action.ts");
|
86189
86567
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
86190
|
-
/* harmony import */ var
|
86191
|
-
/* harmony import */ var
|
86192
|
-
/* harmony import */ var
|
86568
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
86569
|
+
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./list */ "./src/list.ts");
|
86570
|
+
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./page */ "./src/page.ts");
|
86571
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
86572
|
+
|
86193
86573
|
|
86194
86574
|
|
86195
86575
|
|
@@ -86211,11 +86591,9 @@ function createTOCListModel(survey, onAction) {
|
|
86211
86591
|
locTitle: ((_a = page.locNavigationTitle) === null || _a === void 0 ? void 0 : _a.text) ? page.locNavigationTitle : (((_b = page.locTitle) === null || _b === void 0 ? void 0 : _b.text) ? page.locTitle : undefined),
|
86212
86592
|
title: page.renderedNavigationTitle,
|
86213
86593
|
action: function () {
|
86214
|
-
|
86215
|
-
!!document.activeElement.blur && document.activeElement.blur();
|
86216
|
-
}
|
86594
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].activeElementBlur();
|
86217
86595
|
!!onAction && onAction();
|
86218
|
-
if (page instanceof
|
86596
|
+
if (page instanceof _page__WEBPACK_IMPORTED_MODULE_4__["PageModel"]) {
|
86219
86597
|
return survey.tryNavigateToPage(page);
|
86220
86598
|
}
|
86221
86599
|
return tryFocusPage(survey, page);
|
@@ -86223,7 +86601,7 @@ function createTOCListModel(survey, onAction) {
|
|
86223
86601
|
visible: new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return page.isVisible && !(page["isStartPage"]); })
|
86224
86602
|
});
|
86225
86603
|
});
|
86226
|
-
var listModel = new
|
86604
|
+
var listModel = new _list__WEBPACK_IMPORTED_MODULE_3__["ListModel"](items, function (item) {
|
86227
86605
|
if (!!item.action()) {
|
86228
86606
|
listModel.selectedItem = item;
|
86229
86607
|
}
|
@@ -86252,7 +86630,7 @@ var TOCModel = /** @class */ (function () {
|
|
86252
86630
|
_this.popupModel.toggleVisibility();
|
86253
86631
|
};
|
86254
86632
|
this.listModel = createTOCListModel(survey, function () { _this.popupModel.isVisible = false; });
|
86255
|
-
this.popupModel = new
|
86633
|
+
this.popupModel = new _popup__WEBPACK_IMPORTED_MODULE_5__["PopupModel"]("sv-list", { model: this.listModel });
|
86256
86634
|
this.popupModel.overlayDisplayMode = "overlay";
|
86257
86635
|
this.popupModel.displayMode = new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return _this.isMobile ? "overlay" : "popup"; });
|
86258
86636
|
}
|
@@ -86299,17 +86677,15 @@ var surveyTimerFunctions = {
|
|
86299
86677
|
return surveyTimerFunctions.safeTimeOut(func, 1000);
|
86300
86678
|
},
|
86301
86679
|
clearTimeout: function (timerId) {
|
86302
|
-
|
86303
|
-
return;
|
86304
|
-
window.clearTimeout(timerId);
|
86680
|
+
clearTimeout(timerId);
|
86305
86681
|
},
|
86306
86682
|
safeTimeOut: function (func, delay) {
|
86307
|
-
if (
|
86683
|
+
if (delay <= 0) {
|
86308
86684
|
func();
|
86309
86685
|
return 0;
|
86310
86686
|
}
|
86311
86687
|
else {
|
86312
|
-
return
|
86688
|
+
return setTimeout(func, delay);
|
86313
86689
|
}
|
86314
86690
|
}
|
86315
86691
|
};
|
@@ -86390,6 +86766,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
86390
86766
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SvgIconRegistry", function() { return SvgIconRegistry; });
|
86391
86767
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SvgRegistry", function() { return SvgRegistry; });
|
86392
86768
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SvgBundleViewModel", function() { return SvgBundleViewModel; });
|
86769
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
86770
|
+
|
86393
86771
|
var SvgIconData = /** @class */ (function () {
|
86394
86772
|
function SvgIconData() {
|
86395
86773
|
}
|
@@ -86410,12 +86788,12 @@ var SvgIconRegistry = /** @class */ (function () {
|
|
86410
86788
|
};
|
86411
86789
|
SvgIconRegistry.prototype.registerIconFromSvgViaElement = function (iconId, iconSvg, iconPrefix) {
|
86412
86790
|
if (iconPrefix === void 0) { iconPrefix = this.iconPrefix; }
|
86413
|
-
if (
|
86791
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].isAvailable())
|
86414
86792
|
return;
|
86415
86793
|
iconId = this.processId(iconId, iconPrefix);
|
86416
|
-
var divSvg =
|
86794
|
+
var divSvg = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("div");
|
86417
86795
|
divSvg.innerHTML = iconSvg;
|
86418
|
-
var symbol =
|
86796
|
+
var symbol = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("symbol");
|
86419
86797
|
var svg = divSvg.querySelector("svg");
|
86420
86798
|
symbol.innerHTML = svg.innerHTML;
|
86421
86799
|
for (var i = 0; i < svg.attributes.length; i++) {
|
@@ -87375,7 +87753,9 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_2__["Serializer"].addClass("runexpressiontr
|
|
87375
87753
|
"use strict";
|
87376
87754
|
__webpack_require__.r(__webpack_exports__);
|
87377
87755
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Camera", function() { return Camera; });
|
87378
|
-
/* harmony import */ var
|
87756
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../settings */ "./src/settings.ts");
|
87757
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
87758
|
+
|
87379
87759
|
|
87380
87760
|
var Camera = /** @class */ (function () {
|
87381
87761
|
function Camera() {
|
@@ -87482,7 +87862,7 @@ var Camera = /** @class */ (function () {
|
|
87482
87862
|
Camera.prototype.startVideo = function (videoElementId, callback, imageWidth, imageHeight) {
|
87483
87863
|
var _this = this;
|
87484
87864
|
var _a;
|
87485
|
-
var videoEl = (_a =
|
87865
|
+
var videoEl = (_a = _settings__WEBPACK_IMPORTED_MODULE_0__["settings"].environment.root) === null || _a === void 0 ? void 0 : _a.getElementById(videoElementId);
|
87486
87866
|
if (!videoEl) {
|
87487
87867
|
callback(undefined);
|
87488
87868
|
return;
|
@@ -87510,10 +87890,10 @@ var Camera = /** @class */ (function () {
|
|
87510
87890
|
return { width: videoEl.videoWidth, height: videoEl.videoHeight };
|
87511
87891
|
};
|
87512
87892
|
Camera.prototype.snap = function (videoElementId, callback) {
|
87513
|
-
if ("
|
87893
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].isAvailable())
|
87514
87894
|
return false;
|
87515
|
-
var root =
|
87516
|
-
var videoEl = root.getElementById(videoElementId);
|
87895
|
+
var root = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].getDocument();
|
87896
|
+
var videoEl = root === null || root === void 0 ? void 0 : root.getElementById(videoElementId);
|
87517
87897
|
if (!videoEl)
|
87518
87898
|
return false;
|
87519
87899
|
var canvasEl = root.createElement("canvas");
|
@@ -87632,14 +88012,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
87632
88012
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mouseInfo", function() { return mouseInfo; });
|
87633
88013
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsTouch", function() { return IsTouch; });
|
87634
88014
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_setIsTouch", function() { return _setIsTouch; });
|
88015
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
88016
|
+
|
87635
88017
|
// isMobile
|
87636
88018
|
var _isMobile = false;
|
87637
88019
|
var vendor = null;
|
87638
|
-
if (typeof navigator !== "undefined" &&
|
87639
|
-
|
87640
|
-
navigator &&
|
87641
|
-
window) {
|
87642
|
-
vendor = navigator.userAgent || navigator.vendor || window.opera;
|
88020
|
+
if (typeof navigator !== "undefined" && !!navigator && _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].isAvailable()) {
|
88021
|
+
vendor = navigator.userAgent || navigator.vendor || _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].hasOwn("opera");
|
87643
88022
|
}
|
87644
88023
|
(function (a) {
|
87645
88024
|
if (!a)
|
@@ -87658,7 +88037,7 @@ var mouseInfo = {
|
|
87658
88037
|
return !this.hasMouse && this.hasTouchEvent;
|
87659
88038
|
},
|
87660
88039
|
get hasTouchEvent() {
|
87661
|
-
return
|
88040
|
+
return _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].isAvailable() && (_global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].hasOwn("ontouchstart") || navigator.maxTouchPoints > 0);
|
87662
88041
|
},
|
87663
88042
|
hasMouse: true
|
87664
88043
|
};
|
@@ -87683,7 +88062,9 @@ function _setIsTouch(val) {
|
|
87683
88062
|
"use strict";
|
87684
88063
|
__webpack_require__.r(__webpack_exports__);
|
87685
88064
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragOrClickHelper", function() { return DragOrClickHelper; });
|
87686
|
-
/* harmony import */ var
|
88065
|
+
/* harmony import */ var _devices__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./devices */ "./src/utils/devices.ts");
|
88066
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
88067
|
+
|
87687
88068
|
|
87688
88069
|
var DragOrClickHelper = /** @class */ (function () {
|
87689
88070
|
function DragOrClickHelper(dragHandler) {
|
@@ -87703,7 +88084,7 @@ var DragOrClickHelper = /** @class */ (function () {
|
|
87703
88084
|
};
|
87704
88085
|
}
|
87705
88086
|
DragOrClickHelper.prototype.onPointerDown = function (pointerDownEvent, itemModel) {
|
87706
|
-
if (
|
88087
|
+
if (_devices__WEBPACK_IMPORTED_MODULE_0__["IsTouch"]) {
|
87707
88088
|
this.dragHandler(pointerDownEvent, pointerDownEvent.currentTarget, itemModel); //TODO handle inside in the library's drag drop core, need refactoring
|
87708
88089
|
return;
|
87709
88090
|
}
|
@@ -87711,7 +88092,7 @@ var DragOrClickHelper = /** @class */ (function () {
|
|
87711
88092
|
this.currentTarget = pointerDownEvent.currentTarget;
|
87712
88093
|
this.startX = pointerDownEvent.pageX;
|
87713
88094
|
this.startY = pointerDownEvent.pageY;
|
87714
|
-
|
88095
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].addEventListener("pointermove", this.tryToStartDrag);
|
87715
88096
|
this.currentTarget.addEventListener("pointerup", this.onPointerUp);
|
87716
88097
|
this.itemModel = itemModel;
|
87717
88098
|
};
|
@@ -87729,7 +88110,7 @@ var DragOrClickHelper = /** @class */ (function () {
|
|
87729
88110
|
DragOrClickHelper.prototype.clearListeners = function () {
|
87730
88111
|
if (!this.pointerDownEvent)
|
87731
88112
|
return;
|
87732
|
-
|
88113
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].removeEventListener("pointermove", this.tryToStartDrag);
|
87733
88114
|
this.currentTarget.removeEventListener("pointerup", this.onPointerUp);
|
87734
88115
|
};
|
87735
88116
|
return DragOrClickHelper;
|
@@ -87904,7 +88285,8 @@ var PopupUtils = /** @class */ (function () {
|
|
87904
88285
|
__webpack_require__.r(__webpack_exports__);
|
87905
88286
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResponsivityManager", function() { return ResponsivityManager; });
|
87906
88287
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VerticalResponsivityManager", function() { return VerticalResponsivityManager; });
|
87907
|
-
/* harmony import */ var
|
88288
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
88289
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ "./src/utils/utils.ts");
|
87908
88290
|
var __extends = (undefined && undefined.__extends) || (function () {
|
87909
88291
|
var extendStatics = function (d, b) {
|
87910
88292
|
extendStatics = Object.setPrototypeOf ||
|
@@ -87921,6 +88303,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
87921
88303
|
};
|
87922
88304
|
})();
|
87923
88305
|
|
88306
|
+
|
87924
88307
|
var ResponsivityManager = /** @class */ (function () {
|
87925
88308
|
function ResponsivityManager(container, model, itemsSelector, dotsItemSize, delayedUpdateFunction) {
|
87926
88309
|
var _this = this;
|
@@ -87938,7 +88321,9 @@ var ResponsivityManager = /** @class */ (function () {
|
|
87938
88321
|
this.paddingSizeConst = 8;
|
87939
88322
|
this.dotsSizeConst = 48;
|
87940
88323
|
this.recalcMinDimensionConst = true;
|
87941
|
-
this.getComputedStyle =
|
88324
|
+
this.getComputedStyle = function (elt) {
|
88325
|
+
return _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getComputedStyle(elt);
|
88326
|
+
};
|
87942
88327
|
this.model.updateCallback = function (isResetInitialized) {
|
87943
88328
|
if (isResetInitialized)
|
87944
88329
|
_this.isInitialized = false;
|
@@ -87946,7 +88331,7 @@ var ResponsivityManager = /** @class */ (function () {
|
|
87946
88331
|
};
|
87947
88332
|
if (typeof ResizeObserver !== "undefined") {
|
87948
88333
|
this.resizeObserver = new ResizeObserver(function (entries) {
|
87949
|
-
|
88334
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].requestAnimationFrame(function () {
|
87950
88335
|
_this.process();
|
87951
88336
|
});
|
87952
88337
|
});
|
@@ -88005,7 +88390,7 @@ var ResponsivityManager = /** @class */ (function () {
|
|
88005
88390
|
};
|
88006
88391
|
Object.defineProperty(ResponsivityManager.prototype, "isContainerVisible", {
|
88007
88392
|
get: function () {
|
88008
|
-
return Object(
|
88393
|
+
return Object(_utils__WEBPACK_IMPORTED_MODULE_1__["isContainerVisible"])(this.container);
|
88009
88394
|
},
|
88010
88395
|
enumerable: false,
|
88011
88396
|
configurable: true
|
@@ -88145,6 +88530,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
88145
88530
|
/* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../localizablestring */ "./src/localizablestring.ts");
|
88146
88531
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../settings */ "./src/settings.ts");
|
88147
88532
|
/* harmony import */ var _surveyStrings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../surveyStrings */ "./src/surveyStrings.ts");
|
88533
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
88534
|
+
|
88148
88535
|
|
88149
88536
|
|
88150
88537
|
|
@@ -88180,18 +88567,14 @@ function confirmActionAsync(message, funcOnYes, funcOnNo, locale, rootElement) {
|
|
88180
88567
|
callbackFunc(confirmAction(message));
|
88181
88568
|
}
|
88182
88569
|
function detectIEBrowser() {
|
88183
|
-
|
88184
|
-
return false;
|
88185
|
-
var ua = window.navigator.userAgent;
|
88570
|
+
var ua = navigator.userAgent;
|
88186
88571
|
var oldIe = ua.indexOf("MSIE ");
|
88187
88572
|
var elevenIe = ua.indexOf("Trident/");
|
88188
88573
|
return oldIe > -1 || elevenIe > -1;
|
88189
88574
|
}
|
88190
88575
|
function detectIEOrEdge() {
|
88191
|
-
if (typeof window === "undefined")
|
88192
|
-
return false;
|
88193
88576
|
if (typeof detectIEOrEdge.isIEOrEdge === "undefined") {
|
88194
|
-
var ua =
|
88577
|
+
var ua = navigator.userAgent;
|
88195
88578
|
var msie = ua.indexOf("MSIE ");
|
88196
88579
|
var trident = ua.indexOf("Trident/");
|
88197
88580
|
var edge = ua.indexOf("Edge/");
|
@@ -88215,16 +88598,14 @@ function loadFileFromBase64(b64Data, fileName) {
|
|
88215
88598
|
}
|
88216
88599
|
// write the ArrayBuffer to a blob, and you're done
|
88217
88600
|
var bb = new Blob([ab], { type: mimeString });
|
88218
|
-
if (
|
88219
|
-
|
88220
|
-
window.navigator["msSaveBlob"]) {
|
88221
|
-
window.navigator["msSaveOrOpenBlob"](bb, fileName);
|
88601
|
+
if (!!navigator && navigator["msSaveBlob"]) {
|
88602
|
+
navigator["msSaveOrOpenBlob"](bb, fileName);
|
88222
88603
|
}
|
88223
88604
|
}
|
88224
88605
|
catch (err) { }
|
88225
88606
|
}
|
88226
88607
|
function isMobile() {
|
88227
|
-
return (
|
88608
|
+
return (_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isAvailable() && _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].hasOwn("orientation"));
|
88228
88609
|
}
|
88229
88610
|
var isShadowDOM = function (rootElement) {
|
88230
88611
|
return !!rootElement && !!("host" in rootElement && rootElement.host);
|
@@ -88243,7 +88624,7 @@ function isElementVisible(element, threshold) {
|
|
88243
88624
|
? root.host.clientHeight
|
88244
88625
|
: root.documentElement.clientHeight;
|
88245
88626
|
var elementRect = element.getBoundingClientRect();
|
88246
|
-
var viewHeight = Math.max(clientHeight,
|
88627
|
+
var viewHeight = Math.max(clientHeight, _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].getInnerHeight());
|
88247
88628
|
var topWin = -threshold;
|
88248
88629
|
var bottomWin = viewHeight + threshold;
|
88249
88630
|
var topEl = elementRect.top;
|
@@ -88285,9 +88666,10 @@ function scrollElementByChildId(id) {
|
|
88285
88666
|
}
|
88286
88667
|
}
|
88287
88668
|
function navigateToUrl(url) {
|
88288
|
-
|
88669
|
+
var location = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].getLocation();
|
88670
|
+
if (!url || !location)
|
88289
88671
|
return;
|
88290
|
-
|
88672
|
+
location.href = url;
|
88291
88673
|
}
|
88292
88674
|
function wrapUrlForBackgroundImage(url) {
|
88293
88675
|
return !!url ? ["url(", url, ")"].join("") : "";
|
@@ -88317,7 +88699,7 @@ function createSvg(size, width, height, iconName, svgElem, title) {
|
|
88317
88699
|
}
|
88318
88700
|
else {
|
88319
88701
|
if (!titleElement) {
|
88320
|
-
titleElement =
|
88702
|
+
titleElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].getDocument().createElementNS("http://www.w3.org/2000/svg", "title");
|
88321
88703
|
svgElem.appendChild(titleElement);
|
88322
88704
|
}
|
88323
88705
|
}
|
@@ -88424,7 +88806,7 @@ function increaseHeightByContent(element, getComputedStyle) {
|
|
88424
88806
|
if (!element)
|
88425
88807
|
return;
|
88426
88808
|
if (!getComputedStyle)
|
88427
|
-
getComputedStyle = function (elt) { return
|
88809
|
+
getComputedStyle = function (elt) { return _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].getComputedStyle(elt); };
|
88428
88810
|
var style = getComputedStyle(element);
|
88429
88811
|
element.style.height = "auto";
|
88430
88812
|
if (!!element.scrollHeight) {
|
@@ -88471,8 +88853,8 @@ function findParentByClassNames(element, classNames) {
|
|
88471
88853
|
}
|
88472
88854
|
function sanitizeEditableContent(element, cleanLineBreaks) {
|
88473
88855
|
if (cleanLineBreaks === void 0) { cleanLineBreaks = true; }
|
88474
|
-
if (
|
88475
|
-
var selection =
|
88856
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isAvailable() && _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].isAvailable() && element.childNodes.length > 0) {
|
88857
|
+
var selection = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].getSelection();
|
88476
88858
|
if (selection.rangeCount == 0) {
|
88477
88859
|
return;
|
88478
88860
|
}
|
@@ -88490,14 +88872,19 @@ function sanitizeEditableContent(element, cleanLineBreaks) {
|
|
88490
88872
|
}
|
88491
88873
|
var tail_len = tail.length;
|
88492
88874
|
element.innerText = innerText;
|
88493
|
-
range =
|
88875
|
+
range = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].getDocument().createRange();
|
88494
88876
|
range.setStart(element.firstChild, 0);
|
88495
88877
|
range.setEnd(element.firstChild, 0);
|
88496
88878
|
selection.removeAllRanges();
|
88497
88879
|
selection.addRange(range);
|
88498
|
-
|
88499
|
-
selection.
|
88880
|
+
while (selection.toString().length < innerText.length - tail_len) {
|
88881
|
+
var selLen = selection.toString().length;
|
88882
|
+
selection.modify("extend", "forward", "character");
|
88883
|
+
if (selection.toString().length == selLen)
|
88884
|
+
break;
|
88500
88885
|
}
|
88886
|
+
range = selection.getRangeAt(0);
|
88887
|
+
range.setStart(range.endContainer, range.endOffset);
|
88501
88888
|
}
|
88502
88889
|
}
|
88503
88890
|
function mergeValues(src, dest) {
|
@@ -88566,11 +88953,11 @@ function configConfirmDialog(popupViewModel) {
|
|
88566
88953
|
popupViewModel.width = "min-content";
|
88567
88954
|
}
|
88568
88955
|
function chooseFiles(input, callback) {
|
88569
|
-
if (!
|
88956
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isFileReaderAvailable())
|
88570
88957
|
return;
|
88571
88958
|
input.value = "";
|
88572
88959
|
input.onchange = function (event) {
|
88573
|
-
if (!
|
88960
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isFileReaderAvailable())
|
88574
88961
|
return;
|
88575
88962
|
if (!input || !input.files || input.files.length < 1)
|
88576
88963
|
return;
|