survey-core 1.9.134 → 1.9.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/defaultV2.css +21 -20
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +21 -20
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- package/modern.css +6 -1
- package/modern.css.map +1 -1
- package/modern.fontless.css +6 -1
- package/modern.fontless.css.map +1 -1
- package/modern.fontless.min.css +2 -2
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/plugins/bootstrap-integration.js +1 -1
- package/plugins/bootstrap-integration.min.js +1 -1
- package/plugins/bootstrap-material-integration.js +1 -1
- package/plugins/bootstrap-material-integration.min.js +1 -1
- package/survey.core.js +950 -563
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +5 -5
- package/survey.css +1 -1
- package/survey.css.map +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.min.css +1 -1
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/ts3.4/typings/base-interfaces.d.ts +4 -1
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +4 -0
- package/ts3.4/typings/dropdownListModel.d.ts +1 -0
- package/ts3.4/typings/global_variables_utils.d.ts +27 -0
- package/ts3.4/typings/list.d.ts +3 -0
- package/ts3.4/typings/martixBase.d.ts +1 -0
- package/ts3.4/typings/mask/input_element_adapter.d.ts +0 -1
- package/ts3.4/typings/mask/mask_base.d.ts +13 -0
- package/ts3.4/typings/mask/mask_currency.d.ts +30 -0
- package/ts3.4/typings/mask/mask_datetime.d.ts +28 -0
- package/ts3.4/typings/mask/mask_numeric.d.ts +58 -0
- package/ts3.4/typings/mask/mask_pattern.d.ts +47 -0
- package/ts3.4/typings/question_baseselect.d.ts +1 -0
- package/ts3.4/typings/question_dropdown.d.ts +8 -0
- package/ts3.4/typings/question_html.d.ts +1 -0
- package/ts3.4/typings/question_tagbox.d.ts +1 -0
- package/ts3.4/typings/question_text.d.ts +31 -0
- package/ts3.4/typings/settings.d.ts +17 -2
- package/ts3.4/typings/survey-events-api.d.ts +28 -1
- package/ts3.4/typings/survey.d.ts +14 -8
- package/ts3.4/typings/surveytimer.d.ts +1 -1
- package/typings/base-interfaces.d.ts +4 -1
- package/typings/defaultCss/defaultV2Css.d.ts +4 -0
- package/typings/dropdownListModel.d.ts +1 -0
- package/typings/global_variables_utils.d.ts +27 -0
- package/typings/list.d.ts +3 -0
- package/typings/martixBase.d.ts +1 -0
- package/typings/mask/input_element_adapter.d.ts +0 -1
- package/typings/mask/mask_base.d.ts +13 -0
- package/typings/mask/mask_currency.d.ts +30 -0
- package/typings/mask/mask_datetime.d.ts +28 -0
- package/typings/mask/mask_numeric.d.ts +58 -0
- package/typings/mask/mask_pattern.d.ts +47 -0
- package/typings/question_baseselect.d.ts +1 -0
- package/typings/question_dropdown.d.ts +8 -0
- package/typings/question_html.d.ts +1 -0
- package/typings/question_tagbox.d.ts +1 -0
- package/typings/question_text.d.ts +31 -0
- package/typings/settings.d.ts +17 -2
- package/typings/survey-events-api.d.ts +28 -1
- package/typings/survey.d.ts +14 -8
- package/typings/surveytimer.d.ts +1 -1
package/survey.core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.135
|
|
3
3
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -112,8 +112,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
112
112
|
__webpack_require__.r(__webpack_exports__);
|
|
113
113
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return SignaturePad; });
|
|
114
114
|
/*!
|
|
115
|
-
* Signature Pad v4.
|
|
116
|
-
* (c)
|
|
115
|
+
* Signature Pad v4.2.0 | https://github.com/szimek/signature_pad
|
|
116
|
+
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
117
117
|
*/
|
|
118
118
|
|
|
119
119
|
class Point {
|
|
@@ -333,10 +333,11 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
333
333
|
this.penColor = options.penColor || 'black';
|
|
334
334
|
this.backgroundColor = options.backgroundColor || 'rgba(0,0,0,0)';
|
|
335
335
|
this.compositeOperation = options.compositeOperation || 'source-over';
|
|
336
|
+
this.canvasContextOptions = ('canvasContextOptions' in options ? options.canvasContextOptions : {});
|
|
336
337
|
this._strokeMoveUpdate = this.throttle
|
|
337
338
|
? throttle(SignaturePad.prototype._strokeUpdate, this.throttle)
|
|
338
339
|
: SignaturePad.prototype._strokeUpdate;
|
|
339
|
-
this._ctx = canvas.getContext('2d');
|
|
340
|
+
this._ctx = canvas.getContext('2d', this.canvasContextOptions);
|
|
340
341
|
this.clear();
|
|
341
342
|
this.on();
|
|
342
343
|
}
|
|
@@ -5592,7 +5593,8 @@ var defaultV2Css = {
|
|
|
5592
5593
|
html: {
|
|
5593
5594
|
mainRoot: "sd-question sd-row__question sd-question--html",
|
|
5594
5595
|
root: "sd-html",
|
|
5595
|
-
withFrame: ""
|
|
5596
|
+
withFrame: "",
|
|
5597
|
+
nested: "sd-element--nested sd-html--nested"
|
|
5596
5598
|
},
|
|
5597
5599
|
error: {
|
|
5598
5600
|
root: "sd-error",
|
|
@@ -5776,6 +5778,7 @@ var defaultV2Css = {
|
|
|
5776
5778
|
mainRoot: "sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",
|
|
5777
5779
|
tableWrapper: "sd-matrix sd-table-wrapper",
|
|
5778
5780
|
root: "sd-table sd-matrix__table",
|
|
5781
|
+
columnsAutoWidth: "sd-table--columnsautowidth",
|
|
5779
5782
|
noHeader: "sd-table--no-header",
|
|
5780
5783
|
rootVerticalAlignTop: "sd-table--align-top",
|
|
5781
5784
|
rootVerticalAlignMiddle: "sd-table--align-middle",
|
|
@@ -5804,6 +5807,7 @@ var defaultV2Css = {
|
|
|
5804
5807
|
mainRoot: "sd-element sd-question sd-row__question sd-element--complex sd-question--complex sd-question--table",
|
|
5805
5808
|
rootScroll: "sd-question--scroll",
|
|
5806
5809
|
root: "sd-table sd-matrixdropdown",
|
|
5810
|
+
columnsAutoWidth: "sd-table--columnsautowidth",
|
|
5807
5811
|
noHeader: "sd-table--no-header",
|
|
5808
5812
|
hasFooter: "sd-table--has-footer",
|
|
5809
5813
|
rootVerticalAlignTop: "sd-table--align-top",
|
|
@@ -5846,6 +5850,7 @@ var defaultV2Css = {
|
|
|
5846
5850
|
rootScroll: "sd-question--scroll",
|
|
5847
5851
|
empty: "sd-question--empty",
|
|
5848
5852
|
root: "sd-table sd-matrixdynamic",
|
|
5853
|
+
columnsAutoWidth: "sd-table--columnsautowidth",
|
|
5849
5854
|
noHeader: "sd-table--no-header",
|
|
5850
5855
|
hasFooter: "sd-table--has-footer",
|
|
5851
5856
|
tableWrapper: "sd-table-wrapper",
|
|
@@ -6628,6 +6633,7 @@ var DragDropPanelHelperV1 = /** @class */ (function () {
|
|
|
6628
6633
|
__webpack_require__.r(__webpack_exports__);
|
|
6629
6634
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragDropChoices", function() { return DragDropChoices; });
|
|
6630
6635
|
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core */ "./src/dragdrop/core.ts");
|
|
6636
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
|
6631
6637
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
6632
6638
|
var extendStatics = function (d, b) {
|
|
6633
6639
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -6644,6 +6650,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
6644
6650
|
};
|
|
6645
6651
|
})();
|
|
6646
6652
|
|
|
6653
|
+
|
|
6647
6654
|
var DragDropChoices = /** @class */ (function (_super) {
|
|
6648
6655
|
__extends(DragDropChoices, _super);
|
|
6649
6656
|
function DragDropChoices() {
|
|
@@ -6673,7 +6680,9 @@ var DragDropChoices = /** @class */ (function (_super) {
|
|
|
6673
6680
|
if (this.parentElement.getType() === "imagepicker") {
|
|
6674
6681
|
return this.createImagePickerShortcut(this.draggedElement, text, draggedElementNode, event);
|
|
6675
6682
|
}
|
|
6676
|
-
var draggedElementShortcut =
|
|
6683
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("div");
|
|
6684
|
+
if (!draggedElementShortcut)
|
|
6685
|
+
return;
|
|
6677
6686
|
// draggedElementShortcut.innerText = text;
|
|
6678
6687
|
draggedElementShortcut.style.cssText = " \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));\n ";
|
|
6679
6688
|
var isDeepClone = true;
|
|
@@ -6697,7 +6706,9 @@ var DragDropChoices = /** @class */ (function (_super) {
|
|
|
6697
6706
|
return draggedElementShortcut;
|
|
6698
6707
|
};
|
|
6699
6708
|
DragDropChoices.prototype.createImagePickerShortcut = function (item, text, draggedElementNode, event) {
|
|
6700
|
-
var draggedElementShortcut =
|
|
6709
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("div");
|
|
6710
|
+
if (!draggedElementShortcut)
|
|
6711
|
+
return;
|
|
6701
6712
|
draggedElementShortcut.style.cssText = " \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1));\n background-color: var(--sjs-general-backcolor, var(--background, #fff));\n padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n border-radius: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n ";
|
|
6702
6713
|
var itemValueNode = draggedElementNode.closest("[data-sv-drop-target-item-value]");
|
|
6703
6714
|
this.imagepickerControlsNode = itemValueNode.querySelector(".svc-image-item-value-controls");
|
|
@@ -6825,6 +6836,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6825
6836
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragDropCore", function() { return DragDropCore; });
|
|
6826
6837
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../base */ "./src/base.ts");
|
|
6827
6838
|
/* harmony import */ var _dom_adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dom-adapter */ "./src/dragdrop/dom-adapter.ts");
|
|
6839
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
|
6840
|
+
|
|
6828
6841
|
|
|
6829
6842
|
|
|
6830
6843
|
var DragDropCore = /** @class */ (function () {
|
|
@@ -6906,9 +6919,11 @@ var DragDropCore = /** @class */ (function () {
|
|
|
6906
6919
|
return draggedElement.shortcutText;
|
|
6907
6920
|
};
|
|
6908
6921
|
DragDropCore.prototype.createDraggedElementShortcut = function (text, draggedElementNode, event) {
|
|
6909
|
-
var draggedElementShortcut =
|
|
6910
|
-
draggedElementShortcut
|
|
6911
|
-
|
|
6922
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].createElement("div");
|
|
6923
|
+
if (!!draggedElementShortcut) {
|
|
6924
|
+
draggedElementShortcut.innerText = text;
|
|
6925
|
+
draggedElementShortcut.className = this.getDraggedElementClass();
|
|
6926
|
+
}
|
|
6912
6927
|
return draggedElementShortcut;
|
|
6913
6928
|
};
|
|
6914
6929
|
DragDropCore.prototype.getDraggedElementClass = function () {
|
|
@@ -6920,7 +6935,9 @@ var DragDropCore = /** @class */ (function () {
|
|
|
6920
6935
|
var displayProp = this.domAdapter.draggedElementShortcut.style.display;
|
|
6921
6936
|
//this.domAdapter.draggedElementShortcut.hidden = true;
|
|
6922
6937
|
this.domAdapter.draggedElementShortcut.style.display = "none";
|
|
6923
|
-
|
|
6938
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].isAvailable())
|
|
6939
|
+
return null;
|
|
6940
|
+
var dragOverNode = _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].getDocument().elementFromPoint(clientX, clientY);
|
|
6924
6941
|
// this.domAdapter.draggedElementShortcut.hidden = false;
|
|
6925
6942
|
this.domAdapter.draggedElementShortcut.style.display = displayProp || "block";
|
|
6926
6943
|
if (!dragOverNode)
|
|
@@ -7020,6 +7037,7 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
|
|
|
7020
7037
|
to[j] = from[i];
|
|
7021
7038
|
return to;
|
|
7022
7039
|
};
|
|
7040
|
+
/* eslint-disable no-restricted-globals */
|
|
7023
7041
|
|
|
7024
7042
|
|
|
7025
7043
|
|
|
@@ -7331,7 +7349,8 @@ var DragDropDOMAdapter = /** @class */ (function () {
|
|
|
7331
7349
|
"use strict";
|
|
7332
7350
|
__webpack_require__.r(__webpack_exports__);
|
|
7333
7351
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragDropMatrixRows", function() { return DragDropMatrixRows; });
|
|
7334
|
-
/* harmony import */ var
|
|
7352
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
|
7353
|
+
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core */ "./src/dragdrop/core.ts");
|
|
7335
7354
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
7336
7355
|
var extendStatics = function (d, b) {
|
|
7337
7356
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -7348,6 +7367,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
7348
7367
|
};
|
|
7349
7368
|
})();
|
|
7350
7369
|
|
|
7370
|
+
|
|
7351
7371
|
var DragDropMatrixRows = /** @class */ (function (_super) {
|
|
7352
7372
|
__extends(DragDropMatrixRows, _super);
|
|
7353
7373
|
function DragDropMatrixRows() {
|
|
@@ -7368,12 +7388,17 @@ var DragDropMatrixRows = /** @class */ (function (_super) {
|
|
|
7368
7388
|
configurable: true
|
|
7369
7389
|
});
|
|
7370
7390
|
DragDropMatrixRows.prototype.onStartDrag = function () {
|
|
7371
|
-
|
|
7372
|
-
|
|
7391
|
+
var _body = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
|
7392
|
+
if (!!_body) {
|
|
7393
|
+
this.restoreUserSelectValue = _body.style.userSelect;
|
|
7394
|
+
_body.style.userSelect = "none";
|
|
7395
|
+
}
|
|
7373
7396
|
};
|
|
7374
7397
|
DragDropMatrixRows.prototype.createDraggedElementShortcut = function (text, draggedElementNode, event) {
|
|
7375
7398
|
var _this = this;
|
|
7376
|
-
var draggedElementShortcut =
|
|
7399
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("div");
|
|
7400
|
+
if (!draggedElementShortcut)
|
|
7401
|
+
return;
|
|
7377
7402
|
// draggedElementShortcut.innerText = text;
|
|
7378
7403
|
draggedElementShortcut.style.cssText = " \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));\n ";
|
|
7379
7404
|
var isDeepClone = true;
|
|
@@ -7477,11 +7502,14 @@ var DragDropMatrixRows = /** @class */ (function (_super) {
|
|
|
7477
7502
|
this.parentElement.clearOnDrop();
|
|
7478
7503
|
this.fromIndex = null;
|
|
7479
7504
|
this.toIndex = null;
|
|
7480
|
-
|
|
7505
|
+
var _body = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
|
7506
|
+
if (!!_body) {
|
|
7507
|
+
_body.style.userSelect = this.restoreUserSelectValue || "initial";
|
|
7508
|
+
}
|
|
7481
7509
|
_super.prototype.clear.call(this);
|
|
7482
7510
|
};
|
|
7483
7511
|
return DragDropMatrixRows;
|
|
7484
|
-
}(
|
|
7512
|
+
}(_core__WEBPACK_IMPORTED_MODULE_1__["DragDropCore"]));
|
|
7485
7513
|
|
|
7486
7514
|
|
|
7487
7515
|
|
|
@@ -7500,6 +7528,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7500
7528
|
/* harmony import */ var _choices__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./choices */ "./src/dragdrop/choices.ts");
|
|
7501
7529
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
|
7502
7530
|
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/devices */ "./src/utils/devices.ts");
|
|
7531
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
|
7503
7532
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
7504
7533
|
var extendStatics = function (d, b) {
|
|
7505
7534
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -7518,6 +7547,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
7518
7547
|
|
|
7519
7548
|
|
|
7520
7549
|
|
|
7550
|
+
|
|
7521
7551
|
var DragDropRankingChoices = /** @class */ (function (_super) {
|
|
7522
7552
|
__extends(DragDropRankingChoices, _super);
|
|
7523
7553
|
function DragDropRankingChoices() {
|
|
@@ -7549,7 +7579,9 @@ var DragDropRankingChoices = /** @class */ (function (_super) {
|
|
|
7549
7579
|
configurable: true
|
|
7550
7580
|
});
|
|
7551
7581
|
DragDropRankingChoices.prototype.createDraggedElementShortcut = function (text, draggedElementNode, event) {
|
|
7552
|
-
var draggedElementShortcut =
|
|
7582
|
+
var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].createElement("div");
|
|
7583
|
+
if (!draggedElementShortcut)
|
|
7584
|
+
return;
|
|
7553
7585
|
draggedElementShortcut.className = this.shortcutClass + " sv-ranking-shortcut";
|
|
7554
7586
|
draggedElementShortcut.style.cssText = " \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n border-radius: calc(12.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n min-width: 100px;\n max-width: 400px;\n box-shadow: var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1));\n background-color: var(--sjs-general-backcolor, var(--background, #fff));\n font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));\n ";
|
|
7555
7587
|
var isDeepClone = true;
|
|
@@ -7837,15 +7869,16 @@ var DragDropRankingSelectToRank = /** @class */ (function (_super) {
|
|
|
7837
7869
|
__webpack_require__.r(__webpack_exports__);
|
|
7838
7870
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DropdownListModel", function() { return DropdownListModel; });
|
|
7839
7871
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
|
7840
|
-
/* harmony import */ var
|
|
7841
|
-
/* harmony import */ var
|
|
7842
|
-
/* harmony import */ var
|
|
7843
|
-
/* harmony import */ var
|
|
7844
|
-
/* harmony import */ var
|
|
7845
|
-
/* harmony import */ var
|
|
7846
|
-
/* harmony import */ var
|
|
7847
|
-
/* harmony import */ var
|
|
7848
|
-
/* harmony import */ var
|
|
7872
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
7873
|
+
/* harmony import */ var _itemvalue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./itemvalue */ "./src/itemvalue.ts");
|
|
7874
|
+
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
|
7875
|
+
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./list */ "./src/list.ts");
|
|
7876
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
|
7877
|
+
/* harmony import */ var _question_dropdown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./question_dropdown */ "./src/question_dropdown.ts");
|
|
7878
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
|
7879
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
|
7880
|
+
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
|
7881
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
|
7849
7882
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
7850
7883
|
var extendStatics = function (d, b) {
|
|
7851
7884
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -7877,6 +7910,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
7877
7910
|
|
|
7878
7911
|
|
|
7879
7912
|
|
|
7913
|
+
|
|
7880
7914
|
var DropdownListModel = /** @class */ (function (_super) {
|
|
7881
7915
|
__extends(DropdownListModel, _super);
|
|
7882
7916
|
function DropdownListModel(question, onSelectionChanged) {
|
|
@@ -7900,14 +7934,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
7900
7934
|
_this.qustionPropertyChangedHandler = function (sender, options) {
|
|
7901
7935
|
_this.onPropertyChangedHandler(sender, options);
|
|
7902
7936
|
};
|
|
7903
|
-
|
|
7904
|
-
_this.htmlCleanerElement = document.createElement("div");
|
|
7905
|
-
}
|
|
7937
|
+
_this.htmlCleanerElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("div");
|
|
7906
7938
|
question.onPropertyChanged.add(_this.qustionPropertyChangedHandler);
|
|
7907
7939
|
_this.showInputFieldComponent = _this.question.showInputFieldComponent;
|
|
7908
7940
|
_this.listModel = _this.createListModel();
|
|
7909
7941
|
_this.updateAfterListModelCreated(_this.listModel);
|
|
7910
7942
|
_this.setSearchEnabled(_this.question.searchEnabled);
|
|
7943
|
+
_this.setTextWrapEnabled(_this.question.textWrapEnabled);
|
|
7911
7944
|
_this.createPopup();
|
|
7912
7945
|
_this.resetItemsSettings();
|
|
7913
7946
|
return _this;
|
|
@@ -7920,7 +7953,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
7920
7953
|
configurable: true
|
|
7921
7954
|
});
|
|
7922
7955
|
DropdownListModel.prototype.getFocusFirstInputSelector = function () {
|
|
7923
|
-
if (
|
|
7956
|
+
if (_utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"]) {
|
|
7924
7957
|
return this.isValueEmpty(this.question.value) ? this.itemSelector : this.selectedItemSelector;
|
|
7925
7958
|
}
|
|
7926
7959
|
else {
|
|
@@ -7968,12 +8001,12 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
7968
8001
|
};
|
|
7969
8002
|
DropdownListModel.prototype.createPopup = function () {
|
|
7970
8003
|
var _this = this;
|
|
7971
|
-
this._popupModel = new
|
|
7972
|
-
this._popupModel.displayMode =
|
|
8004
|
+
this._popupModel = new _popup__WEBPACK_IMPORTED_MODULE_5__["PopupModel"]("sv-list", { model: this.listModel }, "bottom", "center", false);
|
|
8005
|
+
this._popupModel.displayMode = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"] ? "overlay" : "popup";
|
|
7973
8006
|
this._popupModel.positionMode = "fixed";
|
|
7974
8007
|
this._popupModel.isFocusedContainer = false;
|
|
7975
|
-
this._popupModel.isFocusedContent =
|
|
7976
|
-
this._popupModel.setWidthByTarget = !
|
|
8008
|
+
this._popupModel.isFocusedContent = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
|
8009
|
+
this._popupModel.setWidthByTarget = !_utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
|
7977
8010
|
this.updatePopupFocusFirstInputSelector();
|
|
7978
8011
|
this.listModel.registerPropertyChangedHandlers(["showFilter"], function () {
|
|
7979
8012
|
_this.updatePopupFocusFirstInputSelector();
|
|
@@ -8015,6 +8048,9 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8015
8048
|
this.listModel.focusFirstVisibleItem();
|
|
8016
8049
|
}
|
|
8017
8050
|
};
|
|
8051
|
+
DropdownListModel.prototype.setTextWrapEnabled = function (newValue) {
|
|
8052
|
+
this.listModel.textWrapEnabled = newValue;
|
|
8053
|
+
};
|
|
8018
8054
|
DropdownListModel.prototype.popupRecalculatePosition = function (isResetHeight) {
|
|
8019
8055
|
var _this = this;
|
|
8020
8056
|
setTimeout(function () {
|
|
@@ -8035,7 +8071,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8035
8071
|
if (_this.filteredItems)
|
|
8036
8072
|
return _this.filteredItems.indexOf(item) >= 0;
|
|
8037
8073
|
var textInLow = item.text.toLocaleLowerCase();
|
|
8038
|
-
textInLow =
|
|
8074
|
+
textInLow = _settings__WEBPACK_IMPORTED_MODULE_7__["settings"].comparator.normalizeTextCallback(textInLow, "filter");
|
|
8039
8075
|
var index = textInLow.indexOf(textToSearch.toLocaleLowerCase());
|
|
8040
8076
|
return _this.question.searchMode == "startsWith" ? index == 0 : index > -1;
|
|
8041
8077
|
});
|
|
@@ -8052,7 +8088,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8052
8088
|
_this.popupModel.isVisible = false;
|
|
8053
8089
|
};
|
|
8054
8090
|
}
|
|
8055
|
-
var res = new
|
|
8091
|
+
var res = new _list__WEBPACK_IMPORTED_MODULE_4__["ListModel"](visibleItems, _onSelectionChanged, false, undefined, this.question.choicesLazyLoadEnabled ? this.listModelFilterStringChanged : undefined, this.listElementId);
|
|
8056
8092
|
this.setOnTextSearchCallbackForListModel(res);
|
|
8057
8093
|
res.renderElements = false;
|
|
8058
8094
|
res.forceShowFilter = true;
|
|
@@ -8073,7 +8109,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8073
8109
|
model.isAllDataLoaded = !this.question.choicesLazyLoadEnabled;
|
|
8074
8110
|
};
|
|
8075
8111
|
DropdownListModel.prototype.updateCssClasses = function (popupCssClass, listCssClasses) {
|
|
8076
|
-
this.popupModel.cssClass = new
|
|
8112
|
+
this.popupModel.cssClass = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_8__["CssClassBuilder"]().append(popupCssClass).append(this.popupCssClasses).toString();
|
|
8077
8113
|
this.listModel.cssClasses = listCssClasses;
|
|
8078
8114
|
};
|
|
8079
8115
|
DropdownListModel.prototype.resetFilterString = function () {
|
|
@@ -8274,14 +8310,14 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8274
8310
|
});
|
|
8275
8311
|
Object.defineProperty(DropdownListModel.prototype, "inputMode", {
|
|
8276
8312
|
get: function () {
|
|
8277
|
-
return
|
|
8313
|
+
return _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"] ? "none" : "text";
|
|
8278
8314
|
},
|
|
8279
8315
|
enumerable: false,
|
|
8280
8316
|
configurable: true
|
|
8281
8317
|
});
|
|
8282
8318
|
DropdownListModel.prototype.setSearchEnabled = function (newValue) {
|
|
8283
|
-
this.listModel.searchEnabled =
|
|
8284
|
-
this.listModel.showSearchClearButton =
|
|
8319
|
+
this.listModel.searchEnabled = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
|
8320
|
+
this.listModel.showSearchClearButton = _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"];
|
|
8285
8321
|
this.searchEnabled = newValue;
|
|
8286
8322
|
};
|
|
8287
8323
|
DropdownListModel.prototype.updateItems = function () {
|
|
@@ -8306,6 +8342,9 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8306
8342
|
if (options.name == "choicesLazyLoadEnabled" && options.newValue) {
|
|
8307
8343
|
this.listModel.setOnFilterStringChangedCallback(this.listModelFilterStringChanged);
|
|
8308
8344
|
}
|
|
8345
|
+
if (options.name == "textWrapEnabled") {
|
|
8346
|
+
this.setTextWrapEnabled(options.newValue);
|
|
8347
|
+
}
|
|
8309
8348
|
};
|
|
8310
8349
|
DropdownListModel.prototype.focusItemOnClickAndPopup = function () {
|
|
8311
8350
|
if (this._popupModel.isVisible && this.question.value)
|
|
@@ -8326,7 +8365,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8326
8365
|
var _a;
|
|
8327
8366
|
var focusedItem = this.listModel.focusedItem;
|
|
8328
8367
|
if (!focusedItem && this.question.selectedItem) {
|
|
8329
|
-
if (
|
|
8368
|
+
if (_itemvalue__WEBPACK_IMPORTED_MODULE_2__["ItemValue"].getItemByValue(this.question.visibleChoices, this.question.value)) {
|
|
8330
8369
|
this.listModel.focusedItem = this.question.selectedItem;
|
|
8331
8370
|
}
|
|
8332
8371
|
}
|
|
@@ -8391,7 +8430,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8391
8430
|
event.stopPropagation();
|
|
8392
8431
|
}
|
|
8393
8432
|
else if (this.popupModel.isVisible && (event.keyCode === 13 || event.keyCode === 32 && (!this.question.searchEnabled || !this.inputString))) {
|
|
8394
|
-
if (event.keyCode === 13 && this.question.searchEnabled && !this.inputString && this.question instanceof
|
|
8433
|
+
if (event.keyCode === 13 && this.question.searchEnabled && !this.inputString && this.question instanceof _question_dropdown__WEBPACK_IMPORTED_MODULE_6__["QuestionDropdownModel"] && !this._markdownMode && this.question.value) {
|
|
8395
8434
|
this._popupModel.isVisible = false;
|
|
8396
8435
|
this.onClear(event);
|
|
8397
8436
|
}
|
|
@@ -8420,7 +8459,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8420
8459
|
if (event.keyCode === 32 && this.question.searchEnabled) {
|
|
8421
8460
|
return;
|
|
8422
8461
|
}
|
|
8423
|
-
Object(
|
|
8462
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_10__["doKey2ClickUp"])(event, { processEsc: false, disableTabStop: this.question.isInputReadOnly });
|
|
8424
8463
|
}
|
|
8425
8464
|
};
|
|
8426
8465
|
DropdownListModel.prototype.onEscape = function () {
|
|
@@ -8435,11 +8474,11 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8435
8474
|
};
|
|
8436
8475
|
DropdownListModel.prototype.onBlur = function (event) {
|
|
8437
8476
|
this.focused = false;
|
|
8438
|
-
if (this.popupModel.isVisible &&
|
|
8477
|
+
if (this.popupModel.isVisible && _utils_devices__WEBPACK_IMPORTED_MODULE_9__["IsTouch"]) {
|
|
8439
8478
|
this._popupModel.isVisible = true;
|
|
8440
8479
|
return;
|
|
8441
8480
|
}
|
|
8442
|
-
Object(
|
|
8481
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_10__["doKey2ClickBlur"])(event);
|
|
8443
8482
|
this._popupModel.isVisible = false;
|
|
8444
8483
|
this.resetFilterString();
|
|
8445
8484
|
this.inputString = null;
|
|
@@ -8475,13 +8514,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8475
8514
|
this.listModel.scrollToFocusedItem();
|
|
8476
8515
|
};
|
|
8477
8516
|
__decorate([
|
|
8478
|
-
Object(
|
|
8517
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({ defaultValue: false })
|
|
8479
8518
|
], DropdownListModel.prototype, "focused", void 0);
|
|
8480
8519
|
__decorate([
|
|
8481
|
-
Object(
|
|
8520
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({ defaultValue: true })
|
|
8482
8521
|
], DropdownListModel.prototype, "searchEnabled", void 0);
|
|
8483
8522
|
__decorate([
|
|
8484
|
-
Object(
|
|
8523
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({
|
|
8485
8524
|
defaultValue: "",
|
|
8486
8525
|
onSet: function (_, target) {
|
|
8487
8526
|
target.onSetFilterString();
|
|
@@ -8489,7 +8528,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8489
8528
|
})
|
|
8490
8529
|
], DropdownListModel.prototype, "filterString", void 0);
|
|
8491
8530
|
__decorate([
|
|
8492
|
-
Object(
|
|
8531
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({
|
|
8493
8532
|
defaultValue: "",
|
|
8494
8533
|
onSet: function (newValue, target) {
|
|
8495
8534
|
target.question.inputHasValue = !!newValue;
|
|
@@ -8497,13 +8536,13 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8497
8536
|
})
|
|
8498
8537
|
], DropdownListModel.prototype, "inputString", void 0);
|
|
8499
8538
|
__decorate([
|
|
8500
|
-
Object(
|
|
8539
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({})
|
|
8501
8540
|
], DropdownListModel.prototype, "showInputFieldComponent", void 0);
|
|
8502
8541
|
__decorate([
|
|
8503
|
-
Object(
|
|
8542
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])()
|
|
8504
8543
|
], DropdownListModel.prototype, "ariaActivedescendant", void 0);
|
|
8505
8544
|
__decorate([
|
|
8506
|
-
Object(
|
|
8545
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({
|
|
8507
8546
|
defaultValue: false,
|
|
8508
8547
|
onSet: function (newVal, target) {
|
|
8509
8548
|
if (newVal) {
|
|
@@ -8516,7 +8555,7 @@ var DropdownListModel = /** @class */ (function (_super) {
|
|
|
8516
8555
|
})
|
|
8517
8556
|
], DropdownListModel.prototype, "hasScroll", void 0);
|
|
8518
8557
|
__decorate([
|
|
8519
|
-
Object(
|
|
8558
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_3__["property"])({ defaultValue: "" })
|
|
8520
8559
|
], DropdownListModel.prototype, "hintString", void 0);
|
|
8521
8560
|
return DropdownListModel;
|
|
8522
8561
|
}(_base__WEBPACK_IMPORTED_MODULE_0__["Base"]));
|
|
@@ -8908,6 +8947,8 @@ var dxSurveyService = /** @class */ (function () {
|
|
|
8908
8947
|
"use strict";
|
|
8909
8948
|
__webpack_require__.r(__webpack_exports__);
|
|
8910
8949
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ElementHelper", function() { return ElementHelper; });
|
|
8950
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
8951
|
+
|
|
8911
8952
|
var ElementHelper = /** @class */ (function () {
|
|
8912
8953
|
function ElementHelper() {
|
|
8913
8954
|
}
|
|
@@ -8915,7 +8956,7 @@ var ElementHelper = /** @class */ (function () {
|
|
|
8915
8956
|
element && element.focus();
|
|
8916
8957
|
};
|
|
8917
8958
|
ElementHelper.visibility = function (node) {
|
|
8918
|
-
var style =
|
|
8959
|
+
var style = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getComputedStyle(node);
|
|
8919
8960
|
if (style.display === "none" || style.visibility === "hidden")
|
|
8920
8961
|
return false;
|
|
8921
8962
|
return node.parentElement ? this.visibility(node.parentElement) : true;
|
|
@@ -8972,493 +9013,495 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8972
9013
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return setLicenseKey; });
|
|
8973
9014
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "slk", function() { return slk; });
|
|
8974
9015
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasLicense", function() { return hasLicense; });
|
|
8975
|
-
/* harmony import */ var
|
|
8976
|
-
/* harmony
|
|
9016
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../global_variables_utils */ "./src/global_variables_utils.ts");
|
|
9017
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../settings */ "./src/settings.ts");
|
|
9018
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return _settings__WEBPACK_IMPORTED_MODULE_1__["settings"]; });
|
|
8977
9019
|
|
|
8978
|
-
/* harmony import */ var
|
|
8979
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Helpers", function() { return
|
|
9020
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../helpers */ "./src/helpers.ts");
|
|
9021
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Helpers", function() { return _helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"]; });
|
|
8980
9022
|
|
|
8981
|
-
/* harmony import */ var
|
|
8982
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerCountValidator", function() { return
|
|
9023
|
+
/* harmony import */ var _validator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../validator */ "./src/validator.ts");
|
|
9024
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerCountValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["AnswerCountValidator"]; });
|
|
8983
9025
|
|
|
8984
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EmailValidator", function() { return
|
|
9026
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EmailValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["EmailValidator"]; });
|
|
8985
9027
|
|
|
8986
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NumericValidator", function() { return
|
|
9028
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "NumericValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["NumericValidator"]; });
|
|
8987
9029
|
|
|
8988
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RegexValidator", function() { return
|
|
9030
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RegexValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["RegexValidator"]; });
|
|
8989
9031
|
|
|
8990
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyValidator", function() { return
|
|
9032
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["SurveyValidator"]; });
|
|
8991
9033
|
|
|
8992
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextValidator", function() { return
|
|
9034
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["TextValidator"]; });
|
|
8993
9035
|
|
|
8994
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorResult", function() { return
|
|
9036
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorResult", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["ValidatorResult"]; });
|
|
8995
9037
|
|
|
8996
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionValidator", function() { return
|
|
9038
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionValidator", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["ExpressionValidator"]; });
|
|
8997
9039
|
|
|
8998
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorRunner", function() { return
|
|
9040
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ValidatorRunner", function() { return _validator__WEBPACK_IMPORTED_MODULE_3__["ValidatorRunner"]; });
|
|
8999
9041
|
|
|
9000
|
-
/* harmony import */ var
|
|
9001
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ItemValue", function() { return
|
|
9042
|
+
/* harmony import */ var _itemvalue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../itemvalue */ "./src/itemvalue.ts");
|
|
9043
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ItemValue", function() { return _itemvalue__WEBPACK_IMPORTED_MODULE_4__["ItemValue"]; });
|
|
9002
9044
|
|
|
9003
|
-
/* harmony import */ var
|
|
9004
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Base", function() { return
|
|
9045
|
+
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../base */ "./src/base.ts");
|
|
9046
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Base", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["Base"]; });
|
|
9005
9047
|
|
|
9006
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Event", function() { return
|
|
9048
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Event", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["Event"]; });
|
|
9007
9049
|
|
|
9008
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EventBase", function() { return
|
|
9050
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EventBase", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["EventBase"]; });
|
|
9009
9051
|
|
|
9010
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayChanges", function() { return
|
|
9052
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayChanges", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["ArrayChanges"]; });
|
|
9011
9053
|
|
|
9012
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComputedUpdater", function() { return
|
|
9054
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComputedUpdater", function() { return _base__WEBPACK_IMPORTED_MODULE_5__["ComputedUpdater"]; });
|
|
9013
9055
|
|
|
9014
|
-
/* harmony import */ var
|
|
9015
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyError", function() { return
|
|
9056
|
+
/* harmony import */ var _survey_error__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../survey-error */ "./src/survey-error.ts");
|
|
9057
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyError", function() { return _survey_error__WEBPACK_IMPORTED_MODULE_6__["SurveyError"]; });
|
|
9016
9058
|
|
|
9017
|
-
/* harmony import */ var
|
|
9018
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElementCore", function() { return
|
|
9059
|
+
/* harmony import */ var _survey_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../survey-element */ "./src/survey-element.ts");
|
|
9060
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElementCore", function() { return _survey_element__WEBPACK_IMPORTED_MODULE_7__["SurveyElementCore"]; });
|
|
9019
9061
|
|
|
9020
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElement", function() { return
|
|
9062
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyElement", function() { return _survey_element__WEBPACK_IMPORTED_MODULE_7__["SurveyElement"]; });
|
|
9021
9063
|
|
|
9022
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragTypeOverMeEnum", function() { return
|
|
9064
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragTypeOverMeEnum", function() { return _survey_element__WEBPACK_IMPORTED_MODULE_7__["DragTypeOverMeEnum"]; });
|
|
9023
9065
|
|
|
9024
|
-
/* harmony import */ var
|
|
9025
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CalculatedValue", function() { return
|
|
9066
|
+
/* harmony import */ var _calculatedValue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../calculatedValue */ "./src/calculatedValue.ts");
|
|
9067
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CalculatedValue", function() { return _calculatedValue__WEBPACK_IMPORTED_MODULE_8__["CalculatedValue"]; });
|
|
9026
9068
|
|
|
9027
|
-
/* harmony import */ var
|
|
9028
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomError", function() { return
|
|
9069
|
+
/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../error */ "./src/error.ts");
|
|
9070
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["CustomError"]; });
|
|
9029
9071
|
|
|
9030
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerRequiredError", function() { return
|
|
9072
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "AnswerRequiredError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["AnswerRequiredError"]; });
|
|
9031
9073
|
|
|
9032
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OneAnswerRequiredError", function() { return
|
|
9074
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "OneAnswerRequiredError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["OneAnswerRequiredError"]; });
|
|
9033
9075
|
|
|
9034
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RequreNumericError", function() { return
|
|
9076
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RequreNumericError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["RequreNumericError"]; });
|
|
9035
9077
|
|
|
9036
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExceedSizeError", function() { return
|
|
9078
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExceedSizeError", function() { return _error__WEBPACK_IMPORTED_MODULE_9__["ExceedSizeError"]; });
|
|
9037
9079
|
|
|
9038
|
-
/* harmony import */ var
|
|
9039
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableString", function() { return
|
|
9080
|
+
/* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../localizablestring */ "./src/localizablestring.ts");
|
|
9081
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableString", function() { return _localizablestring__WEBPACK_IMPORTED_MODULE_10__["LocalizableString"]; });
|
|
9040
9082
|
|
|
9041
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableStrings", function() { return
|
|
9083
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocalizableStrings", function() { return _localizablestring__WEBPACK_IMPORTED_MODULE_10__["LocalizableStrings"]; });
|
|
9042
9084
|
|
|
9043
|
-
/* harmony import */ var
|
|
9044
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HtmlConditionItem", function() { return
|
|
9085
|
+
/* harmony import */ var _expressionItems__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../expressionItems */ "./src/expressionItems.ts");
|
|
9086
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "HtmlConditionItem", function() { return _expressionItems__WEBPACK_IMPORTED_MODULE_11__["HtmlConditionItem"]; });
|
|
9045
9087
|
|
|
9046
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UrlConditionItem", function() { return
|
|
9088
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UrlConditionItem", function() { return _expressionItems__WEBPACK_IMPORTED_MODULE_11__["UrlConditionItem"]; });
|
|
9047
9089
|
|
|
9048
|
-
/* harmony import */ var
|
|
9049
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestful", function() { return
|
|
9090
|
+
/* harmony import */ var _choicesRestful__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../choicesRestful */ "./src/choicesRestful.ts");
|
|
9091
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestful", function() { return _choicesRestful__WEBPACK_IMPORTED_MODULE_12__["ChoicesRestful"]; });
|
|
9050
9092
|
|
|
9051
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestfull", function() { return
|
|
9093
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ChoicesRestfull", function() { return _choicesRestful__WEBPACK_IMPORTED_MODULE_12__["ChoicesRestfull"]; });
|
|
9052
9094
|
|
|
9053
|
-
/* harmony import */ var
|
|
9054
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionFactory", function() { return
|
|
9095
|
+
/* harmony import */ var _functionsfactory__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../functionsfactory */ "./src/functionsfactory.ts");
|
|
9096
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionFactory", function() { return _functionsfactory__WEBPACK_IMPORTED_MODULE_13__["FunctionFactory"]; });
|
|
9055
9097
|
|
|
9056
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "registerFunction", function() { return
|
|
9098
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "registerFunction", function() { return _functionsfactory__WEBPACK_IMPORTED_MODULE_13__["registerFunction"]; });
|
|
9057
9099
|
|
|
9058
|
-
/* harmony import */ var
|
|
9059
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionRunner", function() { return
|
|
9100
|
+
/* harmony import */ var _conditions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../conditions */ "./src/conditions.ts");
|
|
9101
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionRunner", function() { return _conditions__WEBPACK_IMPORTED_MODULE_14__["ConditionRunner"]; });
|
|
9060
9102
|
|
|
9061
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionRunner", function() { return
|
|
9103
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionRunner", function() { return _conditions__WEBPACK_IMPORTED_MODULE_14__["ExpressionRunner"]; });
|
|
9062
9104
|
|
|
9063
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionExecutor", function() { return
|
|
9105
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpressionExecutor", function() { return _conditions__WEBPACK_IMPORTED_MODULE_14__["ExpressionExecutor"]; });
|
|
9064
9106
|
|
|
9065
|
-
/* harmony import */ var
|
|
9066
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Operand", function() { return
|
|
9107
|
+
/* harmony import */ var _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../expressions/expressions */ "./src/expressions/expressions.ts");
|
|
9108
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Operand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["Operand"]; });
|
|
9067
9109
|
|
|
9068
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Const", function() { return
|
|
9110
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Const", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["Const"]; });
|
|
9069
9111
|
|
|
9070
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BinaryOperand", function() { return
|
|
9112
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "BinaryOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["BinaryOperand"]; });
|
|
9071
9113
|
|
|
9072
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Variable", function() { return
|
|
9114
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Variable", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["Variable"]; });
|
|
9073
9115
|
|
|
9074
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionOperand", function() { return
|
|
9116
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FunctionOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["FunctionOperand"]; });
|
|
9075
9117
|
|
|
9076
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayOperand", function() { return
|
|
9118
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ArrayOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["ArrayOperand"]; });
|
|
9077
9119
|
|
|
9078
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnaryOperand", function() { return
|
|
9120
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnaryOperand", function() { return _expressions_expressions__WEBPACK_IMPORTED_MODULE_15__["UnaryOperand"]; });
|
|
9079
9121
|
|
|
9080
|
-
/* harmony import */ var
|
|
9081
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionsParser", function() { return
|
|
9122
|
+
/* harmony import */ var _conditionsParser__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../conditionsParser */ "./src/conditionsParser.ts");
|
|
9123
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConditionsParser", function() { return _conditionsParser__WEBPACK_IMPORTED_MODULE_16__["ConditionsParser"]; });
|
|
9082
9124
|
|
|
9083
|
-
/* harmony import */ var
|
|
9084
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProcessValue", function() { return
|
|
9125
|
+
/* harmony import */ var _conditionProcessValue__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../conditionProcessValue */ "./src/conditionProcessValue.ts");
|
|
9126
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProcessValue", function() { return _conditionProcessValue__WEBPACK_IMPORTED_MODULE_17__["ProcessValue"]; });
|
|
9085
9127
|
|
|
9086
|
-
/* harmony import */ var
|
|
9087
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonError", function() { return
|
|
9128
|
+
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../jsonobject */ "./src/jsonobject.ts");
|
|
9129
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonError"]; });
|
|
9088
9130
|
|
|
9089
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonIncorrectTypeError", function() { return
|
|
9131
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonIncorrectTypeError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonIncorrectTypeError"]; });
|
|
9090
9132
|
|
|
9091
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadata", function() { return
|
|
9133
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadata", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMetadata"]; });
|
|
9092
9134
|
|
|
9093
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadataClass", function() { return
|
|
9135
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMetadataClass", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMetadataClass"]; });
|
|
9094
9136
|
|
|
9095
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeError", function() { return
|
|
9137
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMissingTypeError"]; });
|
|
9096
9138
|
|
|
9097
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeErrorBase", function() { return
|
|
9139
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonMissingTypeErrorBase", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonMissingTypeErrorBase"]; });
|
|
9098
9140
|
|
|
9099
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObject", function() { return
|
|
9141
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObject", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonObject"]; });
|
|
9100
9142
|
|
|
9101
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObjectProperty", function() { return
|
|
9143
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonObjectProperty", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonObjectProperty"]; });
|
|
9102
9144
|
|
|
9103
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonRequiredPropertyError", function() { return
|
|
9145
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonRequiredPropertyError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonRequiredPropertyError"]; });
|
|
9104
9146
|
|
|
9105
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonUnknownPropertyError", function() { return
|
|
9147
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "JsonUnknownPropertyError", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["JsonUnknownPropertyError"]; });
|
|
9106
9148
|
|
|
9107
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Serializer", function() { return
|
|
9149
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Serializer", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["Serializer"]; });
|
|
9108
9150
|
|
|
9109
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "property", function() { return
|
|
9151
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "property", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["property"]; });
|
|
9110
9152
|
|
|
9111
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyArray", function() { return
|
|
9153
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyArray", function() { return _jsonobject__WEBPACK_IMPORTED_MODULE_18__["propertyArray"]; });
|
|
9112
9154
|
|
|
9113
|
-
/* harmony import */ var
|
|
9114
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownCell", function() { return
|
|
9155
|
+
/* harmony import */ var _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../question_matrixdropdownbase */ "./src/question_matrixdropdownbase.ts");
|
|
9156
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownCell", function() { return _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__["MatrixDropdownCell"]; });
|
|
9115
9157
|
|
|
9116
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModelBase", function() { return
|
|
9158
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModelBase", function() { return _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__["MatrixDropdownRowModelBase"]; });
|
|
9117
9159
|
|
|
9118
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModelBase", function() { return
|
|
9160
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModelBase", function() { return _question_matrixdropdownbase__WEBPACK_IMPORTED_MODULE_19__["QuestionMatrixDropdownModelBase"]; });
|
|
9119
9161
|
|
|
9120
|
-
/* harmony import */ var
|
|
9121
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownColumn", function() { return
|
|
9162
|
+
/* harmony import */ var _question_matrixdropdowncolumn__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../question_matrixdropdowncolumn */ "./src/question_matrixdropdowncolumn.ts");
|
|
9163
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownColumn", function() { return _question_matrixdropdowncolumn__WEBPACK_IMPORTED_MODULE_20__["MatrixDropdownColumn"]; });
|
|
9122
9164
|
|
|
9123
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "matrixDropdownColumnTypes", function() { return
|
|
9165
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "matrixDropdownColumnTypes", function() { return _question_matrixdropdowncolumn__WEBPACK_IMPORTED_MODULE_20__["matrixDropdownColumnTypes"]; });
|
|
9124
9166
|
|
|
9125
|
-
/* harmony import */ var
|
|
9126
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedCell", function() { return
|
|
9167
|
+
/* harmony import */ var _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../question_matrixdropdownrendered */ "./src/question_matrixdropdownrendered.ts");
|
|
9168
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedCell", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedCell"]; });
|
|
9127
9169
|
|
|
9128
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedRow", function() { return
|
|
9170
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedRow", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedRow"]; });
|
|
9129
9171
|
|
|
9130
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedErrorRow", function() { return
|
|
9172
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedErrorRow", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedErrorRow"]; });
|
|
9131
9173
|
|
|
9132
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedTable", function() { return
|
|
9174
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownRenderedTable", function() { return _question_matrixdropdownrendered__WEBPACK_IMPORTED_MODULE_21__["QuestionMatrixDropdownRenderedTable"]; });
|
|
9133
9175
|
|
|
9134
|
-
/* harmony import */ var
|
|
9135
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModel", function() { return
|
|
9176
|
+
/* harmony import */ var _question_matrixdropdown__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../question_matrixdropdown */ "./src/question_matrixdropdown.ts");
|
|
9177
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDropdownRowModel", function() { return _question_matrixdropdown__WEBPACK_IMPORTED_MODULE_22__["MatrixDropdownRowModel"]; });
|
|
9136
9178
|
|
|
9137
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModel", function() { return
|
|
9179
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDropdownModel", function() { return _question_matrixdropdown__WEBPACK_IMPORTED_MODULE_22__["QuestionMatrixDropdownModel"]; });
|
|
9138
9180
|
|
|
9139
|
-
/* harmony import */ var
|
|
9140
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDynamicRowModel", function() { return
|
|
9181
|
+
/* harmony import */ var _question_matrixdynamic__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../question_matrixdynamic */ "./src/question_matrixdynamic.ts");
|
|
9182
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixDynamicRowModel", function() { return _question_matrixdynamic__WEBPACK_IMPORTED_MODULE_23__["MatrixDynamicRowModel"]; });
|
|
9141
9183
|
|
|
9142
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDynamicModel", function() { return
|
|
9184
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixDynamicModel", function() { return _question_matrixdynamic__WEBPACK_IMPORTED_MODULE_23__["QuestionMatrixDynamicModel"]; });
|
|
9143
9185
|
|
|
9144
|
-
/* harmony import */ var
|
|
9145
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRowModel", function() { return
|
|
9186
|
+
/* harmony import */ var _question_matrix__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../question_matrix */ "./src/question_matrix.ts");
|
|
9187
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixRowModel", function() { return _question_matrix__WEBPACK_IMPORTED_MODULE_24__["MatrixRowModel"]; });
|
|
9146
9188
|
|
|
9147
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixCells", function() { return
|
|
9189
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MatrixCells", function() { return _question_matrix__WEBPACK_IMPORTED_MODULE_24__["MatrixCells"]; });
|
|
9148
9190
|
|
|
9149
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixModel", function() { return
|
|
9191
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixModel", function() { return _question_matrix__WEBPACK_IMPORTED_MODULE_24__["QuestionMatrixModel"]; });
|
|
9150
9192
|
|
|
9151
|
-
/* harmony import */ var
|
|
9152
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixBaseModel", function() { return
|
|
9193
|
+
/* harmony import */ var _martixBase__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../martixBase */ "./src/martixBase.ts");
|
|
9194
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMatrixBaseModel", function() { return _martixBase__WEBPACK_IMPORTED_MODULE_25__["QuestionMatrixBaseModel"]; });
|
|
9153
9195
|
|
|
9154
|
-
/* harmony import */ var
|
|
9155
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextItemModel", function() { return
|
|
9196
|
+
/* harmony import */ var _question_multipletext__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../question_multipletext */ "./src/question_multipletext.ts");
|
|
9197
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextItemModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextItemModel"]; });
|
|
9156
9198
|
|
|
9157
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextCell", function() { return
|
|
9199
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextCell", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextCell"]; });
|
|
9158
9200
|
|
|
9159
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextErrorCell", function() { return
|
|
9201
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextErrorCell", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextErrorCell"]; });
|
|
9160
9202
|
|
|
9161
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextErrorRow", function() { return
|
|
9203
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextErrorRow", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MutlipleTextErrorRow"]; });
|
|
9162
9204
|
|
|
9163
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextRow", function() { return
|
|
9205
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MutlipleTextRow", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MutlipleTextRow"]; });
|
|
9164
9206
|
|
|
9165
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return
|
|
9207
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionMultipleTextModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["QuestionMultipleTextModel"]; });
|
|
9166
9208
|
|
|
9167
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return
|
|
9209
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultipleTextEditorModel", function() { return _question_multipletext__WEBPACK_IMPORTED_MODULE_26__["MultipleTextEditorModel"]; });
|
|
9168
9210
|
|
|
9169
|
-
/* harmony import */ var
|
|
9170
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return
|
|
9211
|
+
/* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../panel */ "./src/panel.ts");
|
|
9212
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModel", function() { return _panel__WEBPACK_IMPORTED_MODULE_27__["PanelModel"]; });
|
|
9171
9213
|
|
|
9172
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModelBase", function() { return
|
|
9214
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PanelModelBase", function() { return _panel__WEBPACK_IMPORTED_MODULE_27__["PanelModelBase"]; });
|
|
9173
9215
|
|
|
9174
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRowModel", function() { return
|
|
9216
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRowModel", function() { return _panel__WEBPACK_IMPORTED_MODULE_27__["QuestionRowModel"]; });
|
|
9175
9217
|
|
|
9176
|
-
/* harmony import */ var
|
|
9177
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FlowPanelModel", function() { return
|
|
9218
|
+
/* harmony import */ var _flowpanel__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../flowpanel */ "./src/flowpanel.ts");
|
|
9219
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FlowPanelModel", function() { return _flowpanel__WEBPACK_IMPORTED_MODULE_28__["FlowPanelModel"]; });
|
|
9178
9220
|
|
|
9179
|
-
/* harmony import */ var
|
|
9180
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PageModel", function() { return
|
|
9221
|
+
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../page */ "./src/page.ts");
|
|
9222
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PageModel", function() { return _page__WEBPACK_IMPORTED_MODULE_29__["PageModel"]; });
|
|
9181
9223
|
|
|
9182
|
-
/* harmony import */ var
|
|
9183
|
-
/* empty/unused harmony star reexport *//* harmony import */ var
|
|
9184
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DefaultTitleModel", function() { return
|
|
9224
|
+
/* harmony import */ var _template_renderer__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../../template-renderer */ "./src/template-renderer.ts");
|
|
9225
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _defaultTitle__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../defaultTitle */ "./src/defaultTitle.ts");
|
|
9226
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DefaultTitleModel", function() { return _defaultTitle__WEBPACK_IMPORTED_MODULE_31__["DefaultTitleModel"]; });
|
|
9185
9227
|
|
|
9186
|
-
/* harmony import */ var
|
|
9187
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Question", function() { return
|
|
9228
|
+
/* harmony import */ var _question__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../../question */ "./src/question.ts");
|
|
9229
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Question", function() { return _question__WEBPACK_IMPORTED_MODULE_32__["Question"]; });
|
|
9188
9230
|
|
|
9189
|
-
/* harmony import */ var
|
|
9190
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionNonValue", function() { return
|
|
9231
|
+
/* harmony import */ var _questionnonvalue__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../questionnonvalue */ "./src/questionnonvalue.ts");
|
|
9232
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionNonValue", function() { return _questionnonvalue__WEBPACK_IMPORTED_MODULE_33__["QuestionNonValue"]; });
|
|
9191
9233
|
|
|
9192
|
-
/* harmony import */ var
|
|
9193
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionEmptyModel", function() { return
|
|
9234
|
+
/* harmony import */ var _question_empty__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../question_empty */ "./src/question_empty.ts");
|
|
9235
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionEmptyModel", function() { return _question_empty__WEBPACK_IMPORTED_MODULE_34__["QuestionEmptyModel"]; });
|
|
9194
9236
|
|
|
9195
|
-
/* harmony import */ var
|
|
9196
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxBase", function() { return
|
|
9237
|
+
/* harmony import */ var _question_baseselect__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../question_baseselect */ "./src/question_baseselect.ts");
|
|
9238
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxBase", function() { return _question_baseselect__WEBPACK_IMPORTED_MODULE_35__["QuestionCheckboxBase"]; });
|
|
9197
9239
|
|
|
9198
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSelectBase", function() { return
|
|
9240
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSelectBase", function() { return _question_baseselect__WEBPACK_IMPORTED_MODULE_35__["QuestionSelectBase"]; });
|
|
9199
9241
|
|
|
9200
|
-
/* harmony import */ var
|
|
9201
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxModel", function() { return
|
|
9242
|
+
/* harmony import */ var _question_checkbox__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../question_checkbox */ "./src/question_checkbox.ts");
|
|
9243
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCheckboxModel", function() { return _question_checkbox__WEBPACK_IMPORTED_MODULE_36__["QuestionCheckboxModel"]; });
|
|
9202
9244
|
|
|
9203
|
-
/* harmony import */ var
|
|
9204
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTagboxModel", function() { return
|
|
9245
|
+
/* harmony import */ var _question_tagbox__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../question_tagbox */ "./src/question_tagbox.ts");
|
|
9246
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTagboxModel", function() { return _question_tagbox__WEBPACK_IMPORTED_MODULE_37__["QuestionTagboxModel"]; });
|
|
9205
9247
|
|
|
9206
|
-
/* harmony import */ var
|
|
9207
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRankingModel", function() { return
|
|
9248
|
+
/* harmony import */ var _question_ranking__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../../question_ranking */ "./src/question_ranking.ts");
|
|
9249
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRankingModel", function() { return _question_ranking__WEBPACK_IMPORTED_MODULE_38__["QuestionRankingModel"]; });
|
|
9208
9250
|
|
|
9209
|
-
/* harmony import */ var
|
|
9210
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCommentModel", function() { return
|
|
9251
|
+
/* harmony import */ var _question_comment__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../../question_comment */ "./src/question_comment.ts");
|
|
9252
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCommentModel", function() { return _question_comment__WEBPACK_IMPORTED_MODULE_39__["QuestionCommentModel"]; });
|
|
9211
9253
|
|
|
9212
|
-
/* harmony import */ var
|
|
9213
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionDropdownModel", function() { return
|
|
9254
|
+
/* harmony import */ var _question_dropdown__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../../question_dropdown */ "./src/question_dropdown.ts");
|
|
9255
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionDropdownModel", function() { return _question_dropdown__WEBPACK_IMPORTED_MODULE_40__["QuestionDropdownModel"]; });
|
|
9214
9256
|
|
|
9215
|
-
/* harmony import */ var
|
|
9216
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFactory", function() { return
|
|
9257
|
+
/* harmony import */ var _questionfactory__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../../questionfactory */ "./src/questionfactory.ts");
|
|
9258
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFactory", function() { return _questionfactory__WEBPACK_IMPORTED_MODULE_41__["QuestionFactory"]; });
|
|
9217
9259
|
|
|
9218
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ElementFactory", function() { return
|
|
9260
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ElementFactory", function() { return _questionfactory__WEBPACK_IMPORTED_MODULE_41__["ElementFactory"]; });
|
|
9219
9261
|
|
|
9220
|
-
/* harmony import */ var
|
|
9221
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFileModel", function() { return
|
|
9262
|
+
/* harmony import */ var _question_file__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../../question_file */ "./src/question_file.ts");
|
|
9263
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFileModel", function() { return _question_file__WEBPACK_IMPORTED_MODULE_42__["QuestionFileModel"]; });
|
|
9222
9264
|
|
|
9223
|
-
/* harmony import */ var
|
|
9224
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionHtmlModel", function() { return
|
|
9265
|
+
/* harmony import */ var _question_html__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../../question_html */ "./src/question_html.ts");
|
|
9266
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionHtmlModel", function() { return _question_html__WEBPACK_IMPORTED_MODULE_43__["QuestionHtmlModel"]; });
|
|
9225
9267
|
|
|
9226
|
-
/* harmony import */ var
|
|
9227
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRadiogroupModel", function() { return
|
|
9268
|
+
/* harmony import */ var _question_radiogroup__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../../question_radiogroup */ "./src/question_radiogroup.ts");
|
|
9269
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRadiogroupModel", function() { return _question_radiogroup__WEBPACK_IMPORTED_MODULE_44__["QuestionRadiogroupModel"]; });
|
|
9228
9270
|
|
|
9229
|
-
/* harmony import */ var
|
|
9230
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRatingModel", function() { return
|
|
9271
|
+
/* harmony import */ var _question_rating__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../../question_rating */ "./src/question_rating.ts");
|
|
9272
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionRatingModel", function() { return _question_rating__WEBPACK_IMPORTED_MODULE_45__["QuestionRatingModel"]; });
|
|
9231
9273
|
|
|
9232
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RenderedRatingItem", function() { return
|
|
9274
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RenderedRatingItem", function() { return _question_rating__WEBPACK_IMPORTED_MODULE_45__["RenderedRatingItem"]; });
|
|
9233
9275
|
|
|
9234
|
-
/* harmony import */ var
|
|
9235
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionExpressionModel", function() { return
|
|
9276
|
+
/* harmony import */ var _question_expression__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../../question_expression */ "./src/question_expression.ts");
|
|
9277
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionExpressionModel", function() { return _question_expression__WEBPACK_IMPORTED_MODULE_46__["QuestionExpressionModel"]; });
|
|
9236
9278
|
|
|
9237
|
-
/* harmony import */ var
|
|
9238
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextBase", function() { return
|
|
9279
|
+
/* harmony import */ var _question_textbase__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../../question_textbase */ "./src/question_textbase.ts");
|
|
9280
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextBase", function() { return _question_textbase__WEBPACK_IMPORTED_MODULE_47__["QuestionTextBase"]; });
|
|
9239
9281
|
|
|
9240
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounter", function() { return
|
|
9282
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CharacterCounter", function() { return _question_textbase__WEBPACK_IMPORTED_MODULE_47__["CharacterCounter"]; });
|
|
9241
9283
|
|
|
9242
|
-
/* harmony import */ var
|
|
9243
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextModel", function() { return
|
|
9284
|
+
/* harmony import */ var _question_text__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../../question_text */ "./src/question_text.ts");
|
|
9285
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionTextModel", function() { return _question_text__WEBPACK_IMPORTED_MODULE_48__["QuestionTextModel"]; });
|
|
9244
9286
|
|
|
9245
|
-
/* harmony import */ var
|
|
9246
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionBooleanModel", function() { return
|
|
9287
|
+
/* harmony import */ var _question_boolean__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../../question_boolean */ "./src/question_boolean.ts");
|
|
9288
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionBooleanModel", function() { return _question_boolean__WEBPACK_IMPORTED_MODULE_49__["QuestionBooleanModel"]; });
|
|
9247
9289
|
|
|
9248
|
-
/* harmony import */ var
|
|
9249
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImagePickerModel", function() { return
|
|
9290
|
+
/* harmony import */ var _question_imagepicker__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../../question_imagepicker */ "./src/question_imagepicker.ts");
|
|
9291
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImagePickerModel", function() { return _question_imagepicker__WEBPACK_IMPORTED_MODULE_50__["QuestionImagePickerModel"]; });
|
|
9250
9292
|
|
|
9251
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ImageItemValue", function() { return
|
|
9293
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ImageItemValue", function() { return _question_imagepicker__WEBPACK_IMPORTED_MODULE_50__["ImageItemValue"]; });
|
|
9252
9294
|
|
|
9253
|
-
/* harmony import */ var
|
|
9254
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImageModel", function() { return
|
|
9295
|
+
/* harmony import */ var _question_image__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../../question_image */ "./src/question_image.ts");
|
|
9296
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionImageModel", function() { return _question_image__WEBPACK_IMPORTED_MODULE_51__["QuestionImageModel"]; });
|
|
9255
9297
|
|
|
9256
|
-
/* harmony import */ var
|
|
9257
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSignaturePadModel", function() { return
|
|
9298
|
+
/* harmony import */ var _question_signaturepad__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../../question_signaturepad */ "./src/question_signaturepad.ts");
|
|
9299
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSignaturePadModel", function() { return _question_signaturepad__WEBPACK_IMPORTED_MODULE_52__["QuestionSignaturePadModel"]; });
|
|
9258
9300
|
|
|
9259
|
-
/* harmony import */ var
|
|
9260
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicModel", function() { return
|
|
9301
|
+
/* harmony import */ var _question_paneldynamic__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../../question_paneldynamic */ "./src/question_paneldynamic.ts");
|
|
9302
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicModel", function() { return _question_paneldynamic__WEBPACK_IMPORTED_MODULE_53__["QuestionPanelDynamicModel"]; });
|
|
9261
9303
|
|
|
9262
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicItem", function() { return
|
|
9304
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionPanelDynamicItem", function() { return _question_paneldynamic__WEBPACK_IMPORTED_MODULE_53__["QuestionPanelDynamicItem"]; });
|
|
9263
9305
|
|
|
9264
|
-
/* harmony import */ var
|
|
9265
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimer", function() { return
|
|
9306
|
+
/* harmony import */ var _surveytimer__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../../surveytimer */ "./src/surveytimer.ts");
|
|
9307
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimer", function() { return _surveytimer__WEBPACK_IMPORTED_MODULE_54__["SurveyTimer"]; });
|
|
9266
9308
|
|
|
9267
|
-
/* harmony import */ var
|
|
9268
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimerModel", function() { return
|
|
9309
|
+
/* harmony import */ var _surveyTimerModel__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../../surveyTimerModel */ "./src/surveyTimerModel.ts");
|
|
9310
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTimerModel", function() { return _surveyTimerModel__WEBPACK_IMPORTED_MODULE_55__["SurveyTimerModel"]; });
|
|
9269
9311
|
|
|
9270
|
-
/* harmony import */ var
|
|
9271
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tryFocusPage", function() { return
|
|
9312
|
+
/* harmony import */ var _surveyToc__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../../surveyToc */ "./src/surveyToc.ts");
|
|
9313
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "tryFocusPage", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["tryFocusPage"]; });
|
|
9272
9314
|
|
|
9273
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createTOCListModel", function() { return
|
|
9315
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createTOCListModel", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["createTOCListModel"]; });
|
|
9274
9316
|
|
|
9275
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getTocRootCss", function() { return
|
|
9317
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getTocRootCss", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["getTocRootCss"]; });
|
|
9276
9318
|
|
|
9277
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TOCModel", function() { return
|
|
9319
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TOCModel", function() { return _surveyToc__WEBPACK_IMPORTED_MODULE_56__["TOCModel"]; });
|
|
9278
9320
|
|
|
9279
|
-
/* harmony import */ var
|
|
9280
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressModel", function() { return
|
|
9321
|
+
/* harmony import */ var _surveyProgress__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../../surveyProgress */ "./src/surveyProgress.ts");
|
|
9322
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyProgressModel", function() { return _surveyProgress__WEBPACK_IMPORTED_MODULE_57__["SurveyProgressModel"]; });
|
|
9281
9323
|
|
|
9282
|
-
/* harmony import */ var
|
|
9283
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return
|
|
9324
|
+
/* harmony import */ var _progress_buttons__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../../progress-buttons */ "./src/progress-buttons.ts");
|
|
9325
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtons", function() { return _progress_buttons__WEBPACK_IMPORTED_MODULE_58__["ProgressButtons"]; });
|
|
9284
9326
|
|
|
9285
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return
|
|
9327
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ProgressButtonsResponsivityManager", function() { return _progress_buttons__WEBPACK_IMPORTED_MODULE_58__["ProgressButtonsResponsivityManager"]; });
|
|
9286
9328
|
|
|
9287
|
-
/* harmony import */ var
|
|
9288
|
-
/* empty/unused harmony star reexport *//* harmony import */ var
|
|
9289
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return
|
|
9329
|
+
/* harmony import */ var _themes__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../../themes */ "./src/themes.ts");
|
|
9330
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../../survey */ "./src/survey.ts");
|
|
9331
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyModel", function() { return _survey__WEBPACK_IMPORTED_MODULE_60__["SurveyModel"]; });
|
|
9290
9332
|
|
|
9291
|
-
/* harmony import */ var
|
|
9292
|
-
/* empty/unused harmony star reexport *//* harmony import */ var
|
|
9293
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTrigger", function() { return
|
|
9333
|
+
/* harmony import */ var _survey_events_api__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../../survey-events-api */ "./src/survey-events-api.ts");
|
|
9334
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _trigger__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../../trigger */ "./src/trigger.ts");
|
|
9335
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTrigger", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTrigger"]; });
|
|
9294
9336
|
|
|
9295
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerComplete", function() { return
|
|
9337
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerComplete", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerComplete"]; });
|
|
9296
9338
|
|
|
9297
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSetValue", function() { return
|
|
9339
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSetValue", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerSetValue"]; });
|
|
9298
9340
|
|
|
9299
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerVisible", function() { return
|
|
9341
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerVisible", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerVisible"]; });
|
|
9300
9342
|
|
|
9301
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerCopyValue", function() { return
|
|
9343
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerCopyValue", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerCopyValue"]; });
|
|
9302
9344
|
|
|
9303
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerRunExpression", function() { return
|
|
9345
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerRunExpression", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerRunExpression"]; });
|
|
9304
9346
|
|
|
9305
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSkip", function() { return
|
|
9347
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTriggerSkip", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["SurveyTriggerSkip"]; });
|
|
9306
9348
|
|
|
9307
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Trigger", function() { return
|
|
9349
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Trigger", function() { return _trigger__WEBPACK_IMPORTED_MODULE_62__["Trigger"]; });
|
|
9308
9350
|
|
|
9309
|
-
/* harmony import */ var
|
|
9310
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurveyModel", function() { return
|
|
9351
|
+
/* harmony import */ var _popup_survey__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../../popup-survey */ "./src/popup-survey.ts");
|
|
9352
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupSurveyModel", function() { return _popup_survey__WEBPACK_IMPORTED_MODULE_63__["PopupSurveyModel"]; });
|
|
9311
9353
|
|
|
9312
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindowModel", function() { return
|
|
9354
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyWindowModel", function() { return _popup_survey__WEBPACK_IMPORTED_MODULE_63__["SurveyWindowModel"]; });
|
|
9313
9355
|
|
|
9314
|
-
/* harmony import */ var
|
|
9315
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextPreProcessor", function() { return
|
|
9356
|
+
/* harmony import */ var _textPreProcessor__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../../textPreProcessor */ "./src/textPreProcessor.ts");
|
|
9357
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextPreProcessor", function() { return _textPreProcessor__WEBPACK_IMPORTED_MODULE_64__["TextPreProcessor"]; });
|
|
9316
9358
|
|
|
9317
|
-
/* harmony import */ var
|
|
9318
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Notifier", function() { return
|
|
9359
|
+
/* harmony import */ var _notifier__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../../notifier */ "./src/notifier.ts");
|
|
9360
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Notifier", function() { return _notifier__WEBPACK_IMPORTED_MODULE_65__["Notifier"]; });
|
|
9319
9361
|
|
|
9320
|
-
/* harmony import */ var
|
|
9321
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Cover", function() { return
|
|
9362
|
+
/* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../../header */ "./src/header.ts");
|
|
9363
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Cover", function() { return _header__WEBPACK_IMPORTED_MODULE_66__["Cover"]; });
|
|
9322
9364
|
|
|
9323
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCell", function() { return
|
|
9365
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CoverCell", function() { return _header__WEBPACK_IMPORTED_MODULE_66__["CoverCell"]; });
|
|
9324
9366
|
|
|
9325
|
-
/* harmony import */ var
|
|
9326
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "dxSurveyService", function() { return
|
|
9367
|
+
/* harmony import */ var _dxSurveyService__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../../dxSurveyService */ "./src/dxSurveyService.ts");
|
|
9368
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "dxSurveyService", function() { return _dxSurveyService__WEBPACK_IMPORTED_MODULE_67__["dxSurveyService"]; });
|
|
9327
9369
|
|
|
9328
|
-
/* harmony import */ var
|
|
9329
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "englishStrings", function() { return
|
|
9370
|
+
/* harmony import */ var _localization_english__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../../localization/english */ "./src/localization/english.ts");
|
|
9371
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "englishStrings", function() { return _localization_english__WEBPACK_IMPORTED_MODULE_68__["englishStrings"]; });
|
|
9330
9372
|
|
|
9331
|
-
/* harmony import */ var
|
|
9332
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyLocalization", function() { return
|
|
9373
|
+
/* harmony import */ var _surveyStrings__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../../surveyStrings */ "./src/surveyStrings.ts");
|
|
9374
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyLocalization", function() { return _surveyStrings__WEBPACK_IMPORTED_MODULE_69__["surveyLocalization"]; });
|
|
9333
9375
|
|
|
9334
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyStrings", function() { return
|
|
9376
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyStrings", function() { return _surveyStrings__WEBPACK_IMPORTED_MODULE_69__["surveyStrings"]; });
|
|
9335
9377
|
|
|
9336
|
-
/* harmony import */ var
|
|
9337
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomWidget", function() { return
|
|
9378
|
+
/* harmony import */ var _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../../questionCustomWidgets */ "./src/questionCustomWidgets.ts");
|
|
9379
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomWidget", function() { return _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_70__["QuestionCustomWidget"]; });
|
|
9338
9380
|
|
|
9339
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomWidgetCollection", function() { return
|
|
9381
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CustomWidgetCollection", function() { return _questionCustomWidgets__WEBPACK_IMPORTED_MODULE_70__["CustomWidgetCollection"]; });
|
|
9340
9382
|
|
|
9341
|
-
/* harmony import */ var
|
|
9342
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomModel", function() { return
|
|
9383
|
+
/* harmony import */ var _question_custom__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../../question_custom */ "./src/question_custom.ts");
|
|
9384
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCustomModel", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["QuestionCustomModel"]; });
|
|
9343
9385
|
|
|
9344
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCompositeModel", function() { return
|
|
9386
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionCompositeModel", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["QuestionCompositeModel"]; });
|
|
9345
9387
|
|
|
9346
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentQuestionJSON", function() { return
|
|
9388
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentQuestionJSON", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["ComponentQuestionJSON"]; });
|
|
9347
9389
|
|
|
9348
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentCollection", function() { return
|
|
9390
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ComponentCollection", function() { return _question_custom__WEBPACK_IMPORTED_MODULE_71__["ComponentCollection"]; });
|
|
9349
9391
|
|
|
9350
|
-
/* harmony import */ var
|
|
9351
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return
|
|
9392
|
+
/* harmony import */ var _stylesmanager__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../../stylesmanager */ "./src/stylesmanager.ts");
|
|
9393
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return _stylesmanager__WEBPACK_IMPORTED_MODULE_72__["StylesManager"]; });
|
|
9352
9394
|
|
|
9353
|
-
/* harmony import */ var
|
|
9354
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ListModel", function() { return
|
|
9395
|
+
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../../list */ "./src/list.ts");
|
|
9396
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ListModel", function() { return _list__WEBPACK_IMPORTED_MODULE_73__["ListModel"]; });
|
|
9355
9397
|
|
|
9356
|
-
/* harmony import */ var
|
|
9357
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultiSelectListModel", function() { return
|
|
9398
|
+
/* harmony import */ var _multiSelectListModel__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../../multiSelectListModel */ "./src/multiSelectListModel.ts");
|
|
9399
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MultiSelectListModel", function() { return _multiSelectListModel__WEBPACK_IMPORTED_MODULE_74__["MultiSelectListModel"]; });
|
|
9358
9400
|
|
|
9359
|
-
/* harmony import */ var
|
|
9360
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModel", function() { return
|
|
9401
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../../popup */ "./src/popup.ts");
|
|
9402
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModel", function() { return _popup__WEBPACK_IMPORTED_MODULE_75__["PopupModel"]; });
|
|
9361
9403
|
|
|
9362
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createDialogOptions", function() { return
|
|
9404
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createDialogOptions", function() { return _popup__WEBPACK_IMPORTED_MODULE_75__["createDialogOptions"]; });
|
|
9363
9405
|
|
|
9364
|
-
/* harmony import */ var
|
|
9365
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupBaseViewModel", function() { return
|
|
9406
|
+
/* harmony import */ var _popup_view_model__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../../popup-view-model */ "./src/popup-view-model.ts");
|
|
9407
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupBaseViewModel", function() { return _popup_view_model__WEBPACK_IMPORTED_MODULE_76__["PopupBaseViewModel"]; });
|
|
9366
9408
|
|
|
9367
|
-
/* harmony import */ var
|
|
9368
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupDropdownViewModel", function() { return
|
|
9409
|
+
/* harmony import */ var _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../../popup-dropdown-view-model */ "./src/popup-dropdown-view-model.ts");
|
|
9410
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupDropdownViewModel", function() { return _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_77__["PopupDropdownViewModel"]; });
|
|
9369
9411
|
|
|
9370
|
-
/* harmony import */ var
|
|
9371
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModalViewModel", function() { return
|
|
9412
|
+
/* harmony import */ var _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../../popup-modal-view-model */ "./src/popup-modal-view-model.ts");
|
|
9413
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PopupModalViewModel", function() { return _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_78__["PopupModalViewModel"]; });
|
|
9372
9414
|
|
|
9373
|
-
/* harmony import */ var
|
|
9374
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupViewModel", function() { return
|
|
9415
|
+
/* harmony import */ var _popup_utils__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../../popup-utils */ "./src/popup-utils.ts");
|
|
9416
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupViewModel", function() { return _popup_utils__WEBPACK_IMPORTED_MODULE_79__["createPopupViewModel"]; });
|
|
9375
9417
|
|
|
9376
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupModalViewModel", function() { return
|
|
9418
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createPopupModalViewModel", function() { return _popup_utils__WEBPACK_IMPORTED_MODULE_79__["createPopupModalViewModel"]; });
|
|
9377
9419
|
|
|
9378
|
-
/* harmony import */ var
|
|
9379
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownListModel", function() { return
|
|
9420
|
+
/* harmony import */ var _dropdownListModel__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../../dropdownListModel */ "./src/dropdownListModel.ts");
|
|
9421
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownListModel", function() { return _dropdownListModel__WEBPACK_IMPORTED_MODULE_80__["DropdownListModel"]; });
|
|
9380
9422
|
|
|
9381
|
-
/* harmony import */ var
|
|
9382
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownMultiSelectListModel", function() { return
|
|
9423
|
+
/* harmony import */ var _dropdownMultiSelectListModel__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../../dropdownMultiSelectListModel */ "./src/dropdownMultiSelectListModel.ts");
|
|
9424
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DropdownMultiSelectListModel", function() { return _dropdownMultiSelectListModel__WEBPACK_IMPORTED_MODULE_81__["DropdownMultiSelectListModel"]; });
|
|
9383
9425
|
|
|
9384
|
-
/* harmony import */ var
|
|
9385
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionButtonGroupModel", function() { return
|
|
9426
|
+
/* harmony import */ var _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ../../question_buttongroup */ "./src/question_buttongroup.ts");
|
|
9427
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionButtonGroupModel", function() { return _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__["QuestionButtonGroupModel"]; });
|
|
9386
9428
|
|
|
9387
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemModel", function() { return
|
|
9429
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemModel", function() { return _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__["ButtonGroupItemModel"]; });
|
|
9388
9430
|
|
|
9389
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemValue", function() { return
|
|
9431
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ButtonGroupItemValue", function() { return _question_buttongroup__WEBPACK_IMPORTED_MODULE_82__["ButtonGroupItemValue"]; });
|
|
9390
9432
|
|
|
9391
|
-
/* harmony import */ var
|
|
9392
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsMobile", function() { return
|
|
9433
|
+
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ../../utils/devices */ "./src/utils/devices.ts");
|
|
9434
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsMobile", function() { return _utils_devices__WEBPACK_IMPORTED_MODULE_83__["IsMobile"]; });
|
|
9393
9435
|
|
|
9394
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsTouch", function() { return
|
|
9436
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "IsTouch", function() { return _utils_devices__WEBPACK_IMPORTED_MODULE_83__["IsTouch"]; });
|
|
9395
9437
|
|
|
9396
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "_setIsTouch", function() { return
|
|
9438
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "_setIsTouch", function() { return _utils_devices__WEBPACK_IMPORTED_MODULE_83__["_setIsTouch"]; });
|
|
9397
9439
|
|
|
9398
|
-
/* harmony import */ var
|
|
9399
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmAction", function() { return
|
|
9440
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../../utils/utils */ "./src/utils/utils.ts");
|
|
9441
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmAction", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["confirmAction"]; });
|
|
9400
9442
|
|
|
9401
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmActionAsync", function() { return
|
|
9443
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "confirmActionAsync", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["confirmActionAsync"]; });
|
|
9402
9444
|
|
|
9403
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "detectIEOrEdge", function() { return
|
|
9445
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "detectIEOrEdge", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["detectIEOrEdge"]; });
|
|
9404
9446
|
|
|
9405
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickUp", function() { return
|
|
9447
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickUp", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["doKey2ClickUp"]; });
|
|
9406
9448
|
|
|
9407
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickDown", function() { return
|
|
9449
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickDown", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["doKey2ClickDown"]; });
|
|
9408
9450
|
|
|
9409
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickBlur", function() { return
|
|
9451
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "doKey2ClickBlur", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["doKey2ClickBlur"]; });
|
|
9410
9452
|
|
|
9411
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "loadFileFromBase64", function() { return
|
|
9453
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "loadFileFromBase64", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["loadFileFromBase64"]; });
|
|
9412
9454
|
|
|
9413
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "increaseHeightByContent", function() { return
|
|
9455
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "increaseHeightByContent", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["increaseHeightByContent"]; });
|
|
9414
9456
|
|
|
9415
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return
|
|
9457
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createSvg", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["createSvg"]; });
|
|
9416
9458
|
|
|
9417
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return
|
|
9459
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "chooseFiles", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["chooseFiles"]; });
|
|
9418
9460
|
|
|
9419
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return
|
|
9461
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "sanitizeEditableContent", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_84__["sanitizeEditableContent"]; });
|
|
9420
9462
|
|
|
9421
|
-
/* harmony import */ var
|
|
9422
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskBase", function() { return
|
|
9463
|
+
/* harmony import */ var _mask_mask_base__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ../../mask/mask_base */ "./src/mask/mask_base.ts");
|
|
9464
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskBase", function() { return _mask_mask_base__WEBPACK_IMPORTED_MODULE_85__["InputMaskBase"]; });
|
|
9423
9465
|
|
|
9424
|
-
/* harmony import */ var
|
|
9425
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskPattern", function() { return
|
|
9466
|
+
/* harmony import */ var _mask_mask_pattern__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ../../mask/mask_pattern */ "./src/mask/mask_pattern.ts");
|
|
9467
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskPattern", function() { return _mask_mask_pattern__WEBPACK_IMPORTED_MODULE_86__["InputMaskPattern"]; });
|
|
9426
9468
|
|
|
9427
|
-
/* harmony import */ var
|
|
9428
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskNumeric", function() { return
|
|
9469
|
+
/* harmony import */ var _mask_mask_numeric__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ../../mask/mask_numeric */ "./src/mask/mask_numeric.ts");
|
|
9470
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskNumeric", function() { return _mask_mask_numeric__WEBPACK_IMPORTED_MODULE_87__["InputMaskNumeric"]; });
|
|
9429
9471
|
|
|
9430
|
-
/* harmony import */ var
|
|
9431
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskDateTime", function() { return
|
|
9472
|
+
/* harmony import */ var _mask_mask_datetime__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ../../mask/mask_datetime */ "./src/mask/mask_datetime.ts");
|
|
9473
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskDateTime", function() { return _mask_mask_datetime__WEBPACK_IMPORTED_MODULE_88__["InputMaskDateTime"]; });
|
|
9432
9474
|
|
|
9433
|
-
/* harmony import */ var
|
|
9434
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskCurrency", function() { return
|
|
9475
|
+
/* harmony import */ var _mask_mask_currency__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ../../mask/mask_currency */ "./src/mask/mask_currency.ts");
|
|
9476
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InputMaskCurrency", function() { return _mask_mask_currency__WEBPACK_IMPORTED_MODULE_89__["InputMaskCurrency"]; });
|
|
9435
9477
|
|
|
9436
|
-
/* harmony import */ var
|
|
9437
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CssClassBuilder", function() { return
|
|
9478
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ../../utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
|
9479
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CssClassBuilder", function() { return _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_90__["CssClassBuilder"]; });
|
|
9438
9480
|
|
|
9439
|
-
/* harmony import */ var
|
|
9440
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyCss", function() { return
|
|
9481
|
+
/* harmony import */ var _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ../../defaultCss/defaultV2Css */ "./src/defaultCss/defaultV2Css.ts");
|
|
9482
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "surveyCss", function() { return _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__["surveyCss"]; });
|
|
9441
9483
|
|
|
9442
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2Css", function() { return
|
|
9484
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2Css", function() { return _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__["defaultV2Css"]; });
|
|
9443
9485
|
|
|
9444
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2ThemeName", function() { return
|
|
9486
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "defaultV2ThemeName", function() { return _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_91__["defaultV2ThemeName"]; });
|
|
9445
9487
|
|
|
9446
|
-
/* harmony import */ var
|
|
9447
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropCore", function() { return
|
|
9488
|
+
/* harmony import */ var _dragdrop_core__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ../../dragdrop/core */ "./src/dragdrop/core.ts");
|
|
9489
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropCore", function() { return _dragdrop_core__WEBPACK_IMPORTED_MODULE_92__["DragDropCore"]; });
|
|
9448
9490
|
|
|
9449
|
-
/* harmony import */ var
|
|
9450
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropChoices", function() { return
|
|
9491
|
+
/* harmony import */ var _dragdrop_choices__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ../../dragdrop/choices */ "./src/dragdrop/choices.ts");
|
|
9492
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropChoices", function() { return _dragdrop_choices__WEBPACK_IMPORTED_MODULE_93__["DragDropChoices"]; });
|
|
9451
9493
|
|
|
9452
|
-
/* harmony import */ var
|
|
9453
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropRankingSelectToRank", function() { return
|
|
9494
|
+
/* 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");
|
|
9495
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DragDropRankingSelectToRank", function() { return _dragdrop_ranking_select_to_rank__WEBPACK_IMPORTED_MODULE_94__["DragDropRankingSelectToRank"]; });
|
|
9454
9496
|
|
|
9455
9497
|
// styles
|
|
9456
9498
|
// import "../../main.scss";
|
|
9457
9499
|
//import "../../modern.scss";
|
|
9500
|
+
|
|
9458
9501
|
var Version;
|
|
9459
9502
|
var ReleaseDate;
|
|
9460
|
-
Version = "" + "1.9.
|
|
9461
|
-
ReleaseDate = "" + "2024-03-
|
|
9503
|
+
Version = "" + "1.9.135";
|
|
9504
|
+
ReleaseDate = "" + "2024-03-19";
|
|
9462
9505
|
function checkLibraryVersion(ver, libraryName) {
|
|
9463
9506
|
if (Version != ver) {
|
|
9464
9507
|
var str = "survey-core has version '" + Version + "' and " + libraryName
|
|
@@ -9522,8 +9565,9 @@ function checkPrefix(prefix) {
|
|
|
9522
9565
|
var ds = prefix.substring(index + s.length).toLowerCase().split(",");
|
|
9523
9566
|
if (!Array.isArray(ds) || ds.length === 0)
|
|
9524
9567
|
return true;
|
|
9525
|
-
|
|
9526
|
-
|
|
9568
|
+
var location = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].getLocation();
|
|
9569
|
+
if (!!location && !!location.hostname) {
|
|
9570
|
+
var hn = location.hostname.toLowerCase();
|
|
9527
9571
|
ds.push("localhost");
|
|
9528
9572
|
for (var i = 0; i < ds.length; i++) {
|
|
9529
9573
|
if (hn.indexOf(ds[i]) > -1)
|
|
@@ -14841,6 +14885,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14841
14885
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FlowPanelModel", function() { return FlowPanelModel; });
|
|
14842
14886
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
|
14843
14887
|
/* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./panel */ "./src/panel.ts");
|
|
14888
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
14844
14889
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
14845
14890
|
var extendStatics = function (d, b) {
|
|
14846
14891
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -14858,6 +14903,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
14858
14903
|
})();
|
|
14859
14904
|
|
|
14860
14905
|
|
|
14906
|
+
|
|
14861
14907
|
/**
|
|
14862
14908
|
* The flow panel object. It is a container with flow layout where you can mix questions with markdown text.
|
|
14863
14909
|
*
|
|
@@ -14982,15 +15028,14 @@ var FlowPanelModel = /** @class */ (function (_super) {
|
|
|
14982
15028
|
};
|
|
14983
15029
|
FlowPanelModel.prototype.insertTextAtCursor = function (text, prevName) {
|
|
14984
15030
|
if (prevName === void 0) { prevName = null; }
|
|
14985
|
-
if (!this.isDesignMode ||
|
|
14986
|
-
typeof document === "undefined" ||
|
|
14987
|
-
!window.getSelection)
|
|
15031
|
+
if (!this.isDesignMode || !_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomWindowHelper"].isAvailable())
|
|
14988
15032
|
return false;
|
|
14989
|
-
var sel =
|
|
15033
|
+
var sel = _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomWindowHelper"].getSelection();
|
|
14990
15034
|
if (sel.getRangeAt && sel.rangeCount) {
|
|
14991
15035
|
var range = sel.getRangeAt(0);
|
|
14992
15036
|
range.deleteContents();
|
|
14993
|
-
|
|
15037
|
+
var textElement = new Text(text);
|
|
15038
|
+
range.insertNode(textElement);
|
|
14994
15039
|
var self = this;
|
|
14995
15040
|
if (self.getContent) {
|
|
14996
15041
|
var str = self.getContent(prevName);
|
|
@@ -15423,6 +15468,148 @@ function substring_(params) {
|
|
|
15423
15468
|
FunctionFactory.Instance.register("substring", substring_);
|
|
15424
15469
|
|
|
15425
15470
|
|
|
15471
|
+
/***/ }),
|
|
15472
|
+
|
|
15473
|
+
/***/ "./src/global_variables_utils.ts":
|
|
15474
|
+
/*!***************************************!*\
|
|
15475
|
+
!*** ./src/global_variables_utils.ts ***!
|
|
15476
|
+
\***************************************/
|
|
15477
|
+
/*! exports provided: DomWindowHelper, DomDocumentHelper */
|
|
15478
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15479
|
+
|
|
15480
|
+
"use strict";
|
|
15481
|
+
__webpack_require__.r(__webpack_exports__);
|
|
15482
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomWindowHelper", function() { return DomWindowHelper; });
|
|
15483
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomDocumentHelper", function() { return DomDocumentHelper; });
|
|
15484
|
+
/* eslint-disable no-restricted-globals */
|
|
15485
|
+
var DomWindowHelper = /** @class */ (function () {
|
|
15486
|
+
function DomWindowHelper() {
|
|
15487
|
+
}
|
|
15488
|
+
DomWindowHelper.isAvailable = function () {
|
|
15489
|
+
return "undefined" !== typeof window;
|
|
15490
|
+
};
|
|
15491
|
+
DomWindowHelper.isFileReaderAvailable = function () {
|
|
15492
|
+
if (!DomWindowHelper.isAvailable())
|
|
15493
|
+
return false;
|
|
15494
|
+
return !!window["FileReader"];
|
|
15495
|
+
};
|
|
15496
|
+
DomWindowHelper.getLocation = function () {
|
|
15497
|
+
if (!DomWindowHelper.isAvailable())
|
|
15498
|
+
return;
|
|
15499
|
+
return window.location;
|
|
15500
|
+
};
|
|
15501
|
+
DomWindowHelper.getVisualViewport = function () {
|
|
15502
|
+
if (!DomWindowHelper.isAvailable())
|
|
15503
|
+
return null;
|
|
15504
|
+
return window.visualViewport;
|
|
15505
|
+
};
|
|
15506
|
+
DomWindowHelper.getInnerWidth = function () {
|
|
15507
|
+
if (!DomWindowHelper.isAvailable())
|
|
15508
|
+
return;
|
|
15509
|
+
return window.innerWidth;
|
|
15510
|
+
};
|
|
15511
|
+
DomWindowHelper.getInnerHeight = function () {
|
|
15512
|
+
if (!DomWindowHelper.isAvailable())
|
|
15513
|
+
return null;
|
|
15514
|
+
return window.innerHeight;
|
|
15515
|
+
};
|
|
15516
|
+
DomWindowHelper.getWindow = function () {
|
|
15517
|
+
if (!DomWindowHelper.isAvailable())
|
|
15518
|
+
return;
|
|
15519
|
+
return window;
|
|
15520
|
+
};
|
|
15521
|
+
DomWindowHelper.hasOwn = function (propertyName) {
|
|
15522
|
+
if (!DomWindowHelper.isAvailable())
|
|
15523
|
+
return;
|
|
15524
|
+
return propertyName in window;
|
|
15525
|
+
};
|
|
15526
|
+
DomWindowHelper.getSelection = function () {
|
|
15527
|
+
if (DomWindowHelper.isAvailable() && window.getSelection) {
|
|
15528
|
+
return window.getSelection();
|
|
15529
|
+
}
|
|
15530
|
+
};
|
|
15531
|
+
DomWindowHelper.requestAnimationFrame = function (callback) {
|
|
15532
|
+
if (DomWindowHelper.isAvailable()) {
|
|
15533
|
+
return window.requestAnimationFrame(callback);
|
|
15534
|
+
}
|
|
15535
|
+
};
|
|
15536
|
+
DomWindowHelper.addEventListener = function (type, listener) {
|
|
15537
|
+
if (!DomWindowHelper.isAvailable())
|
|
15538
|
+
return;
|
|
15539
|
+
window.addEventListener(type, listener);
|
|
15540
|
+
};
|
|
15541
|
+
DomWindowHelper.removeEventListener = function (type, listener) {
|
|
15542
|
+
if (!DomWindowHelper.isAvailable())
|
|
15543
|
+
return;
|
|
15544
|
+
window.removeEventListener(type, listener);
|
|
15545
|
+
};
|
|
15546
|
+
return DomWindowHelper;
|
|
15547
|
+
}());
|
|
15548
|
+
|
|
15549
|
+
var DomDocumentHelper = /** @class */ (function () {
|
|
15550
|
+
function DomDocumentHelper() {
|
|
15551
|
+
}
|
|
15552
|
+
DomDocumentHelper.isAvailable = function () {
|
|
15553
|
+
return "undefined" !== typeof document;
|
|
15554
|
+
};
|
|
15555
|
+
DomDocumentHelper.getBody = function () {
|
|
15556
|
+
if (!DomDocumentHelper.isAvailable())
|
|
15557
|
+
return;
|
|
15558
|
+
return document.body;
|
|
15559
|
+
};
|
|
15560
|
+
DomDocumentHelper.getDocumentElement = function () {
|
|
15561
|
+
if (!DomDocumentHelper.isAvailable())
|
|
15562
|
+
return;
|
|
15563
|
+
return document.documentElement;
|
|
15564
|
+
};
|
|
15565
|
+
DomDocumentHelper.getDocument = function () {
|
|
15566
|
+
if (!DomDocumentHelper.isAvailable())
|
|
15567
|
+
return;
|
|
15568
|
+
return document;
|
|
15569
|
+
};
|
|
15570
|
+
DomDocumentHelper.getCookie = function () {
|
|
15571
|
+
if (!DomDocumentHelper.isAvailable())
|
|
15572
|
+
return;
|
|
15573
|
+
return document.cookie;
|
|
15574
|
+
};
|
|
15575
|
+
DomDocumentHelper.setCookie = function (newCookie) {
|
|
15576
|
+
if (!DomDocumentHelper.isAvailable())
|
|
15577
|
+
return;
|
|
15578
|
+
document.cookie = newCookie;
|
|
15579
|
+
};
|
|
15580
|
+
DomDocumentHelper.activeElementBlur = function () {
|
|
15581
|
+
if (!DomDocumentHelper.isAvailable())
|
|
15582
|
+
return;
|
|
15583
|
+
var activeElement = document.activeElement;
|
|
15584
|
+
if (!!activeElement && !!activeElement.blur) {
|
|
15585
|
+
activeElement.blur();
|
|
15586
|
+
}
|
|
15587
|
+
};
|
|
15588
|
+
DomDocumentHelper.createElement = function (tagName) {
|
|
15589
|
+
if (!DomDocumentHelper.isAvailable())
|
|
15590
|
+
return;
|
|
15591
|
+
return document.createElement(tagName);
|
|
15592
|
+
};
|
|
15593
|
+
DomDocumentHelper.getComputedStyle = function (elt) {
|
|
15594
|
+
if (!DomDocumentHelper.isAvailable())
|
|
15595
|
+
return new CSSStyleDeclaration();
|
|
15596
|
+
return document.defaultView.getComputedStyle(elt);
|
|
15597
|
+
};
|
|
15598
|
+
DomDocumentHelper.addEventListener = function (type, listener) {
|
|
15599
|
+
if (!DomDocumentHelper.isAvailable())
|
|
15600
|
+
return;
|
|
15601
|
+
document.addEventListener(type, listener);
|
|
15602
|
+
};
|
|
15603
|
+
DomDocumentHelper.removeEventListener = function (type, listener) {
|
|
15604
|
+
if (!DomDocumentHelper.isAvailable())
|
|
15605
|
+
return;
|
|
15606
|
+
document.removeEventListener(type, listener);
|
|
15607
|
+
};
|
|
15608
|
+
return DomDocumentHelper;
|
|
15609
|
+
}());
|
|
15610
|
+
|
|
15611
|
+
|
|
15612
|
+
|
|
15426
15613
|
/***/ }),
|
|
15427
15614
|
|
|
15428
15615
|
/***/ "./src/header.ts":
|
|
@@ -19250,23 +19437,9 @@ var JsonError = /** @class */ (function () {
|
|
|
19250
19437
|
var JsonUnknownPropertyError = /** @class */ (function (_super) {
|
|
19251
19438
|
__extends(JsonUnknownPropertyError, _super);
|
|
19252
19439
|
function JsonUnknownPropertyError(propertyName, className) {
|
|
19253
|
-
var _this = _super.call(this, "unknownproperty", "
|
|
19254
|
-
propertyName +
|
|
19255
|
-
"' in class '" +
|
|
19256
|
-
className +
|
|
19257
|
-
"' is unknown.") || this;
|
|
19440
|
+
var _this = _super.call(this, "unknownproperty", "Unknown property in class '" + className + "': '" + propertyName + "'.") || this;
|
|
19258
19441
|
_this.propertyName = propertyName;
|
|
19259
19442
|
_this.className = className;
|
|
19260
|
-
var properties = Serializer.getProperties(className);
|
|
19261
|
-
if (properties) {
|
|
19262
|
-
_this.description = "The list of available properties are: ";
|
|
19263
|
-
for (var i = 0; i < properties.length; i++) {
|
|
19264
|
-
if (i > 0)
|
|
19265
|
-
_this.description += ", ";
|
|
19266
|
-
_this.description += properties[i].name;
|
|
19267
|
-
}
|
|
19268
|
-
_this.description += ".";
|
|
19269
|
-
}
|
|
19270
19443
|
return _this;
|
|
19271
19444
|
}
|
|
19272
19445
|
return JsonUnknownPropertyError;
|
|
@@ -19279,14 +19452,6 @@ var JsonMissingTypeErrorBase = /** @class */ (function (_super) {
|
|
|
19279
19452
|
_this.baseClassName = baseClassName;
|
|
19280
19453
|
_this.type = type;
|
|
19281
19454
|
_this.message = message;
|
|
19282
|
-
_this.description = "The following types are available: ";
|
|
19283
|
-
var types = Serializer.getChildrenClasses(baseClassName, true);
|
|
19284
|
-
for (var i = 0; i < types.length; i++) {
|
|
19285
|
-
if (i > 0)
|
|
19286
|
-
_this.description += ", ";
|
|
19287
|
-
_this.description += "'" + types[i].name + "'";
|
|
19288
|
-
}
|
|
19289
|
-
_this.description += ".";
|
|
19290
19455
|
return _this;
|
|
19291
19456
|
}
|
|
19292
19457
|
return JsonMissingTypeErrorBase;
|
|
@@ -19749,6 +19914,7 @@ var defaultListCss = {
|
|
|
19749
19914
|
itemWithIcon: "sv-list__item--with-icon",
|
|
19750
19915
|
itemDisabled: "sv-list__item--disabled",
|
|
19751
19916
|
itemFocused: "sv-list__item--focused",
|
|
19917
|
+
itemTextWrap: "sv-list__item-text--wrap",
|
|
19752
19918
|
itemIcon: "sv-list__item-icon",
|
|
19753
19919
|
itemSeparator: "sv-list__item-separator",
|
|
19754
19920
|
itemBody: "sv-list__item-body",
|
|
@@ -19802,6 +19968,7 @@ var ListModel = /** @class */ (function (_super) {
|
|
|
19802
19968
|
.append(_this.cssClasses.itemDisabled, _this.isItemDisabled(itemValue))
|
|
19803
19969
|
.append(_this.cssClasses.itemFocused, _this.isItemFocused(itemValue))
|
|
19804
19970
|
.append(_this.cssClasses.itemSelected, _this.isItemSelected(itemValue))
|
|
19971
|
+
.append(_this.cssClasses.itemTextWrap, _this.textWrapEnabled)
|
|
19805
19972
|
.append(itemValue.css)
|
|
19806
19973
|
.toString();
|
|
19807
19974
|
};
|
|
@@ -20099,6 +20266,9 @@ var ListModel = /** @class */ (function (_super) {
|
|
|
20099
20266
|
__decorate([
|
|
20100
20267
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: true })
|
|
20101
20268
|
], ListModel.prototype, "renderElements", void 0);
|
|
20269
|
+
__decorate([
|
|
20270
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
|
|
20271
|
+
], ListModel.prototype, "textWrapEnabled", void 0);
|
|
20102
20272
|
return ListModel;
|
|
20103
20273
|
}(_actions_container__WEBPACK_IMPORTED_MODULE_1__["ActionContainer"]));
|
|
20104
20274
|
|
|
@@ -21198,10 +21368,18 @@ var QuestionMatrixBaseModel = /** @class */ (function (_super) {
|
|
|
21198
21368
|
//TODO: make it mor intelligent
|
|
21199
21369
|
return true;
|
|
21200
21370
|
};
|
|
21371
|
+
Object.defineProperty(QuestionMatrixBaseModel.prototype, "columnsAutoWidth", {
|
|
21372
|
+
get: function () {
|
|
21373
|
+
return !this.isMobile && !this.columns.some(function (col) { return !!col.width; });
|
|
21374
|
+
},
|
|
21375
|
+
enumerable: false,
|
|
21376
|
+
configurable: true
|
|
21377
|
+
});
|
|
21201
21378
|
QuestionMatrixBaseModel.prototype.getTableCss = function () {
|
|
21202
21379
|
var _a;
|
|
21203
21380
|
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__["CssClassBuilder"]()
|
|
21204
21381
|
.append(this.cssClasses.root)
|
|
21382
|
+
.append(this.cssClasses.columnsAutoWidth, this.columnsAutoWidth)
|
|
21205
21383
|
.append(this.cssClasses.noHeader, !this.showHeader)
|
|
21206
21384
|
.append(this.cssClasses.hasFooter, !!((_a = this.renderedTable) === null || _a === void 0 ? void 0 : _a.showAddRowOnBottom))
|
|
21207
21385
|
.append(this.cssClasses.rootAlternateRows, this.alternateRows)
|
|
@@ -21307,12 +21485,6 @@ var InputElementAdapter = /** @class */ (function () {
|
|
|
21307
21485
|
event.preventDefault();
|
|
21308
21486
|
}
|
|
21309
21487
|
};
|
|
21310
|
-
this.blurInputHandler = function (event) {
|
|
21311
|
-
var unmaskedValue = _this.inputMaskInstance.getUnmaskedValue(event.target.value);
|
|
21312
|
-
_this.prevUnmaskedValue = unmaskedValue;
|
|
21313
|
-
var maskedValue = _this.inputMaskInstance.getMaskedValue(unmaskedValue);
|
|
21314
|
-
_this.inputElement.value = maskedValue;
|
|
21315
|
-
};
|
|
21316
21488
|
this.inputElement.value = inputMaskInstance.getMaskedValue(value);
|
|
21317
21489
|
this.prevUnmaskedValue = value;
|
|
21318
21490
|
inputMaskInstance.onPropertyChanged.add(this.inputMaskInstancePropertyChangedHandler);
|
|
@@ -21340,13 +21512,11 @@ var InputElementAdapter = /** @class */ (function () {
|
|
|
21340
21512
|
InputElementAdapter.prototype.addInputEventListener = function () {
|
|
21341
21513
|
if (!!this.inputElement) {
|
|
21342
21514
|
this.inputElement.addEventListener("beforeinput", this.beforeInputHandler);
|
|
21343
|
-
this.inputElement.addEventListener("blur", this.blurInputHandler);
|
|
21344
21515
|
}
|
|
21345
21516
|
};
|
|
21346
21517
|
InputElementAdapter.prototype.removeInputEventListener = function () {
|
|
21347
21518
|
if (!!this.inputElement) {
|
|
21348
21519
|
this.inputElement.removeEventListener("beforeinput", this.beforeInputHandler);
|
|
21349
|
-
this.inputElement.removeEventListener("blur", this.blurInputHandler);
|
|
21350
21520
|
}
|
|
21351
21521
|
};
|
|
21352
21522
|
InputElementAdapter.prototype.dispose = function () {
|
|
@@ -21395,6 +21565,14 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
21395
21565
|
};
|
|
21396
21566
|
|
|
21397
21567
|
|
|
21568
|
+
/**
|
|
21569
|
+
* A base class for classes that implement input masks:
|
|
21570
|
+
*
|
|
21571
|
+
* - [`InputMaskNumeric`](https://surveyjs.io/form-library/documentation/inputmasknumeric)
|
|
21572
|
+
* - [`InputMaskCurrency`](https://surveyjs.io/form-library/documentation/inputmaskcurrency)
|
|
21573
|
+
* - [`InputMaskDateTime`](https://surveyjs.io/form-library/documentation/inputmaskdatetime)
|
|
21574
|
+
* - [`InputMaskPattern`](https://surveyjs.io/form-library/documentation/inputmaskpattern)
|
|
21575
|
+
*/
|
|
21398
21576
|
var InputMaskBase = /** @class */ (function (_super) {
|
|
21399
21577
|
__extends(InputMaskBase, _super);
|
|
21400
21578
|
function InputMaskBase() {
|
|
@@ -21491,6 +21669,26 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
21491
21669
|
};
|
|
21492
21670
|
|
|
21493
21671
|
|
|
21672
|
+
/**
|
|
21673
|
+
* A class that describes an input mask of the `"currency"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
|
21674
|
+
*
|
|
21675
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
|
21676
|
+
*
|
|
21677
|
+
* ```js
|
|
21678
|
+
* const surveyJson = {
|
|
21679
|
+
* "elements": [{
|
|
21680
|
+
* "name": "textquestion1"
|
|
21681
|
+
* "type": "text",
|
|
21682
|
+
* "maskType": "currency",
|
|
21683
|
+
* "maskSettings": {
|
|
21684
|
+
* // Specify the properties of a currency input mask here
|
|
21685
|
+
* }
|
|
21686
|
+
* }]
|
|
21687
|
+
* }
|
|
21688
|
+
* ```
|
|
21689
|
+
*
|
|
21690
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
|
21691
|
+
*/
|
|
21494
21692
|
var InputMaskCurrency = /** @class */ (function (_super) {
|
|
21495
21693
|
__extends(InputMaskCurrency, _super);
|
|
21496
21694
|
function InputMaskCurrency() {
|
|
@@ -21669,6 +21867,26 @@ function getDateTimeLexems(pattern) {
|
|
|
21669
21867
|
}
|
|
21670
21868
|
return result;
|
|
21671
21869
|
}
|
|
21870
|
+
/**
|
|
21871
|
+
* A class that describes an input mask of the `"datetime"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
|
21872
|
+
*
|
|
21873
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
|
21874
|
+
*
|
|
21875
|
+
* ```js
|
|
21876
|
+
* const surveyJson = {
|
|
21877
|
+
* "elements": [{
|
|
21878
|
+
* "name": "textquestion1"
|
|
21879
|
+
* "type": "text",
|
|
21880
|
+
* "maskType": "datetime",
|
|
21881
|
+
* "maskSettings": {
|
|
21882
|
+
* // Specify the properties of a date-time input mask here
|
|
21883
|
+
* }
|
|
21884
|
+
* }]
|
|
21885
|
+
* }
|
|
21886
|
+
* ```
|
|
21887
|
+
*
|
|
21888
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
|
21889
|
+
*/
|
|
21672
21890
|
var InputMaskDateTime = /** @class */ (function (_super) {
|
|
21673
21891
|
__extends(InputMaskDateTime, _super);
|
|
21674
21892
|
function InputMaskDateTime() {
|
|
@@ -21963,12 +22181,7 @@ var InputMaskDateTime = /** @class */ (function (_super) {
|
|
|
21963
22181
|
return this.getISO_8601Format(tempDateTime);
|
|
21964
22182
|
};
|
|
21965
22183
|
InputMaskDateTime.prototype.getMaskedValue = function (src) {
|
|
21966
|
-
|
|
21967
|
-
return this._getMaskedValue(src);
|
|
21968
|
-
}
|
|
21969
|
-
else {
|
|
21970
|
-
return this.getMaskedStrFromISO(src);
|
|
21971
|
-
}
|
|
22184
|
+
return this.getMaskedStrFromISO(src);
|
|
21972
22185
|
};
|
|
21973
22186
|
InputMaskDateTime.prototype.processInput = function (args) {
|
|
21974
22187
|
var result = { value: args.prevValue, caretPosition: args.selectionEnd, cancelPreventDefault: false };
|
|
@@ -22069,6 +22282,26 @@ function splitString(str, reverse, n) {
|
|
|
22069
22282
|
}
|
|
22070
22283
|
return arr;
|
|
22071
22284
|
}
|
|
22285
|
+
/**
|
|
22286
|
+
* A class that describes an input mask of the `"numeric"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
|
22287
|
+
*
|
|
22288
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
|
22289
|
+
*
|
|
22290
|
+
* ```js
|
|
22291
|
+
* const surveyJson = {
|
|
22292
|
+
* "elements": [{
|
|
22293
|
+
* "name": "textquestion1"
|
|
22294
|
+
* "type": "text",
|
|
22295
|
+
* "maskType": "numeric",
|
|
22296
|
+
* "maskSettings": {
|
|
22297
|
+
* // Specify the properties of a numeric input mask here
|
|
22298
|
+
* }
|
|
22299
|
+
* }]
|
|
22300
|
+
* }
|
|
22301
|
+
* ```
|
|
22302
|
+
*
|
|
22303
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
|
22304
|
+
*/
|
|
22072
22305
|
var InputMaskNumeric = /** @class */ (function (_super) {
|
|
22073
22306
|
__extends(InputMaskNumeric, _super);
|
|
22074
22307
|
function InputMaskNumeric() {
|
|
@@ -22393,6 +22626,26 @@ function getUnmaskedValueByPattern(str, pattern, matchWholeMask, skipFixedChar)
|
|
|
22393
22626
|
}
|
|
22394
22627
|
return result;
|
|
22395
22628
|
}
|
|
22629
|
+
/**
|
|
22630
|
+
* A class that describes an input mask of the `"pattern"` [`maskType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType).
|
|
22631
|
+
*
|
|
22632
|
+
* The following code shows how to specify the properties of this class within a survey JSON schema:
|
|
22633
|
+
*
|
|
22634
|
+
* ```js
|
|
22635
|
+
* const surveyJson = {
|
|
22636
|
+
* "elements": [{
|
|
22637
|
+
* "name": "textquestion1"
|
|
22638
|
+
* "type": "text",
|
|
22639
|
+
* "maskType": "pattern",
|
|
22640
|
+
* "maskSettings": {
|
|
22641
|
+
* // Specify the properties of a pattern input mask here
|
|
22642
|
+
* }
|
|
22643
|
+
* }]
|
|
22644
|
+
* }
|
|
22645
|
+
* ```
|
|
22646
|
+
*
|
|
22647
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
|
22648
|
+
*/
|
|
22396
22649
|
var InputMaskPattern = /** @class */ (function (_super) {
|
|
22397
22650
|
__extends(InputMaskPattern, _super);
|
|
22398
22651
|
function InputMaskPattern() {
|
|
@@ -23129,6 +23382,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23129
23382
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
|
23130
23383
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
|
23131
23384
|
/* 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");
|
|
23385
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
23132
23386
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
23133
23387
|
var extendStatics = function (d, b) {
|
|
23134
23388
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -23166,6 +23420,7 @@ var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from
|
|
|
23166
23420
|
|
|
23167
23421
|
|
|
23168
23422
|
|
|
23423
|
+
|
|
23169
23424
|
var QuestionRowModel = /** @class */ (function (_super) {
|
|
23170
23425
|
__extends(QuestionRowModel, _super);
|
|
23171
23426
|
function QuestionRowModel(panel) {
|
|
@@ -23185,12 +23440,12 @@ var QuestionRowModel = /** @class */ (function (_super) {
|
|
|
23185
23440
|
QuestionRowModel.prototype.startLazyRendering = function (rowContainerDiv, findScrollableContainer) {
|
|
23186
23441
|
var _this = this;
|
|
23187
23442
|
if (findScrollableContainer === void 0) { findScrollableContainer = _utils_utils__WEBPACK_IMPORTED_MODULE_8__["findScrollableParent"]; }
|
|
23188
|
-
if ("
|
|
23443
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomDocumentHelper"].isAvailable())
|
|
23189
23444
|
return;
|
|
23190
23445
|
this._scrollableParent = findScrollableContainer(rowContainerDiv);
|
|
23191
23446
|
// if this._scrollableParent is html the scroll event isn't fired, so we should use window
|
|
23192
|
-
if (this._scrollableParent ===
|
|
23193
|
-
this._scrollableParent =
|
|
23447
|
+
if (this._scrollableParent === _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomDocumentHelper"].getDocumentElement()) {
|
|
23448
|
+
this._scrollableParent = _global_variables_utils__WEBPACK_IMPORTED_MODULE_11__["DomWindowHelper"].getWindow();
|
|
23194
23449
|
}
|
|
23195
23450
|
var hasScroll = this._scrollableParent.scrollHeight > this._scrollableParent.clientHeight;
|
|
23196
23451
|
this.isNeedRender = !hasScroll;
|
|
@@ -25468,6 +25723,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25468
25723
|
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
|
25469
25724
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
|
25470
25725
|
/* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./survey */ "./src/survey.ts");
|
|
25726
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
25471
25727
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
25472
25728
|
var extendStatics = function (d, b) {
|
|
25473
25729
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -25495,6 +25751,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
25495
25751
|
|
|
25496
25752
|
|
|
25497
25753
|
|
|
25754
|
+
|
|
25498
25755
|
var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
25499
25756
|
__extends(PopupDropdownViewModel, _super);
|
|
25500
25757
|
function PopupDropdownViewModel(model, targetElement) {
|
|
@@ -25509,8 +25766,13 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
|
25509
25766
|
_this.hidePopup();
|
|
25510
25767
|
};
|
|
25511
25768
|
_this.resizeEventCallback = function () {
|
|
25512
|
-
|
|
25513
|
-
|
|
25769
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable())
|
|
25770
|
+
return;
|
|
25771
|
+
var visualViewport = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport();
|
|
25772
|
+
var documentElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getDocumentElement();
|
|
25773
|
+
if (!!documentElement && !!visualViewport) {
|
|
25774
|
+
documentElement.style.setProperty("--sv-popup-overlay-height", visualViewport.height * visualViewport.scale + "px");
|
|
25775
|
+
}
|
|
25514
25776
|
};
|
|
25515
25777
|
_this.resizeWindowCallback = function () {
|
|
25516
25778
|
if (!_this.isOverlay) {
|
|
@@ -25542,7 +25804,7 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
|
25542
25804
|
return;
|
|
25543
25805
|
var fixedPopupContainer = (_b = this.container) === null || _b === void 0 ? void 0 : _b.querySelector(this.fixedPopupContainer);
|
|
25544
25806
|
var scrollContent = popupContainer.querySelector(this.scrollingContentSelector);
|
|
25545
|
-
var popupComputedStyle =
|
|
25807
|
+
var popupComputedStyle = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(popupContainer);
|
|
25546
25808
|
var marginLeft = (parseFloat(popupComputedStyle.marginLeft) || 0);
|
|
25547
25809
|
var marginRight = (parseFloat(popupComputedStyle.marginRight) || 0);
|
|
25548
25810
|
var height = popupContainer.offsetHeight - scrollContent.offsetHeight + scrollContent.scrollHeight;
|
|
@@ -25550,15 +25812,15 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
|
25550
25812
|
this.model.setWidthByTarget && (this.minWidth = targetElementRect.width + "px");
|
|
25551
25813
|
var verticalPosition = this.model.verticalPosition;
|
|
25552
25814
|
var actualHorizontalPosition = this.getActualHorizontalPosition();
|
|
25553
|
-
if (
|
|
25554
|
-
var heightValues = [height,
|
|
25815
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable()) {
|
|
25816
|
+
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];
|
|
25555
25817
|
height = Math.ceil(Math.min.apply(Math, heightValues.filter(function (each) { return typeof each === "number"; })));
|
|
25556
|
-
verticalPosition = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].updateVerticalPosition(targetElementRect, height, this.model.verticalPosition, this.model.showPointer,
|
|
25818
|
+
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());
|
|
25557
25819
|
}
|
|
25558
25820
|
this.popupDirection = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].calculatePopupDirection(verticalPosition, actualHorizontalPosition);
|
|
25559
25821
|
var pos = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].calculatePosition(targetElementRect, height, width + marginLeft + marginRight, verticalPosition, actualHorizontalPosition, this.showHeader, this.model.positionMode);
|
|
25560
|
-
if (
|
|
25561
|
-
var newVerticalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].getCorrectedVerticalDimensions(pos.top, height,
|
|
25822
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].isAvailable()) {
|
|
25823
|
+
var newVerticalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].getCorrectedVerticalDimensions(pos.top, height, _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight(), verticalPosition);
|
|
25562
25824
|
if (!!newVerticalDimensions) {
|
|
25563
25825
|
this.height = newVerticalDimensions.height + "px";
|
|
25564
25826
|
pos.top = newVerticalDimensions.top;
|
|
@@ -25568,7 +25830,7 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
|
25568
25830
|
pos.left = targetElementRect.left;
|
|
25569
25831
|
}
|
|
25570
25832
|
else {
|
|
25571
|
-
var newHorizontalDimensions = _utils_popup__WEBPACK_IMPORTED_MODULE_1__["PopupUtils"].updateHorizontalDimensions(pos.left, width,
|
|
25833
|
+
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 });
|
|
25572
25834
|
if (!!newHorizontalDimensions) {
|
|
25573
25835
|
this.width = newHorizontalDimensions.width ? newHorizontalDimensions.width + "px" : undefined;
|
|
25574
25836
|
pos.left = newHorizontalDimensions.left;
|
|
@@ -25590,8 +25852,8 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
|
25590
25852
|
};
|
|
25591
25853
|
PopupDropdownViewModel.prototype.getActualHorizontalPosition = function () {
|
|
25592
25854
|
var actualHorizontalPosition = this.model.horizontalPosition;
|
|
25593
|
-
if ("
|
|
25594
|
-
var isRtl =
|
|
25855
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].isAvailable()) {
|
|
25856
|
+
var isRtl = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getBody()).direction == "rtl";
|
|
25595
25857
|
if (isRtl) {
|
|
25596
25858
|
if (this.model.horizontalPosition === "left") {
|
|
25597
25859
|
actualHorizontalPosition = "right";
|
|
@@ -25637,21 +25899,21 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
|
25637
25899
|
this.updatePosition(true, false);
|
|
25638
25900
|
}
|
|
25639
25901
|
this.switchFocus();
|
|
25640
|
-
|
|
25902
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].addEventListener("resize", this.resizeWindowCallback);
|
|
25641
25903
|
if (this.shouldCreateResizeCallback) {
|
|
25642
|
-
|
|
25904
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport().addEventListener("resize", this.resizeEventCallback);
|
|
25643
25905
|
if (this.container) {
|
|
25644
25906
|
this.container.addEventListener("touchstart", this.touchStartEventCallback);
|
|
25645
25907
|
this.container.addEventListener("touchmove", this.touchMoveEventCallback);
|
|
25646
25908
|
}
|
|
25647
|
-
this.calculateIsTablet(
|
|
25909
|
+
this.calculateIsTablet(_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerWidth(), _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getInnerHeight());
|
|
25648
25910
|
this.resizeEventCallback();
|
|
25649
25911
|
}
|
|
25650
|
-
|
|
25912
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].addEventListener("scroll", this.scrollEventCallBack);
|
|
25651
25913
|
};
|
|
25652
25914
|
Object.defineProperty(PopupDropdownViewModel.prototype, "shouldCreateResizeCallback", {
|
|
25653
25915
|
get: function () {
|
|
25654
|
-
return !!
|
|
25916
|
+
return !!_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport() && this.isOverlay && _utils_devices__WEBPACK_IMPORTED_MODULE_3__["IsTouch"];
|
|
25655
25917
|
},
|
|
25656
25918
|
enumerable: false,
|
|
25657
25919
|
configurable: true
|
|
@@ -25673,15 +25935,15 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
|
|
|
25673
25935
|
};
|
|
25674
25936
|
PopupDropdownViewModel.prototype.updateOnHiding = function () {
|
|
25675
25937
|
_super.prototype.updateOnHiding.call(this);
|
|
25676
|
-
|
|
25938
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].removeEventListener("resize", this.resizeWindowCallback);
|
|
25677
25939
|
if (this.shouldCreateResizeCallback) {
|
|
25678
|
-
|
|
25940
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].getVisualViewport().removeEventListener("resize", this.resizeEventCallback);
|
|
25679
25941
|
if (this.container) {
|
|
25680
25942
|
this.container.removeEventListener("touchstart", this.touchStartEventCallback);
|
|
25681
25943
|
this.container.removeEventListener("touchmove", this.touchMoveEventCallback);
|
|
25682
25944
|
}
|
|
25683
25945
|
}
|
|
25684
|
-
|
|
25946
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomWindowHelper"].removeEventListener("scroll", this.scrollEventCallBack);
|
|
25685
25947
|
if (!this.isDisposed) {
|
|
25686
25948
|
this.top = undefined;
|
|
25687
25949
|
this.left = undefined;
|
|
@@ -25839,6 +26101,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25839
26101
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
|
25840
26102
|
/* harmony import */ var _survey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./survey */ "./src/survey.ts");
|
|
25841
26103
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
|
26104
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
25842
26105
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
25843
26106
|
var extendStatics = function (d, b) {
|
|
25844
26107
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -25863,6 +26126,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
25863
26126
|
|
|
25864
26127
|
|
|
25865
26128
|
|
|
26129
|
+
|
|
25866
26130
|
/**
|
|
25867
26131
|
* A class that renders a survey in a pop-up window.
|
|
25868
26132
|
*
|
|
@@ -25888,9 +26152,7 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
|
25888
26152
|
_this.surveyValue = _this.createSurvey(jsonObj);
|
|
25889
26153
|
}
|
|
25890
26154
|
_this.surveyValue.fitToContainer = true;
|
|
25891
|
-
|
|
25892
|
-
_this.windowElement = document.createElement("div");
|
|
25893
|
-
}
|
|
26155
|
+
_this.windowElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].createElement("div");
|
|
25894
26156
|
_this.survey.onComplete.add(function (survey, options) {
|
|
25895
26157
|
_this.onSurveyComplete();
|
|
25896
26158
|
});
|
|
@@ -26241,14 +26503,9 @@ var PopupSurveyModel = /** @class */ (function (_super) {
|
|
|
26241
26503
|
var timerId = null;
|
|
26242
26504
|
var func = function () {
|
|
26243
26505
|
self.hide();
|
|
26244
|
-
|
|
26245
|
-
window.clearInterval(timerId);
|
|
26246
|
-
}
|
|
26506
|
+
clearInterval(timerId);
|
|
26247
26507
|
};
|
|
26248
|
-
timerId =
|
|
26249
|
-
typeof window !== "undefined"
|
|
26250
|
-
? window.setInterval(func, this.closeOnCompleteTimeout * 1000)
|
|
26251
|
-
: 0;
|
|
26508
|
+
timerId = setInterval(func, this.closeOnCompleteTimeout * 1000);
|
|
26252
26509
|
}
|
|
26253
26510
|
};
|
|
26254
26511
|
PopupSurveyModel.prototype.onScroll = function () {
|
|
@@ -26286,15 +26543,17 @@ var SurveyWindowModel = /** @class */ (function (_super) {
|
|
|
26286
26543
|
__webpack_require__.r(__webpack_exports__);
|
|
26287
26544
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPopupModalViewModel", function() { return createPopupModalViewModel; });
|
|
26288
26545
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPopupViewModel", function() { return createPopupViewModel; });
|
|
26289
|
-
/* harmony import */ var
|
|
26290
|
-
/* harmony import */ var
|
|
26291
|
-
/* harmony import */ var
|
|
26546
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
26547
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
|
26548
|
+
/* harmony import */ var _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./popup-dropdown-view-model */ "./src/popup-dropdown-view-model.ts");
|
|
26549
|
+
/* harmony import */ var _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./popup-modal-view-model */ "./src/popup-modal-view-model.ts");
|
|
26550
|
+
|
|
26292
26551
|
|
|
26293
26552
|
|
|
26294
26553
|
|
|
26295
26554
|
function createPopupModalViewModel(options, rootElement) {
|
|
26296
26555
|
var _a;
|
|
26297
|
-
var popupModel = new
|
|
26556
|
+
var popupModel = new _popup__WEBPACK_IMPORTED_MODULE_1__["PopupModel"](options.componentName, options.data, "top", "left", false, true, options.onCancel, options.onApply, function () {
|
|
26298
26557
|
options.onHide();
|
|
26299
26558
|
if (!!container) {
|
|
26300
26559
|
popupViewModel.resetComponentElement();
|
|
@@ -26302,9 +26561,9 @@ function createPopupModalViewModel(options, rootElement) {
|
|
|
26302
26561
|
}, options.onShow, options.cssClass, options.title);
|
|
26303
26562
|
popupModel.displayMode = options.displayMode || "popup";
|
|
26304
26563
|
popupModel.isFocusedContent = (_a = options.isFocusedContent) !== null && _a !== void 0 ? _a : true;
|
|
26305
|
-
var popupViewModel = new
|
|
26564
|
+
var popupViewModel = new _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__["PopupModalViewModel"](popupModel);
|
|
26306
26565
|
if (!!rootElement && !!rootElement.appendChild) {
|
|
26307
|
-
var container =
|
|
26566
|
+
var container = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("div");
|
|
26308
26567
|
rootElement.appendChild(container);
|
|
26309
26568
|
popupViewModel.setComponentElement(container);
|
|
26310
26569
|
}
|
|
@@ -26315,10 +26574,10 @@ function createPopupModalViewModel(options, rootElement) {
|
|
|
26315
26574
|
}
|
|
26316
26575
|
function createPopupViewModel(model, targetElement) {
|
|
26317
26576
|
if (model.isModal) {
|
|
26318
|
-
return new
|
|
26577
|
+
return new _popup_modal_view_model__WEBPACK_IMPORTED_MODULE_3__["PopupModalViewModel"](model);
|
|
26319
26578
|
}
|
|
26320
26579
|
else {
|
|
26321
|
-
return new
|
|
26580
|
+
return new _popup_dropdown_view_model__WEBPACK_IMPORTED_MODULE_2__["PopupDropdownViewModel"](model, targetElement);
|
|
26322
26581
|
}
|
|
26323
26582
|
}
|
|
26324
26583
|
|
|
@@ -26342,6 +26601,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26342
26601
|
/* harmony import */ var _actions_container__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./actions/container */ "./src/actions/container.ts");
|
|
26343
26602
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
|
26344
26603
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
|
26604
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
26345
26605
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
26346
26606
|
var extendStatics = function (d, b) {
|
|
26347
26607
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -26369,6 +26629,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
26369
26629
|
|
|
26370
26630
|
|
|
26371
26631
|
|
|
26632
|
+
|
|
26372
26633
|
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^=\"-\"])";
|
|
26373
26634
|
var PopupBaseViewModel = /** @class */ (function (_super) {
|
|
26374
26635
|
__extends(PopupBaseViewModel, _super);
|
|
@@ -26645,8 +26906,8 @@ var PopupBaseViewModel = /** @class */ (function (_super) {
|
|
|
26645
26906
|
this.resetComponentElement();
|
|
26646
26907
|
};
|
|
26647
26908
|
PopupBaseViewModel.prototype.initializePopupContainer = function () {
|
|
26648
|
-
if (!this.container
|
|
26649
|
-
var container =
|
|
26909
|
+
if (!this.container) {
|
|
26910
|
+
var container = _global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].createElement("div");
|
|
26650
26911
|
this.createdContainer = container;
|
|
26651
26912
|
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_5__["getElement"])(_settings__WEBPACK_IMPORTED_MODULE_4__["settings"].environment.popupMountContainer).appendChild(container);
|
|
26652
26913
|
}
|
|
@@ -26663,7 +26924,7 @@ var PopupBaseViewModel = /** @class */ (function (_super) {
|
|
|
26663
26924
|
PopupBaseViewModel.prototype.preventScrollOuside = function (event, deltaY) {
|
|
26664
26925
|
var currentElement = event.target;
|
|
26665
26926
|
while (currentElement !== this.container) {
|
|
26666
|
-
if (
|
|
26927
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_6__["DomDocumentHelper"].getComputedStyle(currentElement).overflowY === "auto" && currentElement.scrollHeight !== currentElement.offsetHeight) {
|
|
26667
26928
|
var scrollHeight = currentElement.scrollHeight, scrollTop = currentElement.scrollTop, clientHeight = currentElement.clientHeight;
|
|
26668
26929
|
if (!(deltaY > 0 && Math.abs(scrollHeight - clientHeight - scrollTop) < 1) && !(deltaY < 0 && scrollTop <= 0)) {
|
|
26669
26930
|
return;
|
|
@@ -26717,6 +26978,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26717
26978
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createDialogOptions", function() { return createDialogOptions; });
|
|
26718
26979
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
|
26719
26980
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
|
26981
|
+
/* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
|
|
26720
26982
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
26721
26983
|
var extendStatics = function (d, b) {
|
|
26722
26984
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -26740,6 +27002,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
26740
27002
|
};
|
|
26741
27003
|
|
|
26742
27004
|
|
|
27005
|
+
|
|
26743
27006
|
var PopupModel = /** @class */ (function (_super) {
|
|
26744
27007
|
__extends(PopupModel, _super);
|
|
26745
27008
|
function PopupModel(contentComponentName, contentComponentData, verticalPosition, horizontalPosition, showPointer, isModal, onCancel, onApply, onHide, onShow, cssClass, title, onDispose) {
|
|
@@ -26872,6 +27135,7 @@ function createDialogOptions(componentName, data, onApply, onCancel, onHide, onS
|
|
|
26872
27135
|
if (onHide === void 0) { onHide = function () { }; }
|
|
26873
27136
|
if (onShow === void 0) { onShow = function () { }; }
|
|
26874
27137
|
if (displayMode === void 0) { displayMode = "popup"; }
|
|
27138
|
+
_console_warnings__WEBPACK_IMPORTED_MODULE_2__["ConsoleWarnings"].warn("The `showModal()` and `createDialogOptions()` methods are obsolete. Use the `showDialog()` method instead.");
|
|
26875
27139
|
return {
|
|
26876
27140
|
componentName: componentName,
|
|
26877
27141
|
data: data,
|
|
@@ -27161,6 +27425,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27161
27425
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
|
27162
27426
|
/* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
|
|
27163
27427
|
/* harmony import */ var _conditionProcessValue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./conditionProcessValue */ "./src/conditionProcessValue.ts");
|
|
27428
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
27164
27429
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
27165
27430
|
var extendStatics = function (d, b) {
|
|
27166
27431
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -27196,6 +27461,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
27196
27461
|
|
|
27197
27462
|
|
|
27198
27463
|
|
|
27464
|
+
|
|
27199
27465
|
var TriggerExpressionInfo = /** @class */ (function () {
|
|
27200
27466
|
function TriggerExpressionInfo(name, canRun, doComplete) {
|
|
27201
27467
|
this.name = name;
|
|
@@ -30115,7 +30381,7 @@ var Question = /** @class */ (function (_super) {
|
|
|
30115
30381
|
}
|
|
30116
30382
|
};
|
|
30117
30383
|
this.resizeObserver = new ResizeObserver(function (entries) {
|
|
30118
|
-
|
|
30384
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_14__["DomWindowHelper"].requestAnimationFrame(function () {
|
|
30119
30385
|
_this.triggerResponsiveness(false);
|
|
30120
30386
|
});
|
|
30121
30387
|
});
|
|
@@ -31166,8 +31432,13 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
|
31166
31432
|
!this.isValueEmpty(this.defaultValue) &&
|
|
31167
31433
|
this.hasUnknownValue(this.defaultValue);
|
|
31168
31434
|
this.prevOtherValue = undefined;
|
|
31435
|
+
var prevComment = this.comment;
|
|
31169
31436
|
_super.prototype.setDefaultValue.call(this);
|
|
31170
31437
|
this.isSettingDefaultValue = false;
|
|
31438
|
+
if (this.comment && this.getStoreOthersAsComment() && prevComment !== this.comment) {
|
|
31439
|
+
this.setValueCore(this.setOtherValueIntoValue(this.value));
|
|
31440
|
+
this.setCommentIntoData(this.comment);
|
|
31441
|
+
}
|
|
31171
31442
|
};
|
|
31172
31443
|
QuestionSelectBase.prototype.getIsMultipleValue = function () {
|
|
31173
31444
|
return false;
|
|
@@ -31520,6 +31791,18 @@ var QuestionSelectBase = /** @class */ (function (_super) {
|
|
|
31520
31791
|
});
|
|
31521
31792
|
};
|
|
31522
31793
|
QuestionSelectBase.prototype.hasUnknownValue = function (val, includeOther, isFilteredChoices, checkEmptyValue) {
|
|
31794
|
+
if (includeOther === void 0) { includeOther = false; }
|
|
31795
|
+
if (isFilteredChoices === void 0) { isFilteredChoices = true; }
|
|
31796
|
+
if (checkEmptyValue === void 0) { checkEmptyValue = false; }
|
|
31797
|
+
if (!Array.isArray(val))
|
|
31798
|
+
return this.hasUnknownValueItem(val, includeOther, isFilteredChoices, checkEmptyValue);
|
|
31799
|
+
for (var i = 0; i < val.length; i++) {
|
|
31800
|
+
if (this.hasUnknownValueItem(val, includeOther, isFilteredChoices, checkEmptyValue))
|
|
31801
|
+
return true;
|
|
31802
|
+
}
|
|
31803
|
+
return false;
|
|
31804
|
+
};
|
|
31805
|
+
QuestionSelectBase.prototype.hasUnknownValueItem = function (val, includeOther, isFilteredChoices, checkEmptyValue) {
|
|
31523
31806
|
if (includeOther === void 0) { includeOther = false; }
|
|
31524
31807
|
if (isFilteredChoices === void 0) { isFilteredChoices = true; }
|
|
31525
31808
|
if (checkEmptyValue === void 0) { checkEmptyValue = false; }
|
|
@@ -33089,6 +33372,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
33089
33372
|
/* harmony import */ var _question__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./question */ "./src/question.ts");
|
|
33090
33373
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
|
33091
33374
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
|
33375
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
33092
33376
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
33093
33377
|
var extendStatics = function (d, b) {
|
|
33094
33378
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -33115,6 +33399,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
33115
33399
|
|
|
33116
33400
|
|
|
33117
33401
|
|
|
33402
|
+
|
|
33118
33403
|
/**
|
|
33119
33404
|
* A class that describes the Yes/No (Boolean) question type.
|
|
33120
33405
|
*
|
|
@@ -33412,8 +33697,8 @@ var QuestionBooleanModel = /** @class */ (function (_super) {
|
|
|
33412
33697
|
};
|
|
33413
33698
|
QuestionBooleanModel.prototype.calculateBooleanValueByEvent = function (event, isRightClick) {
|
|
33414
33699
|
var isRtl = false;
|
|
33415
|
-
if ("
|
|
33416
|
-
isRtl =
|
|
33700
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_5__["DomDocumentHelper"].isAvailable()) {
|
|
33701
|
+
isRtl = _global_variables_utils__WEBPACK_IMPORTED_MODULE_5__["DomDocumentHelper"].getComputedStyle(event.target).direction == "rtl";
|
|
33417
33702
|
}
|
|
33418
33703
|
this.booleanValue = isRtl ? !isRightClick : isRightClick;
|
|
33419
33704
|
};
|
|
@@ -34236,7 +34521,7 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
|
34236
34521
|
if (!Array.isArray(newValue))
|
|
34237
34522
|
return -1;
|
|
34238
34523
|
for (var i = 0; i < newValue.length; i++) {
|
|
34239
|
-
if (this.
|
|
34524
|
+
if (this.hasUnknownValueItem(newValue[i], false, false))
|
|
34240
34525
|
return i;
|
|
34241
34526
|
}
|
|
34242
34527
|
return -1;
|
|
@@ -34459,7 +34744,7 @@ var QuestionCheckboxModel = /** @class */ (function (_super) {
|
|
|
34459
34744
|
for (var i = 0; i < val.length; i++) {
|
|
34460
34745
|
if (val[i] == this.otherItem.value)
|
|
34461
34746
|
return val;
|
|
34462
|
-
if (this.
|
|
34747
|
+
if (this.hasUnknownValueItem(val[i], true, false)) {
|
|
34463
34748
|
this.otherValue = val[i];
|
|
34464
34749
|
var newVal = val.slice();
|
|
34465
34750
|
newVal[i] = this.otherItem.value;
|
|
@@ -36266,6 +36551,9 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
|
|
|
36266
36551
|
__decorate([
|
|
36267
36552
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
|
36268
36553
|
], QuestionDropdownModel.prototype, "searchMode", void 0);
|
|
36554
|
+
__decorate([
|
|
36555
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
|
36556
|
+
], QuestionDropdownModel.prototype, "textWrapEnabled", void 0);
|
|
36269
36557
|
__decorate([
|
|
36270
36558
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ defaultValue: false })
|
|
36271
36559
|
], QuestionDropdownModel.prototype, "inputHasValue", void 0);
|
|
@@ -36291,6 +36579,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("dropdown", [
|
|
|
36291
36579
|
{ name: "choicesMax:number", default: 0 },
|
|
36292
36580
|
{ name: "choicesStep:number", default: 1, minValue: 1 },
|
|
36293
36581
|
{ name: "autocomplete", alternativeName: "autoComplete", choices: _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].questions.dataList, },
|
|
36582
|
+
{ name: "textWrapEnabled:boolean", default: true },
|
|
36294
36583
|
{ name: "renderAs", default: "default", visible: false },
|
|
36295
36584
|
{ name: "searchEnabled:boolean", default: true, visible: false },
|
|
36296
36585
|
{ name: "searchMode", default: "contains", choices: ["contains", "startsWith"], },
|
|
@@ -36934,6 +37223,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
36934
37223
|
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers */ "./src/helpers.ts");
|
|
36935
37224
|
/* harmony import */ var _utils_camera__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/camera */ "./src/utils/camera.ts");
|
|
36936
37225
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
|
37226
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
36937
37227
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
36938
37228
|
var extendStatics = function (d, b) {
|
|
36939
37229
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -36968,6 +37258,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
36968
37258
|
|
|
36969
37259
|
|
|
36970
37260
|
|
|
37261
|
+
|
|
36971
37262
|
function dataUrl2File(dataUrl, fileName, type) {
|
|
36972
37263
|
var str = atob(dataUrl.split(",")[1]);
|
|
36973
37264
|
var buffer = new Uint8Array(str.split("").map(function (c) { return c.charCodeAt(0); })).buffer;
|
|
@@ -37516,12 +37807,14 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
|
37516
37807
|
});
|
|
37517
37808
|
QuestionFileModel.prototype.chooseFile = function (event) {
|
|
37518
37809
|
var _this = this;
|
|
37519
|
-
|
|
37810
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].isAvailable())
|
|
37811
|
+
return;
|
|
37812
|
+
var inputElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].getDocument().getElementById(this.inputId);
|
|
37520
37813
|
event.preventDefault();
|
|
37521
37814
|
event.stopImmediatePropagation();
|
|
37522
37815
|
if (inputElement) {
|
|
37523
37816
|
if (this.survey) {
|
|
37524
|
-
this.survey.chooseFiles(inputElement, function (files) { return _this.loadFiles(files); }, { element: this });
|
|
37817
|
+
this.survey.chooseFiles(inputElement, function (files) { return _this.loadFiles(files); }, { element: this, elementType: this.getType(), propertyName: this.name });
|
|
37525
37818
|
}
|
|
37526
37819
|
else {
|
|
37527
37820
|
inputElement.click();
|
|
@@ -37967,7 +38260,7 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
|
37967
38260
|
.toString();
|
|
37968
38261
|
};
|
|
37969
38262
|
QuestionFileModel.prototype.onChange = function (src) {
|
|
37970
|
-
if (!
|
|
38263
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomWindowHelper"].isFileReaderAvailable())
|
|
37971
38264
|
return;
|
|
37972
38265
|
if (!src || !src.files || src.files.length < 1)
|
|
37973
38266
|
return;
|
|
@@ -38033,10 +38326,10 @@ var QuestionFileModel = /** @class */ (function (_super) {
|
|
|
38033
38326
|
var fileListSelector = this.getFileListSelector();
|
|
38034
38327
|
var fileListElement = fileListSelector ? this.rootElement.querySelector(this.getFileListSelector()) : undefined;
|
|
38035
38328
|
if (fileListElement) {
|
|
38036
|
-
this.calculatedGapBetweenItems = Math.ceil(Number.parseFloat(
|
|
38329
|
+
this.calculatedGapBetweenItems = Math.ceil(Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].getComputedStyle(fileListElement).gap));
|
|
38037
38330
|
var firstVisibleItem = Array.from(fileListElement.children).filter(function (_, index) { return _this.isPreviewVisible(index); })[0];
|
|
38038
38331
|
if (firstVisibleItem) {
|
|
38039
|
-
this.calculatedItemWidth = Math.ceil(Number.parseFloat(
|
|
38332
|
+
this.calculatedItemWidth = Math.ceil(Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_12__["DomDocumentHelper"].getComputedStyle(firstVisibleItem).width));
|
|
38040
38333
|
}
|
|
38041
38334
|
}
|
|
38042
38335
|
}
|
|
@@ -38247,6 +38540,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
38247
38540
|
/* harmony import */ var _questionnonvalue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./questionnonvalue */ "./src/questionnonvalue.ts");
|
|
38248
38541
|
/* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
|
|
38249
38542
|
/* harmony import */ var _questionfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./questionfactory */ "./src/questionfactory.ts");
|
|
38543
|
+
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
|
38250
38544
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
38251
38545
|
var extendStatics = function (d, b) {
|
|
38252
38546
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -38265,6 +38559,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
38265
38559
|
|
|
38266
38560
|
|
|
38267
38561
|
|
|
38562
|
+
|
|
38268
38563
|
/**
|
|
38269
38564
|
* A class that describes the HTML question type. Unlike other question types, HTML cannot have a title or value.
|
|
38270
38565
|
*
|
|
@@ -38336,6 +38631,13 @@ var QuestionHtmlModel = /** @class */ (function (_super) {
|
|
|
38336
38631
|
enumerable: false,
|
|
38337
38632
|
configurable: true
|
|
38338
38633
|
});
|
|
38634
|
+
Object.defineProperty(QuestionHtmlModel.prototype, "renderCssRoot", {
|
|
38635
|
+
get: function () {
|
|
38636
|
+
return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_3__["CssClassBuilder"]().append(this.cssClasses.root).append(this.cssClasses.nested, this.getIsNested()).toString() || undefined;
|
|
38637
|
+
},
|
|
38638
|
+
enumerable: false,
|
|
38639
|
+
configurable: true
|
|
38640
|
+
});
|
|
38339
38641
|
return QuestionHtmlModel;
|
|
38340
38642
|
}(_questionnonvalue__WEBPACK_IMPORTED_MODULE_0__["QuestionNonValue"]));
|
|
38341
38643
|
|
|
@@ -38714,6 +39016,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
38714
39016
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
|
38715
39017
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
|
38716
39018
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
|
39019
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
38717
39020
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
38718
39021
|
var extendStatics = function (d, b) {
|
|
38719
39022
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -38743,6 +39046,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
38743
39046
|
|
|
38744
39047
|
|
|
38745
39048
|
|
|
39049
|
+
|
|
38746
39050
|
var ImageItemValue = /** @class */ (function (_super) {
|
|
38747
39051
|
__extends(ImageItemValue, _super);
|
|
38748
39052
|
function ImageItemValue(value, text, typeName) {
|
|
@@ -39217,7 +39521,7 @@ var QuestionImagePickerModel = /** @class */ (function (_super) {
|
|
|
39217
39521
|
var observedElement = el && selector ? el.querySelector(selector) : undefined;
|
|
39218
39522
|
if (!!observedElement) {
|
|
39219
39523
|
this.reCalcGapBetweenItemsCallback = function () {
|
|
39220
|
-
_this.gapBetweenItems = Math.ceil(Number.parseFloat(
|
|
39524
|
+
_this.gapBetweenItems = Math.ceil(Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_8__["DomDocumentHelper"].getComputedStyle(observedElement).gap)) || 16;
|
|
39221
39525
|
};
|
|
39222
39526
|
this.reCalcGapBetweenItemsCallback();
|
|
39223
39527
|
}
|
|
@@ -42874,6 +43178,9 @@ var QuestionMatrixDropdownModelBase = /** @class */ (function (_super) {
|
|
|
42874
43178
|
if (!!this.renderedTable) {
|
|
42875
43179
|
this.renderedTable.onDetailPanelChangeVisibility(row, val);
|
|
42876
43180
|
}
|
|
43181
|
+
if (this.survey) {
|
|
43182
|
+
this.survey.matrixDetailPanelVisibleChanged(this, row.rowIndex - 1, row, val);
|
|
43183
|
+
}
|
|
42877
43184
|
if (val && this.detailPanelMode === "underRowSingle") {
|
|
42878
43185
|
var rows = this.visibleRows;
|
|
42879
43186
|
for (var i = 0; i < rows.length; i++) {
|
|
@@ -51294,6 +51601,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
51294
51601
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
|
51295
51602
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
|
51296
51603
|
/* harmony import */ var _utils_devices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/devices */ "./src/utils/devices.ts");
|
|
51604
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
51297
51605
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
51298
51606
|
var extendStatics = function (d, b) {
|
|
51299
51607
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -51325,6 +51633,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
51325
51633
|
|
|
51326
51634
|
|
|
51327
51635
|
|
|
51636
|
+
|
|
51328
51637
|
var RenderedRatingItem = /** @class */ (function (_super) {
|
|
51329
51638
|
__extends(RenderedRatingItem, _super);
|
|
51330
51639
|
function RenderedRatingItem(itemValue, locString) {
|
|
@@ -51609,19 +51918,22 @@ var QuestionRatingModel = /** @class */ (function (_super) {
|
|
|
51609
51918
|
QuestionRatingModel.prototype.updateColors = function (themeVariables) {
|
|
51610
51919
|
if (this.colorMode === "monochrome")
|
|
51611
51920
|
return;
|
|
51612
|
-
if (
|
|
51921
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_10__["DomDocumentHelper"].isAvailable())
|
|
51613
51922
|
return;
|
|
51614
51923
|
if (QuestionRatingModel.colorsCalculated)
|
|
51615
51924
|
return;
|
|
51616
51925
|
function getRGBColor(colorName, varName) {
|
|
51617
51926
|
var str = !!themeVariables && themeVariables[colorName];
|
|
51618
51927
|
if (!str) {
|
|
51619
|
-
var style = getComputedStyle(
|
|
51928
|
+
var style = getComputedStyle(_global_variables_utils__WEBPACK_IMPORTED_MODULE_10__["DomDocumentHelper"].getDocumentElement());
|
|
51620
51929
|
str = style.getPropertyValue && style.getPropertyValue(varName);
|
|
51621
51930
|
}
|
|
51622
51931
|
if (!str)
|
|
51623
51932
|
return null;
|
|
51624
|
-
var
|
|
51933
|
+
var canvasElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_10__["DomDocumentHelper"].createElement("canvas");
|
|
51934
|
+
if (!canvasElement)
|
|
51935
|
+
return null;
|
|
51936
|
+
var ctx = canvasElement.getContext("2d");
|
|
51625
51937
|
ctx.fillStyle = str;
|
|
51626
51938
|
var newStr = ctx.fillStyle;
|
|
51627
51939
|
if (newStr.startsWith("rgba")) {
|
|
@@ -52555,9 +52867,7 @@ var QuestionSignaturePadModel = /** @class */ (function (_super) {
|
|
|
52555
52867
|
};
|
|
52556
52868
|
QuestionSignaturePadModel.prototype.fromUrl = function (url) {
|
|
52557
52869
|
var _this = this;
|
|
52558
|
-
|
|
52559
|
-
return;
|
|
52560
|
-
var img = document.createElement("img");
|
|
52870
|
+
var img = new Image();
|
|
52561
52871
|
img.crossOrigin = "anonymous";
|
|
52562
52872
|
img.src = url;
|
|
52563
52873
|
img.onload = function () {
|
|
@@ -53193,8 +53503,8 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
|
53193
53503
|
};
|
|
53194
53504
|
QuestionTagboxModel.prototype.dispose = function () {
|
|
53195
53505
|
_super.prototype.dispose.call(this);
|
|
53196
|
-
if (!!this.
|
|
53197
|
-
this.
|
|
53506
|
+
if (!!this.dropdownListModel) {
|
|
53507
|
+
this.dropdownListModel.dispose();
|
|
53198
53508
|
}
|
|
53199
53509
|
};
|
|
53200
53510
|
QuestionTagboxModel.prototype.clearValue = function () {
|
|
@@ -53250,6 +53560,9 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
|
|
|
53250
53560
|
__decorate([
|
|
53251
53561
|
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])({ getDefaultValue: function () { return _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].tagboxCloseOnSelect; } })
|
|
53252
53562
|
], QuestionTagboxModel.prototype, "closeOnSelect", void 0);
|
|
53563
|
+
__decorate([
|
|
53564
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_0__["property"])()
|
|
53565
|
+
], QuestionTagboxModel.prototype, "textWrapEnabled", void 0);
|
|
53253
53566
|
return QuestionTagboxModel;
|
|
53254
53567
|
}(_question_checkbox__WEBPACK_IMPORTED_MODULE_3__["QuestionCheckboxModel"]));
|
|
53255
53568
|
|
|
@@ -53257,6 +53570,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("tagbox", [
|
|
|
53257
53570
|
{ name: "placeholder", serializationProperty: "locPlaceholder" },
|
|
53258
53571
|
{ name: "allowClear:boolean", default: true },
|
|
53259
53572
|
{ name: "searchEnabled:boolean", default: true },
|
|
53573
|
+
{ name: "textWrapEnabled:boolean", default: true },
|
|
53260
53574
|
{ name: "choicesLazyLoadEnabled:boolean", default: false, visible: false },
|
|
53261
53575
|
{ name: "choicesLazyLoadPageSize:number", default: 25, visible: false },
|
|
53262
53576
|
{ name: "hideSelectedItems:boolean", default: false },
|
|
@@ -53427,6 +53741,20 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
|
53427
53741
|
configurable: true
|
|
53428
53742
|
});
|
|
53429
53743
|
Object.defineProperty(QuestionTextModel.prototype, "maskSettings", {
|
|
53744
|
+
/**
|
|
53745
|
+
* An object with properties that configure the mask applied to the input.
|
|
53746
|
+
*
|
|
53747
|
+
* 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:
|
|
53748
|
+
*
|
|
53749
|
+
* | `maskType` | Class |
|
|
53750
|
+
* | ---------- | ----- |
|
|
53751
|
+
* | `"numeric"` | [`InputMaskNumeric`](https://surveyjs.io/form-library/documentation/api-reference/inputmasknumeric) |
|
|
53752
|
+
* | `"currency"` | [`InputMaskCurrency`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskcurrency) |
|
|
53753
|
+
* | `"datetime"` | [`InputMaskDateTime`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskdatetime) |
|
|
53754
|
+
* | `"pattern"` | [`InputMaskPattern`](https://surveyjs.io/form-library/documentation/api-reference/inputmaskpattern) |
|
|
53755
|
+
*
|
|
53756
|
+
* [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
|
|
53757
|
+
*/
|
|
53430
53758
|
get: function () {
|
|
53431
53759
|
return this.getPropertyValue("maskSettings");
|
|
53432
53760
|
},
|
|
@@ -53706,12 +54034,14 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
|
53706
54034
|
});
|
|
53707
54035
|
Object.defineProperty(QuestionTextModel.prototype, "inputValue", {
|
|
53708
54036
|
get: function () {
|
|
53709
|
-
return
|
|
54037
|
+
return this._inputValue;
|
|
53710
54038
|
},
|
|
53711
54039
|
set: function (val) {
|
|
53712
54040
|
var value = val;
|
|
54041
|
+
this._inputValue = val;
|
|
53713
54042
|
if (!this.maskTypeIsEmpty) {
|
|
53714
54043
|
value = this.maskInstance.getUnmaskedValue(val);
|
|
54044
|
+
this._inputValue = this.maskInstance.getMaskedValue(value);
|
|
53715
54045
|
if (!!value && this.maskSettings.saveMaskedValue) {
|
|
53716
54046
|
value = this.maskInstance.getMaskedValue(value);
|
|
53717
54047
|
}
|
|
@@ -53721,6 +54051,21 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
|
53721
54051
|
enumerable: false,
|
|
53722
54052
|
configurable: true
|
|
53723
54053
|
});
|
|
54054
|
+
QuestionTextModel.prototype.onChangeQuestionValue = function (newValue) {
|
|
54055
|
+
_super.prototype.onChangeQuestionValue.call(this, newValue);
|
|
54056
|
+
this.updateInputValue();
|
|
54057
|
+
};
|
|
54058
|
+
QuestionTextModel.prototype.updateInputValue = function () {
|
|
54059
|
+
if (this.maskTypeIsEmpty) {
|
|
54060
|
+
this._inputValue = this.value;
|
|
54061
|
+
}
|
|
54062
|
+
else if (this.maskSettings.saveMaskedValue) {
|
|
54063
|
+
this._inputValue = !!this.value ? this.value : this.maskInstance.getMaskedValue("");
|
|
54064
|
+
}
|
|
54065
|
+
else {
|
|
54066
|
+
this._inputValue = this.maskInstance.getMaskedValue(this.value);
|
|
54067
|
+
}
|
|
54068
|
+
};
|
|
53724
54069
|
QuestionTextModel.prototype.onCheckForErrors = function (errors, isOnValueChanged) {
|
|
53725
54070
|
var _this = this;
|
|
53726
54071
|
_super.prototype.onCheckForErrors.call(this, errors, isOnValueChanged);
|
|
@@ -53937,6 +54282,9 @@ var QuestionTextModel = /** @class */ (function (_super) {
|
|
|
53937
54282
|
onSet: function (newValue, target) { target.onSetMaskType(newValue); }
|
|
53938
54283
|
})
|
|
53939
54284
|
], QuestionTextModel.prototype, "maskType", void 0);
|
|
54285
|
+
__decorate([
|
|
54286
|
+
Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
|
54287
|
+
], QuestionTextModel.prototype, "_inputValue", void 0);
|
|
53940
54288
|
return QuestionTextModel;
|
|
53941
54289
|
}(_question_textbase__WEBPACK_IMPORTED_MODULE_7__["QuestionTextBase"]));
|
|
53942
54290
|
|
|
@@ -54697,23 +55045,25 @@ var RendererFactory = /** @class */ (function () {
|
|
|
54697
55045
|
"use strict";
|
|
54698
55046
|
__webpack_require__.r(__webpack_exports__);
|
|
54699
55047
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return settings; });
|
|
54700
|
-
/* harmony import */ var
|
|
55048
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
55049
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
|
55050
|
+
|
|
54701
55051
|
|
|
54702
55052
|
var document = typeof globalThis !== "undefined" ? globalThis.document : undefined.document;
|
|
54703
55053
|
var defaultEnvironment = (!!document ? {
|
|
54704
55054
|
root: document,
|
|
54705
|
-
_rootElement:
|
|
55055
|
+
_rootElement: _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody(),
|
|
54706
55056
|
get rootElement() {
|
|
54707
55057
|
var _a;
|
|
54708
|
-
return (_a = this._rootElement) !== null && _a !== void 0 ? _a :
|
|
55058
|
+
return (_a = this._rootElement) !== null && _a !== void 0 ? _a : _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
|
54709
55059
|
},
|
|
54710
55060
|
set rootElement(rootElement) {
|
|
54711
55061
|
this._rootElement = rootElement;
|
|
54712
55062
|
},
|
|
54713
|
-
_popupMountContainer:
|
|
55063
|
+
_popupMountContainer: _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody(),
|
|
54714
55064
|
get popupMountContainer() {
|
|
54715
55065
|
var _a;
|
|
54716
|
-
return (_a = this._popupMountContainer) !== null && _a !== void 0 ? _a :
|
|
55066
|
+
return (_a = this._popupMountContainer) !== null && _a !== void 0 ? _a : _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getBody();
|
|
54717
55067
|
},
|
|
54718
55068
|
set popupMountContainer(popupMountContainer) {
|
|
54719
55069
|
this._popupMountContainer = popupMountContainer;
|
|
@@ -54762,7 +55112,7 @@ var settings = {
|
|
|
54762
55112
|
* Nested properties:
|
|
54763
55113
|
*
|
|
54764
55114
|
* - `useLocalTimeZone`: `boolean`\
|
|
54765
|
-
* 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`.
|
|
55115
|
+
* 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`.
|
|
54766
55116
|
*
|
|
54767
55117
|
* - `defaultLocaleName`: `string`\
|
|
54768
55118
|
* A property key that stores a translation for the default locale. Default value: `"default"`.
|
|
@@ -54908,7 +55258,8 @@ var settings = {
|
|
|
54908
55258
|
* - `enabled`: `boolean`\
|
|
54909
55259
|
* Specifies whether to add questions to the DOM only when they get into the viewport. Default value: `false`.
|
|
54910
55260
|
*
|
|
54911
|
-
*
|
|
55261
|
+
* [View Demo](https://surveyjs.io/form-library/examples/survey-lazy/ (linkStyle))
|
|
55262
|
+
* @see [SurveyModel.lazyRendering](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#lazyRendering)
|
|
54912
55263
|
*/
|
|
54913
55264
|
lazyRender: {
|
|
54914
55265
|
enabled: false,
|
|
@@ -55142,7 +55493,7 @@ var settings = {
|
|
|
55142
55493
|
* @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
|
|
55143
55494
|
*/
|
|
55144
55495
|
confirmActionAsync: function (message, callback, applyTitle, locale, rootElement) {
|
|
55145
|
-
return Object(
|
|
55496
|
+
return Object(_utils_utils__WEBPACK_IMPORTED_MODULE_1__["showConfirmDialog"])(message, callback, applyTitle, locale, rootElement);
|
|
55146
55497
|
},
|
|
55147
55498
|
/**
|
|
55148
55499
|
* A minimum width value for all survey elements.
|
|
@@ -55383,6 +55734,20 @@ var settings = {
|
|
|
55383
55734
|
]
|
|
55384
55735
|
},
|
|
55385
55736
|
legacyProgressBarView: false,
|
|
55737
|
+
/**
|
|
55738
|
+
* An object with properties that configure input masks.
|
|
55739
|
+
*
|
|
55740
|
+
* Nested properties:
|
|
55741
|
+
*
|
|
55742
|
+
* - `patternPlaceholderChar`: `string`\
|
|
55743
|
+
* 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: `"_"`.
|
|
55744
|
+
*
|
|
55745
|
+
* - `patternEscapeChar`: `string`\
|
|
55746
|
+
* A symbol used to insert literal representations of special characters in [pattern masks](https://surveyjs.io/form-library/documentation/api-reference/inputmaskpattern). Default value: `"\\"`.
|
|
55747
|
+
*
|
|
55748
|
+
* - `patternDefinitions`: `<{ [key: string]: RegExp }>`\
|
|
55749
|
+
* 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]/ }`.
|
|
55750
|
+
*/
|
|
55386
55751
|
maskSettings: {
|
|
55387
55752
|
patternPlaceholderChar: "_",
|
|
55388
55753
|
patternEscapeChar: "\\",
|
|
@@ -55416,8 +55781,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55416
55781
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "winterstoneThemeColors", function() { return winterstoneThemeColors; });
|
|
55417
55782
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return StylesManager; });
|
|
55418
55783
|
/* harmony import */ var _defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultCss/defaultV2Css */ "./src/defaultCss/defaultV2Css.ts");
|
|
55419
|
-
/* harmony import */ var
|
|
55420
|
-
/* harmony import */ var
|
|
55784
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
55785
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
|
55786
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/utils */ "./src/utils/utils.ts");
|
|
55787
|
+
|
|
55421
55788
|
|
|
55422
55789
|
|
|
55423
55790
|
|
|
@@ -55651,11 +56018,11 @@ var StylesManager = /** @class */ (function () {
|
|
|
55651
56018
|
return themeMapper;
|
|
55652
56019
|
};
|
|
55653
56020
|
StylesManager.getIncludedThemeCss = function () {
|
|
55654
|
-
if (typeof
|
|
56021
|
+
if (typeof _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment === "undefined")
|
|
55655
56022
|
return [];
|
|
55656
|
-
var rootElement =
|
|
56023
|
+
var rootElement = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.rootElement;
|
|
55657
56024
|
var themeMapper = StylesManager.getAvailableThemes();
|
|
55658
|
-
var element = Object(
|
|
56025
|
+
var element = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["isShadowDOM"])(rootElement) ? rootElement.host : rootElement;
|
|
55659
56026
|
if (!!element) {
|
|
55660
56027
|
var styles_1 = getComputedStyle(element);
|
|
55661
56028
|
if (styles_1.length) {
|
|
@@ -55665,9 +56032,9 @@ var StylesManager = /** @class */ (function () {
|
|
|
55665
56032
|
return [];
|
|
55666
56033
|
};
|
|
55667
56034
|
StylesManager.findSheet = function (styleSheetId) {
|
|
55668
|
-
if (typeof
|
|
56035
|
+
if (typeof _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment === "undefined")
|
|
55669
56036
|
return null;
|
|
55670
|
-
var styleSheets =
|
|
56037
|
+
var styleSheets = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.root.styleSheets;
|
|
55671
56038
|
for (var i = 0; i < styleSheets.length; i++) {
|
|
55672
56039
|
if (!!styleSheets[i].ownerNode && styleSheets[i].ownerNode["id"] === styleSheetId) {
|
|
55673
56040
|
return styleSheets[i];
|
|
@@ -55676,14 +56043,14 @@ var StylesManager = /** @class */ (function () {
|
|
|
55676
56043
|
return null;
|
|
55677
56044
|
};
|
|
55678
56045
|
StylesManager.createSheet = function (styleSheetId) {
|
|
55679
|
-
var stylesSheetsMountContainer =
|
|
55680
|
-
var style =
|
|
56046
|
+
var stylesSheetsMountContainer = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.stylesSheetsMountContainer;
|
|
56047
|
+
var style = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].createElement("style");
|
|
55681
56048
|
style.id = styleSheetId;
|
|
55682
56049
|
// Add a media (and/or media query) here if you'd like!
|
|
55683
56050
|
// style.setAttribute("media", "screen")
|
|
55684
56051
|
// style.setAttribute("media", "only screen and (max-width : 1024px)")
|
|
55685
|
-
style.appendChild(
|
|
55686
|
-
Object(
|
|
56052
|
+
style.appendChild(new Text(""));
|
|
56053
|
+
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["getElement"])(stylesSheetsMountContainer).appendChild(style);
|
|
55687
56054
|
if (!!StylesManager.Logger) {
|
|
55688
56055
|
StylesManager.Logger.log("style sheet " + styleSheetId + " created");
|
|
55689
56056
|
}
|
|
@@ -55691,10 +56058,10 @@ var StylesManager = /** @class */ (function () {
|
|
|
55691
56058
|
};
|
|
55692
56059
|
StylesManager.applyTheme = function (themeName, themeSelector) {
|
|
55693
56060
|
if (themeName === void 0) { themeName = "default"; }
|
|
55694
|
-
if (typeof
|
|
56061
|
+
if (typeof _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment === "undefined")
|
|
55695
56062
|
return;
|
|
55696
|
-
var rootElement =
|
|
55697
|
-
var element = Object(
|
|
56063
|
+
var rootElement = _settings__WEBPACK_IMPORTED_MODULE_2__["settings"].environment.rootElement;
|
|
56064
|
+
var element = Object(_utils_utils__WEBPACK_IMPORTED_MODULE_3__["isShadowDOM"])(rootElement) ? rootElement.host : rootElement;
|
|
55698
56065
|
_defaultCss_defaultV2Css__WEBPACK_IMPORTED_MODULE_0__["surveyCss"].currentType = themeName;
|
|
55699
56066
|
if (StylesManager.Enabled) {
|
|
55700
56067
|
if (themeName !== "bootstrap" && themeName !== "bootstrapmaterial") {
|
|
@@ -55809,6 +56176,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55809
56176
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
|
|
55810
56177
|
/* harmony import */ var _actions_container__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./actions/container */ "./src/actions/container.ts");
|
|
55811
56178
|
/* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
|
|
56179
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
55812
56180
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
55813
56181
|
var extendStatics = function (d, b) {
|
|
55814
56182
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -55837,6 +56205,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
55837
56205
|
|
|
55838
56206
|
|
|
55839
56207
|
|
|
56208
|
+
|
|
55840
56209
|
/**
|
|
55841
56210
|
* A base class for the [`SurveyElement`](https://surveyjs.io/form-library/documentation/surveyelement) and [`SurveyModel`](https://surveyjs.io/form-library/documentation/surveymodel) classes.
|
|
55842
56211
|
*/
|
|
@@ -56066,11 +56435,11 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
|
56066
56435
|
elLeft = el.getBoundingClientRect().left;
|
|
56067
56436
|
needScroll = elLeft < 0;
|
|
56068
56437
|
}
|
|
56069
|
-
if (
|
|
56070
|
-
var height =
|
|
56438
|
+
if (!needScroll && _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].isAvailable()) {
|
|
56439
|
+
var height = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].getInnerHeight();
|
|
56071
56440
|
needScroll = height > 0 && height < elTop;
|
|
56072
56441
|
if (!needScroll && checkLeft) {
|
|
56073
|
-
var width =
|
|
56442
|
+
var width = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].getInnerWidth();
|
|
56074
56443
|
needScroll = width > 0 && width < elLeft;
|
|
56075
56444
|
}
|
|
56076
56445
|
}
|
|
@@ -56098,7 +56467,7 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
|
56098
56467
|
return null;
|
|
56099
56468
|
};
|
|
56100
56469
|
SurveyElement.FocusElement = function (elementId) {
|
|
56101
|
-
if (!elementId ||
|
|
56470
|
+
if (!elementId || !_global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomDocumentHelper"].isAvailable())
|
|
56102
56471
|
return false;
|
|
56103
56472
|
var res = SurveyElement.focusElementCore(elementId);
|
|
56104
56473
|
if (!res) {
|
|
@@ -57013,12 +57382,13 @@ var SurveyElement = /** @class */ (function (_super) {
|
|
|
57013
57382
|
});
|
|
57014
57383
|
SurveyElement.prototype.isContainsSelection = function (el) {
|
|
57015
57384
|
var elementWithSelection = undefined;
|
|
57016
|
-
|
|
57017
|
-
|
|
57385
|
+
var _document = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomDocumentHelper"].getDocument();
|
|
57386
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomDocumentHelper"].isAvailable() && !!_document && _document["selection"]) {
|
|
57387
|
+
elementWithSelection = _document["selection"].createRange().parentElement();
|
|
57018
57388
|
}
|
|
57019
57389
|
else {
|
|
57020
|
-
var selection =
|
|
57021
|
-
if (selection.rangeCount > 0) {
|
|
57390
|
+
var selection = _global_variables_utils__WEBPACK_IMPORTED_MODULE_7__["DomWindowHelper"].getSelection();
|
|
57391
|
+
if (!!selection && selection.rangeCount > 0) {
|
|
57022
57392
|
var range = selection.getRangeAt(0);
|
|
57023
57393
|
if (range.startOffset !== range.endOffset) {
|
|
57024
57394
|
elementWithSelection = range.startContainer.parentNode;
|
|
@@ -57236,6 +57606,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
57236
57606
|
/* harmony import */ var _surveyTaskManager__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./surveyTaskManager */ "./src/surveyTaskManager.ts");
|
|
57237
57607
|
/* harmony import */ var _progress_buttons__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./progress-buttons */ "./src/progress-buttons.ts");
|
|
57238
57608
|
/* harmony import */ var _surveyToc__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./surveyToc */ "./src/surveyToc.ts");
|
|
57609
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
57239
57610
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
57240
57611
|
var extendStatics = function (d, b) {
|
|
57241
57612
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -57280,6 +57651,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
57280
57651
|
|
|
57281
57652
|
|
|
57282
57653
|
|
|
57654
|
+
|
|
57283
57655
|
|
|
57284
57656
|
|
|
57285
57657
|
/**
|
|
@@ -57408,7 +57780,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
57408
57780
|
*/
|
|
57409
57781
|
_this.onPageVisibleChanged = _this.addEvent();
|
|
57410
57782
|
/**
|
|
57411
|
-
* An event that is raised after
|
|
57783
|
+
* An event that is raised after panel visibility is changed.
|
|
57412
57784
|
*
|
|
57413
57785
|
* For information on event handler parameters, refer to descriptions within the interface.
|
|
57414
57786
|
*
|
|
@@ -57803,6 +58175,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
57803
58175
|
* This event is obsolete. Use the [`onMatrixRenderRemoveButton`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRenderRemoveButton) event instead.
|
|
57804
58176
|
*/
|
|
57805
58177
|
_this.onMatrixAllowRemoveRow = _this.onMatrixRenderRemoveButton;
|
|
58178
|
+
/**
|
|
58179
|
+
* 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.
|
|
58180
|
+
*/
|
|
58181
|
+
_this.onMatrixDetailPanelVisibleChanged = _this.addEvent();
|
|
57806
58182
|
/**
|
|
57807
58183
|
* 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.
|
|
57808
58184
|
* @see onAfterRenderMatrixCell
|
|
@@ -58012,7 +58388,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
58012
58388
|
_this.skippedPages = [];
|
|
58013
58389
|
_this.skeletonComponentName = "sv-skeleton";
|
|
58014
58390
|
_this.taskManager = new _surveyTaskManager__WEBPACK_IMPORTED_MODULE_22__["SurveyTaskManagerModel"]();
|
|
58015
|
-
if (
|
|
58391
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].isAvailable()) {
|
|
58016
58392
|
SurveyModel.stylesManager = new _stylesmanager__WEBPACK_IMPORTED_MODULE_11__["StylesManager"]();
|
|
58017
58393
|
}
|
|
58018
58394
|
var htmlCallBack = function (str) { return "<h3>" + str + "</h3>"; };
|
|
@@ -58446,13 +58822,12 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
58446
58822
|
/**
|
|
58447
58823
|
* Specifies whether to enable lazy rendering.
|
|
58448
58824
|
*
|
|
58449
|
-
* 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
|
|
58825
|
+
* 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.
|
|
58450
58826
|
*
|
|
58451
58827
|
* Default value: `false`
|
|
58452
58828
|
*
|
|
58453
58829
|
* [View Demo](https://surveyjs.io/form-library/examples/survey-lazy/ (linkStyle))
|
|
58454
|
-
*
|
|
58455
|
-
* > This is an experimental feature that may not work properly in certain cases.
|
|
58830
|
+
* @see [settings.lazyRender](https://surveyjs.io/form-library/documentation/api-reference/settings#lazyRender)
|
|
58456
58831
|
*/
|
|
58457
58832
|
get: function () {
|
|
58458
58833
|
return this.lazyRenderingValue === true;
|
|
@@ -60132,7 +60507,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
60132
60507
|
* - `"belowHeader"` - Displays the progress bar below the survey header.
|
|
60133
60508
|
* - `"bottom"` - Displays the progress bar below survey content.
|
|
60134
60509
|
* - `"topBottom"` - Displays the progress bar above and below survey content.
|
|
60135
|
-
* - `"auto"` -
|
|
60510
|
+
* - `"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.
|
|
60136
60511
|
* - `"top"` - *(Obsolete)* Use the `"aboveHeader"` or `"belowHeader"` property value instead.
|
|
60137
60512
|
* - `"both"` - *(Obsolete)* Use the `"topBottom"` property value instead.
|
|
60138
60513
|
*
|
|
@@ -61174,8 +61549,10 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
61174
61549
|
SurveyModel.prototype.currentPageChanged = function (newValue, oldValue) {
|
|
61175
61550
|
this.notifyQuestionsOnHidingContent(oldValue);
|
|
61176
61551
|
var options = this.createPageChangeEventOptions(newValue, oldValue);
|
|
61177
|
-
if (
|
|
61178
|
-
oldValue.
|
|
61552
|
+
if (oldValue && !oldValue.passed) {
|
|
61553
|
+
if (oldValue.validate(false)) {
|
|
61554
|
+
oldValue.passed = true;
|
|
61555
|
+
}
|
|
61179
61556
|
}
|
|
61180
61557
|
this.onCurrentPageChanged.fire(this, options);
|
|
61181
61558
|
};
|
|
@@ -61367,9 +61744,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
61367
61744
|
* @see deleteCookie
|
|
61368
61745
|
*/
|
|
61369
61746
|
get: function () {
|
|
61370
|
-
if (!this.cookieName
|
|
61747
|
+
if (!this.cookieName)
|
|
61371
61748
|
return false;
|
|
61372
|
-
var cookies =
|
|
61749
|
+
var cookies = _global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].getCookie();
|
|
61373
61750
|
return cookies && cookies.indexOf(this.cookieName + "=true") > -1;
|
|
61374
61751
|
},
|
|
61375
61752
|
enumerable: false,
|
|
@@ -61381,10 +61758,9 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
61381
61758
|
* @see deleteCookie
|
|
61382
61759
|
*/
|
|
61383
61760
|
SurveyModel.prototype.setCookie = function () {
|
|
61384
|
-
if (!this.cookieName
|
|
61761
|
+
if (!this.cookieName)
|
|
61385
61762
|
return;
|
|
61386
|
-
|
|
61387
|
-
this.cookieName + "=true; expires=Fri, 31 Dec 9999 0:0:0 GMT";
|
|
61763
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].setCookie(this.cookieName + "=true; expires=Fri, 31 Dec 9999 0:0:0 GMT");
|
|
61388
61764
|
};
|
|
61389
61765
|
/**
|
|
61390
61766
|
* Deletes a cookie with a specified [`cookieName`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#cookieName) from the browser.
|
|
@@ -61394,7 +61770,7 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
61394
61770
|
SurveyModel.prototype.deleteCookie = function () {
|
|
61395
61771
|
if (!this.cookieName)
|
|
61396
61772
|
return;
|
|
61397
|
-
|
|
61773
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].setCookie(this.cookieName + "=;");
|
|
61398
61774
|
};
|
|
61399
61775
|
Object.defineProperty(SurveyModel.prototype, "ignoreValidation", {
|
|
61400
61776
|
/**
|
|
@@ -62559,11 +62935,11 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
62559
62935
|
var observedElement = htmlElement;
|
|
62560
62936
|
var cssVariables = this.css.variables;
|
|
62561
62937
|
if (!!cssVariables) {
|
|
62562
|
-
var mobileWidth_1 = Number.parseFloat(
|
|
62938
|
+
var mobileWidth_1 = Number.parseFloat(_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomDocumentHelper"].getComputedStyle(observedElement).getPropertyValue(cssVariables.mobileWidth));
|
|
62563
62939
|
if (!!mobileWidth_1) {
|
|
62564
62940
|
var isProcessed_1 = false;
|
|
62565
62941
|
this.resizeObserver = new ResizeObserver(function (entries) {
|
|
62566
|
-
|
|
62942
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_25__["DomWindowHelper"].requestAnimationFrame(function () {
|
|
62567
62943
|
if (isProcessed_1 || !Object(_utils_utils__WEBPACK_IMPORTED_MODULE_15__["isContainerVisible"])(observedElement)) {
|
|
62568
62944
|
isProcessed_1 = false;
|
|
62569
62945
|
}
|
|
@@ -62749,15 +63125,14 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
62749
63125
|
return options.allow;
|
|
62750
63126
|
};
|
|
62751
63127
|
SurveyModel.prototype.matrixAllowRemoveRow = function (question, rowIndex, row) {
|
|
62752
|
-
var options = {
|
|
62753
|
-
question: question,
|
|
62754
|
-
rowIndex: rowIndex,
|
|
62755
|
-
row: row,
|
|
62756
|
-
allow: true,
|
|
62757
|
-
};
|
|
63128
|
+
var options = { question: question, rowIndex: rowIndex, row: row, allow: true };
|
|
62758
63129
|
this.onMatrixRenderRemoveButton.fire(this, options);
|
|
62759
63130
|
return options.allow;
|
|
62760
63131
|
};
|
|
63132
|
+
SurveyModel.prototype.matrixDetailPanelVisibleChanged = function (question, rowIndex, row, visible) {
|
|
63133
|
+
var options = { question: question, rowIndex: rowIndex, row: row, visible: visible, detailPanel: row.detailPanel };
|
|
63134
|
+
this.onMatrixDetailPanelVisibleChanged.fire(this, options);
|
|
63135
|
+
};
|
|
62761
63136
|
SurveyModel.prototype.matrixCellCreating = function (question, options) {
|
|
62762
63137
|
options.question = question;
|
|
62763
63138
|
this.onMatrixCellCreating.fire(this, options);
|
|
@@ -62940,8 +63315,11 @@ var SurveyModel = /** @class */ (function (_super) {
|
|
|
62940
63315
|
this.onOpenFileChooser.fire(this, {
|
|
62941
63316
|
input: input,
|
|
62942
63317
|
element: context && context.element || this.survey,
|
|
63318
|
+
elementType: context && context.elementType,
|
|
62943
63319
|
item: context && context.item,
|
|
62944
|
-
|
|
63320
|
+
propertyName: context && context.propertyName,
|
|
63321
|
+
callback: callback,
|
|
63322
|
+
context: context
|
|
62945
63323
|
});
|
|
62946
63324
|
}
|
|
62947
63325
|
};
|
|
@@ -66293,9 +66671,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
66293
66671
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TOCModel", function() { return TOCModel; });
|
|
66294
66672
|
/* harmony import */ var _actions_action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./actions/action */ "./src/actions/action.ts");
|
|
66295
66673
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./base */ "./src/base.ts");
|
|
66296
|
-
/* harmony import */ var
|
|
66297
|
-
/* harmony import */ var
|
|
66298
|
-
/* harmony import */ var
|
|
66674
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
66675
|
+
/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./list */ "./src/list.ts");
|
|
66676
|
+
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./page */ "./src/page.ts");
|
|
66677
|
+
/* harmony import */ var _popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./popup */ "./src/popup.ts");
|
|
66678
|
+
|
|
66299
66679
|
|
|
66300
66680
|
|
|
66301
66681
|
|
|
@@ -66317,11 +66697,9 @@ function createTOCListModel(survey, onAction) {
|
|
|
66317
66697
|
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),
|
|
66318
66698
|
title: page.renderedNavigationTitle,
|
|
66319
66699
|
action: function () {
|
|
66320
|
-
|
|
66321
|
-
!!document.activeElement.blur && document.activeElement.blur();
|
|
66322
|
-
}
|
|
66700
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_2__["DomDocumentHelper"].activeElementBlur();
|
|
66323
66701
|
!!onAction && onAction();
|
|
66324
|
-
if (page instanceof
|
|
66702
|
+
if (page instanceof _page__WEBPACK_IMPORTED_MODULE_4__["PageModel"]) {
|
|
66325
66703
|
return survey.tryNavigateToPage(page);
|
|
66326
66704
|
}
|
|
66327
66705
|
return tryFocusPage(survey, page);
|
|
@@ -66329,7 +66707,7 @@ function createTOCListModel(survey, onAction) {
|
|
|
66329
66707
|
visible: new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return page.isVisible && !(page["isStartPage"]); })
|
|
66330
66708
|
});
|
|
66331
66709
|
});
|
|
66332
|
-
var listModel = new
|
|
66710
|
+
var listModel = new _list__WEBPACK_IMPORTED_MODULE_3__["ListModel"](items, function (item) {
|
|
66333
66711
|
if (!!item.action()) {
|
|
66334
66712
|
listModel.selectedItem = item;
|
|
66335
66713
|
}
|
|
@@ -66358,7 +66736,7 @@ var TOCModel = /** @class */ (function () {
|
|
|
66358
66736
|
_this.popupModel.toggleVisibility();
|
|
66359
66737
|
};
|
|
66360
66738
|
this.listModel = createTOCListModel(survey, function () { _this.popupModel.isVisible = false; });
|
|
66361
|
-
this.popupModel = new
|
|
66739
|
+
this.popupModel = new _popup__WEBPACK_IMPORTED_MODULE_5__["PopupModel"]("sv-list", { model: this.listModel });
|
|
66362
66740
|
this.popupModel.overlayDisplayMode = "overlay";
|
|
66363
66741
|
this.popupModel.displayMode = new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return _this.isMobile ? "overlay" : "popup"; });
|
|
66364
66742
|
}
|
|
@@ -66405,17 +66783,15 @@ var surveyTimerFunctions = {
|
|
|
66405
66783
|
return surveyTimerFunctions.safeTimeOut(func, 1000);
|
|
66406
66784
|
},
|
|
66407
66785
|
clearTimeout: function (timerId) {
|
|
66408
|
-
|
|
66409
|
-
return;
|
|
66410
|
-
window.clearTimeout(timerId);
|
|
66786
|
+
clearTimeout(timerId);
|
|
66411
66787
|
},
|
|
66412
66788
|
safeTimeOut: function (func, delay) {
|
|
66413
|
-
if (
|
|
66789
|
+
if (delay <= 0) {
|
|
66414
66790
|
func();
|
|
66415
66791
|
return 0;
|
|
66416
66792
|
}
|
|
66417
66793
|
else {
|
|
66418
|
-
return
|
|
66794
|
+
return setTimeout(func, delay);
|
|
66419
66795
|
}
|
|
66420
66796
|
}
|
|
66421
66797
|
};
|
|
@@ -66496,6 +66872,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
66496
66872
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SvgIconRegistry", function() { return SvgIconRegistry; });
|
|
66497
66873
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SvgRegistry", function() { return SvgRegistry; });
|
|
66498
66874
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SvgBundleViewModel", function() { return SvgBundleViewModel; });
|
|
66875
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./global_variables_utils */ "./src/global_variables_utils.ts");
|
|
66876
|
+
|
|
66499
66877
|
var SvgIconData = /** @class */ (function () {
|
|
66500
66878
|
function SvgIconData() {
|
|
66501
66879
|
}
|
|
@@ -66516,12 +66894,12 @@ var SvgIconRegistry = /** @class */ (function () {
|
|
|
66516
66894
|
};
|
|
66517
66895
|
SvgIconRegistry.prototype.registerIconFromSvgViaElement = function (iconId, iconSvg, iconPrefix) {
|
|
66518
66896
|
if (iconPrefix === void 0) { iconPrefix = this.iconPrefix; }
|
|
66519
|
-
if (
|
|
66897
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].isAvailable())
|
|
66520
66898
|
return;
|
|
66521
66899
|
iconId = this.processId(iconId, iconPrefix);
|
|
66522
|
-
var divSvg =
|
|
66900
|
+
var divSvg = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("div");
|
|
66523
66901
|
divSvg.innerHTML = iconSvg;
|
|
66524
|
-
var symbol =
|
|
66902
|
+
var symbol = _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].createElement("symbol");
|
|
66525
66903
|
var svg = divSvg.querySelector("svg");
|
|
66526
66904
|
symbol.innerHTML = svg.innerHTML;
|
|
66527
66905
|
for (var i = 0; i < svg.attributes.length; i++) {
|
|
@@ -67481,7 +67859,9 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_2__["Serializer"].addClass("runexpressiontr
|
|
|
67481
67859
|
"use strict";
|
|
67482
67860
|
__webpack_require__.r(__webpack_exports__);
|
|
67483
67861
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Camera", function() { return Camera; });
|
|
67484
|
-
/* harmony import */ var
|
|
67862
|
+
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../settings */ "./src/settings.ts");
|
|
67863
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
|
67864
|
+
|
|
67485
67865
|
|
|
67486
67866
|
var Camera = /** @class */ (function () {
|
|
67487
67867
|
function Camera() {
|
|
@@ -67588,7 +67968,7 @@ var Camera = /** @class */ (function () {
|
|
|
67588
67968
|
Camera.prototype.startVideo = function (videoElementId, callback, imageWidth, imageHeight) {
|
|
67589
67969
|
var _this = this;
|
|
67590
67970
|
var _a;
|
|
67591
|
-
var videoEl = (_a =
|
|
67971
|
+
var videoEl = (_a = _settings__WEBPACK_IMPORTED_MODULE_0__["settings"].environment.root) === null || _a === void 0 ? void 0 : _a.getElementById(videoElementId);
|
|
67592
67972
|
if (!videoEl) {
|
|
67593
67973
|
callback(undefined);
|
|
67594
67974
|
return;
|
|
@@ -67616,10 +67996,10 @@ var Camera = /** @class */ (function () {
|
|
|
67616
67996
|
return { width: videoEl.videoWidth, height: videoEl.videoHeight };
|
|
67617
67997
|
};
|
|
67618
67998
|
Camera.prototype.snap = function (videoElementId, callback) {
|
|
67619
|
-
if ("
|
|
67999
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].isAvailable())
|
|
67620
68000
|
return false;
|
|
67621
|
-
var root =
|
|
67622
|
-
var videoEl = root.getElementById(videoElementId);
|
|
68001
|
+
var root = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].getDocument();
|
|
68002
|
+
var videoEl = root === null || root === void 0 ? void 0 : root.getElementById(videoElementId);
|
|
67623
68003
|
if (!videoEl)
|
|
67624
68004
|
return false;
|
|
67625
68005
|
var canvasEl = root.createElement("canvas");
|
|
@@ -67738,14 +68118,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
67738
68118
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mouseInfo", function() { return mouseInfo; });
|
|
67739
68119
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsTouch", function() { return IsTouch; });
|
|
67740
68120
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_setIsTouch", function() { return _setIsTouch; });
|
|
68121
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
|
68122
|
+
|
|
67741
68123
|
// isMobile
|
|
67742
68124
|
var _isMobile = false;
|
|
67743
68125
|
var vendor = null;
|
|
67744
|
-
if (typeof navigator !== "undefined" &&
|
|
67745
|
-
|
|
67746
|
-
navigator &&
|
|
67747
|
-
window) {
|
|
67748
|
-
vendor = navigator.userAgent || navigator.vendor || window.opera;
|
|
68126
|
+
if (typeof navigator !== "undefined" && !!navigator && _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].isAvailable()) {
|
|
68127
|
+
vendor = navigator.userAgent || navigator.vendor || _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].hasOwn("opera");
|
|
67749
68128
|
}
|
|
67750
68129
|
(function (a) {
|
|
67751
68130
|
if (!a)
|
|
@@ -67764,7 +68143,7 @@ var mouseInfo = {
|
|
|
67764
68143
|
return !this.hasMouse && this.hasTouchEvent;
|
|
67765
68144
|
},
|
|
67766
68145
|
get hasTouchEvent() {
|
|
67767
|
-
return
|
|
68146
|
+
return _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].isAvailable() && (_global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].hasOwn("ontouchstart") || navigator.maxTouchPoints > 0);
|
|
67768
68147
|
},
|
|
67769
68148
|
hasMouse: true
|
|
67770
68149
|
};
|
|
@@ -67789,7 +68168,9 @@ function _setIsTouch(val) {
|
|
|
67789
68168
|
"use strict";
|
|
67790
68169
|
__webpack_require__.r(__webpack_exports__);
|
|
67791
68170
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DragOrClickHelper", function() { return DragOrClickHelper; });
|
|
67792
|
-
/* harmony import */ var
|
|
68171
|
+
/* harmony import */ var _devices__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./devices */ "./src/utils/devices.ts");
|
|
68172
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
|
68173
|
+
|
|
67793
68174
|
|
|
67794
68175
|
var DragOrClickHelper = /** @class */ (function () {
|
|
67795
68176
|
function DragOrClickHelper(dragHandler) {
|
|
@@ -67809,7 +68190,7 @@ var DragOrClickHelper = /** @class */ (function () {
|
|
|
67809
68190
|
};
|
|
67810
68191
|
}
|
|
67811
68192
|
DragOrClickHelper.prototype.onPointerDown = function (pointerDownEvent, itemModel) {
|
|
67812
|
-
if (
|
|
68193
|
+
if (_devices__WEBPACK_IMPORTED_MODULE_0__["IsTouch"]) {
|
|
67813
68194
|
this.dragHandler(pointerDownEvent, pointerDownEvent.currentTarget, itemModel); //TODO handle inside in the library's drag drop core, need refactoring
|
|
67814
68195
|
return;
|
|
67815
68196
|
}
|
|
@@ -67817,7 +68198,7 @@ var DragOrClickHelper = /** @class */ (function () {
|
|
|
67817
68198
|
this.currentTarget = pointerDownEvent.currentTarget;
|
|
67818
68199
|
this.startX = pointerDownEvent.pageX;
|
|
67819
68200
|
this.startY = pointerDownEvent.pageY;
|
|
67820
|
-
|
|
68201
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].addEventListener("pointermove", this.tryToStartDrag);
|
|
67821
68202
|
this.currentTarget.addEventListener("pointerup", this.onPointerUp);
|
|
67822
68203
|
this.itemModel = itemModel;
|
|
67823
68204
|
};
|
|
@@ -67835,7 +68216,7 @@ var DragOrClickHelper = /** @class */ (function () {
|
|
|
67835
68216
|
DragOrClickHelper.prototype.clearListeners = function () {
|
|
67836
68217
|
if (!this.pointerDownEvent)
|
|
67837
68218
|
return;
|
|
67838
|
-
|
|
68219
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_1__["DomDocumentHelper"].removeEventListener("pointermove", this.tryToStartDrag);
|
|
67839
68220
|
this.currentTarget.removeEventListener("pointerup", this.onPointerUp);
|
|
67840
68221
|
};
|
|
67841
68222
|
return DragOrClickHelper;
|
|
@@ -68010,7 +68391,8 @@ var PopupUtils = /** @class */ (function () {
|
|
|
68010
68391
|
__webpack_require__.r(__webpack_exports__);
|
|
68011
68392
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResponsivityManager", function() { return ResponsivityManager; });
|
|
68012
68393
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VerticalResponsivityManager", function() { return VerticalResponsivityManager; });
|
|
68013
|
-
/* harmony import */ var
|
|
68394
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
|
68395
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ "./src/utils/utils.ts");
|
|
68014
68396
|
var __extends = (undefined && undefined.__extends) || (function () {
|
|
68015
68397
|
var extendStatics = function (d, b) {
|
|
68016
68398
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -68027,6 +68409,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
|
|
|
68027
68409
|
};
|
|
68028
68410
|
})();
|
|
68029
68411
|
|
|
68412
|
+
|
|
68030
68413
|
var ResponsivityManager = /** @class */ (function () {
|
|
68031
68414
|
function ResponsivityManager(container, model, itemsSelector, dotsItemSize, delayedUpdateFunction) {
|
|
68032
68415
|
var _this = this;
|
|
@@ -68044,7 +68427,9 @@ var ResponsivityManager = /** @class */ (function () {
|
|
|
68044
68427
|
this.paddingSizeConst = 8;
|
|
68045
68428
|
this.dotsSizeConst = 48;
|
|
68046
68429
|
this.recalcMinDimensionConst = true;
|
|
68047
|
-
this.getComputedStyle =
|
|
68430
|
+
this.getComputedStyle = function (elt) {
|
|
68431
|
+
return _global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomDocumentHelper"].getComputedStyle(elt);
|
|
68432
|
+
};
|
|
68048
68433
|
this.model.updateCallback = function (isResetInitialized) {
|
|
68049
68434
|
if (isResetInitialized)
|
|
68050
68435
|
_this.isInitialized = false;
|
|
@@ -68052,7 +68437,7 @@ var ResponsivityManager = /** @class */ (function () {
|
|
|
68052
68437
|
};
|
|
68053
68438
|
if (typeof ResizeObserver !== "undefined") {
|
|
68054
68439
|
this.resizeObserver = new ResizeObserver(function (entries) {
|
|
68055
|
-
|
|
68440
|
+
_global_variables_utils__WEBPACK_IMPORTED_MODULE_0__["DomWindowHelper"].requestAnimationFrame(function () {
|
|
68056
68441
|
_this.process();
|
|
68057
68442
|
});
|
|
68058
68443
|
});
|
|
@@ -68111,7 +68496,7 @@ var ResponsivityManager = /** @class */ (function () {
|
|
|
68111
68496
|
};
|
|
68112
68497
|
Object.defineProperty(ResponsivityManager.prototype, "isContainerVisible", {
|
|
68113
68498
|
get: function () {
|
|
68114
|
-
return Object(
|
|
68499
|
+
return Object(_utils__WEBPACK_IMPORTED_MODULE_1__["isContainerVisible"])(this.container);
|
|
68115
68500
|
},
|
|
68116
68501
|
enumerable: false,
|
|
68117
68502
|
configurable: true
|
|
@@ -68251,6 +68636,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
68251
68636
|
/* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../localizablestring */ "./src/localizablestring.ts");
|
|
68252
68637
|
/* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../settings */ "./src/settings.ts");
|
|
68253
68638
|
/* harmony import */ var _surveyStrings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../surveyStrings */ "./src/surveyStrings.ts");
|
|
68639
|
+
/* harmony import */ var _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../global_variables_utils */ "./src/global_variables_utils.ts");
|
|
68640
|
+
|
|
68254
68641
|
|
|
68255
68642
|
|
|
68256
68643
|
|
|
@@ -68286,18 +68673,14 @@ function confirmActionAsync(message, funcOnYes, funcOnNo, locale, rootElement) {
|
|
|
68286
68673
|
callbackFunc(confirmAction(message));
|
|
68287
68674
|
}
|
|
68288
68675
|
function detectIEBrowser() {
|
|
68289
|
-
|
|
68290
|
-
return false;
|
|
68291
|
-
var ua = window.navigator.userAgent;
|
|
68676
|
+
var ua = navigator.userAgent;
|
|
68292
68677
|
var oldIe = ua.indexOf("MSIE ");
|
|
68293
68678
|
var elevenIe = ua.indexOf("Trident/");
|
|
68294
68679
|
return oldIe > -1 || elevenIe > -1;
|
|
68295
68680
|
}
|
|
68296
68681
|
function detectIEOrEdge() {
|
|
68297
|
-
if (typeof window === "undefined")
|
|
68298
|
-
return false;
|
|
68299
68682
|
if (typeof detectIEOrEdge.isIEOrEdge === "undefined") {
|
|
68300
|
-
var ua =
|
|
68683
|
+
var ua = navigator.userAgent;
|
|
68301
68684
|
var msie = ua.indexOf("MSIE ");
|
|
68302
68685
|
var trident = ua.indexOf("Trident/");
|
|
68303
68686
|
var edge = ua.indexOf("Edge/");
|
|
@@ -68321,16 +68704,14 @@ function loadFileFromBase64(b64Data, fileName) {
|
|
|
68321
68704
|
}
|
|
68322
68705
|
// write the ArrayBuffer to a blob, and you're done
|
|
68323
68706
|
var bb = new Blob([ab], { type: mimeString });
|
|
68324
|
-
if (
|
|
68325
|
-
|
|
68326
|
-
window.navigator["msSaveBlob"]) {
|
|
68327
|
-
window.navigator["msSaveOrOpenBlob"](bb, fileName);
|
|
68707
|
+
if (!!navigator && navigator["msSaveBlob"]) {
|
|
68708
|
+
navigator["msSaveOrOpenBlob"](bb, fileName);
|
|
68328
68709
|
}
|
|
68329
68710
|
}
|
|
68330
68711
|
catch (err) { }
|
|
68331
68712
|
}
|
|
68332
68713
|
function isMobile() {
|
|
68333
|
-
return (
|
|
68714
|
+
return (_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isAvailable() && _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].hasOwn("orientation"));
|
|
68334
68715
|
}
|
|
68335
68716
|
var isShadowDOM = function (rootElement) {
|
|
68336
68717
|
return !!rootElement && !!("host" in rootElement && rootElement.host);
|
|
@@ -68349,7 +68730,7 @@ function isElementVisible(element, threshold) {
|
|
|
68349
68730
|
? root.host.clientHeight
|
|
68350
68731
|
: root.documentElement.clientHeight;
|
|
68351
68732
|
var elementRect = element.getBoundingClientRect();
|
|
68352
|
-
var viewHeight = Math.max(clientHeight,
|
|
68733
|
+
var viewHeight = Math.max(clientHeight, _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].getInnerHeight());
|
|
68353
68734
|
var topWin = -threshold;
|
|
68354
68735
|
var bottomWin = viewHeight + threshold;
|
|
68355
68736
|
var topEl = elementRect.top;
|
|
@@ -68391,9 +68772,10 @@ function scrollElementByChildId(id) {
|
|
|
68391
68772
|
}
|
|
68392
68773
|
}
|
|
68393
68774
|
function navigateToUrl(url) {
|
|
68394
|
-
|
|
68775
|
+
var location = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].getLocation();
|
|
68776
|
+
if (!url || !location)
|
|
68395
68777
|
return;
|
|
68396
|
-
|
|
68778
|
+
location.href = url;
|
|
68397
68779
|
}
|
|
68398
68780
|
function wrapUrlForBackgroundImage(url) {
|
|
68399
68781
|
return !!url ? ["url(", url, ")"].join("") : "";
|
|
@@ -68423,7 +68805,7 @@ function createSvg(size, width, height, iconName, svgElem, title) {
|
|
|
68423
68805
|
}
|
|
68424
68806
|
else {
|
|
68425
68807
|
if (!titleElement) {
|
|
68426
|
-
titleElement =
|
|
68808
|
+
titleElement = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].getDocument().createElementNS("http://www.w3.org/2000/svg", "title");
|
|
68427
68809
|
svgElem.appendChild(titleElement);
|
|
68428
68810
|
}
|
|
68429
68811
|
}
|
|
@@ -68530,7 +68912,7 @@ function increaseHeightByContent(element, getComputedStyle) {
|
|
|
68530
68912
|
if (!element)
|
|
68531
68913
|
return;
|
|
68532
68914
|
if (!getComputedStyle)
|
|
68533
|
-
getComputedStyle = function (elt) { return
|
|
68915
|
+
getComputedStyle = function (elt) { return _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].getComputedStyle(elt); };
|
|
68534
68916
|
var style = getComputedStyle(element);
|
|
68535
68917
|
element.style.height = "auto";
|
|
68536
68918
|
if (!!element.scrollHeight) {
|
|
@@ -68577,8 +68959,8 @@ function findParentByClassNames(element, classNames) {
|
|
|
68577
68959
|
}
|
|
68578
68960
|
function sanitizeEditableContent(element, cleanLineBreaks) {
|
|
68579
68961
|
if (cleanLineBreaks === void 0) { cleanLineBreaks = true; }
|
|
68580
|
-
if (
|
|
68581
|
-
var selection =
|
|
68962
|
+
if (_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isAvailable() && _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].isAvailable() && element.childNodes.length > 0) {
|
|
68963
|
+
var selection = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].getSelection();
|
|
68582
68964
|
if (selection.rangeCount == 0) {
|
|
68583
68965
|
return;
|
|
68584
68966
|
}
|
|
@@ -68596,14 +68978,19 @@ function sanitizeEditableContent(element, cleanLineBreaks) {
|
|
|
68596
68978
|
}
|
|
68597
68979
|
var tail_len = tail.length;
|
|
68598
68980
|
element.innerText = innerText;
|
|
68599
|
-
range =
|
|
68981
|
+
range = _global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomDocumentHelper"].getDocument().createRange();
|
|
68600
68982
|
range.setStart(element.firstChild, 0);
|
|
68601
68983
|
range.setEnd(element.firstChild, 0);
|
|
68602
68984
|
selection.removeAllRanges();
|
|
68603
68985
|
selection.addRange(range);
|
|
68604
|
-
|
|
68605
|
-
selection.
|
|
68986
|
+
while (selection.toString().length < innerText.length - tail_len) {
|
|
68987
|
+
var selLen = selection.toString().length;
|
|
68988
|
+
selection.modify("extend", "forward", "character");
|
|
68989
|
+
if (selection.toString().length == selLen)
|
|
68990
|
+
break;
|
|
68606
68991
|
}
|
|
68992
|
+
range = selection.getRangeAt(0);
|
|
68993
|
+
range.setStart(range.endContainer, range.endOffset);
|
|
68607
68994
|
}
|
|
68608
68995
|
}
|
|
68609
68996
|
function mergeValues(src, dest) {
|
|
@@ -68672,11 +69059,11 @@ function configConfirmDialog(popupViewModel) {
|
|
|
68672
69059
|
popupViewModel.width = "min-content";
|
|
68673
69060
|
}
|
|
68674
69061
|
function chooseFiles(input, callback) {
|
|
68675
|
-
if (!
|
|
69062
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isFileReaderAvailable())
|
|
68676
69063
|
return;
|
|
68677
69064
|
input.value = "";
|
|
68678
69065
|
input.onchange = function (event) {
|
|
68679
|
-
if (!
|
|
69066
|
+
if (!_global_variables_utils__WEBPACK_IMPORTED_MODULE_3__["DomWindowHelper"].isFileReaderAvailable())
|
|
68680
69067
|
return;
|
|
68681
69068
|
if (!input || !input.files || input.files.length < 1)
|
|
68682
69069
|
return;
|