survey-react 1.9.134 → 1.9.136
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 +73 -30
- 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 +331 -17
- package/survey.react.js +1001 -584
- 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.136
|
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
|
}
|
@@ -5502,6 +5503,9 @@ var defaultV2Css = {
|
|
5502
5503
|
progressButtonsContainerCenter: "sd-progress-buttons__container-center",
|
5503
5504
|
progressButtonsContainer: "sd-progress-buttons__container",
|
5504
5505
|
progressButtonsConnector: "sd-progress-buttons__connector",
|
5506
|
+
progressButtonsButton: "sd-progress-buttons__button",
|
5507
|
+
progressButtonsButtonBackground: "sd-progress-buttons__button-background",
|
5508
|
+
progressButtonsButtonContent: "sd-progress-buttons__button-content",
|
5505
5509
|
progressButtonsHeader: "sd-progress-buttons__header",
|
5506
5510
|
progressButtonsFooter: "sd-progress-buttons__footer",
|
5507
5511
|
progressButtonsImageButtonLeft: "sd-progress-buttons__image-button-left",
|
@@ -5592,7 +5596,8 @@ var defaultV2Css = {
|
|
5592
5596
|
html: {
|
5593
5597
|
mainRoot: "sd-question sd-row__question sd-question--html",
|
5594
5598
|
root: "sd-html",
|
5595
|
-
withFrame: ""
|
5599
|
+
withFrame: "",
|
5600
|
+
nested: "sd-element--nested sd-html--nested"
|
5596
5601
|
},
|
5597
5602
|
error: {
|
5598
5603
|
root: "sd-error",
|
@@ -5776,6 +5781,7 @@ var defaultV2Css = {
|
|
5776
5781
|
mainRoot: "sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",
|
5777
5782
|
tableWrapper: "sd-matrix sd-table-wrapper",
|
5778
5783
|
root: "sd-table sd-matrix__table",
|
5784
|
+
columnsAutoWidth: "sd-table--columnsautowidth",
|
5779
5785
|
noHeader: "sd-table--no-header",
|
5780
5786
|
rootVerticalAlignTop: "sd-table--align-top",
|
5781
5787
|
rootVerticalAlignMiddle: "sd-table--align-middle",
|
@@ -5804,6 +5810,7 @@ var defaultV2Css = {
|
|
5804
5810
|
mainRoot: "sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",
|
5805
5811
|
rootScroll: "sd-question--scroll",
|
5806
5812
|
root: "sd-table sd-matrixdropdown",
|
5813
|
+
columnsAutoWidth: "sd-table--columnsautowidth",
|
5807
5814
|
noHeader: "sd-table--no-header",
|
5808
5815
|
hasFooter: "sd-table--has-footer",
|
5809
5816
|
rootVerticalAlignTop: "sd-table--align-top",
|
@@ -5846,6 +5853,7 @@ var defaultV2Css = {
|
|
5846
5853
|
rootScroll: "sd-question--scroll",
|
5847
5854
|
empty: "sd-question--empty",
|
5848
5855
|
root: "sd-table sd-matrixdynamic",
|
5856
|
+
columnsAutoWidth: "sd-table--columnsautowidth",
|
5849
5857
|
noHeader: "sd-table--no-header",
|
5850
5858
|
hasFooter: "sd-table--has-footer",
|
5851
5859
|
tableWrapper: "sd-table-wrapper",
|
@@ -6628,6 +6636,7 @@ var DragDropPanelHelperV1 = /** @class */ (function () {
|
|
6628
6636
|
__webpack_require__.r(__webpack_exports__);
|
6629
6637
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragDropChoices", function() { return DragDropChoices; });
|
6630
6638
|
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core */ "./src/dragdrop/core.ts");
|
6639
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
6631
6640
|
var __extends = (undefined && undefined.__extends) || (function () {
|
6632
6641
|
var extendStatics = function (d, b) {
|
6633
6642
|
extendStatics = Object.setPrototypeOf ||
|
@@ -6644,6 +6653,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
6644
6653
|
};
|
6645
6654
|
})();
|
6646
6655
|
|
6656
|
+
|
6647
6657
|
var DragDropChoices = /** @class */ (function (_super) {
|
6648
6658
|
__extends(DragDropChoices, _super);
|
6649
6659
|
function DragDropChoices() {
|
@@ -6673,7 +6683,9 @@ var DragDropChoices = /** @class */ (function (_super) {
|
|
6673
6683
|
if (this.parentElement.getType() === "imagepicker") {
|
6674
6684
|
return this.createImagePickerShortcut(this.draggedElement, text, draggedElementNode, event);
|
6675
6685
|
}
|
6676
|
-
var draggedElementShortcut =
|
6686
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("div");
|
6687
|
+
if (!draggedElementShortcut)
|
6688
|
+
return;
|
6677
6689
|
// draggedElementShortcut.innerText = text;
|
6678
6690
|
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
6691
|
var isDeepClone = true;
|
@@ -6697,7 +6709,9 @@ var DragDropChoices = /** @class */ (function (_super) {
|
|
6697
6709
|
return draggedElementShortcut;
|
6698
6710
|
};
|
6699
6711
|
DragDropChoices.prototype.createImagePickerShortcut = function (item, text, draggedElementNode, event) {
|
6700
|
-
var draggedElementShortcut =
|
6712
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("div");
|
6713
|
+
if (!draggedElementShortcut)
|
6714
|
+
return;
|
6701
6715
|
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
6716
|
var itemValueNode = draggedElementNode.closest("[data-sv-drop-target-item-value]");
|
6703
6717
|
this.imagepickerControlsNode = itemValueNode.querySelector(".svc-image-item-value-controls");
|
@@ -6825,6 +6839,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
6825
6839
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragDropCore", function() { return DragDropCore; });
|
6826
6840
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../base */ "./src/base.ts");
|
6827
6841
|
/* harmony import */ var _dom_adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dom-adapter */ "./src/dragdrop/dom-adapter.ts");
|
6842
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
6843
|
+
|
6828
6844
|
|
6829
6845
|
|
6830
6846
|
var DragDropCore = /** @class */ (function () {
|
@@ -6906,9 +6922,11 @@ var DragDropCore = /** @class */ (function () {
|
|
6906
6922
|
return draggedElement.shortcutText;
|
6907
6923
|
};
|
6908
6924
|
DragDropCore.prototype.createDraggedElementShortcut = function (text, draggedElementNode, event) {
|
6909
|
-
var draggedElementShortcut =
|
6910
|
-
draggedElementShortcut
|
6911
|
-
|
6925
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].createElement("div");
|
6926
|
+
if (!!draggedElementShortcut) {
|
6927
|
+
draggedElementShortcut.innerText = text;
|
6928
|
+
draggedElementShortcut.className = this.getDraggedElementClass();
|
6929
|
+
}
|
6912
6930
|
return draggedElementShortcut;
|
6913
6931
|
};
|
6914
6932
|
DragDropCore.prototype.getDraggedElementClass = function () {
|
@@ -6920,7 +6938,9 @@ var DragDropCore = /** @class */ (function () {
|
|
6920
6938
|
var displayProp = this.domAdapter.draggedElementShortcut.style.display;
|
6921
6939
|
//this.domAdapter.draggedElementShortcut.hidden = true;
|
6922
6940
|
this.domAdapter.draggedElementShortcut.style.display = "none";
|
6923
|
-
|
6941
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].isAvailable())
|
6942
|
+
return null;
|
6943
|
+
var dragOverNode = this.domAdapter.documentOrShadowRoot.elementFromPoint(clientX, clientY);
|
6924
6944
|
// this.domAdapter.draggedElementShortcut.hidden = false;
|
6925
6945
|
this.domAdapter.draggedElementShortcut.style.display = displayProp || "block";
|
6926
6946
|
if (!dragOverNode)
|
@@ -7020,6 +7040,7 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
|
|
7020
7040
|
to[j] = from[i];
|
7021
7041
|
return to;
|
7022
7042
|
};
|
7043
|
+
/* eslint-disable no-restricted-globals */
|
7023
7044
|
|
7024
7045
|
|
7025
7046
|
|
@@ -7106,10 +7127,17 @@ var DragDropDOMAdapter = /** @class */ (function () {
|
|
7106
7127
|
};
|
7107
7128
|
this.draggedElementShortcut = null;
|
7108
7129
|
}
|
7130
|
+
Object.defineProperty(DragDropDOMAdapter.prototype, "documentOrShadowRoot", {
|
7131
|
+
get: function () {
|
7132
|
+
return _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root;
|
7133
|
+
},
|
7134
|
+
enumerable: false,
|
7135
|
+
configurable: true
|
7136
|
+
});
|
7109
7137
|
Object.defineProperty(DragDropDOMAdapter.prototype, "rootElement", {
|
7110
7138
|
get: function () {
|
7111
7139
|
if (Object(_utils_utils__WEBPACK_IMPORTED_MODULE_0__["isShadowDOM"])(_settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root)) {
|
7112
|
-
return _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root.host;
|
7140
|
+
return this.rootContainer || _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root.host;
|
7113
7141
|
}
|
7114
7142
|
else {
|
7115
7143
|
return this.rootContainer || _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root.documentElement || document.body;
|
@@ -7234,7 +7262,7 @@ var DragDropDOMAdapter = /** @class */ (function () {
|
|
7234
7262
|
var displayProp = this.draggedElementShortcut.style.display;
|
7235
7263
|
//this.draggedElementShortcut.hidden = true;
|
7236
7264
|
this.draggedElementShortcut.style.display = "none";
|
7237
|
-
var dragOverNode =
|
7265
|
+
var dragOverNode = this.documentOrShadowRoot.elementFromPoint(clientX, clientY);
|
7238
7266
|
//this.draggedElementShortcut.hidden = false;
|
7239
7267
|
this.draggedElementShortcut.style.display = displayProp || "block";
|
7240
7268
|
var scrollableParentNode = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_0__["findScrollableParent"])(dragOverNode);
|
@@ -7331,7 +7359,8 @@ var DragDropDOMAdapter = /** @class */ (function () {
|
|
7331
7359
|
"use strict";
|
7332
7360
|
__webpack_require__.r(__webpack_exports__);
|
7333
7361
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragDropMatrixRows", function() { return DragDropMatrixRows; });
|
7334
|
-
/* harmony import */ var
|
7362
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
7363
|
+
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core */ "./src/dragdrop/core.ts");
|
7335
7364
|
var __extends = (undefined && undefined.__extends) || (function () {
|
7336
7365
|
var extendStatics = function (d, b) {
|
7337
7366
|
extendStatics = Object.setPrototypeOf ||
|
@@ -7348,6 +7377,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
7348
7377
|
};
|
7349
7378
|
})();
|
7350
7379
|
|
7380
|
+
|
7351
7381
|
var DragDropMatrixRows = /** @class */ (function (_super) {
|
7352
7382
|
__extends(DragDropMatrixRows, _super);
|
7353
7383
|
function DragDropMatrixRows() {
|
@@ -7368,12 +7398,17 @@ var DragDropMatrixRows = /** @class */ (function (_super) {
|
|
7368
7398
|
configurable: true
|
7369
7399
|
});
|
7370
7400
|
DragDropMatrixRows.prototype.onStartDrag = function () {
|
7371
|
-
|
7372
|
-
|
7401
|
+
var _body = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
7402
|
+
if (!!_body) {
|
7403
|
+
this.restoreUserSelectValue = _body.style.userSelect;
|
7404
|
+
_body.style.userSelect = "none";
|
7405
|
+
}
|
7373
7406
|
};
|
7374
7407
|
DragDropMatrixRows.prototype.createDraggedElementShortcut = function (text, draggedElementNode, event) {
|
7375
7408
|
var _this = this;
|
7376
|
-
var draggedElementShortcut =
|
7409
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("div");
|
7410
|
+
if (!draggedElementShortcut)
|
7411
|
+
return;
|
7377
7412
|
// draggedElementShortcut.innerText = text;
|
7378
7413
|
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
7414
|
var isDeepClone = true;
|
@@ -7477,11 +7512,14 @@ var DragDropMatrixRows = /** @class */ (function (_super) {
|
|
7477
7512
|
this.parentElement.clearOnDrop();
|
7478
7513
|
this.fromIndex = null;
|
7479
7514
|
this.toIndex = null;
|
7480
|
-
|
7515
|
+
var _body = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
7516
|
+
if (!!_body) {
|
7517
|
+
_body.style.userSelect = this.restoreUserSelectValue || "initial";
|
7518
|
+
}
|
7481
7519
|
_super.prototype.clear.call(this);
|
7482
7520
|
};
|
7483
7521
|
return DragDropMatrixRows;
|
7484
|
-
}(
|
7522
|
+
}(_core__WEBPACK_IMPORTED_MODULE_1__["DragDropCore"]));
|
7485
7523
|
|
7486
7524
|
|
7487
7525
|
|
@@ -7500,6 +7538,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
7500
7538
|
/* harmony import */ var _choices__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./choices */ "./src/dragdrop/choices.ts");
|
7501
7539
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
7502
7540
|
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/devices */ "./src/utils/devices.ts");
|
7541
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
7503
7542
|
var __extends = (undefined && undefined.__extends) || (function () {
|
7504
7543
|
var extendStatics = function (d, b) {
|
7505
7544
|
extendStatics = Object.setPrototypeOf ||
|
@@ -7518,6 +7557,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
7518
7557
|
|
7519
7558
|
|
7520
7559
|
|
7560
|
+
|
7521
7561
|
var DragDropRankingChoices = /** @class */ (function (_super) {
|
7522
7562
|
__extends(DragDropRankingChoices, _super);
|
7523
7563
|
function DragDropRankingChoices() {
|
@@ -7549,7 +7589,9 @@ var DragDropRankingChoices = /** @class */ (function (_super) {
|
|
7549
7589
|
configurable: true
|
7550
7590
|
});
|
7551
7591
|
DragDropRankingChoices.prototype.createDraggedElementShortcut = function (text, draggedElementNode, event) {
|
7552
|
-
var draggedElementShortcut =
|
7592
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].createElement("div");
|
7593
|
+
if (!draggedElementShortcut)
|
7594
|
+
return;
|
7553
7595
|
draggedElementShortcut.className = this.shortcutClass + " sv-ranking-shortcut";
|
7554
7596
|
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
7597
|
var isDeepClone = true;
|
@@ -7837,15 +7879,16 @@ var DragDropRankingSelectToRank = /** @class */ (function (_super) {
|
|
7837
7879
|
__webpack_require__.r(__webpack_exports__);
|
7838
7880
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DropdownListModel", function() { return DropdownListModel; });
|
7839
7881
|
/* 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
|
7882
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
7883
|
+
/* harmony import */ var _itemvalue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./itemvalue */ "./src/itemvalue.ts");
|
7884
|
+
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
7885
|
+
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./list */ "./src/list.ts");
|
7886
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
7887
|
+
/* harmony import */ var _question_dropdown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./question_dropdown */ "./src/question_dropdown.ts");
|
7888
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
7889
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
7890
|
+
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
7891
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
7849
7892
|
var __extends = (undefined && undefined.__extends) || (function () {
|
7850
7893
|
var extendStatics = function (d, b) {
|
7851
7894
|
extendStatics = Object.setPrototypeOf ||
|
@@ -7877,6 +7920,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
7877
7920
|
|
7878
7921
|
|
7879
7922
|
|
7923
|
+
|
7880
7924
|
var DropdownListModel = /** @class */ (function (_super) {
|
7881
7925
|
__extends(DropdownListModel, _super);
|
7882
7926
|
function DropdownListModel(question, onSelectionChanged) {
|
@@ -7900,14 +7944,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7900
7944
|
_this.qustionPropertyChangedHandler = function (sender, options) {
|
7901
7945
|
_this.onPropertyChangedHandler(sender, options);
|
7902
7946
|
};
|
7903
|
-
|
7904
|
-
_this.htmlCleanerElement = document.createElement("div");
|
7905
|
-
}
|
7947
|
+
_this.htmlCleanerElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("div");
|
7906
7948
|
question.onPropertyChanged.add(_this.qustionPropertyChangedHandler);
|
7907
7949
|
_this.showInputFieldComponent = _this.question.showInputFieldComponent;
|
7908
7950
|
_this.listModel = _this.createListModel();
|
7909
7951
|
_this.updateAfterListModelCreated(_this.listModel);
|
7910
7952
|
_this.setSearchEnabled(_this.question.searchEnabled);
|
7953
|
+
_this.setTextWrapEnabled(_this.question.textWrapEnabled);
|
7911
7954
|
_this.createPopup();
|
7912
7955
|
_this.resetItemsSettings();
|
7913
7956
|
return _this;
|
@@ -7920,7 +7963,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7920
7963
|
configurable: true
|
7921
7964
|
});
|
7922
7965
|
DropdownListModel.prototype.getFocusFirstInputSelector = function () {
|
7923
|
-
if (
|
7966
|
+
if (_utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"]) {
|
7924
7967
|
return this.isValueEmpty(this.question.value) ? this.itemSelector : this.selectedItemSelector;
|
7925
7968
|
}
|
7926
7969
|
else {
|
@@ -7968,12 +8011,12 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
7968
8011
|
};
|
7969
8012
|
DropdownListModel.prototype.createPopup = function () {
|
7970
8013
|
var _this = this;
|
7971
|
-
this._popupModel = new
|
7972
|
-
this._popupModel.displayMode =
|
8014
|
+
this._popupModel = new _popup__WEBPACK_IMPORTED_MODULE_5__["PopupModel"]("sv-list", { model: this.listModel }, "bottom", "center", false);
|
8015
|
+
this._popupModel.displayMode = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"] ? "overlay" : "popup";
|
7973
8016
|
this._popupModel.positionMode = "fixed";
|
7974
8017
|
this._popupModel.isFocusedContainer = false;
|
7975
|
-
this._popupModel.isFocusedContent =
|
7976
|
-
this._popupModel.setWidthByTarget = !
|
8018
|
+
this._popupModel.isFocusedContent = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
8019
|
+
this._popupModel.setWidthByTarget = !_utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
7977
8020
|
this.updatePopupFocusFirstInputSelector();
|
7978
8021
|
this.listModel.registerPropertyChangedHandlers(["showFilter"], function () {
|
7979
8022
|
_this.updatePopupFocusFirstInputSelector();
|
@@ -8015,6 +8058,9 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8015
8058
|
this.listModel.focusFirstVisibleItem();
|
8016
8059
|
}
|
8017
8060
|
};
|
8061
|
+
DropdownListModel.prototype.setTextWrapEnabled = function (newValue) {
|
8062
|
+
this.listModel.textWrapEnabled = newValue;
|
8063
|
+
};
|
8018
8064
|
DropdownListModel.prototype.popupRecalculatePosition = function (isResetHeight) {
|
8019
8065
|
var _this = this;
|
8020
8066
|
setTimeout(function () {
|
@@ -8035,7 +8081,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8035
8081
|
if (_this.filteredItems)
|
8036
8082
|
return _this.filteredItems.indexOf(item) >= 0;
|
8037
8083
|
var textInLow = item.text.toLocaleLowerCase();
|
8038
|
-
textInLow =
|
8084
|
+
textInLow = _settings__WEBPACK_IMPORTED_MODULE_7__["settings"].comparator.normalizeTextCallback(textInLow, "filter");
|
8039
8085
|
var index = textInLow.indexOf(textToSearch.toLocaleLowerCase());
|
8040
8086
|
return _this.question.searchMode == "startsWith" ? index == 0 : index > -1;
|
8041
8087
|
});
|
@@ -8052,7 +8098,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8052
8098
|
_this.popupModel.isVisible = false;
|
8053
8099
|
};
|
8054
8100
|
}
|
8055
|
-
var res = new
|
8101
|
+
var res = new _list__WEBPACK_IMPORTED_MODULE_4__["ListModel"](visibleItems, _onSelectionChanged, false, undefined, this.question.choicesLazyLoadEnabled ? this.listModelFilterStringChanged : undefined, this.listElementId);
|
8056
8102
|
this.setOnTextSearchCallbackForListModel(res);
|
8057
8103
|
res.renderElements = false;
|
8058
8104
|
res.forceShowFilter = true;
|
@@ -8073,7 +8119,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8073
8119
|
model.isAllDataLoaded = !this.question.choicesLazyLoadEnabled;
|
8074
8120
|
};
|
8075
8121
|
DropdownListModel.prototype.updateCssClasses = function (popupCssClass, listCssClasses) {
|
8076
|
-
this.popupModel.cssClass = new
|
8122
|
+
this.popupModel.cssClass = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_8__["CssClassBuilder"]().append(popupCssClass).append(this.popupCssClasses).toString();
|
8077
8123
|
this.listModel.cssClasses = listCssClasses;
|
8078
8124
|
};
|
8079
8125
|
DropdownListModel.prototype.resetFilterString = function () {
|
@@ -8274,14 +8320,14 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8274
8320
|
});
|
8275
8321
|
Object.defineProperty(DropdownListModel.prototype, "inputMode", {
|
8276
8322
|
get: function () {
|
8277
|
-
return
|
8323
|
+
return _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"] ? "none" : "text";
|
8278
8324
|
},
|
8279
8325
|
enumerable: false,
|
8280
8326
|
configurable: true
|
8281
8327
|
});
|
8282
8328
|
DropdownListModel.prototype.setSearchEnabled = function (newValue) {
|
8283
|
-
this.listModel.searchEnabled =
|
8284
|
-
this.listModel.showSearchClearButton =
|
8329
|
+
this.listModel.searchEnabled = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
8330
|
+
this.listModel.showSearchClearButton = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
8285
8331
|
this.searchEnabled = newValue;
|
8286
8332
|
};
|
8287
8333
|
DropdownListModel.prototype.updateItems = function () {
|
@@ -8306,6 +8352,9 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8306
8352
|
if (options.name == "choicesLazyLoadEnabled" && options.newValue) {
|
8307
8353
|
this.listModel.setOnFilterStringChangedCallback(this.listModelFilterStringChanged);
|
8308
8354
|
}
|
8355
|
+
if (options.name == "textWrapEnabled") {
|
8356
|
+
this.setTextWrapEnabled(options.newValue);
|
8357
|
+
}
|
8309
8358
|
};
|
8310
8359
|
DropdownListModel.prototype.focusItemOnClickAndPopup = function () {
|
8311
8360
|
if (this._popupModel.isVisible && this.question.value)
|
@@ -8326,7 +8375,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8326
8375
|
var _a;
|
8327
8376
|
var focusedItem = this.listModel.focusedItem;
|
8328
8377
|
if (!focusedItem && this.question.selectedItem) {
|
8329
|
-
if (
|
8378
|
+
if (_itemvalue__WEBPACK_IMPORTED_MODULE_2__["ItemValue"].getItemByValue(this.question.visibleChoices, this.question.value)) {
|
8330
8379
|
this.listModel.focusedItem = this.question.selectedItem;
|
8331
8380
|
}
|
8332
8381
|
}
|
@@ -8391,7 +8440,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8391
8440
|
event.stopPropagation();
|
8392
8441
|
}
|
8393
8442
|
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
|
8443
|
+
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
8444
|
this._popupModel.isVisible = false;
|
8396
8445
|
this.onClear(event);
|
8397
8446
|
}
|
@@ -8420,7 +8469,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8420
8469
|
if (event.keyCode === 32 && this.question.searchEnabled) {
|
8421
8470
|
return;
|
8422
8471
|
}
|
8423
|
-
Object(
|
8472
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_10__["doKey2ClickUp"])(event, { processEsc: false, disableTabStop: this.question.isInputReadOnly });
|
8424
8473
|
}
|
8425
8474
|
};
|
8426
8475
|
DropdownListModel.prototype.onEscape = function () {
|
@@ -8435,11 +8484,11 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8435
8484
|
};
|
8436
8485
|
DropdownListModel.prototype.onBlur = function (event) {
|
8437
8486
|
this.focused = false;
|
8438
|
-
if (this.popupModel.isVisible &&
|
8487
|
+
if (this.popupModel.isVisible && _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"]) {
|
8439
8488
|
this._popupModel.isVisible = true;
|
8440
8489
|
return;
|
8441
8490
|
}
|
8442
|
-
Object(
|
8491
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_10__["doKey2ClickBlur"])(event);
|
8443
8492
|
this._popupModel.isVisible = false;
|
8444
8493
|
this.resetFilterString();
|
8445
8494
|
this.inputString = null;
|
@@ -8475,13 +8524,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8475
8524
|
this.listModel.scrollToFocusedItem();
|
8476
8525
|
};
|
8477
8526
|
__decorate([
|
8478
|
-
Object(
|
8527
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({ defaultValue: false })
|
8479
8528
|
], DropdownListModel.prototype, "focused", void 0);
|
8480
8529
|
__decorate([
|
8481
|
-
Object(
|
8530
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({ defaultValue: true })
|
8482
8531
|
], DropdownListModel.prototype, "searchEnabled", void 0);
|
8483
8532
|
__decorate([
|
8484
|
-
Object(
|
8533
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({
|
8485
8534
|
defaultValue: "",
|
8486
8535
|
onSet: function (_, target) {
|
8487
8536
|
target.onSetFilterString();
|
@@ -8489,7 +8538,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8489
8538
|
})
|
8490
8539
|
], DropdownListModel.prototype, "filterString", void 0);
|
8491
8540
|
__decorate([
|
8492
|
-
Object(
|
8541
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({
|
8493
8542
|
defaultValue: "",
|
8494
8543
|
onSet: function (newValue, target) {
|
8495
8544
|
target.question.inputHasValue = !!newValue;
|
@@ -8497,13 +8546,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8497
8546
|
})
|
8498
8547
|
], DropdownListModel.prototype, "inputString", void 0);
|
8499
8548
|
__decorate([
|
8500
|
-
Object(
|
8549
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({})
|
8501
8550
|
], DropdownListModel.prototype, "showInputFieldComponent", void 0);
|
8502
8551
|
__decorate([
|
8503
|
-
Object(
|
8552
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])()
|
8504
8553
|
], DropdownListModel.prototype, "ariaActivedescendant", void 0);
|
8505
8554
|
__decorate([
|
8506
|
-
Object(
|
8555
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({
|
8507
8556
|
defaultValue: false,
|
8508
8557
|
onSet: function (newVal, target) {
|
8509
8558
|
if (newVal) {
|
@@ -8516,7 +8565,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
8516
8565
|
})
|
8517
8566
|
], DropdownListModel.prototype, "hasScroll", void 0);
|
8518
8567
|
__decorate([
|
8519
|
-
Object(
|
8568
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({ defaultValue: "" })
|
8520
8569
|
], DropdownListModel.prototype, "hintString", void 0);
|
8521
8570
|
return DropdownListModel;
|
8522
8571
|
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
|
@@ -8908,6 +8957,8 @@ var dxSurveyService = /** @class */ (function () {
|
|
8908
8957
|
"use strict";
|
8909
8958
|
__webpack_require__.r(__webpack_exports__);
|
8910
8959
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ElementHelper", function() { return ElementHelper; });
|
8960
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
8961
|
+
|
8911
8962
|
var ElementHelper = /** @class */ (function () {
|
8912
8963
|
function ElementHelper() {
|
8913
8964
|
}
|
@@ -8915,7 +8966,7 @@ var ElementHelper = /** @class */ (function () {
|
|
8915
8966
|
element && element.focus();
|
8916
8967
|
};
|
8917
8968
|
ElementHelper.visibility = function (node) {
|
8918
|
-
var style =
|
8969
|
+
var style = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getComputedStyle(node);
|
8919
8970
|
if (style.display === "none" || style.visibility === "hidden")
|
8920
8971
|
return false;
|
8921
8972
|
return node.parentElement ? this.visibility(node.parentElement) : true;
|
@@ -9083,493 +9134,495 @@ __webpack_require__.r(__webpack_exports__);
|
|
9083
9134
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return setLicenseKey; });
|
9084
9135
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "slk", function() { return slk; });
|
9085
9136
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasLicense", function() { return hasLicense; });
|
9086
|
-
/* harmony import */ var
|
9087
|
-
/* harmony
|
9137
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../global_variables_utils */ "./src/global_variables_utils.ts");
|
9138
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../settings */ "./src/settings.ts");
|
9139
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return _settings__WEBPACK_IMPORTED_MODULE_1__["settings"]; });
|
9088
9140
|
|
9089
|
-
/* harmony import */ var
|
9090
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Helpers", function() { return
|
9141
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers */ "./src/helpers.ts");
|
9142
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Helpers", function() { return _helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"]; });
|
9091
9143
|
|
9092
|
-
/* harmony import */ var
|
9093
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerCountValidator", function() { return
|
9144
|
+
/* harmony import */ var _validator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../validator */ "./src/validator.ts");
|
9145
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerCountValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["AnswerCountValidator"]; });
|
9094
9146
|
|
9095
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EmailValidator", function() { return
|
9147
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EmailValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["EmailValidator"]; });
|
9096
9148
|
|
9097
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NumericValidator", function() { return
|
9149
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NumericValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["NumericValidator"]; });
|
9098
9150
|
|
9099
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RegexValidator", function() { return
|
9151
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RegexValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["RegexValidator"]; });
|
9100
9152
|
|
9101
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyValidator", function() { return
|
9153
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["SurveyValidator"]; });
|
9102
9154
|
|
9103
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextValidator", function() { return
|
9155
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["TextValidator"]; });
|
9104
9156
|
|
9105
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorResult", function() { return
|
9157
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorResult", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["ValidatorResult"]; });
|
9106
9158
|
|
9107
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionValidator", function() { return
|
9159
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["ExpressionValidator"]; });
|
9108
9160
|
|
9109
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorRunner", function() { return
|
9161
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorRunner", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["ValidatorRunner"]; });
|
9110
9162
|
|
9111
|
-
/* harmony import */ var
|
9112
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ItemValue", function() { return
|
9163
|
+
/* harmony import */ var _itemvalue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../itemvalue */ "./src/itemvalue.ts");
|
9164
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ItemValue", function() { return _itemvalue__WEBPACK_IMPORTED_MODULE_4__["ItemValue"]; });
|
9113
9165
|
|
9114
|
-
/* harmony import */ var
|
9115
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Base", function() { return
|
9166
|
+
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../base */ "./src/base.ts");
|
9167
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Base", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["Base"]; });
|
9116
9168
|
|
9117
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Event", function() { return
|
9169
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Event", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["Event"]; });
|
9118
9170
|
|
9119
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EventBase", function() { return
|
9171
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EventBase", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["EventBase"]; });
|
9120
9172
|
|
9121
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayChanges", function() { return
|
9173
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayChanges", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["ArrayChanges"]; });
|
9122
9174
|
|
9123
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComputedUpdater", function() { return
|
9175
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComputedUpdater", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["ComputedUpdater"]; });
|
9124
9176
|
|
9125
|
-
/* harmony import */ var
|
9126
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyError", function() { return
|
9177
|
+
/* harmony import */ var _survey_error__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../survey-error */ "./src/survey-error.ts");
|
9178
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyError", function() { return _survey_error__WEBPACK_IMPORTED_MODULE_6__["SurveyError"]; });
|
9127
9179
|
|
9128
|
-
/* harmony import */ var
|
9129
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElementCore", function() { return
|
9180
|
+
/* harmony import */ var _survey_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../survey-element */ "./src/survey-element.ts");
|
9181
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElementCore", function() { return _survey_element__WEBPACK_IMPORTED_MODULE_7__["SurveyElementCore"]; });
|
9130
9182
|
|
9131
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElement", function() { return
|
9183
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElement", function() { return _survey_element__WEBPACK_IMPORTED_MODULE_7__["SurveyElement"]; });
|
9132
9184
|
|
9133
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragTypeOverMeEnum", function() { return
|
9185
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragTypeOverMeEnum", function() { return _survey_element__WEBPACK_IMPORTED_MODULE_7__["DragTypeOverMeEnum"]; });
|
9134
9186
|
|
9135
|
-
/* harmony import */ var
|
9136
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CalculatedValue", function() { return
|
9187
|
+
/* harmony import */ var _calculatedValue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../calculatedValue */ "./src/calculatedValue.ts");
|
9188
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CalculatedValue", function() { return _calculatedValue__WEBPACK_IMPORTED_MODULE_8__["CalculatedValue"]; });
|
9137
9189
|
|
9138
|
-
/* harmony import */ var
|
9139
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomError", function() { return
|
9190
|
+
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../error */ "./src/error.ts");
|
9191
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["CustomError"]; });
|
9140
9192
|
|
9141
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerRequiredError", function() { return
|
9193
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerRequiredError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["AnswerRequiredError"]; });
|
9142
9194
|
|
9143
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OneAnswerRequiredError", function() { return
|
9195
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OneAnswerRequiredError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["OneAnswerRequiredError"]; });
|
9144
9196
|
|
9145
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RequreNumericError", function() { return
|
9197
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RequreNumericError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["RequreNumericError"]; });
|
9146
9198
|
|
9147
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExceedSizeError", function() { return
|
9199
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExceedSizeError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["ExceedSizeError"]; });
|
9148
9200
|
|
9149
|
-
/* harmony import */ var
|
9150
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableString", function() { return
|
9201
|
+
/* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../localizablestring */ "./src/localizablestring.ts");
|
9202
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableString", function() { return _localizablestring__WEBPACK_IMPORTED_MODULE_10__["LocalizableString"]; });
|
9151
9203
|
|
9152
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableStrings", function() { return
|
9204
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableStrings", function() { return _localizablestring__WEBPACK_IMPORTED_MODULE_10__["LocalizableStrings"]; });
|
9153
9205
|
|
9154
|
-
/* harmony import */ var
|
9155
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HtmlConditionItem", function() { return
|
9206
|
+
/* harmony import */ var _expressionItems__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../expressionItems */ "./src/expressionItems.ts");
|
9207
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HtmlConditionItem", function() { return _expressionItems__WEBPACK_IMPORTED_MODULE_11__["HtmlConditionItem"]; });
|
9156
9208
|
|
9157
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UrlConditionItem", function() { return
|
9209
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UrlConditionItem", function() { return _expressionItems__WEBPACK_IMPORTED_MODULE_11__["UrlConditionItem"]; });
|
9158
9210
|
|
9159
|
-
/* harmony import */ var
|
9160
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestful", function() { return
|
9211
|
+
/* harmony import */ var _choicesRestful__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../choicesRestful */ "./src/choicesRestful.ts");
|
9212
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestful", function() { return _choicesRestful__WEBPACK_IMPORTED_MODULE_12__["ChoicesRestful"]; });
|
9161
9213
|
|
9162
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestfull", function() { return
|
9214
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestfull", function() { return _choicesRestful__WEBPACK_IMPORTED_MODULE_12__["ChoicesRestfull"]; });
|
9163
9215
|
|
9164
|
-
/* harmony import */ var
|
9165
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionFactory", function() { return
|
9216
|
+
/* harmony import */ var _functionsfactory__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../functionsfactory */ "./src/functionsfactory.ts");
|
9217
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionFactory", function() { return _functionsfactory__WEBPACK_IMPORTED_MODULE_13__["FunctionFactory"]; });
|
9166
9218
|
|
9167
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "registerFunction", function() { return
|
9219
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "registerFunction", function() { return _functionsfactory__WEBPACK_IMPORTED_MODULE_13__["registerFunction"]; });
|
9168
9220
|
|
9169
|
-
/* harmony import */ var
|
9170
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionRunner", function() { return
|
9221
|
+
/* harmony import */ var _conditions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../conditions */ "./src/conditions.ts");
|
9222
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionRunner", function() { return _conditions__WEBPACK_IMPORTED_MODULE_14__["ConditionRunner"]; });
|
9171
9223
|
|
9172
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionRunner", function() { return
|
9224
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionRunner", function() { return _conditions__WEBPACK_IMPORTED_MODULE_14__["ExpressionRunner"]; });
|
9173
9225
|
|
9174
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionExecutor", function() { return
|
9226
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionExecutor", function() { return _conditions__WEBPACK_IMPORTED_MODULE_14__["ExpressionExecutor"]; });
|
9175
9227
|
|
9176
|
-
/* harmony import */ var
|
9177
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Operand", function() { return
|
9228
|
+
/* harmony import */ var _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../expressions/expressions */ "./src/expressions/expressions.ts");
|
9229
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Operand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["Operand"]; });
|
9178
9230
|
|
9179
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Const", function() { return
|
9231
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Const", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["Const"]; });
|
9180
9232
|
|
9181
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BinaryOperand", function() { return
|
9233
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BinaryOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["BinaryOperand"]; });
|
9182
9234
|
|
9183
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Variable", function() { return
|
9235
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Variable", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["Variable"]; });
|
9184
9236
|
|
9185
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionOperand", function() { return
|
9237
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["FunctionOperand"]; });
|
9186
9238
|
|
9187
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayOperand", function() { return
|
9239
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["ArrayOperand"]; });
|
9188
9240
|
|
9189
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnaryOperand", function() { return
|
9241
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnaryOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["UnaryOperand"]; });
|
9190
9242
|
|
9191
|
-
/* harmony import */ var
|
9192
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionsParser", function() { return
|
9243
|
+
/* harmony import */ var _conditionsParser__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../conditionsParser */ "./src/conditionsParser.ts");
|
9244
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionsParser", function() { return _conditionsParser__WEBPACK_IMPORTED_MODULE_16__["ConditionsParser"]; });
|
9193
9245
|
|
9194
|
-
/* harmony import */ var
|
9195
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProcessValue", function() { return
|
9246
|
+
/* harmony import */ var _conditionProcessValue__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../conditionProcessValue */ "./src/conditionProcessValue.ts");
|
9247
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProcessValue", function() { return _conditionProcessValue__WEBPACK_IMPORTED_MODULE_17__["ProcessValue"]; });
|
9196
9248
|
|
9197
|
-
/* harmony import */ var
|
9198
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonError", function() { return
|
9249
|
+
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../jsonobject */ "./src/jsonobject.ts");
|
9250
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonError"]; });
|
9199
9251
|
|
9200
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonIncorrectTypeError", function() { return
|
9252
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonIncorrectTypeError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonIncorrectTypeError"]; });
|
9201
9253
|
|
9202
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadata", function() { return
|
9254
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadata", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMetadata"]; });
|
9203
9255
|
|
9204
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadataClass", function() { return
|
9256
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadataClass", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMetadataClass"]; });
|
9205
9257
|
|
9206
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeError", function() { return
|
9258
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMissingTypeError"]; });
|
9207
9259
|
|
9208
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeErrorBase", function() { return
|
9260
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeErrorBase", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMissingTypeErrorBase"]; });
|
9209
9261
|
|
9210
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObject", function() { return
|
9262
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObject", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonObject"]; });
|
9211
9263
|
|
9212
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObjectProperty", function() { return
|
9264
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObjectProperty", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonObjectProperty"]; });
|
9213
9265
|
|
9214
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonRequiredPropertyError", function() { return
|
9266
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonRequiredPropertyError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonRequiredPropertyError"]; });
|
9215
9267
|
|
9216
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonUnknownPropertyError", function() { return
|
9268
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonUnknownPropertyError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonUnknownPropertyError"]; });
|
9217
9269
|
|
9218
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Serializer", function() { return
|
9270
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Serializer", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["Serializer"]; });
|
9219
9271
|
|
9220
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "property", function() { return
|
9272
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "property", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["property"]; });
|
9221
9273
|
|
9222
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyArray", function() { return
|
9274
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyArray", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["propertyArray"]; });
|
9223
9275
|
|
9224
|
-
/* harmony import */ var
|
9225
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownCell", function() { return
|
9276
|
+
/* harmony import */ var _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../question_matrixdropdownbase */ "./src/question_matrixdropdownbase.ts");
|
9277
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownCell", function() { return _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__["MatrixDropdownCell"]; });
|
9226
9278
|
|
9227
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModelBase", function() { return
|
9279
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModelBase", function() { return _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__["MatrixDropdownRowModelBase"]; });
|
9228
9280
|
|
9229
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModelBase", function() { return
|
9281
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModelBase", function() { return _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__["QuestionMatrixDropdownModelBase"]; });
|
9230
9282
|
|
9231
|
-
/* harmony import */ var
|
9232
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownColumn", function() { return
|
9283
|
+
/* harmony import */ var _question_matrixdropdowncolumn__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../question_matrixdropdowncolumn */ "./src/question_matrixdropdowncolumn.ts");
|
9284
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownColumn", function() { return _question_matrixdropdowncolumn__WEBPACK_IMPORTED_MODULE_20__["MatrixDropdownColumn"]; });
|
9233
9285
|
|
9234
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "matrixDropdownColumnTypes", function() { return
|
9286
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "matrixDropdownColumnTypes", function() { return _question_matrixdropdowncolumn__WEBPACK_IMPORTED_MODULE_20__["matrixDropdownColumnTypes"]; });
|
9235
9287
|
|
9236
|
-
/* harmony import */ var
|
9237
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedCell", function() { return
|
9288
|
+
/* harmony import */ var _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../question_matrixdropdownrendered */ "./src/question_matrixdropdownrendered.ts");
|
9289
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedCell", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedCell"]; });
|
9238
9290
|
|
9239
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedRow", function() { return
|
9291
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedRow", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedRow"]; });
|
9240
9292
|
|
9241
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedErrorRow", function() { return
|
9293
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedErrorRow", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedErrorRow"]; });
|
9242
9294
|
|
9243
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedTable", function() { return
|
9295
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedTable", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedTable"]; });
|
9244
9296
|
|
9245
|
-
/* harmony import */ var
|
9246
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModel", function() { return
|
9297
|
+
/* harmony import */ var _question_matrixdropdown__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../question_matrixdropdown */ "./src/question_matrixdropdown.ts");
|
9298
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModel", function() { return _question_matrixdropdown__WEBPACK_IMPORTED_MODULE_22__["MatrixDropdownRowModel"]; });
|
9247
9299
|
|
9248
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModel", function() { return
|
9300
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModel", function() { return _question_matrixdropdown__WEBPACK_IMPORTED_MODULE_22__["QuestionMatrixDropdownModel"]; });
|
9249
9301
|
|
9250
|
-
/* harmony import */ var
|
9251
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDynamicRowModel", function() { return
|
9302
|
+
/* harmony import */ var _question_matrixdynamic__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../question_matrixdynamic */ "./src/question_matrixdynamic.ts");
|
9303
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDynamicRowModel", function() { return _question_matrixdynamic__WEBPACK_IMPORTED_MODULE_23__["MatrixDynamicRowModel"]; });
|
9252
9304
|
|
9253
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDynamicModel", function() { return
|
9305
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDynamicModel", function() { return _question_matrixdynamic__WEBPACK_IMPORTED_MODULE_23__["QuestionMatrixDynamicModel"]; });
|
9254
9306
|
|
9255
|
-
/* harmony import */ var
|
9256
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRowModel", function() { return
|
9307
|
+
/* harmony import */ var _question_matrix__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../question_matrix */ "./src/question_matrix.ts");
|
9308
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRowModel", function() { return _question_matrix__WEBPACK_IMPORTED_MODULE_24__["MatrixRowModel"]; });
|
9257
9309
|
|
9258
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixCells", function() { return
|
9310
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixCells", function() { return _question_matrix__WEBPACK_IMPORTED_MODULE_24__["MatrixCells"]; });
|
9259
9311
|
|
9260
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixModel", function() { return
|
9312
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixModel", function() { return _question_matrix__WEBPACK_IMPORTED_MODULE_24__["QuestionMatrixModel"]; });
|
9261
9313
|
|
9262
|
-
/* harmony import */ var
|
9263
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixBaseModel", function() { return
|
9314
|
+
/* harmony import */ var _martixBase__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../martixBase */ "./src/martixBase.ts");
|
9315
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixBaseModel", function() { return _martixBase__WEBPACK_IMPORTED_MODULE_25__["QuestionMatrixBaseModel"]; });
|
9264
9316
|
|
9265
|
-
/* harmony import */ var
|
9266
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextItemModel", function() { return
|
9317
|
+
/* harmony import */ var _question_multipletext__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../question_multipletext */ "./src/question_multipletext.ts");
|
9318
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextItemModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextItemModel"]; });
|
9267
9319
|
|
9268
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextCell", function() { return
|
9320
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextCell", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextCell"]; });
|
9269
9321
|
|
9270
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextErrorCell", function() { return
|
9322
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextErrorCell", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextErrorCell"]; });
|
9271
9323
|
|
9272
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextErrorRow", function() { return
|
9324
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextErrorRow", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MutlipleTextErrorRow"]; });
|
9273
9325
|
|
9274
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextRow", function() { return
|
9326
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextRow", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MutlipleTextRow"]; });
|
9275
9327
|
|
9276
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return
|
9328
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["QuestionMultipleTextModel"]; });
|
9277
9329
|
|
9278
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return
|
9330
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextEditorModel"]; });
|
9279
9331
|
|
9280
|
-
/* harmony import */ var
|
9281
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return
|
9332
|
+
/* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../panel */ "./src/panel.ts");
|
9333
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return _panel__WEBPACK_IMPORTED_MODULE_27__["PanelModel"]; });
|
9282
9334
|
|
9283
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModelBase", function() { return
|
9335
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModelBase", function() { return _panel__WEBPACK_IMPORTED_MODULE_27__["PanelModelBase"]; });
|
9284
9336
|
|
9285
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRowModel", function() { return
|
9337
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRowModel", function() { return _panel__WEBPACK_IMPORTED_MODULE_27__["QuestionRowModel"]; });
|
9286
9338
|
|
9287
|
-
/* harmony import */ var
|
9288
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FlowPanelModel", function() { return
|
9339
|
+
/* harmony import */ var _flowpanel__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../flowpanel */ "./src/flowpanel.ts");
|
9340
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FlowPanelModel", function() { return _flowpanel__WEBPACK_IMPORTED_MODULE_28__["FlowPanelModel"]; });
|
9289
9341
|
|
9290
|
-
/* harmony import */ var
|
9291
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PageModel", function() { return
|
9342
|
+
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../page */ "./src/page.ts");
|
9343
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PageModel", function() { return _page__WEBPACK_IMPORTED_MODULE_29__["PageModel"]; });
|
9292
9344
|
|
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
|
9345
|
+
/* harmony import */ var _template_renderer__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../../template-renderer */ "./src/template-renderer.ts");
|
9346
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _defaultTitle__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../defaultTitle */ "./src/defaultTitle.ts");
|
9347
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DefaultTitleModel", function() { return _defaultTitle__WEBPACK_IMPORTED_MODULE_31__["DefaultTitleModel"]; });
|
9296
9348
|
|
9297
|
-
/* harmony import */ var
|
9298
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Question", function() { return
|
9349
|
+
/* harmony import */ var _question__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../../question */ "./src/question.ts");
|
9350
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Question", function() { return _question__WEBPACK_IMPORTED_MODULE_32__["Question"]; });
|
9299
9351
|
|
9300
|
-
/* harmony import */ var
|
9301
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionNonValue", function() { return
|
9352
|
+
/* harmony import */ var _questionnonvalue__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../questionnonvalue */ "./src/questionnonvalue.ts");
|
9353
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionNonValue", function() { return _questionnonvalue__WEBPACK_IMPORTED_MODULE_33__["QuestionNonValue"]; });
|
9302
9354
|
|
9303
|
-
/* harmony import */ var
|
9304
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionEmptyModel", function() { return
|
9355
|
+
/* harmony import */ var _question_empty__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../question_empty */ "./src/question_empty.ts");
|
9356
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionEmptyModel", function() { return _question_empty__WEBPACK_IMPORTED_MODULE_34__["QuestionEmptyModel"]; });
|
9305
9357
|
|
9306
|
-
/* harmony import */ var
|
9307
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxBase", function() { return
|
9358
|
+
/* harmony import */ var _question_baseselect__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../question_baseselect */ "./src/question_baseselect.ts");
|
9359
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxBase", function() { return _question_baseselect__WEBPACK_IMPORTED_MODULE_35__["QuestionCheckboxBase"]; });
|
9308
9360
|
|
9309
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSelectBase", function() { return
|
9361
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSelectBase", function() { return _question_baseselect__WEBPACK_IMPORTED_MODULE_35__["QuestionSelectBase"]; });
|
9310
9362
|
|
9311
|
-
/* harmony import */ var
|
9312
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxModel", function() { return
|
9363
|
+
/* harmony import */ var _question_checkbox__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../question_checkbox */ "./src/question_checkbox.ts");
|
9364
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxModel", function() { return _question_checkbox__WEBPACK_IMPORTED_MODULE_36__["QuestionCheckboxModel"]; });
|
9313
9365
|
|
9314
|
-
/* harmony import */ var
|
9315
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTagboxModel", function() { return
|
9366
|
+
/* harmony import */ var _question_tagbox__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../question_tagbox */ "./src/question_tagbox.ts");
|
9367
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTagboxModel", function() { return _question_tagbox__WEBPACK_IMPORTED_MODULE_37__["QuestionTagboxModel"]; });
|
9316
9368
|
|
9317
|
-
/* harmony import */ var
|
9318
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRankingModel", function() { return
|
9369
|
+
/* harmony import */ var _question_ranking__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../../question_ranking */ "./src/question_ranking.ts");
|
9370
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRankingModel", function() { return _question_ranking__WEBPACK_IMPORTED_MODULE_38__["QuestionRankingModel"]; });
|
9319
9371
|
|
9320
|
-
/* harmony import */ var
|
9321
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCommentModel", function() { return
|
9372
|
+
/* harmony import */ var _question_comment__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../../question_comment */ "./src/question_comment.ts");
|
9373
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCommentModel", function() { return _question_comment__WEBPACK_IMPORTED_MODULE_39__["QuestionCommentModel"]; });
|
9322
9374
|
|
9323
|
-
/* harmony import */ var
|
9324
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionDropdownModel", function() { return
|
9375
|
+
/* harmony import */ var _question_dropdown__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../../question_dropdown */ "./src/question_dropdown.ts");
|
9376
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionDropdownModel", function() { return _question_dropdown__WEBPACK_IMPORTED_MODULE_40__["QuestionDropdownModel"]; });
|
9325
9377
|
|
9326
|
-
/* harmony import */ var
|
9327
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFactory", function() { return
|
9378
|
+
/* harmony import */ var _questionfactory__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../../questionfactory */ "./src/questionfactory.ts");
|
9379
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFactory", function() { return _questionfactory__WEBPACK_IMPORTED_MODULE_41__["QuestionFactory"]; });
|
9328
9380
|
|
9329
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ElementFactory", function() { return
|
9381
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ElementFactory", function() { return _questionfactory__WEBPACK_IMPORTED_MODULE_41__["ElementFactory"]; });
|
9330
9382
|
|
9331
|
-
/* harmony import */ var
|
9332
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFileModel", function() { return
|
9383
|
+
/* harmony import */ var _question_file__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../../question_file */ "./src/question_file.ts");
|
9384
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFileModel", function() { return _question_file__WEBPACK_IMPORTED_MODULE_42__["QuestionFileModel"]; });
|
9333
9385
|
|
9334
|
-
/* harmony import */ var
|
9335
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionHtmlModel", function() { return
|
9386
|
+
/* harmony import */ var _question_html__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../../question_html */ "./src/question_html.ts");
|
9387
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionHtmlModel", function() { return _question_html__WEBPACK_IMPORTED_MODULE_43__["QuestionHtmlModel"]; });
|
9336
9388
|
|
9337
|
-
/* harmony import */ var
|
9338
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRadiogroupModel", function() { return
|
9389
|
+
/* harmony import */ var _question_radiogroup__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../../question_radiogroup */ "./src/question_radiogroup.ts");
|
9390
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRadiogroupModel", function() { return _question_radiogroup__WEBPACK_IMPORTED_MODULE_44__["QuestionRadiogroupModel"]; });
|
9339
9391
|
|
9340
|
-
/* harmony import */ var
|
9341
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRatingModel", function() { return
|
9392
|
+
/* harmony import */ var _question_rating__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../../question_rating */ "./src/question_rating.ts");
|
9393
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRatingModel", function() { return _question_rating__WEBPACK_IMPORTED_MODULE_45__["QuestionRatingModel"]; });
|
9342
9394
|
|
9343
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RenderedRatingItem", function() { return
|
9395
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RenderedRatingItem", function() { return _question_rating__WEBPACK_IMPORTED_MODULE_45__["RenderedRatingItem"]; });
|
9344
9396
|
|
9345
|
-
/* harmony import */ var
|
9346
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionExpressionModel", function() { return
|
9397
|
+
/* harmony import */ var _question_expression__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../../question_expression */ "./src/question_expression.ts");
|
9398
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionExpressionModel", function() { return _question_expression__WEBPACK_IMPORTED_MODULE_46__["QuestionExpressionModel"]; });
|
9347
9399
|
|
9348
|
-
/* harmony import */ var
|
9349
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextBase", function() { return
|
9400
|
+
/* harmony import */ var _question_textbase__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../../question_textbase */ "./src/question_textbase.ts");
|
9401
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextBase", function() { return _question_textbase__WEBPACK_IMPORTED_MODULE_47__["QuestionTextBase"]; });
|
9350
9402
|
|
9351
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounter", function() { return
|
9403
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounter", function() { return _question_textbase__WEBPACK_IMPORTED_MODULE_47__["CharacterCounter"]; });
|
9352
9404
|
|
9353
|
-
/* harmony import */ var
|
9354
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextModel", function() { return
|
9405
|
+
/* harmony import */ var _question_text__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../../question_text */ "./src/question_text.ts");
|
9406
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextModel", function() { return _question_text__WEBPACK_IMPORTED_MODULE_48__["QuestionTextModel"]; });
|
9355
9407
|
|
9356
|
-
/* harmony import */ var
|
9357
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionBooleanModel", function() { return
|
9408
|
+
/* harmony import */ var _question_boolean__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../../question_boolean */ "./src/question_boolean.ts");
|
9409
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionBooleanModel", function() { return _question_boolean__WEBPACK_IMPORTED_MODULE_49__["QuestionBooleanModel"]; });
|
9358
9410
|
|
9359
|
-
/* harmony import */ var
|
9360
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImagePickerModel", function() { return
|
9411
|
+
/* harmony import */ var _question_imagepicker__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../../question_imagepicker */ "./src/question_imagepicker.ts");
|
9412
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImagePickerModel", function() { return _question_imagepicker__WEBPACK_IMPORTED_MODULE_50__["QuestionImagePickerModel"]; });
|
9361
9413
|
|
9362
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ImageItemValue", function() { return
|
9414
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ImageItemValue", function() { return _question_imagepicker__WEBPACK_IMPORTED_MODULE_50__["ImageItemValue"]; });
|
9363
9415
|
|
9364
|
-
/* harmony import */ var
|
9365
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImageModel", function() { return
|
9416
|
+
/* harmony import */ var _question_image__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../../question_image */ "./src/question_image.ts");
|
9417
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImageModel", function() { return _question_image__WEBPACK_IMPORTED_MODULE_51__["QuestionImageModel"]; });
|
9366
9418
|
|
9367
|
-
/* harmony import */ var
|
9368
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSignaturePadModel", function() { return
|
9419
|
+
/* harmony import */ var _question_signaturepad__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../../question_signaturepad */ "./src/question_signaturepad.ts");
|
9420
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSignaturePadModel", function() { return _question_signaturepad__WEBPACK_IMPORTED_MODULE_52__["QuestionSignaturePadModel"]; });
|
9369
9421
|
|
9370
|
-
/* harmony import */ var
|
9371
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicModel", function() { return
|
9422
|
+
/* harmony import */ var _question_paneldynamic__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../../question_paneldynamic */ "./src/question_paneldynamic.ts");
|
9423
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicModel", function() { return _question_paneldynamic__WEBPACK_IMPORTED_MODULE_53__["QuestionPanelDynamicModel"]; });
|
9372
9424
|
|
9373
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicItem", function() { return
|
9425
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicItem", function() { return _question_paneldynamic__WEBPACK_IMPORTED_MODULE_53__["QuestionPanelDynamicItem"]; });
|
9374
9426
|
|
9375
|
-
/* harmony import */ var
|
9376
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimer", function() { return
|
9427
|
+
/* harmony import */ var _surveytimer__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../../surveytimer */ "./src/surveytimer.ts");
|
9428
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimer", function() { return _surveytimer__WEBPACK_IMPORTED_MODULE_54__["SurveyTimer"]; });
|
9377
9429
|
|
9378
|
-
/* harmony import */ var
|
9379
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimerModel", function() { return
|
9430
|
+
/* harmony import */ var _surveyTimerModel__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../../surveyTimerModel */ "./src/surveyTimerModel.ts");
|
9431
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimerModel", function() { return _surveyTimerModel__WEBPACK_IMPORTED_MODULE_55__["SurveyTimerModel"]; });
|
9380
9432
|
|
9381
|
-
/* harmony import */ var
|
9382
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tryFocusPage", function() { return
|
9433
|
+
/* harmony import */ var _surveyToc__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../../surveyToc */ "./src/surveyToc.ts");
|
9434
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tryFocusPage", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["tryFocusPage"]; });
|
9383
9435
|
|
9384
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createTOCListModel", function() { return
|
9436
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createTOCListModel", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["createTOCListModel"]; });
|
9385
9437
|
|
9386
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getTocRootCss", function() { return
|
9438
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getTocRootCss", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["getTocRootCss"]; });
|
9387
9439
|
|
9388
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TOCModel", function() { return
|
9440
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TOCModel", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["TOCModel"]; });
|
9389
9441
|
|
9390
|
-
/* harmony import */ var
|
9391
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressModel", function() { return
|
9442
|
+
/* harmony import */ var _surveyProgress__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../../surveyProgress */ "./src/surveyProgress.ts");
|
9443
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressModel", function() { return _surveyProgress__WEBPACK_IMPORTED_MODULE_57__["SurveyProgressModel"]; });
|
9392
9444
|
|
9393
|
-
/* harmony import */ var
|
9394
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return
|
9445
|
+
/* harmony import */ var _progress_buttons__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../../progress-buttons */ "./src/progress-buttons.ts");
|
9446
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return _progress_buttons__WEBPACK_IMPORTED_MODULE_58__["ProgressButtons"]; });
|
9395
9447
|
|
9396
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return
|
9448
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return _progress_buttons__WEBPACK_IMPORTED_MODULE_58__["ProgressButtonsResponsivityManager"]; });
|
9397
9449
|
|
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
|
9450
|
+
/* harmony import */ var _themes__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../../themes */ "./src/themes.ts");
|
9451
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../../survey */ "./src/survey.ts");
|
9452
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return _survey__WEBPACK_IMPORTED_MODULE_60__["SurveyModel"]; });
|
9401
9453
|
|
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
|
9454
|
+
/* harmony import */ var _survey_events_api__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../../survey-events-api */ "./src/survey-events-api.ts");
|
9455
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _trigger__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../../trigger */ "./src/trigger.ts");
|
9456
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTrigger", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTrigger"]; });
|
9405
9457
|
|
9406
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerComplete", function() { return
|
9458
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerComplete", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerComplete"]; });
|
9407
9459
|
|
9408
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSetValue", function() { return
|
9460
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSetValue", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerSetValue"]; });
|
9409
9461
|
|
9410
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerVisible", function() { return
|
9462
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerVisible", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerVisible"]; });
|
9411
9463
|
|
9412
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerCopyValue", function() { return
|
9464
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerCopyValue", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerCopyValue"]; });
|
9413
9465
|
|
9414
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerRunExpression", function() { return
|
9466
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerRunExpression", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerRunExpression"]; });
|
9415
9467
|
|
9416
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSkip", function() { return
|
9468
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSkip", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerSkip"]; });
|
9417
9469
|
|
9418
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Trigger", function() { return
|
9470
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Trigger", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["Trigger"]; });
|
9419
9471
|
|
9420
|
-
/* harmony import */ var
|
9421
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurveyModel", function() { return
|
9472
|
+
/* harmony import */ var _popup_survey__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../../popup-survey */ "./src/popup-survey.ts");
|
9473
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurveyModel", function() { return _popup_survey__WEBPACK_IMPORTED_MODULE_63__["PopupSurveyModel"]; });
|
9422
9474
|
|
9423
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindowModel", function() { return
|
9475
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindowModel", function() { return _popup_survey__WEBPACK_IMPORTED_MODULE_63__["SurveyWindowModel"]; });
|
9424
9476
|
|
9425
|
-
/* harmony import */ var
|
9426
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextPreProcessor", function() { return
|
9477
|
+
/* harmony import */ var _textPreProcessor__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../../textPreProcessor */ "./src/textPreProcessor.ts");
|
9478
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextPreProcessor", function() { return _textPreProcessor__WEBPACK_IMPORTED_MODULE_64__["TextPreProcessor"]; });
|
9427
9479
|
|
9428
|
-
/* harmony import */ var
|
9429
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Notifier", function() { return
|
9480
|
+
/* harmony import */ var _notifier__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../../notifier */ "./src/notifier.ts");
|
9481
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Notifier", function() { return _notifier__WEBPACK_IMPORTED_MODULE_65__["Notifier"]; });
|
9430
9482
|
|
9431
|
-
/* harmony import */ var
|
9432
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Cover", function() { return
|
9483
|
+
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../../header */ "./src/header.ts");
|
9484
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Cover", function() { return _header__WEBPACK_IMPORTED_MODULE_66__["Cover"]; });
|
9433
9485
|
|
9434
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCell", function() { return
|
9486
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCell", function() { return _header__WEBPACK_IMPORTED_MODULE_66__["CoverCell"]; });
|
9435
9487
|
|
9436
|
-
/* harmony import */ var
|
9437
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "dxSurveyService", function() { return
|
9488
|
+
/* harmony import */ var _dxSurveyService__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../../dxSurveyService */ "./src/dxSurveyService.ts");
|
9489
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "dxSurveyService", function() { return _dxSurveyService__WEBPACK_IMPORTED_MODULE_67__["dxSurveyService"]; });
|
9438
9490
|
|
9439
|
-
/* harmony import */ var
|
9440
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "englishStrings", function() { return
|
9491
|
+
/* harmony import */ var _localization_english__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../../localization/english */ "./src/localization/english.ts");
|
9492
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "englishStrings", function() { return _localization_english__WEBPACK_IMPORTED_MODULE_68__["englishStrings"]; });
|
9441
9493
|
|
9442
|
-
/* harmony import */ var
|
9443
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyLocalization", function() { return
|
9494
|
+
/* harmony import */ var _surveyStrings__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../../surveyStrings */ "./src/surveyStrings.ts");
|
9495
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyLocalization", function() { return _surveyStrings__WEBPACK_IMPORTED_MODULE_69__["surveyLocalization"]; });
|
9444
9496
|
|
9445
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyStrings", function() { return
|
9497
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyStrings", function() { return _surveyStrings__WEBPACK_IMPORTED_MODULE_69__["surveyStrings"]; });
|
9446
9498
|
|
9447
|
-
/* harmony import */ var
|
9448
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomWidget", function() { return
|
9499
|
+
/* harmony import */ var _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../../questionCustomWidgets */ "./src/questionCustomWidgets.ts");
|
9500
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomWidget", function() { return _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_70__["QuestionCustomWidget"]; });
|
9449
9501
|
|
9450
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomWidgetCollection", function() { return
|
9502
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomWidgetCollection", function() { return _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_70__["CustomWidgetCollection"]; });
|
9451
9503
|
|
9452
|
-
/* harmony import */ var
|
9453
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomModel", function() { return
|
9504
|
+
/* harmony import */ var _question_custom__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../../question_custom */ "./src/question_custom.ts");
|
9505
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomModel", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["QuestionCustomModel"]; });
|
9454
9506
|
|
9455
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCompositeModel", function() { return
|
9507
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCompositeModel", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["QuestionCompositeModel"]; });
|
9456
9508
|
|
9457
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentQuestionJSON", function() { return
|
9509
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentQuestionJSON", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["ComponentQuestionJSON"]; });
|
9458
9510
|
|
9459
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentCollection", function() { return
|
9511
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentCollection", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["ComponentCollection"]; });
|
9460
9512
|
|
9461
|
-
/* harmony import */ var
|
9462
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return
|
9513
|
+
/* harmony import */ var _stylesmanager__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../../stylesmanager */ "./src/stylesmanager.ts");
|
9514
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return _stylesmanager__WEBPACK_IMPORTED_MODULE_72__["StylesManager"]; });
|
9463
9515
|
|
9464
|
-
/* harmony import */ var
|
9465
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ListModel", function() { return
|
9516
|
+
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../../list */ "./src/list.ts");
|
9517
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ListModel", function() { return _list__WEBPACK_IMPORTED_MODULE_73__["ListModel"]; });
|
9466
9518
|
|
9467
|
-
/* harmony import */ var
|
9468
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultiSelectListModel", function() { return
|
9519
|
+
/* harmony import */ var _multiSelectListModel__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../../multiSelectListModel */ "./src/multiSelectListModel.ts");
|
9520
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultiSelectListModel", function() { return _multiSelectListModel__WEBPACK_IMPORTED_MODULE_74__["MultiSelectListModel"]; });
|
9469
9521
|
|
9470
|
-
/* harmony import */ var
|
9471
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModel", function() { return
|
9522
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../../popup */ "./src/popup.ts");
|
9523
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModel", function() { return _popup__WEBPACK_IMPORTED_MODULE_75__["PopupModel"]; });
|
9472
9524
|
|
9473
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createDialogOptions", function() { return
|
9525
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createDialogOptions", function() { return _popup__WEBPACK_IMPORTED_MODULE_75__["createDialogOptions"]; });
|
9474
9526
|
|
9475
|
-
/* harmony import */ var
|
9476
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupBaseViewModel", function() { return
|
9527
|
+
/* harmony import */ var _popup_view_model__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../../popup-view-model */ "./src/popup-view-model.ts");
|
9528
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupBaseViewModel", function() { return _popup_view_model__WEBPACK_IMPORTED_MODULE_76__["PopupBaseViewModel"]; });
|
9477
9529
|
|
9478
|
-
/* harmony import */ var
|
9479
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupDropdownViewModel", function() { return
|
9530
|
+
/* harmony import */ var _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../../popup-dropdown-view-model */ "./src/popup-dropdown-view-model.ts");
|
9531
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupDropdownViewModel", function() { return _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_77__["PopupDropdownViewModel"]; });
|
9480
9532
|
|
9481
|
-
/* harmony import */ var
|
9482
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModalViewModel", function() { return
|
9533
|
+
/* harmony import */ var _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../../popup-modal-view-model */ "./src/popup-modal-view-model.ts");
|
9534
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModalViewModel", function() { return _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_78__["PopupModalViewModel"]; });
|
9483
9535
|
|
9484
|
-
/* harmony import */ var
|
9485
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupViewModel", function() { return
|
9536
|
+
/* harmony import */ var _popup_utils__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../../popup-utils */ "./src/popup-utils.ts");
|
9537
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupViewModel", function() { return _popup_utils__WEBPACK_IMPORTED_MODULE_79__["createPopupViewModel"]; });
|
9486
9538
|
|
9487
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupModalViewModel", function() { return
|
9539
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupModalViewModel", function() { return _popup_utils__WEBPACK_IMPORTED_MODULE_79__["createPopupModalViewModel"]; });
|
9488
9540
|
|
9489
|
-
/* harmony import */ var
|
9490
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownListModel", function() { return
|
9541
|
+
/* harmony import */ var _dropdownListModel__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../../dropdownListModel */ "./src/dropdownListModel.ts");
|
9542
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownListModel", function() { return _dropdownListModel__WEBPACK_IMPORTED_MODULE_80__["DropdownListModel"]; });
|
9491
9543
|
|
9492
|
-
/* harmony import */ var
|
9493
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownMultiSelectListModel", function() { return
|
9544
|
+
/* harmony import */ var _dropdownMultiSelectListModel__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../../dropdownMultiSelectListModel */ "./src/dropdownMultiSelectListModel.ts");
|
9545
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownMultiSelectListModel", function() { return _dropdownMultiSelectListModel__WEBPACK_IMPORTED_MODULE_81__["DropdownMultiSelectListModel"]; });
|
9494
9546
|
|
9495
|
-
/* harmony import */ var
|
9496
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionButtonGroupModel", function() { return
|
9547
|
+
/* harmony import */ var _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ../../question_buttongroup */ "./src/question_buttongroup.ts");
|
9548
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionButtonGroupModel", function() { return _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__["QuestionButtonGroupModel"]; });
|
9497
9549
|
|
9498
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemModel", function() { return
|
9550
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemModel", function() { return _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__["ButtonGroupItemModel"]; });
|
9499
9551
|
|
9500
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemValue", function() { return
|
9552
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemValue", function() { return _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__["ButtonGroupItemValue"]; });
|
9501
9553
|
|
9502
|
-
/* harmony import */ var
|
9503
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsMobile", function() { return
|
9554
|
+
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ../../utils/devices */ "./src/utils/devices.ts");
|
9555
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsMobile", function() { return _utils_devices__WEBPACK_IMPORTED_MODULE_83__["IsMobile"]; });
|
9504
9556
|
|
9505
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsTouch", function() { return
|
9557
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsTouch", function() { return _utils_devices__WEBPACK_IMPORTED_MODULE_83__["IsTouch"]; });
|
9506
9558
|
|
9507
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "_setIsTouch", function() { return
|
9559
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "_setIsTouch", function() { return _utils_devices__WEBPACK_IMPORTED_MODULE_83__["_setIsTouch"]; });
|
9508
9560
|
|
9509
|
-
/* harmony import */ var
|
9510
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmAction", function() { return
|
9561
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../../utils/utils */ "./src/utils/utils.ts");
|
9562
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmAction", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["confirmAction"]; });
|
9511
9563
|
|
9512
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmActionAsync", function() { return
|
9564
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmActionAsync", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["confirmActionAsync"]; });
|
9513
9565
|
|
9514
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "detectIEOrEdge", function() { return
|
9566
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "detectIEOrEdge", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["detectIEOrEdge"]; });
|
9515
9567
|
|
9516
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickUp", function() { return
|
9568
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickUp", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["doKey2ClickUp"]; });
|
9517
9569
|
|
9518
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickDown", function() { return
|
9570
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickDown", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["doKey2ClickDown"]; });
|
9519
9571
|
|
9520
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickBlur", function() { return
|
9572
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickBlur", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["doKey2ClickBlur"]; });
|
9521
9573
|
|
9522
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "loadFileFromBase64", function() { return
|
9574
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "loadFileFromBase64", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["loadFileFromBase64"]; });
|
9523
9575
|
|
9524
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "increaseHeightByContent", function() { return
|
9576
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "increaseHeightByContent", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["increaseHeightByContent"]; });
|
9525
9577
|
|
9526
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return
|
9578
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["createSvg"]; });
|
9527
9579
|
|
9528
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return
|
9580
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["chooseFiles"]; });
|
9529
9581
|
|
9530
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return
|
9582
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["sanitizeEditableContent"]; });
|
9531
9583
|
|
9532
|
-
/* harmony import */ var
|
9533
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskBase", function() { return
|
9584
|
+
/* harmony import */ var _mask_mask_base__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ../../mask/mask_base */ "./src/mask/mask_base.ts");
|
9585
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskBase", function() { return _mask_mask_base__WEBPACK_IMPORTED_MODULE_85__["InputMaskBase"]; });
|
9534
9586
|
|
9535
|
-
/* harmony import */ var
|
9536
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskPattern", function() { return
|
9587
|
+
/* harmony import */ var _mask_mask_pattern__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ../../mask/mask_pattern */ "./src/mask/mask_pattern.ts");
|
9588
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskPattern", function() { return _mask_mask_pattern__WEBPACK_IMPORTED_MODULE_86__["InputMaskPattern"]; });
|
9537
9589
|
|
9538
|
-
/* harmony import */ var
|
9539
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskNumeric", function() { return
|
9590
|
+
/* harmony import */ var _mask_mask_numeric__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ../../mask/mask_numeric */ "./src/mask/mask_numeric.ts");
|
9591
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskNumeric", function() { return _mask_mask_numeric__WEBPACK_IMPORTED_MODULE_87__["InputMaskNumeric"]; });
|
9540
9592
|
|
9541
|
-
/* harmony import */ var
|
9542
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskDateTime", function() { return
|
9593
|
+
/* harmony import */ var _mask_mask_datetime__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ../../mask/mask_datetime */ "./src/mask/mask_datetime.ts");
|
9594
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskDateTime", function() { return _mask_mask_datetime__WEBPACK_IMPORTED_MODULE_88__["InputMaskDateTime"]; });
|
9543
9595
|
|
9544
|
-
/* harmony import */ var
|
9545
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskCurrency", function() { return
|
9596
|
+
/* harmony import */ var _mask_mask_currency__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ../../mask/mask_currency */ "./src/mask/mask_currency.ts");
|
9597
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskCurrency", function() { return _mask_mask_currency__WEBPACK_IMPORTED_MODULE_89__["InputMaskCurrency"]; });
|
9546
9598
|
|
9547
|
-
/* harmony import */ var
|
9548
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CssClassBuilder", function() { return
|
9599
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ../../utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
9600
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CssClassBuilder", function() { return _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_90__["CssClassBuilder"]; });
|
9549
9601
|
|
9550
|
-
/* harmony import */ var
|
9551
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyCss", function() { return
|
9602
|
+
/* harmony import */ var _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ../../defaultCss/defaultV2Css */ "./src/defaultCss/defaultV2Css.ts");
|
9603
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyCss", function() { return _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__["surveyCss"]; });
|
9552
9604
|
|
9553
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2Css", function() { return
|
9605
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2Css", function() { return _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__["defaultV2Css"]; });
|
9554
9606
|
|
9555
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2ThemeName", function() { return
|
9607
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2ThemeName", function() { return _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__["defaultV2ThemeName"]; });
|
9556
9608
|
|
9557
|
-
/* harmony import */ var
|
9558
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropCore", function() { return
|
9609
|
+
/* harmony import */ var _dragdrop_core__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ../../dragdrop/core */ "./src/dragdrop/core.ts");
|
9610
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropCore", function() { return _dragdrop_core__WEBPACK_IMPORTED_MODULE_92__["DragDropCore"]; });
|
9559
9611
|
|
9560
|
-
/* harmony import */ var
|
9561
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropChoices", function() { return
|
9612
|
+
/* harmony import */ var _dragdrop_choices__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ../../dragdrop/choices */ "./src/dragdrop/choices.ts");
|
9613
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropChoices", function() { return _dragdrop_choices__WEBPACK_IMPORTED_MODULE_93__["DragDropChoices"]; });
|
9562
9614
|
|
9563
|
-
/* harmony import */ var
|
9564
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropRankingSelectToRank", function() { return
|
9615
|
+
/* 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");
|
9616
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropRankingSelectToRank", function() { return _dragdrop_ranking_select_to_rank__WEBPACK_IMPORTED_MODULE_94__["DragDropRankingSelectToRank"]; });
|
9565
9617
|
|
9566
9618
|
// styles
|
9567
9619
|
// import "../../main.scss";
|
9568
9620
|
//import "../../modern.scss";
|
9621
|
+
|
9569
9622
|
var Version;
|
9570
9623
|
var ReleaseDate;
|
9571
|
-
Version = "" + "1.9.
|
9572
|
-
ReleaseDate = "" + "2024-03-
|
9624
|
+
Version = "" + "1.9.136";
|
9625
|
+
ReleaseDate = "" + "2024-03-26";
|
9573
9626
|
function checkLibraryVersion(ver, libraryName) {
|
9574
9627
|
if (Version != ver) {
|
9575
9628
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
@@ -9633,8 +9686,9 @@ function checkPrefix(prefix) {
|
|
9633
9686
|
var ds = prefix.substring(index + s.length).toLowerCase().split(",");
|
9634
9687
|
if (!Array.isArray(ds) || ds.length === 0)
|
9635
9688
|
return true;
|
9636
|
-
|
9637
|
-
|
9689
|
+
var location = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].getLocation();
|
9690
|
+
if (!!location && !!location.hostname) {
|
9691
|
+
var hn = location.hostname.toLowerCase();
|
9638
9692
|
ds.push("localhost");
|
9639
9693
|
for (var i = 0; i < ds.length; i++) {
|
9640
9694
|
if (hn.indexOf(ds[i]) > -1)
|
@@ -16040,6 +16094,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
16040
16094
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FlowPanelModel", function() { return FlowPanelModel; });
|
16041
16095
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
16042
16096
|
/* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./panel */ "./src/panel.ts");
|
16097
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
16043
16098
|
var __extends = (undefined && undefined.__extends) || (function () {
|
16044
16099
|
var extendStatics = function (d, b) {
|
16045
16100
|
extendStatics = Object.setPrototypeOf ||
|
@@ -16057,6 +16112,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
16057
16112
|
})();
|
16058
16113
|
|
16059
16114
|
|
16115
|
+
|
16060
16116
|
/**
|
16061
16117
|
* The flow panel object. It is a container with flow layout where you can mix questions with markdown text.
|
16062
16118
|
*
|
@@ -16181,15 +16237,14 @@ var FlowPanelModel = /** @class */ (function (_super) {
|
|
16181
16237
|
};
|
16182
16238
|
FlowPanelModel.prototype.insertTextAtCursor = function (text, prevName) {
|
16183
16239
|
if (prevName === void 0) { prevName = null; }
|
16184
|
-
if (!this.isDesignMode ||
|
16185
|
-
typeof document === "undefined" ||
|
16186
|
-
!window.getSelection)
|
16240
|
+
if (!this.isDesignMode || !_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomWindowHelper"].isAvailable())
|
16187
16241
|
return false;
|
16188
|
-
var sel =
|
16242
|
+
var sel = _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomWindowHelper"].getSelection();
|
16189
16243
|
if (sel.getRangeAt && sel.rangeCount) {
|
16190
16244
|
var range = sel.getRangeAt(0);
|
16191
16245
|
range.deleteContents();
|
16192
|
-
|
16246
|
+
var textElement = new Text(text);
|
16247
|
+
range.insertNode(textElement);
|
16193
16248
|
var self = this;
|
16194
16249
|
if (self.getContent) {
|
16195
16250
|
var str = self.getContent(prevName);
|
@@ -16622,6 +16677,148 @@ function substring_(params) {
|
|
16622
16677
|
FunctionFactory.Instance.register("substring", substring_);
|
16623
16678
|
|
16624
16679
|
|
16680
|
+
/***/ }),
|
16681
|
+
|
16682
|
+
/***/ "./src/global_variables_utils.ts":
|
16683
|
+
/*!***************************************!*\
|
16684
|
+
!*** ./src/global_variables_utils.ts ***!
|
16685
|
+
\***************************************/
|
16686
|
+
/*! exports provided: DomWindowHelper, DomDocumentHelper */
|
16687
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
16688
|
+
|
16689
|
+
"use strict";
|
16690
|
+
__webpack_require__.r(__webpack_exports__);
|
16691
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomWindowHelper", function() { return DomWindowHelper; });
|
16692
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomDocumentHelper", function() { return DomDocumentHelper; });
|
16693
|
+
/* eslint-disable no-restricted-globals */
|
16694
|
+
var DomWindowHelper = /** @class */ (function () {
|
16695
|
+
function DomWindowHelper() {
|
16696
|
+
}
|
16697
|
+
DomWindowHelper.isAvailable = function () {
|
16698
|
+
return "undefined" !== typeof window;
|
16699
|
+
};
|
16700
|
+
DomWindowHelper.isFileReaderAvailable = function () {
|
16701
|
+
if (!DomWindowHelper.isAvailable())
|
16702
|
+
return false;
|
16703
|
+
return !!window["FileReader"];
|
16704
|
+
};
|
16705
|
+
DomWindowHelper.getLocation = function () {
|
16706
|
+
if (!DomWindowHelper.isAvailable())
|
16707
|
+
return;
|
16708
|
+
return window.location;
|
16709
|
+
};
|
16710
|
+
DomWindowHelper.getVisualViewport = function () {
|
16711
|
+
if (!DomWindowHelper.isAvailable())
|
16712
|
+
return null;
|
16713
|
+
return window.visualViewport;
|
16714
|
+
};
|
16715
|
+
DomWindowHelper.getInnerWidth = function () {
|
16716
|
+
if (!DomWindowHelper.isAvailable())
|
16717
|
+
return;
|
16718
|
+
return window.innerWidth;
|
16719
|
+
};
|
16720
|
+
DomWindowHelper.getInnerHeight = function () {
|
16721
|
+
if (!DomWindowHelper.isAvailable())
|
16722
|
+
return null;
|
16723
|
+
return window.innerHeight;
|
16724
|
+
};
|
16725
|
+
DomWindowHelper.getWindow = function () {
|
16726
|
+
if (!DomWindowHelper.isAvailable())
|
16727
|
+
return;
|
16728
|
+
return window;
|
16729
|
+
};
|
16730
|
+
DomWindowHelper.hasOwn = function (propertyName) {
|
16731
|
+
if (!DomWindowHelper.isAvailable())
|
16732
|
+
return;
|
16733
|
+
return propertyName in window;
|
16734
|
+
};
|
16735
|
+
DomWindowHelper.getSelection = function () {
|
16736
|
+
if (DomWindowHelper.isAvailable() && window.getSelection) {
|
16737
|
+
return window.getSelection();
|
16738
|
+
}
|
16739
|
+
};
|
16740
|
+
DomWindowHelper.requestAnimationFrame = function (callback) {
|
16741
|
+
if (DomWindowHelper.isAvailable()) {
|
16742
|
+
return window.requestAnimationFrame(callback);
|
16743
|
+
}
|
16744
|
+
};
|
16745
|
+
DomWindowHelper.addEventListener = function (type, listener) {
|
16746
|
+
if (!DomWindowHelper.isAvailable())
|
16747
|
+
return;
|
16748
|
+
window.addEventListener(type, listener);
|
16749
|
+
};
|
16750
|
+
DomWindowHelper.removeEventListener = function (type, listener) {
|
16751
|
+
if (!DomWindowHelper.isAvailable())
|
16752
|
+
return;
|
16753
|
+
window.removeEventListener(type, listener);
|
16754
|
+
};
|
16755
|
+
return DomWindowHelper;
|
16756
|
+
}());
|
16757
|
+
|
16758
|
+
var DomDocumentHelper = /** @class */ (function () {
|
16759
|
+
function DomDocumentHelper() {
|
16760
|
+
}
|
16761
|
+
DomDocumentHelper.isAvailable = function () {
|
16762
|
+
return "undefined" !== typeof document;
|
16763
|
+
};
|
16764
|
+
DomDocumentHelper.getBody = function () {
|
16765
|
+
if (!DomDocumentHelper.isAvailable())
|
16766
|
+
return;
|
16767
|
+
return document.body;
|
16768
|
+
};
|
16769
|
+
DomDocumentHelper.getDocumentElement = function () {
|
16770
|
+
if (!DomDocumentHelper.isAvailable())
|
16771
|
+
return;
|
16772
|
+
return document.documentElement;
|
16773
|
+
};
|
16774
|
+
DomDocumentHelper.getDocument = function () {
|
16775
|
+
if (!DomDocumentHelper.isAvailable())
|
16776
|
+
return;
|
16777
|
+
return document;
|
16778
|
+
};
|
16779
|
+
DomDocumentHelper.getCookie = function () {
|
16780
|
+
if (!DomDocumentHelper.isAvailable())
|
16781
|
+
return;
|
16782
|
+
return document.cookie;
|
16783
|
+
};
|
16784
|
+
DomDocumentHelper.setCookie = function (newCookie) {
|
16785
|
+
if (!DomDocumentHelper.isAvailable())
|
16786
|
+
return;
|
16787
|
+
document.cookie = newCookie;
|
16788
|
+
};
|
16789
|
+
DomDocumentHelper.activeElementBlur = function () {
|
16790
|
+
if (!DomDocumentHelper.isAvailable())
|
16791
|
+
return;
|
16792
|
+
var activeElement = document.activeElement;
|
16793
|
+
if (!!activeElement && !!activeElement.blur) {
|
16794
|
+
activeElement.blur();
|
16795
|
+
}
|
16796
|
+
};
|
16797
|
+
DomDocumentHelper.createElement = function (tagName) {
|
16798
|
+
if (!DomDocumentHelper.isAvailable())
|
16799
|
+
return;
|
16800
|
+
return document.createElement(tagName);
|
16801
|
+
};
|
16802
|
+
DomDocumentHelper.getComputedStyle = function (elt) {
|
16803
|
+
if (!DomDocumentHelper.isAvailable())
|
16804
|
+
return new CSSStyleDeclaration();
|
16805
|
+
return document.defaultView.getComputedStyle(elt);
|
16806
|
+
};
|
16807
|
+
DomDocumentHelper.addEventListener = function (type, listener) {
|
16808
|
+
if (!DomDocumentHelper.isAvailable())
|
16809
|
+
return;
|
16810
|
+
document.addEventListener(type, listener);
|
16811
|
+
};
|
16812
|
+
DomDocumentHelper.removeEventListener = function (type, listener) {
|
16813
|
+
if (!DomDocumentHelper.isAvailable())
|
16814
|
+
return;
|
16815
|
+
document.removeEventListener(type, listener);
|
16816
|
+
};
|
16817
|
+
return DomDocumentHelper;
|
16818
|
+
}());
|
16819
|
+
|
16820
|
+
|
16821
|
+
|
16625
16822
|
/***/ }),
|
16626
16823
|
|
16627
16824
|
/***/ "./src/header.ts":
|
@@ -20449,23 +20646,9 @@ var JsonError = /** @class */ (function () {
|
|
20449
20646
|
var JsonUnknownPropertyError = /** @class */ (function (_super) {
|
20450
20647
|
__extends(JsonUnknownPropertyError, _super);
|
20451
20648
|
function JsonUnknownPropertyError(propertyName, className) {
|
20452
|
-
var _this = _super.call(this, "unknownproperty", "
|
20453
|
-
propertyName +
|
20454
|
-
"' in class '" +
|
20455
|
-
className +
|
20456
|
-
"' is unknown.") || this;
|
20649
|
+
var _this = _super.call(this, "unknownproperty", "Unknown property in class '" + className + "': '" + propertyName + "'.") || this;
|
20457
20650
|
_this.propertyName = propertyName;
|
20458
20651
|
_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
20652
|
return _this;
|
20470
20653
|
}
|
20471
20654
|
return JsonUnknownPropertyError;
|
@@ -20478,14 +20661,6 @@ var JsonMissingTypeErrorBase = /** @class */ (function (_super) {
|
|
20478
20661
|
_this.baseClassName = baseClassName;
|
20479
20662
|
_this.type = type;
|
20480
20663
|
_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
20664
|
return _this;
|
20490
20665
|
}
|
20491
20666
|
return JsonMissingTypeErrorBase;
|
@@ -20948,6 +21123,7 @@ var defaultListCss = {
|
|
20948
21123
|
itemWithIcon: "sv-list__item--with-icon",
|
20949
21124
|
itemDisabled: "sv-list__item--disabled",
|
20950
21125
|
itemFocused: "sv-list__item--focused",
|
21126
|
+
itemTextWrap: "sv-list__item-text--wrap",
|
20951
21127
|
itemIcon: "sv-list__item-icon",
|
20952
21128
|
itemSeparator: "sv-list__item-separator",
|
20953
21129
|
itemBody: "sv-list__item-body",
|
@@ -21001,6 +21177,7 @@ var ListModel = /** @class */ (function (_super) {
|
|
21001
21177
|
.append(_this.cssClasses.itemDisabled, _this.isItemDisabled(itemValue))
|
21002
21178
|
.append(_this.cssClasses.itemFocused, _this.isItemFocused(itemValue))
|
21003
21179
|
.append(_this.cssClasses.itemSelected, _this.isItemSelected(itemValue))
|
21180
|
+
.append(_this.cssClasses.itemTextWrap, _this.textWrapEnabled)
|
21004
21181
|
.append(itemValue.css)
|
21005
21182
|
.toString();
|
21006
21183
|
};
|
@@ -21298,6 +21475,9 @@ var ListModel = /** @class */ (function (_super) {
|
|
21298
21475
|
__decorate([
|
21299
21476
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: true })
|
21300
21477
|
], ListModel.prototype, "renderElements", void 0);
|
21478
|
+
__decorate([
|
21479
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
|
21480
|
+
], ListModel.prototype, "textWrapEnabled", void 0);
|
21301
21481
|
return ListModel;
|
21302
21482
|
}(_actions_container__WEBPACK_IMPORTED_MODULE_1__["ActionContainer"]));
|
21303
21483
|
|
@@ -29668,10 +29848,18 @@ var QuestionMatrixBaseModel = /** @class */ (function (_super) {
|
|
29668
29848
|
//TODO: make it mor intelligent
|
29669
29849
|
return true;
|
29670
29850
|
};
|
29851
|
+
Object.defineProperty(QuestionMatrixBaseModel.prototype, "columnsAutoWidth", {
|
29852
|
+
get: function () {
|
29853
|
+
return !this.isMobile && !this.columns.some(function (col) { return !!col.width; });
|
29854
|
+
},
|
29855
|
+
enumerable: false,
|
29856
|
+
configurable: true
|
29857
|
+
});
|
29671
29858
|
QuestionMatrixBaseModel.prototype.getTableCss = function () {
|
29672
29859
|
var _a;
|
29673
29860
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__["CssClassBuilder"]()
|
29674
29861
|
.append(this.cssClasses.root)
|
29862
|
+
.append(this.cssClasses.columnsAutoWidth, this.columnsAutoWidth)
|
29675
29863
|
.append(this.cssClasses.noHeader, !this.showHeader)
|
29676
29864
|
.append(this.cssClasses.hasFooter, !!((_a = this.renderedTable) === null || _a === void 0 ? void 0 : _a.showAddRowOnBottom))
|
29677
29865
|
.append(this.cssClasses.rootAlternateRows, this.alternateRows)
|
@@ -29777,12 +29965,6 @@ var InputElementAdapter = /** @class */ (function () {
|
|
29777
29965
|
event.preventDefault();
|
29778
29966
|
}
|
29779
29967
|
};
|
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
29968
|
this.inputElement.value = inputMaskInstance.getMaskedValue(value);
|
29787
29969
|
this.prevUnmaskedValue = value;
|
29788
29970
|
inputMaskInstance.onPropertyChanged.add(this.inputMaskInstancePropertyChangedHandler);
|
@@ -29810,13 +29992,11 @@ var InputElementAdapter = /** @class */ (function () {
|
|
29810
29992
|
InputElementAdapter.prototype.addInputEventListener = function () {
|
29811
29993
|
if (!!this.inputElement) {
|
29812
29994
|
this.inputElement.addEventListener("beforeinput", this.beforeInputHandler);
|
29813
|
-
this.inputElement.addEventListener("blur", this.blurInputHandler);
|
29814
29995
|
}
|
29815
29996
|
};
|
29816
29997
|
InputElementAdapter.prototype.removeInputEventListener = function () {
|
29817
29998
|
if (!!this.inputElement) {
|
29818
29999
|
this.inputElement.removeEventListener("beforeinput", this.beforeInputHandler);
|
29819
|
-
this.inputElement.removeEventListener("blur", this.blurInputHandler);
|
29820
30000
|
}
|
29821
30001
|
};
|
29822
30002
|
InputElementAdapter.prototype.dispose = function () {
|
@@ -29865,6 +30045,14 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
29865
30045
|
};
|
29866
30046
|
|
29867
30047
|
|
30048
|
+
/**
|
30049
|
+
* A base class for classes that implement input masks:
|
30050
|
+
*
|
30051
|
+
* - [`InputMaskNumeric`](https://surveyjs.io/form-library/documentation/inputmasknumeric)
|
30052
|
+
* - [`InputMaskCurrency`](https://surveyjs.io/form-library/documentation/inputmaskcurrency)
|
30053
|
+
* - [`InputMaskDateTime`](https://surveyjs.io/form-library/documentation/inputmaskdatetime)
|
30054
|
+
* - [`InputMaskPattern`](https://surveyjs.io/form-library/documentation/inputmaskpattern)
|
30055
|
+
*/
|
29868
30056
|
var InputMaskBase = /** @class */ (function (_super) {
|
29869
30057
|
__extends(InputMaskBase, _super);
|
29870
30058
|
function InputMaskBase() {
|
@@ -29961,6 +30149,26 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
29961
30149
|
};
|
29962
30150
|
|
29963
30151
|
|
30152
|
+
/**
|
30153
|
+
* A class that describes an input mask of the `"currency"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
30154
|
+
*
|
30155
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
30156
|
+
*
|
30157
|
+
* ```js
|
30158
|
+
* const surveyJson = {
|
30159
|
+
* "elements": [{
|
30160
|
+
* "name": "textquestion1"
|
30161
|
+
* "type": "text",
|
30162
|
+
* "maskType": "currency",
|
30163
|
+
* "maskSettings": {
|
30164
|
+
* // Specify the properties of a currency input mask here
|
30165
|
+
* }
|
30166
|
+
* }]
|
30167
|
+
* }
|
30168
|
+
* ```
|
30169
|
+
*
|
30170
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
30171
|
+
*/
|
29964
30172
|
var InputMaskCurrency = /** @class */ (function (_super) {
|
29965
30173
|
__extends(InputMaskCurrency, _super);
|
29966
30174
|
function InputMaskCurrency() {
|
@@ -30139,6 +30347,26 @@ function getDateTimeLexems(pattern) {
|
|
30139
30347
|
}
|
30140
30348
|
return result;
|
30141
30349
|
}
|
30350
|
+
/**
|
30351
|
+
* A class that describes an input mask of the `"datetime"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
30352
|
+
*
|
30353
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
30354
|
+
*
|
30355
|
+
* ```js
|
30356
|
+
* const surveyJson = {
|
30357
|
+
* "elements": [{
|
30358
|
+
* "name": "textquestion1"
|
30359
|
+
* "type": "text",
|
30360
|
+
* "maskType": "datetime",
|
30361
|
+
* "maskSettings": {
|
30362
|
+
* // Specify the properties of a date-time input mask here
|
30363
|
+
* }
|
30364
|
+
* }]
|
30365
|
+
* }
|
30366
|
+
* ```
|
30367
|
+
*
|
30368
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
30369
|
+
*/
|
30142
30370
|
var InputMaskDateTime = /** @class */ (function (_super) {
|
30143
30371
|
__extends(InputMaskDateTime, _super);
|
30144
30372
|
function InputMaskDateTime() {
|
@@ -30433,12 +30661,7 @@ var InputMaskDateTime = /** @class */ (function (_super) {
|
|
30433
30661
|
return this.getISO_8601Format(tempDateTime);
|
30434
30662
|
};
|
30435
30663
|
InputMaskDateTime.prototype.getMaskedValue = function (src) {
|
30436
|
-
|
30437
|
-
return this._getMaskedValue(src);
|
30438
|
-
}
|
30439
|
-
else {
|
30440
|
-
return this.getMaskedStrFromISO(src);
|
30441
|
-
}
|
30664
|
+
return this.getMaskedStrFromISO(src);
|
30442
30665
|
};
|
30443
30666
|
InputMaskDateTime.prototype.processInput = function (args) {
|
30444
30667
|
var result = { value: args.prevValue, caretPosition: args.selectionEnd, cancelPreventDefault: false };
|
@@ -30539,6 +30762,26 @@ function splitString(str, reverse, n) {
|
|
30539
30762
|
}
|
30540
30763
|
return arr;
|
30541
30764
|
}
|
30765
|
+
/**
|
30766
|
+
* A class that describes an input mask of the `"numeric"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
30767
|
+
*
|
30768
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
30769
|
+
*
|
30770
|
+
* ```js
|
30771
|
+
* const surveyJson = {
|
30772
|
+
* "elements": [{
|
30773
|
+
* "name": "textquestion1"
|
30774
|
+
* "type": "text",
|
30775
|
+
* "maskType": "numeric",
|
30776
|
+
* "maskSettings": {
|
30777
|
+
* // Specify the properties of a numeric input mask here
|
30778
|
+
* }
|
30779
|
+
* }]
|
30780
|
+
* }
|
30781
|
+
* ```
|
30782
|
+
*
|
30783
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
30784
|
+
*/
|
30542
30785
|
var InputMaskNumeric = /** @class */ (function (_super) {
|
30543
30786
|
__extends(InputMaskNumeric, _super);
|
30544
30787
|
function InputMaskNumeric() {
|
@@ -30863,6 +31106,26 @@ function getUnmaskedValueByPattern(str, pattern, matchWholeMask, skipFixedChar)
|
|
30863
31106
|
}
|
30864
31107
|
return result;
|
30865
31108
|
}
|
31109
|
+
/**
|
31110
|
+
* A class that describes an input mask of the `"pattern"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
31111
|
+
*
|
31112
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
31113
|
+
*
|
31114
|
+
* ```js
|
31115
|
+
* const surveyJson = {
|
31116
|
+
* "elements": [{
|
31117
|
+
* "name": "textquestion1"
|
31118
|
+
* "type": "text",
|
31119
|
+
* "maskType": "pattern",
|
31120
|
+
* "maskSettings": {
|
31121
|
+
* // Specify the properties of a pattern input mask here
|
31122
|
+
* }
|
31123
|
+
* }]
|
31124
|
+
* }
|
31125
|
+
* ```
|
31126
|
+
*
|
31127
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
31128
|
+
*/
|
30866
31129
|
var InputMaskPattern = /** @class */ (function (_super) {
|
30867
31130
|
__extends(InputMaskPattern, _super);
|
30868
31131
|
function InputMaskPattern() {
|
@@ -31599,6 +31862,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
31599
31862
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
31600
31863
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
31601
31864
|
/* 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");
|
31865
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
31602
31866
|
var __extends = (undefined && undefined.__extends) || (function () {
|
31603
31867
|
var extendStatics = function (d, b) {
|
31604
31868
|
extendStatics = Object.setPrototypeOf ||
|
@@ -31636,6 +31900,7 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
|
|
31636
31900
|
|
31637
31901
|
|
31638
31902
|
|
31903
|
+
|
31639
31904
|
var QuestionRowModel = /** @class */ (function (_super) {
|
31640
31905
|
__extends(QuestionRowModel, _super);
|
31641
31906
|
function QuestionRowModel(panel) {
|
@@ -31655,12 +31920,12 @@ var QuestionRowModel = /** @class */ (function (_super) {
|
|
31655
31920
|
QuestionRowModel.prototype.startLazyRendering = function (rowContainerDiv, findScrollableContainer) {
|
31656
31921
|
var _this = this;
|
31657
31922
|
if (findScrollableContainer === void 0) { findScrollableContainer = _utils_utils__WEBPACK_IMPORTED_MODULE_8__["findScrollableParent"]; }
|
31658
|
-
if ("
|
31923
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomDocumentHelper"].isAvailable())
|
31659
31924
|
return;
|
31660
31925
|
this._scrollableParent = findScrollableContainer(rowContainerDiv);
|
31661
31926
|
// if this._scrollableParent is html the scroll event isn't fired, so we should use window
|
31662
|
-
if (this._scrollableParent ===
|
31663
|
-
this._scrollableParent =
|
31927
|
+
if (this._scrollableParent === _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomDocumentHelper"].getDocumentElement()) {
|
31928
|
+
this._scrollableParent = _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomWindowHelper"].getWindow();
|
31664
31929
|
}
|
31665
31930
|
var hasScroll = this._scrollableParent.scrollHeight > this._scrollableParent.clientHeight;
|
31666
31931
|
this.isNeedRender = !hasScroll;
|
@@ -35296,6 +35561,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
35296
35561
|
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
35297
35562
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
35298
35563
|
/* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./survey */ "./src/survey.ts");
|
35564
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
35299
35565
|
var __extends = (undefined && undefined.__extends) || (function () {
|
35300
35566
|
var extendStatics = function (d, b) {
|
35301
35567
|
extendStatics = Object.setPrototypeOf ||
|
@@ -35323,6 +35589,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
35323
35589
|
|
35324
35590
|
|
35325
35591
|
|
35592
|
+
|
35326
35593
|
var PopupDropdownViewModel = /** @class */ (function (_super) {
|
35327
35594
|
__extends(PopupDropdownViewModel, _super);
|
35328
35595
|
function PopupDropdownViewModel(model, targetElement) {
|
@@ -35337,8 +35604,13 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35337
35604
|
_this.hidePopup();
|
35338
35605
|
};
|
35339
35606
|
_this.resizeEventCallback = function () {
|
35340
|
-
|
35341
|
-
|
35607
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable())
|
35608
|
+
return;
|
35609
|
+
var visualViewport = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport();
|
35610
|
+
var documentElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getDocumentElement();
|
35611
|
+
if (!!documentElement && !!visualViewport) {
|
35612
|
+
documentElement.style.setProperty("--sv-popup-overlay-height", visualViewport.height * visualViewport.scale + "px");
|
35613
|
+
}
|
35342
35614
|
};
|
35343
35615
|
_this.resizeWindowCallback = function () {
|
35344
35616
|
if (!_this.isOverlay) {
|
@@ -35370,7 +35642,7 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35370
35642
|
return;
|
35371
35643
|
var fixedPopupContainer = (_b = this.container) === null || _b === void 0 ? void 0 : _b.querySelector(this.fixedPopupContainer);
|
35372
35644
|
var scrollContent = popupContainer.querySelector(this.scrollingContentSelector);
|
35373
|
-
var popupComputedStyle =
|
35645
|
+
var popupComputedStyle = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(popupContainer);
|
35374
35646
|
var marginLeft = (parseFloat(popupComputedStyle.marginLeft) || 0);
|
35375
35647
|
var marginRight = (parseFloat(popupComputedStyle.marginRight) || 0);
|
35376
35648
|
var height = popupContainer.offsetHeight - scrollContent.offsetHeight + scrollContent.scrollHeight;
|
@@ -35378,15 +35650,15 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35378
35650
|
this.model.setWidthByTarget && (this.minWidth = targetElementRect.width + "px");
|
35379
35651
|
var verticalPosition = this.model.verticalPosition;
|
35380
35652
|
var actualHorizontalPosition = this.getActualHorizontalPosition();
|
35381
|
-
if (
|
35382
|
-
var heightValues = [height,
|
35653
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable()) {
|
35654
|
+
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
35655
|
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,
|
35656
|
+
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
35657
|
}
|
35386
35658
|
this.popupDirection = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].calculatePopupDirection(verticalPosition, actualHorizontalPosition);
|
35387
35659
|
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,
|
35660
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable()) {
|
35661
|
+
var newVerticalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].getCorrectedVerticalDimensions(pos.top, height, _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight(), verticalPosition);
|
35390
35662
|
if (!!newVerticalDimensions) {
|
35391
35663
|
this.height = newVerticalDimensions.height + "px";
|
35392
35664
|
pos.top = newVerticalDimensions.top;
|
@@ -35396,7 +35668,7 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35396
35668
|
pos.left = targetElementRect.left;
|
35397
35669
|
}
|
35398
35670
|
else {
|
35399
|
-
var newHorizontalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].updateHorizontalDimensions(pos.left, width,
|
35671
|
+
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
35672
|
if (!!newHorizontalDimensions) {
|
35401
35673
|
this.width = newHorizontalDimensions.width ? newHorizontalDimensions.width + "px" : undefined;
|
35402
35674
|
pos.left = newHorizontalDimensions.left;
|
@@ -35418,8 +35690,8 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35418
35690
|
};
|
35419
35691
|
PopupDropdownViewModel.prototype.getActualHorizontalPosition = function () {
|
35420
35692
|
var actualHorizontalPosition = this.model.horizontalPosition;
|
35421
|
-
if ("
|
35422
|
-
var isRtl =
|
35693
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].isAvailable()) {
|
35694
|
+
var isRtl = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getBody()).direction == "rtl";
|
35423
35695
|
if (isRtl) {
|
35424
35696
|
if (this.model.horizontalPosition === "left") {
|
35425
35697
|
actualHorizontalPosition = "right";
|
@@ -35465,21 +35737,21 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35465
35737
|
this.updatePosition(true, false);
|
35466
35738
|
}
|
35467
35739
|
this.switchFocus();
|
35468
|
-
|
35740
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].addEventListener("resize", this.resizeWindowCallback);
|
35469
35741
|
if (this.shouldCreateResizeCallback) {
|
35470
|
-
|
35742
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport().addEventListener("resize", this.resizeEventCallback);
|
35471
35743
|
if (this.container) {
|
35472
35744
|
this.container.addEventListener("touchstart", this.touchStartEventCallback);
|
35473
35745
|
this.container.addEventListener("touchmove", this.touchMoveEventCallback);
|
35474
35746
|
}
|
35475
|
-
this.calculateIsTablet(
|
35747
|
+
this.calculateIsTablet(_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerWidth(), _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight());
|
35476
35748
|
this.resizeEventCallback();
|
35477
35749
|
}
|
35478
|
-
|
35750
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].addEventListener("scroll", this.scrollEventCallBack);
|
35479
35751
|
};
|
35480
35752
|
Object.defineProperty(PopupDropdownViewModel.prototype, "shouldCreateResizeCallback", {
|
35481
35753
|
get: function () {
|
35482
|
-
return !!
|
35754
|
+
return !!_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport() && this.isOverlay && _utils_devices__WEBPACK_IMPORTED_MODULE_3__["IsTouch"];
|
35483
35755
|
},
|
35484
35756
|
enumerable: false,
|
35485
35757
|
configurable: true
|
@@ -35501,15 +35773,15 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
35501
35773
|
};
|
35502
35774
|
PopupDropdownViewModel.prototype.updateOnHiding = function () {
|
35503
35775
|
_super.prototype.updateOnHiding.call(this);
|
35504
|
-
|
35776
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].removeEventListener("resize", this.resizeWindowCallback);
|
35505
35777
|
if (this.shouldCreateResizeCallback) {
|
35506
|
-
|
35778
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport().removeEventListener("resize", this.resizeEventCallback);
|
35507
35779
|
if (this.container) {
|
35508
35780
|
this.container.removeEventListener("touchstart", this.touchStartEventCallback);
|
35509
35781
|
this.container.removeEventListener("touchmove", this.touchMoveEventCallback);
|
35510
35782
|
}
|
35511
35783
|
}
|
35512
|
-
|
35784
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].removeEventListener("scroll", this.scrollEventCallBack);
|
35513
35785
|
if (!this.isDisposed) {
|
35514
35786
|
this.top = undefined;
|
35515
35787
|
this.left = undefined;
|
@@ -35667,6 +35939,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
35667
35939
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
35668
35940
|
/* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./survey */ "./src/survey.ts");
|
35669
35941
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
35942
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
35670
35943
|
var __extends = (undefined && undefined.__extends) || (function () {
|
35671
35944
|
var extendStatics = function (d, b) {
|
35672
35945
|
extendStatics = Object.setPrototypeOf ||
|
@@ -35691,6 +35964,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
35691
35964
|
|
35692
35965
|
|
35693
35966
|
|
35967
|
+
|
35694
35968
|
/**
|
35695
35969
|
* A class that renders a survey in a pop-up window.
|
35696
35970
|
*
|
@@ -35716,9 +35990,7 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
35716
35990
|
_this.surveyValue = _this.createSurvey(jsonObj);
|
35717
35991
|
}
|
35718
35992
|
_this.surveyValue.fitToContainer = true;
|
35719
|
-
|
35720
|
-
_this.windowElement = document.createElement("div");
|
35721
|
-
}
|
35993
|
+
_this.windowElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].createElement("div");
|
35722
35994
|
_this.survey.onComplete.add(function (survey, options) {
|
35723
35995
|
_this.onSurveyComplete();
|
35724
35996
|
});
|
@@ -36069,14 +36341,9 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
36069
36341
|
var timerId = null;
|
36070
36342
|
var func = function () {
|
36071
36343
|
self.hide();
|
36072
|
-
|
36073
|
-
window.clearInterval(timerId);
|
36074
|
-
}
|
36344
|
+
clearInterval(timerId);
|
36075
36345
|
};
|
36076
|
-
timerId =
|
36077
|
-
typeof window !== "undefined"
|
36078
|
-
? window.setInterval(func, this.closeOnCompleteTimeout * 1000)
|
36079
|
-
: 0;
|
36346
|
+
timerId = setInterval(func, this.closeOnCompleteTimeout * 1000);
|
36080
36347
|
}
|
36081
36348
|
};
|
36082
36349
|
PopupSurveyModel.prototype.onScroll = function () {
|
@@ -36114,15 +36381,17 @@ var SurveyWindowModel = /** @class */ (function (_super) {
|
|
36114
36381
|
__webpack_require__.r(__webpack_exports__);
|
36115
36382
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPopupModalViewModel", function() { return createPopupModalViewModel; });
|
36116
36383
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPopupViewModel", function() { return createPopupViewModel; });
|
36117
|
-
/* harmony import */ var
|
36118
|
-
/* harmony import */ var
|
36119
|
-
/* harmony import */ var
|
36384
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
36385
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
36386
|
+
/* harmony import */ var _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./popup-dropdown-view-model */ "./src/popup-dropdown-view-model.ts");
|
36387
|
+
/* harmony import */ var _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./popup-modal-view-model */ "./src/popup-modal-view-model.ts");
|
36388
|
+
|
36120
36389
|
|
36121
36390
|
|
36122
36391
|
|
36123
36392
|
function createPopupModalViewModel(options, rootElement) {
|
36124
36393
|
var _a;
|
36125
|
-
var popupModel = new
|
36394
|
+
var popupModel = new _popup__WEBPACK_IMPORTED_MODULE_1__["PopupModel"](options.componentName, options.data, "top", "left", false, true, options.onCancel, options.onApply, function () {
|
36126
36395
|
options.onHide();
|
36127
36396
|
if (!!container) {
|
36128
36397
|
popupViewModel.resetComponentElement();
|
@@ -36130,9 +36399,9 @@ function createPopupModalViewModel(options, rootElement) {
|
|
36130
36399
|
}, options.onShow, options.cssClass, options.title);
|
36131
36400
|
popupModel.displayMode = options.displayMode || "popup";
|
36132
36401
|
popupModel.isFocusedContent = (_a = options.isFocusedContent) !== null && _a !== void 0 ? _a : true;
|
36133
|
-
var popupViewModel = new
|
36402
|
+
var popupViewModel = new _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__["PopupModalViewModel"](popupModel);
|
36134
36403
|
if (!!rootElement && !!rootElement.appendChild) {
|
36135
|
-
var container =
|
36404
|
+
var container = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("div");
|
36136
36405
|
rootElement.appendChild(container);
|
36137
36406
|
popupViewModel.setComponentElement(container);
|
36138
36407
|
}
|
@@ -36143,10 +36412,10 @@ function createPopupModalViewModel(options, rootElement) {
|
|
36143
36412
|
}
|
36144
36413
|
function createPopupViewModel(model, targetElement) {
|
36145
36414
|
if (model.isModal) {
|
36146
|
-
return new
|
36415
|
+
return new _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__["PopupModalViewModel"](model);
|
36147
36416
|
}
|
36148
36417
|
else {
|
36149
|
-
return new
|
36418
|
+
return new _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_2__["PopupDropdownViewModel"](model, targetElement);
|
36150
36419
|
}
|
36151
36420
|
}
|
36152
36421
|
|
@@ -36170,6 +36439,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
36170
36439
|
/* harmony import */ var _actions_container__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./actions/container */ "./src/actions/container.ts");
|
36171
36440
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
36172
36441
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
36442
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
36173
36443
|
var __extends = (undefined && undefined.__extends) || (function () {
|
36174
36444
|
var extendStatics = function (d, b) {
|
36175
36445
|
extendStatics = Object.setPrototypeOf ||
|
@@ -36197,6 +36467,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
36197
36467
|
|
36198
36468
|
|
36199
36469
|
|
36470
|
+
|
36200
36471
|
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
36472
|
var PopupBaseViewModel = /** @class */ (function (_super) {
|
36202
36473
|
__extends(PopupBaseViewModel, _super);
|
@@ -36473,8 +36744,8 @@ var PopupBaseViewModel = /** @class */ (function (_super) {
|
|
36473
36744
|
this.resetComponentElement();
|
36474
36745
|
};
|
36475
36746
|
PopupBaseViewModel.prototype.initializePopupContainer = function () {
|
36476
|
-
if (!this.container
|
36477
|
-
var container =
|
36747
|
+
if (!this.container) {
|
36748
|
+
var container = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].createElement("div");
|
36478
36749
|
this.createdContainer = container;
|
36479
36750
|
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_5__["getElement"])(_settings__WEBPACK_IMPORTED_MODULE_4__["settings"].environment.popupMountContainer).appendChild(container);
|
36480
36751
|
}
|
@@ -36491,7 +36762,7 @@ var PopupBaseViewModel = /** @class */ (function (_super) {
|
|
36491
36762
|
PopupBaseViewModel.prototype.preventScrollOuside = function (event, deltaY) {
|
36492
36763
|
var currentElement = event.target;
|
36493
36764
|
while (currentElement !== this.container) {
|
36494
|
-
if (
|
36765
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(currentElement).overflowY === "auto" && currentElement.scrollHeight !== currentElement.offsetHeight) {
|
36495
36766
|
var scrollHeight = currentElement.scrollHeight, scrollTop = currentElement.scrollTop, clientHeight = currentElement.clientHeight;
|
36496
36767
|
if (!(deltaY > 0 && Math.abs(scrollHeight - clientHeight - scrollTop) < 1) && !(deltaY < 0 && scrollTop <= 0)) {
|
36497
36768
|
return;
|
@@ -36545,6 +36816,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
36545
36816
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createDialogOptions", function() { return createDialogOptions; });
|
36546
36817
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
36547
36818
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
36819
|
+
/* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
|
36548
36820
|
var __extends = (undefined && undefined.__extends) || (function () {
|
36549
36821
|
var extendStatics = function (d, b) {
|
36550
36822
|
extendStatics = Object.setPrototypeOf ||
|
@@ -36568,6 +36840,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
36568
36840
|
};
|
36569
36841
|
|
36570
36842
|
|
36843
|
+
|
36571
36844
|
var PopupModel = /** @class */ (function (_super) {
|
36572
36845
|
__extends(PopupModel, _super);
|
36573
36846
|
function PopupModel(contentComponentName, contentComponentData, verticalPosition, horizontalPosition, showPointer, isModal, onCancel, onApply, onHide, onShow, cssClass, title, onDispose) {
|
@@ -36700,6 +36973,7 @@ function createDialogOptions(componentName, data, onApply, onCancel, onHide, onS
|
|
36700
36973
|
if (onHide === void 0) { onHide = function () { }; }
|
36701
36974
|
if (onShow === void 0) { onShow = function () { }; }
|
36702
36975
|
if (displayMode === void 0) { displayMode = "popup"; }
|
36976
|
+
_console_warnings__WEBPACK_IMPORTED_MODULE_2__["ConsoleWarnings"].warn("The `showModal()` and `createDialogOptions()` methods are obsolete. Use the `showDialog()` method instead.");
|
36703
36977
|
return {
|
36704
36978
|
componentName: componentName,
|
36705
36979
|
data: data,
|
@@ -36836,7 +37110,7 @@ var ProgressButtons = /** @class */ (function (_super) {
|
|
36836
37110
|
if (!listContainerElement)
|
36837
37111
|
return;
|
36838
37112
|
var listContainerElements = element.querySelectorAll(".sd-progress-buttons__connector");
|
36839
|
-
var circleWidth = this.showItemNumbers ? 17 :
|
37113
|
+
var circleWidth = this.showItemNumbers ? 17 : 5;
|
36840
37114
|
var connectorWidth = listContainerElement.clientWidth / (listContainerElement.children.length - 1) - circleWidth;
|
36841
37115
|
for (var i = 0; i < listContainerElements.length; i++) {
|
36842
37116
|
listContainerElements[i].style.width = connectorWidth + "px";
|
@@ -36989,6 +37263,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
36989
37263
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
36990
37264
|
/* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
|
36991
37265
|
/* harmony import */ var _conditionProcessValue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./conditionProcessValue */ "./src/conditionProcessValue.ts");
|
37266
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
36992
37267
|
var __extends = (undefined && undefined.__extends) || (function () {
|
36993
37268
|
var extendStatics = function (d, b) {
|
36994
37269
|
extendStatics = Object.setPrototypeOf ||
|
@@ -37024,6 +37299,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
37024
37299
|
|
37025
37300
|
|
37026
37301
|
|
37302
|
+
|
37027
37303
|
var TriggerExpressionInfo = /** @class */ (function () {
|
37028
37304
|
function TriggerExpressionInfo(name, canRun, doComplete) {
|
37029
37305
|
this.name = name;
|
@@ -39943,7 +40219,7 @@ var Question = /** @class */ (function (_super) {
|
|
39943
40219
|
}
|
39944
40220
|
};
|
39945
40221
|
this.resizeObserver = new ResizeObserver(function (entries) {
|
39946
|
-
|
40222
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_14__["DomWindowHelper"].requestAnimationFrame(function () {
|
39947
40223
|
_this.triggerResponsiveness(false);
|
39948
40224
|
});
|
39949
40225
|
});
|
@@ -40994,8 +41270,13 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
40994
41270
|
!this.isValueEmpty(this.defaultValue) &&
|
40995
41271
|
this.hasUnknownValue(this.defaultValue);
|
40996
41272
|
this.prevOtherValue = undefined;
|
41273
|
+
var prevComment = this.comment;
|
40997
41274
|
_super.prototype.setDefaultValue.call(this);
|
40998
41275
|
this.isSettingDefaultValue = false;
|
41276
|
+
if (this.comment && this.getStoreOthersAsComment() && prevComment !== this.comment) {
|
41277
|
+
this.setValueCore(this.setOtherValueIntoValue(this.value));
|
41278
|
+
this.setCommentIntoData(this.comment);
|
41279
|
+
}
|
40999
41280
|
};
|
41000
41281
|
QuestionSelectBase.prototype.getIsMultipleValue = function () {
|
41001
41282
|
return false;
|
@@ -41348,6 +41629,18 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
41348
41629
|
});
|
41349
41630
|
};
|
41350
41631
|
QuestionSelectBase.prototype.hasUnknownValue = function (val, includeOther, isFilteredChoices, checkEmptyValue) {
|
41632
|
+
if (includeOther === void 0) { includeOther = false; }
|
41633
|
+
if (isFilteredChoices === void 0) { isFilteredChoices = true; }
|
41634
|
+
if (checkEmptyValue === void 0) { checkEmptyValue = false; }
|
41635
|
+
if (!Array.isArray(val))
|
41636
|
+
return this.hasUnknownValueItem(val, includeOther, isFilteredChoices, checkEmptyValue);
|
41637
|
+
for (var i = 0; i < val.length; i++) {
|
41638
|
+
if (this.hasUnknownValueItem(val, includeOther, isFilteredChoices, checkEmptyValue))
|
41639
|
+
return true;
|
41640
|
+
}
|
41641
|
+
return false;
|
41642
|
+
};
|
41643
|
+
QuestionSelectBase.prototype.hasUnknownValueItem = function (val, includeOther, isFilteredChoices, checkEmptyValue) {
|
41351
41644
|
if (includeOther === void 0) { includeOther = false; }
|
41352
41645
|
if (isFilteredChoices === void 0) { isFilteredChoices = true; }
|
41353
41646
|
if (checkEmptyValue === void 0) { checkEmptyValue = false; }
|
@@ -42917,6 +43210,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
42917
43210
|
/* harmony import */ var _question__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./question */ "./src/question.ts");
|
42918
43211
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
42919
43212
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
43213
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
42920
43214
|
var __extends = (undefined && undefined.__extends) || (function () {
|
42921
43215
|
var extendStatics = function (d, b) {
|
42922
43216
|
extendStatics = Object.setPrototypeOf ||
|
@@ -42943,6 +43237,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
42943
43237
|
|
42944
43238
|
|
42945
43239
|
|
43240
|
+
|
42946
43241
|
/**
|
42947
43242
|
* A class that describes the Yes/No (Boolean) question type.
|
42948
43243
|
*
|
@@ -43240,8 +43535,8 @@ var QuestionBooleanModel = /** @class */ (function (_super) {
|
|
43240
43535
|
};
|
43241
43536
|
QuestionBooleanModel.prototype.calculateBooleanValueByEvent = function (event, isRightClick) {
|
43242
43537
|
var isRtl = false;
|
43243
|
-
if ("
|
43244
|
-
isRtl =
|
43538
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_5__["DomDocumentHelper"].isAvailable()) {
|
43539
|
+
isRtl = _global_variables_utils__WEBPACK_IMPORTED_MODULE_5__["DomDocumentHelper"].getComputedStyle(event.target).direction == "rtl";
|
43245
43540
|
}
|
43246
43541
|
this.booleanValue = isRtl ? !isRightClick : isRightClick;
|
43247
43542
|
};
|
@@ -44064,7 +44359,7 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
44064
44359
|
if (!Array.isArray(newValue))
|
44065
44360
|
return -1;
|
44066
44361
|
for (var i = 0; i < newValue.length; i++) {
|
44067
|
-
if (this.
|
44362
|
+
if (this.hasUnknownValueItem(newValue[i], false, false))
|
44068
44363
|
return i;
|
44069
44364
|
}
|
44070
44365
|
return -1;
|
@@ -44131,6 +44426,10 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
44131
44426
|
return this.hasSelectAll;
|
44132
44427
|
return _super.prototype.isItemInList.call(this, item);
|
44133
44428
|
};
|
44429
|
+
QuestionCheckboxModel.prototype.getDisplayValueEmpty = function () {
|
44430
|
+
var _this = this;
|
44431
|
+
return _itemvalue__WEBPACK_IMPORTED_MODULE_4__["ItemValue"].getTextOrHtmlByValue(this.visibleChoices.filter(function (choice) { return choice != _this.selectAllItemValue; }), undefined);
|
44432
|
+
};
|
44134
44433
|
QuestionCheckboxModel.prototype.getDisplayValueCore = function (keysAsText, value) {
|
44135
44434
|
if (!Array.isArray(value))
|
44136
44435
|
return _super.prototype.getDisplayValueCore.call(this, keysAsText, value);
|
@@ -44287,7 +44586,7 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
44287
44586
|
for (var i = 0; i < val.length; i++) {
|
44288
44587
|
if (val[i] == this.otherItem.value)
|
44289
44588
|
return val;
|
44290
|
-
if (this.
|
44589
|
+
if (this.hasUnknownValueItem(val[i], true, false)) {
|
44291
44590
|
this.otherValue = val[i];
|
44292
44591
|
var newVal = val.slice();
|
44293
44592
|
newVal[i] = this.otherItem.value;
|
@@ -45255,9 +45554,10 @@ var QuestionCustomModel = /** @class */ (function (_super) {
|
|
45255
45554
|
}
|
45256
45555
|
};
|
45257
45556
|
QuestionCustomModel.prototype.convertDataName = function (name) {
|
45258
|
-
|
45557
|
+
var q = this.contentQuestion;
|
45558
|
+
if (!q || name === this.getValueName())
|
45259
45559
|
return _super.prototype.convertDataName.call(this, name);
|
45260
|
-
var newName = name.replace(
|
45560
|
+
var newName = name.replace(q.getValueName(), this.getValueName());
|
45261
45561
|
return newName.indexOf(this.getValueName()) == 0
|
45262
45562
|
? newName
|
45263
45563
|
: _super.prototype.convertDataName.call(this, name);
|
@@ -46094,6 +46394,9 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
|
|
46094
46394
|
__decorate([
|
46095
46395
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
46096
46396
|
], QuestionDropdownModel.prototype, "searchMode", void 0);
|
46397
|
+
__decorate([
|
46398
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
46399
|
+
], QuestionDropdownModel.prototype, "textWrapEnabled", void 0);
|
46097
46400
|
__decorate([
|
46098
46401
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
|
46099
46402
|
], QuestionDropdownModel.prototype, "inputHasValue", void 0);
|
@@ -46119,6 +46422,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("dropdown", [
|
|
46119
46422
|
{ name: "choicesMax:number", default: 0 },
|
46120
46423
|
{ name: "choicesStep:number", default: 1, minValue: 1 },
|
46121
46424
|
{ name: "autocomplete", alternativeName: "autoComplete", choices: _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].questions.dataList, },
|
46425
|
+
{ name: "textWrapEnabled:boolean", default: true },
|
46122
46426
|
{ name: "renderAs", default: "default", visible: false },
|
46123
46427
|
{ name: "searchEnabled:boolean", default: true, visible: false },
|
46124
46428
|
{ name: "searchMode", default: "contains", choices: ["contains", "startsWith"], },
|
@@ -46762,6 +47066,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
46762
47066
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers */ "./src/helpers.ts");
|
46763
47067
|
/* harmony import */ var _utils_camera__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/camera */ "./src/utils/camera.ts");
|
46764
47068
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
47069
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
46765
47070
|
var __extends = (undefined && undefined.__extends) || (function () {
|
46766
47071
|
var extendStatics = function (d, b) {
|
46767
47072
|
extendStatics = Object.setPrototypeOf ||
|
@@ -46796,6 +47101,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
46796
47101
|
|
46797
47102
|
|
46798
47103
|
|
47104
|
+
|
46799
47105
|
function dataUrl2File(dataUrl, fileName, type) {
|
46800
47106
|
var str = atob(dataUrl.split(",")[1]);
|
46801
47107
|
var buffer = new Uint8Array(str.split("").map(function (c) { return c.charCodeAt(0); })).buffer;
|
@@ -47344,12 +47650,14 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
47344
47650
|
});
|
47345
47651
|
QuestionFileModel.prototype.chooseFile = function (event) {
|
47346
47652
|
var _this = this;
|
47347
|
-
|
47653
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].isAvailable())
|
47654
|
+
return;
|
47655
|
+
var inputElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].getDocument().getElementById(this.inputId);
|
47348
47656
|
event.preventDefault();
|
47349
47657
|
event.stopImmediatePropagation();
|
47350
47658
|
if (inputElement) {
|
47351
47659
|
if (this.survey) {
|
47352
|
-
this.survey.chooseFiles(inputElement, function (files) { return _this.loadFiles(files); }, { element: this });
|
47660
|
+
this.survey.chooseFiles(inputElement, function (files) { return _this.loadFiles(files); }, { element: this, elementType: this.getType(), propertyName: this.name });
|
47353
47661
|
}
|
47354
47662
|
else {
|
47355
47663
|
inputElement.click();
|
@@ -47795,7 +48103,7 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
47795
48103
|
.toString();
|
47796
48104
|
};
|
47797
48105
|
QuestionFileModel.prototype.onChange = function (src) {
|
47798
|
-
if (!
|
48106
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomWindowHelper"].isFileReaderAvailable())
|
47799
48107
|
return;
|
47800
48108
|
if (!src || !src.files || src.files.length < 1)
|
47801
48109
|
return;
|
@@ -47861,10 +48169,10 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
47861
48169
|
var fileListSelector = this.getFileListSelector();
|
47862
48170
|
var fileListElement = fileListSelector ? this.rootElement.querySelector(this.getFileListSelector()) : undefined;
|
47863
48171
|
if (fileListElement) {
|
47864
|
-
this.calculatedGapBetweenItems = Math.ceil(Number.parseFloat(
|
48172
|
+
this.calculatedGapBetweenItems = Math.ceil(Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].getComputedStyle(fileListElement).gap));
|
47865
48173
|
var firstVisibleItem = Array.from(fileListElement.children).filter(function (_, index) { return _this.isPreviewVisible(index); })[0];
|
47866
48174
|
if (firstVisibleItem) {
|
47867
|
-
this.calculatedItemWidth = Math.ceil(Number.parseFloat(
|
48175
|
+
this.calculatedItemWidth = Math.ceil(Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].getComputedStyle(firstVisibleItem).width));
|
47868
48176
|
}
|
47869
48177
|
}
|
47870
48178
|
}
|
@@ -48075,6 +48383,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
48075
48383
|
/* harmony import */ var _questionnonvalue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./questionnonvalue */ "./src/questionnonvalue.ts");
|
48076
48384
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
48077
48385
|
/* harmony import */ var _questionfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./questionfactory */ "./src/questionfactory.ts");
|
48386
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
48078
48387
|
var __extends = (undefined && undefined.__extends) || (function () {
|
48079
48388
|
var extendStatics = function (d, b) {
|
48080
48389
|
extendStatics = Object.setPrototypeOf ||
|
@@ -48093,6 +48402,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
48093
48402
|
|
48094
48403
|
|
48095
48404
|
|
48405
|
+
|
48096
48406
|
/**
|
48097
48407
|
* A class that describes the HTML question type. Unlike other question types, HTML cannot have a title or value.
|
48098
48408
|
*
|
@@ -48164,6 +48474,13 @@ var QuestionHtmlModel = /** @class */ (function (_super) {
|
|
48164
48474
|
enumerable: false,
|
48165
48475
|
configurable: true
|
48166
48476
|
});
|
48477
|
+
Object.defineProperty(QuestionHtmlModel.prototype, "renderCssRoot", {
|
48478
|
+
get: function () {
|
48479
|
+
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]().append(this.cssClasses.root).append(this.cssClasses.nested, this.getIsNested()).toString() || undefined;
|
48480
|
+
},
|
48481
|
+
enumerable: false,
|
48482
|
+
configurable: true
|
48483
|
+
});
|
48167
48484
|
return QuestionHtmlModel;
|
48168
48485
|
}(_questionnonvalue__WEBPACK_IMPORTED_MODULE_0__["QuestionNonValue"]));
|
48169
48486
|
|
@@ -48542,6 +48859,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
48542
48859
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
48543
48860
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
48544
48861
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
48862
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
48545
48863
|
var __extends = (undefined && undefined.__extends) || (function () {
|
48546
48864
|
var extendStatics = function (d, b) {
|
48547
48865
|
extendStatics = Object.setPrototypeOf ||
|
@@ -48571,6 +48889,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
48571
48889
|
|
48572
48890
|
|
48573
48891
|
|
48892
|
+
|
48574
48893
|
var ImageItemValue = /** @class */ (function (_super) {
|
48575
48894
|
__extends(ImageItemValue, _super);
|
48576
48895
|
function ImageItemValue(value, text, typeName) {
|
@@ -49045,7 +49364,7 @@ var QuestionImagePickerModel = /** @class */ (function (_super) {
|
|
49045
49364
|
var observedElement = el && selector ? el.querySelector(selector) : undefined;
|
49046
49365
|
if (!!observedElement) {
|
49047
49366
|
this.reCalcGapBetweenItemsCallback = function () {
|
49048
|
-
_this.gapBetweenItems = Math.ceil(Number.parseFloat(
|
49367
|
+
_this.gapBetweenItems = Math.ceil(Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_8__["DomDocumentHelper"].getComputedStyle(observedElement).gap)) || 16;
|
49049
49368
|
};
|
49050
49369
|
this.reCalcGapBetweenItemsCallback();
|
49051
49370
|
}
|
@@ -49578,7 +49897,7 @@ var QuestionMatrixModel = /** @class */ (function (_super) {
|
|
49578
49897
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_11__["CssClassBuilder"]()
|
49579
49898
|
.append(css.cell, hasCellText)
|
49580
49899
|
.append(hasCellText ? css.cellText : css.label)
|
49581
|
-
.append(css.itemOnError, !hasCellText && this.hasCssError())
|
49900
|
+
.append(css.itemOnError, !hasCellText && (this.isAllRowRequired ? this.hasErrorInRow(row) : this.hasCssError()))
|
49582
49901
|
.append(hasCellText ? css.cellTextSelected : css.itemChecked, isChecked)
|
49583
49902
|
.append(hasCellText ? css.cellTextDisabled : css.itemDisabled, isDisabled)
|
49584
49903
|
.append(css.itemHover, allowHover && !hasCellText)
|
@@ -52702,6 +53021,9 @@ var QuestionMatrixDropdownModelBase = /** @class */ (function (_super) {
|
|
52702
53021
|
if (!!this.renderedTable) {
|
52703
53022
|
this.renderedTable.onDetailPanelChangeVisibility(row, val);
|
52704
53023
|
}
|
53024
|
+
if (this.survey) {
|
53025
|
+
this.survey.matrixDetailPanelVisibleChanged(this, row.rowIndex - 1, row, val);
|
53026
|
+
}
|
52705
53027
|
if (val && this.detailPanelMode === "underRowSingle") {
|
52706
53028
|
var rows = this.visibleRows;
|
52707
53029
|
for (var i = 0; i < rows.length; i++) {
|
@@ -53434,7 +53756,7 @@ var MatrixDropdownColumn = /** @class */ (function (_super) {
|
|
53434
53756
|
enumerable: false,
|
53435
53757
|
configurable: true
|
53436
53758
|
});
|
53437
|
-
Object.defineProperty(MatrixDropdownColumn.prototype, "
|
53759
|
+
Object.defineProperty(MatrixDropdownColumn.prototype, "setValueExpression", {
|
53438
53760
|
/**
|
53439
53761
|
* An expression used to calculate a value for all column cells.
|
53440
53762
|
*
|
@@ -53445,10 +53767,10 @@ var MatrixDropdownColumn = /** @class */ (function (_super) {
|
|
53445
53767
|
* @see resetValueIf
|
53446
53768
|
*/
|
53447
53769
|
get: function () {
|
53448
|
-
return this.templateQuestion.
|
53770
|
+
return this.templateQuestion.setValueExpression;
|
53449
53771
|
},
|
53450
53772
|
set: function (val) {
|
53451
|
-
this.templateQuestion.
|
53773
|
+
this.templateQuestion.setValueExpression = val;
|
53452
53774
|
},
|
53453
53775
|
enumerable: false,
|
53454
53776
|
configurable: true
|
@@ -59891,9 +60213,9 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
|
|
59891
60213
|
enumerable: false,
|
59892
60214
|
configurable: true
|
59893
60215
|
});
|
59894
|
-
QuestionPanelDynamicModel.prototype.getPanelWrapperCss = function () {
|
60216
|
+
QuestionPanelDynamicModel.prototype.getPanelWrapperCss = function (panel) {
|
59895
60217
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
|
59896
|
-
.append(this.cssClasses.panelWrapper)
|
60218
|
+
.append(this.cssClasses.panelWrapper, !panel || panel.visible)
|
59897
60219
|
.append(this.cssClasses.panelWrapperInRow, this.panelRemoveButtonLocation === "right")
|
59898
60220
|
.toString();
|
59899
60221
|
};
|
@@ -61122,6 +61444,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
61122
61444
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
61123
61445
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
61124
61446
|
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
61447
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
61125
61448
|
var __extends = (undefined && undefined.__extends) || (function () {
|
61126
61449
|
var extendStatics = function (d, b) {
|
61127
61450
|
extendStatics = Object.setPrototypeOf ||
|
@@ -61153,6 +61476,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
61153
61476
|
|
61154
61477
|
|
61155
61478
|
|
61479
|
+
|
61156
61480
|
var RenderedRatingItem = /** @class */ (function (_super) {
|
61157
61481
|
__extends(RenderedRatingItem, _super);
|
61158
61482
|
function RenderedRatingItem(itemValue, locString) {
|
@@ -61437,19 +61761,22 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
61437
61761
|
QuestionRatingModel.prototype.updateColors = function (themeVariables) {
|
61438
61762
|
if (this.colorMode === "monochrome")
|
61439
61763
|
return;
|
61440
|
-
if (
|
61764
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_10__["DomDocumentHelper"].isAvailable())
|
61441
61765
|
return;
|
61442
61766
|
if (QuestionRatingModel.colorsCalculated)
|
61443
61767
|
return;
|
61444
61768
|
function getRGBColor(colorName, varName) {
|
61445
61769
|
var str = !!themeVariables && themeVariables[colorName];
|
61446
61770
|
if (!str) {
|
61447
|
-
var style = getComputedStyle(
|
61771
|
+
var style = getComputedStyle(_global_variables_utils__WEBPACK_IMPORTED_MODULE_10__["DomDocumentHelper"].getDocumentElement());
|
61448
61772
|
str = style.getPropertyValue && style.getPropertyValue(varName);
|
61449
61773
|
}
|
61450
61774
|
if (!str)
|
61451
61775
|
return null;
|
61452
|
-
var
|
61776
|
+
var canvasElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_10__["DomDocumentHelper"].createElement("canvas");
|
61777
|
+
if (!canvasElement)
|
61778
|
+
return null;
|
61779
|
+
var ctx = canvasElement.getContext("2d");
|
61453
61780
|
ctx.fillStyle = str;
|
61454
61781
|
var newStr = ctx.fillStyle;
|
61455
61782
|
if (newStr.startsWith("rgba")) {
|
@@ -62383,9 +62710,7 @@ var QuestionSignaturePadModel = /** @class */ (function (_super) {
|
|
62383
62710
|
};
|
62384
62711
|
QuestionSignaturePadModel.prototype.fromUrl = function (url) {
|
62385
62712
|
var _this = this;
|
62386
|
-
|
62387
|
-
return;
|
62388
|
-
var img = document.createElement("img");
|
62713
|
+
var img = new Image();
|
62389
62714
|
img.crossOrigin = "anonymous";
|
62390
62715
|
img.src = url;
|
62391
62716
|
img.onload = function () {
|
@@ -63021,8 +63346,8 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
63021
63346
|
};
|
63022
63347
|
QuestionTagboxModel.prototype.dispose = function () {
|
63023
63348
|
_super.prototype.dispose.call(this);
|
63024
|
-
if (!!this.
|
63025
|
-
this.
|
63349
|
+
if (!!this.dropdownListModel) {
|
63350
|
+
this.dropdownListModel.dispose();
|
63026
63351
|
}
|
63027
63352
|
};
|
63028
63353
|
QuestionTagboxModel.prototype.clearValue = function () {
|
@@ -63078,6 +63403,9 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
63078
63403
|
__decorate([
|
63079
63404
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ getDefaultValue: function () { return _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].tagboxCloseOnSelect; } })
|
63080
63405
|
], QuestionTagboxModel.prototype, "closeOnSelect", void 0);
|
63406
|
+
__decorate([
|
63407
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
63408
|
+
], QuestionTagboxModel.prototype, "textWrapEnabled", void 0);
|
63081
63409
|
return QuestionTagboxModel;
|
63082
63410
|
}(_question_checkbox__WEBPACK_IMPORTED_MODULE_3__["QuestionCheckboxModel"]));
|
63083
63411
|
|
@@ -63085,6 +63413,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("tagbox", [
|
|
63085
63413
|
{ name: "placeholder", serializationProperty: "locPlaceholder" },
|
63086
63414
|
{ name: "allowClear:boolean", default: true },
|
63087
63415
|
{ name: "searchEnabled:boolean", default: true },
|
63416
|
+
{ name: "textWrapEnabled:boolean", default: true },
|
63088
63417
|
{ name: "choicesLazyLoadEnabled:boolean", default: false, visible: false },
|
63089
63418
|
{ name: "choicesLazyLoadPageSize:number", default: 25, visible: false },
|
63090
63419
|
{ name: "hideSelectedItems:boolean", default: false },
|
@@ -63255,6 +63584,20 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
63255
63584
|
configurable: true
|
63256
63585
|
});
|
63257
63586
|
Object.defineProperty(QuestionTextModel.prototype, "maskSettings", {
|
63587
|
+
/**
|
63588
|
+
* An object with properties that configure the mask applied to the input.
|
63589
|
+
*
|
63590
|
+
* 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:
|
63591
|
+
*
|
63592
|
+
* | `maskType` | Class |
|
63593
|
+
* | ---------- | ----- |
|
63594
|
+
* | `"numeric"` | [`InputMaskNumeric`](https://surveyjs.io/form-library/documentation/api-reference/inputmasknumeric) |
|
63595
|
+
* | `"currency"` | [`InputMaskCurrency`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskcurrency) |
|
63596
|
+
* | `"datetime"` | [`InputMaskDateTime`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskdatetime) |
|
63597
|
+
* | `"pattern"` | [`InputMaskPattern`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskpattern) |
|
63598
|
+
*
|
63599
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
63600
|
+
*/
|
63258
63601
|
get: function () {
|
63259
63602
|
return this.getPropertyValue("maskSettings");
|
63260
63603
|
},
|
@@ -63534,12 +63877,14 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
63534
63877
|
});
|
63535
63878
|
Object.defineProperty(QuestionTextModel.prototype, "inputValue", {
|
63536
63879
|
get: function () {
|
63537
|
-
return
|
63880
|
+
return this._inputValue;
|
63538
63881
|
},
|
63539
63882
|
set: function (val) {
|
63540
63883
|
var value = val;
|
63884
|
+
this._inputValue = val;
|
63541
63885
|
if (!this.maskTypeIsEmpty) {
|
63542
63886
|
value = this.maskInstance.getUnmaskedValue(val);
|
63887
|
+
this._inputValue = this.maskInstance.getMaskedValue(value);
|
63543
63888
|
if (!!value && this.maskSettings.saveMaskedValue) {
|
63544
63889
|
value = this.maskInstance.getMaskedValue(value);
|
63545
63890
|
}
|
@@ -63549,6 +63894,21 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
63549
63894
|
enumerable: false,
|
63550
63895
|
configurable: true
|
63551
63896
|
});
|
63897
|
+
QuestionTextModel.prototype.onChangeQuestionValue = function (newValue) {
|
63898
|
+
_super.prototype.onChangeQuestionValue.call(this, newValue);
|
63899
|
+
this.updateInputValue();
|
63900
|
+
};
|
63901
|
+
QuestionTextModel.prototype.updateInputValue = function () {
|
63902
|
+
if (this.maskTypeIsEmpty) {
|
63903
|
+
this._inputValue = this.value;
|
63904
|
+
}
|
63905
|
+
else if (this.maskSettings.saveMaskedValue) {
|
63906
|
+
this._inputValue = !!this.value ? this.value : this.maskInstance.getMaskedValue("");
|
63907
|
+
}
|
63908
|
+
else {
|
63909
|
+
this._inputValue = this.maskInstance.getMaskedValue(this.value);
|
63910
|
+
}
|
63911
|
+
};
|
63552
63912
|
QuestionTextModel.prototype.onCheckForErrors = function (errors, isOnValueChanged) {
|
63553
63913
|
var _this = this;
|
63554
63914
|
_super.prototype.onCheckForErrors.call(this, errors, isOnValueChanged);
|
@@ -63739,11 +64099,20 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
63739
64099
|
get: function () {
|
63740
64100
|
var style = {};
|
63741
64101
|
style.width = this.inputWidth;
|
64102
|
+
this.updateTextAlign(style);
|
63742
64103
|
return style;
|
63743
64104
|
},
|
63744
64105
|
enumerable: false,
|
63745
64106
|
configurable: true
|
63746
64107
|
});
|
64108
|
+
QuestionTextModel.prototype.updateTextAlign = function (style) {
|
64109
|
+
if (this.inputTextAlignment !== "auto") {
|
64110
|
+
style.textAlign = this.inputTextAlignment;
|
64111
|
+
}
|
64112
|
+
else if (this.maskType === "numeric" || this.maskType === "currency") {
|
64113
|
+
style.textAlign = "right";
|
64114
|
+
}
|
64115
|
+
};
|
63747
64116
|
QuestionTextModel.prototype.updateValueOnEvent = function (event) {
|
63748
64117
|
var newValue = event.target.value;
|
63749
64118
|
if (!this.isTwoValueEquals(this.value, newValue)) {
|
@@ -63765,6 +64134,12 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
63765
64134
|
onSet: function (newValue, target) { target.onSetMaskType(newValue); }
|
63766
64135
|
})
|
63767
64136
|
], QuestionTextModel.prototype, "maskType", void 0);
|
64137
|
+
__decorate([
|
64138
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
64139
|
+
], QuestionTextModel.prototype, "inputTextAlignment", void 0);
|
64140
|
+
__decorate([
|
64141
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
64142
|
+
], QuestionTextModel.prototype, "_inputValue", void 0);
|
63768
64143
|
return QuestionTextModel;
|
63769
64144
|
}(_question_textbase__WEBPACK_IMPORTED_MODULE_7__["QuestionTextBase"]));
|
63770
64145
|
|
@@ -63928,6 +64303,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("text", [
|
|
63928
64303
|
return isMinMaxType(obj);
|
63929
64304
|
},
|
63930
64305
|
},
|
64306
|
+
{ name: "inputTextAlignment", default: "auto", choices: ["left", "right", "auto"], visible: false },
|
63931
64307
|
{
|
63932
64308
|
name: "maskType:masktype",
|
63933
64309
|
default: "none",
|
@@ -68875,8 +69251,8 @@ var SurveyPanelBase = /** @class */ (function (_super) {
|
|
68875
69251
|
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
68876
69252
|
if (!!prevProps.page &&
|
68877
69253
|
!!this.survey &&
|
68878
|
-
!!this.survey.
|
68879
|
-
prevProps.page.id === this.survey.
|
69254
|
+
!!this.survey.activePage &&
|
69255
|
+
prevProps.page.id === this.survey.activePage.id)
|
68880
69256
|
return;
|
68881
69257
|
this.doAfterRender();
|
68882
69258
|
};
|
@@ -69226,7 +69602,11 @@ var SurveyProgressButtons = /** @class */ (function (_super) {
|
|
69226
69602
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsConnector }),
|
69227
69603
|
this.state.canShowItemTitles ? react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
|
69228
69604
|
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageTitle, title: page.renderedNavigationTitle }, page.renderedNavigationTitle),
|
69229
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageDescription, title: page.navigationDescription }, page.navigationDescription)) : null
|
69605
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsPageDescription, title: page.navigationDescription }, page.navigationDescription)) : null,
|
69606
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsButton },
|
69607
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsButtonBackground }),
|
69608
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.css.progressButtonsButtonContent }),
|
69609
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("span", null, this.model.getItemNumber(page)))));
|
69230
69610
|
};
|
69231
69611
|
SurveyProgressButtons.prototype.clickScrollButton = function (listContainerElement, isLeftScroll) {
|
69232
69612
|
if (!!listContainerElement) {
|
@@ -72965,7 +73345,7 @@ var SurveyQuestionPanelDynamicItem = /** @class */ (function (_super) {
|
|
72965
73345
|
var separator = this.question.showSeparator(this.index) ?
|
72966
73346
|
(react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("hr", { className: this.question.cssClasses.separator })) : null;
|
72967
73347
|
return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"](react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null,
|
72968
|
-
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.getPanelWrapperCss() },
|
73348
|
+
react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { className: this.question.getPanelWrapperCss(this.panel) },
|
72969
73349
|
panel,
|
72970
73350
|
removeButton),
|
72971
73351
|
separator));
|
@@ -74591,23 +74971,25 @@ var RendererFactory = /** @class */ (function () {
|
|
74591
74971
|
"use strict";
|
74592
74972
|
__webpack_require__.r(__webpack_exports__);
|
74593
74973
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
|
74594
|
-
/* harmony import */ var
|
74974
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
74975
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
74976
|
+
|
74595
74977
|
|
74596
74978
|
var document = typeof globalThis !== "undefined" ? globalThis.document : undefined.document;
|
74597
74979
|
var defaultEnvironment = (!!document ? {
|
74598
74980
|
root: document,
|
74599
|
-
_rootElement:
|
74981
|
+
_rootElement: _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody(),
|
74600
74982
|
get rootElement() {
|
74601
74983
|
var _a;
|
74602
|
-
return (_a = this._rootElement) !== null && _a !== void 0 ? _a :
|
74984
|
+
return (_a = this._rootElement) !== null && _a !== void 0 ? _a : _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
74603
74985
|
},
|
74604
74986
|
set rootElement(rootElement) {
|
74605
74987
|
this._rootElement = rootElement;
|
74606
74988
|
},
|
74607
|
-
_popupMountContainer:
|
74989
|
+
_popupMountContainer: _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody(),
|
74608
74990
|
get popupMountContainer() {
|
74609
74991
|
var _a;
|
74610
|
-
return (_a = this._popupMountContainer) !== null && _a !== void 0 ? _a :
|
74992
|
+
return (_a = this._popupMountContainer) !== null && _a !== void 0 ? _a : _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
74611
74993
|
},
|
74612
74994
|
set popupMountContainer(popupMountContainer) {
|
74613
74995
|
this._popupMountContainer = popupMountContainer;
|
@@ -74656,7 +75038,7 @@ var settings = {
|
|
74656
75038
|
* Nested properties:
|
74657
75039
|
*
|
74658
75040
|
* - `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`.
|
75041
|
+
* 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
75042
|
*
|
74661
75043
|
* - `defaultLocaleName`: `string`\
|
74662
75044
|
* A property key that stores a translation for the default locale. Default value: `"default"`.
|
@@ -74802,7 +75184,8 @@ var settings = {
|
|
74802
75184
|
* - `enabled`: `boolean`\
|
74803
75185
|
* Specifies whether to add questions to the DOM only when they get into the viewport. Default value: `false`.
|
74804
75186
|
*
|
74805
|
-
*
|
75187
|
+
* [View Demo](https://surveyjs.io/form-library/examples/survey-lazy/ (linkStyle))
|
75188
|
+
* @see [SurveyModel.lazyRendering](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#lazyRendering)
|
74806
75189
|
*/
|
74807
75190
|
lazyRender: {
|
74808
75191
|
enabled: false,
|
@@ -75036,7 +75419,7 @@ var settings = {
|
|
75036
75419
|
* @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
|
75037
75420
|
*/
|
75038
75421
|
confirmActionAsync: function (message, callback, applyTitle, locale, rootElement) {
|
75039
|
-
return Object(
|
75422
|
+
return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_1__["showConfirmDialog"])(message, callback, applyTitle, locale, rootElement);
|
75040
75423
|
},
|
75041
75424
|
/**
|
75042
75425
|
* A minimum width value for all survey elements.
|
@@ -75277,6 +75660,20 @@ var settings = {
|
|
75277
75660
|
]
|
75278
75661
|
},
|
75279
75662
|
legacyProgressBarView: false,
|
75663
|
+
/**
|
75664
|
+
* An object with properties that configure input masks.
|
75665
|
+
*
|
75666
|
+
* Nested properties:
|
75667
|
+
*
|
75668
|
+
* - `patternPlaceholderChar`: `string`\
|
75669
|
+
* 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: `"_"`.
|
75670
|
+
*
|
75671
|
+
* - `patternEscapeChar`: `string`\
|
75672
|
+
* A symbol used to insert literal representations of special characters in [pattern masks](https://surveyjs.io/form-library/documentation/api-reference/inputmaskpattern). Default value: `"\\"`.
|
75673
|
+
*
|
75674
|
+
* - `patternDefinitions`: `<{ [key: string]: RegExp }>`\
|
75675
|
+
* 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]/ }`.
|
75676
|
+
*/
|
75280
75677
|
maskSettings: {
|
75281
75678
|
patternPlaceholderChar: "_",
|
75282
75679
|
patternEscapeChar: "\\",
|
@@ -75310,8 +75707,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
75310
75707
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "winterstoneThemeColors", function() { return winterstoneThemeColors; });
|
75311
75708
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return StylesManager; });
|
75312
75709
|
/* 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
|
75710
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
75711
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
75712
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
75713
|
+
|
75315
75714
|
|
75316
75715
|
|
75317
75716
|
|
@@ -75545,11 +75944,11 @@ var StylesManager = /** @class */ (function () {
|
|
75545
75944
|
return themeMapper;
|
75546
75945
|
};
|
75547
75946
|
StylesManager.getIncludedThemeCss = function () {
|
75548
|
-
if (typeof
|
75947
|
+
if (typeof _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment === "undefined")
|
75549
75948
|
return [];
|
75550
|
-
var rootElement =
|
75949
|
+
var rootElement = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.rootElement;
|
75551
75950
|
var themeMapper = StylesManager.getAvailableThemes();
|
75552
|
-
var element = Object(
|
75951
|
+
var element = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["isShadowDOM"])(rootElement) ? rootElement.host : rootElement;
|
75553
75952
|
if (!!element) {
|
75554
75953
|
var styles_1 = getComputedStyle(element);
|
75555
75954
|
if (styles_1.length) {
|
@@ -75559,9 +75958,9 @@ var StylesManager = /** @class */ (function () {
|
|
75559
75958
|
return [];
|
75560
75959
|
};
|
75561
75960
|
StylesManager.findSheet = function (styleSheetId) {
|
75562
|
-
if (typeof
|
75961
|
+
if (typeof _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment === "undefined")
|
75563
75962
|
return null;
|
75564
|
-
var styleSheets =
|
75963
|
+
var styleSheets = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root.styleSheets;
|
75565
75964
|
for (var i = 0; i < styleSheets.length; i++) {
|
75566
75965
|
if (!!styleSheets[i].ownerNode && styleSheets[i].ownerNode["id"] === styleSheetId) {
|
75567
75966
|
return styleSheets[i];
|
@@ -75570,14 +75969,14 @@ var StylesManager = /** @class */ (function () {
|
|
75570
75969
|
return null;
|
75571
75970
|
};
|
75572
75971
|
StylesManager.createSheet = function (styleSheetId) {
|
75573
|
-
var stylesSheetsMountContainer =
|
75574
|
-
var style =
|
75972
|
+
var stylesSheetsMountContainer = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.stylesSheetsMountContainer;
|
75973
|
+
var style = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("style");
|
75575
75974
|
style.id = styleSheetId;
|
75576
75975
|
// Add a media (and/or media query) here if you'd like!
|
75577
75976
|
// style.setAttribute("media", "screen")
|
75578
75977
|
// style.setAttribute("media", "only screen and (max-width : 1024px)")
|
75579
|
-
style.appendChild(
|
75580
|
-
Object(
|
75978
|
+
style.appendChild(new Text(""));
|
75979
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["getElement"])(stylesSheetsMountContainer).appendChild(style);
|
75581
75980
|
if (!!StylesManager.Logger) {
|
75582
75981
|
StylesManager.Logger.log("style sheet " + styleSheetId + " created");
|
75583
75982
|
}
|
@@ -75585,10 +75984,10 @@ var StylesManager = /** @class */ (function () {
|
|
75585
75984
|
};
|
75586
75985
|
StylesManager.applyTheme = function (themeName, themeSelector) {
|
75587
75986
|
if (themeName === void 0) { themeName = "default"; }
|
75588
|
-
if (typeof
|
75987
|
+
if (typeof _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment === "undefined")
|
75589
75988
|
return;
|
75590
|
-
var rootElement =
|
75591
|
-
var element = Object(
|
75989
|
+
var rootElement = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.rootElement;
|
75990
|
+
var element = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["isShadowDOM"])(rootElement) ? rootElement.host : rootElement;
|
75592
75991
|
_defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_0__["surveyCss"].currentType = themeName;
|
75593
75992
|
if (StylesManager.Enabled) {
|
75594
75993
|
if (themeName !== "bootstrap" && themeName !== "bootstrapmaterial") {
|
@@ -75703,6 +76102,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
75703
76102
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
75704
76103
|
/* harmony import */ var _actions_container__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./actions/container */ "./src/actions/container.ts");
|
75705
76104
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
76105
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
75706
76106
|
var __extends = (undefined && undefined.__extends) || (function () {
|
75707
76107
|
var extendStatics = function (d, b) {
|
75708
76108
|
extendStatics = Object.setPrototypeOf ||
|
@@ -75731,6 +76131,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
75731
76131
|
|
75732
76132
|
|
75733
76133
|
|
76134
|
+
|
75734
76135
|
/**
|
75735
76136
|
* A base class for the [`SurveyElement`](https://surveyjs.io/form-library/documentation/surveyelement) and [`SurveyModel`](https://surveyjs.io/form-library/documentation/surveymodel) classes.
|
75736
76137
|
*/
|
@@ -75960,11 +76361,11 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
75960
76361
|
elLeft = el.getBoundingClientRect().left;
|
75961
76362
|
needScroll = elLeft < 0;
|
75962
76363
|
}
|
75963
|
-
if (
|
75964
|
-
var height =
|
76364
|
+
if (!needScroll && _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].isAvailable()) {
|
76365
|
+
var height = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].getInnerHeight();
|
75965
76366
|
needScroll = height > 0 && height < elTop;
|
75966
76367
|
if (!needScroll && checkLeft) {
|
75967
|
-
var width =
|
76368
|
+
var width = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].getInnerWidth();
|
75968
76369
|
needScroll = width > 0 && width < elLeft;
|
75969
76370
|
}
|
75970
76371
|
}
|
@@ -75992,7 +76393,7 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
75992
76393
|
return null;
|
75993
76394
|
};
|
75994
76395
|
SurveyElement.FocusElement = function (elementId) {
|
75995
|
-
if (!elementId ||
|
76396
|
+
if (!elementId || !_global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomDocumentHelper"].isAvailable())
|
75996
76397
|
return false;
|
75997
76398
|
var res = SurveyElement.focusElementCore(elementId);
|
75998
76399
|
if (!res) {
|
@@ -76907,12 +77308,13 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
76907
77308
|
});
|
76908
77309
|
SurveyElement.prototype.isContainsSelection = function (el) {
|
76909
77310
|
var elementWithSelection = undefined;
|
76910
|
-
|
76911
|
-
|
77311
|
+
var _document = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomDocumentHelper"].getDocument();
|
77312
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomDocumentHelper"].isAvailable() && !!_document && _document["selection"]) {
|
77313
|
+
elementWithSelection = _document["selection"].createRange().parentElement();
|
76912
77314
|
}
|
76913
77315
|
else {
|
76914
|
-
var selection =
|
76915
|
-
if (selection.rangeCount > 0) {
|
77316
|
+
var selection = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].getSelection();
|
77317
|
+
if (!!selection && selection.rangeCount > 0) {
|
76916
77318
|
var range = selection.getRangeAt(0);
|
76917
77319
|
if (range.startOffset !== range.endOffset) {
|
76918
77320
|
elementWithSelection = range.startContainer.parentNode;
|
@@ -77130,6 +77532,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
77130
77532
|
/* harmony import */ var _surveyTaskManager__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./surveyTaskManager */ "./src/surveyTaskManager.ts");
|
77131
77533
|
/* harmony import */ var _progress_buttons__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./progress-buttons */ "./src/progress-buttons.ts");
|
77132
77534
|
/* harmony import */ var _surveyToc__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./surveyToc */ "./src/surveyToc.ts");
|
77535
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
77133
77536
|
var __extends = (undefined && undefined.__extends) || (function () {
|
77134
77537
|
var extendStatics = function (d, b) {
|
77135
77538
|
extendStatics = Object.setPrototypeOf ||
|
@@ -77174,6 +77577,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
77174
77577
|
|
77175
77578
|
|
77176
77579
|
|
77580
|
+
|
77177
77581
|
|
77178
77582
|
|
77179
77583
|
/**
|
@@ -77302,7 +77706,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77302
77706
|
*/
|
77303
77707
|
_this.onPageVisibleChanged = _this.addEvent();
|
77304
77708
|
/**
|
77305
|
-
* An event that is raised after
|
77709
|
+
* An event that is raised after panel visibility is changed.
|
77306
77710
|
*
|
77307
77711
|
* For information on event handler parameters, refer to descriptions within the interface.
|
77308
77712
|
*
|
@@ -77697,6 +78101,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77697
78101
|
* This event is obsolete. Use the [`onMatrixRenderRemoveButton`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRenderRemoveButton) event instead.
|
77698
78102
|
*/
|
77699
78103
|
_this.onMatrixAllowRemoveRow = _this.onMatrixRenderRemoveButton;
|
78104
|
+
/**
|
78105
|
+
* 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.
|
78106
|
+
*/
|
78107
|
+
_this.onMatrixDetailPanelVisibleChanged = _this.addEvent();
|
77700
78108
|
/**
|
77701
78109
|
* 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
78110
|
* @see onAfterRenderMatrixCell
|
@@ -77906,7 +78314,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
77906
78314
|
_this.skippedPages = [];
|
77907
78315
|
_this.skeletonComponentName = "sv-skeleton";
|
77908
78316
|
_this.taskManager = new _surveyTaskManager__WEBPACK_IMPORTED_MODULE_22__["SurveyTaskManagerModel"]();
|
77909
|
-
if (
|
78317
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].isAvailable()) {
|
77910
78318
|
SurveyModel.stylesManager = new _stylesmanager__WEBPACK_IMPORTED_MODULE_11__["StylesManager"]();
|
77911
78319
|
}
|
77912
78320
|
var htmlCallBack = function (str) { return "<h3>" + str + "</h3>"; };
|
@@ -78340,13 +78748,12 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
78340
78748
|
/**
|
78341
78749
|
* Specifies whether to enable lazy rendering.
|
78342
78750
|
*
|
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
|
78751
|
+
* 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
78752
|
*
|
78345
78753
|
* Default value: `false`
|
78346
78754
|
*
|
78347
78755
|
* [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.
|
78756
|
+
* @see [settings.lazyRender](https://surveyjs.io/form-library/documentation/api-reference/settings#lazyRender)
|
78350
78757
|
*/
|
78351
78758
|
get: function () {
|
78352
78759
|
return this.lazyRenderingValue === true;
|
@@ -80026,7 +80433,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
80026
80433
|
* - `"belowHeader"` - Displays the progress bar below the survey header.
|
80027
80434
|
* - `"bottom"` - Displays the progress bar below survey content.
|
80028
80435
|
* - `"topBottom"` - Displays the progress bar above and below survey content.
|
80029
|
-
* - `"auto"` -
|
80436
|
+
* - `"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
80437
|
* - `"top"` - *(Obsolete)* Use the `"aboveHeader"` or `"belowHeader"` property value instead.
|
80031
80438
|
* - `"both"` - *(Obsolete)* Use the `"topBottom"` property value instead.
|
80032
80439
|
*
|
@@ -81068,8 +81475,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
81068
81475
|
SurveyModel.prototype.currentPageChanged = function (newValue, oldValue) {
|
81069
81476
|
this.notifyQuestionsOnHidingContent(oldValue);
|
81070
81477
|
var options = this.createPageChangeEventOptions(newValue, oldValue);
|
81071
|
-
if (
|
81072
|
-
oldValue.
|
81478
|
+
if (oldValue && !oldValue.passed) {
|
81479
|
+
if (oldValue.validate(false)) {
|
81480
|
+
oldValue.passed = true;
|
81481
|
+
}
|
81073
81482
|
}
|
81074
81483
|
this.onCurrentPageChanged.fire(this, options);
|
81075
81484
|
};
|
@@ -81261,9 +81670,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
81261
81670
|
* @see deleteCookie
|
81262
81671
|
*/
|
81263
81672
|
get: function () {
|
81264
|
-
if (!this.cookieName
|
81673
|
+
if (!this.cookieName)
|
81265
81674
|
return false;
|
81266
|
-
var cookies =
|
81675
|
+
var cookies = _global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].getCookie();
|
81267
81676
|
return cookies && cookies.indexOf(this.cookieName + "=true") > -1;
|
81268
81677
|
},
|
81269
81678
|
enumerable: false,
|
@@ -81275,10 +81684,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
81275
81684
|
* @see deleteCookie
|
81276
81685
|
*/
|
81277
81686
|
SurveyModel.prototype.setCookie = function () {
|
81278
|
-
if (!this.cookieName
|
81687
|
+
if (!this.cookieName)
|
81279
81688
|
return;
|
81280
|
-
|
81281
|
-
this.cookieName + "=true; expires=Fri, 31 Dec 9999 0:0:0 GMT";
|
81689
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].setCookie(this.cookieName + "=true; expires=Fri, 31 Dec 9999 0:0:0 GMT");
|
81282
81690
|
};
|
81283
81691
|
/**
|
81284
81692
|
* Deletes a cookie with a specified [`cookieName`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#cookieName) from the browser.
|
@@ -81288,7 +81696,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
81288
81696
|
SurveyModel.prototype.deleteCookie = function () {
|
81289
81697
|
if (!this.cookieName)
|
81290
81698
|
return;
|
81291
|
-
|
81699
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].setCookie(this.cookieName + "=;");
|
81292
81700
|
};
|
81293
81701
|
Object.defineProperty(SurveyModel.prototype, "ignoreValidation", {
|
81294
81702
|
/**
|
@@ -82453,11 +82861,11 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82453
82861
|
var observedElement = htmlElement;
|
82454
82862
|
var cssVariables = this.css.variables;
|
82455
82863
|
if (!!cssVariables) {
|
82456
|
-
var mobileWidth_1 = Number.parseFloat(
|
82864
|
+
var mobileWidth_1 = Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].getComputedStyle(observedElement).getPropertyValue(cssVariables.mobileWidth));
|
82457
82865
|
if (!!mobileWidth_1) {
|
82458
82866
|
var isProcessed_1 = false;
|
82459
82867
|
this.resizeObserver = new ResizeObserver(function (entries) {
|
82460
|
-
|
82868
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomWindowHelper"].requestAnimationFrame(function () {
|
82461
82869
|
if (isProcessed_1 || !Object(_utils_utils__WEBPACK_IMPORTED_MODULE_15__["isContainerVisible"])(observedElement)) {
|
82462
82870
|
isProcessed_1 = false;
|
82463
82871
|
}
|
@@ -82478,14 +82886,12 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82478
82886
|
};
|
82479
82887
|
SurveyModel.prototype.processResponsiveness = function (width, mobileWidth) {
|
82480
82888
|
var isMobile = width < mobileWidth;
|
82481
|
-
|
82482
|
-
if (
|
82483
|
-
return false;
|
82484
|
-
}
|
82485
|
-
else {
|
82889
|
+
var isMobileChanged = this.isMobile !== isMobile;
|
82890
|
+
if (isMobileChanged) {
|
82486
82891
|
this.setIsMobile(isMobile);
|
82487
|
-
return true;
|
82488
82892
|
}
|
82893
|
+
this.layoutElements.forEach(function (layoutElement) { return layoutElement.processResponsiveness && layoutElement.processResponsiveness(width); });
|
82894
|
+
return isMobileChanged;
|
82489
82895
|
};
|
82490
82896
|
SurveyModel.prototype.triggerResponsiveness = function (hard) {
|
82491
82897
|
this.getAllQuestions().forEach(function (question) {
|
@@ -82643,15 +83049,14 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82643
83049
|
return options.allow;
|
82644
83050
|
};
|
82645
83051
|
SurveyModel.prototype.matrixAllowRemoveRow = function (question, rowIndex, row) {
|
82646
|
-
var options = {
|
82647
|
-
question: question,
|
82648
|
-
rowIndex: rowIndex,
|
82649
|
-
row: row,
|
82650
|
-
allow: true,
|
82651
|
-
};
|
83052
|
+
var options = { question: question, rowIndex: rowIndex, row: row, allow: true };
|
82652
83053
|
this.onMatrixRenderRemoveButton.fire(this, options);
|
82653
83054
|
return options.allow;
|
82654
83055
|
};
|
83056
|
+
SurveyModel.prototype.matrixDetailPanelVisibleChanged = function (question, rowIndex, row, visible) {
|
83057
|
+
var options = { question: question, rowIndex: rowIndex, row: row, visible: visible, detailPanel: row.detailPanel };
|
83058
|
+
this.onMatrixDetailPanelVisibleChanged.fire(this, options);
|
83059
|
+
};
|
82655
83060
|
SurveyModel.prototype.matrixCellCreating = function (question, options) {
|
82656
83061
|
options.question = question;
|
82657
83062
|
this.onMatrixCellCreating.fire(this, options);
|
@@ -82834,8 +83239,11 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
82834
83239
|
this.onOpenFileChooser.fire(this, {
|
82835
83240
|
input: input,
|
82836
83241
|
element: context && context.element || this.survey,
|
83242
|
+
elementType: context && context.elementType,
|
82837
83243
|
item: context && context.item,
|
82838
|
-
|
83244
|
+
propertyName: context && context.propertyName,
|
83245
|
+
callback: callback,
|
83246
|
+
context: context
|
82839
83247
|
});
|
82840
83248
|
}
|
82841
83249
|
};
|
@@ -86187,9 +86595,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
86187
86595
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TOCModel", function() { return TOCModel; });
|
86188
86596
|
/* harmony import */ var _actions_action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./actions/action */ "./src/actions/action.ts");
|
86189
86597
|
/* 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
|
86598
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
86599
|
+
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./list */ "./src/list.ts");
|
86600
|
+
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./page */ "./src/page.ts");
|
86601
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
86602
|
+
|
86193
86603
|
|
86194
86604
|
|
86195
86605
|
|
@@ -86211,11 +86621,9 @@ function createTOCListModel(survey, onAction) {
|
|
86211
86621
|
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
86622
|
title: page.renderedNavigationTitle,
|
86213
86623
|
action: function () {
|
86214
|
-
|
86215
|
-
!!document.activeElement.blur && document.activeElement.blur();
|
86216
|
-
}
|
86624
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].activeElementBlur();
|
86217
86625
|
!!onAction && onAction();
|
86218
|
-
if (page instanceof
|
86626
|
+
if (page instanceof _page__WEBPACK_IMPORTED_MODULE_4__["PageModel"]) {
|
86219
86627
|
return survey.tryNavigateToPage(page);
|
86220
86628
|
}
|
86221
86629
|
return tryFocusPage(survey, page);
|
@@ -86223,7 +86631,7 @@ function createTOCListModel(survey, onAction) {
|
|
86223
86631
|
visible: new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return page.isVisible && !(page["isStartPage"]); })
|
86224
86632
|
});
|
86225
86633
|
});
|
86226
|
-
var listModel = new
|
86634
|
+
var listModel = new _list__WEBPACK_IMPORTED_MODULE_3__["ListModel"](items, function (item) {
|
86227
86635
|
if (!!item.action()) {
|
86228
86636
|
listModel.selectedItem = item;
|
86229
86637
|
}
|
@@ -86252,7 +86660,7 @@ var TOCModel = /** @class */ (function () {
|
|
86252
86660
|
_this.popupModel.toggleVisibility();
|
86253
86661
|
};
|
86254
86662
|
this.listModel = createTOCListModel(survey, function () { _this.popupModel.isVisible = false; });
|
86255
|
-
this.popupModel = new
|
86663
|
+
this.popupModel = new _popup__WEBPACK_IMPORTED_MODULE_5__["PopupModel"]("sv-list", { model: this.listModel });
|
86256
86664
|
this.popupModel.overlayDisplayMode = "overlay";
|
86257
86665
|
this.popupModel.displayMode = new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return _this.isMobile ? "overlay" : "popup"; });
|
86258
86666
|
}
|
@@ -86299,17 +86707,15 @@ var surveyTimerFunctions = {
|
|
86299
86707
|
return surveyTimerFunctions.safeTimeOut(func, 1000);
|
86300
86708
|
},
|
86301
86709
|
clearTimeout: function (timerId) {
|
86302
|
-
|
86303
|
-
return;
|
86304
|
-
window.clearTimeout(timerId);
|
86710
|
+
clearTimeout(timerId);
|
86305
86711
|
},
|
86306
86712
|
safeTimeOut: function (func, delay) {
|
86307
|
-
if (
|
86713
|
+
if (delay <= 0) {
|
86308
86714
|
func();
|
86309
86715
|
return 0;
|
86310
86716
|
}
|
86311
86717
|
else {
|
86312
|
-
return
|
86718
|
+
return setTimeout(func, delay);
|
86313
86719
|
}
|
86314
86720
|
}
|
86315
86721
|
};
|
@@ -86390,6 +86796,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
86390
86796
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SvgIconRegistry", function() { return SvgIconRegistry; });
|
86391
86797
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SvgRegistry", function() { return SvgRegistry; });
|
86392
86798
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SvgBundleViewModel", function() { return SvgBundleViewModel; });
|
86799
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
86800
|
+
|
86393
86801
|
var SvgIconData = /** @class */ (function () {
|
86394
86802
|
function SvgIconData() {
|
86395
86803
|
}
|
@@ -86410,12 +86818,12 @@ var SvgIconRegistry = /** @class */ (function () {
|
|
86410
86818
|
};
|
86411
86819
|
SvgIconRegistry.prototype.registerIconFromSvgViaElement = function (iconId, iconSvg, iconPrefix) {
|
86412
86820
|
if (iconPrefix === void 0) { iconPrefix = this.iconPrefix; }
|
86413
|
-
if (
|
86821
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].isAvailable())
|
86414
86822
|
return;
|
86415
86823
|
iconId = this.processId(iconId, iconPrefix);
|
86416
|
-
var divSvg =
|
86824
|
+
var divSvg = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("div");
|
86417
86825
|
divSvg.innerHTML = iconSvg;
|
86418
|
-
var symbol =
|
86826
|
+
var symbol = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("symbol");
|
86419
86827
|
var svg = divSvg.querySelector("svg");
|
86420
86828
|
symbol.innerHTML = svg.innerHTML;
|
86421
86829
|
for (var i = 0; i < svg.attributes.length; i++) {
|
@@ -87375,7 +87783,9 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_2__["Serializer"].addClass("runexpressiontr
|
|
87375
87783
|
"use strict";
|
87376
87784
|
__webpack_require__.r(__webpack_exports__);
|
87377
87785
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Camera", function() { return Camera; });
|
87378
|
-
/* harmony import */ var
|
87786
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../settings */ "./src/settings.ts");
|
87787
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
87788
|
+
|
87379
87789
|
|
87380
87790
|
var Camera = /** @class */ (function () {
|
87381
87791
|
function Camera() {
|
@@ -87482,7 +87892,7 @@ var Camera = /** @class */ (function () {
|
|
87482
87892
|
Camera.prototype.startVideo = function (videoElementId, callback, imageWidth, imageHeight) {
|
87483
87893
|
var _this = this;
|
87484
87894
|
var _a;
|
87485
|
-
var videoEl = (_a =
|
87895
|
+
var videoEl = (_a = _settings__WEBPACK_IMPORTED_MODULE_0__["settings"].environment.root) === null || _a === void 0 ? void 0 : _a.getElementById(videoElementId);
|
87486
87896
|
if (!videoEl) {
|
87487
87897
|
callback(undefined);
|
87488
87898
|
return;
|
@@ -87510,10 +87920,10 @@ var Camera = /** @class */ (function () {
|
|
87510
87920
|
return { width: videoEl.videoWidth, height: videoEl.videoHeight };
|
87511
87921
|
};
|
87512
87922
|
Camera.prototype.snap = function (videoElementId, callback) {
|
87513
|
-
if ("
|
87923
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].isAvailable())
|
87514
87924
|
return false;
|
87515
|
-
var root =
|
87516
|
-
var videoEl = root.getElementById(videoElementId);
|
87925
|
+
var root = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].getDocument();
|
87926
|
+
var videoEl = root === null || root === void 0 ? void 0 : root.getElementById(videoElementId);
|
87517
87927
|
if (!videoEl)
|
87518
87928
|
return false;
|
87519
87929
|
var canvasEl = root.createElement("canvas");
|
@@ -87632,14 +88042,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
87632
88042
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mouseInfo", function() { return mouseInfo; });
|
87633
88043
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsTouch", function() { return IsTouch; });
|
87634
88044
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_setIsTouch", function() { return _setIsTouch; });
|
88045
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
88046
|
+
|
87635
88047
|
// isMobile
|
87636
88048
|
var _isMobile = false;
|
87637
88049
|
var vendor = null;
|
87638
|
-
if (typeof navigator !== "undefined" &&
|
87639
|
-
|
87640
|
-
navigator &&
|
87641
|
-
window) {
|
87642
|
-
vendor = navigator.userAgent || navigator.vendor || window.opera;
|
88050
|
+
if (typeof navigator !== "undefined" && !!navigator && _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].isAvailable()) {
|
88051
|
+
vendor = navigator.userAgent || navigator.vendor || _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].hasOwn("opera");
|
87643
88052
|
}
|
87644
88053
|
(function (a) {
|
87645
88054
|
if (!a)
|
@@ -87658,7 +88067,7 @@ var mouseInfo = {
|
|
87658
88067
|
return !this.hasMouse && this.hasTouchEvent;
|
87659
88068
|
},
|
87660
88069
|
get hasTouchEvent() {
|
87661
|
-
return
|
88070
|
+
return _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].isAvailable() && (_global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].hasOwn("ontouchstart") || navigator.maxTouchPoints > 0);
|
87662
88071
|
},
|
87663
88072
|
hasMouse: true
|
87664
88073
|
};
|
@@ -87683,7 +88092,9 @@ function _setIsTouch(val) {
|
|
87683
88092
|
"use strict";
|
87684
88093
|
__webpack_require__.r(__webpack_exports__);
|
87685
88094
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragOrClickHelper", function() { return DragOrClickHelper; });
|
87686
|
-
/* harmony import */ var
|
88095
|
+
/* harmony import */ var _devices__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./devices */ "./src/utils/devices.ts");
|
88096
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
88097
|
+
|
87687
88098
|
|
87688
88099
|
var DragOrClickHelper = /** @class */ (function () {
|
87689
88100
|
function DragOrClickHelper(dragHandler) {
|
@@ -87703,7 +88114,7 @@ var DragOrClickHelper = /** @class */ (function () {
|
|
87703
88114
|
};
|
87704
88115
|
}
|
87705
88116
|
DragOrClickHelper.prototype.onPointerDown = function (pointerDownEvent, itemModel) {
|
87706
|
-
if (
|
88117
|
+
if (_devices__WEBPACK_IMPORTED_MODULE_0__["IsTouch"]) {
|
87707
88118
|
this.dragHandler(pointerDownEvent, pointerDownEvent.currentTarget, itemModel); //TODO handle inside in the library's drag drop core, need refactoring
|
87708
88119
|
return;
|
87709
88120
|
}
|
@@ -87711,7 +88122,7 @@ var DragOrClickHelper = /** @class */ (function () {
|
|
87711
88122
|
this.currentTarget = pointerDownEvent.currentTarget;
|
87712
88123
|
this.startX = pointerDownEvent.pageX;
|
87713
88124
|
this.startY = pointerDownEvent.pageY;
|
87714
|
-
|
88125
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].addEventListener("pointermove", this.tryToStartDrag);
|
87715
88126
|
this.currentTarget.addEventListener("pointerup", this.onPointerUp);
|
87716
88127
|
this.itemModel = itemModel;
|
87717
88128
|
};
|
@@ -87729,7 +88140,7 @@ var DragOrClickHelper = /** @class */ (function () {
|
|
87729
88140
|
DragOrClickHelper.prototype.clearListeners = function () {
|
87730
88141
|
if (!this.pointerDownEvent)
|
87731
88142
|
return;
|
87732
|
-
|
88143
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].removeEventListener("pointermove", this.tryToStartDrag);
|
87733
88144
|
this.currentTarget.removeEventListener("pointerup", this.onPointerUp);
|
87734
88145
|
};
|
87735
88146
|
return DragOrClickHelper;
|
@@ -87904,7 +88315,8 @@ var PopupUtils = /** @class */ (function () {
|
|
87904
88315
|
__webpack_require__.r(__webpack_exports__);
|
87905
88316
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResponsivityManager", function() { return ResponsivityManager; });
|
87906
88317
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VerticalResponsivityManager", function() { return VerticalResponsivityManager; });
|
87907
|
-
/* harmony import */ var
|
88318
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
88319
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ "./src/utils/utils.ts");
|
87908
88320
|
var __extends = (undefined && undefined.__extends) || (function () {
|
87909
88321
|
var extendStatics = function (d, b) {
|
87910
88322
|
extendStatics = Object.setPrototypeOf ||
|
@@ -87921,6 +88333,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
87921
88333
|
};
|
87922
88334
|
})();
|
87923
88335
|
|
88336
|
+
|
87924
88337
|
var ResponsivityManager = /** @class */ (function () {
|
87925
88338
|
function ResponsivityManager(container, model, itemsSelector, dotsItemSize, delayedUpdateFunction) {
|
87926
88339
|
var _this = this;
|
@@ -87938,7 +88351,9 @@ var ResponsivityManager = /** @class */ (function () {
|
|
87938
88351
|
this.paddingSizeConst = 8;
|
87939
88352
|
this.dotsSizeConst = 48;
|
87940
88353
|
this.recalcMinDimensionConst = true;
|
87941
|
-
this.getComputedStyle =
|
88354
|
+
this.getComputedStyle = function (elt) {
|
88355
|
+
return _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getComputedStyle(elt);
|
88356
|
+
};
|
87942
88357
|
this.model.updateCallback = function (isResetInitialized) {
|
87943
88358
|
if (isResetInitialized)
|
87944
88359
|
_this.isInitialized = false;
|
@@ -87946,7 +88361,7 @@ var ResponsivityManager = /** @class */ (function () {
|
|
87946
88361
|
};
|
87947
88362
|
if (typeof ResizeObserver !== "undefined") {
|
87948
88363
|
this.resizeObserver = new ResizeObserver(function (entries) {
|
87949
|
-
|
88364
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].requestAnimationFrame(function () {
|
87950
88365
|
_this.process();
|
87951
88366
|
});
|
87952
88367
|
});
|
@@ -88005,7 +88420,7 @@ var ResponsivityManager = /** @class */ (function () {
|
|
88005
88420
|
};
|
88006
88421
|
Object.defineProperty(ResponsivityManager.prototype, "isContainerVisible", {
|
88007
88422
|
get: function () {
|
88008
|
-
return Object(
|
88423
|
+
return Object(_utils__WEBPACK_IMPORTED_MODULE_1__["isContainerVisible"])(this.container);
|
88009
88424
|
},
|
88010
88425
|
enumerable: false,
|
88011
88426
|
configurable: true
|
@@ -88145,6 +88560,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
88145
88560
|
/* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../localizablestring */ "./src/localizablestring.ts");
|
88146
88561
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../settings */ "./src/settings.ts");
|
88147
88562
|
/* harmony import */ var _surveyStrings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../surveyStrings */ "./src/surveyStrings.ts");
|
88563
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
88564
|
+
|
88148
88565
|
|
88149
88566
|
|
88150
88567
|
|
@@ -88180,18 +88597,14 @@ function confirmActionAsync(message, funcOnYes, funcOnNo, locale, rootElement) {
|
|
88180
88597
|
callbackFunc(confirmAction(message));
|
88181
88598
|
}
|
88182
88599
|
function detectIEBrowser() {
|
88183
|
-
|
88184
|
-
return false;
|
88185
|
-
var ua = window.navigator.userAgent;
|
88600
|
+
var ua = navigator.userAgent;
|
88186
88601
|
var oldIe = ua.indexOf("MSIE ");
|
88187
88602
|
var elevenIe = ua.indexOf("Trident/");
|
88188
88603
|
return oldIe > -1 || elevenIe > -1;
|
88189
88604
|
}
|
88190
88605
|
function detectIEOrEdge() {
|
88191
|
-
if (typeof window === "undefined")
|
88192
|
-
return false;
|
88193
88606
|
if (typeof detectIEOrEdge.isIEOrEdge === "undefined") {
|
88194
|
-
var ua =
|
88607
|
+
var ua = navigator.userAgent;
|
88195
88608
|
var msie = ua.indexOf("MSIE ");
|
88196
88609
|
var trident = ua.indexOf("Trident/");
|
88197
88610
|
var edge = ua.indexOf("Edge/");
|
@@ -88215,16 +88628,14 @@ function loadFileFromBase64(b64Data, fileName) {
|
|
88215
88628
|
}
|
88216
88629
|
// write the ArrayBuffer to a blob, and you're done
|
88217
88630
|
var bb = new Blob([ab], { type: mimeString });
|
88218
|
-
if (
|
88219
|
-
|
88220
|
-
window.navigator["msSaveBlob"]) {
|
88221
|
-
window.navigator["msSaveOrOpenBlob"](bb, fileName);
|
88631
|
+
if (!!navigator && navigator["msSaveBlob"]) {
|
88632
|
+
navigator["msSaveOrOpenBlob"](bb, fileName);
|
88222
88633
|
}
|
88223
88634
|
}
|
88224
88635
|
catch (err) { }
|
88225
88636
|
}
|
88226
88637
|
function isMobile() {
|
88227
|
-
return (
|
88638
|
+
return (_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isAvailable() && _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].hasOwn("orientation"));
|
88228
88639
|
}
|
88229
88640
|
var isShadowDOM = function (rootElement) {
|
88230
88641
|
return !!rootElement && !!("host" in rootElement && rootElement.host);
|
@@ -88243,7 +88654,7 @@ function isElementVisible(element, threshold) {
|
|
88243
88654
|
? root.host.clientHeight
|
88244
88655
|
: root.documentElement.clientHeight;
|
88245
88656
|
var elementRect = element.getBoundingClientRect();
|
88246
|
-
var viewHeight = Math.max(clientHeight,
|
88657
|
+
var viewHeight = Math.max(clientHeight, _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].getInnerHeight());
|
88247
88658
|
var topWin = -threshold;
|
88248
88659
|
var bottomWin = viewHeight + threshold;
|
88249
88660
|
var topEl = elementRect.top;
|
@@ -88285,9 +88696,10 @@ function scrollElementByChildId(id) {
|
|
88285
88696
|
}
|
88286
88697
|
}
|
88287
88698
|
function navigateToUrl(url) {
|
88288
|
-
|
88699
|
+
var location = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].getLocation();
|
88700
|
+
if (!url || !location)
|
88289
88701
|
return;
|
88290
|
-
|
88702
|
+
location.href = url;
|
88291
88703
|
}
|
88292
88704
|
function wrapUrlForBackgroundImage(url) {
|
88293
88705
|
return !!url ? ["url(", url, ")"].join("") : "";
|
@@ -88317,7 +88729,7 @@ function createSvg(size, width, height, iconName, svgElem, title) {
|
|
88317
88729
|
}
|
88318
88730
|
else {
|
88319
88731
|
if (!titleElement) {
|
88320
|
-
titleElement =
|
88732
|
+
titleElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].getDocument().createElementNS("http://www.w3.org/2000/svg", "title");
|
88321
88733
|
svgElem.appendChild(titleElement);
|
88322
88734
|
}
|
88323
88735
|
}
|
@@ -88424,7 +88836,7 @@ function increaseHeightByContent(element, getComputedStyle) {
|
|
88424
88836
|
if (!element)
|
88425
88837
|
return;
|
88426
88838
|
if (!getComputedStyle)
|
88427
|
-
getComputedStyle = function (elt) { return
|
88839
|
+
getComputedStyle = function (elt) { return _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].getComputedStyle(elt); };
|
88428
88840
|
var style = getComputedStyle(element);
|
88429
88841
|
element.style.height = "auto";
|
88430
88842
|
if (!!element.scrollHeight) {
|
@@ -88471,8 +88883,8 @@ function findParentByClassNames(element, classNames) {
|
|
88471
88883
|
}
|
88472
88884
|
function sanitizeEditableContent(element, cleanLineBreaks) {
|
88473
88885
|
if (cleanLineBreaks === void 0) { cleanLineBreaks = true; }
|
88474
|
-
if (
|
88475
|
-
var selection =
|
88886
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isAvailable() && _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].isAvailable() && element.childNodes.length > 0) {
|
88887
|
+
var selection = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].getSelection();
|
88476
88888
|
if (selection.rangeCount == 0) {
|
88477
88889
|
return;
|
88478
88890
|
}
|
@@ -88490,14 +88902,19 @@ function sanitizeEditableContent(element, cleanLineBreaks) {
|
|
88490
88902
|
}
|
88491
88903
|
var tail_len = tail.length;
|
88492
88904
|
element.innerText = innerText;
|
88493
|
-
range =
|
88905
|
+
range = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].getDocument().createRange();
|
88494
88906
|
range.setStart(element.firstChild, 0);
|
88495
88907
|
range.setEnd(element.firstChild, 0);
|
88496
88908
|
selection.removeAllRanges();
|
88497
88909
|
selection.addRange(range);
|
88498
|
-
|
88499
|
-
selection.
|
88910
|
+
while (selection.toString().length < innerText.length - tail_len) {
|
88911
|
+
var selLen = selection.toString().length;
|
88912
|
+
selection.modify("extend", "forward", "character");
|
88913
|
+
if (selection.toString().length == selLen)
|
88914
|
+
break;
|
88500
88915
|
}
|
88916
|
+
range = selection.getRangeAt(0);
|
88917
|
+
range.setStart(range.endContainer, range.endOffset);
|
88501
88918
|
}
|
88502
88919
|
}
|
88503
88920
|
function mergeValues(src, dest) {
|
@@ -88566,11 +88983,11 @@ function configConfirmDialog(popupViewModel) {
|
|
88566
88983
|
popupViewModel.width = "min-content";
|
88567
88984
|
}
|
88568
88985
|
function chooseFiles(input, callback) {
|
88569
|
-
if (!
|
88986
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isFileReaderAvailable())
|
88570
88987
|
return;
|
88571
88988
|
input.value = "";
|
88572
88989
|
input.onchange = function (event) {
|
88573
|
-
if (!
|
88990
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isFileReaderAvailable())
|
88574
88991
|
return;
|
88575
88992
|
if (!input || !input.files || input.files.length < 1)
|
88576
88993
|
return;
|