survey-creator-core 1.12.9 → 1.12.11
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/i18n/arabic.js +2 -2
- package/i18n/arabic.min.js.LICENSE.txt +1 -1
- package/i18n/bulgarian.js +2 -2
- package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
- package/i18n/croatian.js +2 -2
- package/i18n/croatian.min.js.LICENSE.txt +1 -1
- package/i18n/czech.js +2 -2
- package/i18n/czech.min.js.LICENSE.txt +1 -1
- package/i18n/danish.js +2 -2
- package/i18n/danish.min.js.LICENSE.txt +1 -1
- package/i18n/dutch.js +2 -2
- package/i18n/dutch.min.js.LICENSE.txt +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js.LICENSE.txt +1 -1
- package/i18n/finnish.js +2 -2
- package/i18n/finnish.min.js.LICENSE.txt +1 -1
- package/i18n/french.js +2 -2
- package/i18n/french.min.js.LICENSE.txt +1 -1
- package/i18n/german.js +2 -2
- package/i18n/german.min.js.LICENSE.txt +1 -1
- package/i18n/hebrew.js +2 -2
- package/i18n/hebrew.min.js.LICENSE.txt +1 -1
- package/i18n/hungarian.js +2 -2
- package/i18n/hungarian.min.js.LICENSE.txt +1 -1
- package/i18n/index.js +2 -2
- package/i18n/index.min.js.LICENSE.txt +1 -1
- package/i18n/indonesian.js +2 -2
- package/i18n/indonesian.min.js.LICENSE.txt +1 -1
- package/i18n/italian.js +2 -2
- package/i18n/italian.min.js.LICENSE.txt +1 -1
- package/i18n/japanese.js +2 -2
- package/i18n/japanese.min.js.LICENSE.txt +1 -1
- package/i18n/korean.js +2 -2
- package/i18n/korean.min.js.LICENSE.txt +1 -1
- package/i18n/malay.js +2 -2
- package/i18n/malay.min.js.LICENSE.txt +1 -1
- package/i18n/mongolian.js +2 -2
- package/i18n/mongolian.min.js.LICENSE.txt +1 -1
- package/i18n/norwegian.js +2 -2
- package/i18n/norwegian.min.js.LICENSE.txt +1 -1
- package/i18n/persian.js +2 -2
- package/i18n/persian.min.js.LICENSE.txt +1 -1
- package/i18n/polish.js +2 -2
- package/i18n/polish.min.js.LICENSE.txt +1 -1
- package/i18n/portuguese.js +2 -2
- package/i18n/portuguese.min.js.LICENSE.txt +1 -1
- package/i18n/romanian.js +2 -2
- package/i18n/romanian.min.js.LICENSE.txt +1 -1
- package/i18n/russian.js +2 -2
- package/i18n/russian.min.js.LICENSE.txt +1 -1
- package/i18n/simplified-chinese.js +2 -2
- package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/slovak.js +2 -2
- package/i18n/slovak.min.js.LICENSE.txt +1 -1
- package/i18n/spanish.js +2 -2
- package/i18n/spanish.min.js.LICENSE.txt +1 -1
- package/i18n/swedish.js +2 -2
- package/i18n/swedish.min.js.LICENSE.txt +1 -1
- package/i18n/tajik.js +2 -2
- package/i18n/tajik.min.js.LICENSE.txt +1 -1
- package/i18n/thai.js +2 -2
- package/i18n/thai.min.js.LICENSE.txt +1 -1
- package/i18n/traditional-chinese.js +2 -2
- package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/turkish.js +2 -2
- package/i18n/turkish.min.js.LICENSE.txt +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +815 -332
- package/survey-creator-core.fontless.css +814 -331
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +24 -22
- package/survey-creator-core.i18n.js +2 -2
- package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
- package/survey-creator-core.js +985 -560
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +25 -23
- package/survey-creator-core.min.js +1 -1
- package/survey-creator-core.min.js.LICENSE.txt +1 -1
- package/themes/default-contrast.js +114 -12
- package/themes/default-contrast.js.map +1 -1
- package/themes/default-contrast.min.js +1 -1
- package/themes/default-contrast.min.js.LICENSE.txt +1 -1
- package/themes/default-dark.js +114 -12
- package/themes/default-dark.js.map +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-dark.min.js.LICENSE.txt +1 -1
- package/themes/default-light.js +114 -12
- package/themes/default-light.js.map +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/default-light.min.js.LICENSE.txt +1 -1
- package/themes/index.js +114 -12
- package/themes/index.js.map +1 -1
- package/themes/index.min.js +1 -1
- package/themes/index.min.js.LICENSE.txt +1 -1
- package/themes/themes/default.d.ts +212 -8
- package/typings/components/action-container-view-model.d.ts +3 -1
- package/typings/components/page.d.ts +2 -2
- package/typings/components/question-dropdown.d.ts +2 -1
- package/typings/components/question.d.ts +3 -4
- package/typings/components/row.d.ts +4 -0
- package/typings/components/search-manager.d.ts +16 -0
- package/typings/components/tabs/designer-plugin.d.ts +1 -0
- package/typings/components/tabs/designer.d.ts +7 -1
- package/typings/components/tabs/logic-types.d.ts +1 -1
- package/typings/components/tabs/logic.d.ts +3 -2
- package/typings/components/tabs/test-plugin.d.ts +3 -0
- package/typings/components/tabs/theme-plugin.d.ts +1 -0
- package/typings/components/toolbox/toolbox-search-manager.d.ts +8 -0
- package/typings/creator-base.d.ts +26 -4
- package/typings/creator-events-api.d.ts +16 -1
- package/typings/creator-options.d.ts +16 -0
- package/typings/creator-settings.d.ts +8 -6
- package/typings/creator-theme/creator-theme-model.d.ts +1 -0
- package/typings/entries/index.d.ts +2 -0
- package/typings/expand-collapse-manager.d.ts +2 -0
- package/typings/property-grid/matrices.d.ts +1 -0
- package/typings/property-grid/search-manager.d.ts +2 -23
- package/typings/property-grid-theme/property-grid.d.ts +1 -0
- package/typings/themes/default.d.ts +212 -8
- package/typings/toolbox.d.ts +1 -1
package/survey-creator-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.12.
|
|
2
|
+
* SurveyJS Creator v1.12.11
|
|
3
3
|
* (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -236,6 +236,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
236
236
|
// extracted by mini-css-extract-plugin
|
|
237
237
|
|
|
238
238
|
|
|
239
|
+
/***/ }),
|
|
240
|
+
|
|
241
|
+
/***/ "./src/components/search.scss":
|
|
242
|
+
/*!************************************!*\
|
|
243
|
+
!*** ./src/components/search.scss ***!
|
|
244
|
+
\************************************/
|
|
245
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
246
|
+
|
|
247
|
+
"use strict";
|
|
248
|
+
__webpack_require__.r(__webpack_exports__);
|
|
249
|
+
// extracted by mini-css-extract-plugin
|
|
250
|
+
|
|
251
|
+
|
|
239
252
|
/***/ }),
|
|
240
253
|
|
|
241
254
|
/***/ "./src/components/side-bar/side-bar.scss":
|
|
@@ -444,6 +457,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
444
457
|
// extracted by mini-css-extract-plugin
|
|
445
458
|
|
|
446
459
|
|
|
460
|
+
/***/ }),
|
|
461
|
+
|
|
462
|
+
/***/ "./src/components/toolbox/toolbox-search.scss":
|
|
463
|
+
/*!****************************************************!*\
|
|
464
|
+
!*** ./src/components/toolbox/toolbox-search.scss ***!
|
|
465
|
+
\****************************************************/
|
|
466
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
467
|
+
|
|
468
|
+
"use strict";
|
|
469
|
+
__webpack_require__.r(__webpack_exports__);
|
|
470
|
+
// extracted by mini-css-extract-plugin
|
|
471
|
+
|
|
472
|
+
|
|
447
473
|
/***/ }),
|
|
448
474
|
|
|
449
475
|
/***/ "./src/components/toolbox/toolbox-tool.scss":
|
|
@@ -4654,11 +4680,6 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4654
4680
|
_this._renderedCollapsed = !val;
|
|
4655
4681
|
}, function () { return !_this.renderedCollapsed; });
|
|
4656
4682
|
_this.draggedIn = false;
|
|
4657
|
-
_this.selectedPropPageFunc = function (_, options) {
|
|
4658
|
-
if (options.name === "isSelectedInDesigner") {
|
|
4659
|
-
_this.onElementSelectedChanged(options.newValue);
|
|
4660
|
-
}
|
|
4661
|
-
};
|
|
4662
4683
|
_this.sidebarFlyoutModeChangedFunc = function (_, options) {
|
|
4663
4684
|
if (options.name === "flyoutMode") {
|
|
4664
4685
|
_this.updateActionsProperties();
|
|
@@ -4727,14 +4748,16 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4727
4748
|
};
|
|
4728
4749
|
var afterRunAnimation = function (el, animatingClassName) {
|
|
4729
4750
|
_this.expandCollapseAnimationRunning = false;
|
|
4730
|
-
(
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4751
|
+
if (_this.surveyElement) {
|
|
4752
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.cleanHtmlElementAfterAnimation)(el);
|
|
4753
|
+
var innerAnimatedElements = _this.getInnerAnimatedElements();
|
|
4754
|
+
innerAnimatedElements.forEach(function (elem) {
|
|
4755
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.cleanHtmlElementAfterAnimation)(elem);
|
|
4756
|
+
});
|
|
4757
|
+
innerAnimatedElements.forEach(function (elem) {
|
|
4758
|
+
elem.classList.remove(animatingClassName);
|
|
4759
|
+
});
|
|
4760
|
+
}
|
|
4738
4761
|
};
|
|
4739
4762
|
return {
|
|
4740
4763
|
getRerenderEvent: function () { return _this.onElementRerendered; },
|
|
@@ -4783,8 +4806,9 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4783
4806
|
};
|
|
4784
4807
|
SurveyElementAdornerBase.prototype.createActionContainer = function () {
|
|
4785
4808
|
var actionContainer = new SurveyElementActionContainer();
|
|
4786
|
-
actionContainer.dotsItem.iconSize =
|
|
4809
|
+
actionContainer.dotsItem.iconSize = "auto";
|
|
4787
4810
|
actionContainer.dotsItem.popupModel.horizontalPosition = "center";
|
|
4811
|
+
actionContainer.dotsItem.popupModel.cssClass += " svc-creator-popup";
|
|
4788
4812
|
return actionContainer;
|
|
4789
4813
|
};
|
|
4790
4814
|
Object.defineProperty(SurveyElementAdornerBase.prototype, "canExpandOnDrag", {
|
|
@@ -4820,7 +4844,13 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4820
4844
|
this.collapsed = !this.collapsed;
|
|
4821
4845
|
event.stopPropagation();
|
|
4822
4846
|
};
|
|
4823
|
-
|
|
4847
|
+
Object.defineProperty(SurveyElementAdornerBase.prototype, "element", {
|
|
4848
|
+
get: function () {
|
|
4849
|
+
return this.surveyElement;
|
|
4850
|
+
},
|
|
4851
|
+
enumerable: false,
|
|
4852
|
+
configurable: true
|
|
4853
|
+
});
|
|
4824
4854
|
SurveyElementAdornerBase.GetAdorner = function (surveyElement) {
|
|
4825
4855
|
return surveyElement.getPropertyValue(SurveyElementAdornerBase.AdornerValueName);
|
|
4826
4856
|
};
|
|
@@ -4834,23 +4864,25 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4834
4864
|
var _a;
|
|
4835
4865
|
if (!!this.surveyElement) {
|
|
4836
4866
|
var state = (_a = this.creator.designerStateManager) === null || _a === void 0 ? void 0 : _a.getElementState(this.surveyElement);
|
|
4837
|
-
this.collapsed = state.collapsed;
|
|
4867
|
+
this.collapsed = this.creator.getElementExpandCollapseState(this.surveyElement, "loading", state.collapsed);
|
|
4838
4868
|
}
|
|
4869
|
+
this.needToRenderContent = !this.collapsed;
|
|
4839
4870
|
};
|
|
4840
4871
|
SurveyElementAdornerBase.prototype.detachElement = function (surveyElement) {
|
|
4841
4872
|
if (surveyElement) {
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
}
|
|
4845
|
-
surveyElement.onPropertyChanged.remove(this.selectedPropPageFunc);
|
|
4873
|
+
surveyElement.setPropertyValue(SurveyElementAdornerBase.AdornerValueName, null);
|
|
4874
|
+
surveyElement.unRegisterFunctionOnPropertyValueChanged("isSelectedInDesigner", "questionSelected");
|
|
4846
4875
|
this.cleanActionsContainer();
|
|
4847
4876
|
}
|
|
4848
4877
|
};
|
|
4849
4878
|
SurveyElementAdornerBase.prototype.attachElement = function (surveyElement) {
|
|
4879
|
+
var _this = this;
|
|
4850
4880
|
var _a, _b;
|
|
4851
4881
|
if (surveyElement) {
|
|
4852
4882
|
(_b = (_a = this.creator) === null || _a === void 0 ? void 0 : _a.designerStateManager) === null || _b === void 0 ? void 0 : _b.initForElement(surveyElement);
|
|
4853
|
-
surveyElement.
|
|
4883
|
+
surveyElement.registerFunctionOnPropertyValueChanged("isSelectedInDesigner", function (newValue) {
|
|
4884
|
+
_this.onElementSelectedChanged(newValue);
|
|
4885
|
+
}, "questionSelected");
|
|
4854
4886
|
this.restoreState();
|
|
4855
4887
|
this.updateActionsContainer(surveyElement);
|
|
4856
4888
|
this.updateActionsProperties();
|
|
@@ -4858,7 +4890,7 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4858
4890
|
}
|
|
4859
4891
|
};
|
|
4860
4892
|
SurveyElementAdornerBase.prototype.setSurveyElement = function (surveyElement) {
|
|
4861
|
-
this.
|
|
4893
|
+
this.detachOnlyMyElement();
|
|
4862
4894
|
this.surveyElement = surveyElement;
|
|
4863
4895
|
this.attachElement(this.surveyElement);
|
|
4864
4896
|
};
|
|
@@ -4877,9 +4909,14 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4877
4909
|
this.creator.expandCollapseManager.add(this);
|
|
4878
4910
|
}
|
|
4879
4911
|
};
|
|
4912
|
+
SurveyElementAdornerBase.prototype.detachOnlyMyElement = function () {
|
|
4913
|
+
if (this.surveyElement && this.surveyElement.getPropertyValue(SurveyElementAdornerBase.AdornerValueName) === this && !this.surveyElement.isDisposed) {
|
|
4914
|
+
this.detachElement(this.surveyElement);
|
|
4915
|
+
}
|
|
4916
|
+
};
|
|
4880
4917
|
SurveyElementAdornerBase.prototype.detachFromUI = function () {
|
|
4881
4918
|
this.rootElement = undefined;
|
|
4882
|
-
this.
|
|
4919
|
+
this.detachOnlyMyElement();
|
|
4883
4920
|
this.surveyElement = undefined;
|
|
4884
4921
|
this.creator.sidebar.onPropertyChanged.remove(this.sidebarFlyoutModeChangedFunc);
|
|
4885
4922
|
this.creator.expandCollapseManager.remove(this);
|
|
@@ -4890,6 +4927,8 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4890
4927
|
this.actionContainer.dispose();
|
|
4891
4928
|
}
|
|
4892
4929
|
_super.prototype.dispose.call(this);
|
|
4930
|
+
this.sidebarFlyoutModeChangedFunc = undefined;
|
|
4931
|
+
this.animationCollapsed = undefined;
|
|
4893
4932
|
};
|
|
4894
4933
|
SurveyElementAdornerBase.prototype.onElementSelectedChanged = function (isSelected) {
|
|
4895
4934
|
if (!isSelected)
|
|
@@ -4902,9 +4941,9 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4902
4941
|
var expandIcon = "icon-expandpanel-16x16";
|
|
4903
4942
|
return {
|
|
4904
4943
|
id: "collapse",
|
|
4905
|
-
css: "sv-action-bar-item--
|
|
4944
|
+
css: "sv-action-bar-item--collapse",
|
|
4906
4945
|
iconName: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.collapsed ? expandIcon : collapseIcon; }),
|
|
4907
|
-
iconSize:
|
|
4946
|
+
iconSize: "auto",
|
|
4908
4947
|
action: function () {
|
|
4909
4948
|
_this.collapsed = !_this.collapsed;
|
|
4910
4949
|
}
|
|
@@ -4967,21 +5006,21 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4967
5006
|
items.push(new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
4968
5007
|
id: "duplicate",
|
|
4969
5008
|
iconName: "icon-duplicate_16x16",
|
|
4970
|
-
css: "svc-action-bar-item--right
|
|
5009
|
+
css: "svc-action-bar-item--right",
|
|
4971
5010
|
title: this.creator.getLocString("survey.duplicate"),
|
|
4972
5011
|
visibleIndex: 10,
|
|
4973
|
-
iconSize:
|
|
5012
|
+
iconSize: "auto",
|
|
4974
5013
|
action: function () { return _this.duplicate(); },
|
|
4975
5014
|
onFocus: function (isMouse, event) { return _this.disableActionFocusing(isMouse, event); }
|
|
4976
5015
|
}));
|
|
4977
5016
|
items.push(new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
4978
5017
|
id: "settings",
|
|
4979
5018
|
iconName: "icon-settings_16x16",
|
|
4980
|
-
css: "svc-action-bar-item--right
|
|
5019
|
+
css: "svc-action-bar-item--right",
|
|
4981
5020
|
title: this.creator.getLocString("ed.settings"),
|
|
4982
5021
|
locTooltipName: "ed.settingsTooltip",
|
|
4983
5022
|
visibleIndex: 20,
|
|
4984
|
-
iconSize:
|
|
5023
|
+
iconSize: "auto",
|
|
4985
5024
|
action: function () {
|
|
4986
5025
|
_this.creator.setShowSidebar(true, true);
|
|
4987
5026
|
if (!_this.creator.isMobileView) {
|
|
@@ -4994,11 +5033,11 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
4994
5033
|
items.push(new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
4995
5034
|
id: "delete",
|
|
4996
5035
|
iconName: "icon-delete_16x16",
|
|
4997
|
-
css: "svc-action-bar-item--right
|
|
5036
|
+
css: "svc-action-bar-item--right",
|
|
4998
5037
|
//needSeparator: items.length > 0,
|
|
4999
5038
|
title: this.creator.getLocString("pe.delete"),
|
|
5000
5039
|
visibleIndex: 30,
|
|
5001
|
-
iconSize:
|
|
5040
|
+
iconSize: "auto",
|
|
5002
5041
|
action: function () {
|
|
5003
5042
|
_this.delete();
|
|
5004
5043
|
},
|
|
@@ -5044,6 +5083,9 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
5044
5083
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5045
5084
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({ defaultValue: false })
|
|
5046
5085
|
], SurveyElementAdornerBase.prototype, "expandCollapseAnimationRunning", void 0);
|
|
5086
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5087
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({ defaultValue: true })
|
|
5088
|
+
], SurveyElementAdornerBase.prototype, "needToRenderContent", void 0);
|
|
5047
5089
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5048
5090
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({ defaultValue: true })
|
|
5049
5091
|
], SurveyElementAdornerBase.prototype, "allowExpandCollapse", void 0);
|
|
@@ -5051,6 +5093,8 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
5051
5093
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({
|
|
5052
5094
|
onSet: function (val, target) {
|
|
5053
5095
|
target.renderedCollapsed = val;
|
|
5096
|
+
if (!val)
|
|
5097
|
+
target.needToRenderContent = true;
|
|
5054
5098
|
if (target.creator.designerStateManager && !target.creator.designerStateManager.isSuspended && target.surveyElement) {
|
|
5055
5099
|
target.creator.designerStateManager.getElementState(target.surveyElement).collapsed = val;
|
|
5056
5100
|
}
|
|
@@ -6413,6 +6457,8 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
6413
6457
|
}
|
|
6414
6458
|
};
|
|
6415
6459
|
_this.addNewQuestion = function (model, event, type) {
|
|
6460
|
+
var isGhost = _this.isGhost;
|
|
6461
|
+
var page = _this.page;
|
|
6416
6462
|
_this.creator.addNewQuestionInPage(function (type) {
|
|
6417
6463
|
_this.addGhostPage(false);
|
|
6418
6464
|
_this.creator.survey.currentPage = _this.page;
|
|
@@ -6425,7 +6471,7 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
6425
6471
|
_this.dragDropHelper.startDragSurveyElement(event, element, isElementSelected);
|
|
6426
6472
|
if (_this.creator.collapsePagesOnDrag) {
|
|
6427
6473
|
(_a = _this.creator.designerStateManager) === null || _a === void 0 ? void 0 : _a.suspend();
|
|
6428
|
-
_this.creator.
|
|
6474
|
+
_this.creator.collapseAllElements();
|
|
6429
6475
|
}
|
|
6430
6476
|
return true;
|
|
6431
6477
|
};
|
|
@@ -6449,8 +6495,8 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
6449
6495
|
this.isDragMe = (_a = this.page) === null || _a === void 0 ? void 0 : _a.isDragMe;
|
|
6450
6496
|
}
|
|
6451
6497
|
};
|
|
6452
|
-
PageAdorner.prototype.updateShowPlaceholder = function (
|
|
6453
|
-
this.showPlaceholder = !this.isGhost && (
|
|
6498
|
+
PageAdorner.prototype.updateShowPlaceholder = function (visibleRows) {
|
|
6499
|
+
this.showPlaceholder = !this.isGhost && (visibleRows || this.page.visibleRows).length === 0;
|
|
6454
6500
|
};
|
|
6455
6501
|
PageAdorner.prototype.updateActionVisibility = function (id, isVisible) {
|
|
6456
6502
|
_super.prototype.updateActionVisibility.call(this, id, !this.isGhost && isVisible);
|
|
@@ -6478,23 +6524,18 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
6478
6524
|
surveyElement["surveyChangedCallback"] = function () {
|
|
6479
6525
|
_this.isPageLive = !!surveyElement.survey;
|
|
6480
6526
|
};
|
|
6481
|
-
if (this.
|
|
6482
|
-
this.
|
|
6483
|
-
surveyElement.registerFunctionOnPropertiesValueChanged(["title", "description"], function () {
|
|
6484
|
-
_this.addGhostPage();
|
|
6485
|
-
_this.updateShowPlaceholder();
|
|
6486
|
-
}, "add_ghost");
|
|
6487
|
-
this.patchPageForDragDrop(surveyElement, this.addGhostPage);
|
|
6527
|
+
if (this.isGhost) {
|
|
6528
|
+
this.addGhostPageSubsribes(surveyElement);
|
|
6488
6529
|
}
|
|
6489
6530
|
surveyElement.registerFunctionOnPropertiesValueChanged(["dragTypeOverMe"], function () {
|
|
6490
6531
|
_this.updateDragTypeOverMe();
|
|
6491
|
-
});
|
|
6532
|
+
}, "dragOver");
|
|
6492
6533
|
surveyElement.registerFunctionOnPropertiesValueChanged(["isDragMe"], function () {
|
|
6493
6534
|
_this.updateIsDragMe();
|
|
6494
|
-
});
|
|
6495
|
-
surveyElement.registerFunctionOnPropertiesValueChanged(["
|
|
6535
|
+
}, "dragOver");
|
|
6536
|
+
surveyElement.registerFunctionOnPropertiesValueChanged(["visibleRows"], function (newValue) {
|
|
6496
6537
|
_this.updateShowPlaceholder(newValue);
|
|
6497
|
-
});
|
|
6538
|
+
}, "updatePlaceholder");
|
|
6498
6539
|
this.updateShowPlaceholder();
|
|
6499
6540
|
surveyElement.onFirstRendering();
|
|
6500
6541
|
surveyElement.updateCustomWidgets();
|
|
@@ -6506,8 +6547,10 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
6506
6547
|
};
|
|
6507
6548
|
PageAdorner.prototype.detachElement = function (surveyElement) {
|
|
6508
6549
|
if (!!surveyElement) {
|
|
6509
|
-
surveyElement.unRegisterFunctionOnPropertiesValueChanged(["
|
|
6550
|
+
surveyElement.unRegisterFunctionOnPropertiesValueChanged(["elements"], "updatePlaceholder");
|
|
6551
|
+
surveyElement.unRegisterFunctionOnPropertiesValueChanged(["dragTypeOverMe", "isDragMe"], "dragOver");
|
|
6510
6552
|
surveyElement.unRegisterFunctionOnPropertiesValueChanged(["title", "description"], "add_ghost");
|
|
6553
|
+
surveyElement.unRegisterFunctionOnPropertiesValueChanged(["visibleRows"], "updatePlaceholder");
|
|
6511
6554
|
surveyElement["surveyChangedCallback"] = undefined;
|
|
6512
6555
|
}
|
|
6513
6556
|
_super.prototype.detachElement.call(this, surveyElement);
|
|
@@ -6534,16 +6577,14 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
6534
6577
|
addGhostPage();
|
|
6535
6578
|
};
|
|
6536
6579
|
};
|
|
6537
|
-
PageAdorner.prototype.
|
|
6538
|
-
|
|
6580
|
+
PageAdorner.prototype.addGhostPageSubsribes = function (surveyElement) {
|
|
6581
|
+
var _this = this;
|
|
6582
|
+
surveyElement.registerFunctionOnPropertiesValueChanged(["title", "description"], function () {
|
|
6583
|
+
_this.addGhostPage();
|
|
6584
|
+
_this.updateShowPlaceholder();
|
|
6585
|
+
}, "add_ghost");
|
|
6586
|
+
this.patchPageForDragDrop(this.surveyElement, this.addGhostPage);
|
|
6539
6587
|
};
|
|
6540
|
-
Object.defineProperty(PageAdorner.prototype, "isGhost", {
|
|
6541
|
-
get: function () {
|
|
6542
|
-
return this.calcIsGhostPage(this.page);
|
|
6543
|
-
},
|
|
6544
|
-
enumerable: false,
|
|
6545
|
-
configurable: true
|
|
6546
|
-
});
|
|
6547
6588
|
Object.defineProperty(PageAdorner.prototype, "placeholderText", {
|
|
6548
6589
|
get: function () {
|
|
6549
6590
|
if (this.creator.isMobileView)
|
|
@@ -6569,6 +6610,16 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
6569
6610
|
PageAdorner.prototype.createActionContainer = function () {
|
|
6570
6611
|
var container = new survey_core__WEBPACK_IMPORTED_MODULE_1__.ActionContainer();
|
|
6571
6612
|
container.sizeMode = "small";
|
|
6613
|
+
container.cssClasses = {
|
|
6614
|
+
root: "svc-page-toolbar sv-action-bar",
|
|
6615
|
+
item: "svc-page-toolbar__item",
|
|
6616
|
+
itemWithTitle: "svc-page-toolbar__item--with-text",
|
|
6617
|
+
itemActive: "svc-page-toolbar__item--active",
|
|
6618
|
+
itemPressed: "svc-page-toolbar__item--pressed",
|
|
6619
|
+
itemIcon: "svc-page-toolbar-item__icon",
|
|
6620
|
+
itemTitle: "svc-page-toolbar-item__title",
|
|
6621
|
+
itemTitleWithIcon: "svc-page-toolbar-item__title--with-icon",
|
|
6622
|
+
};
|
|
6572
6623
|
return container;
|
|
6573
6624
|
};
|
|
6574
6625
|
PageAdorner.prototype.getExpandCollapseAction = function () {
|
|
@@ -6618,9 +6669,9 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
6618
6669
|
this.dragOut();
|
|
6619
6670
|
}
|
|
6620
6671
|
}
|
|
6621
|
-
if (this.allowExpandCollapse) {
|
|
6672
|
+
if (this.allowExpandCollapse || this.page["isGhost"]) {
|
|
6622
6673
|
result += (" svc-page__content--collapse-" + this.creator.expandCollapseButtonVisibility);
|
|
6623
|
-
if (this.renderedCollapsed)
|
|
6674
|
+
if (this.renderedCollapsed || this.page["isGhost"])
|
|
6624
6675
|
result += (" svc-page__content--collapsed");
|
|
6625
6676
|
if (this.expandCollapseAnimationRunning)
|
|
6626
6677
|
result += (" svc-page__content--animation-running");
|
|
@@ -6697,11 +6748,7 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
6697
6748
|
return [].slice.call((_a = this.rootElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll(":scope .svc-page__footer, :scope ".concat((0,survey_core__WEBPACK_IMPORTED_MODULE_1__.classesToSelector)(this.surveyElement.cssRoot), " > .svc-row")));
|
|
6698
6749
|
return null;
|
|
6699
6750
|
};
|
|
6700
|
-
PageAdorner.prototype.onPageSelected = function () {
|
|
6701
|
-
if (this.rootElement) {
|
|
6702
|
-
_survey_helper__WEBPACK_IMPORTED_MODULE_4__.SurveyHelper.scrollIntoViewIfNeeded(this.rootElement);
|
|
6703
|
-
}
|
|
6704
|
-
};
|
|
6751
|
+
PageAdorner.prototype.onPageSelected = function () { };
|
|
6705
6752
|
PageAdorner.prototype.getAllowDragging = function (options) {
|
|
6706
6753
|
return this.creator.allowDragPages && _super.prototype.getAllowDragging.call(this, options);
|
|
6707
6754
|
};
|
|
@@ -6743,6 +6790,19 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
6743
6790
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
6744
6791
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({ defaultValue: false })
|
|
6745
6792
|
], PageAdorner.prototype, "isDragMe", void 0);
|
|
6793
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
6794
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({
|
|
6795
|
+
onSet: function (val, target, prevVal) {
|
|
6796
|
+
if (val != prevVal) {
|
|
6797
|
+
target.updateShowPlaceholder();
|
|
6798
|
+
target.updateActionsProperties();
|
|
6799
|
+
if (val && target.surveyElement) {
|
|
6800
|
+
target.addGhostPageSubsribes(target.surveyElement);
|
|
6801
|
+
}
|
|
6802
|
+
}
|
|
6803
|
+
},
|
|
6804
|
+
})
|
|
6805
|
+
], PageAdorner.prototype, "isGhost", void 0);
|
|
6746
6806
|
return PageAdorner;
|
|
6747
6807
|
}(_action_container_view_model__WEBPACK_IMPORTED_MODULE_2__.SurveyElementAdornerBase));
|
|
6748
6808
|
|
|
@@ -6778,9 +6838,6 @@ var QuestionDropdownAdornerViewModel = /** @class */ (function (_super) {
|
|
|
6778
6838
|
_this.switchCollapse = function () {
|
|
6779
6839
|
_this.isCollapsed = !_this.isCollapsed;
|
|
6780
6840
|
};
|
|
6781
|
-
_this.surveyElement.registerFunctionOnPropertyValueChanged("isSelectedInDesigner", function () {
|
|
6782
|
-
_this.leftFocus();
|
|
6783
|
-
}, "dropdownCollapseChecker");
|
|
6784
6841
|
_this.visibleCount = creator.maxVisibleChoices;
|
|
6785
6842
|
_this.isCollapsed = _this.isCollapsed && _this.needToCollapse;
|
|
6786
6843
|
return _this;
|
|
@@ -6837,9 +6894,20 @@ var QuestionDropdownAdornerViewModel = /** @class */ (function (_super) {
|
|
|
6837
6894
|
_editorLocalization__WEBPACK_IMPORTED_MODULE_3__.editorLocalization.getString("ed.showLessChoices") :
|
|
6838
6895
|
_editorLocalization__WEBPACK_IMPORTED_MODULE_3__.editorLocalization.getString("ed.showMoreChoices");
|
|
6839
6896
|
};
|
|
6840
|
-
QuestionDropdownAdornerViewModel.prototype.
|
|
6841
|
-
|
|
6842
|
-
|
|
6897
|
+
QuestionDropdownAdornerViewModel.prototype.attachElement = function (surveyElement) {
|
|
6898
|
+
var _this = this;
|
|
6899
|
+
_super.prototype.attachElement.call(this, surveyElement);
|
|
6900
|
+
if (!!surveyElement) {
|
|
6901
|
+
surveyElement.registerFunctionOnPropertyValueChanged("isSelectedInDesigner", function () {
|
|
6902
|
+
_this.leftFocus();
|
|
6903
|
+
}, "dropdownCollapseChecker");
|
|
6904
|
+
}
|
|
6905
|
+
};
|
|
6906
|
+
QuestionDropdownAdornerViewModel.prototype.detachElement = function (surveyElement) {
|
|
6907
|
+
if (!!surveyElement) {
|
|
6908
|
+
surveyElement.unRegisterFunctionOnPropertyValueChanged("isSelectedInDesigner", "dropdownCollapseChecker");
|
|
6909
|
+
}
|
|
6910
|
+
_super.prototype.detachElement.call(this, surveyElement);
|
|
6843
6911
|
};
|
|
6844
6912
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
6845
6913
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({ defaultValue: true })
|
|
@@ -6976,8 +7044,10 @@ var QuestionImageAdornerViewModel = /** @class */ (function (_super) {
|
|
|
6976
7044
|
.append("svc-question__content--loading", this.isUploading).toString();
|
|
6977
7045
|
};
|
|
6978
7046
|
QuestionImageAdornerViewModel.prototype.dispose = function () {
|
|
6979
|
-
this.surveyElement
|
|
6980
|
-
|
|
7047
|
+
if (this.surveyElement) {
|
|
7048
|
+
this.surveyElement.unRegisterFunctionOnPropertyValueChanged("imageLink", "imageLinkValueChanged");
|
|
7049
|
+
this.surveyElement.locImageLink.onStringChanged.remove(this.imageLinkValueChangedHandler);
|
|
7050
|
+
}
|
|
6981
7051
|
_super.prototype.dispose.call(this);
|
|
6982
7052
|
};
|
|
6983
7053
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
@@ -7257,13 +7327,6 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7257
7327
|
_string_editor__WEBPACK_IMPORTED_MODULE_7__.StringItemsNavigatorBase.setQuestion(_this);
|
|
7258
7328
|
return _this;
|
|
7259
7329
|
}
|
|
7260
|
-
Object.defineProperty(QuestionAdornerViewModel.prototype, "element", {
|
|
7261
|
-
get: function () {
|
|
7262
|
-
return this.surveyElement;
|
|
7263
|
-
},
|
|
7264
|
-
enumerable: false,
|
|
7265
|
-
configurable: true
|
|
7266
|
-
});
|
|
7267
7330
|
QuestionAdornerViewModel.prototype.canSelectElement = function () {
|
|
7268
7331
|
return _super.prototype.canSelectElement.call(this) && this.surveyElement.isInteractiveDesignElement;
|
|
7269
7332
|
};
|
|
@@ -7433,7 +7496,12 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7433
7496
|
});
|
|
7434
7497
|
Object.defineProperty(QuestionAdornerViewModel.prototype, "cssCollapsedHiddenHeader", {
|
|
7435
7498
|
get: function () {
|
|
7436
|
-
|
|
7499
|
+
var css = new survey_core__WEBPACK_IMPORTED_MODULE_1__.CssClassBuilder()
|
|
7500
|
+
.append(this.element.cssHeader)
|
|
7501
|
+
.append("svc-element__header--hidden")
|
|
7502
|
+
.append("svc-element__header--lazy", !this.needToRenderContent)
|
|
7503
|
+
.toString();
|
|
7504
|
+
return css;
|
|
7437
7505
|
},
|
|
7438
7506
|
enumerable: false,
|
|
7439
7507
|
configurable: true
|
|
@@ -7490,11 +7558,24 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7490
7558
|
res.text = res.messageText;
|
|
7491
7559
|
return res;
|
|
7492
7560
|
};
|
|
7493
|
-
QuestionAdornerViewModel.prototype.
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7561
|
+
QuestionAdornerViewModel.prototype.detachElement = function (surveyElement) {
|
|
7562
|
+
if (surveyElement) {
|
|
7563
|
+
surveyElement.unRegisterFunctionOnPropertyValueChanged("isRequired", "isRequiredAdorner");
|
|
7564
|
+
surveyElement.unRegisterFunctionOnPropertiesValueChanged(["inputType", "rateType"], "inputTypeAdorner");
|
|
7565
|
+
if (!!surveyElement["setCanShowOptionItemCallback"]) {
|
|
7566
|
+
surveyElement.setCanShowOptionItemCallback(undefined);
|
|
7567
|
+
}
|
|
7568
|
+
}
|
|
7569
|
+
_super.prototype.detachElement.call(this, this.element);
|
|
7570
|
+
};
|
|
7571
|
+
QuestionAdornerViewModel.prototype.attachElement = function (surveyElement) {
|
|
7572
|
+
var _this = this;
|
|
7573
|
+
_super.prototype.attachElement.call(this, surveyElement);
|
|
7574
|
+
if (surveyElement) {
|
|
7575
|
+
surveyElement.registerFunctionOnPropertyValueChanged("isRequired", function (newValue) {
|
|
7576
|
+
var requiredAction = _this.actionContainer.getActionById("isrequired");
|
|
7577
|
+
_this.updateRequiredAction(requiredAction);
|
|
7578
|
+
}, "isRequiredAdorner");
|
|
7498
7579
|
}
|
|
7499
7580
|
};
|
|
7500
7581
|
Object.defineProperty(QuestionAdornerViewModel.prototype, "isDraggable", {
|
|
@@ -7522,8 +7603,29 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7522
7603
|
};
|
|
7523
7604
|
QuestionAdornerViewModel.prototype.createActionContainers = function () {
|
|
7524
7605
|
_super.prototype.createActionContainers.call(this);
|
|
7606
|
+
var defaultCssClasses = {
|
|
7607
|
+
root: "svc-survey-element-toolbar sv-action-bar",
|
|
7608
|
+
item: "svc-survey-element-toolbar__item",
|
|
7609
|
+
itemWithTitle: "svc-survey-element-toolbar__item--with-text",
|
|
7610
|
+
itemAsIcon: "svc-survey-element-toolbar__item--icon",
|
|
7611
|
+
itemActive: "svc-survey-element-toolbar__item--active",
|
|
7612
|
+
itemPressed: "svc-survey-element-toolbar__item--pressed",
|
|
7613
|
+
itemIcon: "svc-survey-element-toolbar-item__icon",
|
|
7614
|
+
itemTitle: "svc-survey-element-toolbar-item__title",
|
|
7615
|
+
itemTitleWithIcon: "svc-survey-element-toolbar-item__title--with-icon",
|
|
7616
|
+
};
|
|
7525
7617
|
this.actionContainer.sizeMode = "small";
|
|
7618
|
+
this.actionContainer.cssClasses = defaultCssClasses;
|
|
7619
|
+
this.actionContainer.dotsItem.css += " svc-survey-element-toolbar__dots-item";
|
|
7620
|
+
this.actionContainer.dotsItem.innerCss += " svc-survey-element-toolbar__item";
|
|
7526
7621
|
this.topActionContainer = new survey_core__WEBPACK_IMPORTED_MODULE_1__.ActionContainer();
|
|
7622
|
+
this.topActionContainer.cssClasses = {
|
|
7623
|
+
root: "svc-survey-element-top-toolbar sv-action-bar",
|
|
7624
|
+
item: "svc-survey-element-top-toolbar__item",
|
|
7625
|
+
itemIcon: "svc-survey-element-toolbar-item__icon",
|
|
7626
|
+
itemTitle: "svc-survey-element-toolbar-item__title",
|
|
7627
|
+
itemTitleWithIcon: "svc-survey-element-toolbar-item__title--with-icon",
|
|
7628
|
+
};
|
|
7527
7629
|
this.topActionContainer.sizeMode = "small";
|
|
7528
7630
|
this.topActionContainer.setItems([this.expandCollapseAction]);
|
|
7529
7631
|
};
|
|
@@ -7587,7 +7689,7 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7587
7689
|
});
|
|
7588
7690
|
Object.defineProperty(QuestionAdornerViewModel.prototype, "showHiddenTitle", {
|
|
7589
7691
|
get: function () {
|
|
7590
|
-
return (!this.element.hasTitle || this.isTitleLeft) && this.element.isInteractiveDesignElement;
|
|
7692
|
+
return (!this.element.hasTitle || this.isTitleLeft || !this.needToRenderContent) && this.element.isInteractiveDesignElement;
|
|
7591
7693
|
},
|
|
7592
7694
|
enumerable: false,
|
|
7593
7695
|
configurable: true
|
|
@@ -7611,16 +7713,6 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7611
7713
|
enumerable: false,
|
|
7612
7714
|
configurable: true
|
|
7613
7715
|
});
|
|
7614
|
-
Object.defineProperty(QuestionAdornerViewModel.prototype, "isRequired", {
|
|
7615
|
-
get: function () {
|
|
7616
|
-
return this.surveyElement.isRequired;
|
|
7617
|
-
},
|
|
7618
|
-
set: function (newVal) {
|
|
7619
|
-
this.surveyElement.isRequired = newVal;
|
|
7620
|
-
},
|
|
7621
|
-
enumerable: false,
|
|
7622
|
-
configurable: true
|
|
7623
|
-
});
|
|
7624
7716
|
QuestionAdornerViewModel.prototype.onPointerDown = function (pointerDownEvent) {
|
|
7625
7717
|
this.dragOrClickHelper.onPointerDown(pointerDownEvent);
|
|
7626
7718
|
};
|
|
@@ -7721,7 +7813,8 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7721
7813
|
enabled: true,
|
|
7722
7814
|
visibleIndex: 0,
|
|
7723
7815
|
title: !!currItem ? currItem.title : _editorLocalization__WEBPACK_IMPORTED_MODULE_2__.editorLocalization.getString("qt." + this.currentType),
|
|
7724
|
-
iconName: "icon-chevron_16x16"
|
|
7816
|
+
iconName: "icon-chevron_16x16",
|
|
7817
|
+
iconSize: "auto"
|
|
7725
7818
|
};
|
|
7726
7819
|
var newAction = this.createDropdownModel({
|
|
7727
7820
|
actionData: actionData,
|
|
@@ -7737,9 +7830,6 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7737
7830
|
}
|
|
7738
7831
|
return "icon-chevron_16x16";
|
|
7739
7832
|
});
|
|
7740
|
-
newAction.iconSize = new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () {
|
|
7741
|
-
return newAction.mode === "small" ? 24 : 16;
|
|
7742
|
-
});
|
|
7743
7833
|
newAction.disableHide = true;
|
|
7744
7834
|
return newAction;
|
|
7745
7835
|
};
|
|
@@ -7879,9 +7969,9 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7879
7969
|
QuestionAdornerViewModel.prototype.createDropdownModel = function (options) {
|
|
7880
7970
|
var newAction = (0,survey_core__WEBPACK_IMPORTED_MODULE_1__.createDropdownActionModel)({
|
|
7881
7971
|
id: options.actionData.id,
|
|
7882
|
-
css: "
|
|
7972
|
+
css: "svc-dropdown-action--convertTo",
|
|
7883
7973
|
iconName: options.actionData.iconName,
|
|
7884
|
-
iconSize:
|
|
7974
|
+
iconSize: "auto",
|
|
7885
7975
|
title: options.actionData.title,
|
|
7886
7976
|
enabled: options.actionData.enabled,
|
|
7887
7977
|
visibleIndex: options.actionData.visibleIndex,
|
|
@@ -7894,13 +7984,12 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7894
7984
|
allowSelection: true,
|
|
7895
7985
|
horizontalPosition: "center",
|
|
7896
7986
|
cssClass: "svc-creator-popup",
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
},
|
|
7987
|
+
});
|
|
7988
|
+
newAction.popupModel.onVisibilityChanged.add(function (_, opt) {
|
|
7989
|
+
if (opt.isVisible) {
|
|
7990
|
+
var listModel_1 = newAction.popupModel.contentComponentData.model;
|
|
7991
|
+
options.updateListModel(listModel_1);
|
|
7992
|
+
}
|
|
7904
7993
|
});
|
|
7905
7994
|
var listModel = newAction.popupModel.contentComponentData.model;
|
|
7906
7995
|
// options.updateListModel(listModel);
|
|
@@ -7910,29 +7999,38 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7910
7999
|
newAction.data.locOwner = this.creator;
|
|
7911
8000
|
return newAction;
|
|
7912
8001
|
};
|
|
8002
|
+
QuestionAdornerViewModel.prototype.updateRequiredAction = function (requiredAction) {
|
|
8003
|
+
var _a;
|
|
8004
|
+
if (!requiredAction)
|
|
8005
|
+
return;
|
|
8006
|
+
var isRequired = (_a = this.surveyElement) === null || _a === void 0 ? void 0 : _a.isRequired;
|
|
8007
|
+
requiredAction.ariaChecked = isRequired;
|
|
8008
|
+
requiredAction.active = isRequired;
|
|
8009
|
+
requiredAction.innerItem.title = isRequired ? this.creator.getLocString("pe.removeRequiredMark") : this.creator.getLocString("pe.markRequired");
|
|
8010
|
+
};
|
|
7913
8011
|
QuestionAdornerViewModel.prototype.createRequiredAction = function () {
|
|
7914
8012
|
var _this = this;
|
|
7915
8013
|
this.surveyElement.isRequired;
|
|
7916
|
-
var
|
|
8014
|
+
var actionSetup = {
|
|
7917
8015
|
id: "isrequired",
|
|
7918
|
-
ariaChecked: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.isRequired; }),
|
|
7919
8016
|
ariaRole: "checkbox",
|
|
7920
|
-
css: "svc-action-bar-item--right
|
|
8017
|
+
css: "svc-action-bar-item--right",
|
|
7921
8018
|
innerCss: "svc-required-action",
|
|
7922
|
-
title: this.creator.getLocString("pe.isRequired"),
|
|
7923
8019
|
visibleIndex: 20,
|
|
7924
8020
|
iconName: "icon-required",
|
|
7925
|
-
iconSize:
|
|
7926
|
-
active: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.isRequired; }),
|
|
8021
|
+
iconSize: "auto",
|
|
7927
8022
|
action: function () {
|
|
8023
|
+
var _a;
|
|
7928
8024
|
if (_this.creator.isCanModifyProperty(_this.surveyElement, "isRequired")) {
|
|
7929
|
-
_this.isRequired = _this.getUpdatedPropertyValue("isRequired", !_this.isRequired);
|
|
8025
|
+
_this.surveyElement.isRequired = _this.getUpdatedPropertyValue("isRequired", !((_a = _this.surveyElement) === null || _a === void 0 ? void 0 : _a.isRequired));
|
|
7930
8026
|
}
|
|
7931
8027
|
}
|
|
7932
|
-
}
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
|
-
|
|
8028
|
+
};
|
|
8029
|
+
var innerAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action(actionSetup);
|
|
8030
|
+
var requiredAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action(actionSetup);
|
|
8031
|
+
requiredAction.title = this.creator.getLocString("pe.isRequired");
|
|
8032
|
+
requiredAction.innerItem = innerAction;
|
|
8033
|
+
this.updateRequiredAction(requiredAction);
|
|
7936
8034
|
return requiredAction;
|
|
7937
8035
|
};
|
|
7938
8036
|
QuestionAdornerViewModel.prototype.getUpdatedPropertyValue = function (propName, newValue) {
|
|
@@ -7954,7 +8052,7 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
7954
8052
|
if (!!inputTypeConverter) {
|
|
7955
8053
|
items.push(inputTypeConverter);
|
|
7956
8054
|
}
|
|
7957
|
-
items[items.length - 1].css += "
|
|
8055
|
+
items[items.length - 1].css += " svc-dropdown-action--convertTo-last";
|
|
7958
8056
|
if (typeof element["isRequired"] !== "undefined" &&
|
|
7959
8057
|
(0,_utils_utils__WEBPACK_IMPORTED_MODULE_4__.propertyExists)(element, "isRequired") &&
|
|
7960
8058
|
(0,_utils_utils__WEBPACK_IMPORTED_MODULE_4__.isPropertyVisible)(element, "isRequired")) {
|
|
@@ -8221,13 +8319,19 @@ var RowViewModel = /** @class */ (function (_super) {
|
|
|
8221
8319
|
_this.creator = creator;
|
|
8222
8320
|
_this.row = row;
|
|
8223
8321
|
_this.templateData = templateData;
|
|
8224
|
-
_this.
|
|
8225
|
-
_this.row.onPropertyChanged.add(function (s, o) {
|
|
8322
|
+
_this.rowDragTypeOverMeChanged = function (s, o) {
|
|
8226
8323
|
if (o.name == "dragTypeOverMe")
|
|
8227
8324
|
_this.dragTypeOverMe = o.newValue;
|
|
8228
|
-
}
|
|
8325
|
+
};
|
|
8326
|
+
_this.dragTypeOverMe = _this.row.dragTypeOverMe;
|
|
8229
8327
|
return _this;
|
|
8230
8328
|
}
|
|
8329
|
+
RowViewModel.prototype.subscribeElementChanges = function () {
|
|
8330
|
+
this.row.onPropertyChanged.add(this.rowDragTypeOverMeChanged);
|
|
8331
|
+
};
|
|
8332
|
+
RowViewModel.prototype.unsubscribeElementChanges = function () {
|
|
8333
|
+
this.row.onPropertyChanged.remove(this.rowDragTypeOverMeChanged);
|
|
8334
|
+
};
|
|
8231
8335
|
Object.defineProperty(RowViewModel.prototype, "cssClasses", {
|
|
8232
8336
|
get: function () {
|
|
8233
8337
|
var result = "svc-row";
|
|
@@ -8247,6 +8351,11 @@ var RowViewModel = /** @class */ (function (_super) {
|
|
|
8247
8351
|
enumerable: false,
|
|
8248
8352
|
configurable: true
|
|
8249
8353
|
});
|
|
8354
|
+
RowViewModel.prototype.dispose = function () {
|
|
8355
|
+
_super.prototype.dispose.call(this);
|
|
8356
|
+
this.unsubscribeElementChanges();
|
|
8357
|
+
this.rowDragTypeOverMeChanged = undefined;
|
|
8358
|
+
};
|
|
8250
8359
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
8251
8360
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
8252
8361
|
], RowViewModel.prototype, "dragTypeOverMe", void 0);
|
|
@@ -8255,6 +8364,86 @@ var RowViewModel = /** @class */ (function (_super) {
|
|
|
8255
8364
|
|
|
8256
8365
|
|
|
8257
8366
|
|
|
8367
|
+
/***/ }),
|
|
8368
|
+
|
|
8369
|
+
/***/ "./src/components/search-manager.ts":
|
|
8370
|
+
/*!******************************************!*\
|
|
8371
|
+
!*** ./src/components/search-manager.ts ***!
|
|
8372
|
+
\******************************************/
|
|
8373
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8374
|
+
|
|
8375
|
+
"use strict";
|
|
8376
|
+
__webpack_require__.r(__webpack_exports__);
|
|
8377
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8378
|
+
/* harmony export */ SearchManager: () => (/* binding */ SearchManager)
|
|
8379
|
+
/* harmony export */ });
|
|
8380
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
8381
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
8382
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
8383
|
+
/* harmony import */ var _editorLocalization__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../editorLocalization */ "./src/editorLocalization.ts");
|
|
8384
|
+
|
|
8385
|
+
|
|
8386
|
+
|
|
8387
|
+
var SearchManager = /** @class */ (function (_super) {
|
|
8388
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SearchManager, _super);
|
|
8389
|
+
function SearchManager() {
|
|
8390
|
+
var _this = _super.call(this) || this;
|
|
8391
|
+
_this.searchActionBar = new survey_core__WEBPACK_IMPORTED_MODULE_1__.ActionContainer();
|
|
8392
|
+
_this.initActionBar();
|
|
8393
|
+
return _this;
|
|
8394
|
+
}
|
|
8395
|
+
Object.defineProperty(SearchManager.prototype, "filterStringPlaceholder", {
|
|
8396
|
+
get: function () { return this.getFilterStringPlaceholder(); },
|
|
8397
|
+
enumerable: false,
|
|
8398
|
+
configurable: true
|
|
8399
|
+
});
|
|
8400
|
+
SearchManager.prototype.getSearchActions = function () {
|
|
8401
|
+
var _this = this;
|
|
8402
|
+
return [new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
8403
|
+
id: "svd-grid-search-close",
|
|
8404
|
+
iconName: "icon-clear_16x16",
|
|
8405
|
+
component: "sv-action-bar-item",
|
|
8406
|
+
title: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("ed.clear"),
|
|
8407
|
+
showTitle: false,
|
|
8408
|
+
iconSize: "auto",
|
|
8409
|
+
disableTabStop: true,
|
|
8410
|
+
innerCss: "svc-search__bar-item",
|
|
8411
|
+
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return !!_this.filterString; }),
|
|
8412
|
+
action: function () {
|
|
8413
|
+
_this.clearFilterString();
|
|
8414
|
+
}
|
|
8415
|
+
})];
|
|
8416
|
+
};
|
|
8417
|
+
SearchManager.prototype.initActionBar = function () {
|
|
8418
|
+
this.searchActionBar.setItems(this.getSearchActions());
|
|
8419
|
+
};
|
|
8420
|
+
SearchManager.prototype.clearFilterString = function () {
|
|
8421
|
+
this.filterString = "";
|
|
8422
|
+
};
|
|
8423
|
+
SearchManager.prototype.onPropertyValueChanged = function (name, oldValue, newValue) {
|
|
8424
|
+
_super.prototype.onPropertyValueChanged.call(this, name, oldValue, newValue);
|
|
8425
|
+
if (name === "filterString") {
|
|
8426
|
+
this.setFiterString(newValue, oldValue);
|
|
8427
|
+
}
|
|
8428
|
+
};
|
|
8429
|
+
SearchManager.prototype.dispose = function () {
|
|
8430
|
+
this.searchActionBar.dispose();
|
|
8431
|
+
_super.prototype.dispose.call(this);
|
|
8432
|
+
};
|
|
8433
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
8434
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
8435
|
+
], SearchManager.prototype, "filterString", void 0);
|
|
8436
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
8437
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
8438
|
+
], SearchManager.prototype, "isVisible", void 0);
|
|
8439
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
8440
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
8441
|
+
], SearchManager.prototype, "matchCounterText", void 0);
|
|
8442
|
+
return SearchManager;
|
|
8443
|
+
}(survey_core__WEBPACK_IMPORTED_MODULE_1__.Base));
|
|
8444
|
+
|
|
8445
|
+
|
|
8446
|
+
|
|
8258
8447
|
/***/ }),
|
|
8259
8448
|
|
|
8260
8449
|
/***/ "./src/components/side-bar/side-bar-header-model.ts":
|
|
@@ -8478,6 +8667,7 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
8478
8667
|
this._collapseAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
8479
8668
|
id: "svd-grid-hide",
|
|
8480
8669
|
iconName: "icon-collapse-panel",
|
|
8670
|
+
iconSize: "auto",
|
|
8481
8671
|
css: "svd-grid-hide",
|
|
8482
8672
|
locTitleName: "ed.hidePanel",
|
|
8483
8673
|
showTitle: false,
|
|
@@ -8500,6 +8690,7 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
8500
8690
|
this._expandAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
8501
8691
|
id: "svd-grid-expand",
|
|
8502
8692
|
iconName: "icon-expand-panel",
|
|
8693
|
+
iconSize: "auto",
|
|
8503
8694
|
css: "svd-grid-expand",
|
|
8504
8695
|
needSeparator: true,
|
|
8505
8696
|
action: function () {
|
|
@@ -8715,7 +8906,7 @@ var TabControlModel = /** @class */ (function (_super) {
|
|
|
8715
8906
|
TabControlModel.prototype.updateExpandCollapseAction = function () {
|
|
8716
8907
|
this.expandCollapseAction.iconName = this.sidePanel.visible ? "icon-collapse-panel" : "icon-expand-panel";
|
|
8717
8908
|
this.expandCollapseAction.css = this.sidePanel.visible ? "svd-grid-hide" : "svd-grid-expand";
|
|
8718
|
-
this.expandCollapseAction.
|
|
8909
|
+
this.expandCollapseAction.locTooltipName = this.sidePanel.visible ? "ed.hidePanel" : "ed.showPanel";
|
|
8719
8910
|
};
|
|
8720
8911
|
TabControlModel.prototype.createToggleAction = function () {
|
|
8721
8912
|
var _this = this;
|
|
@@ -9155,13 +9346,13 @@ var simulatorDevices = {
|
|
|
9155
9346
|
// title: "Windows 10 Phone",
|
|
9156
9347
|
// cssClass: "svd-simulator-win10phone",
|
|
9157
9348
|
// },
|
|
9158
|
-
|
|
9349
|
+
microsoftSurface: {
|
|
9159
9350
|
cssPixelRatio: 1,
|
|
9160
9351
|
ppi: 148,
|
|
9161
9352
|
width: 768,
|
|
9162
9353
|
height: 1366,
|
|
9163
9354
|
deviceType: "tablet",
|
|
9164
|
-
title: "
|
|
9355
|
+
title: "Microsoft Surface",
|
|
9165
9356
|
cssClass: "svd-simulator-mssurface",
|
|
9166
9357
|
},
|
|
9167
9358
|
genericPhone: {
|
|
@@ -10012,7 +10203,11 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
10012
10203
|
macOsHotkey: {
|
|
10013
10204
|
keyCode: 46,
|
|
10014
10205
|
},
|
|
10015
|
-
execute: function () {
|
|
10206
|
+
execute: function () {
|
|
10207
|
+
if (!_this.creator.readOnly) {
|
|
10208
|
+
_this.creator.deleteCurrentElement();
|
|
10209
|
+
}
|
|
10210
|
+
}
|
|
10016
10211
|
});
|
|
10017
10212
|
}
|
|
10018
10213
|
Object.defineProperty(TabDesignerPlugin.prototype, "isSurveySelected", {
|
|
@@ -10127,6 +10322,11 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
10127
10322
|
this.updatePredefinedColorChoices();
|
|
10128
10323
|
}
|
|
10129
10324
|
};
|
|
10325
|
+
TabDesignerPlugin.prototype.setTheme = function () {
|
|
10326
|
+
if (this.creator.showCreatorThemeSettings) {
|
|
10327
|
+
this.themeModel.setTheme(this.creator.creatorTheme);
|
|
10328
|
+
}
|
|
10329
|
+
};
|
|
10130
10330
|
TabDesignerPlugin.prototype.createCreatorThemeSettingsPage = function (creator) {
|
|
10131
10331
|
var _this = this;
|
|
10132
10332
|
this.themeModel = new _creator_theme_creator_theme_model__WEBPACK_IMPORTED_MODULE_11__.CreatorThemeModel();
|
|
@@ -10152,8 +10352,9 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
10152
10352
|
});
|
|
10153
10353
|
var settingsAction = new _utils_actions__WEBPACK_IMPORTED_MODULE_8__.MenuButton({
|
|
10154
10354
|
id: "theme-settings",
|
|
10155
|
-
locTooltipName: "
|
|
10156
|
-
iconName: "
|
|
10355
|
+
locTooltipName: "ed.creatorSettingTitle",
|
|
10356
|
+
iconName: "gear-24x24",
|
|
10357
|
+
iconSize: "auto",
|
|
10157
10358
|
pressed: false,
|
|
10158
10359
|
action: function () {
|
|
10159
10360
|
_this.creator.sidebar.expandSidebar();
|
|
@@ -10172,6 +10373,7 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
10172
10373
|
id: p.name,
|
|
10173
10374
|
tooltip: p.title,
|
|
10174
10375
|
iconName: _property_grid_icons__WEBPACK_IMPORTED_MODULE_7__.pgTabIcons[p.name] || _property_grid_icons__WEBPACK_IMPORTED_MODULE_7__.pgTabIcons["undefined"],
|
|
10376
|
+
iconSize: "auto",
|
|
10175
10377
|
active: _this.activePageIsPropertyGrid && p.name === _this.propertyGrid.survey.currentPage.name,
|
|
10176
10378
|
pressed: false,
|
|
10177
10379
|
action: function () {
|
|
@@ -10219,7 +10421,9 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
10219
10421
|
this.creator.sidebar.hideSideBarVisibilityControlActions = false;
|
|
10220
10422
|
this.creator.sidebar.sideAreaComponentName = undefined;
|
|
10221
10423
|
this.creator.sidebar.sideAreaComponentData = undefined;
|
|
10424
|
+
this.creator.sidebar.onPropertyChanged.clear();
|
|
10222
10425
|
this.creator.sidebar.header.reset();
|
|
10426
|
+
this.creator.expandCollapseManager.clear();
|
|
10223
10427
|
return true;
|
|
10224
10428
|
};
|
|
10225
10429
|
TabDesignerPlugin.prototype.onDesignerSurveyPropertyChanged = function (obj, propName) {
|
|
@@ -10239,6 +10443,7 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
10239
10443
|
var toolboxAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
10240
10444
|
id: "svd-toolbox",
|
|
10241
10445
|
iconName: "icon-toolbox",
|
|
10446
|
+
iconSize: "auto",
|
|
10242
10447
|
needSeparator: true,
|
|
10243
10448
|
action: function () {
|
|
10244
10449
|
if (!_this.creator.showSidebar) {
|
|
@@ -10256,6 +10461,7 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
10256
10461
|
this.surveySettingsAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
10257
10462
|
id: "svd-settings",
|
|
10258
10463
|
iconName: "icon-settings",
|
|
10464
|
+
iconSize: "auto",
|
|
10259
10465
|
needSeparator: new survey_core__WEBPACK_IMPORTED_MODULE_0__.ComputedUpdater(function () {
|
|
10260
10466
|
return (0,_utils_utils__WEBPACK_IMPORTED_MODULE_1__.notShortCircuitAnd)(_this.creator.toolboxLocation !== "sidebar", !_this.creator.isMobileView);
|
|
10261
10467
|
}),
|
|
@@ -10277,6 +10483,7 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
10277
10483
|
this.saveSurveyAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
10278
10484
|
id: "svd-save",
|
|
10279
10485
|
iconName: "icon-save",
|
|
10486
|
+
iconSize: "auto",
|
|
10280
10487
|
action: function () { return _this.creator.saveSurveyActionHandler(); },
|
|
10281
10488
|
active: false,
|
|
10282
10489
|
enabled: false,
|
|
@@ -10290,6 +10497,7 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
10290
10497
|
this.designerAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
10291
10498
|
id: "svd-designer",
|
|
10292
10499
|
iconName: "icon-config",
|
|
10500
|
+
iconSize: "auto",
|
|
10293
10501
|
visible: this.createVisibleUpdater(),
|
|
10294
10502
|
active: true,
|
|
10295
10503
|
locTitleName: "ed.designer",
|
|
@@ -10299,6 +10507,7 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
10299
10507
|
this.previewAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
10300
10508
|
id: "svd-preview",
|
|
10301
10509
|
iconName: "icon-preview",
|
|
10510
|
+
iconSize: "auto",
|
|
10302
10511
|
action: function () {
|
|
10303
10512
|
_this.creator.makeNewViewActive(_this.creator.showThemeTab ? "theme" : "test");
|
|
10304
10513
|
},
|
|
@@ -10445,6 +10654,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10445
10654
|
/* harmony import */ var _pages_controller__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../pages-controller */ "./src/pages-controller.ts");
|
|
10446
10655
|
/* harmony import */ var _survey_helper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../survey-helper */ "./src/survey-helper.ts");
|
|
10447
10656
|
/* harmony import */ var _survey_elements__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../survey-elements */ "./src/survey-elements.ts");
|
|
10657
|
+
/* harmony import */ var _action_container_view_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../action-container-view-model */ "./src/components/action-container-view-model.ts");
|
|
10658
|
+
|
|
10448
10659
|
|
|
10449
10660
|
|
|
10450
10661
|
|
|
@@ -10457,6 +10668,11 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10457
10668
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(TabDesignerViewModel, _super);
|
|
10458
10669
|
function TabDesignerViewModel(creator) {
|
|
10459
10670
|
var _this = _super.call(this) || this;
|
|
10671
|
+
_this._pages = [];
|
|
10672
|
+
_this.pagesAnimation = new survey_core__WEBPACK_IMPORTED_MODULE_1__.AnimationGroup(_this.getPagesAnimationOptions(), function (val) {
|
|
10673
|
+
_this._pages = val;
|
|
10674
|
+
_this._pages.forEach(function (page) { return delete page["draggedFrom"]; });
|
|
10675
|
+
}, function () { return _this._pages; });
|
|
10460
10676
|
_this.creator = creator;
|
|
10461
10677
|
_this.pagesControllerValue = new _pages_controller__WEBPACK_IMPORTED_MODULE_3__.PagesController(creator);
|
|
10462
10678
|
_this.initToolbar();
|
|
@@ -10517,30 +10733,32 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10517
10733
|
};
|
|
10518
10734
|
TabDesignerViewModel.prototype.initToolbar = function () {
|
|
10519
10735
|
var _this = this;
|
|
10520
|
-
this.
|
|
10736
|
+
this.surfaceToolbar = new survey_core__WEBPACK_IMPORTED_MODULE_1__.ActionContainer();
|
|
10521
10737
|
var action = function (action) { _this.creator.onSurfaceToolbarActionExecuted.fire(_this.creator, { action: action }); };
|
|
10522
10738
|
var defaultActionBarCss = {
|
|
10523
|
-
root: "sv-action-bar",
|
|
10739
|
+
root: "sv-action-bar svc-tab-designer__surface-toolbar",
|
|
10524
10740
|
defaultSizeMode: "",
|
|
10525
10741
|
smallSizeMode: "",
|
|
10526
|
-
item: "svc-page-
|
|
10742
|
+
item: "svc-page-navigator__button",
|
|
10527
10743
|
itemWithTitle: "",
|
|
10528
10744
|
itemAsIcon: "",
|
|
10529
10745
|
itemActive: "",
|
|
10530
10746
|
itemPressed: "",
|
|
10531
|
-
itemIcon: "svc-page-
|
|
10747
|
+
itemIcon: "svc-page-navigator__button-icon",
|
|
10532
10748
|
itemTitleWithIcon: "",
|
|
10533
10749
|
};
|
|
10534
|
-
this.
|
|
10535
|
-
this.
|
|
10750
|
+
this.surfaceToolbar.cssClasses = defaultActionBarCss;
|
|
10751
|
+
this.surfaceToolbar.setItems([{
|
|
10536
10752
|
id: "collapseAll",
|
|
10537
10753
|
locTooltipName: "ed.collapseAllTooltip",
|
|
10538
10754
|
iconName: "icon-collapseall-24x24",
|
|
10755
|
+
iconSize: "auto",
|
|
10539
10756
|
action: action
|
|
10540
10757
|
}, {
|
|
10541
10758
|
id: "expandAll",
|
|
10542
10759
|
locTooltipName: "ed.expandAllTooltip",
|
|
10543
10760
|
iconName: "icon-expandall-24x24",
|
|
10761
|
+
iconSize: "auto",
|
|
10544
10762
|
action: action
|
|
10545
10763
|
}]);
|
|
10546
10764
|
};
|
|
@@ -10610,9 +10828,6 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10610
10828
|
}
|
|
10611
10829
|
this.checkNewPage(updatePageController);
|
|
10612
10830
|
}
|
|
10613
|
-
if (propName === "pages" && obj.isDescendantOf("survey")) {
|
|
10614
|
-
this.checkNewPage(true);
|
|
10615
|
-
}
|
|
10616
10831
|
this.isUpdatingNewPage = false;
|
|
10617
10832
|
};
|
|
10618
10833
|
TabDesignerViewModel.prototype.calculateDesignerCss = function () {
|
|
@@ -10625,10 +10840,15 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10625
10840
|
this.showNewPage = false;
|
|
10626
10841
|
this.newPage = undefined;
|
|
10627
10842
|
this.checkNewPage(false);
|
|
10843
|
+
this.updatePages();
|
|
10628
10844
|
this.cssUpdater && this.cssUpdater.dispose();
|
|
10629
10845
|
this.cssUpdater = new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () {
|
|
10630
10846
|
return _this.calculateDesignerCss();
|
|
10631
10847
|
});
|
|
10848
|
+
this.survey.registerFunctionOnPropertyValueChanged("pages", function () {
|
|
10849
|
+
_this.checkNewPage(true);
|
|
10850
|
+
_this.updatePages();
|
|
10851
|
+
});
|
|
10632
10852
|
this.designerCss = this.cssUpdater;
|
|
10633
10853
|
this.pagesController.onSurveyChanged();
|
|
10634
10854
|
};
|
|
@@ -10661,6 +10881,9 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10661
10881
|
this.pagesController.raisePagesChanged();
|
|
10662
10882
|
}
|
|
10663
10883
|
};
|
|
10884
|
+
TabDesignerViewModel.prototype.updatePages = function () {
|
|
10885
|
+
this.pages = this.survey.pages.concat(this.showNewPage ? [this.newPage] : []);
|
|
10886
|
+
};
|
|
10664
10887
|
TabDesignerViewModel.prototype.dispose = function () {
|
|
10665
10888
|
_super.prototype.dispose.call(this);
|
|
10666
10889
|
this.cssUpdater && this.cssUpdater.dispose();
|
|
@@ -10679,6 +10902,57 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10679
10902
|
}
|
|
10680
10903
|
return true;
|
|
10681
10904
|
};
|
|
10905
|
+
Object.defineProperty(TabDesignerViewModel.prototype, "pages", {
|
|
10906
|
+
get: function () {
|
|
10907
|
+
return this._pages;
|
|
10908
|
+
},
|
|
10909
|
+
set: function (val) {
|
|
10910
|
+
this.pagesAnimation.sync(val);
|
|
10911
|
+
},
|
|
10912
|
+
enumerable: false,
|
|
10913
|
+
configurable: true
|
|
10914
|
+
});
|
|
10915
|
+
TabDesignerViewModel.prototype.getPagesAnimationOptions = function () {
|
|
10916
|
+
var _this = this;
|
|
10917
|
+
return {
|
|
10918
|
+
getEnterOptions: function (item, info) {
|
|
10919
|
+
return {
|
|
10920
|
+
onBeforeRunAnimation: survey_core__WEBPACK_IMPORTED_MODULE_1__.prepareElementForVerticalAnimation,
|
|
10921
|
+
cssClass: "svc-page--enter",
|
|
10922
|
+
onAfterRunAnimation: survey_core__WEBPACK_IMPORTED_MODULE_1__.cleanHtmlElementAfterAnimation
|
|
10923
|
+
};
|
|
10924
|
+
},
|
|
10925
|
+
getLeaveOptions: function (item, info) {
|
|
10926
|
+
return {
|
|
10927
|
+
onBeforeRunAnimation: survey_core__WEBPACK_IMPORTED_MODULE_1__.prepareElementForVerticalAnimation,
|
|
10928
|
+
cssClass: "svc-page--leave",
|
|
10929
|
+
onAfterRunAnimation: survey_core__WEBPACK_IMPORTED_MODULE_1__.cleanHtmlElementAfterAnimation
|
|
10930
|
+
};
|
|
10931
|
+
},
|
|
10932
|
+
isAnimationEnabled: function () {
|
|
10933
|
+
return _this.animationAllowed;
|
|
10934
|
+
},
|
|
10935
|
+
getKey: function (page) {
|
|
10936
|
+
return page.id;
|
|
10937
|
+
},
|
|
10938
|
+
getAnimatedElement: function (item) { var _a, _b; return (_b = (_a = _action_container_view_model__WEBPACK_IMPORTED_MODULE_6__.SurveyElementAdornerBase.GetAdorner(item)) === null || _a === void 0 ? void 0 : _a.rootElement) === null || _b === void 0 ? void 0 : _b.parentElement; },
|
|
10939
|
+
getRerenderEvent: function () { return _this.onElementRerendered; },
|
|
10940
|
+
onCompareArrays: function (options) {
|
|
10941
|
+
var droppedPage = options.mergedItems.filter(function (page) { return page["draggedFrom"] !== undefined; })[0];
|
|
10942
|
+
if (droppedPage) {
|
|
10943
|
+
options.reorderedItems = [];
|
|
10944
|
+
options.addedItems = [droppedPage];
|
|
10945
|
+
var ghostPage = new survey_core__WEBPACK_IMPORTED_MODULE_1__.PageModel();
|
|
10946
|
+
ghostPage.setSurveyImpl(droppedPage.survey);
|
|
10947
|
+
ghostPage.title = droppedPage.title;
|
|
10948
|
+
ghostPage.num = droppedPage.num;
|
|
10949
|
+
ghostPage["isGhost"] = true;
|
|
10950
|
+
options.deletedItems = [ghostPage];
|
|
10951
|
+
options.mergedItems.splice(droppedPage["draggedFrom"], 0, ghostPage);
|
|
10952
|
+
}
|
|
10953
|
+
},
|
|
10954
|
+
};
|
|
10955
|
+
};
|
|
10682
10956
|
TabDesignerViewModel.prototype.clickDesigner = function () {
|
|
10683
10957
|
this.creator.selectedElement = this.creator.survey;
|
|
10684
10958
|
};
|
|
@@ -10708,6 +10982,9 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10708
10982
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
10709
10983
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
10710
10984
|
], TabDesignerViewModel.prototype, "showPlaceholder", void 0);
|
|
10985
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
10986
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.propertyArray)()
|
|
10987
|
+
], TabDesignerViewModel.prototype, "_pages", void 0);
|
|
10711
10988
|
return TabDesignerViewModel;
|
|
10712
10989
|
}(survey_core__WEBPACK_IMPORTED_MODULE_1__.Base));
|
|
10713
10990
|
|
|
@@ -11316,7 +11593,7 @@ var JsonEditorBaseModel = /** @class */ (function (_super) {
|
|
|
11316
11593
|
title: title,
|
|
11317
11594
|
tooltip: error.text,
|
|
11318
11595
|
iconName: "icon-error",
|
|
11319
|
-
iconSize:
|
|
11596
|
+
iconSize: "auto",
|
|
11320
11597
|
data: {
|
|
11321
11598
|
error: error,
|
|
11322
11599
|
showFixButton: error.isFixable,
|
|
@@ -11385,6 +11662,7 @@ var TabJsonEditorBasePlugin = /** @class */ (function () {
|
|
|
11385
11662
|
this.importAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
11386
11663
|
id: "svc-json-import",
|
|
11387
11664
|
iconName: "icon-load",
|
|
11665
|
+
iconSize: "auto",
|
|
11388
11666
|
locTitleName: "ed.surveyJsonImportButton",
|
|
11389
11667
|
locTooltipName: "ed.surveyJsonImportButton",
|
|
11390
11668
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.creator.activeTab === "editor"; }),
|
|
@@ -11412,6 +11690,7 @@ var TabJsonEditorBasePlugin = /** @class */ (function () {
|
|
|
11412
11690
|
this.exportAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
11413
11691
|
id: "svc-json-export",
|
|
11414
11692
|
iconName: "icon-download",
|
|
11693
|
+
iconSize: "auto",
|
|
11415
11694
|
locTitleName: "ed.surveyJsonExportButton",
|
|
11416
11695
|
locTooltipName: "ed.surveyJsonExportButton",
|
|
11417
11696
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.creator.activeTab === "editor"; }),
|
|
@@ -11425,6 +11704,7 @@ var TabJsonEditorBasePlugin = /** @class */ (function () {
|
|
|
11425
11704
|
this.copyAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
11426
11705
|
id: "svc-json-copy",
|
|
11427
11706
|
iconName: "icon-copy",
|
|
11707
|
+
iconSize: "auto",
|
|
11428
11708
|
locTitleName: "ed.surveyJsonCopyButton",
|
|
11429
11709
|
locTooltipName: "ed.surveyJsonCopyButton",
|
|
11430
11710
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.creator.activeTab === "editor"; }),
|
|
@@ -13452,6 +13732,7 @@ var TabLogicPlugin = /** @class */ (function () {
|
|
|
13452
13732
|
this.fastEntryAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
13453
13733
|
id: "svc-logic-fast-entry",
|
|
13454
13734
|
iconName: "icon-fast-entry",
|
|
13735
|
+
iconSize: "auto",
|
|
13455
13736
|
locTitleName: "pe.fastEntry",
|
|
13456
13737
|
visible: false,
|
|
13457
13738
|
component: "sv-action-bar-item",
|
|
@@ -15524,15 +15805,24 @@ var SurveyLogic = /** @class */ (function (_super) {
|
|
|
15524
15805
|
return types;
|
|
15525
15806
|
};
|
|
15526
15807
|
SurveyLogic.prototype.createLogicTypes = function () {
|
|
15808
|
+
var _this = this;
|
|
15527
15809
|
var res = [];
|
|
15810
|
+
SurveyLogic.types.forEach(function (logicType) {
|
|
15811
|
+
if (_this.isLogicTypeVisible(logicType)) {
|
|
15812
|
+
res.push(new _logic_types__WEBPACK_IMPORTED_MODULE_5__.SurveyLogicType(logicType, _this.survey, _this.options));
|
|
15813
|
+
}
|
|
15814
|
+
});
|
|
15815
|
+
return res;
|
|
15816
|
+
};
|
|
15817
|
+
SurveyLogic.prototype.isLogicTypeVisible = function (logicType) {
|
|
15528
15818
|
var visActions = SurveyLogic.visibleActions;
|
|
15529
|
-
|
|
15530
|
-
|
|
15531
|
-
|
|
15532
|
-
|
|
15533
|
-
|
|
15819
|
+
if (visActions.length > 0 && visActions.indexOf(logicType.name) < 0)
|
|
15820
|
+
return false;
|
|
15821
|
+
var prefix = "trigger_";
|
|
15822
|
+
if (logicType.name.indexOf(prefix) === 0) {
|
|
15823
|
+
return _creator_settings__WEBPACK_IMPORTED_MODULE_3__.settings.logic.invisibleTriggers.indexOf(logicType.name.substring(prefix.length)) < 0;
|
|
15534
15824
|
}
|
|
15535
|
-
return
|
|
15825
|
+
return true;
|
|
15536
15826
|
};
|
|
15537
15827
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
15538
15828
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.propertyArray)()
|
|
@@ -15592,6 +15882,12 @@ var PreviewViewModel = /** @class */ (function (_super) {
|
|
|
15592
15882
|
_this.enableInvisiblePages = true;
|
|
15593
15883
|
_this.pages = new survey_core__WEBPACK_IMPORTED_MODULE_2__.ActionContainer();
|
|
15594
15884
|
_this.simulator = new _simulator__WEBPACK_IMPORTED_MODULE_1__.SurveySimulatorModel(surveyProvider);
|
|
15885
|
+
_this.pages.cssClasses = {
|
|
15886
|
+
root: "sv-action-bar svc-pages-toolbar",
|
|
15887
|
+
item: "sv-action-bar-item svc-survey-element-toolbar__item",
|
|
15888
|
+
itemAsIcon: "svc-survey-element-toolbar__item--icon",
|
|
15889
|
+
itemIcon: "sv-action-bar-item__icon svc-survey-element-toolbar-item__icon",
|
|
15890
|
+
};
|
|
15595
15891
|
return _this;
|
|
15596
15892
|
}
|
|
15597
15893
|
Object.defineProperty(PreviewViewModel.prototype, "activeLanguage", {
|
|
@@ -15794,9 +16090,6 @@ var PreviewViewModel = /** @class */ (function (_super) {
|
|
|
15794
16090
|
this.prevPageAction.iconName = new survey_core__WEBPACK_IMPORTED_MODULE_2__.ComputedUpdater(function () {
|
|
15795
16091
|
return _this.surveyProvider.isMobileView ? "icon-arrow-left" : "icon-arrow-left_16x16";
|
|
15796
16092
|
});
|
|
15797
|
-
this.prevPageAction.iconSize = new survey_core__WEBPACK_IMPORTED_MODULE_2__.ComputedUpdater(function () {
|
|
15798
|
-
return _this.surveyProvider.isMobileView ? 24 : 16;
|
|
15799
|
-
});
|
|
15800
16093
|
this.prevPageAction.action = function () { return setNearPage(false); };
|
|
15801
16094
|
pageActions.push(this.prevPageAction);
|
|
15802
16095
|
}
|
|
@@ -15832,9 +16125,6 @@ var PreviewViewModel = /** @class */ (function (_super) {
|
|
|
15832
16125
|
this.nextPageAction.iconName = new survey_core__WEBPACK_IMPORTED_MODULE_2__.ComputedUpdater(function () {
|
|
15833
16126
|
return _this.surveyProvider.isMobileView ? "icon-arrow-right" : "icon-arrow-right_16x16";
|
|
15834
16127
|
});
|
|
15835
|
-
this.nextPageAction.iconSize = new survey_core__WEBPACK_IMPORTED_MODULE_2__.ComputedUpdater(function () {
|
|
15836
|
-
return _this.surveyProvider.isMobileView ? 24 : 16;
|
|
15837
|
-
});
|
|
15838
16128
|
this.nextPageAction.action = function () { return setNearPage(true); };
|
|
15839
16129
|
pageActions.push(this.nextPageAction);
|
|
15840
16130
|
}
|
|
@@ -16002,17 +16292,35 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16002
16292
|
function TabTestPlugin(creator) {
|
|
16003
16293
|
this.creator = creator;
|
|
16004
16294
|
this.simulatorTheme = survey_core__WEBPACK_IMPORTED_MODULE_1__.surveyCss[survey_core__WEBPACK_IMPORTED_MODULE_1__.defaultV2ThemeName];
|
|
16295
|
+
this._previewDevice = "";
|
|
16005
16296
|
creator.addPluginTab("test", this);
|
|
16006
16297
|
this.setPreviewTheme(this.creator.themeForPreview);
|
|
16007
16298
|
this.createActions().forEach(function (action) { return creator.toolbar.actions.push(action); });
|
|
16008
16299
|
}
|
|
16009
|
-
TabTestPlugin.prototype
|
|
16010
|
-
|
|
16011
|
-
|
|
16012
|
-
|
|
16300
|
+
Object.defineProperty(TabTestPlugin.prototype, "previewDevice", {
|
|
16301
|
+
get: function () {
|
|
16302
|
+
if (!!this.model) {
|
|
16303
|
+
this._previewDevice = this.model.simulator.device;
|
|
16304
|
+
}
|
|
16305
|
+
return this._previewDevice;
|
|
16306
|
+
},
|
|
16307
|
+
set: function (newValue) {
|
|
16308
|
+
this.setDevice(newValue);
|
|
16309
|
+
},
|
|
16310
|
+
enumerable: false,
|
|
16311
|
+
configurable: true
|
|
16312
|
+
});
|
|
16313
|
+
TabTestPlugin.prototype.setDevice = function (newValue) {
|
|
16314
|
+
this._previewDevice = newValue || "desktop";
|
|
16315
|
+
if (!!this.model) {
|
|
16316
|
+
this.model.simulator.device = newValue;
|
|
16317
|
+
this.model.simulator.resetZoomParameters();
|
|
16318
|
+
}
|
|
16319
|
+
var currentType = _simulator__WEBPACK_IMPORTED_MODULE_3__.simulatorDevices[this._previewDevice].deviceType;
|
|
16013
16320
|
this.orientationSelectorAction.enabled = currentType != "desktop";
|
|
16014
16321
|
this.deviceSelectorAction.iconName = "icon-device-" + currentType;
|
|
16015
16322
|
this.deviceSelectorAction.title = (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("pe.simulator");
|
|
16323
|
+
this.deviceSelectorAction.data.selectedItem = { id: this._previewDevice };
|
|
16016
16324
|
};
|
|
16017
16325
|
TabTestPlugin.prototype.setDefaultLanguageOption = function (opt) {
|
|
16018
16326
|
var _this = this;
|
|
@@ -16059,8 +16367,10 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16059
16367
|
return new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.creator.activeTab === "test"; });
|
|
16060
16368
|
};
|
|
16061
16369
|
TabTestPlugin.prototype.activate = function () {
|
|
16062
|
-
|
|
16063
|
-
|
|
16370
|
+
var tabModel = new _test__WEBPACK_IMPORTED_MODULE_4__.TestSurveyTabViewModel(this.creator, this.simulatorTheme);
|
|
16371
|
+
tabModel.simulator.device = this.previewDevice || this.creator.previewDevice || "desktop";
|
|
16372
|
+
tabModel.simulator.landscape = this.creator.previewOrientation != "portrait";
|
|
16373
|
+
this.model = tabModel;
|
|
16064
16374
|
this.update();
|
|
16065
16375
|
};
|
|
16066
16376
|
TabTestPlugin.prototype.update = function () {
|
|
@@ -16086,6 +16396,7 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16086
16396
|
};
|
|
16087
16397
|
TabTestPlugin.prototype.deactivate = function () {
|
|
16088
16398
|
if (this.model) {
|
|
16399
|
+
this._previewDevice = this.model.simulator.device;
|
|
16089
16400
|
this.simulatorTheme = this.model.simulator.survey.css;
|
|
16090
16401
|
this.model.onSurveyCreatedCallback = undefined;
|
|
16091
16402
|
this.model.dispose();
|
|
@@ -16127,6 +16438,7 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16127
16438
|
this.deviceSelectorAction = (0,survey_core__WEBPACK_IMPORTED_MODULE_1__.createDropdownActionModel)({
|
|
16128
16439
|
id: "deviceSelector",
|
|
16129
16440
|
iconName: "icon-device-desktop",
|
|
16441
|
+
iconSize: "auto",
|
|
16130
16442
|
mode: "small",
|
|
16131
16443
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () {
|
|
16132
16444
|
return (0,_utils_utils__WEBPACK_IMPORTED_MODULE_0__.notShortCircuitAnd)(_this.creator.activeTab === "test", _this.creator.showSimulatorInTestSurveyTab, !_this.creator.isTouch);
|
|
@@ -16144,6 +16456,7 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16144
16456
|
this.orientationSelectorAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
16145
16457
|
id: "orientationSelector",
|
|
16146
16458
|
iconName: "icon-device-rotate",
|
|
16459
|
+
iconSize: "auto",
|
|
16147
16460
|
mode: "small",
|
|
16148
16461
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () {
|
|
16149
16462
|
return (0,_utils_utils__WEBPACK_IMPORTED_MODULE_0__.notShortCircuitAnd)(_this.creator.activeTab === "test", _this.creator.showSimulatorInTestSurveyTab, !_this.creator.isTouch);
|
|
@@ -16159,6 +16472,7 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16159
16472
|
this.invisibleToggleAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
16160
16473
|
id: "showInvisible",
|
|
16161
16474
|
iconName: "icon-invisible-items",
|
|
16475
|
+
iconSize: "auto",
|
|
16162
16476
|
mode: "small",
|
|
16163
16477
|
needSeparator: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () {
|
|
16164
16478
|
return !_this.creator.isMobileView;
|
|
@@ -16201,6 +16515,7 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16201
16515
|
this.changeThemeAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
16202
16516
|
id: "themeSwitcher",
|
|
16203
16517
|
iconName: "icon-theme",
|
|
16518
|
+
iconSize: "auto",
|
|
16204
16519
|
component: "sv-action-bar-item-dropdown",
|
|
16205
16520
|
mode: "large",
|
|
16206
16521
|
locTitleName: this.getThemeLocName(getStartThemeName()),
|
|
@@ -16238,6 +16553,7 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16238
16553
|
this.designerAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
16239
16554
|
id: "svd-designer",
|
|
16240
16555
|
iconName: "icon-config",
|
|
16556
|
+
iconSize: "auto",
|
|
16241
16557
|
action: function () { _this.creator.makeNewViewActive("designer"); },
|
|
16242
16558
|
visible: this.createVisibleUpdater(),
|
|
16243
16559
|
locTitleName: "ed.designer",
|
|
@@ -16246,6 +16562,7 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16246
16562
|
this.previewAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
16247
16563
|
id: "svd-preview",
|
|
16248
16564
|
iconName: "icon-preview",
|
|
16565
|
+
iconSize: "auto",
|
|
16249
16566
|
active: true,
|
|
16250
16567
|
visible: this.createVisibleUpdater(),
|
|
16251
16568
|
locTitleName: "tabs.preview",
|
|
@@ -16255,6 +16572,7 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16255
16572
|
this.prevPageAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
16256
16573
|
id: "prevPage",
|
|
16257
16574
|
iconName: "icon-arrow-left_16x16",
|
|
16575
|
+
iconSize: "auto",
|
|
16258
16576
|
needSeparator: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () {
|
|
16259
16577
|
return _this.creator.isMobileView;
|
|
16260
16578
|
}),
|
|
@@ -16263,6 +16581,7 @@ var TabTestPlugin = /** @class */ (function () {
|
|
|
16263
16581
|
this.nextPageAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
16264
16582
|
id: "nextPage",
|
|
16265
16583
|
iconName: "icon-arrow-right_16x16",
|
|
16584
|
+
iconSize: "auto",
|
|
16266
16585
|
visible: false
|
|
16267
16586
|
});
|
|
16268
16587
|
return items;
|
|
@@ -18170,6 +18489,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18170
18489
|
_this.updateVisibilityOfPropertyGridGroups();
|
|
18171
18490
|
}
|
|
18172
18491
|
};
|
|
18492
|
+
this.previewDevice = "desktop";
|
|
18173
18493
|
this.saveToFileHandler = _utils_utils__WEBPACK_IMPORTED_MODULE_5__.saveToFileHandler;
|
|
18174
18494
|
this.autoSaveTimerId = null;
|
|
18175
18495
|
/**
|
|
@@ -18411,6 +18731,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18411
18731
|
ThemeTabPlugin.prototype.activate = function () {
|
|
18412
18732
|
var _this = this;
|
|
18413
18733
|
this.model = new _theme_builder__WEBPACK_IMPORTED_MODULE_3__.ThemeTabViewModel(this.creator, this.simulatorCssClasses);
|
|
18734
|
+
this.model.simulator.device = this.previewDevice;
|
|
18414
18735
|
this.themeModel.initialize(this.creator.theme, this.creator.survey);
|
|
18415
18736
|
this.creator.sidebar.hideSideBarVisibilityControlActions = this.showOneCategoryInPropertyGrid;
|
|
18416
18737
|
this.update();
|
|
@@ -18586,6 +18907,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18586
18907
|
ThemeTabPlugin.prototype.deactivate = function () {
|
|
18587
18908
|
var _a;
|
|
18588
18909
|
if (this.model) {
|
|
18910
|
+
this.previewDevice = this.model.simulator.device;
|
|
18589
18911
|
this.simulatorCssClasses = this.model.survey.css;
|
|
18590
18912
|
this.model.onPropertyChanged.clear();
|
|
18591
18913
|
this.themeModel.onThemeSelected.clear();
|
|
@@ -18629,6 +18951,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18629
18951
|
this.designerAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18630
18952
|
id: "svd-designer",
|
|
18631
18953
|
iconName: "icon-config",
|
|
18954
|
+
iconSize: "auto",
|
|
18632
18955
|
action: function () { _this.creator.makeNewViewActive("designer"); },
|
|
18633
18956
|
visible: this.createVisibleUpdater(),
|
|
18634
18957
|
locTitleName: "ed.designer",
|
|
@@ -18637,6 +18960,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18637
18960
|
this.prevPageAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18638
18961
|
id: "prevPage",
|
|
18639
18962
|
iconName: "icon-arrow-left_16x16",
|
|
18963
|
+
iconSize: "auto",
|
|
18640
18964
|
needSeparator: new survey_core__WEBPACK_IMPORTED_MODULE_0__.ComputedUpdater(function () {
|
|
18641
18965
|
return _this.creator.isMobileView;
|
|
18642
18966
|
}),
|
|
@@ -18645,11 +18969,13 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18645
18969
|
this.nextPageAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18646
18970
|
id: "nextPage",
|
|
18647
18971
|
iconName: "icon-arrow-right_16x16",
|
|
18972
|
+
iconSize: "auto",
|
|
18648
18973
|
visible: false
|
|
18649
18974
|
});
|
|
18650
18975
|
this.previewAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18651
18976
|
id: "svd-preview",
|
|
18652
18977
|
iconName: "icon-preview",
|
|
18978
|
+
iconSize: "auto",
|
|
18653
18979
|
active: true,
|
|
18654
18980
|
visible: this.createVisibleUpdater(),
|
|
18655
18981
|
locTitleName: "tabs.preview",
|
|
@@ -18659,6 +18985,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18659
18985
|
this.testAgainAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18660
18986
|
id: "testSurveyAgain",
|
|
18661
18987
|
visible: false,
|
|
18988
|
+
iconSize: "auto",
|
|
18662
18989
|
locTitleName: "ed.testSurveyAgain",
|
|
18663
18990
|
action: function () {
|
|
18664
18991
|
_this.model.testAgain();
|
|
@@ -18667,6 +18994,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18667
18994
|
this.undoAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18668
18995
|
id: "action-undo-theme",
|
|
18669
18996
|
iconName: "icon-undo",
|
|
18997
|
+
iconSize: "auto",
|
|
18670
18998
|
locTitleName: "ed.undo",
|
|
18671
18999
|
showTitle: false,
|
|
18672
19000
|
visible: this.createVisibleUpdater(),
|
|
@@ -18675,6 +19003,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18675
19003
|
this.redoAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18676
19004
|
id: "action-redo-theme",
|
|
18677
19005
|
iconName: "icon-redo",
|
|
19006
|
+
iconSize: "auto",
|
|
18678
19007
|
locTitleName: "ed.redo",
|
|
18679
19008
|
showTitle: false,
|
|
18680
19009
|
visible: this.createVisibleUpdater(),
|
|
@@ -18685,6 +19014,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18685
19014
|
this.saveThemeAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18686
19015
|
id: "svd-save-theme",
|
|
18687
19016
|
iconName: "icon-save",
|
|
19017
|
+
iconSize: "auto",
|
|
18688
19018
|
action: function () {
|
|
18689
19019
|
_this.creator.saveThemeActionHandler();
|
|
18690
19020
|
_this.saveThemeAction.enabled = false;
|
|
@@ -18702,6 +19032,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18702
19032
|
this.resetTheme = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18703
19033
|
id: "svc-reset-theme",
|
|
18704
19034
|
iconName: "icon-reset",
|
|
19035
|
+
iconSize: "auto",
|
|
18705
19036
|
locTitleName: "ed.themeResetButton",
|
|
18706
19037
|
locTooltipName: "ed.themeResetButton",
|
|
18707
19038
|
mode: "small",
|
|
@@ -18718,6 +19049,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18718
19049
|
this.themeSettingsAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18719
19050
|
id: "svc-theme-settings",
|
|
18720
19051
|
iconName: "icon-theme",
|
|
19052
|
+
iconSize: "auto",
|
|
18721
19053
|
action: function () {
|
|
18722
19054
|
if (!_this.creator.showSidebar) {
|
|
18723
19055
|
_this.creator.setShowSidebar(true, true);
|
|
@@ -18734,6 +19066,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18734
19066
|
this.importAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18735
19067
|
id: "svc-theme-import",
|
|
18736
19068
|
iconName: "icon-load",
|
|
19069
|
+
iconSize: "auto",
|
|
18737
19070
|
locTitleName: "ed.themeImportButton",
|
|
18738
19071
|
locTooltipName: "ed.themeImportButton",
|
|
18739
19072
|
visible: this.createVisibleUpdater(),
|
|
@@ -18761,6 +19094,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18761
19094
|
this.exportAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18762
19095
|
id: "svc-theme-export",
|
|
18763
19096
|
iconName: "icon-download",
|
|
19097
|
+
iconSize: "auto",
|
|
18764
19098
|
locTitleName: "ed.themeExportButton",
|
|
18765
19099
|
locTooltipName: "ed.themeExportButton",
|
|
18766
19100
|
visible: this.createVisibleUpdater(),
|
|
@@ -18775,6 +19109,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
18775
19109
|
this.invisibleToggleAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
18776
19110
|
id: "showInvisible",
|
|
18777
19111
|
iconName: "icon-invisible-items",
|
|
19112
|
+
iconSize: "auto",
|
|
18778
19113
|
mode: "small",
|
|
18779
19114
|
locTitleName: "ts.showInvisibleElements",
|
|
18780
19115
|
visible: false,
|
|
@@ -20425,9 +20760,11 @@ var Translation = /** @class */ (function (_super) {
|
|
|
20425
20760
|
}
|
|
20426
20761
|
if (!this.root)
|
|
20427
20762
|
return;
|
|
20763
|
+
this.options.startUndoRedoTransaction("Delete strings for locale: " + locale);
|
|
20428
20764
|
this.root.deleteLocaleStrings(locale);
|
|
20429
20765
|
this.removeLocale(locale);
|
|
20430
20766
|
this.reset();
|
|
20767
|
+
this.options.stopUndoRedoTransaction();
|
|
20431
20768
|
};
|
|
20432
20769
|
Translation.prototype.createSettingsSurvey = function () {
|
|
20433
20770
|
var _this = this;
|
|
@@ -20465,7 +20802,9 @@ var Translation = /** @class */ (function (_super) {
|
|
|
20465
20802
|
var locale_1 = q.value[rowIndex].name;
|
|
20466
20803
|
options.actions.splice(0, 0, new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
20467
20804
|
iconName: "icon-language",
|
|
20805
|
+
iconSize: "auto",
|
|
20468
20806
|
locTooltipName: "ed.translateUsigAI",
|
|
20807
|
+
visibleIndex: 5,
|
|
20469
20808
|
location: "end",
|
|
20470
20809
|
action: function () { return _this.showTranslationEditor(locale_1); }
|
|
20471
20810
|
}));
|
|
@@ -20770,6 +21109,7 @@ var Translation = /** @class */ (function (_super) {
|
|
|
20770
21109
|
this.addLanguageAction = (0,survey_core__WEBPACK_IMPORTED_MODULE_1__.createDropdownActionModel)({
|
|
20771
21110
|
id: "svc-translation-choose-language",
|
|
20772
21111
|
iconName: "icon-add",
|
|
21112
|
+
iconSize: "auto",
|
|
20773
21113
|
enabled: (new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.isChooseLanguageEnabled && !_this.readOnly; })),
|
|
20774
21114
|
}, {
|
|
20775
21115
|
items: this.chooseLanguageActions,
|
|
@@ -21347,11 +21687,12 @@ var TranslationEditor = /** @class */ (function () {
|
|
|
21347
21687
|
navigationBar.cssClasses = survey.css.actionBar;
|
|
21348
21688
|
navigationBar.containerCss = survey.css.footer;
|
|
21349
21689
|
survey.addNavigationItem(this.createLocaleFromAction());
|
|
21350
|
-
var actionCss = "svc-action-bar-item--right
|
|
21690
|
+
var actionCss = "svc-action-bar-item--right";
|
|
21351
21691
|
if (this.options.getHasMachineTranslation()) {
|
|
21352
21692
|
survey.addNavigationItem(new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
21353
21693
|
id: "svc-translation-machine",
|
|
21354
21694
|
iconName: "icon-language",
|
|
21695
|
+
iconSize: "auto",
|
|
21355
21696
|
css: actionCss,
|
|
21356
21697
|
locTitleName: "ed.translateUsigAI",
|
|
21357
21698
|
component: "sv-action-bar-item",
|
|
@@ -21416,7 +21757,6 @@ var TranslationEditor = /** @class */ (function () {
|
|
|
21416
21757
|
css: "st-translation-machine-from",
|
|
21417
21758
|
location: "start",
|
|
21418
21759
|
title: defaultLocaleTitle,
|
|
21419
|
-
iconSize: "auto",
|
|
21420
21760
|
innerCss: "st-translation-machine-from__btn",
|
|
21421
21761
|
data: {
|
|
21422
21762
|
additionalTitleCss: "st-translation-machine-from__title",
|
|
@@ -21434,6 +21774,7 @@ var TranslationEditor = /** @class */ (function () {
|
|
|
21434
21774
|
if (!!action) {
|
|
21435
21775
|
action.enabled = this.fromLocales.length > 0;
|
|
21436
21776
|
action.iconName = action.enabled ? "icon-chevron_16x16" : undefined;
|
|
21777
|
+
action.iconSize = "auto";
|
|
21437
21778
|
action.data.containerCss = new survey_core__WEBPACK_IMPORTED_MODULE_1__.CssClassBuilder()
|
|
21438
21779
|
.append("st-translation-machine-from__container")
|
|
21439
21780
|
.append("st-translation-machine-from__container--disabled", !action.enabled)
|
|
@@ -21452,6 +21793,7 @@ function createImportCSVAction(action, needSeparator, isInEditor) {
|
|
|
21452
21793
|
return new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
21453
21794
|
id: "svc-translation-import",
|
|
21454
21795
|
iconName: "icon-load",
|
|
21796
|
+
iconSize: "auto",
|
|
21455
21797
|
locTitleName: "ed.translationImportFromSCVButton",
|
|
21456
21798
|
locTooltipName: "ed.translationImportFromSCVButton",
|
|
21457
21799
|
mode: isInEditor ? "large" : "small",
|
|
@@ -21465,6 +21807,7 @@ function createExportCSVAction(action, isInEditor) {
|
|
|
21465
21807
|
return new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
21466
21808
|
id: "svc-translation-export",
|
|
21467
21809
|
iconName: "icon-download",
|
|
21810
|
+
iconSize: "auto",
|
|
21468
21811
|
locTitleName: "ed.translationExportToSCVButton",
|
|
21469
21812
|
locTooltipName: "ed.translationExportToSCVButton",
|
|
21470
21813
|
mode: isInEditor ? "large" : "small",
|
|
@@ -21474,6 +21817,55 @@ function createExportCSVAction(action, isInEditor) {
|
|
|
21474
21817
|
}
|
|
21475
21818
|
|
|
21476
21819
|
|
|
21820
|
+
/***/ }),
|
|
21821
|
+
|
|
21822
|
+
/***/ "./src/components/toolbox/toolbox-search-manager.ts":
|
|
21823
|
+
/*!**********************************************************!*\
|
|
21824
|
+
!*** ./src/components/toolbox/toolbox-search-manager.ts ***!
|
|
21825
|
+
\**********************************************************/
|
|
21826
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
21827
|
+
|
|
21828
|
+
"use strict";
|
|
21829
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21830
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21831
|
+
/* harmony export */ SearchManagerToolbox: () => (/* binding */ SearchManagerToolbox)
|
|
21832
|
+
/* harmony export */ });
|
|
21833
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
21834
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
21835
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
21836
|
+
/* harmony import */ var _editorLocalization__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../editorLocalization */ "./src/editorLocalization.ts");
|
|
21837
|
+
/* harmony import */ var _search_manager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../search-manager */ "./src/components/search-manager.ts");
|
|
21838
|
+
|
|
21839
|
+
|
|
21840
|
+
|
|
21841
|
+
|
|
21842
|
+
var SearchManagerToolbox = /** @class */ (function (_super) {
|
|
21843
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SearchManagerToolbox, _super);
|
|
21844
|
+
function SearchManagerToolbox() {
|
|
21845
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
21846
|
+
}
|
|
21847
|
+
SearchManagerToolbox.prototype.getFilterStringPlaceholder = function () { return (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("ed.toolboxFilteredTextPlaceholder"); };
|
|
21848
|
+
SearchManagerToolbox.prototype.setFiterString = function (newValue, oldValue) {
|
|
21849
|
+
this.toolbox.showSeparators = !newValue;
|
|
21850
|
+
this.toolbox.items.forEach(function (item) { return item.visible = item.hasText(newValue); });
|
|
21851
|
+
this.toolbox.showPlaceholder = !this.toolbox.items.filter(function (i) { return i.visible; }).length;
|
|
21852
|
+
this.toolbox.categories.forEach(function (category) {
|
|
21853
|
+
category.forceExpand = !!newValue;
|
|
21854
|
+
category.empty = category.items.filter(function (item) { return item.visible; }).length == 0;
|
|
21855
|
+
});
|
|
21856
|
+
};
|
|
21857
|
+
SearchManagerToolbox.prototype.clearFilterString = function () {
|
|
21858
|
+
this.filterString = "";
|
|
21859
|
+
this.toolbox.rootElement.querySelector("input").focus();
|
|
21860
|
+
};
|
|
21861
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
21862
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
21863
|
+
], SearchManagerToolbox.prototype, "toolbox", void 0);
|
|
21864
|
+
return SearchManagerToolbox;
|
|
21865
|
+
}(_search_manager__WEBPACK_IMPORTED_MODULE_3__.SearchManager));
|
|
21866
|
+
|
|
21867
|
+
|
|
21868
|
+
|
|
21477
21869
|
/***/ }),
|
|
21478
21870
|
|
|
21479
21871
|
/***/ "./src/components/toolbox/toolbox-tool.ts":
|
|
@@ -21736,7 +22128,9 @@ var CreatorEvent = /** @class */ (function (_super) {
|
|
|
21736
22128
|
var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
21737
22129
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SurveyCreatorModel, _super);
|
|
21738
22130
|
function SurveyCreatorModel(options, options2) {
|
|
21739
|
-
var _this =
|
|
22131
|
+
var _this = this;
|
|
22132
|
+
var _a;
|
|
22133
|
+
_this = _super.call(this) || this;
|
|
21740
22134
|
_this.options = options;
|
|
21741
22135
|
_this.startEditTitleOnQuestionAddedValue = true;
|
|
21742
22136
|
_this.isRTLValue = false;
|
|
@@ -21776,6 +22170,10 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
21776
22170
|
* An event that is raised after a user has edited a text value on the design surface. This value may include HTML markup. You can handle the `onHtmlToMarkdown` event to convert the HTML markup to Markdown.
|
|
21777
22171
|
*/
|
|
21778
22172
|
_this.onHtmlToMarkdown = _this.addCreatorEvent();
|
|
22173
|
+
/*
|
|
22174
|
+
* An event that is raised when Survey Creator obtains the expand/collapse state of a survey element on the design surface. Handle this event to set a required state.
|
|
22175
|
+
*/
|
|
22176
|
+
_this.onElementGetExpandCollapseState = _this.addCreatorEvent();
|
|
21779
22177
|
/**
|
|
21780
22178
|
* An event that is raised when Survey Creator obtains permitted operations for a survey element. Use this event to disable user interactions with a question, panel, or page on the design surface.
|
|
21781
22179
|
*
|
|
@@ -22347,6 +22745,7 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
22347
22745
|
_this.options = !!options2 ? options2 : {};
|
|
22348
22746
|
_survey_helper__WEBPACK_IMPORTED_MODULE_9__.SurveyHelper.warnText("Creator constructor has one parameter, as creator options, in V2.");
|
|
22349
22747
|
}
|
|
22748
|
+
_this.previewDevice = (_a = options.previewDevice) !== null && _a !== void 0 ? _a : "desktop";
|
|
22350
22749
|
_this.previewOrientation = options.previewOrientation;
|
|
22351
22750
|
_this.toolbarValue = new ToolbarActionContainer(_this);
|
|
22352
22751
|
_this.toolbarValue.locOwner = _this;
|
|
@@ -23077,7 +23476,6 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
23077
23476
|
configurable: true
|
|
23078
23477
|
});
|
|
23079
23478
|
SurveyCreatorModel.prototype.startUndoRedoTransaction = function (name) {
|
|
23080
|
-
if (name === void 0) { name = ""; }
|
|
23081
23479
|
this.undoRedoController && this.undoRedoController.startTransaction(name);
|
|
23082
23480
|
};
|
|
23083
23481
|
SurveyCreatorModel.prototype.stopUndoRedoTransaction = function () {
|
|
@@ -23593,7 +23991,7 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
23593
23991
|
_this.stopUndoRedoTransaction();
|
|
23594
23992
|
if (_this.collapsePagesOnDrag) {
|
|
23595
23993
|
(_a = _this.designerStateManager) === null || _a === void 0 ? void 0 : _a.release();
|
|
23596
|
-
_this.
|
|
23994
|
+
_this.restoreElementsState();
|
|
23597
23995
|
}
|
|
23598
23996
|
});
|
|
23599
23997
|
};
|
|
@@ -23604,21 +24002,47 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
23604
24002
|
enumerable: false,
|
|
23605
24003
|
configurable: true
|
|
23606
24004
|
});
|
|
23607
|
-
SurveyCreatorModel.prototype.
|
|
23608
|
-
this.survey.pages
|
|
23609
|
-
|
|
23610
|
-
|
|
23611
|
-
|
|
24005
|
+
SurveyCreatorModel.prototype.getCollapsableElements = function () {
|
|
24006
|
+
return this.survey.pages;
|
|
24007
|
+
};
|
|
24008
|
+
SurveyCreatorModel.prototype.collapseAllElements = function () {
|
|
24009
|
+
var _this = this;
|
|
24010
|
+
this.getCollapsableElements().forEach(function (element) {
|
|
24011
|
+
var elementAdorner = _components_action_container_view_model__WEBPACK_IMPORTED_MODULE_27__.SurveyElementAdornerBase.GetAdorner(element);
|
|
24012
|
+
if (elementAdorner) {
|
|
24013
|
+
elementAdorner.collapsed = _this.getElementExpandCollapseState(element, "drag-start", true);
|
|
23612
24014
|
}
|
|
23613
24015
|
});
|
|
23614
24016
|
};
|
|
23615
|
-
SurveyCreatorModel.prototype.
|
|
24017
|
+
SurveyCreatorModel.prototype.getElementExpandCollapseState = function (element, reason, defaultValue) {
|
|
24018
|
+
var options = {
|
|
24019
|
+
element: element,
|
|
24020
|
+
reason: reason,
|
|
24021
|
+
collapsed: defaultValue
|
|
24022
|
+
};
|
|
24023
|
+
this.onElementGetExpandCollapseState.fire(this, options);
|
|
24024
|
+
return options.collapsed;
|
|
24025
|
+
};
|
|
24026
|
+
SurveyCreatorModel.prototype.restoreState = function (element) {
|
|
24027
|
+
var state = this.getElementExpandCollapseState(element, "drag-end", undefined);
|
|
24028
|
+
if (state !== undefined) {
|
|
24029
|
+
_components_action_container_view_model__WEBPACK_IMPORTED_MODULE_27__.SurveyElementAdornerBase.GetAdorner(element).collapsed = state;
|
|
24030
|
+
}
|
|
24031
|
+
_components_action_container_view_model__WEBPACK_IMPORTED_MODULE_27__.SurveyElementAdornerBase.RestoreStateFor(element);
|
|
24032
|
+
};
|
|
24033
|
+
SurveyCreatorModel.prototype.restoreElementsState = function () {
|
|
23616
24034
|
var _this = this;
|
|
23617
|
-
|
|
23618
|
-
|
|
23619
|
-
_components_action_container_view_model__WEBPACK_IMPORTED_MODULE_27__.SurveyElementAdornerBase.
|
|
23620
|
-
|
|
23621
|
-
|
|
24035
|
+
this.getCollapsableElements().forEach(function (element) {
|
|
24036
|
+
if (element["draggedFrom"] !== undefined) {
|
|
24037
|
+
var adorner = _components_action_container_view_model__WEBPACK_IMPORTED_MODULE_27__.SurveyElementAdornerBase.GetAdorner(element);
|
|
24038
|
+
adorner === null || adorner === void 0 ? void 0 : adorner.blockAnimations();
|
|
24039
|
+
_this.restoreState(element);
|
|
24040
|
+
adorner === null || adorner === void 0 ? void 0 : adorner.releaseAnimations();
|
|
24041
|
+
}
|
|
24042
|
+
else {
|
|
24043
|
+
_this.restoreState(element);
|
|
24044
|
+
}
|
|
24045
|
+
});
|
|
23622
24046
|
};
|
|
23623
24047
|
SurveyCreatorModel.prototype.initDragDropChoices = function () {
|
|
23624
24048
|
var _this = this;
|
|
@@ -23766,7 +24190,8 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
23766
24190
|
SurveyCreatorModel.prototype.doOnPageAdded = function (page) {
|
|
23767
24191
|
var options = { page: page };
|
|
23768
24192
|
this.onPageAdded.fire(this, options);
|
|
23769
|
-
this.
|
|
24193
|
+
var pType = this.isCopyingPage ? "ELEMENT_COPIED" : "PAGE_ADDED";
|
|
24194
|
+
this.setModified({ type: pType, newValue: options.page });
|
|
23770
24195
|
};
|
|
23771
24196
|
SurveyCreatorModel.prototype.getPageByElement = function (obj) {
|
|
23772
24197
|
return this.survey.getPageByElement(obj);
|
|
@@ -23901,6 +24326,7 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
23901
24326
|
return options.displayName;
|
|
23902
24327
|
};
|
|
23903
24328
|
SurveyCreatorModel.prototype.createSurvey = function (json, reason, model, callback, area) {
|
|
24329
|
+
var _this = this;
|
|
23904
24330
|
var _a;
|
|
23905
24331
|
var survey = this.createSurveyCore(json, reason);
|
|
23906
24332
|
if (reason !== "designer" && reason !== "test" && reason !== "theme") {
|
|
@@ -23935,6 +24361,10 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
23935
24361
|
if (reason === "test" || reason === "theme") {
|
|
23936
24362
|
this.onPreviewSurveyCreated.fire(this, { survey: survey });
|
|
23937
24363
|
}
|
|
24364
|
+
survey.onPopupVisibleChanged.add(function (_, options) {
|
|
24365
|
+
if (!options.popup.getAreaCallback)
|
|
24366
|
+
options.popup.getAreaCallback = function () { return _this.rootElement; };
|
|
24367
|
+
});
|
|
23938
24368
|
return survey;
|
|
23939
24369
|
};
|
|
23940
24370
|
SurveyCreatorModel.prototype.getSurveyInstanceCreatedArea = function (reason) {
|
|
@@ -24340,6 +24770,7 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
24340
24770
|
*/
|
|
24341
24771
|
SurveyCreatorModel.prototype.copyPage = function (page) {
|
|
24342
24772
|
var _this = this;
|
|
24773
|
+
this.isCopyingPage = true;
|
|
24343
24774
|
var newPage = this.copyElement(page);
|
|
24344
24775
|
var index = this.survey.pages.indexOf(page);
|
|
24345
24776
|
if (index > -1) {
|
|
@@ -24348,6 +24779,7 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
24348
24779
|
else {
|
|
24349
24780
|
this.survey.pages.push(newPage);
|
|
24350
24781
|
}
|
|
24782
|
+
this.isCopyingPage = false;
|
|
24351
24783
|
newPage.questions.forEach(function (q) {
|
|
24352
24784
|
_this.addNewElementReason = "ELEMENT_COPIED";
|
|
24353
24785
|
_this.doOnQuestionAdded(q, q.parent);
|
|
@@ -25274,19 +25706,19 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
25274
25706
|
title: this.getLocString("ed.addNewQuestion"),
|
|
25275
25707
|
}, {
|
|
25276
25708
|
items: [],
|
|
25277
|
-
onShow: function () {
|
|
25278
|
-
var listModel = newAction.popupModel.contentComponentData.model;
|
|
25279
|
-
listModel.setItems(getActions());
|
|
25280
|
-
setTimeout(function () {
|
|
25281
|
-
newAction.popupModel.recalculatePosition(true);
|
|
25282
|
-
}, 1);
|
|
25283
|
-
},
|
|
25284
25709
|
allowSelection: false,
|
|
25285
25710
|
cssClass: "svc-creator-popup",
|
|
25286
25711
|
verticalPosition: "bottom",
|
|
25287
25712
|
horizontalPosition: "center",
|
|
25288
25713
|
displayMode: this.isTouch ? "overlay" : "popup"
|
|
25289
25714
|
});
|
|
25715
|
+
newAction.popupModel.getTargetCallback = undefined;
|
|
25716
|
+
newAction.popupModel.onVisibilityChanged.add(function (_, opt) {
|
|
25717
|
+
if (opt.isVisible) {
|
|
25718
|
+
var listModel = newAction.popupModel.contentComponentData.model;
|
|
25719
|
+
listModel.setItems(getActions());
|
|
25720
|
+
}
|
|
25721
|
+
});
|
|
25290
25722
|
return newAction;
|
|
25291
25723
|
};
|
|
25292
25724
|
SurveyCreatorModel.prototype.getUpdatedPageAdornerFooterActions = function (pageAdorner, actions) {
|
|
@@ -25325,6 +25757,7 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
25325
25757
|
title: item.title,
|
|
25326
25758
|
id: item.name,
|
|
25327
25759
|
iconName: item.iconName,
|
|
25760
|
+
iconSize: "auto",
|
|
25328
25761
|
visible: item.visible,
|
|
25329
25762
|
enabled: item.enabled,
|
|
25330
25763
|
needSeparator: needSeparator
|
|
@@ -25447,7 +25880,7 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
25447
25880
|
this.syncTheme(theme);
|
|
25448
25881
|
var designerPlugin = this.getPlugin("designer");
|
|
25449
25882
|
if (designerPlugin) {
|
|
25450
|
-
designerPlugin.
|
|
25883
|
+
designerPlugin.setTheme();
|
|
25451
25884
|
}
|
|
25452
25885
|
};
|
|
25453
25886
|
SurveyCreatorModel.prototype.syncTheme = function (theme) {
|
|
@@ -26060,7 +26493,9 @@ var settings = {
|
|
|
26060
26493
|
checkbox: "allof",
|
|
26061
26494
|
tagbox: "allof"
|
|
26062
26495
|
},
|
|
26063
|
-
|
|
26496
|
+
includeComplexQuestions: false,
|
|
26497
|
+
visibleActions: new Array(),
|
|
26498
|
+
invisibleTriggers: new Array(),
|
|
26064
26499
|
logicItemTitleMaxChars: 50,
|
|
26065
26500
|
openBracket: "{",
|
|
26066
26501
|
closeBracket: "}",
|
|
@@ -26229,7 +26664,7 @@ var EmptySurveyCreatorOptions = /** @class */ (function () {
|
|
|
26229
26664
|
EmptySurveyCreatorOptions.prototype.onGetElementEditorTitleCallback = function (obj, title) {
|
|
26230
26665
|
return title;
|
|
26231
26666
|
};
|
|
26232
|
-
EmptySurveyCreatorOptions.prototype.startUndoRedoTransaction = function () { };
|
|
26667
|
+
EmptySurveyCreatorOptions.prototype.startUndoRedoTransaction = function (name) { };
|
|
26233
26668
|
EmptySurveyCreatorOptions.prototype.stopUndoRedoTransaction = function () { };
|
|
26234
26669
|
EmptySurveyCreatorOptions.prototype.createSurvey = function (json, reason, model, callback, area) {
|
|
26235
26670
|
var survey = new survey_core__WEBPACK_IMPORTED_MODULE_0__.SurveyModel(json);
|
|
@@ -26496,6 +26931,21 @@ var CreatorThemeModel = /** @class */ (function (_super) {
|
|
|
26496
26931
|
this.blockThemeChangedNotifications -= 1;
|
|
26497
26932
|
}
|
|
26498
26933
|
};
|
|
26934
|
+
CreatorThemeModel.prototype.setTheme = function (theme) {
|
|
26935
|
+
var _this = this;
|
|
26936
|
+
this.themeCssVariablesChanges = {};
|
|
26937
|
+
try {
|
|
26938
|
+
this.blockThemeChangedNotifications += 1;
|
|
26939
|
+
this.iteratePropertiesHash(function (hash, key) {
|
|
26940
|
+
_this.setPropertyValue(key, undefined);
|
|
26941
|
+
});
|
|
26942
|
+
}
|
|
26943
|
+
finally {
|
|
26944
|
+
this.blockThemeChangedNotifications -= 1;
|
|
26945
|
+
}
|
|
26946
|
+
this.loadTheme(theme);
|
|
26947
|
+
this.onThemeSelected.fire(this, { theme: this.toJSON() });
|
|
26948
|
+
};
|
|
26499
26949
|
CreatorThemeModel.prototype.fromJSON = function (json, options) {
|
|
26500
26950
|
if (!json)
|
|
26501
26951
|
return;
|
|
@@ -26900,6 +27350,7 @@ var QuestionColorModel = /** @class */ (function (_super) {
|
|
|
26900
27350
|
popupModel.displayMode = survey_core__WEBPACK_IMPORTED_MODULE_1__.IsTouch ? "overlay" : "popup";
|
|
26901
27351
|
popupModel.setWidthByTarget = true;
|
|
26902
27352
|
popupModel.positionMode = "fixed";
|
|
27353
|
+
popupModel.getTargetCallback = undefined;
|
|
26903
27354
|
listModel.isItemSelected = function (itemValue) { return itemValue.value == _this.value; };
|
|
26904
27355
|
return action;
|
|
26905
27356
|
};
|
|
@@ -26908,6 +27359,7 @@ var QuestionColorModel = /** @class */ (function (_super) {
|
|
|
26908
27359
|
var dropdownAction = this.dropdownAction;
|
|
26909
27360
|
dropdownAction.cssClasses = { item: classes.colorDropdown };
|
|
26910
27361
|
dropdownAction.iconName = classes.colorDropdownIcon;
|
|
27362
|
+
dropdownAction.iconSize = "auto";
|
|
26911
27363
|
var listModel = dropdownAction.popupModel.contentComponentData.model;
|
|
26912
27364
|
listModel.cssClasses = {};
|
|
26913
27365
|
listModel.cssClasses = {
|
|
@@ -28168,6 +28620,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28168
28620
|
var ExpandCollapseManager = /** @class */ (function () {
|
|
28169
28621
|
function ExpandCollapseManager(creator) {
|
|
28170
28622
|
var _this = this;
|
|
28623
|
+
this.creator = creator;
|
|
28171
28624
|
this.adorners = [];
|
|
28172
28625
|
creator.onSurfaceToolbarActionExecuted.add(function (_, options) {
|
|
28173
28626
|
var isCollapseAction = options.action.id == "collapseAll";
|
|
@@ -28180,7 +28633,8 @@ var ExpandCollapseManager = /** @class */ (function () {
|
|
|
28180
28633
|
ExpandCollapseManager.prototype.updateCollapsed = function (isCollapsed) {
|
|
28181
28634
|
for (var i = this.adorners.length - 1; i >= 0; i--) {
|
|
28182
28635
|
if (this.adorners[i].allowExpandCollapse) {
|
|
28183
|
-
|
|
28636
|
+
var reason = isCollapsed ? "collapse-all" : "expand-all";
|
|
28637
|
+
this.adorners[i].collapsed = this.creator.getElementExpandCollapseState(this.adorners[i].element, reason, isCollapsed);
|
|
28184
28638
|
}
|
|
28185
28639
|
}
|
|
28186
28640
|
};
|
|
@@ -28190,6 +28644,9 @@ var ExpandCollapseManager = /** @class */ (function () {
|
|
|
28190
28644
|
ExpandCollapseManager.prototype.remove = function (adorner) {
|
|
28191
28645
|
this.adorners.splice(this.adorners.indexOf(adorner), 1);
|
|
28192
28646
|
};
|
|
28647
|
+
ExpandCollapseManager.prototype.clear = function () {
|
|
28648
|
+
this.adorners.length = 0;
|
|
28649
|
+
};
|
|
28193
28650
|
return ExpandCollapseManager;
|
|
28194
28651
|
}());
|
|
28195
28652
|
|
|
@@ -31318,6 +31775,7 @@ var UndoRedoController = /** @class */ (function (_super) {
|
|
|
31318
31775
|
this.undoAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
31319
31776
|
id: "action-undo",
|
|
31320
31777
|
iconName: "icon-undo",
|
|
31778
|
+
iconSize: "auto",
|
|
31321
31779
|
locTitleName: "ed.undo",
|
|
31322
31780
|
showTitle: false,
|
|
31323
31781
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.creator.activeTab === "designer"; }),
|
|
@@ -31329,6 +31787,7 @@ var UndoRedoController = /** @class */ (function (_super) {
|
|
|
31329
31787
|
this.redoAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
31330
31788
|
id: "action-redo",
|
|
31331
31789
|
iconName: "icon-redo",
|
|
31790
|
+
iconSize: "auto",
|
|
31332
31791
|
locTitleName: "ed.redo",
|
|
31333
31792
|
showTitle: false,
|
|
31334
31793
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.creator.activeTab === "designer"; }),
|
|
@@ -32266,6 +32725,7 @@ var propertyGridCss = {
|
|
|
32266
32725
|
itemSelected: "spg-button-group__item--selected",
|
|
32267
32726
|
itemDisabled: "spg-button-group__item--disabled",
|
|
32268
32727
|
itemControl: "sv-visuallyhidden",
|
|
32728
|
+
disabled: "spg-question--disabled"
|
|
32269
32729
|
},
|
|
32270
32730
|
imagepicker: {
|
|
32271
32731
|
root: "spg-imagepicker",
|
|
@@ -32322,7 +32782,7 @@ var propertyGridCss = {
|
|
|
32322
32782
|
detailButtonExpanded: "spg-table__cell--detail-button--expanded",
|
|
32323
32783
|
detailIcon: "spg-detail-panel__icon",
|
|
32324
32784
|
detailIconExpanded: "spg-detail-panel__icon--expanded",
|
|
32325
|
-
detailPanelCell: "spg-table__cell--detail-panel",
|
|
32785
|
+
detailPanelCell: "spg-table__cell spg-table__cell--detail-panel",
|
|
32326
32786
|
actionsCell: "spg-table__cell spg-table__cell--actions",
|
|
32327
32787
|
buttonAdd: "spg-matrixdynamic__add-btn spg-action-button spg-action-button--large",
|
|
32328
32788
|
buttonRemove: "spg-matrixdynamic__remove-btn",
|
|
@@ -33280,6 +33740,9 @@ var ConditionEditor = /** @class */ (function (_super) {
|
|
|
33280
33740
|
var condQuestion = _this.getConditionQuestion(questionName);
|
|
33281
33741
|
opt.choices.forEach(function (choice, index) {
|
|
33282
33742
|
var isOperatorEnabled = ConditionEditor.isOperatorEnabled(qType, _creator_settings__WEBPACK_IMPORTED_MODULE_2__.settings.operators[choice.value]);
|
|
33743
|
+
if (condQuestion === null || condQuestion === void 0 ? void 0 : condQuestion.isContainer) {
|
|
33744
|
+
isOperatorEnabled = choice.value === "empty" || choice.value === "notempty";
|
|
33745
|
+
}
|
|
33283
33746
|
isOperatorEnabled = _this.options.isConditionOperatorEnabled(questionName, condQuestion, choice.value, isOperatorEnabled);
|
|
33284
33747
|
choice.setIsEnabled(isOperatorEnabled);
|
|
33285
33748
|
choice.setIsVisible(isOperatorEnabled);
|
|
@@ -33422,6 +33885,9 @@ var ConditionEditor = /** @class */ (function (_super) {
|
|
|
33422
33885
|
if (contextObject == question)
|
|
33423
33886
|
continue;
|
|
33424
33887
|
var context = contextObject ? contextObject : (!this.context || this.context === question);
|
|
33888
|
+
if (_creator_settings__WEBPACK_IMPORTED_MODULE_2__.settings.logic.includeComplexQuestions && question.isContainer) {
|
|
33889
|
+
res.push(question);
|
|
33890
|
+
}
|
|
33425
33891
|
question.addConditionObjectsByContext(res, context);
|
|
33426
33892
|
}
|
|
33427
33893
|
}
|
|
@@ -34616,7 +35082,6 @@ var PropertyGridTitleActionsCreator = /** @class */ (function () {
|
|
|
34616
35082
|
if (!!helpAction) {
|
|
34617
35083
|
actions.unshift(helpAction);
|
|
34618
35084
|
question.getTitleToolbar().containerCss += " spg-title-toolbar--single-help-action";
|
|
34619
|
-
helpAction.iconSize = 16;
|
|
34620
35085
|
}
|
|
34621
35086
|
if (actions.length > 0) {
|
|
34622
35087
|
options.titleActions = actions;
|
|
@@ -34629,6 +35094,7 @@ var PropertyGridTitleActionsCreator = /** @class */ (function () {
|
|
|
34629
35094
|
title: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("pe.clear"),
|
|
34630
35095
|
showTitle: false,
|
|
34631
35096
|
iconName: "icon-clear",
|
|
35097
|
+
iconSize: "auto",
|
|
34632
35098
|
innerCss: "spg-action-button--danger",
|
|
34633
35099
|
enabled: enabled,
|
|
34634
35100
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () {
|
|
@@ -34648,6 +35114,7 @@ var PropertyGridTitleActionsCreator = /** @class */ (function () {
|
|
|
34648
35114
|
var setupAction = {
|
|
34649
35115
|
id: "property-grid-setup",
|
|
34650
35116
|
iconName: property.isArray ? "icon-fast-entry" : "icon-wizard",
|
|
35117
|
+
iconSize: "auto",
|
|
34651
35118
|
enabled: enabled,
|
|
34652
35119
|
title: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("pe.edit"),
|
|
34653
35120
|
showTitle: false,
|
|
@@ -34666,6 +35133,7 @@ var PropertyGridTitleActionsCreator = /** @class */ (function () {
|
|
|
34666
35133
|
tooltip: question.description,
|
|
34667
35134
|
id: "property-grid-help",
|
|
34668
35135
|
iconName: this.getHelpActionIconName(question),
|
|
35136
|
+
iconSize: "auto",
|
|
34669
35137
|
css: "spg-help-action",
|
|
34670
35138
|
showTitle: false,
|
|
34671
35139
|
action: function () {
|
|
@@ -35742,7 +36210,7 @@ var PropertyGridEditorUndefinedBoolean = /** @class */ (function (_super) {
|
|
|
35742
36210
|
return res;
|
|
35743
36211
|
};
|
|
35744
36212
|
PropertyGridEditorUndefinedBoolean.prototype.onCreated = function (obj, question, prop, options, propGridDefinition) {
|
|
35745
|
-
question.valueFromDataCallback = function (val) { return val === undefined ? "auto" : val.toString(); };
|
|
36213
|
+
question.valueFromDataCallback = function (val) { return val === undefined || val === null ? "auto" : val.toString(); };
|
|
35746
36214
|
question.valueToDataCallback = function (val) { return val === "auto" ? undefined : val === "true"; };
|
|
35747
36215
|
};
|
|
35748
36216
|
PropertyGridEditorUndefinedBoolean.prototype.onSetup = function (obj, question, prop, options) {
|
|
@@ -36525,11 +36993,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
36525
36993
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
36526
36994
|
/* harmony import */ var _editorLocalization__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../editorLocalization */ "./src/editorLocalization.ts");
|
|
36527
36995
|
/* harmony import */ var _question_editor_properties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../question-editor/properties */ "./src/question-editor/properties.ts");
|
|
36528
|
-
/* harmony import */ var
|
|
36529
|
-
/* harmony import */ var
|
|
36530
|
-
/* harmony import */ var
|
|
36531
|
-
/* harmony import */ var
|
|
36532
|
-
/* harmony import */ var
|
|
36996
|
+
/* harmony import */ var _creator_settings__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../creator-settings */ "./src/creator-settings.ts");
|
|
36997
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/utils */ "./src/utils/utils.ts");
|
|
36998
|
+
/* harmony import */ var _fast_entry__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./fast-entry */ "./src/property-grid/fast-entry.ts");
|
|
36999
|
+
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./index */ "./src/property-grid/index.ts");
|
|
37000
|
+
/* harmony import */ var _utils_actions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/actions */ "./src/utils/actions.ts");
|
|
37001
|
+
/* harmony import */ var _components_question_rating__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../components/question-rating */ "./src/components/question-rating.ts");
|
|
37002
|
+
|
|
36533
37003
|
|
|
36534
37004
|
|
|
36535
37005
|
|
|
@@ -36559,7 +37029,7 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
36559
37029
|
arr.push(objs[i][keyPropName]);
|
|
36560
37030
|
}
|
|
36561
37031
|
}
|
|
36562
|
-
return (0,
|
|
37032
|
+
return (0,_utils_utils__WEBPACK_IMPORTED_MODULE_5__.getNextValue)(baseName, arr);
|
|
36563
37033
|
};
|
|
36564
37034
|
PropertyGridEditorMatrix.prototype.onCreated = function (obj, question, prop, options, propGridDefinition) {
|
|
36565
37035
|
var _this = this;
|
|
@@ -36626,7 +37096,7 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
36626
37096
|
});
|
|
36627
37097
|
}
|
|
36628
37098
|
var showDetailAction = actions.filter(function (item) { return item.id === "show-detail"; })[0];
|
|
36629
|
-
(0,
|
|
37099
|
+
(0,_utils_actions__WEBPACK_IMPORTED_MODULE_8__.updateMatrixRemoveAction)(question, actions, row);
|
|
36630
37100
|
if (!!showDetailAction) {
|
|
36631
37101
|
showDetailAction.component = "sv-action-bar-item";
|
|
36632
37102
|
showDetailAction.iconName = this.getShowDetailActionIconName(row);
|
|
@@ -36644,7 +37114,7 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
36644
37114
|
showDetailAction.ariaExpanded = row.isDetailPanelShowing;
|
|
36645
37115
|
};
|
|
36646
37116
|
}
|
|
36647
|
-
(0,
|
|
37117
|
+
(0,_utils_actions__WEBPACK_IMPORTED_MODULE_8__.updateMatixActionsClasses)(actions);
|
|
36648
37118
|
};
|
|
36649
37119
|
PropertyGridEditorMatrix.prototype.getShowDetailActionIconName = function (row) {
|
|
36650
37120
|
return row.isDetailPanelShowing ? "icon-editing-finish" : "icon-edit";
|
|
@@ -36687,7 +37157,7 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
36687
37157
|
}
|
|
36688
37158
|
var arr = obj[prop.name];
|
|
36689
37159
|
if (survey_core__WEBPACK_IMPORTED_MODULE_1__.Serializer.isDescendantOf(item.getType(), "itemvalue")) {
|
|
36690
|
-
item.text = (0,
|
|
37160
|
+
item.text = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_5__.getNextItemText)(arr);
|
|
36691
37161
|
}
|
|
36692
37162
|
arr.push(item);
|
|
36693
37163
|
if (arr != matrix.value) {
|
|
@@ -36777,7 +37247,7 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
36777
37247
|
};
|
|
36778
37248
|
var q = matrix;
|
|
36779
37249
|
matrix.onCreateDetailPanelCallback = function (row, panel) {
|
|
36780
|
-
new
|
|
37250
|
+
new _index__WEBPACK_IMPORTED_MODULE_7__.PropertyJSONGenerator(row.editingObj, q.creatorOptions, q.obj, q.property, propGridDefinition).setupObjPanel(panel, true);
|
|
36781
37251
|
};
|
|
36782
37252
|
matrix.allowRowsDragAndDrop = this.getAllowRowDragDrop(prop) && !matrix.isReadOnly;
|
|
36783
37253
|
if (!!q.creatorOptions) {
|
|
@@ -36798,7 +37268,7 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
36798
37268
|
if (!newObj)
|
|
36799
37269
|
return true;
|
|
36800
37270
|
var panel = new survey_core__WEBPACK_IMPORTED_MODULE_1__.PanelModel("");
|
|
36801
|
-
new
|
|
37271
|
+
new _index__WEBPACK_IMPORTED_MODULE_7__.PropertyJSONGenerator(newObj, matrix.creatorOptions, matrix.obj, prop, propGridDefinition).setupObjPanel(panel, true);
|
|
36802
37272
|
return panel.elements.length > 0;
|
|
36803
37273
|
};
|
|
36804
37274
|
PropertyGridEditorMatrix.prototype.getJSON = function (obj, prop, options, propGridDefinition) {
|
|
@@ -36868,7 +37338,7 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
36868
37338
|
return "";
|
|
36869
37339
|
};
|
|
36870
37340
|
PropertyGridEditorMatrix.prototype.getColumnsJSON = function (obj, prop, propNames, options, propGridDefinition) {
|
|
36871
|
-
var res = new
|
|
37341
|
+
var res = new _index__WEBPACK_IMPORTED_MODULE_7__.PropertyJSONGenerator(obj, options, undefined, undefined, propGridDefinition).createColumnsJSON(this.getClassNameByProp(prop), this.filterPropertyNames(propNames, options));
|
|
36872
37342
|
for (var i = 0; i < res.length; i++) {
|
|
36873
37343
|
if (res[i].cellType == "comment") {
|
|
36874
37344
|
res[i].cellType = "text";
|
|
@@ -36907,7 +37377,7 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
36907
37377
|
matrix.allowBatchEdit = evtOptions.allowBatchEdit;
|
|
36908
37378
|
};
|
|
36909
37379
|
return PropertyGridEditorMatrix;
|
|
36910
|
-
}(
|
|
37380
|
+
}(_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditor));
|
|
36911
37381
|
|
|
36912
37382
|
var PropertyGridEditorMatrixItemValues = /** @class */ (function (_super) {
|
|
36913
37383
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(PropertyGridEditorMatrixItemValues, _super);
|
|
@@ -36939,7 +37409,7 @@ var PropertyGridEditorMatrixItemValues = /** @class */ (function (_super) {
|
|
|
36939
37409
|
PropertyGridEditorMatrixItemValues.prototype.getAllowRowDragDrop = function (prop) { return true; };
|
|
36940
37410
|
PropertyGridEditorMatrixItemValues.prototype.createPropertyEditorSetup = function (obj, prop, question, options) {
|
|
36941
37411
|
var names = question.columns.filter(function (c) { return !c.readOnly; }).map(function (c) { return c.name; });
|
|
36942
|
-
return new
|
|
37412
|
+
return new _fast_entry__WEBPACK_IMPORTED_MODULE_6__.FastEntryEditor(obj[prop.name], options, prop.className, names);
|
|
36943
37413
|
};
|
|
36944
37414
|
PropertyGridEditorMatrixItemValues.prototype.canClearPropertyValue = function (obj, prop, question, options) {
|
|
36945
37415
|
return question.allowRemoveAllItems !== false;
|
|
@@ -37038,14 +37508,14 @@ var PropertyGridEditorMatrixRateValues = /** @class */ (function (_super) {
|
|
|
37038
37508
|
return (prop.isArray && survey_core__WEBPACK_IMPORTED_MODULE_1__.Serializer.isDescendantOf(prop.className, "itemvalue") && prop.name == "rateValues");
|
|
37039
37509
|
};
|
|
37040
37510
|
PropertyGridEditorMatrixRateValues.prototype.updateAllowAddRemove = function (matrixQuestion, obj) {
|
|
37041
|
-
matrixQuestion.allowRemoveRows =
|
|
37042
|
-
matrixQuestion.allowAddRows =
|
|
37511
|
+
matrixQuestion.allowRemoveRows = _components_question_rating__WEBPACK_IMPORTED_MODULE_9__.QuestionRatingAdornerViewModel.allowRemoveForElement(obj);
|
|
37512
|
+
matrixQuestion.allowAddRows = _components_question_rating__WEBPACK_IMPORTED_MODULE_9__.QuestionRatingAdornerViewModel.allowAddForElement(obj, matrixQuestion.maxRowCount);
|
|
37043
37513
|
};
|
|
37044
37514
|
PropertyGridEditorMatrixRateValues.prototype.onCreated = function (obj, question, prop, options, propGridDefinition) {
|
|
37045
37515
|
var _this = this;
|
|
37046
37516
|
_super.prototype.onCreated.call(this, obj, question, prop, options, propGridDefinition);
|
|
37047
37517
|
var matrixQuestion = question;
|
|
37048
|
-
var ratingQuestion = (0,
|
|
37518
|
+
var ratingQuestion = (0,_utils_utils__WEBPACK_IMPORTED_MODULE_5__.getQuestionFromObj)(obj);
|
|
37049
37519
|
this.updateAllowAddRemove(matrixQuestion, ratingQuestion);
|
|
37050
37520
|
obj.onPropertyChanged.add(function (sender, options) {
|
|
37051
37521
|
if (options.name == "rateCount" || options.name == "rateDisplayMode") {
|
|
@@ -37242,7 +37712,7 @@ var PropertyGridEditorMatrixMutlipleTextItems = /** @class */ (function (_super)
|
|
|
37242
37712
|
question.columns.forEach(function (col) {
|
|
37243
37713
|
names.push(col.name);
|
|
37244
37714
|
});
|
|
37245
|
-
return new
|
|
37715
|
+
return new _fast_entry__WEBPACK_IMPORTED_MODULE_6__.FastEntryEditorBase(obj[prop.name], options, prop.className, names);
|
|
37246
37716
|
};
|
|
37247
37717
|
PropertyGridEditorMatrixMutlipleTextItems.prototype.onMatrixCellCreated = function (obj, options) {
|
|
37248
37718
|
_super.prototype.onMatrixCellCreated.call(this, obj, options);
|
|
@@ -37362,7 +37832,13 @@ var PropertyGridEditorMatrixTriggers = /** @class */ (function (_super) {
|
|
|
37362
37832
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
37363
37833
|
}
|
|
37364
37834
|
PropertyGridEditorMatrixTriggers.prototype.getAvailableTriggers = function () {
|
|
37365
|
-
|
|
37835
|
+
var _this = this;
|
|
37836
|
+
return survey_core__WEBPACK_IMPORTED_MODULE_1__.Serializer.getChildrenClasses("surveytrigger", true).filter(function (classObj) { return _this.isTriggerVisible(classObj.name); });
|
|
37837
|
+
};
|
|
37838
|
+
PropertyGridEditorMatrixTriggers.prototype.isTriggerVisible = function (name) {
|
|
37839
|
+
var postfix = "trigger";
|
|
37840
|
+
var pureName = name.substring(0, name.length - postfix.length);
|
|
37841
|
+
return name !== "visibletrigger" && _creator_settings__WEBPACK_IMPORTED_MODULE_4__.settings.logic.invisibleTriggers.indexOf(pureName) < 0;
|
|
37366
37842
|
};
|
|
37367
37843
|
PropertyGridEditorMatrixTriggers.prototype.fit = function (prop) {
|
|
37368
37844
|
return prop.type == "triggers";
|
|
@@ -37388,17 +37864,17 @@ var PropertyGridEditorMatrixTriggers = /** @class */ (function (_super) {
|
|
|
37388
37864
|
return PropertyGridEditorMatrixTriggers;
|
|
37389
37865
|
}(PropertyGridEditorMatrixMultipleTypes));
|
|
37390
37866
|
|
|
37391
|
-
|
|
37392
|
-
|
|
37393
|
-
|
|
37394
|
-
|
|
37395
|
-
|
|
37396
|
-
|
|
37397
|
-
|
|
37398
|
-
|
|
37399
|
-
|
|
37400
|
-
|
|
37401
|
-
|
|
37867
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixItemValues());
|
|
37868
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixRateValues());
|
|
37869
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixColumns());
|
|
37870
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixPages());
|
|
37871
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixCalculatedValues());
|
|
37872
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixHtmlConditions());
|
|
37873
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixUrlConditions());
|
|
37874
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixMutlipleTextItems());
|
|
37875
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixValidators());
|
|
37876
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixTriggers());
|
|
37877
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register({
|
|
37402
37878
|
fit: function (prop) {
|
|
37403
37879
|
if (prop.name === "icon") {
|
|
37404
37880
|
return prop.classInfo.name === "itemvalue";
|
|
@@ -37411,7 +37887,7 @@ _index__WEBPACK_IMPORTED_MODULE_6__.PropertyGridEditorCollection.register({
|
|
|
37411
37887
|
};
|
|
37412
37888
|
}
|
|
37413
37889
|
});
|
|
37414
|
-
|
|
37890
|
+
_index__WEBPACK_IMPORTED_MODULE_7__.PropertyGridEditorCollection.register(new PropertyGridEditorMatrixLayoutColumns());
|
|
37415
37891
|
|
|
37416
37892
|
|
|
37417
37893
|
/***/ }),
|
|
@@ -37757,6 +38233,7 @@ var PropertyGridViewModel = /** @class */ (function (_super) {
|
|
|
37757
38233
|
});
|
|
37758
38234
|
this.selectorPopupModel.cssClass += " svc-object-selector";
|
|
37759
38235
|
this.selectorPopupModel.displayMode = this.creator.isTouch ? "overlay" : "popup";
|
|
38236
|
+
this.selectorPopupModel.getTargetCallback = survey_core__WEBPACK_IMPORTED_MODULE_1__.getActionDropdownButtonTarget;
|
|
37760
38237
|
this.selectorPopupModel.registerPropertyChangedHandlers(["isVisible"], function () {
|
|
37761
38238
|
if (!_this.selectorPopupModel.isVisible) {
|
|
37762
38239
|
_this.objectSelectionAction.pressed = false;
|
|
@@ -37768,7 +38245,7 @@ var PropertyGridViewModel = /** @class */ (function (_super) {
|
|
|
37768
38245
|
this.objectSelectionAction = new _utils_actions__WEBPACK_IMPORTED_MODULE_7__.MenuButton({
|
|
37769
38246
|
id: "svd-grid-object-selector",
|
|
37770
38247
|
title: this.selectedElementName,
|
|
37771
|
-
css: "sv-action--object-selector
|
|
38248
|
+
css: "sv-action--object-selector",
|
|
37772
38249
|
component: "sv-action-bar-item-dropdown",
|
|
37773
38250
|
disableHide: true,
|
|
37774
38251
|
pressed: false,
|
|
@@ -37905,107 +38382,24 @@ _index__WEBPACK_IMPORTED_MODULE_2__.PropertyGridEditorCollection.register(new Pr
|
|
|
37905
38382
|
"use strict";
|
|
37906
38383
|
__webpack_require__.r(__webpack_exports__);
|
|
37907
38384
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
37908
|
-
/* harmony export */
|
|
37909
|
-
/* harmony export */ SearchManagerPropertyGrid: () => (/* binding */ SearchManagerPropertyGrid),
|
|
37910
|
-
/* harmony export */ SearchManagerToolbox: () => (/* binding */ SearchManagerToolbox)
|
|
38385
|
+
/* harmony export */ SearchManagerPropertyGrid: () => (/* binding */ SearchManagerPropertyGrid)
|
|
37911
38386
|
/* harmony export */ });
|
|
37912
38387
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
37913
38388
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
37914
38389
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
37915
38390
|
/* harmony import */ var _editorLocalization__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../editorLocalization */ "./src/editorLocalization.ts");
|
|
37916
38391
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/utils */ "./src/utils/utils.ts");
|
|
38392
|
+
/* harmony import */ var _components_search_manager__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components/search-manager */ "./src/components/search-manager.ts");
|
|
37917
38393
|
|
|
37918
38394
|
|
|
37919
38395
|
|
|
37920
38396
|
|
|
37921
|
-
var SearchManager = /** @class */ (function (_super) {
|
|
37922
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SearchManager, _super);
|
|
37923
|
-
function SearchManager() {
|
|
37924
|
-
var _this = _super.call(this) || this;
|
|
37925
|
-
_this.searchActionBar = new survey_core__WEBPACK_IMPORTED_MODULE_1__.ActionContainer();
|
|
37926
|
-
_this.initActionBar();
|
|
37927
|
-
return _this;
|
|
37928
|
-
}
|
|
37929
|
-
Object.defineProperty(SearchManager.prototype, "filterStringPlaceholder", {
|
|
37930
|
-
get: function () { return this.getFilterStringPlaceholder(); },
|
|
37931
|
-
enumerable: false,
|
|
37932
|
-
configurable: true
|
|
37933
|
-
});
|
|
37934
|
-
SearchManager.prototype.getSearchActions = function () {
|
|
37935
|
-
var _this = this;
|
|
37936
|
-
return [new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
37937
|
-
id: "svd-grid-search-close",
|
|
37938
|
-
iconName: "icon-clear_16x16",
|
|
37939
|
-
component: "sv-action-bar-item",
|
|
37940
|
-
title: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("ed.clear"),
|
|
37941
|
-
showTitle: false,
|
|
37942
|
-
iconSize: 16,
|
|
37943
|
-
disableTabStop: true,
|
|
37944
|
-
innerCss: "spg-search-editor_bar-item",
|
|
37945
|
-
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return !!_this.filterString; }),
|
|
37946
|
-
action: function () {
|
|
37947
|
-
_this.clearFilterString();
|
|
37948
|
-
}
|
|
37949
|
-
})];
|
|
37950
|
-
};
|
|
37951
|
-
SearchManager.prototype.initActionBar = function () {
|
|
37952
|
-
this.searchActionBar.setItems(this.getSearchActions());
|
|
37953
|
-
};
|
|
37954
|
-
SearchManager.prototype.clearFilterString = function () {
|
|
37955
|
-
this.filterString = "";
|
|
37956
|
-
};
|
|
37957
|
-
SearchManager.prototype.onPropertyValueChanged = function (name, oldValue, newValue) {
|
|
37958
|
-
_super.prototype.onPropertyValueChanged.call(this, name, oldValue, newValue);
|
|
37959
|
-
if (name === "filterString") {
|
|
37960
|
-
this.setFiterString(newValue, oldValue);
|
|
37961
|
-
}
|
|
37962
|
-
};
|
|
37963
|
-
SearchManager.prototype.dispose = function () {
|
|
37964
|
-
this.searchActionBar.dispose();
|
|
37965
|
-
_super.prototype.dispose.call(this);
|
|
37966
|
-
};
|
|
37967
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
37968
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
37969
|
-
], SearchManager.prototype, "filterString", void 0);
|
|
37970
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
37971
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
37972
|
-
], SearchManager.prototype, "isVisible", void 0);
|
|
37973
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
37974
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
37975
|
-
], SearchManager.prototype, "matchCounterText", void 0);
|
|
37976
|
-
return SearchManager;
|
|
37977
|
-
}(survey_core__WEBPACK_IMPORTED_MODULE_1__.Base));
|
|
37978
|
-
|
|
37979
|
-
var SearchManagerToolbox = /** @class */ (function (_super) {
|
|
37980
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SearchManagerToolbox, _super);
|
|
37981
|
-
function SearchManagerToolbox() {
|
|
37982
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
37983
|
-
}
|
|
37984
|
-
SearchManagerToolbox.prototype.setFiterString = function (newValue, oldValue) {
|
|
37985
|
-
this.toolbox.showSeparators = !newValue;
|
|
37986
|
-
this.toolbox.items.forEach(function (item) { return item.visible = item.hasText(newValue); });
|
|
37987
|
-
this.toolbox.showPlaceholder = !this.toolbox.items.filter(function (i) { return i.visible; }).length;
|
|
37988
|
-
this.toolbox.categories.forEach(function (category) {
|
|
37989
|
-
category.forceExpand = !!newValue;
|
|
37990
|
-
category.empty = category.items.filter(function (item) { return item.visible; }).length == 0;
|
|
37991
|
-
});
|
|
37992
|
-
};
|
|
37993
|
-
SearchManagerToolbox.prototype.getFilterStringPlaceholder = function () { return (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("ed.toolboxFilteredTextPlaceholder"); };
|
|
37994
|
-
SearchManagerToolbox.prototype.clearFilterString = function () {
|
|
37995
|
-
this.filterString = "";
|
|
37996
|
-
this.toolbox.rootElement.querySelector("input").focus();
|
|
37997
|
-
};
|
|
37998
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
37999
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
38000
|
-
], SearchManagerToolbox.prototype, "toolbox", void 0);
|
|
38001
|
-
return SearchManagerToolbox;
|
|
38002
|
-
}(SearchManager));
|
|
38003
38397
|
|
|
38004
38398
|
var SearchManagerPropertyGrid = /** @class */ (function (_super) {
|
|
38005
38399
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SearchManagerPropertyGrid, _super);
|
|
38006
38400
|
function SearchManagerPropertyGrid() {
|
|
38007
38401
|
var _this = _super.call(this) || this;
|
|
38008
|
-
_this.highlightedEditorClass = " spg-
|
|
38402
|
+
_this.highlightedEditorClass = " spg-question--highlighted";
|
|
38009
38403
|
_this.initActionBar();
|
|
38010
38404
|
return _this;
|
|
38011
38405
|
}
|
|
@@ -38111,7 +38505,7 @@ var SearchManagerPropertyGrid = /** @class */ (function (_super) {
|
|
|
38111
38505
|
title: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("ed.nextFocus"),
|
|
38112
38506
|
showTitle: false,
|
|
38113
38507
|
iconSize: 16,
|
|
38114
|
-
innerCss: "
|
|
38508
|
+
innerCss: "svc-search__bar-item",
|
|
38115
38509
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.allMatches.length > 1; }),
|
|
38116
38510
|
action: function () {
|
|
38117
38511
|
if (_this.allMatches.length > 0) {
|
|
@@ -38126,7 +38520,7 @@ var SearchManagerPropertyGrid = /** @class */ (function (_super) {
|
|
|
38126
38520
|
title: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("ed.prevFocus"),
|
|
38127
38521
|
showTitle: false,
|
|
38128
38522
|
iconSize: 16,
|
|
38129
|
-
innerCss: "
|
|
38523
|
+
innerCss: "svc-search__bar-item",
|
|
38130
38524
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.allMatches.length > 1; }),
|
|
38131
38525
|
action: function () {
|
|
38132
38526
|
if (_this.allMatches.length > 0) {
|
|
@@ -38159,7 +38553,7 @@ var SearchManagerPropertyGrid = /** @class */ (function (_super) {
|
|
|
38159
38553
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({ defaultValue: [] })
|
|
38160
38554
|
], SearchManagerPropertyGrid.prototype, "allMatches", void 0);
|
|
38161
38555
|
return SearchManagerPropertyGrid;
|
|
38162
|
-
}(SearchManager));
|
|
38556
|
+
}(_components_search_manager__WEBPACK_IMPORTED_MODULE_4__.SearchManager));
|
|
38163
38557
|
|
|
38164
38558
|
|
|
38165
38559
|
|
|
@@ -38276,7 +38670,10 @@ var DefaultValueEditor = /** @class */ (function (_super) {
|
|
|
38276
38670
|
_this.editQuestion = editQuestion;
|
|
38277
38671
|
_this.propertyName = propertyName;
|
|
38278
38672
|
_this.setupSurvey();
|
|
38279
|
-
|
|
38673
|
+
var oldValue = _this.getQuestionValue();
|
|
38674
|
+
if (oldValue !== undefined) {
|
|
38675
|
+
_this.question.value = oldValue;
|
|
38676
|
+
}
|
|
38280
38677
|
return _this;
|
|
38281
38678
|
}
|
|
38282
38679
|
Object.defineProperty(DefaultValueEditor.prototype, "question", {
|
|
@@ -40446,8 +40843,13 @@ var DragDropSurveyElements = /** @class */ (function (_super) {
|
|
|
40446
40843
|
var src = _this.draggedElement;
|
|
40447
40844
|
if (dragged.isPage && dragged instanceof survey_core__WEBPACK_IMPORTED_MODULE_1__.PageModel) {
|
|
40448
40845
|
var survey = dragged.survey;
|
|
40449
|
-
survey.pages.
|
|
40450
|
-
survey.pages.splice(
|
|
40846
|
+
var indexOfDraggedPage = survey.pages.indexOf(dragged);
|
|
40847
|
+
survey.pages.splice(indexOfDraggedPage, 1);
|
|
40848
|
+
var indexOfDropTarget = survey.pages.indexOf(_this.dropTarget) + (_this.dragOverLocation === survey_core__WEBPACK_IMPORTED_MODULE_1__.DragTypeOverMeEnum.Top ? 0 : 1);
|
|
40849
|
+
survey.pages.splice(indexOfDropTarget, 0, dragged);
|
|
40850
|
+
if (indexOfDraggedPage !== indexOfDropTarget) {
|
|
40851
|
+
dragged["draggedFrom"] = indexOfDraggedPage < indexOfDropTarget ? indexOfDraggedPage : indexOfDraggedPage + 1;
|
|
40852
|
+
}
|
|
40451
40853
|
return dragged;
|
|
40452
40854
|
}
|
|
40453
40855
|
var convertLocation = function () {
|
|
@@ -41347,6 +41749,7 @@ var TabbedMenuContainer = /** @class */ (function (_super) {
|
|
|
41347
41749
|
var _this = _super.call(this) || this;
|
|
41348
41750
|
_this.creator = creator;
|
|
41349
41751
|
_this.dotsItem.popupModel.horizontalPosition = "center";
|
|
41752
|
+
_this.dotsItem.popupModel.cssClass += " svc-tabbed-menu-item__popup svc-creator-popup";
|
|
41350
41753
|
_this.minVisibleItemsCount = 1;
|
|
41351
41754
|
return _this;
|
|
41352
41755
|
}
|
|
@@ -41421,6 +41824,16 @@ var SurveyForTextWorker = /** @class */ (function (_super) {
|
|
|
41421
41824
|
_this.fromJSON(jsonObj);
|
|
41422
41825
|
return _this;
|
|
41423
41826
|
}
|
|
41827
|
+
//Run endLoading before fixing issues with unique names
|
|
41828
|
+
SurveyForTextWorker.prototype.runEndLoadingFromJson = function () {
|
|
41829
|
+
if (this.isRunEndLoadingFromJson)
|
|
41830
|
+
return;
|
|
41831
|
+
this.isRunEndLoadingFromJson = true;
|
|
41832
|
+
_super.prototype.endLoadingFromJson.call(this);
|
|
41833
|
+
};
|
|
41834
|
+
//Do nothing on end loading
|
|
41835
|
+
SurveyForTextWorker.prototype.endLoadingFromJson = function () { };
|
|
41836
|
+
SurveyForTextWorker.prototype.getSurveyData = function () { return null; };
|
|
41424
41837
|
return SurveyForTextWorker;
|
|
41425
41838
|
}(survey_core__WEBPACK_IMPORTED_MODULE_1__.SurveyModel));
|
|
41426
41839
|
var SurveyTextWorkerJsonErrorFixerBase = /** @class */ (function () {
|
|
@@ -41577,7 +41990,12 @@ var SurveyTextWorkerJsonDuplicateNameErrorFixer = /** @class */ (function (_supe
|
|
|
41577
41990
|
return this.getNewIndex(text, "\"name\":", at, end);
|
|
41578
41991
|
};
|
|
41579
41992
|
SurveyTextWorkerJsonDuplicateNameErrorFixer.prototype.updatedJsonObjOnFix = function (json) {
|
|
41580
|
-
|
|
41993
|
+
var _a;
|
|
41994
|
+
var el = this.element;
|
|
41995
|
+
if ((_a = el.survey) === null || _a === void 0 ? void 0 : _a.runEndLoadingFromJson) {
|
|
41996
|
+
el.survey.runEndLoadingFromJson();
|
|
41997
|
+
}
|
|
41998
|
+
json["name"] = _survey_helper__WEBPACK_IMPORTED_MODULE_2__.SurveyHelper.getNewElementName(el);
|
|
41581
41999
|
};
|
|
41582
42000
|
return SurveyTextWorkerJsonDuplicateNameErrorFixer;
|
|
41583
42001
|
}(SurveyTextWorkerJsonErrorFixer));
|
|
@@ -41823,7 +42241,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
41823
42241
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
41824
42242
|
/* harmony import */ var _editorLocalization__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editorLocalization */ "./src/editorLocalization.ts");
|
|
41825
42243
|
/* harmony import */ var _creator_settings__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./creator-settings */ "./src/creator-settings.ts");
|
|
41826
|
-
/* harmony import */ var
|
|
42244
|
+
/* harmony import */ var _components_toolbox_toolbox_search_manager__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/toolbox/toolbox-search-manager */ "./src/components/toolbox/toolbox-search-manager.ts");
|
|
41827
42245
|
|
|
41828
42246
|
|
|
41829
42247
|
|
|
@@ -41990,6 +42408,7 @@ var QuestionToolboxItem = /** @class */ (function (_super) {
|
|
|
41990
42408
|
if (!items || items.length < 1)
|
|
41991
42409
|
return;
|
|
41992
42410
|
this.setSubItems({ items: items });
|
|
42411
|
+
this.popupModel.getAreaCallback = this.getArea;
|
|
41993
42412
|
this.component = QuestionToolbox.defaultItemGroupComponent;
|
|
41994
42413
|
};
|
|
41995
42414
|
/**
|
|
@@ -42111,7 +42530,7 @@ var QuestionToolbox = /** @class */ (function (_super) {
|
|
|
42111
42530
|
_this.isCompactRendered = !val;
|
|
42112
42531
|
}, function () { return !_this.isCompactRendered; });
|
|
42113
42532
|
_this.categoriesTitles = {};
|
|
42114
|
-
_this.searchManager = new
|
|
42533
|
+
_this.searchManager = new _components_toolbox_toolbox_search_manager__WEBPACK_IMPORTED_MODULE_4__.SearchManagerToolbox();
|
|
42115
42534
|
_this.subItemsShowDelay = 0;
|
|
42116
42535
|
_this.searchManager.isVisible = _this.searchEnabled;
|
|
42117
42536
|
_this.searchManager.toolbox = _this;
|
|
@@ -42242,7 +42661,7 @@ var QuestionToolbox = /** @class */ (function (_super) {
|
|
|
42242
42661
|
_this.dragOrClickHelper.onPointerDown(pointerDownEvent, item);
|
|
42243
42662
|
}
|
|
42244
42663
|
};
|
|
42245
|
-
this.dotsItem.popupModel.cssClass
|
|
42664
|
+
this.dotsItem.popupModel.cssClass += " svc-toolbox-popup svc-creator-popup";
|
|
42246
42665
|
};
|
|
42247
42666
|
QuestionToolbox.prototype.getDefaultQuestionCategories = function () {
|
|
42248
42667
|
var _this = this;
|
|
@@ -44588,7 +45007,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_survey_core_themes__;
|
|
|
44588
45007
|
/******/
|
|
44589
45008
|
/************************************************************************/
|
|
44590
45009
|
var __webpack_exports__ = {};
|
|
44591
|
-
// This entry
|
|
45010
|
+
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
44592
45011
|
(() => {
|
|
44593
45012
|
"use strict";
|
|
44594
45013
|
/*!******************************!*\
|
|
@@ -44597,151 +45016,151 @@ var __webpack_exports__ = {};
|
|
|
44597
45016
|
__webpack_require__.r(__webpack_exports__);
|
|
44598
45017
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44599
45018
|
/* harmony export */ AceJsonEditorModel: () => (/* reexport safe */ _components_tabs_json_editor_ace__WEBPACK_IMPORTED_MODULE_7__.AceJsonEditorModel),
|
|
44600
|
-
/* harmony export */ ColorCalculator: () => (/* reexport safe */
|
|
45019
|
+
/* harmony export */ ColorCalculator: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.ColorCalculator),
|
|
44601
45020
|
/* harmony export */ CreatorAction: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.CreatorAction),
|
|
44602
45021
|
/* harmony export */ CreatorBase: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.CreatorBase),
|
|
44603
45022
|
/* harmony export */ CreatorEvent: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.CreatorEvent),
|
|
44604
|
-
/* harmony export */ CreatorPreset: () => (/* reexport safe */
|
|
44605
|
-
/* harmony export */ CreatorPresetBase: () => (/* reexport safe */
|
|
44606
|
-
/* harmony export */ CreatorPresetPropertyGrid: () => (/* reexport safe */
|
|
44607
|
-
/* harmony export */ CreatorPresetPropertyGridDefinition: () => (/* reexport safe */
|
|
44608
|
-
/* harmony export */ CreatorPresetTabs: () => (/* reexport safe */
|
|
44609
|
-
/* harmony export */ CreatorPresetToolbox: () => (/* reexport safe */
|
|
44610
|
-
/* harmony export */ CreatorPresetToolboxConfigurator: () => (/* reexport safe */
|
|
44611
|
-
/* harmony export */ CreatorPresetToolboxDefinition: () => (/* reexport safe */
|
|
45023
|
+
/* harmony export */ CreatorPreset: () => (/* reexport safe */ _presets_presets__WEBPACK_IMPORTED_MODULE_88__.CreatorPreset),
|
|
45024
|
+
/* harmony export */ CreatorPresetBase: () => (/* reexport safe */ _presets_presets_base__WEBPACK_IMPORTED_MODULE_87__.CreatorPresetBase),
|
|
45025
|
+
/* harmony export */ CreatorPresetPropertyGrid: () => (/* reexport safe */ _presets_presets_properties__WEBPACK_IMPORTED_MODULE_89__.CreatorPresetPropertyGrid),
|
|
45026
|
+
/* harmony export */ CreatorPresetPropertyGridDefinition: () => (/* reexport safe */ _presets_presets_properties__WEBPACK_IMPORTED_MODULE_89__.CreatorPresetPropertyGridDefinition),
|
|
45027
|
+
/* harmony export */ CreatorPresetTabs: () => (/* reexport safe */ _presets_presets_tabs__WEBPACK_IMPORTED_MODULE_90__.CreatorPresetTabs),
|
|
45028
|
+
/* harmony export */ CreatorPresetToolbox: () => (/* reexport safe */ _presets_presets_toolbox__WEBPACK_IMPORTED_MODULE_91__.CreatorPresetToolbox),
|
|
45029
|
+
/* harmony export */ CreatorPresetToolboxConfigurator: () => (/* reexport safe */ _presets_presets_toolbox__WEBPACK_IMPORTED_MODULE_91__.CreatorPresetToolboxConfigurator),
|
|
45030
|
+
/* harmony export */ CreatorPresetToolboxDefinition: () => (/* reexport safe */ _presets_presets_toolbox__WEBPACK_IMPORTED_MODULE_91__.CreatorPresetToolboxDefinition),
|
|
44612
45031
|
/* harmony export */ CreatorResponsivityManager: () => (/* reexport safe */ _creator_responsivity_manager__WEBPACK_IMPORTED_MODULE_6__.CreatorResponsivityManager),
|
|
44613
|
-
/* harmony export */ CreatorThemeModel: () => (/* reexport safe */
|
|
44614
|
-
/* harmony export */ DEFAULT_MONITOR_DPI: () => (/* reexport safe */
|
|
45032
|
+
/* harmony export */ CreatorThemeModel: () => (/* reexport safe */ _creator_theme_creator_theme_model__WEBPACK_IMPORTED_MODULE_86__.CreatorThemeModel),
|
|
45033
|
+
/* harmony export */ DEFAULT_MONITOR_DPI: () => (/* reexport safe */ _components_simulator__WEBPACK_IMPORTED_MODULE_41__.DEFAULT_MONITOR_DPI),
|
|
44615
45034
|
/* harmony export */ DefaultFonts: () => (/* reexport safe */ _components_tabs_theme_custom_questions_font_settings__WEBPACK_IMPORTED_MODULE_14__.DefaultFonts),
|
|
44616
|
-
/* harmony export */ DragDropSurveyElements: () => (/* reexport safe */
|
|
45035
|
+
/* harmony export */ DragDropSurveyElements: () => (/* reexport safe */ _survey_elements__WEBPACK_IMPORTED_MODULE_92__.DragDropSurveyElements),
|
|
44617
45036
|
/* harmony export */ EditorLocalization: () => (/* reexport safe */ _editorLocalization__WEBPACK_IMPORTED_MODULE_1__.EditorLocalization),
|
|
44618
45037
|
/* harmony export */ EmptySurveyCreatorOptions: () => (/* reexport safe */ _creator_settings__WEBPACK_IMPORTED_MODULE_2__.EmptySurveyCreatorOptions),
|
|
44619
|
-
/* harmony export */ HEXToRGB: () => (/* reexport safe */
|
|
44620
|
-
/* harmony export */ HSBToRGB: () => (/* reexport safe */
|
|
44621
|
-
/* harmony export */ ImageItemValueWrapperViewModel: () => (/* reexport safe */
|
|
44622
|
-
/* harmony export */ ItemValueWrapperViewModel: () => (/* reexport safe */
|
|
44623
|
-
/* harmony export */ JsonDuplicateNameError: () => (/* reexport safe */
|
|
45038
|
+
/* harmony export */ HEXToRGB: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.HEXToRGB),
|
|
45039
|
+
/* harmony export */ HSBToRGB: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.HSBToRGB),
|
|
45040
|
+
/* harmony export */ ImageItemValueWrapperViewModel: () => (/* reexport safe */ _components_image_item_value__WEBPACK_IMPORTED_MODULE_39__.ImageItemValueWrapperViewModel),
|
|
45041
|
+
/* harmony export */ ItemValueWrapperViewModel: () => (/* reexport safe */ _components_item_value__WEBPACK_IMPORTED_MODULE_38__.ItemValueWrapperViewModel),
|
|
45042
|
+
/* harmony export */ JsonDuplicateNameError: () => (/* reexport safe */ _textWorker__WEBPACK_IMPORTED_MODULE_68__.JsonDuplicateNameError),
|
|
44624
45043
|
/* harmony export */ JsonEditorBaseModel: () => (/* reexport safe */ _components_tabs_json_editor_plugin__WEBPACK_IMPORTED_MODULE_8__.JsonEditorBaseModel),
|
|
44625
45044
|
/* harmony export */ LogicEvent: () => (/* reexport safe */ _components_tabs_logic__WEBPACK_IMPORTED_MODULE_20__.LogicEvent),
|
|
44626
|
-
/* harmony export */ LogoImageViewModel: () => (/* reexport safe */
|
|
44627
|
-
/* harmony export */ MatrixCellWrapperEditSurvey: () => (/* reexport safe */
|
|
44628
|
-
/* harmony export */ MatrixCellWrapperViewModel: () => (/* reexport safe */
|
|
44629
|
-
/* harmony export */ MenuButton: () => (/* reexport safe */
|
|
44630
|
-
/* harmony export */ ObjType: () => (/* reexport safe */
|
|
44631
|
-
/* harmony export */ ObjectSelector: () => (/* reexport safe */
|
|
44632
|
-
/* harmony export */ ObjectSelectorItem: () => (/* reexport safe */
|
|
44633
|
-
/* harmony export */ ObjectSelectorModel: () => (/* reexport safe */
|
|
44634
|
-
/* harmony export */ PageAdorner: () => (/* reexport safe */
|
|
44635
|
-
/* harmony export */ PageNavigatorViewModel: () => (/* reexport safe */
|
|
44636
|
-
/* harmony export */ PagesController: () => (/* reexport safe */
|
|
45045
|
+
/* harmony export */ LogoImageViewModel: () => (/* reexport safe */ _components_header_logo_image__WEBPACK_IMPORTED_MODULE_43__.LogoImageViewModel),
|
|
45046
|
+
/* harmony export */ MatrixCellWrapperEditSurvey: () => (/* reexport safe */ _components_matrix_cell__WEBPACK_IMPORTED_MODULE_40__.MatrixCellWrapperEditSurvey),
|
|
45047
|
+
/* harmony export */ MatrixCellWrapperViewModel: () => (/* reexport safe */ _components_matrix_cell__WEBPACK_IMPORTED_MODULE_40__.MatrixCellWrapperViewModel),
|
|
45048
|
+
/* harmony export */ MenuButton: () => (/* reexport safe */ _utils_actions__WEBPACK_IMPORTED_MODULE_77__.MenuButton),
|
|
45049
|
+
/* harmony export */ ObjType: () => (/* reexport safe */ _survey_helper__WEBPACK_IMPORTED_MODULE_80__.ObjType),
|
|
45050
|
+
/* harmony export */ ObjectSelector: () => (/* reexport safe */ _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_58__.ObjectSelector),
|
|
45051
|
+
/* harmony export */ ObjectSelectorItem: () => (/* reexport safe */ _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_58__.ObjectSelectorItem),
|
|
45052
|
+
/* harmony export */ ObjectSelectorModel: () => (/* reexport safe */ _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_58__.ObjectSelectorModel),
|
|
45053
|
+
/* harmony export */ PageAdorner: () => (/* reexport safe */ _components_page__WEBPACK_IMPORTED_MODULE_32__.PageAdorner),
|
|
45054
|
+
/* harmony export */ PageNavigatorViewModel: () => (/* reexport safe */ _components_page_navigator_page_navigator__WEBPACK_IMPORTED_MODULE_31__.PageNavigatorViewModel),
|
|
45055
|
+
/* harmony export */ PagesController: () => (/* reexport safe */ _pages_controller__WEBPACK_IMPORTED_MODULE_84__.PagesController),
|
|
44637
45056
|
/* harmony export */ PredefinedColors: () => (/* reexport safe */ _components_tabs_themes__WEBPACK_IMPORTED_MODULE_16__.PredefinedColors),
|
|
44638
45057
|
/* harmony export */ PredefinedThemes: () => (/* reexport safe */ _components_tabs_themes__WEBPACK_IMPORTED_MODULE_16__.PredefinedThemes),
|
|
44639
|
-
/* harmony export */ PropertyEditorSetupValue: () => (/* reexport safe */
|
|
44640
|
-
/* harmony export */ PropertyGridCellsEditor: () => (/* reexport safe */
|
|
44641
|
-
/* harmony export */ PropertyGridEditor: () => (/* reexport safe */
|
|
44642
|
-
/* harmony export */ PropertyGridEditorBackgroundCornerRadius: () => (/* reexport safe */
|
|
44643
|
-
/* harmony export */ PropertyGridEditorBindings: () => (/* reexport safe */
|
|
44644
|
-
/* harmony export */ PropertyGridEditorBoolean: () => (/* reexport safe */
|
|
44645
|
-
/* harmony export */ PropertyGridEditorCollection: () => (/* reexport safe */
|
|
44646
|
-
/* harmony export */ PropertyGridEditorColor: () => (/* reexport safe */
|
|
44647
|
-
/* harmony export */ PropertyGridEditorColorWithAlpha: () => (/* reexport safe */
|
|
44648
|
-
/* harmony export */ PropertyGridEditorCondition: () => (/* reexport safe */
|
|
44649
|
-
/* harmony export */ PropertyGridEditorDateTime: () => (/* reexport safe */
|
|
44650
|
-
/* harmony export */ PropertyGridEditorDropdown: () => (/* reexport safe */
|
|
44651
|
-
/* harmony export */ PropertyGridEditorExpression: () => (/* reexport safe */
|
|
44652
|
-
/* harmony export */ PropertyGridEditorFontSettings: () => (/* reexport safe */
|
|
44653
|
-
/* harmony export */ PropertyGridEditorHtml: () => (/* reexport safe */
|
|
44654
|
-
/* harmony export */ PropertyGridEditorImageSize: () => (/* reexport safe */
|
|
44655
|
-
/* harmony export */ PropertyGridEditorMatrix: () => (/* reexport safe */
|
|
44656
|
-
/* harmony export */ PropertyGridEditorMatrixCalculatedValues: () => (/* reexport safe */
|
|
44657
|
-
/* harmony export */ PropertyGridEditorMatrixColumns: () => (/* reexport safe */
|
|
44658
|
-
/* harmony export */ PropertyGridEditorMatrixHtmlConditions: () => (/* reexport safe */
|
|
44659
|
-
/* harmony export */ PropertyGridEditorMatrixItemValues: () => (/* reexport safe */
|
|
44660
|
-
/* harmony export */ PropertyGridEditorMatrixLayoutColumns: () => (/* reexport safe */
|
|
44661
|
-
/* harmony export */ PropertyGridEditorMatrixMultipleTypes: () => (/* reexport safe */
|
|
44662
|
-
/* harmony export */ PropertyGridEditorMatrixMutlipleTextItems: () => (/* reexport safe */
|
|
44663
|
-
/* harmony export */ PropertyGridEditorMatrixPages: () => (/* reexport safe */
|
|
44664
|
-
/* harmony export */ PropertyGridEditorMatrixRateValues: () => (/* reexport safe */
|
|
44665
|
-
/* harmony export */ PropertyGridEditorMatrixTriggers: () => (/* reexport safe */
|
|
44666
|
-
/* harmony export */ PropertyGridEditorMatrixUrlConditions: () => (/* reexport safe */
|
|
44667
|
-
/* harmony export */ PropertyGridEditorMatrixValidators: () => (/* reexport safe */
|
|
44668
|
-
/* harmony export */ PropertyGridEditorNumber: () => (/* reexport safe */
|
|
44669
|
-
/* harmony export */ PropertyGridEditorPage: () => (/* reexport safe */
|
|
44670
|
-
/* harmony export */ PropertyGridEditorQuestion: () => (/* reexport safe */
|
|
44671
|
-
/* harmony export */ PropertyGridEditorQuestionCarryForward: () => (/* reexport safe */
|
|
44672
|
-
/* harmony export */ PropertyGridEditorQuestionHeader: () => (/* reexport safe */
|
|
44673
|
-
/* harmony export */ PropertyGridEditorQuestionMaskSettings: () => (/* reexport safe */
|
|
44674
|
-
/* harmony export */ PropertyGridEditorQuestionRestfull: () => (/* reexport safe */
|
|
44675
|
-
/* harmony export */ PropertyGridEditorQuestionSelectBase: () => (/* reexport safe */
|
|
44676
|
-
/* harmony export */ PropertyGridEditorQuestionValue: () => (/* reexport safe */
|
|
44677
|
-
/* harmony export */ PropertyGridEditorSet: () => (/* reexport safe */
|
|
44678
|
-
/* harmony export */ PropertyGridEditorShadowEffects: () => (/* reexport safe */
|
|
44679
|
-
/* harmony export */ PropertyGridEditorSpinEdit: () => (/* reexport safe */
|
|
44680
|
-
/* harmony export */ PropertyGridEditorString: () => (/* reexport safe */
|
|
44681
|
-
/* harmony export */ PropertyGridEditorStringArray: () => (/* reexport safe */
|
|
44682
|
-
/* harmony export */ PropertyGridEditorStringBase: () => (/* reexport safe */
|
|
44683
|
-
/* harmony export */ PropertyGridEditorSwitchToggle: () => (/* reexport safe */
|
|
44684
|
-
/* harmony export */ PropertyGridEditorText: () => (/* reexport safe */
|
|
44685
|
-
/* harmony export */ PropertyGridEditorUndefinedBoolean: () => (/* reexport safe */
|
|
44686
|
-
/* harmony export */ PropertyGridLinkEditor: () => (/* reexport safe */
|
|
44687
|
-
/* harmony export */ PropertyGridModel: () => (/* reexport safe */
|
|
44688
|
-
/* harmony export */ PropertyGridPanelValueEditor: () => (/* reexport safe */
|
|
44689
|
-
/* harmony export */ PropertyGridRowValueEditor: () => (/* reexport safe */
|
|
44690
|
-
/* harmony export */ PropertyGridTitleActionsCreator: () => (/* reexport safe */
|
|
44691
|
-
/* harmony export */ PropertyGridTriggerValueEditor: () => (/* reexport safe */
|
|
44692
|
-
/* harmony export */ PropertyGridTriggerValueInLogicEditor: () => (/* reexport safe */
|
|
44693
|
-
/* harmony export */ PropertyGridValueEditor: () => (/* reexport safe */
|
|
44694
|
-
/* harmony export */ PropertyGridValueEditorBase: () => (/* reexport safe */
|
|
44695
|
-
/* harmony export */ PropertyGridViewModel: () => (/* reexport safe */
|
|
44696
|
-
/* harmony export */ PropertyJSONGenerator: () => (/* reexport safe */
|
|
44697
|
-
/* harmony export */ QuestionAdornerViewModel: () => (/* reexport safe */
|
|
44698
|
-
/* harmony export */ QuestionColorModel: () => (/* reexport safe */
|
|
44699
|
-
/* harmony export */ QuestionCommentWithResetModel: () => (/* reexport safe */
|
|
45058
|
+
/* harmony export */ PropertyEditorSetupValue: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyEditorSetupValue),
|
|
45059
|
+
/* harmony export */ PropertyGridCellsEditor: () => (/* reexport safe */ _property_grid_values__WEBPACK_IMPORTED_MODULE_61__.PropertyGridCellsEditor),
|
|
45060
|
+
/* harmony export */ PropertyGridEditor: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditor),
|
|
45061
|
+
/* harmony export */ PropertyGridEditorBackgroundCornerRadius: () => (/* reexport safe */ _property_grid_theme_settings__WEBPACK_IMPORTED_MODULE_60__.PropertyGridEditorBackgroundCornerRadius),
|
|
45062
|
+
/* harmony export */ PropertyGridEditorBindings: () => (/* reexport safe */ _property_grid_bindings__WEBPACK_IMPORTED_MODULE_56__.PropertyGridEditorBindings),
|
|
45063
|
+
/* harmony export */ PropertyGridEditorBoolean: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorBoolean),
|
|
45064
|
+
/* harmony export */ PropertyGridEditorCollection: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorCollection),
|
|
45065
|
+
/* harmony export */ PropertyGridEditorColor: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorColor),
|
|
45066
|
+
/* harmony export */ PropertyGridEditorColorWithAlpha: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorColorWithAlpha),
|
|
45067
|
+
/* harmony export */ PropertyGridEditorCondition: () => (/* reexport safe */ _property_grid_condition__WEBPACK_IMPORTED_MODULE_54__.PropertyGridEditorCondition),
|
|
45068
|
+
/* harmony export */ PropertyGridEditorDateTime: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorDateTime),
|
|
45069
|
+
/* harmony export */ PropertyGridEditorDropdown: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorDropdown),
|
|
45070
|
+
/* harmony export */ PropertyGridEditorExpression: () => (/* reexport safe */ _property_grid_condition__WEBPACK_IMPORTED_MODULE_54__.PropertyGridEditorExpression),
|
|
45071
|
+
/* harmony export */ PropertyGridEditorFontSettings: () => (/* reexport safe */ _property_grid_theme_settings__WEBPACK_IMPORTED_MODULE_60__.PropertyGridEditorFontSettings),
|
|
45072
|
+
/* harmony export */ PropertyGridEditorHtml: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorHtml),
|
|
45073
|
+
/* harmony export */ PropertyGridEditorImageSize: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorImageSize),
|
|
45074
|
+
/* harmony export */ PropertyGridEditorMatrix: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrix),
|
|
45075
|
+
/* harmony export */ PropertyGridEditorMatrixCalculatedValues: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixCalculatedValues),
|
|
45076
|
+
/* harmony export */ PropertyGridEditorMatrixColumns: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixColumns),
|
|
45077
|
+
/* harmony export */ PropertyGridEditorMatrixHtmlConditions: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixHtmlConditions),
|
|
45078
|
+
/* harmony export */ PropertyGridEditorMatrixItemValues: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixItemValues),
|
|
45079
|
+
/* harmony export */ PropertyGridEditorMatrixLayoutColumns: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixLayoutColumns),
|
|
45080
|
+
/* harmony export */ PropertyGridEditorMatrixMultipleTypes: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixMultipleTypes),
|
|
45081
|
+
/* harmony export */ PropertyGridEditorMatrixMutlipleTextItems: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixMutlipleTextItems),
|
|
45082
|
+
/* harmony export */ PropertyGridEditorMatrixPages: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixPages),
|
|
45083
|
+
/* harmony export */ PropertyGridEditorMatrixRateValues: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixRateValues),
|
|
45084
|
+
/* harmony export */ PropertyGridEditorMatrixTriggers: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixTriggers),
|
|
45085
|
+
/* harmony export */ PropertyGridEditorMatrixUrlConditions: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixUrlConditions),
|
|
45086
|
+
/* harmony export */ PropertyGridEditorMatrixValidators: () => (/* reexport safe */ _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__.PropertyGridEditorMatrixValidators),
|
|
45087
|
+
/* harmony export */ PropertyGridEditorNumber: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorNumber),
|
|
45088
|
+
/* harmony export */ PropertyGridEditorPage: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorPage),
|
|
45089
|
+
/* harmony export */ PropertyGridEditorQuestion: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorQuestion),
|
|
45090
|
+
/* harmony export */ PropertyGridEditorQuestionCarryForward: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorQuestionCarryForward),
|
|
45091
|
+
/* harmony export */ PropertyGridEditorQuestionHeader: () => (/* reexport safe */ _property_grid_header_settings__WEBPACK_IMPORTED_MODULE_64__.PropertyGridEditorQuestionHeader),
|
|
45092
|
+
/* harmony export */ PropertyGridEditorQuestionMaskSettings: () => (/* reexport safe */ _property_grid_maskSettings__WEBPACK_IMPORTED_MODULE_63__.PropertyGridEditorQuestionMaskSettings),
|
|
45093
|
+
/* harmony export */ PropertyGridEditorQuestionRestfull: () => (/* reexport safe */ _property_grid_restfull__WEBPACK_IMPORTED_MODULE_59__.PropertyGridEditorQuestionRestfull),
|
|
45094
|
+
/* harmony export */ PropertyGridEditorQuestionSelectBase: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorQuestionSelectBase),
|
|
45095
|
+
/* harmony export */ PropertyGridEditorQuestionValue: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorQuestionValue),
|
|
45096
|
+
/* harmony export */ PropertyGridEditorSet: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorSet),
|
|
45097
|
+
/* harmony export */ PropertyGridEditorShadowEffects: () => (/* reexport safe */ _property_grid_theme_settings__WEBPACK_IMPORTED_MODULE_60__.PropertyGridEditorShadowEffects),
|
|
45098
|
+
/* harmony export */ PropertyGridEditorSpinEdit: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorSpinEdit),
|
|
45099
|
+
/* harmony export */ PropertyGridEditorString: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorString),
|
|
45100
|
+
/* harmony export */ PropertyGridEditorStringArray: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorStringArray),
|
|
45101
|
+
/* harmony export */ PropertyGridEditorStringBase: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorStringBase),
|
|
45102
|
+
/* harmony export */ PropertyGridEditorSwitchToggle: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorSwitchToggle),
|
|
45103
|
+
/* harmony export */ PropertyGridEditorText: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorText),
|
|
45104
|
+
/* harmony export */ PropertyGridEditorUndefinedBoolean: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridEditorUndefinedBoolean),
|
|
45105
|
+
/* harmony export */ PropertyGridLinkEditor: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridLinkEditor),
|
|
45106
|
+
/* harmony export */ PropertyGridModel: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridModel),
|
|
45107
|
+
/* harmony export */ PropertyGridPanelValueEditor: () => (/* reexport safe */ _property_grid_values__WEBPACK_IMPORTED_MODULE_61__.PropertyGridPanelValueEditor),
|
|
45108
|
+
/* harmony export */ PropertyGridRowValueEditor: () => (/* reexport safe */ _property_grid_values__WEBPACK_IMPORTED_MODULE_61__.PropertyGridRowValueEditor),
|
|
45109
|
+
/* harmony export */ PropertyGridTitleActionsCreator: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyGridTitleActionsCreator),
|
|
45110
|
+
/* harmony export */ PropertyGridTriggerValueEditor: () => (/* reexport safe */ _property_grid_values__WEBPACK_IMPORTED_MODULE_61__.PropertyGridTriggerValueEditor),
|
|
45111
|
+
/* harmony export */ PropertyGridTriggerValueInLogicEditor: () => (/* reexport safe */ _property_grid_values__WEBPACK_IMPORTED_MODULE_61__.PropertyGridTriggerValueInLogicEditor),
|
|
45112
|
+
/* harmony export */ PropertyGridValueEditor: () => (/* reexport safe */ _property_grid_values__WEBPACK_IMPORTED_MODULE_61__.PropertyGridValueEditor),
|
|
45113
|
+
/* harmony export */ PropertyGridValueEditorBase: () => (/* reexport safe */ _property_grid_values__WEBPACK_IMPORTED_MODULE_61__.PropertyGridValueEditorBase),
|
|
45114
|
+
/* harmony export */ PropertyGridViewModel: () => (/* reexport safe */ _property_grid_property_grid_view_model__WEBPACK_IMPORTED_MODULE_57__.PropertyGridViewModel),
|
|
45115
|
+
/* harmony export */ PropertyJSONGenerator: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.PropertyJSONGenerator),
|
|
45116
|
+
/* harmony export */ QuestionAdornerViewModel: () => (/* reexport safe */ _components_question__WEBPACK_IMPORTED_MODULE_34__.QuestionAdornerViewModel),
|
|
45117
|
+
/* harmony export */ QuestionColorModel: () => (/* reexport safe */ _custom_questions_question_color__WEBPACK_IMPORTED_MODULE_50__.QuestionColorModel),
|
|
45118
|
+
/* harmony export */ QuestionCommentWithResetModel: () => (/* reexport safe */ _custom_questions_question_text_with_reset__WEBPACK_IMPORTED_MODULE_52__.QuestionCommentWithResetModel),
|
|
44700
45119
|
/* harmony export */ QuestionConvertMode: () => (/* reexport safe */ _creator_settings__WEBPACK_IMPORTED_MODULE_2__.QuestionConvertMode),
|
|
44701
|
-
/* harmony export */ QuestionConverter: () => (/* reexport safe */
|
|
44702
|
-
/* harmony export */ QuestionDropdownAdornerViewModel: () => (/* reexport safe */
|
|
44703
|
-
/* harmony export */ QuestionEmbeddedSurveyModel: () => (/* reexport safe */
|
|
44704
|
-
/* harmony export */ QuestionFileEditorModel: () => (/* reexport safe */
|
|
44705
|
-
/* harmony export */ QuestionImageAdornerViewModel: () => (/* reexport safe */
|
|
44706
|
-
/* harmony export */ QuestionLinkValueModel: () => (/* reexport safe */
|
|
44707
|
-
/* harmony export */ QuestionRatingAdornerViewModel: () => (/* reexport safe */
|
|
44708
|
-
/* harmony export */ QuestionSpinEditorModel: () => (/* reexport safe */
|
|
44709
|
-
/* harmony export */ QuestionTextWithResetModel: () => (/* reexport safe */
|
|
44710
|
-
/* harmony export */ QuestionToolbox: () => (/* reexport safe */
|
|
44711
|
-
/* harmony export */ QuestionToolboxCategory: () => (/* reexport safe */
|
|
44712
|
-
/* harmony export */ QuestionToolboxItem: () => (/* reexport safe */
|
|
44713
|
-
/* harmony export */ RGBToHSB: () => (/* reexport safe */
|
|
44714
|
-
/* harmony export */ ResetValueAdorner: () => (/* reexport safe */
|
|
44715
|
-
/* harmony export */ ResizeManager: () => (/* reexport safe */
|
|
44716
|
-
/* harmony export */ RowViewModel: () => (/* reexport safe */
|
|
44717
|
-
/* harmony export */ SearchManager: () => (/* reexport safe */
|
|
44718
|
-
/* harmony export */ SearchManagerPropertyGrid: () => (/* reexport safe */
|
|
44719
|
-
/* harmony export */ SearchManagerToolbox: () => (/* reexport safe */
|
|
44720
|
-
/* harmony export */ SidebarHeaderModel: () => (/* reexport safe */
|
|
44721
|
-
/* harmony export */ SidebarModel: () => (/* reexport safe */
|
|
44722
|
-
/* harmony export */ SidebarPageModel: () => (/* reexport safe */
|
|
44723
|
-
/* harmony export */ StringEditorConnector: () => (/* reexport safe */
|
|
44724
|
-
/* harmony export */ StringEditorViewModelBase: () => (/* reexport safe */
|
|
44725
|
-
/* harmony export */ StringItemsNavigatorBase: () => (/* reexport safe */
|
|
45120
|
+
/* harmony export */ QuestionConverter: () => (/* reexport safe */ _questionconverter__WEBPACK_IMPORTED_MODULE_66__.QuestionConverter),
|
|
45121
|
+
/* harmony export */ QuestionDropdownAdornerViewModel: () => (/* reexport safe */ _components_question_dropdown__WEBPACK_IMPORTED_MODULE_35__.QuestionDropdownAdornerViewModel),
|
|
45122
|
+
/* harmony export */ QuestionEmbeddedSurveyModel: () => (/* reexport safe */ _components_embedded_survey__WEBPACK_IMPORTED_MODULE_45__.QuestionEmbeddedSurveyModel),
|
|
45123
|
+
/* harmony export */ QuestionFileEditorModel: () => (/* reexport safe */ _custom_questions_question_file__WEBPACK_IMPORTED_MODULE_51__.QuestionFileEditorModel),
|
|
45124
|
+
/* harmony export */ QuestionImageAdornerViewModel: () => (/* reexport safe */ _components_question_image__WEBPACK_IMPORTED_MODULE_36__.QuestionImageAdornerViewModel),
|
|
45125
|
+
/* harmony export */ QuestionLinkValueModel: () => (/* reexport safe */ _components_link_value__WEBPACK_IMPORTED_MODULE_46__.QuestionLinkValueModel),
|
|
45126
|
+
/* harmony export */ QuestionRatingAdornerViewModel: () => (/* reexport safe */ _components_question_rating__WEBPACK_IMPORTED_MODULE_37__.QuestionRatingAdornerViewModel),
|
|
45127
|
+
/* harmony export */ QuestionSpinEditorModel: () => (/* reexport safe */ _custom_questions_question_spin_editor__WEBPACK_IMPORTED_MODULE_49__.QuestionSpinEditorModel),
|
|
45128
|
+
/* harmony export */ QuestionTextWithResetModel: () => (/* reexport safe */ _custom_questions_question_text_with_reset__WEBPACK_IMPORTED_MODULE_52__.QuestionTextWithResetModel),
|
|
45129
|
+
/* harmony export */ QuestionToolbox: () => (/* reexport safe */ _toolbox__WEBPACK_IMPORTED_MODULE_69__.QuestionToolbox),
|
|
45130
|
+
/* harmony export */ QuestionToolboxCategory: () => (/* reexport safe */ _toolbox__WEBPACK_IMPORTED_MODULE_69__.QuestionToolboxCategory),
|
|
45131
|
+
/* harmony export */ QuestionToolboxItem: () => (/* reexport safe */ _toolbox__WEBPACK_IMPORTED_MODULE_69__.QuestionToolboxItem),
|
|
45132
|
+
/* harmony export */ RGBToHSB: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.RGBToHSB),
|
|
45133
|
+
/* harmony export */ ResetValueAdorner: () => (/* reexport safe */ _custom_questions_question_text_with_reset__WEBPACK_IMPORTED_MODULE_52__.ResetValueAdorner),
|
|
45134
|
+
/* harmony export */ ResizeManager: () => (/* reexport safe */ _utils_resizer__WEBPACK_IMPORTED_MODULE_81__.ResizeManager),
|
|
45135
|
+
/* harmony export */ RowViewModel: () => (/* reexport safe */ _components_row__WEBPACK_IMPORTED_MODULE_33__.RowViewModel),
|
|
45136
|
+
/* harmony export */ SearchManager: () => (/* reexport safe */ _components_search_manager__WEBPACK_IMPORTED_MODULE_47__.SearchManager),
|
|
45137
|
+
/* harmony export */ SearchManagerPropertyGrid: () => (/* reexport safe */ _property_grid_search_manager__WEBPACK_IMPORTED_MODULE_62__.SearchManagerPropertyGrid),
|
|
45138
|
+
/* harmony export */ SearchManagerToolbox: () => (/* reexport safe */ _components_toolbox_toolbox_search_manager__WEBPACK_IMPORTED_MODULE_30__.SearchManagerToolbox),
|
|
45139
|
+
/* harmony export */ SidebarHeaderModel: () => (/* reexport safe */ _components_side_bar_side_bar_header_model__WEBPACK_IMPORTED_MODULE_71__.SidebarHeaderModel),
|
|
45140
|
+
/* harmony export */ SidebarModel: () => (/* reexport safe */ _components_side_bar_side_bar_model__WEBPACK_IMPORTED_MODULE_70__.SidebarModel),
|
|
45141
|
+
/* harmony export */ SidebarPageModel: () => (/* reexport safe */ _components_side_bar_side_bar_page_model__WEBPACK_IMPORTED_MODULE_72__.SidebarPageModel),
|
|
45142
|
+
/* harmony export */ StringEditorConnector: () => (/* reexport safe */ _components_string_editor__WEBPACK_IMPORTED_MODULE_44__.StringEditorConnector),
|
|
45143
|
+
/* harmony export */ StringEditorViewModelBase: () => (/* reexport safe */ _components_string_editor__WEBPACK_IMPORTED_MODULE_44__.StringEditorViewModelBase),
|
|
45144
|
+
/* harmony export */ StringItemsNavigatorBase: () => (/* reexport safe */ _components_string_editor__WEBPACK_IMPORTED_MODULE_44__.StringItemsNavigatorBase),
|
|
44726
45145
|
/* harmony export */ StylesManager: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.StylesManager),
|
|
44727
45146
|
/* harmony export */ SurveyCreatorModel: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.SurveyCreatorModel),
|
|
44728
|
-
/* harmony export */ SurveyHelper: () => (/* reexport safe */
|
|
44729
|
-
/* harmony export */ SurveyJSON5: () => (/* reexport safe */
|
|
45147
|
+
/* harmony export */ SurveyHelper: () => (/* reexport safe */ _survey_helper__WEBPACK_IMPORTED_MODULE_80__.SurveyHelper),
|
|
45148
|
+
/* harmony export */ SurveyJSON5: () => (/* reexport safe */ _json5__WEBPACK_IMPORTED_MODULE_48__.SurveyJSON5),
|
|
44730
45149
|
/* harmony export */ SurveyLogic: () => (/* reexport safe */ _components_tabs_logic__WEBPACK_IMPORTED_MODULE_20__.SurveyLogic),
|
|
44731
45150
|
/* harmony export */ SurveyLogicUI: () => (/* reexport safe */ _components_tabs_logic_ui__WEBPACK_IMPORTED_MODULE_26__.SurveyLogicUI),
|
|
44732
|
-
/* harmony export */ SurveyQuestionEditorDefinition: () => (/* reexport safe */
|
|
44733
|
-
/* harmony export */ SurveyQuestionEditorPropertyDefinition: () => (/* reexport safe */
|
|
44734
|
-
/* harmony export */ SurveyQuestionEditorTabDefinition: () => (/* reexport safe */
|
|
44735
|
-
/* harmony export */ SurveyQuestionProperties: () => (/* reexport safe */
|
|
44736
|
-
/* harmony export */ SurveyResultsItemModel: () => (/* reexport safe */
|
|
44737
|
-
/* harmony export */ SurveyResultsModel: () => (/* reexport safe */
|
|
44738
|
-
/* harmony export */ SurveySimulatorModel: () => (/* reexport safe */
|
|
44739
|
-
/* harmony export */ SurveyTextWorker: () => (/* reexport safe */
|
|
44740
|
-
/* harmony export */ SurveyTextWorkerError: () => (/* reexport safe */
|
|
44741
|
-
/* harmony export */ SurveyTextWorkerJsonError: () => (/* reexport safe */
|
|
44742
|
-
/* harmony export */ SurveyTextWorkerParserError: () => (/* reexport safe */
|
|
44743
|
-
/* harmony export */ Switcher: () => (/* reexport safe */
|
|
44744
|
-
/* harmony export */ TabControlModel: () => (/* reexport safe */
|
|
45151
|
+
/* harmony export */ SurveyQuestionEditorDefinition: () => (/* reexport safe */ _question_editor_definition__WEBPACK_IMPORTED_MODULE_78__.SurveyQuestionEditorDefinition),
|
|
45152
|
+
/* harmony export */ SurveyQuestionEditorPropertyDefinition: () => (/* reexport safe */ _question_editor_properties__WEBPACK_IMPORTED_MODULE_79__.SurveyQuestionEditorPropertyDefinition),
|
|
45153
|
+
/* harmony export */ SurveyQuestionEditorTabDefinition: () => (/* reexport safe */ _question_editor_properties__WEBPACK_IMPORTED_MODULE_79__.SurveyQuestionEditorTabDefinition),
|
|
45154
|
+
/* harmony export */ SurveyQuestionProperties: () => (/* reexport safe */ _question_editor_properties__WEBPACK_IMPORTED_MODULE_79__.SurveyQuestionProperties),
|
|
45155
|
+
/* harmony export */ SurveyResultsItemModel: () => (/* reexport safe */ _components_results__WEBPACK_IMPORTED_MODULE_42__.SurveyResultsItemModel),
|
|
45156
|
+
/* harmony export */ SurveyResultsModel: () => (/* reexport safe */ _components_results__WEBPACK_IMPORTED_MODULE_42__.SurveyResultsModel),
|
|
45157
|
+
/* harmony export */ SurveySimulatorModel: () => (/* reexport safe */ _components_simulator__WEBPACK_IMPORTED_MODULE_41__.SurveySimulatorModel),
|
|
45158
|
+
/* harmony export */ SurveyTextWorker: () => (/* reexport safe */ _textWorker__WEBPACK_IMPORTED_MODULE_68__.SurveyTextWorker),
|
|
45159
|
+
/* harmony export */ SurveyTextWorkerError: () => (/* reexport safe */ _textWorker__WEBPACK_IMPORTED_MODULE_68__.SurveyTextWorkerError),
|
|
45160
|
+
/* harmony export */ SurveyTextWorkerJsonError: () => (/* reexport safe */ _textWorker__WEBPACK_IMPORTED_MODULE_68__.SurveyTextWorkerJsonError),
|
|
45161
|
+
/* harmony export */ SurveyTextWorkerParserError: () => (/* reexport safe */ _textWorker__WEBPACK_IMPORTED_MODULE_68__.SurveyTextWorkerParserError),
|
|
45162
|
+
/* harmony export */ Switcher: () => (/* reexport safe */ _components_switcher_switcher__WEBPACK_IMPORTED_MODULE_74__.Switcher),
|
|
45163
|
+
/* harmony export */ TabControlModel: () => (/* reexport safe */ _components_side_bar_tab_control_model__WEBPACK_IMPORTED_MODULE_73__.TabControlModel),
|
|
44745
45164
|
/* harmony export */ TabDesignerPlugin: () => (/* reexport safe */ _components_tabs_designer_plugin__WEBPACK_IMPORTED_MODULE_25__.TabDesignerPlugin),
|
|
44746
45165
|
/* harmony export */ TabDesignerViewModel: () => (/* reexport safe */ _components_tabs_designer__WEBPACK_IMPORTED_MODULE_24__.TabDesignerViewModel),
|
|
44747
45166
|
/* harmony export */ TabJsonEditorAcePlugin: () => (/* reexport safe */ _components_tabs_json_editor_ace__WEBPACK_IMPORTED_MODULE_7__.TabJsonEditorAcePlugin),
|
|
@@ -44760,7 +45179,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44760
45179
|
/* harmony export */ Themes: () => (/* reexport safe */ _components_tabs_themes__WEBPACK_IMPORTED_MODULE_16__.Themes),
|
|
44761
45180
|
/* harmony export */ ToolbarActionContainer: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.ToolbarActionContainer),
|
|
44762
45181
|
/* harmony export */ ToolboxToolViewModel: () => (/* reexport safe */ _components_toolbox_toolbox_tool__WEBPACK_IMPORTED_MODULE_29__.ToolboxToolViewModel),
|
|
44763
|
-
/* harmony export */ Transaction: () => (/* reexport safe */
|
|
45182
|
+
/* harmony export */ Transaction: () => (/* reexport safe */ _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_83__.Transaction),
|
|
44764
45183
|
/* harmony export */ Translation: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_21__.Translation),
|
|
44765
45184
|
/* harmony export */ TranslationEditor: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_21__.TranslationEditor),
|
|
44766
45185
|
/* harmony export */ TranslationForEditor: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_21__.TranslationForEditor),
|
|
@@ -44768,92 +45187,92 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44768
45187
|
/* harmony export */ TranslationItem: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_21__.TranslationItem),
|
|
44769
45188
|
/* harmony export */ TranslationItemBase: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_21__.TranslationItemBase),
|
|
44770
45189
|
/* harmony export */ TranslationItemString: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_21__.TranslationItemString),
|
|
44771
|
-
/* harmony export */ UndoRedoAction: () => (/* reexport safe */
|
|
44772
|
-
/* harmony export */ UndoRedoArrayAction: () => (/* reexport safe */
|
|
44773
|
-
/* harmony export */ UndoRedoManager: () => (/* reexport safe */
|
|
44774
|
-
/* harmony export */ UndoRedoPlugin: () => (/* reexport safe */
|
|
45190
|
+
/* harmony export */ UndoRedoAction: () => (/* reexport safe */ _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_83__.UndoRedoAction),
|
|
45191
|
+
/* harmony export */ UndoRedoArrayAction: () => (/* reexport safe */ _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_83__.UndoRedoArrayAction),
|
|
45192
|
+
/* harmony export */ UndoRedoManager: () => (/* reexport safe */ _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_83__.UndoRedoManager),
|
|
45193
|
+
/* harmony export */ UndoRedoPlugin: () => (/* reexport safe */ _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_82__.UndoRedoPlugin),
|
|
44775
45194
|
/* harmony export */ Version: () => (/* binding */ Version),
|
|
44776
|
-
/* harmony export */ assign: () => (/* reexport safe */
|
|
44777
|
-
/* harmony export */ assignDefaultV2Classes: () => (/* reexport safe */
|
|
45195
|
+
/* harmony export */ assign: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.assign),
|
|
45196
|
+
/* harmony export */ assignDefaultV2Classes: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.assignDefaultV2Classes),
|
|
44778
45197
|
/* harmony export */ backgroundCornerRadiusFromCssVariable: () => (/* reexport safe */ _components_tabs_theme_custom_questions_background_corner_radius__WEBPACK_IMPORTED_MODULE_15__.backgroundCornerRadiusFromCssVariable),
|
|
44779
45198
|
/* harmony export */ backgroundCornerRadiusToCssVariable: () => (/* reexport safe */ _components_tabs_theme_custom_questions_background_corner_radius__WEBPACK_IMPORTED_MODULE_15__.backgroundCornerRadiusToCssVariable),
|
|
44780
|
-
/* harmony export */ calculateDragOverLocation: () => (/* reexport safe */
|
|
44781
|
-
/* harmony export */ calculateIsEdge: () => (/* reexport safe */
|
|
44782
|
-
/* harmony export */ calculateIsSide: () => (/* reexport safe */
|
|
44783
|
-
/* harmony export */ capitalize: () => (/* reexport safe */
|
|
44784
|
-
/* harmony export */ clearNewLines: () => (/* reexport safe */
|
|
44785
|
-
/* harmony export */ convertRgbaToString: () => (/* reexport safe */
|
|
44786
|
-
/* harmony export */ copyCssClasses: () => (/* reexport safe */
|
|
44787
|
-
/* harmony export */ copyObject: () => (/* reexport safe */
|
|
45199
|
+
/* harmony export */ calculateDragOverLocation: () => (/* reexport safe */ _survey_elements__WEBPACK_IMPORTED_MODULE_92__.calculateDragOverLocation),
|
|
45200
|
+
/* harmony export */ calculateIsEdge: () => (/* reexport safe */ _survey_elements__WEBPACK_IMPORTED_MODULE_92__.calculateIsEdge),
|
|
45201
|
+
/* harmony export */ calculateIsSide: () => (/* reexport safe */ _survey_elements__WEBPACK_IMPORTED_MODULE_92__.calculateIsSide),
|
|
45202
|
+
/* harmony export */ capitalize: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.capitalize),
|
|
45203
|
+
/* harmony export */ clearNewLines: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.clearNewLines),
|
|
45204
|
+
/* harmony export */ convertRgbaToString: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.convertRgbaToString),
|
|
45205
|
+
/* harmony export */ copyCssClasses: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.copyCssClasses),
|
|
45206
|
+
/* harmony export */ copyObject: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.copyObject),
|
|
44788
45207
|
/* harmony export */ createBoxShadow: () => (/* reexport safe */ _components_tabs_theme_custom_questions_shadow_effects__WEBPACK_IMPORTED_MODULE_13__.createBoxShadow),
|
|
44789
45208
|
/* harmony export */ createBoxShadowReset: () => (/* reexport safe */ _components_tabs_theme_custom_questions_shadow_effects__WEBPACK_IMPORTED_MODULE_13__.createBoxShadowReset),
|
|
44790
45209
|
/* harmony export */ createColor: () => (/* reexport safe */ _components_tabs_theme_custom_questions_color_alpha__WEBPACK_IMPORTED_MODULE_12__.createColor),
|
|
44791
45210
|
/* harmony export */ createExportCSVAction: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_21__.createExportCSVAction),
|
|
44792
45211
|
/* harmony export */ createImportCSVAction: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_21__.createImportCSVAction),
|
|
44793
|
-
/* harmony export */ creatorThemeModelEditorDefinition: () => (/* reexport safe */
|
|
44794
|
-
/* harmony export */ creatorThemeModelPropertyGridDefinition: () => (/* reexport safe */
|
|
44795
|
-
/* harmony export */ defaultPropertyGridDefinition: () => (/* reexport safe */
|
|
45212
|
+
/* harmony export */ creatorThemeModelEditorDefinition: () => (/* reexport safe */ _creator_theme_creator_theme_model_definition__WEBPACK_IMPORTED_MODULE_85__.creatorThemeModelEditorDefinition),
|
|
45213
|
+
/* harmony export */ creatorThemeModelPropertyGridDefinition: () => (/* reexport safe */ _creator_theme_creator_theme_model_definition__WEBPACK_IMPORTED_MODULE_85__.creatorThemeModelPropertyGridDefinition),
|
|
45214
|
+
/* harmony export */ defaultPropertyGridDefinition: () => (/* reexport safe */ _question_editor_definition__WEBPACK_IMPORTED_MODULE_78__.defaultPropertyGridDefinition),
|
|
44796
45215
|
/* harmony export */ defaultStrings: () => (/* reexport safe */ _editorLocalization__WEBPACK_IMPORTED_MODULE_1__.defaultStrings),
|
|
44797
45216
|
/* harmony export */ editableStringRendererName: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.editableStringRendererName),
|
|
44798
45217
|
/* harmony export */ editorLocalization: () => (/* reexport safe */ _editorLocalization__WEBPACK_IMPORTED_MODULE_1__.editorLocalization),
|
|
44799
45218
|
/* harmony export */ enStrings: () => (/* reexport safe */ _localization_english__WEBPACK_IMPORTED_MODULE_0__.enStrings),
|
|
44800
|
-
/* harmony export */ findParentNode: () => (/* reexport safe */
|
|
44801
|
-
/* harmony export */ focusFirstControl: () => (/* reexport safe */
|
|
45219
|
+
/* harmony export */ findParentNode: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.findParentNode),
|
|
45220
|
+
/* harmony export */ focusFirstControl: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.focusFirstControl),
|
|
44802
45221
|
/* harmony export */ fontsettingsFromCssVariable: () => (/* reexport safe */ _components_tabs_theme_custom_questions_font_settings__WEBPACK_IMPORTED_MODULE_14__.fontsettingsFromCssVariable),
|
|
44803
45222
|
/* harmony export */ fontsettingsToCssVariable: () => (/* reexport safe */ _components_tabs_theme_custom_questions_font_settings__WEBPACK_IMPORTED_MODULE_14__.fontsettingsToCssVariable),
|
|
44804
|
-
/* harmony export */ getAcceptedTypesByContentMode: () => (/* reexport safe */
|
|
45223
|
+
/* harmony export */ getAcceptedTypesByContentMode: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.getAcceptedTypesByContentMode),
|
|
44805
45224
|
/* harmony export */ getElementWrapperComponentData: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.getElementWrapperComponentData),
|
|
44806
45225
|
/* harmony export */ getElementWrapperComponentName: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.getElementWrapperComponentName),
|
|
44807
|
-
/* harmony export */ getFirstNonTextElement: () => (/* reexport safe */
|
|
45226
|
+
/* harmony export */ getFirstNonTextElement: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.getFirstNonTextElement),
|
|
44808
45227
|
/* harmony export */ getItemValueWrapperComponentData: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.getItemValueWrapperComponentData),
|
|
44809
45228
|
/* harmony export */ getItemValueWrapperComponentName: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.getItemValueWrapperComponentName),
|
|
44810
45229
|
/* harmony export */ getLocString: () => (/* reexport safe */ _editorLocalization__WEBPACK_IMPORTED_MODULE_1__.getLocString),
|
|
44811
|
-
/* harmony export */ getNextItemText: () => (/* reexport safe */
|
|
44812
|
-
/* harmony export */ getNextItemValue: () => (/* reexport safe */
|
|
44813
|
-
/* harmony export */ getNextValue: () => (/* reexport safe */
|
|
44814
|
-
/* harmony export */ getNodesFromKoComponentInfo: () => (/* reexport safe */
|
|
45230
|
+
/* harmony export */ getNextItemText: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.getNextItemText),
|
|
45231
|
+
/* harmony export */ getNextItemValue: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.getNextItemValue),
|
|
45232
|
+
/* harmony export */ getNextValue: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.getNextValue),
|
|
45233
|
+
/* harmony export */ getNodesFromKoComponentInfo: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.getNodesFromKoComponentInfo),
|
|
44815
45234
|
/* harmony export */ getPredefinedColorsItemValues: () => (/* reexport safe */ _components_tabs_themes__WEBPACK_IMPORTED_MODULE_16__.getPredefinedColorsItemValues),
|
|
44816
45235
|
/* harmony export */ getQuestionContentWrapperComponentName: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.getQuestionContentWrapperComponentName),
|
|
44817
|
-
/* harmony export */ getQuestionFromObj: () => (/* reexport safe */
|
|
44818
|
-
/* harmony export */ ignoreUndoRedo: () => (/* reexport safe */
|
|
44819
|
-
/* harmony export */ imageMimeTypes: () => (/* reexport safe */
|
|
44820
|
-
/* harmony export */ ingectAlpha: () => (/* reexport safe */
|
|
45236
|
+
/* harmony export */ getQuestionFromObj: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.getQuestionFromObj),
|
|
45237
|
+
/* harmony export */ ignoreUndoRedo: () => (/* reexport safe */ _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_82__.ignoreUndoRedo),
|
|
45238
|
+
/* harmony export */ imageMimeTypes: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.imageMimeTypes),
|
|
45239
|
+
/* harmony export */ ingectAlpha: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.ingectAlpha),
|
|
44821
45240
|
/* harmony export */ initLogicOperator: () => (/* reexport safe */ _components_tabs_logic__WEBPACK_IMPORTED_MODULE_20__.initLogicOperator),
|
|
44822
45241
|
/* harmony export */ initialSettingsAllowShowEmptyTitleInDesignMode: () => (/* reexport safe */ _components_tabs_designer__WEBPACK_IMPORTED_MODULE_24__.initialSettingsAllowShowEmptyTitleInDesignMode),
|
|
44823
45242
|
/* harmony export */ initializeDesignTimeSurveyModel: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.initializeDesignTimeSurveyModel),
|
|
44824
|
-
/* harmony export */ isPanelDynamic: () => (/* reexport safe */
|
|
44825
|
-
/* harmony export */ isPropertyVisible: () => (/* reexport safe */
|
|
45243
|
+
/* harmony export */ isPanelDynamic: () => (/* reexport safe */ _survey_elements__WEBPACK_IMPORTED_MODULE_92__.isPanelDynamic),
|
|
45244
|
+
/* harmony export */ isPropertyVisible: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.isPropertyVisible),
|
|
44826
45245
|
/* harmony export */ isStringEditable: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.isStringEditable),
|
|
44827
45246
|
/* harmony export */ isTextInput: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.isTextInput),
|
|
44828
45247
|
/* harmony export */ localization: () => (/* reexport safe */ _editorLocalization__WEBPACK_IMPORTED_MODULE_1__.editorLocalization),
|
|
44829
45248
|
/* harmony export */ logicCss: () => (/* reexport safe */ _components_tabs_logic_theme__WEBPACK_IMPORTED_MODULE_28__.logicCss),
|
|
44830
|
-
/* harmony export */ notShortCircuitAnd: () => (/* reexport safe */
|
|
45249
|
+
/* harmony export */ notShortCircuitAnd: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.notShortCircuitAnd),
|
|
44831
45250
|
/* harmony export */ parseBoxShadow: () => (/* reexport safe */ _components_tabs_theme_custom_questions_shadow_effects__WEBPACK_IMPORTED_MODULE_13__.parseBoxShadow),
|
|
44832
|
-
/* harmony export */ parseColor: () => (/* reexport safe */
|
|
44833
|
-
/* harmony export */ parseRgbaFromString: () => (/* reexport safe */
|
|
44834
|
-
/* harmony export */ propertyExists: () => (/* reexport safe */
|
|
44835
|
-
/* harmony export */ propertyGridCss: () => (/* reexport safe */
|
|
45251
|
+
/* harmony export */ parseColor: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.parseColor),
|
|
45252
|
+
/* harmony export */ parseRgbaFromString: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.parseRgbaFromString),
|
|
45253
|
+
/* harmony export */ propertyExists: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.propertyExists),
|
|
45254
|
+
/* harmony export */ propertyGridCss: () => (/* reexport safe */ _property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_65__.propertyGridCss),
|
|
44836
45255
|
/* harmony export */ registerAdorner: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.registerAdorner),
|
|
44837
45256
|
/* harmony export */ removeAdorners: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.removeAdorners),
|
|
44838
|
-
/* harmony export */ roundTo2Decimals: () => (/* reexport safe */
|
|
44839
|
-
/* harmony export */ saveToFileHandler: () => (/* reexport safe */
|
|
44840
|
-
/* harmony export */ scrollElementIntoView: () => (/* reexport safe */
|
|
44841
|
-
/* harmony export */ select: () => (/* reexport safe */
|
|
44842
|
-
/* harmony export */ setSurveyJSONForPropertyGrid: () => (/* reexport safe */
|
|
45257
|
+
/* harmony export */ roundTo2Decimals: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.roundTo2Decimals),
|
|
45258
|
+
/* harmony export */ saveToFileHandler: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.saveToFileHandler),
|
|
45259
|
+
/* harmony export */ scrollElementIntoView: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.scrollElementIntoView),
|
|
45260
|
+
/* harmony export */ select: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.select),
|
|
45261
|
+
/* harmony export */ setSurveyJSONForPropertyGrid: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_53__.setSurveyJSONForPropertyGrid),
|
|
44843
45262
|
/* harmony export */ settings: () => (/* reexport safe */ _creator_settings__WEBPACK_IMPORTED_MODULE_2__.settings),
|
|
44844
|
-
/* harmony export */ simulatorDevices: () => (/* reexport safe */
|
|
44845
|
-
/* harmony export */ svgBundle: () => (/* reexport safe */
|
|
45263
|
+
/* harmony export */ simulatorDevices: () => (/* reexport safe */ _components_simulator__WEBPACK_IMPORTED_MODULE_41__.simulatorDevices),
|
|
45264
|
+
/* harmony export */ svgBundle: () => (/* reexport safe */ _svgbundle__WEBPACK_IMPORTED_MODULE_67__.svgBundle),
|
|
44846
45265
|
/* harmony export */ themeModelPropertyGridDefinition: () => (/* reexport safe */ _components_tabs_theme_model_definition__WEBPACK_IMPORTED_MODULE_19__.themeModelPropertyGridDefinition),
|
|
44847
|
-
/* harmony export */ toggleHovered: () => (/* reexport safe */
|
|
45266
|
+
/* harmony export */ toggleHovered: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.toggleHovered),
|
|
44848
45267
|
/* harmony export */ translationCss: () => (/* reexport safe */ _components_tabs_translation_theme__WEBPACK_IMPORTED_MODULE_22__.translationCss),
|
|
44849
45268
|
/* harmony export */ trimBoxShadowValue: () => (/* reexport safe */ _components_tabs_theme_custom_questions_shadow_effects__WEBPACK_IMPORTED_MODULE_13__.trimBoxShadowValue),
|
|
44850
|
-
/* harmony export */ trimEmptyFields: () => (/* reexport safe */
|
|
44851
|
-
/* harmony export */ undoRedoTransaction: () => (/* reexport safe */
|
|
45269
|
+
/* harmony export */ trimEmptyFields: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.trimEmptyFields),
|
|
45270
|
+
/* harmony export */ undoRedoTransaction: () => (/* reexport safe */ _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_82__.undoRedoTransaction),
|
|
44852
45271
|
/* harmony export */ updateBackgroundCornerRadiusJSON: () => (/* reexport safe */ _components_tabs_theme_custom_questions_background_corner_radius__WEBPACK_IMPORTED_MODULE_15__.updateBackgroundCornerRadiusJSON),
|
|
44853
45272
|
/* harmony export */ updateFontSettingsJSON: () => (/* reexport safe */ _components_tabs_theme_custom_questions_font_settings__WEBPACK_IMPORTED_MODULE_14__.updateFontSettingsJSON),
|
|
44854
45273
|
/* harmony export */ updateShadowEffectsJSON: () => (/* reexport safe */ _components_tabs_theme_custom_questions_shadow_effects__WEBPACK_IMPORTED_MODULE_13__.updateShadowEffectsJSON),
|
|
44855
45274
|
/* harmony export */ updatecoloralphaJSON: () => (/* reexport safe */ _components_tabs_theme_custom_questions_color_alpha__WEBPACK_IMPORTED_MODULE_12__.updatecoloralphaJSON),
|
|
44856
|
-
/* harmony export */ wrapTextByCurlyBraces: () => (/* reexport safe */
|
|
45275
|
+
/* harmony export */ wrapTextByCurlyBraces: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_76__.wrapTextByCurlyBraces)
|
|
44857
45276
|
/* harmony export */ });
|
|
44858
45277
|
/* harmony import */ var _localization_english__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../localization/english */ "./src/localization/english.ts");
|
|
44859
45278
|
/* harmony import */ var _editorLocalization__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../editorLocalization */ "./src/editorLocalization.ts");
|
|
@@ -44885,71 +45304,73 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44885
45304
|
/* harmony import */ var _components_tabs_logic_plugin__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../components/tabs/logic-plugin */ "./src/components/tabs/logic-plugin.ts");
|
|
44886
45305
|
/* harmony import */ var _components_tabs_logic_theme__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../components/tabs/logic-theme */ "./src/components/tabs/logic-theme.ts");
|
|
44887
45306
|
/* harmony import */ var _components_toolbox_toolbox_tool__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../components/toolbox/toolbox-tool */ "./src/components/toolbox/toolbox-tool.ts");
|
|
44888
|
-
/* harmony import */ var
|
|
44889
|
-
/* harmony import */ var
|
|
44890
|
-
/* harmony import */ var
|
|
44891
|
-
/* harmony import */ var
|
|
44892
|
-
/* harmony import */ var
|
|
44893
|
-
/* harmony import */ var
|
|
44894
|
-
/* harmony import */ var
|
|
44895
|
-
/* harmony import */ var
|
|
44896
|
-
/* harmony import */ var
|
|
44897
|
-
/* harmony import */ var
|
|
44898
|
-
/* harmony import */ var
|
|
44899
|
-
/* harmony import */ var
|
|
44900
|
-
/* harmony import */ var
|
|
44901
|
-
/* harmony import */ var
|
|
44902
|
-
/* harmony import */ var
|
|
44903
|
-
/* harmony import */ var
|
|
44904
|
-
/* harmony import */ var
|
|
44905
|
-
/* harmony import */ var
|
|
44906
|
-
/* harmony import */ var
|
|
44907
|
-
/* harmony import */ var
|
|
44908
|
-
/* harmony import */ var
|
|
44909
|
-
/* harmony import */ var
|
|
44910
|
-
/* harmony import */ var
|
|
44911
|
-
/* harmony import */ var
|
|
44912
|
-
/* harmony import */ var
|
|
44913
|
-
/* harmony import */ var
|
|
44914
|
-
/* harmony import */ var
|
|
44915
|
-
/* harmony import */ var
|
|
44916
|
-
/* harmony import */ var
|
|
44917
|
-
/* harmony import */ var
|
|
44918
|
-
/* harmony import */ var
|
|
44919
|
-
/* harmony import */ var
|
|
44920
|
-
/* harmony import */ var
|
|
44921
|
-
/* harmony import */ var
|
|
44922
|
-
/* harmony import */ var
|
|
44923
|
-
/* harmony import */ var
|
|
44924
|
-
/* harmony import */ var
|
|
44925
|
-
/* harmony import */ var
|
|
44926
|
-
/* harmony import */ var
|
|
44927
|
-
/* harmony import */ var
|
|
44928
|
-
/* harmony import */ var
|
|
44929
|
-
/* harmony import */ var
|
|
44930
|
-
/* harmony import */ var
|
|
44931
|
-
/* harmony import */ var
|
|
44932
|
-
/* harmony import */ var
|
|
44933
|
-
/* harmony import */ var
|
|
44934
|
-
/* harmony import */ var
|
|
44935
|
-
/* harmony import */ var
|
|
44936
|
-
/* harmony import */ var
|
|
44937
|
-
/* harmony import */ var
|
|
44938
|
-
/* harmony import */ var
|
|
44939
|
-
/* harmony import */ var
|
|
44940
|
-
/* harmony import */ var
|
|
44941
|
-
/* harmony import */ var
|
|
44942
|
-
/* harmony import */ var
|
|
44943
|
-
/* harmony import */ var
|
|
44944
|
-
/* harmony import */ var
|
|
44945
|
-
/* harmony import */ var
|
|
44946
|
-
/* harmony import */ var
|
|
44947
|
-
/* harmony import */ var
|
|
44948
|
-
/* harmony import */ var
|
|
44949
|
-
/* harmony import */ var
|
|
44950
|
-
/* harmony import */ var
|
|
45307
|
+
/* harmony import */ var _components_toolbox_toolbox_search_manager__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../components/toolbox/toolbox-search-manager */ "./src/components/toolbox/toolbox-search-manager.ts");
|
|
45308
|
+
/* harmony import */ var _components_page_navigator_page_navigator__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../components/page-navigator/page-navigator */ "./src/components/page-navigator/page-navigator.ts");
|
|
45309
|
+
/* harmony import */ var _components_page__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../components/page */ "./src/components/page.ts");
|
|
45310
|
+
/* harmony import */ var _components_row__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../components/row */ "./src/components/row.ts");
|
|
45311
|
+
/* harmony import */ var _components_question__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../components/question */ "./src/components/question.ts");
|
|
45312
|
+
/* harmony import */ var _components_question_dropdown__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../components/question-dropdown */ "./src/components/question-dropdown.ts");
|
|
45313
|
+
/* harmony import */ var _components_question_image__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../components/question-image */ "./src/components/question-image.ts");
|
|
45314
|
+
/* harmony import */ var _components_question_rating__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../components/question-rating */ "./src/components/question-rating.ts");
|
|
45315
|
+
/* harmony import */ var _components_item_value__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../components/item-value */ "./src/components/item-value.ts");
|
|
45316
|
+
/* harmony import */ var _components_image_item_value__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../components/image-item-value */ "./src/components/image-item-value.ts");
|
|
45317
|
+
/* harmony import */ var _components_matrix_cell__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../components/matrix-cell */ "./src/components/matrix-cell.ts");
|
|
45318
|
+
/* harmony import */ var _components_simulator__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../components/simulator */ "./src/components/simulator.ts");
|
|
45319
|
+
/* harmony import */ var _components_results__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../components/results */ "./src/components/results.ts");
|
|
45320
|
+
/* harmony import */ var _components_header_logo_image__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../components/header/logo-image */ "./src/components/header/logo-image.ts");
|
|
45321
|
+
/* harmony import */ var _components_string_editor__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../components/string-editor */ "./src/components/string-editor.ts");
|
|
45322
|
+
/* harmony import */ var _components_embedded_survey__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../components/embedded-survey */ "./src/components/embedded-survey.ts");
|
|
45323
|
+
/* harmony import */ var _components_link_value__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../components/link-value */ "./src/components/link-value.ts");
|
|
45324
|
+
/* harmony import */ var _components_search_manager__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../components/search-manager */ "./src/components/search-manager.ts");
|
|
45325
|
+
/* harmony import */ var _json5__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../json5 */ "./src/json5.ts");
|
|
45326
|
+
/* harmony import */ var _custom_questions_question_spin_editor__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../custom-questions/question-spin-editor */ "./src/custom-questions/question-spin-editor.ts");
|
|
45327
|
+
/* harmony import */ var _custom_questions_question_color__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../custom-questions/question-color */ "./src/custom-questions/question-color.ts");
|
|
45328
|
+
/* harmony import */ var _custom_questions_question_file__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../custom-questions/question-file */ "./src/custom-questions/question-file.ts");
|
|
45329
|
+
/* harmony import */ var _custom_questions_question_text_with_reset__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../custom-questions/question-text-with-reset */ "./src/custom-questions/question-text-with-reset.ts");
|
|
45330
|
+
/* harmony import */ var _property_grid__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../property-grid */ "./src/property-grid/index.ts");
|
|
45331
|
+
/* harmony import */ var _property_grid_condition__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../property-grid/condition */ "./src/property-grid/condition.ts");
|
|
45332
|
+
/* harmony import */ var _property_grid_matrices__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../property-grid/matrices */ "./src/property-grid/matrices.ts");
|
|
45333
|
+
/* harmony import */ var _property_grid_bindings__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../property-grid/bindings */ "./src/property-grid/bindings.ts");
|
|
45334
|
+
/* harmony import */ var _property_grid_property_grid_view_model__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../property-grid/property-grid-view-model */ "./src/property-grid/property-grid-view-model.ts");
|
|
45335
|
+
/* harmony import */ var _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../property-grid/object-selector */ "./src/property-grid/object-selector.ts");
|
|
45336
|
+
/* harmony import */ var _property_grid_restfull__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../property-grid/restfull */ "./src/property-grid/restfull.ts");
|
|
45337
|
+
/* harmony import */ var _property_grid_theme_settings__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../property-grid/theme-settings */ "./src/property-grid/theme-settings.ts");
|
|
45338
|
+
/* harmony import */ var _property_grid_values__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../property-grid/values */ "./src/property-grid/values.ts");
|
|
45339
|
+
/* harmony import */ var _property_grid_search_manager__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../property-grid/search-manager */ "./src/property-grid/search-manager.ts");
|
|
45340
|
+
/* harmony import */ var _property_grid_maskSettings__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../property-grid/maskSettings */ "./src/property-grid/maskSettings.ts");
|
|
45341
|
+
/* harmony import */ var _property_grid_header_settings__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../property-grid/header-settings */ "./src/property-grid/header-settings.ts");
|
|
45342
|
+
/* harmony import */ var _property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../property-grid-theme/property-grid */ "./src/property-grid-theme/property-grid.ts");
|
|
45343
|
+
/* harmony import */ var _questionconverter__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../questionconverter */ "./src/questionconverter.ts");
|
|
45344
|
+
/* harmony import */ var _svgbundle__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../svgbundle */ "./src/svgbundle.ts");
|
|
45345
|
+
/* harmony import */ var _textWorker__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../textWorker */ "./src/textWorker.ts");
|
|
45346
|
+
/* harmony import */ var _toolbox__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../toolbox */ "./src/toolbox.ts");
|
|
45347
|
+
/* harmony import */ var _components_side_bar_side_bar_model__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../components/side-bar/side-bar-model */ "./src/components/side-bar/side-bar-model.ts");
|
|
45348
|
+
/* harmony import */ var _components_side_bar_side_bar_header_model__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../components/side-bar/side-bar-header-model */ "./src/components/side-bar/side-bar-header-model.ts");
|
|
45349
|
+
/* harmony import */ var _components_side_bar_side_bar_page_model__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../components/side-bar/side-bar-page-model */ "./src/components/side-bar/side-bar-page-model.ts");
|
|
45350
|
+
/* harmony import */ var _components_side_bar_tab_control_model__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../components/side-bar/tab-control-model */ "./src/components/side-bar/tab-control-model.ts");
|
|
45351
|
+
/* harmony import */ var _components_switcher_switcher__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../components/switcher/switcher */ "./src/components/switcher/switcher.ts");
|
|
45352
|
+
/* harmony import */ var _utils_events__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../utils/events */ "./src/utils/events.ts");
|
|
45353
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../utils/utils */ "./src/utils/utils.ts");
|
|
45354
|
+
/* harmony import */ var _utils_actions__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../utils/actions */ "./src/utils/actions.ts");
|
|
45355
|
+
/* harmony import */ var _question_editor_definition__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../question-editor/definition */ "./src/question-editor/definition.ts");
|
|
45356
|
+
/* harmony import */ var _question_editor_properties__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../question-editor/properties */ "./src/question-editor/properties.ts");
|
|
45357
|
+
/* harmony import */ var _survey_helper__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../survey-helper */ "./src/survey-helper.ts");
|
|
45358
|
+
/* harmony import */ var _utils_resizer__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../utils/resizer */ "./src/utils/resizer.ts");
|
|
45359
|
+
/* harmony import */ var _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ../plugins/undo-redo */ "./src/plugins/undo-redo/index.ts");
|
|
45360
|
+
/* harmony import */ var _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ../plugins/undo-redo/undo-redo-manager */ "./src/plugins/undo-redo/undo-redo-manager.ts");
|
|
45361
|
+
/* harmony import */ var _pages_controller__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../pages-controller */ "./src/pages-controller.ts");
|
|
45362
|
+
/* harmony import */ var _creator_theme_creator_theme_model_definition__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ../creator-theme/creator-theme-model-definition */ "./src/creator-theme/creator-theme-model-definition.ts");
|
|
45363
|
+
/* harmony import */ var _creator_theme_creator_theme_model__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ../creator-theme/creator-theme-model */ "./src/creator-theme/creator-theme-model.ts");
|
|
45364
|
+
/* harmony import */ var _presets_presets_base__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ../presets/presets-base */ "./src/presets/presets-base.ts");
|
|
45365
|
+
/* harmony import */ var _presets_presets__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ../presets/presets */ "./src/presets/presets.ts");
|
|
45366
|
+
/* harmony import */ var _presets_presets_properties__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ../presets/presets-properties */ "./src/presets/presets-properties.ts");
|
|
45367
|
+
/* harmony import */ var _presets_presets_tabs__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ../presets/presets-tabs */ "./src/presets/presets-tabs.ts");
|
|
45368
|
+
/* harmony import */ var _presets_presets_toolbox__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ../presets/presets-toolbox */ "./src/presets/presets-toolbox.ts");
|
|
45369
|
+
/* harmony import */ var _survey_elements__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ../survey-elements */ "./src/survey-elements.ts");
|
|
45370
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
45371
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_93___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_93__);
|
|
44951
45372
|
var Version;
|
|
44952
|
-
Version = "".concat("1.12.
|
|
45373
|
+
Version = "".concat("1.12.11");
|
|
44953
45374
|
//should be loaded before other styles for easier override
|
|
44954
45375
|
__webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-button.scss");
|
|
44955
45376
|
|
|
@@ -44998,6 +45419,8 @@ __webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-but
|
|
|
44998
45419
|
|
|
44999
45420
|
|
|
45000
45421
|
|
|
45422
|
+
|
|
45423
|
+
|
|
45001
45424
|
|
|
45002
45425
|
|
|
45003
45426
|
|
|
@@ -45046,6 +45469,7 @@ __webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-but
|
|
|
45046
45469
|
|
|
45047
45470
|
|
|
45048
45471
|
|
|
45472
|
+
__webpack_require__(/*! ../components/search.scss */ "./src/components/search.scss");
|
|
45049
45473
|
__webpack_require__(/*! ../components/property-panel/property-panel-item.scss */ "./src/components/property-panel/property-panel-item.scss");
|
|
45050
45474
|
__webpack_require__(/*! ../components/property-panel/property-panel.scss */ "./src/components/property-panel/property-panel.scss");
|
|
45051
45475
|
__webpack_require__(/*! ../components/tabbed-menu/tabbed-menu-item.scss */ "./src/components/tabbed-menu/tabbed-menu-item.scss");
|
|
@@ -45053,6 +45477,7 @@ __webpack_require__(/*! ../components/tabbed-menu/tabbed-menu.scss */ "./src/com
|
|
|
45053
45477
|
__webpack_require__(/*! ../components/toolbox/toolbox-tool.scss */ "./src/components/toolbox/toolbox-tool.scss");
|
|
45054
45478
|
__webpack_require__(/*! ../components/question-dropdown.scss */ "./src/components/question-dropdown.scss");
|
|
45055
45479
|
__webpack_require__(/*! ../components/toolbox/toolbox.scss */ "./src/components/toolbox/toolbox.scss");
|
|
45480
|
+
__webpack_require__(/*! ../components/toolbox/toolbox-search.scss */ "./src/components/toolbox/toolbox-search.scss");
|
|
45056
45481
|
__webpack_require__(/*! ../components/toolbox/toolbox-right.scss */ "./src/components/toolbox/toolbox-right.scss");
|
|
45057
45482
|
__webpack_require__(/*! ../components/toolbox/toolbox-animation.scss */ "./src/components/toolbox/toolbox-animation.scss");
|
|
45058
45483
|
__webpack_require__(/*! ../components/side-bar/side-bar.scss */ "./src/components/side-bar/side-bar.scss");
|
|
@@ -45062,8 +45487,8 @@ __webpack_require__(/*! ../utils/design.scss */ "./src/utils/design.scss");
|
|
|
45062
45487
|
__webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
|
|
45063
45488
|
__webpack_require__(/*! ../custom-questions/boolean-switch.scss */ "./src/custom-questions/boolean-switch.scss");
|
|
45064
45489
|
|
|
45065
|
-
|
|
45066
|
-
(0,
|
|
45490
|
+
survey_core__WEBPACK_IMPORTED_MODULE_93__.settings.supportCreatorV2 = true;
|
|
45491
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_93__.checkLibraryVersion)("".concat("1.12.11"), "survey-creator-core");
|
|
45067
45492
|
|
|
45068
45493
|
})();
|
|
45069
45494
|
|