survey-creator-core 1.9.81 → 1.9.83
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/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +84 -11
- package/survey-creator-core.d.ts +92 -1
- package/survey-creator-core.fontless.css +83 -10
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +9 -9
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +626 -155
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +10 -10
- package/survey-creator-core.min.js +2 -2
package/survey-creator-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.83
|
|
3
3
|
* (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -409,9 +409,11 @@ var LogoImageViewModel = /** @class */ (function (_super) {
|
|
|
409
409
|
configurable: true
|
|
410
410
|
});
|
|
411
411
|
LogoImageViewModel.prototype.uploadFile = function (model, fileInput, files) {
|
|
412
|
+
model.isUploading = true;
|
|
412
413
|
model.creator.uploadFiles(files, undefined, function (_, link) {
|
|
413
414
|
model.creator.survey.logo = link;
|
|
414
415
|
fileInput.value = "";
|
|
416
|
+
model.isUploading = false;
|
|
415
417
|
});
|
|
416
418
|
};
|
|
417
419
|
LogoImageViewModel.prototype.chooseFile = function (model) {
|
|
@@ -436,6 +438,9 @@ var LogoImageViewModel = /** @class */ (function (_super) {
|
|
|
436
438
|
enumerable: false,
|
|
437
439
|
configurable: true
|
|
438
440
|
});
|
|
441
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
442
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: false })
|
|
443
|
+
], LogoImageViewModel.prototype, "isUploading", void 0);
|
|
439
444
|
return LogoImageViewModel;
|
|
440
445
|
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["Base"]));
|
|
441
446
|
|
|
@@ -518,13 +523,16 @@ var ImageItemValueWrapperViewModel = /** @class */ (function (_super) {
|
|
|
518
523
|
ImageItemValueWrapperViewModel.prototype.chooseFile = function (model) {
|
|
519
524
|
var fileInput = model.itemsRoot.getElementsByClassName("svc-choose-file-input")[0];
|
|
520
525
|
model.creator.chooseFiles(fileInput, function (files) {
|
|
526
|
+
model.isUploading = true;
|
|
521
527
|
model.creator.uploadFiles(files, model.question, function (_, link) {
|
|
522
528
|
model.item.imageLink = link;
|
|
529
|
+
model.isUploading = false;
|
|
523
530
|
});
|
|
524
531
|
});
|
|
525
532
|
};
|
|
526
533
|
ImageItemValueWrapperViewModel.prototype.uploadFiles = function (files) {
|
|
527
534
|
var _this = this;
|
|
535
|
+
this.isUploading = true;
|
|
528
536
|
this.creator.uploadFiles(files, this.question, function (_, link) {
|
|
529
537
|
var itemValue = _this.creator.createNewItemValue(_this.question);
|
|
530
538
|
itemValue.imageLink = link;
|
|
@@ -533,6 +541,7 @@ var ImageItemValueWrapperViewModel = /** @class */ (function (_super) {
|
|
|
533
541
|
_this.creator.onItemValueAddedCallback(_this.question, "choices", itemValue, _this.question.choices);
|
|
534
542
|
_this.isChoosingNewFile = false;
|
|
535
543
|
}
|
|
544
|
+
_this.isUploading = false;
|
|
536
545
|
});
|
|
537
546
|
};
|
|
538
547
|
ImageItemValueWrapperViewModel.prototype.chooseNewFile = function (model) {
|
|
@@ -546,6 +555,9 @@ var ImageItemValueWrapperViewModel = /** @class */ (function (_super) {
|
|
|
546
555
|
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
547
556
|
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: false })
|
|
548
557
|
], ImageItemValueWrapperViewModel.prototype, "isFileDragging", void 0);
|
|
558
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
559
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: false })
|
|
560
|
+
], ImageItemValueWrapperViewModel.prototype, "isUploading", void 0);
|
|
549
561
|
return ImageItemValueWrapperViewModel;
|
|
550
562
|
}(_item_value__WEBPACK_IMPORTED_MODULE_2__["ItemValueWrapperViewModel"]));
|
|
551
563
|
|
|
@@ -1312,17 +1324,36 @@ var PageNavigatorViewModel = /** @class */ (function (_super) {
|
|
|
1312
1324
|
};
|
|
1313
1325
|
item.active = new survey_core__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return page === _this.currentPage; });
|
|
1314
1326
|
item.action = function (item) {
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1327
|
+
_this.scrollToPage(page);
|
|
1328
|
+
};
|
|
1329
|
+
item.data = page;
|
|
1330
|
+
return this.createActionBarCore(item);
|
|
1331
|
+
};
|
|
1332
|
+
PageNavigatorViewModel.prototype.scrollToPage = function (page) {
|
|
1333
|
+
var _this = this;
|
|
1334
|
+
if (this.pageEditMode === "bypage") {
|
|
1335
|
+
this.pagesController.currentPage = page;
|
|
1336
|
+
this.currentPage = page;
|
|
1337
|
+
this.pagesController.creator.selectElement(this.pagesController.currentPage);
|
|
1338
|
+
return;
|
|
1339
|
+
}
|
|
1340
|
+
var el = document.getElementById(page.id);
|
|
1341
|
+
if (!!el) {
|
|
1342
|
+
var isLastPage = this.pagesController.pages.indexOf(page) === (this.pagesController.pages.length - 1);
|
|
1343
|
+
if (!!this._scrollableContainer) {
|
|
1344
|
+
// const y = el.offsetTop - (this._scrollableContainer.clientHeight / 4);
|
|
1345
|
+
this._scrollableContainer.scrollTo(this._scrollableContainer.scrollLeft, el.offsetTop - 20);
|
|
1346
|
+
this.patchContainerOffset(el);
|
|
1347
|
+
if (isLastPage) {
|
|
1348
|
+
setTimeout(function () {
|
|
1349
|
+
_this._scrollableContainer.scrollTo(_this._scrollableContainer.scrollLeft, el.offsetTop - 20);
|
|
1350
|
+
_this.patchContainerOffset(el);
|
|
1351
|
+
}, 50);
|
|
1352
|
+
}
|
|
1320
1353
|
}
|
|
1321
|
-
|
|
1322
|
-
if (!!el) {
|
|
1354
|
+
else {
|
|
1323
1355
|
el.scrollIntoView({ block: "start" });
|
|
1324
|
-
|
|
1325
|
-
var isLastPage = _this.pagesController.pages.indexOf(page) === (_this.pagesController.pages.length - 1);
|
|
1356
|
+
this.patchContainerOffset(el);
|
|
1326
1357
|
if (isLastPage) {
|
|
1327
1358
|
setTimeout(function () {
|
|
1328
1359
|
el.scrollIntoView({ block: "start" });
|
|
@@ -1330,9 +1361,7 @@ var PageNavigatorViewModel = /** @class */ (function (_super) {
|
|
|
1330
1361
|
}, 50);
|
|
1331
1362
|
}
|
|
1332
1363
|
}
|
|
1333
|
-
}
|
|
1334
|
-
item.data = page;
|
|
1335
|
-
return this.createActionBarCore(item);
|
|
1364
|
+
}
|
|
1336
1365
|
};
|
|
1337
1366
|
PageNavigatorViewModel.prototype.createActionBarCore = function (item) {
|
|
1338
1367
|
return new survey_core__WEBPACK_IMPORTED_MODULE_1__["Action"](item);
|
|
@@ -1393,6 +1422,9 @@ var PageNavigatorViewModel = /** @class */ (function (_super) {
|
|
|
1393
1422
|
this.visibleItemsStartIndex = 0;
|
|
1394
1423
|
this.visibleItemsCount = Number.MAX_VALUE;
|
|
1395
1424
|
};
|
|
1425
|
+
PageNavigatorViewModel.prototype.setScrollableContainer = function (scrollableContainer) {
|
|
1426
|
+
this._scrollableContainer = scrollableContainer;
|
|
1427
|
+
};
|
|
1396
1428
|
PageNavigatorViewModel.prototype.setItemsContainer = function (itemsContainer) {
|
|
1397
1429
|
var _this = this;
|
|
1398
1430
|
this.stopItemsContainerHeightObserver();
|
|
@@ -1836,7 +1868,10 @@ var QuestionDropdownAdornerViewModel = /** @class */ (function (_super) {
|
|
|
1836
1868
|
__webpack_require__.r(__webpack_exports__);
|
|
1837
1869
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionImageAdornerViewModel", function() { return QuestionImageAdornerViewModel; });
|
|
1838
1870
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
1839
|
-
/* harmony import */ var
|
|
1871
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
1872
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
1873
|
+
/* harmony import */ var _question__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./question */ "./src/components/question.ts");
|
|
1874
|
+
|
|
1840
1875
|
|
|
1841
1876
|
|
|
1842
1877
|
__webpack_require__(/*! ./question-image.scss */ "./src/components/question-image.scss");
|
|
@@ -1850,13 +1885,18 @@ var QuestionImageAdornerViewModel = /** @class */ (function (_super) {
|
|
|
1850
1885
|
QuestionImageAdornerViewModel.prototype.chooseFile = function (model) {
|
|
1851
1886
|
var fileInput = model.questionRoot.getElementsByClassName("svc-choose-file-input")[0];
|
|
1852
1887
|
model.creator.chooseFiles(fileInput, function (files) {
|
|
1888
|
+
model.isUploading = true;
|
|
1853
1889
|
model.creator.uploadFiles(files, model.surveyElement, function (_, link) {
|
|
1854
1890
|
model.surveyElement.imageLink = link;
|
|
1891
|
+
model.isUploading = false;
|
|
1855
1892
|
});
|
|
1856
1893
|
});
|
|
1857
1894
|
};
|
|
1895
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
1896
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: false })
|
|
1897
|
+
], QuestionImageAdornerViewModel.prototype, "isUploading", void 0);
|
|
1858
1898
|
return QuestionImageAdornerViewModel;
|
|
1859
|
-
}(
|
|
1899
|
+
}(_question__WEBPACK_IMPORTED_MODULE_2__["QuestionAdornerViewModel"]));
|
|
1860
1900
|
|
|
1861
1901
|
|
|
1862
1902
|
|
|
@@ -3703,8 +3743,11 @@ var StringEditorViewModelBase = /** @class */ (function (_super) {
|
|
|
3703
3743
|
}
|
|
3704
3744
|
}
|
|
3705
3745
|
else {
|
|
3746
|
+
this.creator.notify(this.errorText, "error");
|
|
3706
3747
|
this.focusedProgram = true;
|
|
3748
|
+
event.target.innerText = clearedText;
|
|
3707
3749
|
event.target.focus();
|
|
3750
|
+
return;
|
|
3708
3751
|
}
|
|
3709
3752
|
}
|
|
3710
3753
|
else {
|
|
@@ -3831,9 +3874,12 @@ var StringEditorViewModelBase = /** @class */ (function (_super) {
|
|
|
3831
3874
|
configurable: true
|
|
3832
3875
|
});
|
|
3833
3876
|
StringEditorViewModelBase.prototype.className = function (text) {
|
|
3834
|
-
return "
|
|
3835
|
-
(
|
|
3836
|
-
(
|
|
3877
|
+
return new survey_core__WEBPACK_IMPORTED_MODULE_1__["CssClassBuilder"]()
|
|
3878
|
+
.append("svc-string-editor")
|
|
3879
|
+
.append("svc-string-editor--hidden", text == "" && this.placeholder == "")
|
|
3880
|
+
.append("svc-string-editor--readonly", !this.contentEditable)
|
|
3881
|
+
.append("svc-string-editor--error", !!this.errorText)
|
|
3882
|
+
.toString();
|
|
3837
3883
|
};
|
|
3838
3884
|
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
3839
3885
|
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
|
@@ -5676,6 +5722,14 @@ var LogicItemEditor = /** @class */ (function (_super) {
|
|
|
5676
5722
|
LogicItemEditor.prototype.resetModified = function () {
|
|
5677
5723
|
this.isModifiedValue = false;
|
|
5678
5724
|
};
|
|
5725
|
+
LogicItemEditor.prototype.isEmpty = function () {
|
|
5726
|
+
if (this.panels.length === 0)
|
|
5727
|
+
return true;
|
|
5728
|
+
if (this.panels.length > 1)
|
|
5729
|
+
return false;
|
|
5730
|
+
var modelAction = this.getActionModelByPanel(this.panels[0]);
|
|
5731
|
+
return !modelAction;
|
|
5732
|
+
};
|
|
5679
5733
|
LogicItemEditor.prototype.apply = function () {
|
|
5680
5734
|
if (this.editSurvey.hasErrors())
|
|
5681
5735
|
return false;
|
|
@@ -6633,11 +6687,29 @@ var TabLogicPlugin = /** @class */ (function () {
|
|
|
6633
6687
|
return;
|
|
6634
6688
|
this.model.update(this.creator.survey);
|
|
6635
6689
|
};
|
|
6636
|
-
TabLogicPlugin.prototype.
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6690
|
+
TabLogicPlugin.prototype.canDeactivateAsync = function (onSuccess) {
|
|
6691
|
+
var _this = this;
|
|
6692
|
+
if (!!this.model) {
|
|
6693
|
+
this.model.tryLeaveUI(function (res) {
|
|
6694
|
+
if (!res) {
|
|
6695
|
+
_this.creator.notify(_editorLocalization__WEBPACK_IMPORTED_MODULE_2__["editorLocalization"].getString("ed.lg.expressionInvalid"), "error");
|
|
6696
|
+
}
|
|
6697
|
+
else {
|
|
6698
|
+
onSuccess();
|
|
6699
|
+
}
|
|
6700
|
+
});
|
|
6701
|
+
return;
|
|
6640
6702
|
}
|
|
6703
|
+
onSuccess();
|
|
6704
|
+
};
|
|
6705
|
+
TabLogicPlugin.prototype.deactivate = function () {
|
|
6706
|
+
this.disposeObjs();
|
|
6707
|
+
return true;
|
|
6708
|
+
};
|
|
6709
|
+
TabLogicPlugin.prototype.dispose = function () {
|
|
6710
|
+
this.disposeObjs();
|
|
6711
|
+
};
|
|
6712
|
+
TabLogicPlugin.prototype.disposeObjs = function () {
|
|
6641
6713
|
this.filterActionTypeAction.title = undefined;
|
|
6642
6714
|
this.filterQuestionAction.title = undefined;
|
|
6643
6715
|
if (this.model) {
|
|
@@ -6647,7 +6719,6 @@ var TabLogicPlugin = /** @class */ (function () {
|
|
|
6647
6719
|
this.filterQuestionAction.visible = false;
|
|
6648
6720
|
this.filterActionTypeAction.visible = false;
|
|
6649
6721
|
this.fastEntryAction && (this.fastEntryAction.visible = false);
|
|
6650
|
-
return true;
|
|
6651
6722
|
};
|
|
6652
6723
|
TabLogicPlugin.prototype.createActions = function () {
|
|
6653
6724
|
var _this = this;
|
|
@@ -7630,6 +7701,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7630
7701
|
|
|
7631
7702
|
|
|
7632
7703
|
|
|
7704
|
+
|
|
7633
7705
|
__webpack_require__(/*! ./logic-ui.scss */ "./src/components/tabs/logic-ui.scss");
|
|
7634
7706
|
|
|
7635
7707
|
var SurveyLogicUI = /** @class */ (function (_super) {
|
|
@@ -7688,7 +7760,8 @@ var SurveyLogicUI = /** @class */ (function (_super) {
|
|
|
7688
7760
|
if (this.items.length == 0 || !this.items[this.items.length - 1].isNew) {
|
|
7689
7761
|
this.addNew();
|
|
7690
7762
|
}
|
|
7691
|
-
this.matrixItems.visibleRows
|
|
7763
|
+
var rows = this.matrixItems.visibleRows;
|
|
7764
|
+
rows[rows.length - 1].showDetailPanel();
|
|
7692
7765
|
};
|
|
7693
7766
|
SurveyLogicUI.prototype.toggleExpressionEditorIsFastEntry = function () {
|
|
7694
7767
|
this.expressionEditorIsFastEntry = !this.expressionEditorIsFastEntry;
|
|
@@ -7701,9 +7774,106 @@ var SurveyLogicUI = /** @class */ (function (_super) {
|
|
|
7701
7774
|
this.editableItem.isModified = !!this.itemEditor && !!this.expressionEditor && (this.itemEditor.isModified || this.expressionEditor.isModified(this.editableItem.expression));
|
|
7702
7775
|
}
|
|
7703
7776
|
};
|
|
7704
|
-
SurveyLogicUI.prototype.
|
|
7777
|
+
SurveyLogicUI.prototype.getUnsavedItems = function () {
|
|
7778
|
+
var res = [];
|
|
7779
|
+
for (var i = 0; i < this.visibleItems.length; i++) {
|
|
7780
|
+
var item = this.visibleItems[i];
|
|
7781
|
+
var itemUI = this.findLogicItemUI(item);
|
|
7782
|
+
if (!itemUI)
|
|
7783
|
+
continue;
|
|
7784
|
+
if (item.isNew) {
|
|
7785
|
+
if (!itemUI.expressionEditor.isEmpty() || !itemUI.itemEditor.isEmpty()) {
|
|
7786
|
+
res.push(item);
|
|
7787
|
+
}
|
|
7788
|
+
}
|
|
7789
|
+
else {
|
|
7790
|
+
if (item.isModified) {
|
|
7791
|
+
res.push(item);
|
|
7792
|
+
}
|
|
7793
|
+
}
|
|
7794
|
+
}
|
|
7795
|
+
return res;
|
|
7796
|
+
};
|
|
7797
|
+
SurveyLogicUI.prototype.getErroredItem = function (items) {
|
|
7798
|
+
for (var i = 0; i < items.length; i++) {
|
|
7799
|
+
var item = items[i];
|
|
7800
|
+
if (this.isErroredItem(item))
|
|
7801
|
+
return item;
|
|
7802
|
+
}
|
|
7803
|
+
return null;
|
|
7804
|
+
};
|
|
7805
|
+
SurveyLogicUI.prototype.isErroredItem = function (item) {
|
|
7806
|
+
var itemUI = this.findLogicItemUI(item);
|
|
7807
|
+
if (!itemUI)
|
|
7808
|
+
return false;
|
|
7809
|
+
return itemUI.expressionEditor.hasErrors() || itemUI.itemEditor.hasErrors();
|
|
7810
|
+
};
|
|
7811
|
+
SurveyLogicUI.prototype.showErroredItem = function (item) {
|
|
7812
|
+
var index = this.visibleItems.indexOf(item);
|
|
7813
|
+
var rows = this.matrixItems.visibleRows;
|
|
7814
|
+
var row = index > -1 && index < rows.length ? rows[index] : null;
|
|
7815
|
+
if (!!row) {
|
|
7816
|
+
rows.forEach(function (r) { return r.hideDetailPanel(); });
|
|
7817
|
+
this.mode = "view";
|
|
7818
|
+
row.showDetailPanel();
|
|
7819
|
+
this.hasErrorInUI();
|
|
7820
|
+
}
|
|
7821
|
+
};
|
|
7822
|
+
SurveyLogicUI.prototype.saveItem = function (item) {
|
|
7823
|
+
if (this.isErroredItem(item))
|
|
7824
|
+
return;
|
|
7825
|
+
!!this.options && this.options.startUndoRedoTransaction();
|
|
7826
|
+
this.doItemApply(item);
|
|
7827
|
+
!!this.options && this.options.stopUndoRedoTransaction();
|
|
7828
|
+
};
|
|
7829
|
+
SurveyLogicUI.prototype.tryLeaveUI = function (resultFunc) {
|
|
7830
|
+
var _this = this;
|
|
7705
7831
|
this.updateEditableItemIsModifiedState();
|
|
7706
|
-
|
|
7832
|
+
var unsavedItems = this.getUnsavedItems();
|
|
7833
|
+
if (unsavedItems.length === 0) {
|
|
7834
|
+
!!resultFunc && resultFunc(true);
|
|
7835
|
+
return true;
|
|
7836
|
+
}
|
|
7837
|
+
var erroredItem = this.getErroredItem(unsavedItems);
|
|
7838
|
+
var onLeavingFunc = function () {
|
|
7839
|
+
unsavedItems.forEach(function (item) { return _this.saveItem(item); });
|
|
7840
|
+
!!resultFunc && resultFunc(true);
|
|
7841
|
+
};
|
|
7842
|
+
if (!erroredItem) {
|
|
7843
|
+
onLeavingFunc();
|
|
7844
|
+
return true;
|
|
7845
|
+
}
|
|
7846
|
+
var onStayingFunc = function () {
|
|
7847
|
+
_this.showErroredItem(erroredItem);
|
|
7848
|
+
!!resultFunc && resultFunc(false);
|
|
7849
|
+
};
|
|
7850
|
+
if (this.confirmLeavingOnError(onLeavingFunc, onStayingFunc)) {
|
|
7851
|
+
return undefined;
|
|
7852
|
+
}
|
|
7853
|
+
onStayingFunc();
|
|
7854
|
+
return false;
|
|
7855
|
+
};
|
|
7856
|
+
SurveyLogicUI.prototype.confirmLeavingOnError = function (onLeaving, onStaying) {
|
|
7857
|
+
if (!survey_core__WEBPACK_IMPORTED_MODULE_1__["settings"].showModal)
|
|
7858
|
+
return false;
|
|
7859
|
+
var locStr = new survey_core__WEBPACK_IMPORTED_MODULE_1__["LocalizableString"](undefined);
|
|
7860
|
+
locStr.text = this.getLocString("ed.lg.uncompletedRule_text");
|
|
7861
|
+
var popupModel = survey_core__WEBPACK_IMPORTED_MODULE_1__["settings"].showModal("sv-string-viewer", { locStr: locStr, locString: locStr, model: locStr }, //TODO fix in library
|
|
7862
|
+
function () {
|
|
7863
|
+
onLeaving();
|
|
7864
|
+
return true;
|
|
7865
|
+
}, function () {
|
|
7866
|
+
onStaying();
|
|
7867
|
+
return true;
|
|
7868
|
+
}, undefined, this.getLocString("ed.lg.uncompletedRule_title"), "popup");
|
|
7869
|
+
var toolbar = popupModel.footerToolbar;
|
|
7870
|
+
var applyBtn = toolbar.getActionById("apply");
|
|
7871
|
+
var cancelBtn = toolbar.getActionById("cancel");
|
|
7872
|
+
cancelBtn.title = this.getLocString("ed.lg.uncompletedRule_cancel");
|
|
7873
|
+
applyBtn.title = this.getLocString("ed.lg.uncompletedRule_apply");
|
|
7874
|
+
applyBtn.innerCss += " svc-logic-tab__leave-apply-button";
|
|
7875
|
+
popupModel.width = "800px";
|
|
7876
|
+
return true;
|
|
7707
7877
|
};
|
|
7708
7878
|
SurveyLogicUI.prototype.onPropertyValueChanged = function (name, oldValue, newValue) {
|
|
7709
7879
|
_super.prototype.onPropertyValueChanged.call(this, name, oldValue, newValue);
|
|
@@ -7747,7 +7917,7 @@ var SurveyLogicUI = /** @class */ (function (_super) {
|
|
|
7747
7917
|
item.itemEditor.editSurvey.mode = this.readOnly ? "display" : "edit";
|
|
7748
7918
|
};
|
|
7749
7919
|
SurveyLogicUI.prototype.getLogicItemUI = function (item) {
|
|
7750
|
-
var res = this.
|
|
7920
|
+
var res = this.findLogicItemUI(item);
|
|
7751
7921
|
if (!res) {
|
|
7752
7922
|
var context = item.getContext();
|
|
7753
7923
|
res = { expressionEditor: this.createExpressionPropertyEditor(), itemEditor: new _logic_item_editor__WEBPACK_IMPORTED_MODULE_4__["LogicItemEditor"](item, this.options) };
|
|
@@ -7762,6 +7932,9 @@ var SurveyLogicUI = /** @class */ (function (_super) {
|
|
|
7762
7932
|
}
|
|
7763
7933
|
return res;
|
|
7764
7934
|
};
|
|
7935
|
+
SurveyLogicUI.prototype.findLogicItemUI = function (item) {
|
|
7936
|
+
return this.itemUIHash[item.id];
|
|
7937
|
+
};
|
|
7765
7938
|
Object.defineProperty(SurveyLogicUI.prototype, "expressionSurvey", {
|
|
7766
7939
|
get: function () {
|
|
7767
7940
|
return this.expressionEditor.editSurvey;
|
|
@@ -7812,14 +7985,7 @@ var SurveyLogicUI = /** @class */ (function (_super) {
|
|
|
7812
7985
|
this.itemEditorValue = null;
|
|
7813
7986
|
};
|
|
7814
7987
|
SurveyLogicUI.prototype.onEditableItemApply = function () {
|
|
7815
|
-
this.
|
|
7816
|
-
this.itemEditor.apply();
|
|
7817
|
-
this.editableItem.apply(this.expressionEditor.text);
|
|
7818
|
-
if (this.editableItem.actions.length != this.itemEditor.panels.length) {
|
|
7819
|
-
this.itemEditor.setEditableItem(this.editableItem);
|
|
7820
|
-
}
|
|
7821
|
-
this.itemEditor.resetModified();
|
|
7822
|
-
this.editableItem.isNew = false;
|
|
7988
|
+
this.doItemApply(this.editableItem);
|
|
7823
7989
|
if (!this.editableItem.isSuitable(this.questionFilter, this.actionTypeFilter)) {
|
|
7824
7990
|
this.questionFilter = "";
|
|
7825
7991
|
this.actionTypeFilter = "";
|
|
@@ -7828,6 +7994,19 @@ var SurveyLogicUI = /** @class */ (function (_super) {
|
|
|
7828
7994
|
this.updateItemsSurveyData();
|
|
7829
7995
|
}
|
|
7830
7996
|
};
|
|
7997
|
+
SurveyLogicUI.prototype.doItemApply = function (item) {
|
|
7998
|
+
var itemUI = this.findLogicItemUI(item);
|
|
7999
|
+
if (!itemUI)
|
|
8000
|
+
return;
|
|
8001
|
+
itemUI.expressionEditor.apply();
|
|
8002
|
+
itemUI.itemEditor.apply();
|
|
8003
|
+
item.apply(itemUI.expressionEditor.text);
|
|
8004
|
+
if (item.actions.length != itemUI.itemEditor.panels.length) {
|
|
8005
|
+
itemUI.itemEditor.setEditableItem(item);
|
|
8006
|
+
}
|
|
8007
|
+
itemUI.itemEditor.resetModified();
|
|
8008
|
+
item.isNew = false;
|
|
8009
|
+
};
|
|
7831
8010
|
SurveyLogicUI.prototype.hasErrorInUI = function () {
|
|
7832
8011
|
var creator = this.survey.creator;
|
|
7833
8012
|
if (this.expressionEditor.hasErrorInUI()) {
|
|
@@ -8306,7 +8485,7 @@ var SurveyLogic = /** @class */ (function (_super) {
|
|
|
8306
8485
|
};
|
|
8307
8486
|
SurveyLogic.prototype.hasError = function () {
|
|
8308
8487
|
if (!this.editableItem)
|
|
8309
|
-
return
|
|
8488
|
+
return false;
|
|
8310
8489
|
if (this.hasErrorInUI())
|
|
8311
8490
|
return true;
|
|
8312
8491
|
var exp = new survey_core__WEBPACK_IMPORTED_MODULE_1__["ExpressionRunner"](this.getExpressionText());
|
|
@@ -12463,8 +12642,19 @@ var CreatorBase = /** @class */ (function (_super) {
|
|
|
12463
12642
|
* @param viewName name of new active view (tab). The following values are available: "designer", "editor", "test", "embed", "logic" and "translation".
|
|
12464
12643
|
*/
|
|
12465
12644
|
CreatorBase.prototype.makeNewViewActive = function (viewName) {
|
|
12645
|
+
var _this = this;
|
|
12466
12646
|
if (viewName == this.viewType)
|
|
12467
12647
|
return false;
|
|
12648
|
+
var plugin = this.currentPlugin;
|
|
12649
|
+
if (!!plugin && !!plugin.canDeactivateAsync) {
|
|
12650
|
+
plugin.canDeactivateAsync(function () {
|
|
12651
|
+
_this.switchViewType(viewName);
|
|
12652
|
+
});
|
|
12653
|
+
return undefined;
|
|
12654
|
+
}
|
|
12655
|
+
return this.switchViewType(viewName);
|
|
12656
|
+
};
|
|
12657
|
+
CreatorBase.prototype.switchViewType = function (viewName) {
|
|
12468
12658
|
var chaningOptions = { tabName: viewName, allow: true };
|
|
12469
12659
|
this.onActiveTabChanging.fire(this, chaningOptions);
|
|
12470
12660
|
if (!chaningOptions.allow)
|
|
@@ -15020,6 +15210,249 @@ survey_core__WEBPACK_IMPORTED_MODULE_0__["StylesManager"].applyTheme("defaultV2"
|
|
|
15020
15210
|
|
|
15021
15211
|
// extracted by mini-css-extract-plugin
|
|
15022
15212
|
|
|
15213
|
+
/***/ }),
|
|
15214
|
+
|
|
15215
|
+
/***/ "./src/custom-questions/question-color.ts":
|
|
15216
|
+
/*!************************************************!*\
|
|
15217
|
+
!*** ./src/custom-questions/question-color.ts ***!
|
|
15218
|
+
\************************************************/
|
|
15219
|
+
/*! exports provided: QuestionColorModel */
|
|
15220
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15221
|
+
|
|
15222
|
+
"use strict";
|
|
15223
|
+
__webpack_require__.r(__webpack_exports__);
|
|
15224
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionColorModel", function() { return QuestionColorModel; });
|
|
15225
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
15226
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
15227
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
15228
|
+
|
|
15229
|
+
|
|
15230
|
+
var QuestionColorModel = /** @class */ (function (_super) {
|
|
15231
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(QuestionColorModel, _super);
|
|
15232
|
+
function QuestionColorModel() {
|
|
15233
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
15234
|
+
}
|
|
15235
|
+
QuestionColorModel.prototype.getCorrectedValue = function (newValue) {
|
|
15236
|
+
newValue = newValue !== null && newValue !== void 0 ? newValue : "";
|
|
15237
|
+
newValue = (newValue.match(/#(\d|\w){1,6}/) || ["#000000"])[0];
|
|
15238
|
+
if (newValue.length === 4) {
|
|
15239
|
+
for (var i = 1; i < 4; i++) {
|
|
15240
|
+
newValue += newValue[i];
|
|
15241
|
+
}
|
|
15242
|
+
}
|
|
15243
|
+
if (newValue.length < 7) {
|
|
15244
|
+
var length_1 = newValue.length;
|
|
15245
|
+
for (var i = 0; i < 7 - length_1; i++) {
|
|
15246
|
+
newValue += "0";
|
|
15247
|
+
}
|
|
15248
|
+
}
|
|
15249
|
+
return newValue.toUpperCase();
|
|
15250
|
+
};
|
|
15251
|
+
QuestionColorModel.prototype.setNewValue = function (newValue) {
|
|
15252
|
+
this._renderedValue = "";
|
|
15253
|
+
_super.prototype.setNewValue.call(this, this.getCorrectedValue(newValue));
|
|
15254
|
+
this._renderedValue = this.value;
|
|
15255
|
+
};
|
|
15256
|
+
QuestionColorModel.prototype.onBeforeInput = function (event) {
|
|
15257
|
+
if (!!event.data && !/[\d\w#]/.test(event.data)) {
|
|
15258
|
+
event.preventDefault();
|
|
15259
|
+
}
|
|
15260
|
+
};
|
|
15261
|
+
QuestionColorModel.prototype.onColorInputChange = function (event) {
|
|
15262
|
+
this.value = event.target.value;
|
|
15263
|
+
};
|
|
15264
|
+
QuestionColorModel.prototype.getType = function () {
|
|
15265
|
+
return "color";
|
|
15266
|
+
};
|
|
15267
|
+
Object.defineProperty(QuestionColorModel.prototype, "renderedValue", {
|
|
15268
|
+
get: function () {
|
|
15269
|
+
var _a, _b;
|
|
15270
|
+
return (_b = (_a = this._renderedValue) !== null && _a !== void 0 ? _a : this.value) !== null && _b !== void 0 ? _b : "#000000";
|
|
15271
|
+
},
|
|
15272
|
+
enumerable: false,
|
|
15273
|
+
configurable: true
|
|
15274
|
+
});
|
|
15275
|
+
QuestionColorModel.prototype.getSwatchStyle = function () {
|
|
15276
|
+
return { backgroundColor: this.renderedValue };
|
|
15277
|
+
};
|
|
15278
|
+
Object.defineProperty(QuestionColorModel.prototype, "isInputTextUpdate", {
|
|
15279
|
+
get: function () {
|
|
15280
|
+
return false;
|
|
15281
|
+
},
|
|
15282
|
+
enumerable: false,
|
|
15283
|
+
configurable: true
|
|
15284
|
+
});
|
|
15285
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
15286
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
|
15287
|
+
], QuestionColorModel.prototype, "unit", void 0);
|
|
15288
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
15289
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])({})
|
|
15290
|
+
], QuestionColorModel.prototype, "_renderedValue", void 0);
|
|
15291
|
+
return QuestionColorModel;
|
|
15292
|
+
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionTextModel"]));
|
|
15293
|
+
|
|
15294
|
+
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("color", [
|
|
15295
|
+
"unit"
|
|
15296
|
+
], function () { return new QuestionColorModel(""); }, "text");
|
|
15297
|
+
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("color", function (name) {
|
|
15298
|
+
return new QuestionColorModel(name);
|
|
15299
|
+
});
|
|
15300
|
+
|
|
15301
|
+
|
|
15302
|
+
/***/ }),
|
|
15303
|
+
|
|
15304
|
+
/***/ "./src/custom-questions/question-spin-editor.ts":
|
|
15305
|
+
/*!******************************************************!*\
|
|
15306
|
+
!*** ./src/custom-questions/question-spin-editor.ts ***!
|
|
15307
|
+
\******************************************************/
|
|
15308
|
+
/*! exports provided: QuestionSpinEditorModel */
|
|
15309
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15310
|
+
|
|
15311
|
+
"use strict";
|
|
15312
|
+
__webpack_require__.r(__webpack_exports__);
|
|
15313
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionSpinEditorModel", function() { return QuestionSpinEditorModel; });
|
|
15314
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
15315
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
15316
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
15317
|
+
|
|
15318
|
+
|
|
15319
|
+
var QuestionSpinEditorModel = /** @class */ (function (_super) {
|
|
15320
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(QuestionSpinEditorModel, _super);
|
|
15321
|
+
function QuestionSpinEditorModel() {
|
|
15322
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15323
|
+
_this._showUnitsInEditor = true;
|
|
15324
|
+
_this.onUpButtonMouseDown = function () {
|
|
15325
|
+
_this.increase();
|
|
15326
|
+
_this.increaseTimer = setTimeout(_this.onUpButtonMouseDown, 200);
|
|
15327
|
+
};
|
|
15328
|
+
_this.onDownButtonMouseDown = function () {
|
|
15329
|
+
_this.decrease();
|
|
15330
|
+
_this.decreaseTimer = setTimeout(_this.onDownButtonMouseDown, 200);
|
|
15331
|
+
};
|
|
15332
|
+
_this.onButtonMouseUp = function () {
|
|
15333
|
+
clearTimeout(_this.decreaseTimer);
|
|
15334
|
+
clearTimeout(_this.increaseTimer);
|
|
15335
|
+
};
|
|
15336
|
+
_this.onKeyDown = function (event) {
|
|
15337
|
+
switch (event.key) {
|
|
15338
|
+
case "ArrowUp":
|
|
15339
|
+
_this.increase();
|
|
15340
|
+
event.stopPropagation();
|
|
15341
|
+
event.preventDefault();
|
|
15342
|
+
break;
|
|
15343
|
+
case "ArrowDown":
|
|
15344
|
+
_this.decrease();
|
|
15345
|
+
event.stopPropagation();
|
|
15346
|
+
event.preventDefault();
|
|
15347
|
+
break;
|
|
15348
|
+
}
|
|
15349
|
+
};
|
|
15350
|
+
_this.onInputKeyDown = function (event) {
|
|
15351
|
+
if (event.key == "ArrowUp" || event.key == "ArrowDown")
|
|
15352
|
+
_this["updateValueOnEvent"](event);
|
|
15353
|
+
};
|
|
15354
|
+
_this.onFocus = function (event) {
|
|
15355
|
+
_this._showUnitsInEditor = false;
|
|
15356
|
+
};
|
|
15357
|
+
_this.onBlur = function (event) {
|
|
15358
|
+
_this._showUnitsInEditor = true;
|
|
15359
|
+
if (event.target.tagName == "INPUT") {
|
|
15360
|
+
_this["updateValueOnEvent"](event);
|
|
15361
|
+
}
|
|
15362
|
+
};
|
|
15363
|
+
return _this;
|
|
15364
|
+
}
|
|
15365
|
+
QuestionSpinEditorModel.prototype.parseValue = function (val) {
|
|
15366
|
+
var value = parseFloat(val.toString());
|
|
15367
|
+
var unit = val.toString().replace(/[^A-Za-z]/g, "");
|
|
15368
|
+
return { value: value, unit: unit };
|
|
15369
|
+
};
|
|
15370
|
+
QuestionSpinEditorModel.prototype.changeValue = function (increase) {
|
|
15371
|
+
var parsedValue = this.parseValue(this.renderedValue);
|
|
15372
|
+
if (increase) {
|
|
15373
|
+
parsedValue.value++;
|
|
15374
|
+
}
|
|
15375
|
+
else {
|
|
15376
|
+
parsedValue.value--;
|
|
15377
|
+
}
|
|
15378
|
+
this.value = parsedValue.value;
|
|
15379
|
+
};
|
|
15380
|
+
Object.defineProperty(QuestionSpinEditorModel.prototype, "showUnitsInEditor", {
|
|
15381
|
+
get: function () {
|
|
15382
|
+
return !!this.unit && this._showUnitsInEditor;
|
|
15383
|
+
},
|
|
15384
|
+
enumerable: false,
|
|
15385
|
+
configurable: true
|
|
15386
|
+
});
|
|
15387
|
+
QuestionSpinEditorModel.prototype.correctValue = function (newValue) {
|
|
15388
|
+
var renderedMax = Number(this.renderedMax);
|
|
15389
|
+
var renderedMin = Number(this.renderedMin);
|
|
15390
|
+
newValue = typeof newValue === "string" ? parseFloat(newValue) : newValue;
|
|
15391
|
+
if (isNaN(newValue)) {
|
|
15392
|
+
newValue = isNaN(renderedMin) ? 0 : renderedMin;
|
|
15393
|
+
}
|
|
15394
|
+
else if (newValue > renderedMax) {
|
|
15395
|
+
newValue = renderedMax;
|
|
15396
|
+
}
|
|
15397
|
+
else if (newValue < renderedMin) {
|
|
15398
|
+
newValue = renderedMin;
|
|
15399
|
+
}
|
|
15400
|
+
newValue = Math.round(newValue * 1000) / 1000;
|
|
15401
|
+
return newValue;
|
|
15402
|
+
};
|
|
15403
|
+
QuestionSpinEditorModel.prototype.setNewValue = function (newValue) {
|
|
15404
|
+
_super.prototype.setNewValue.call(this, this.correctValue(newValue));
|
|
15405
|
+
};
|
|
15406
|
+
Object.defineProperty(QuestionSpinEditorModel.prototype, "renderedValue", {
|
|
15407
|
+
get: function () {
|
|
15408
|
+
var _a, _b;
|
|
15409
|
+
var renderedValue = ((_b = (_a = this.value) !== null && _a !== void 0 ? _a : this.renderedMin) !== null && _b !== void 0 ? _b : 0).toString();
|
|
15410
|
+
if (this.showUnitsInEditor) {
|
|
15411
|
+
renderedValue += this.unit;
|
|
15412
|
+
}
|
|
15413
|
+
return renderedValue;
|
|
15414
|
+
},
|
|
15415
|
+
enumerable: false,
|
|
15416
|
+
configurable: true
|
|
15417
|
+
});
|
|
15418
|
+
QuestionSpinEditorModel.prototype.increase = function () {
|
|
15419
|
+
this.changeValue(true);
|
|
15420
|
+
};
|
|
15421
|
+
QuestionSpinEditorModel.prototype.decrease = function () {
|
|
15422
|
+
this.changeValue(false);
|
|
15423
|
+
};
|
|
15424
|
+
QuestionSpinEditorModel.prototype.onBeforeInput = function (event) {
|
|
15425
|
+
if (!!event.data && !/[\d.]/.test(event.data)) {
|
|
15426
|
+
event.preventDefault();
|
|
15427
|
+
}
|
|
15428
|
+
};
|
|
15429
|
+
QuestionSpinEditorModel.prototype.getType = function () {
|
|
15430
|
+
return "spinedit";
|
|
15431
|
+
};
|
|
15432
|
+
Object.defineProperty(QuestionSpinEditorModel.prototype, "isInputTextUpdate", {
|
|
15433
|
+
get: function () {
|
|
15434
|
+
return false;
|
|
15435
|
+
},
|
|
15436
|
+
enumerable: false,
|
|
15437
|
+
configurable: true
|
|
15438
|
+
});
|
|
15439
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
15440
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
|
15441
|
+
], QuestionSpinEditorModel.prototype, "unit", void 0);
|
|
15442
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
15443
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])()
|
|
15444
|
+
], QuestionSpinEditorModel.prototype, "_showUnitsInEditor", void 0);
|
|
15445
|
+
return QuestionSpinEditorModel;
|
|
15446
|
+
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionTextModel"]));
|
|
15447
|
+
|
|
15448
|
+
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("spinedit", [
|
|
15449
|
+
"unit"
|
|
15450
|
+
], function () { return new QuestionSpinEditorModel(""); }, "text");
|
|
15451
|
+
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("spinedit", function (name) {
|
|
15452
|
+
return new QuestionSpinEditorModel(name);
|
|
15453
|
+
});
|
|
15454
|
+
|
|
15455
|
+
|
|
15023
15456
|
/***/ }),
|
|
15024
15457
|
|
|
15025
15458
|
/***/ "./src/editable-object.ts":
|
|
@@ -15524,7 +15957,7 @@ var __spreadArray = function (to, from) {
|
|
|
15524
15957
|
/*!******************************!*\
|
|
15525
15958
|
!*** ./src/entries/index.ts ***!
|
|
15526
15959
|
\******************************/
|
|
15527
|
-
/*! exports provided: Version, enStrings, editorLocalization, defaultStrings, localization, QuestionConvertMode, settings, EmptySurveyCreatorOptions, CreatorAction, TabbedMenuItem, TabbedMenuContainer, ToolbarActionContainer, CreatorEvent, CreatorBase, SurveyCreatorModel, StylesManager, initializeDesignTimeSurveyModel, editableStringRendererName, getElementWrapperComponentName, getQuestionContentWrapperComponentName, getElementWrapperComponentData, getItemValueWrapperComponentName, getItemValueWrapperComponentData, isStringEditable, isTextInput, registerAdorner, removeAdorners, CreatorResponsivityManager, EmbedModel, TabEmbedPlugin, AceJsonEditorModel, TabJsonEditorAcePlugin, JsonEditorBaseModel, TabJsonEditorBasePlugin, TextareaJsonEditorModel, TabJsonEditorTextareaPlugin, TestSurveyTabViewModel, TabTestPlugin, initLogicOperator, LogicEvent, SurveyLogic, TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation, translationCss, TabTranslationPlugin, initialSettingsAllowShowEmptyTitleInDesignMode, TabDesignerViewModel, TabDesignerPlugin, SurveyLogicUI, TabLogicPlugin, logicCss, ToolboxToolViewModel, PageNavigatorViewModel, PageAdorner, RowViewModel, QuestionAdornerViewModel, QuestionDropdownAdornerViewModel, QuestionImageAdornerViewModel, QuestionRatingAdornerViewModel, ItemValueWrapperViewModel, ImageItemValueWrapperViewModel, MatrixCellWrapperEditSurvey, MatrixCellWrapperViewModel, SurveySimulatorModel, DEFAULT_MONITOR_DPI, simulatorDevices, SurveyResultsItemModel, SurveyResultsModel, LogoImageViewModel, StringItemsNavigatorBase, StringEditorConnector, StringEditorViewModelBase, QuestionEmbeddedSurveyModel, QuestionLinkValueModel, EditorLocalization, getLocString, SurveyJSON5, setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridEditorNumber, PropertyGridEditorImageSize, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorColor, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue, PropertyGridEditorExpression, PropertyGridEditorCondition, PropertyGridEditorMatrix, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixValidators, PropertyGridEditorMatrixTriggers, PropertyGridEditorBindings, PropertyGridViewModel, ObjectSelectorItem, ObjectSelector, ObjectSelectorModel, PropertyGridEditorQuestionRestfull, PropertyGridValueEditorBase, PropertyGridCellsEditor, PropertyGridValueEditor, PropertyGridRowValueEditor, PropertyGridPanelValueEditor, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor, propertyGridCss, QuestionConverter, svgBundle, SurveyTextWorker, QuestionToolboxCategory, QuestionToolboxItem, QuestionToolbox, SidebarModel, SidebarTabModel, getNextItemValue, getNextItemText, getNextValue, findParentNode, focusFirstControl, getFirstNonTextElement, getNodesFromKoComponentInfo, propertyExists, isPropertyVisible, toggleHovered, clearNewLines, select, copyObject, copyCssClasses, assignDefaultV2Classes, wrapTextByCurlyBraces, capitalize, notShortCircuitAnd, SurveyQuestionEditorDefinition, ObjType, SurveyHelper, ResizeManager, UndoRedoPlugin, undoRedoTransaction, ignoreUndoRedo, UndoRedoManager, Transaction, UndoRedoAction, UndoRedoArrayAction, PagesController */
|
|
15960
|
+
/*! exports provided: Version, enStrings, editorLocalization, defaultStrings, localization, QuestionConvertMode, settings, EmptySurveyCreatorOptions, CreatorAction, TabbedMenuItem, TabbedMenuContainer, ToolbarActionContainer, CreatorEvent, CreatorBase, SurveyCreatorModel, StylesManager, initializeDesignTimeSurveyModel, editableStringRendererName, getElementWrapperComponentName, getQuestionContentWrapperComponentName, getElementWrapperComponentData, getItemValueWrapperComponentName, getItemValueWrapperComponentData, isStringEditable, isTextInput, registerAdorner, removeAdorners, CreatorResponsivityManager, EmbedModel, TabEmbedPlugin, AceJsonEditorModel, TabJsonEditorAcePlugin, JsonEditorBaseModel, TabJsonEditorBasePlugin, TextareaJsonEditorModel, TabJsonEditorTextareaPlugin, TestSurveyTabViewModel, TabTestPlugin, initLogicOperator, LogicEvent, SurveyLogic, TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation, translationCss, TabTranslationPlugin, initialSettingsAllowShowEmptyTitleInDesignMode, TabDesignerViewModel, TabDesignerPlugin, SurveyLogicUI, TabLogicPlugin, logicCss, ToolboxToolViewModel, PageNavigatorViewModel, PageAdorner, RowViewModel, QuestionAdornerViewModel, QuestionDropdownAdornerViewModel, QuestionImageAdornerViewModel, QuestionRatingAdornerViewModel, ItemValueWrapperViewModel, ImageItemValueWrapperViewModel, MatrixCellWrapperEditSurvey, MatrixCellWrapperViewModel, SurveySimulatorModel, DEFAULT_MONITOR_DPI, simulatorDevices, SurveyResultsItemModel, SurveyResultsModel, LogoImageViewModel, StringItemsNavigatorBase, StringEditorConnector, StringEditorViewModelBase, QuestionEmbeddedSurveyModel, QuestionLinkValueModel, EditorLocalization, getLocString, SurveyJSON5, QuestionSpinEditorModel, QuestionColorModel, setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridEditorNumber, PropertyGridEditorImageSize, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorColor, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue, PropertyGridEditorExpression, PropertyGridEditorCondition, PropertyGridEditorMatrix, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixValidators, PropertyGridEditorMatrixTriggers, PropertyGridEditorBindings, PropertyGridViewModel, ObjectSelectorItem, ObjectSelector, ObjectSelectorModel, PropertyGridEditorQuestionRestfull, PropertyGridValueEditorBase, PropertyGridCellsEditor, PropertyGridValueEditor, PropertyGridRowValueEditor, PropertyGridPanelValueEditor, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor, propertyGridCss, QuestionConverter, svgBundle, SurveyTextWorker, QuestionToolboxCategory, QuestionToolboxItem, QuestionToolbox, SidebarModel, SidebarTabModel, getNextItemValue, getNextItemText, getNextValue, findParentNode, focusFirstControl, getFirstNonTextElement, getNodesFromKoComponentInfo, propertyExists, isPropertyVisible, toggleHovered, clearNewLines, select, copyObject, copyCssClasses, assignDefaultV2Classes, wrapTextByCurlyBraces, capitalize, notShortCircuitAnd, SurveyQuestionEditorDefinition, ObjType, SurveyHelper, ResizeManager, UndoRedoPlugin, undoRedoTransaction, ignoreUndoRedo, UndoRedoManager, Transaction, UndoRedoAction, UndoRedoArrayAction, PagesController */
|
|
15528
15961
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15529
15962
|
|
|
15530
15963
|
"use strict";
|
|
@@ -15726,207 +16159,213 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15726
16159
|
/* harmony import */ var _json5__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../json5 */ "./src/json5.ts");
|
|
15727
16160
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyJSON5", function() { return _json5__WEBPACK_IMPORTED_MODULE_37__["SurveyJSON5"]; });
|
|
15728
16161
|
|
|
15729
|
-
/* harmony import */ var
|
|
15730
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16162
|
+
/* harmony import */ var _custom_questions_question_spin_editor__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../custom-questions/question-spin-editor */ "./src/custom-questions/question-spin-editor.ts");
|
|
16163
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionSpinEditorModel", function() { return _custom_questions_question_spin_editor__WEBPACK_IMPORTED_MODULE_38__["QuestionSpinEditorModel"]; });
|
|
16164
|
+
|
|
16165
|
+
/* harmony import */ var _custom_questions_question_color__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../custom-questions/question-color */ "./src/custom-questions/question-color.ts");
|
|
16166
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionColorModel", function() { return _custom_questions_question_color__WEBPACK_IMPORTED_MODULE_39__["QuestionColorModel"]; });
|
|
16167
|
+
|
|
16168
|
+
/* harmony import */ var _property_grid__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../property-grid */ "./src/property-grid/index.ts");
|
|
16169
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "setSurveyJSONForPropertyGrid", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["setSurveyJSONForPropertyGrid"]; });
|
|
15731
16170
|
|
|
15732
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyEditorSetupValue", function() { return
|
|
16171
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyEditorSetupValue", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyEditorSetupValue"]; });
|
|
15733
16172
|
|
|
15734
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCollection", function() { return
|
|
16173
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCollection", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorCollection"]; });
|
|
15735
16174
|
|
|
15736
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTitleActionsCreator", function() { return
|
|
16175
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTitleActionsCreator", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridTitleActionsCreator"]; });
|
|
15737
16176
|
|
|
15738
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyJSONGenerator", function() { return
|
|
16177
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyJSONGenerator", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyJSONGenerator"]; });
|
|
15739
16178
|
|
|
15740
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridModel", function() { return
|
|
16179
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridModel", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridModel"]; });
|
|
15741
16180
|
|
|
15742
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditor", function() { return
|
|
16181
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditor", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditor"]; });
|
|
15743
16182
|
|
|
15744
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorBoolean", function() { return
|
|
16183
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorBoolean", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorBoolean"]; });
|
|
15745
16184
|
|
|
15746
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorStringBase", function() { return
|
|
16185
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorStringBase", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorStringBase"]; });
|
|
15747
16186
|
|
|
15748
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorString", function() { return
|
|
16187
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorString", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorString"]; });
|
|
15749
16188
|
|
|
15750
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorNumber", function() { return
|
|
16189
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorNumber", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorNumber"]; });
|
|
15751
16190
|
|
|
15752
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorImageSize", function() { return
|
|
16191
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorImageSize", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorImageSize"]; });
|
|
15753
16192
|
|
|
15754
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorText", function() { return
|
|
16193
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorText", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorText"]; });
|
|
15755
16194
|
|
|
15756
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorHtml", function() { return
|
|
16195
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorHtml", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorHtml"]; });
|
|
15757
16196
|
|
|
15758
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorColor", function() { return
|
|
16197
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorColor", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorColor"]; });
|
|
15759
16198
|
|
|
15760
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorStringArray", function() { return
|
|
16199
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorStringArray", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorStringArray"]; });
|
|
15761
16200
|
|
|
15762
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorDropdown", function() { return
|
|
16201
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorDropdown", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorDropdown"]; });
|
|
15763
16202
|
|
|
15764
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorSet", function() { return
|
|
16203
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorSet", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorSet"]; });
|
|
15765
16204
|
|
|
15766
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorPage", function() { return
|
|
16205
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorPage", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorPage"]; });
|
|
15767
16206
|
|
|
15768
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestion", function() { return
|
|
16207
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestion", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorQuestion"]; });
|
|
15769
16208
|
|
|
15770
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionSelectBase", function() { return
|
|
16209
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionSelectBase", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorQuestionSelectBase"]; });
|
|
15771
16210
|
|
|
15772
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionValue", function() { return
|
|
16211
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionValue", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_40__["PropertyGridEditorQuestionValue"]; });
|
|
15773
16212
|
|
|
15774
|
-
/* harmony import */ var
|
|
15775
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorExpression", function() { return
|
|
16213
|
+
/* harmony import */ var _property_grid_condition__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../property-grid/condition */ "./src/property-grid/condition.ts");
|
|
16214
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorExpression", function() { return _property_grid_condition__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorExpression"]; });
|
|
15776
16215
|
|
|
15777
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCondition", function() { return
|
|
16216
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCondition", function() { return _property_grid_condition__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorCondition"]; });
|
|
15778
16217
|
|
|
15779
|
-
/* harmony import */ var
|
|
15780
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrix", function() { return
|
|
16218
|
+
/* harmony import */ var _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../property-grid/matrices */ "./src/property-grid/matrices.ts");
|
|
16219
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrix", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrix"]; });
|
|
15781
16220
|
|
|
15782
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixItemValues", function() { return
|
|
16221
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixItemValues", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrixItemValues"]; });
|
|
15783
16222
|
|
|
15784
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixColumns", function() { return
|
|
16223
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixColumns", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrixColumns"]; });
|
|
15785
16224
|
|
|
15786
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixPages", function() { return
|
|
16225
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixPages", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrixPages"]; });
|
|
15787
16226
|
|
|
15788
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixCalculatedValues", function() { return
|
|
16227
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixCalculatedValues", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrixCalculatedValues"]; });
|
|
15789
16228
|
|
|
15790
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixHtmlConditions", function() { return
|
|
16229
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixHtmlConditions", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrixHtmlConditions"]; });
|
|
15791
16230
|
|
|
15792
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixUrlConditions", function() { return
|
|
16231
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixUrlConditions", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrixUrlConditions"]; });
|
|
15793
16232
|
|
|
15794
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixMutlipleTextItems", function() { return
|
|
16233
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixMutlipleTextItems", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrixMutlipleTextItems"]; });
|
|
15795
16234
|
|
|
15796
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixMultipleTypes", function() { return
|
|
16235
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixMultipleTypes", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrixMultipleTypes"]; });
|
|
15797
16236
|
|
|
15798
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixValidators", function() { return
|
|
16237
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixValidators", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrixValidators"]; });
|
|
15799
16238
|
|
|
15800
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixTriggers", function() { return
|
|
16239
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixTriggers", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorMatrixTriggers"]; });
|
|
15801
16240
|
|
|
15802
|
-
/* harmony import */ var
|
|
15803
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorBindings", function() { return
|
|
16241
|
+
/* harmony import */ var _property_grid_bindings__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../property-grid/bindings */ "./src/property-grid/bindings.ts");
|
|
16242
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorBindings", function() { return _property_grid_bindings__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorBindings"]; });
|
|
15804
16243
|
|
|
15805
|
-
/* harmony import */ var
|
|
15806
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridViewModel", function() { return
|
|
16244
|
+
/* harmony import */ var _property_grid_property_grid_view_model__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../property-grid/property-grid-view-model */ "./src/property-grid/property-grid-view-model.ts");
|
|
16245
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridViewModel", function() { return _property_grid_property_grid_view_model__WEBPACK_IMPORTED_MODULE_44__["PropertyGridViewModel"]; });
|
|
15807
16246
|
|
|
15808
|
-
/* harmony import */ var
|
|
15809
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjectSelectorItem", function() { return
|
|
16247
|
+
/* harmony import */ var _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../property-grid/object-selector */ "./src/property-grid/object-selector.ts");
|
|
16248
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjectSelectorItem", function() { return _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_45__["ObjectSelectorItem"]; });
|
|
15810
16249
|
|
|
15811
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjectSelector", function() { return
|
|
16250
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjectSelector", function() { return _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_45__["ObjectSelector"]; });
|
|
15812
16251
|
|
|
15813
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjectSelectorModel", function() { return
|
|
16252
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjectSelectorModel", function() { return _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_45__["ObjectSelectorModel"]; });
|
|
15814
16253
|
|
|
15815
|
-
/* harmony import */ var
|
|
15816
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionRestfull", function() { return
|
|
16254
|
+
/* harmony import */ var _property_grid_restfull__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../property-grid/restfull */ "./src/property-grid/restfull.ts");
|
|
16255
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionRestfull", function() { return _property_grid_restfull__WEBPACK_IMPORTED_MODULE_46__["PropertyGridEditorQuestionRestfull"]; });
|
|
15817
16256
|
|
|
15818
|
-
/* harmony import */ var
|
|
15819
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridValueEditorBase", function() { return
|
|
16257
|
+
/* harmony import */ var _property_grid_values__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../property-grid/values */ "./src/property-grid/values.ts");
|
|
16258
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridValueEditorBase", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_47__["PropertyGridValueEditorBase"]; });
|
|
15820
16259
|
|
|
15821
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridCellsEditor", function() { return
|
|
16260
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridCellsEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_47__["PropertyGridCellsEditor"]; });
|
|
15822
16261
|
|
|
15823
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridValueEditor", function() { return
|
|
16262
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridValueEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_47__["PropertyGridValueEditor"]; });
|
|
15824
16263
|
|
|
15825
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridRowValueEditor", function() { return
|
|
16264
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridRowValueEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_47__["PropertyGridRowValueEditor"]; });
|
|
15826
16265
|
|
|
15827
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridPanelValueEditor", function() { return
|
|
16266
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridPanelValueEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_47__["PropertyGridPanelValueEditor"]; });
|
|
15828
16267
|
|
|
15829
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTriggerValueEditor", function() { return
|
|
16268
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTriggerValueEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_47__["PropertyGridTriggerValueEditor"]; });
|
|
15830
16269
|
|
|
15831
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTriggerValueInLogicEditor", function() { return
|
|
16270
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTriggerValueInLogicEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_47__["PropertyGridTriggerValueInLogicEditor"]; });
|
|
15832
16271
|
|
|
15833
|
-
/* harmony import */ var
|
|
15834
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyGridCss", function() { return
|
|
16272
|
+
/* harmony import */ var _property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../property-grid-theme/property-grid */ "./src/property-grid-theme/property-grid.ts");
|
|
16273
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyGridCss", function() { return _property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_48__["propertyGridCss"]; });
|
|
15835
16274
|
|
|
15836
|
-
/* harmony import */ var
|
|
15837
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionConverter", function() { return
|
|
16275
|
+
/* harmony import */ var _questionconverter__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../questionconverter */ "./src/questionconverter.ts");
|
|
16276
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionConverter", function() { return _questionconverter__WEBPACK_IMPORTED_MODULE_49__["QuestionConverter"]; });
|
|
15838
16277
|
|
|
15839
|
-
/* harmony import */ var
|
|
15840
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "svgBundle", function() { return
|
|
16278
|
+
/* harmony import */ var _svgbundle__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../svgbundle */ "./src/svgbundle.ts");
|
|
16279
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "svgBundle", function() { return _svgbundle__WEBPACK_IMPORTED_MODULE_50__["svgBundle"]; });
|
|
15841
16280
|
|
|
15842
|
-
/* harmony import */ var
|
|
15843
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorker", function() { return
|
|
16281
|
+
/* harmony import */ var _textWorker__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../textWorker */ "./src/textWorker.ts");
|
|
16282
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorker", function() { return _textWorker__WEBPACK_IMPORTED_MODULE_51__["SurveyTextWorker"]; });
|
|
15844
16283
|
|
|
15845
|
-
/* harmony import */ var
|
|
15846
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolboxCategory", function() { return
|
|
16284
|
+
/* harmony import */ var _toolbox__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../toolbox */ "./src/toolbox.ts");
|
|
16285
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolboxCategory", function() { return _toolbox__WEBPACK_IMPORTED_MODULE_52__["QuestionToolboxCategory"]; });
|
|
15847
16286
|
|
|
15848
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolboxItem", function() { return
|
|
16287
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolboxItem", function() { return _toolbox__WEBPACK_IMPORTED_MODULE_52__["QuestionToolboxItem"]; });
|
|
15849
16288
|
|
|
15850
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolbox", function() { return
|
|
16289
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolbox", function() { return _toolbox__WEBPACK_IMPORTED_MODULE_52__["QuestionToolbox"]; });
|
|
15851
16290
|
|
|
15852
|
-
/* harmony import */ var
|
|
15853
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SidebarModel", function() { return
|
|
16291
|
+
/* harmony import */ var _components_side_bar_side_bar_model__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../components/side-bar/side-bar-model */ "./src/components/side-bar/side-bar-model.ts");
|
|
16292
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SidebarModel", function() { return _components_side_bar_side_bar_model__WEBPACK_IMPORTED_MODULE_53__["SidebarModel"]; });
|
|
15854
16293
|
|
|
15855
|
-
/* harmony import */ var
|
|
15856
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SidebarTabModel", function() { return
|
|
16294
|
+
/* harmony import */ var _components_side_bar_side_bar_tab_model__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../components/side-bar/side-bar-tab-model */ "./src/components/side-bar/side-bar-tab-model.ts");
|
|
16295
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SidebarTabModel", function() { return _components_side_bar_side_bar_tab_model__WEBPACK_IMPORTED_MODULE_54__["SidebarTabModel"]; });
|
|
15857
16296
|
|
|
15858
|
-
/* harmony import */ var
|
|
15859
|
-
/* empty/unused harmony star reexport *//* harmony import */ var
|
|
15860
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNextItemValue", function() { return
|
|
16297
|
+
/* harmony import */ var _utils_events__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../utils/events */ "./src/utils/events.ts");
|
|
16298
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../utils/utils */ "./src/utils/utils.ts");
|
|
16299
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNextItemValue", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["getNextItemValue"]; });
|
|
15861
16300
|
|
|
15862
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNextItemText", function() { return
|
|
16301
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNextItemText", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["getNextItemText"]; });
|
|
15863
16302
|
|
|
15864
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNextValue", function() { return
|
|
16303
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNextValue", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["getNextValue"]; });
|
|
15865
16304
|
|
|
15866
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "findParentNode", function() { return
|
|
16305
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "findParentNode", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["findParentNode"]; });
|
|
15867
16306
|
|
|
15868
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "focusFirstControl", function() { return
|
|
16307
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "focusFirstControl", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["focusFirstControl"]; });
|
|
15869
16308
|
|
|
15870
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getFirstNonTextElement", function() { return
|
|
16309
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getFirstNonTextElement", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["getFirstNonTextElement"]; });
|
|
15871
16310
|
|
|
15872
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNodesFromKoComponentInfo", function() { return
|
|
16311
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNodesFromKoComponentInfo", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["getNodesFromKoComponentInfo"]; });
|
|
15873
16312
|
|
|
15874
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyExists", function() { return
|
|
16313
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyExists", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["propertyExists"]; });
|
|
15875
16314
|
|
|
15876
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isPropertyVisible", function() { return
|
|
16315
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isPropertyVisible", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["isPropertyVisible"]; });
|
|
15877
16316
|
|
|
15878
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "toggleHovered", function() { return
|
|
16317
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "toggleHovered", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["toggleHovered"]; });
|
|
15879
16318
|
|
|
15880
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "clearNewLines", function() { return
|
|
16319
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "clearNewLines", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["clearNewLines"]; });
|
|
15881
16320
|
|
|
15882
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "select", function() { return
|
|
16321
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "select", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["select"]; });
|
|
15883
16322
|
|
|
15884
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "copyObject", function() { return
|
|
16323
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "copyObject", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["copyObject"]; });
|
|
15885
16324
|
|
|
15886
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "copyCssClasses", function() { return
|
|
16325
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "copyCssClasses", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["copyCssClasses"]; });
|
|
15887
16326
|
|
|
15888
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "assignDefaultV2Classes", function() { return
|
|
16327
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "assignDefaultV2Classes", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["assignDefaultV2Classes"]; });
|
|
15889
16328
|
|
|
15890
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "wrapTextByCurlyBraces", function() { return
|
|
16329
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "wrapTextByCurlyBraces", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["wrapTextByCurlyBraces"]; });
|
|
15891
16330
|
|
|
15892
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "capitalize", function() { return
|
|
16331
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "capitalize", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["capitalize"]; });
|
|
15893
16332
|
|
|
15894
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "notShortCircuitAnd", function() { return
|
|
16333
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "notShortCircuitAnd", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["notShortCircuitAnd"]; });
|
|
15895
16334
|
|
|
15896
|
-
/* harmony import */ var
|
|
15897
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEditorDefinition", function() { return
|
|
16335
|
+
/* harmony import */ var _question_editor_definition__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../question-editor/definition */ "./src/question-editor/definition.ts");
|
|
16336
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEditorDefinition", function() { return _question_editor_definition__WEBPACK_IMPORTED_MODULE_57__["SurveyQuestionEditorDefinition"]; });
|
|
15898
16337
|
|
|
15899
|
-
/* harmony import */ var
|
|
15900
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjType", function() { return
|
|
16338
|
+
/* harmony import */ var _survey_helper__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../survey-helper */ "./src/survey-helper.ts");
|
|
16339
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjType", function() { return _survey_helper__WEBPACK_IMPORTED_MODULE_58__["ObjType"]; });
|
|
15901
16340
|
|
|
15902
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyHelper", function() { return
|
|
16341
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyHelper", function() { return _survey_helper__WEBPACK_IMPORTED_MODULE_58__["SurveyHelper"]; });
|
|
15903
16342
|
|
|
15904
|
-
/* harmony import */ var
|
|
15905
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ResizeManager", function() { return
|
|
16343
|
+
/* harmony import */ var _utils_resizer__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../utils/resizer */ "./src/utils/resizer.ts");
|
|
16344
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ResizeManager", function() { return _utils_resizer__WEBPACK_IMPORTED_MODULE_59__["ResizeManager"]; });
|
|
15906
16345
|
|
|
15907
|
-
/* harmony import */ var
|
|
15908
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoPlugin", function() { return
|
|
16346
|
+
/* harmony import */ var _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../plugins/undo-redo */ "./src/plugins/undo-redo/index.ts");
|
|
16347
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoPlugin", function() { return _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_60__["UndoRedoPlugin"]; });
|
|
15909
16348
|
|
|
15910
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "undoRedoTransaction", function() { return
|
|
16349
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "undoRedoTransaction", function() { return _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_60__["undoRedoTransaction"]; });
|
|
15911
16350
|
|
|
15912
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ignoreUndoRedo", function() { return
|
|
16351
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ignoreUndoRedo", function() { return _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_60__["ignoreUndoRedo"]; });
|
|
15913
16352
|
|
|
15914
|
-
/* harmony import */ var
|
|
15915
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoManager", function() { return
|
|
16353
|
+
/* harmony import */ var _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../plugins/undo-redo/undo-redo-manager */ "./src/plugins/undo-redo/undo-redo-manager.ts");
|
|
16354
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoManager", function() { return _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_61__["UndoRedoManager"]; });
|
|
15916
16355
|
|
|
15917
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Transaction", function() { return
|
|
16356
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Transaction", function() { return _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_61__["Transaction"]; });
|
|
15918
16357
|
|
|
15919
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoAction", function() { return
|
|
16358
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoAction", function() { return _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_61__["UndoRedoAction"]; });
|
|
15920
16359
|
|
|
15921
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoArrayAction", function() { return
|
|
16360
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoArrayAction", function() { return _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_61__["UndoRedoArrayAction"]; });
|
|
15922
16361
|
|
|
15923
|
-
/* harmony import */ var
|
|
15924
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PagesController", function() { return
|
|
16362
|
+
/* harmony import */ var _pages_controller__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../pages-controller */ "./src/pages-controller.ts");
|
|
16363
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PagesController", function() { return _pages_controller__WEBPACK_IMPORTED_MODULE_62__["PagesController"]; });
|
|
15925
16364
|
|
|
15926
|
-
/* harmony import */ var
|
|
15927
|
-
/* harmony import */ var
|
|
16365
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
16366
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_63___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_63__);
|
|
15928
16367
|
var Version;
|
|
15929
|
-
Version = "" + "1.9.
|
|
16368
|
+
Version = "" + "1.9.83";
|
|
15930
16369
|
|
|
15931
16370
|
|
|
15932
16371
|
|
|
@@ -15967,6 +16406,9 @@ Version = "" + "1.9.81";
|
|
|
15967
16406
|
|
|
15968
16407
|
|
|
15969
16408
|
|
|
16409
|
+
//custom questions for property grid
|
|
16410
|
+
|
|
16411
|
+
|
|
15970
16412
|
|
|
15971
16413
|
|
|
15972
16414
|
|
|
@@ -16002,8 +16444,8 @@ __webpack_require__(/*! ../property-grid-theme/property-grid.scss */ "./src/prop
|
|
|
16002
16444
|
__webpack_require__(/*! ../utils/design.scss */ "./src/utils/design.scss");
|
|
16003
16445
|
__webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
|
|
16004
16446
|
|
|
16005
|
-
|
|
16006
|
-
Object(
|
|
16447
|
+
survey_core__WEBPACK_IMPORTED_MODULE_63__["settings"].supportCreatorV2 = true;
|
|
16448
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_63__["checkLibraryVersion"])("" + "1.9.83", "survey-creator-core");
|
|
16007
16449
|
|
|
16008
16450
|
|
|
16009
16451
|
/***/ }),
|
|
@@ -18250,6 +18692,10 @@ var enStrings = {
|
|
|
18250
18692
|
expressionInvalid: "The logic expression is empty or invalid. Please correct it.",
|
|
18251
18693
|
noActionError: "Please, add at least one action.",
|
|
18252
18694
|
actionInvalid: "Please, fix problems in your action(s).",
|
|
18695
|
+
uncompletedRule_title: "Leave the tab?",
|
|
18696
|
+
uncompletedRule_text: "One or more logical rules are uncompleted. If you leave the tab, those changes that cannot be applied will vanish. Are you sure you want to leave?",
|
|
18697
|
+
uncompletedRule_apply: "Yes",
|
|
18698
|
+
uncompletedRule_cancel: "No, I want to complete the rules",
|
|
18253
18699
|
expressionSetup: "",
|
|
18254
18700
|
actionsSetup: ""
|
|
18255
18701
|
}
|
|
@@ -19951,6 +20397,22 @@ var propertyGridCss = {
|
|
|
19951
20397
|
itemIcon: "spg-action-button__icon",
|
|
19952
20398
|
itemTitle: "spg-action-button__title",
|
|
19953
20399
|
},
|
|
20400
|
+
spinedit: {
|
|
20401
|
+
root: "spg-input spg-spin-editor spg-input-container",
|
|
20402
|
+
control: "spg-spin-editor__input spg-input-container__input",
|
|
20403
|
+
buttonsContainer: "spg-spin-editor__buttons-container",
|
|
20404
|
+
arrowButton: "spg-input__edit-button",
|
|
20405
|
+
increaseButtonIcon: "icon-arrow-up",
|
|
20406
|
+
decreaseButtonIcon: "icon-arrow-down"
|
|
20407
|
+
},
|
|
20408
|
+
color: {
|
|
20409
|
+
root: "spg-input spg-color-editor spg-input-container",
|
|
20410
|
+
swatch: "spg-color-editor__color-swatch",
|
|
20411
|
+
colorInput: "spg-color-editor__color-input",
|
|
20412
|
+
control: "spg-color-editor__input spg-input-container__input",
|
|
20413
|
+
colorDropdown: "spg-input__edit-button",
|
|
20414
|
+
colorDrodownIcon: "icon-drop-down-arrow"
|
|
20415
|
+
}
|
|
19954
20416
|
};
|
|
19955
20417
|
|
|
19956
20418
|
|
|
@@ -20099,7 +20561,7 @@ var CellsEditor = /** @class */ (function (_super) {
|
|
|
20099
20561
|
CellsEditor.prototype.buildColumns = function () {
|
|
20100
20562
|
var columns = this.matrix.columns;
|
|
20101
20563
|
for (var i = 0; i < columns.length; i++) {
|
|
20102
|
-
this.editMatrix.addColumn(columns[i].value, columns[i].text);
|
|
20564
|
+
this.editMatrix.addColumn("" + columns[i].value, columns[i].text);
|
|
20103
20565
|
}
|
|
20104
20566
|
};
|
|
20105
20567
|
CellsEditor.prototype.buildRows = function () {
|
|
@@ -20699,6 +21161,14 @@ var ConditionEditor = /** @class */ (function (_super) {
|
|
|
20699
21161
|
enumerable: false,
|
|
20700
21162
|
configurable: true
|
|
20701
21163
|
});
|
|
21164
|
+
ConditionEditor.prototype.isEmpty = function () {
|
|
21165
|
+
if (this.panel.panels.length === 0)
|
|
21166
|
+
return true;
|
|
21167
|
+
if (this.panel.panels.length > 1)
|
|
21168
|
+
return false;
|
|
21169
|
+
var item = this.createEditorItemFromPanel(this.panel.panels[0]);
|
|
21170
|
+
return !item.questionName;
|
|
21171
|
+
};
|
|
20702
21172
|
ConditionEditor.prototype.hasErrorInUI = function () {
|
|
20703
21173
|
var creator = this.survey.creator;
|
|
20704
21174
|
if (!this.isReady) {
|
|
@@ -21141,7 +21611,7 @@ var ConditionEditor = /** @class */ (function (_super) {
|
|
|
21141
21611
|
options.cssClasses.mainRoot += " svc-logic-condition-remove-question";
|
|
21142
21612
|
}
|
|
21143
21613
|
// options.cssClasses.mainRoot += "sd-question sd-row__question";
|
|
21144
|
-
if (options.question.name === "questionValue") {
|
|
21614
|
+
if (options.question.name === "questionValue" || options.question.isContentElement) {
|
|
21145
21615
|
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_6__["assignDefaultV2Classes"])(options.cssClasses, options.question.getType());
|
|
21146
21616
|
options.cssClasses.mainRoot += " svc-logic-question-value";
|
|
21147
21617
|
options.cssClasses.error.root = "svc-logic-operator__error";
|
|
@@ -24740,6 +25210,7 @@ var SurveyQuestionEditorDefinition = /** @class */ (function () {
|
|
|
24740
25210
|
rating: {
|
|
24741
25211
|
properties: [
|
|
24742
25212
|
{ name: "displayMode", tab: "layout" },
|
|
25213
|
+
{ name: "rateCount", tab: "rateValues" },
|
|
24743
25214
|
{ name: "rateMin", tab: "rateValues" },
|
|
24744
25215
|
{ name: "rateMax", tab: "rateValues" },
|
|
24745
25216
|
{ name: "rateStep", tab: "rateValues" },
|
|
@@ -27156,7 +27627,7 @@ var QuestionToolbox = /** @class */ (function (_super) {
|
|
|
27156
27627
|
return questions;
|
|
27157
27628
|
};
|
|
27158
27629
|
QuestionToolbox.prototype.dispose = function () { };
|
|
27159
|
-
QuestionToolbox.hiddenTypes = ["buttongroup", "linkvalue", "embeddedsurvey"];
|
|
27630
|
+
QuestionToolbox.hiddenTypes = ["buttongroup", "linkvalue", "embeddedsurvey", "spinedit", "color"];
|
|
27160
27631
|
QuestionToolbox.defaultIconName = "icon-default";
|
|
27161
27632
|
QuestionToolbox.defaultCategories = {
|
|
27162
27633
|
toolboxChoiceCategory: ["radiogroup", "rating", "checkbox", "dropdown", "tagbox", "boolean", "file", "imagepicker", "ranking"],
|