survey-creator-react 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/package.json +4 -4
- package/survey-creator-react.js +185 -144
- package/survey-creator-react.js.map +1 -1
- package/survey-creator-react.min.js +1 -1
- package/survey-creator-react.min.js.LICENSE.txt +1 -1
- package/typings/ActionButton.d.ts +14 -1
- package/typings/adorners/Page.d.ts +2 -0
- package/typings/adorners/Row.d.ts +2 -0
- package/typings/components/Search.d.ts +14 -0
- package/typings/entries/index.d.ts +1 -1
- package/typings/side-bar/Search.d.ts +14 -14
- package/typings/tabs/Designer.d.ts +1 -1
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v1.12.
|
|
2
|
+
* SurveyJS Creator React 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
|
|
@@ -31,8 +31,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31
31
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
32
32
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
33
33
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
34
|
-
/* harmony import */ var
|
|
35
|
-
/* harmony import */ var
|
|
34
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
35
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_2__);
|
|
36
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
37
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__);
|
|
38
|
+
|
|
36
39
|
|
|
37
40
|
|
|
38
41
|
|
|
@@ -42,25 +45,48 @@ var ActionButton = /** @class */ (function (_super) {
|
|
|
42
45
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
43
46
|
}
|
|
44
47
|
ActionButton.prototype.renderElement = function () {
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
var classes = new survey_core__WEBPACK_IMPORTED_MODULE_2__.CssClassBuilder()
|
|
49
|
+
.append(this.props.classes)
|
|
50
|
+
.append("svc-action-button")
|
|
51
|
+
.append("svc-action-button--selected", !!this.props.selected)
|
|
52
|
+
.append("svc-action-button--disabled", !!this.props.disabled)
|
|
53
|
+
.toString();
|
|
54
|
+
if (this.props.iconName) {
|
|
55
|
+
return this.renderIcon(classes);
|
|
49
56
|
}
|
|
57
|
+
return this.renderButtonText(classes);
|
|
58
|
+
};
|
|
59
|
+
ActionButton.prototype.renderButtonText = function (classes) {
|
|
60
|
+
var _this = this;
|
|
50
61
|
if (this.props.disabled) {
|
|
51
|
-
classes += " svc-action-button--disabled";
|
|
52
62
|
return react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: classes }, this.props.text);
|
|
53
63
|
}
|
|
54
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, (0,
|
|
64
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { role: "button", className: classes, onClick: function (e) {
|
|
55
65
|
if (!_this.props.allowBubble) {
|
|
56
66
|
e.stopPropagation();
|
|
57
67
|
}
|
|
58
68
|
_this.props.click();
|
|
59
69
|
}, title: this.props.title }, this.props.text))));
|
|
60
70
|
};
|
|
71
|
+
ActionButton.prototype.renderIcon = function (classes) {
|
|
72
|
+
var _this = this;
|
|
73
|
+
classes += " svc-action-button--icon";
|
|
74
|
+
if (this.props.disabled) {
|
|
75
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: classes },
|
|
76
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size: "auto", iconName: this.props.iconName }));
|
|
77
|
+
}
|
|
78
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: classes, onClick: function (e) {
|
|
79
|
+
if (!_this.props.allowBubble) {
|
|
80
|
+
e.stopPropagation();
|
|
81
|
+
}
|
|
82
|
+
_this.props.click();
|
|
83
|
+
}, title: this.props.title },
|
|
84
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size: "auto", iconName: this.props.iconName })))));
|
|
85
|
+
};
|
|
61
86
|
return ActionButton;
|
|
62
|
-
}(
|
|
87
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SurveyElementBase));
|
|
63
88
|
|
|
89
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.registerElement("svc-action-button", function (props) { return react__WEBPACK_IMPORTED_MODULE_1__.createElement(ActionButton, props); });
|
|
64
90
|
|
|
65
91
|
|
|
66
92
|
/***/ }),
|
|
@@ -104,7 +130,7 @@ var AddQuestionButtonComponent = /** @class */ (function (_super) {
|
|
|
104
130
|
questionTypeSelectorModel.action();
|
|
105
131
|
}, className: "svc-element__question-type-selector", title: this.model.addNewQuestionText },
|
|
106
132
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-element__question-type-selector-icon" },
|
|
107
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { iconName: questionTypeSelectorModel.iconName, size:
|
|
133
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { iconName: questionTypeSelectorModel.iconName, size: "auto", title: this.model.addNewQuestionText })),
|
|
108
134
|
this.props.renderPopup === undefined || this.props.renderPopup ?
|
|
109
135
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: questionTypeSelectorModel.popupModel })
|
|
110
136
|
: null));
|
|
@@ -117,7 +143,7 @@ var AddQuestionButtonComponent = /** @class */ (function (_super) {
|
|
|
117
143
|
e.stopPropagation();
|
|
118
144
|
_this.model.addNewQuestion(_this.model, new _events__WEBPACK_IMPORTED_MODULE_3__.ReactMouseEvent(e));
|
|
119
145
|
}, onMouseOver: function (e) { return _this.model.hoverStopper && _this.model.hoverStopper(e.nativeEvent, e.currentTarget); } },
|
|
120
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-panel__add-new-question-icon", iconName: "icon-add_24x24", size:
|
|
146
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-panel__add-new-question-icon", iconName: "icon-add_24x24", size: "auto" }),
|
|
121
147
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-add-new-item-button__text" }, this.model.addNewQuestionText),
|
|
122
148
|
this.props.renderPopup !== false ? this.renderTypeSelector() : null)),
|
|
123
149
|
this.props.renderPopup === false ? this.renderTypeSelector() : null);
|
|
@@ -208,21 +234,21 @@ var ImageItemValueAdornerComponent = /** @class */ (function (_super) {
|
|
|
208
234
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement("label", { className: "sd-imagepicker__label" },
|
|
209
235
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { style: imageStyle, className: "sd-imagepicker__image" }, this.model.isUploading ? this.renderLoadingIndicator() : null)))),
|
|
210
236
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { className: "svc-image-item-value-controls" }, this.model.allowAdd && !this.model.isUploading ? (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_2__.createElement("span", { className: "svc-context-button svc-image-item-value-controls__add", onClick: function () { return _this.model.chooseNewFile(_this.model); } },
|
|
211
|
-
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size:
|
|
237
|
+
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size: "auto", iconName: "icon-add-lg", title: this.model.addFileTitle }))) : null)));
|
|
212
238
|
}
|
|
213
239
|
else {
|
|
214
240
|
content = (react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null,
|
|
215
241
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { className: "svc-image-item-value__item" }, this.props.element),
|
|
216
242
|
this.model.isDraggable && this.model.canRenderControls ?
|
|
217
243
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement("span", { className: "svc-context-button svc-image-item-value-controls__drag-area-indicator", onPointerDown: function (event) { return _this.model.onPointerDown(event); } },
|
|
218
|
-
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size:
|
|
244
|
+
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size: "auto", iconName: "icon-drag-24x24" }))
|
|
219
245
|
: null,
|
|
220
246
|
this.model.canRenderControls ?
|
|
221
247
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { className: "svc-context-container svc-image-item-value-controls" },
|
|
222
248
|
this.model.allowRemove && !this.model.isUploading ? (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_2__.createElement("span", { className: "svc-context-button", onClick: function () { return _this.model.chooseFile(_this.model); } },
|
|
223
|
-
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { role: "button", size:
|
|
249
|
+
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { role: "button", size: "auto", iconName: "icon-choosefile", title: this.model.selectFileTitle }))) : null,
|
|
224
250
|
this.model.allowRemove && !this.model.isUploading ? (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_2__.createElement("span", { className: "svc-context-button svc-context-button--danger", onClick: function () { return _this.model.remove(_this.model); } },
|
|
225
|
-
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { role: "button", size:
|
|
251
|
+
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { role: "button", size: "auto", iconName: "icon-delete", title: this.model.removeFileTitle }))) : null)
|
|
226
252
|
: null));
|
|
227
253
|
}
|
|
228
254
|
return (react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { ref: this.rootRef, className: this.model.getRootCss(), key: this.props.element.key, "data-sv-drop-target-item-value": this.model.isDraggable ? this.model.item.value : undefined, onPointerDown: function (event) { return _this.model.onPointerDown(event); }, onDragStart: this.preventDragHandler },
|
|
@@ -314,7 +340,7 @@ var ItemValueAdornerComponent = /** @class */ (function (_super) {
|
|
|
314
340
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size: 16, iconName: "icon-add_16x16", title: this.model.tooltip })))) : (react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null,
|
|
315
341
|
" ",
|
|
316
342
|
this.model.isDraggable ? (react__WEBPACK_IMPORTED_MODULE_2__.createElement("span", { className: "svc-item-value-controls__button svc-item-value-controls__drag" },
|
|
317
|
-
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { className: "svc-item-value-controls__drag-icon", size:
|
|
343
|
+
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { className: "svc-item-value-controls__drag-icon", size: "auto", iconName: "icon-drag-24x24", title: this.model.dragTooltip }))) : null,
|
|
318
344
|
this.model.allowRemove ? (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_2__.createElement("span", { className: "svc-item-value-controls__button svc-item-value-controls__remove", "aria-label": this.model.tooltip, onClick: function () { return _this.model.remove(_this.model); } },
|
|
319
345
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size: 16, iconName: "icon-remove_16x16", title: this.model.tooltip }))) : null));
|
|
320
346
|
var itemkey = this.props.element.key + (this.model.allowAdd ? "_new" : "");
|
|
@@ -388,12 +414,12 @@ var LogoImageComponent = /** @class */ (function (_super) {
|
|
|
388
414
|
LogoImageComponent.prototype.renderChooseButton = function () {
|
|
389
415
|
var _this = this;
|
|
390
416
|
return (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-context-button", onClick: function () { return _this.model.chooseFile(_this.model); } },
|
|
391
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { size:
|
|
417
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { size: "auto", iconName: "icon-choosefile" })));
|
|
392
418
|
};
|
|
393
419
|
LogoImageComponent.prototype.renderClearButton = function () {
|
|
394
420
|
var _this = this;
|
|
395
421
|
return (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-context-button svc-context-button--danger", onClick: function () { return _this.model.remove(_this.model); } },
|
|
396
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { size:
|
|
422
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { size: "auto", iconName: "icon-clear" })));
|
|
397
423
|
};
|
|
398
424
|
LogoImageComponent.prototype.renderButtons = function () {
|
|
399
425
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-context-container svc-logo-image-controls" },
|
|
@@ -500,8 +526,8 @@ var MatrixCellAdornerComponent = /** @class */ (function (_super) {
|
|
|
500
526
|
var _this = this;
|
|
501
527
|
var controls = null;
|
|
502
528
|
if (!!this.model.isSupportCellEditor) {
|
|
503
|
-
controls = react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-matrix-cell__question-controls" }, (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-matrix-cell__question-controls-button", onClick: function (event) { return _this.model.editQuestion(_this.model, event); } },
|
|
504
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size:
|
|
529
|
+
controls = react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-matrix-cell__question-controls" }, (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-matrix-cell__question-controls-button svc-context-button", onClick: function (event) { return _this.model.editQuestion(_this.model, event); } },
|
|
530
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size: "auto", iconName: "icon-edit" }))));
|
|
505
531
|
}
|
|
506
532
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-matrix-cell", tabIndex: -1, key: this.props.element.key, onClick: function (e) { return !_this.props.question && _this.model.selectContext(_this.model, e); }, onMouseOut: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); }, onMouseOver: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); } },
|
|
507
533
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-matrix-cell--selected" + (this.model.isSelected ? " svc-visible" : "") }),
|
|
@@ -748,12 +774,12 @@ var SurveyPageNavigator = /** @class */ (function (_super) {
|
|
|
748
774
|
};
|
|
749
775
|
SurveyPageNavigator.prototype.renderElement = function () {
|
|
750
776
|
var _this = this;
|
|
751
|
-
var className = "svc-page-navigator__selector";
|
|
777
|
+
var className = "svc-page-navigator__selector svc-page-navigator__button";
|
|
752
778
|
if (this.model.isPopupOpened)
|
|
753
|
-
className += " svc-page-
|
|
779
|
+
className += " svc-page-navigator__button--pressed";
|
|
754
780
|
return (react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { className: "svc-page-navigator", ref: this.containerRef, style: { display: this.model.visible ? "flex" : "none" } },
|
|
755
781
|
(0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { className: className, onClick: function () { return _this.model.togglePageSelector(); }, title: this.model.pageSelectorCaption },
|
|
756
|
-
react__WEBPACK_IMPORTED_MODULE_4__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-page-
|
|
782
|
+
react__WEBPACK_IMPORTED_MODULE_4__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-page-navigator__button-icon", iconName: this.model.icon, size: "auto", title: this.model.pageSelectorCaption }),
|
|
757
783
|
react__WEBPACK_IMPORTED_MODULE_4__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: this.model.popupModel }))),
|
|
758
784
|
react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", null, this.model.visibleItems.map(function (item) { return (react__WEBPACK_IMPORTED_MODULE_4__.createElement(SurveyPageNavigatorItem, { key: item.id, item: item })); }))));
|
|
759
785
|
};
|
|
@@ -999,7 +1025,7 @@ var SurveyQuestionLinkValue = /** @class */ (function (_super) {
|
|
|
999
1025
|
SurveyQuestionLinkValue.prototype.renderElement = function () {
|
|
1000
1026
|
var _this = this;
|
|
1001
1027
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null,
|
|
1002
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ActionButton__WEBPACK_IMPORTED_MODULE_4__.ActionButton, { classes: this.question.linkSetButtonCssClasses, click: function () { return _this.question.doLinkClick(); }, selected: this.question.isSelected, disabled: !this.question.isClickable, text: this.question.linkValueText, title: this.question.tooltip }),
|
|
1028
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ActionButton__WEBPACK_IMPORTED_MODULE_4__.ActionButton, { classes: this.question.linkSetButtonCssClasses, click: function () { return _this.question.doLinkClick(); }, selected: this.question.isSelected, disabled: !this.question.isClickable, text: this.question.linkValueText, title: this.question.tooltip, iconName: this.question.iconName }),
|
|
1003
1029
|
this.renderClear()));
|
|
1004
1030
|
};
|
|
1005
1031
|
return SurveyQuestionLinkValue;
|
|
@@ -1856,6 +1882,14 @@ var CreatorSurveyPageComponent = /** @class */ (function (_super) {
|
|
|
1856
1882
|
this.model.attachToUI(props.page, this.rootRef.current);
|
|
1857
1883
|
}
|
|
1858
1884
|
this.model = new survey_creator_core__WEBPACK_IMPORTED_MODULE_4__.PageAdorner(props.creator, props.page);
|
|
1885
|
+
this.model.isGhost = this.props.isGhost;
|
|
1886
|
+
};
|
|
1887
|
+
CreatorSurveyPageComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
|
|
1888
|
+
var res = _super.prototype.shouldComponentUpdate.call(this, nextProps, nextState);
|
|
1889
|
+
if (this.model) {
|
|
1890
|
+
this.model.isGhost = this.props.isGhost;
|
|
1891
|
+
}
|
|
1892
|
+
return res;
|
|
1859
1893
|
};
|
|
1860
1894
|
CreatorSurveyPageComponent.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
1861
1895
|
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
|
@@ -1869,16 +1903,14 @@ var CreatorSurveyPageComponent = /** @class */ (function (_super) {
|
|
|
1869
1903
|
CreatorSurveyPageComponent.prototype.componentDidMount = function () {
|
|
1870
1904
|
_super.prototype.componentDidMount.call(this);
|
|
1871
1905
|
this.model.attachToUI(this.props.page, this.rootRef.current);
|
|
1906
|
+
this.model.isGhost = this.props.isGhost;
|
|
1872
1907
|
};
|
|
1873
1908
|
CreatorSurveyPageComponent.prototype.componentWillUnmount = function () {
|
|
1874
1909
|
_super.prototype.componentWillUnmount.call(this);
|
|
1875
1910
|
this.model.detachFromUI();
|
|
1876
1911
|
};
|
|
1877
1912
|
CreatorSurveyPageComponent.prototype.canRender = function () {
|
|
1878
|
-
return (
|
|
1879
|
-
this.model.isPageLive &&
|
|
1880
|
-
!!this.model.page &&
|
|
1881
|
-
!!this.model.page.survey);
|
|
1913
|
+
return _super.prototype.canRender.call(this);
|
|
1882
1914
|
};
|
|
1883
1915
|
CreatorSurveyPageComponent.prototype.renderElement = function () {
|
|
1884
1916
|
var _this = this;
|
|
@@ -1912,7 +1944,7 @@ var CreatorSurveyPageComponent = /** @class */ (function (_super) {
|
|
|
1912
1944
|
return actions;
|
|
1913
1945
|
}
|
|
1914
1946
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-question__drag-area", onPointerDown: function (event) { return _this.model.onPointerDown(event); } },
|
|
1915
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-question__drag-element", size:
|
|
1947
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-question__drag-element", size: "auto", iconName: "icon-drag-area-indicator_24x16" }),
|
|
1916
1948
|
actions));
|
|
1917
1949
|
};
|
|
1918
1950
|
CreatorSurveyPageComponent.prototype.renderFooter = function () {
|
|
@@ -1967,7 +1999,7 @@ var PanelAdornerComponent = /** @class */ (function (_super) {
|
|
|
1967
1999
|
e.stopPropagation();
|
|
1968
2000
|
_this.model.addNewQuestion();
|
|
1969
2001
|
} },
|
|
1970
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-panel__add-new-question-icon", iconName: "icon-add_24x24", size:
|
|
2002
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-panel__add-new-question-icon", iconName: "icon-add_24x24", size: "auto" }),
|
|
1971
2003
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-add-new-item-button__text" }, this.model.addNewQuestionText))) : null)));
|
|
1972
2004
|
};
|
|
1973
2005
|
PanelAdornerComponent.prototype.disableTabStop = function () {
|
|
@@ -2063,7 +2095,7 @@ var QuestionAdornerComponent = /** @class */ (function (_super) {
|
|
|
2063
2095
|
};
|
|
2064
2096
|
QuestionAdornerComponent.prototype.renderContent = function (allowInteractions) {
|
|
2065
2097
|
var _this = this;
|
|
2066
|
-
var content = this.renderElementContent();
|
|
2098
|
+
var content = this.model.needToRenderContent ? this.renderElementContent() : null;
|
|
2067
2099
|
//if (!allowInteractions) return <>{content}{this.renderFooter()}</>;
|
|
2068
2100
|
return (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_4__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { className: this.model.css(), onClick: function (e) { return _this.model.select(_this.model, new _events__WEBPACK_IMPORTED_MODULE_3__.ReactMouseEvent(e)); } },
|
|
2069
2101
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { className: "svc-question__drop-indicator svc-question__drop-indicator--left" }),
|
|
@@ -2072,7 +2104,7 @@ var QuestionAdornerComponent = /** @class */ (function (_super) {
|
|
|
2072
2104
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { className: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }),
|
|
2073
2105
|
allowInteractions ? this.renderHeader() : null,
|
|
2074
2106
|
content,
|
|
2075
|
-
this.renderFooter()), undefined, { disableTabStop: this.disableTabStop() });
|
|
2107
|
+
this.model.needToRenderContent ? this.renderFooter() : null), undefined, { disableTabStop: this.disableTabStop() });
|
|
2076
2108
|
};
|
|
2077
2109
|
QuestionAdornerComponent.prototype.renderHeader = function () {
|
|
2078
2110
|
return survey_react_ui__WEBPACK_IMPORTED_MODULE_4__.ReactElementFactory.Instance.createElement("svc-question-header", { model: this.model });
|
|
@@ -2092,9 +2124,11 @@ var QuestionAdornerComponent = /** @class */ (function (_super) {
|
|
|
2092
2124
|
if (!this.model.showHiddenTitle)
|
|
2093
2125
|
return null;
|
|
2094
2126
|
var element = this.model.element;
|
|
2095
|
-
return (react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", {
|
|
2096
|
-
|
|
2097
|
-
|
|
2127
|
+
return (react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { ref: function (node) { return node && (!_this.model.renderedCollapsed ?
|
|
2128
|
+
node.setAttribute("inert", "") : node.removeAttribute("inert")); }, className: this.model.cssCollapsedHiddenHeader }, (element.hasTitle ?
|
|
2129
|
+
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_4__.TitleElement, { element: element }) :
|
|
2130
|
+
react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { className: this.model.cssCollapsedHiddenTitle },
|
|
2131
|
+
react__WEBPACK_IMPORTED_MODULE_2__.createElement("span", { className: "svc-fake-title" }, element.name)))));
|
|
2098
2132
|
};
|
|
2099
2133
|
QuestionAdornerComponent.prototype.renderElementContent = function () {
|
|
2100
2134
|
return (react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null,
|
|
@@ -2319,7 +2353,7 @@ var QuestionWrapperHeader = /** @class */ (function (_super) {
|
|
|
2319
2353
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-question__drag-area", onPointerDown: function (event) {
|
|
2320
2354
|
return _this.props.model.onPointerDown(event);
|
|
2321
2355
|
} },
|
|
2322
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-question__drag-element", size:
|
|
2356
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { className: "svc-question__drag-element", size: "auto", iconName: "icon-drag-area-indicator_24x16" }),
|
|
2323
2357
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-question__top-actions" },
|
|
2324
2358
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyActionBar, { model: this.props.model.topActionContainer, handleClick: false }))));
|
|
2325
2359
|
};
|
|
@@ -2390,7 +2424,7 @@ var QuestionImageAdornerComponent = /** @class */ (function (_super) {
|
|
|
2390
2424
|
QuestionImageAdornerComponent.prototype.renderChooseButton = function () {
|
|
2391
2425
|
var _this = this;
|
|
2392
2426
|
return (react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { className: "svc-image-question-controls" }, this.model.allowEdit ? (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_2__.createElement("span", { className: "svc-context-button", onClick: function () { return _this.imageModel.chooseFile(_this.imageModel); } },
|
|
2393
|
-
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size:
|
|
2427
|
+
react__WEBPACK_IMPORTED_MODULE_2__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { size: "auto", iconName: "icon-choosefile" }))) : null));
|
|
2394
2428
|
};
|
|
2395
2429
|
QuestionImageAdornerComponent.prototype.renderElementPlaceholder = function () {
|
|
2396
2430
|
return this.imageModel.isUploading ? this.renderLoadingPlaceholder() : this.renderChooseButton();
|
|
@@ -2581,6 +2615,9 @@ var RowWrapper = /** @class */ (function (_super) {
|
|
|
2581
2615
|
return _super.call(this, props) || this;
|
|
2582
2616
|
}
|
|
2583
2617
|
RowWrapper.prototype.createModel = function (props) {
|
|
2618
|
+
if (!!this.model) {
|
|
2619
|
+
this.model.dispose();
|
|
2620
|
+
}
|
|
2584
2621
|
this.model = new survey_creator_core__WEBPACK_IMPORTED_MODULE_1__.RowViewModel(props.componentData.creator, props.row, null);
|
|
2585
2622
|
};
|
|
2586
2623
|
RowWrapper.prototype.getUpdatedModelProps = function () {
|
|
@@ -2589,6 +2626,14 @@ var RowWrapper = /** @class */ (function (_super) {
|
|
|
2589
2626
|
RowWrapper.prototype.getStateElement = function () {
|
|
2590
2627
|
return this.model;
|
|
2591
2628
|
};
|
|
2629
|
+
RowWrapper.prototype.componentDidMount = function () {
|
|
2630
|
+
_super.prototype.componentDidMount.call(this);
|
|
2631
|
+
this.model.subscribeElementChanges();
|
|
2632
|
+
};
|
|
2633
|
+
RowWrapper.prototype.componentWillUnmount = function () {
|
|
2634
|
+
this.model.unsubscribeElementChanges();
|
|
2635
|
+
_super.prototype.componentWillUnmount.call(this);
|
|
2636
|
+
};
|
|
2592
2637
|
RowWrapper.prototype.render = function () {
|
|
2593
2638
|
return (react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { key: "svc-row-" + this.props.row.id, className: this.model.cssClasses },
|
|
2594
2639
|
react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { className: "svc-row__drop-indicator svc-row__drop-indicator--top" }),
|
|
@@ -2603,6 +2648,74 @@ survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.regist
|
|
|
2603
2648
|
});
|
|
2604
2649
|
|
|
2605
2650
|
|
|
2651
|
+
/***/ }),
|
|
2652
|
+
|
|
2653
|
+
/***/ "./src/components/Search.tsx":
|
|
2654
|
+
/*!***********************************!*\
|
|
2655
|
+
!*** ./src/components/Search.tsx ***!
|
|
2656
|
+
\***********************************/
|
|
2657
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2658
|
+
|
|
2659
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2660
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2661
|
+
/* harmony export */ SearchComponent: () => (/* binding */ SearchComponent)
|
|
2662
|
+
/* harmony export */ });
|
|
2663
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
2664
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
2665
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
2666
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
2667
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_2__);
|
|
2668
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
2669
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__);
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
|
|
2674
|
+
var SearchComponent = /** @class */ (function (_super) {
|
|
2675
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SearchComponent, _super);
|
|
2676
|
+
function SearchComponent(props) {
|
|
2677
|
+
var _this = _super.call(this, props) || this;
|
|
2678
|
+
_this.state = {
|
|
2679
|
+
filterString: _this.model.filterString || ""
|
|
2680
|
+
};
|
|
2681
|
+
return _this;
|
|
2682
|
+
}
|
|
2683
|
+
Object.defineProperty(SearchComponent.prototype, "model", {
|
|
2684
|
+
get: function () {
|
|
2685
|
+
return this.props.model;
|
|
2686
|
+
},
|
|
2687
|
+
enumerable: false,
|
|
2688
|
+
configurable: true
|
|
2689
|
+
});
|
|
2690
|
+
SearchComponent.prototype.getStateElement = function () {
|
|
2691
|
+
return this.model;
|
|
2692
|
+
};
|
|
2693
|
+
SearchComponent.prototype.renderElement = function () {
|
|
2694
|
+
var _this = this;
|
|
2695
|
+
if (!this.model.isVisible)
|
|
2696
|
+
return null;
|
|
2697
|
+
var onChange = function (e) {
|
|
2698
|
+
var root = survey_core__WEBPACK_IMPORTED_MODULE_2__.settings.environment.root;
|
|
2699
|
+
if (e.target === root.activeElement) {
|
|
2700
|
+
_this.model.filterString = e.target.value;
|
|
2701
|
+
}
|
|
2702
|
+
};
|
|
2703
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-search" },
|
|
2704
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-search__search-icon" },
|
|
2705
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { iconName: "icon-search", size: "auto" })),
|
|
2706
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("input", { type: "text", className: "svc-search__input", "aria-label": this.model.filterStringPlaceholder, placeholder: this.model.filterStringPlaceholder, value: this.state.filterString, onChange: onChange }),
|
|
2707
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-search__toolbar" },
|
|
2708
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-search__toolbar-counter" }, this.model.matchCounterText),
|
|
2709
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SurveyActionBar, { model: this.model.searchActionBar }))));
|
|
2710
|
+
};
|
|
2711
|
+
return SearchComponent;
|
|
2712
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SurveyElementBase));
|
|
2713
|
+
|
|
2714
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.registerElement("svc-search", function (props) {
|
|
2715
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(SearchComponent, props);
|
|
2716
|
+
});
|
|
2717
|
+
|
|
2718
|
+
|
|
2606
2719
|
/***/ }),
|
|
2607
2720
|
|
|
2608
2721
|
/***/ "./src/components/SurfacePlaceholder.tsx":
|
|
@@ -3219,7 +3332,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3219
3332
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
3220
3333
|
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
3221
3334
|
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__);
|
|
3222
|
-
/* harmony import */ var
|
|
3335
|
+
/* harmony import */ var _components_Search__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components/Search */ "./src/components/Search.tsx");
|
|
3223
3336
|
|
|
3224
3337
|
|
|
3225
3338
|
|
|
@@ -3246,7 +3359,7 @@ var PropertyGridComponent = /** @class */ (function (_super) {
|
|
|
3246
3359
|
};
|
|
3247
3360
|
PropertyGridComponent.prototype.renderElement = function () {
|
|
3248
3361
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.model.rootCss },
|
|
3249
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(
|
|
3362
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(_components_Search__WEBPACK_IMPORTED_MODULE_3__.SearchComponent, { model: this.model.searchManager }),
|
|
3250
3363
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Survey, { model: this.model.survey })));
|
|
3251
3364
|
};
|
|
3252
3365
|
return PropertyGridComponent;
|
|
@@ -3306,74 +3419,6 @@ survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.regist
|
|
|
3306
3419
|
});
|
|
3307
3420
|
|
|
3308
3421
|
|
|
3309
|
-
/***/ }),
|
|
3310
|
-
|
|
3311
|
-
/***/ "./src/side-bar/Search.tsx":
|
|
3312
|
-
/*!*********************************!*\
|
|
3313
|
-
!*** ./src/side-bar/Search.tsx ***!
|
|
3314
|
-
\*********************************/
|
|
3315
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3316
|
-
|
|
3317
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3318
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3319
|
-
/* harmony export */ SearchComponent: () => (/* binding */ SearchComponent)
|
|
3320
|
-
/* harmony export */ });
|
|
3321
|
-
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
3322
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
3323
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
3324
|
-
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
3325
|
-
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_2__);
|
|
3326
|
-
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
3327
|
-
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__);
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
var SearchComponent = /** @class */ (function (_super) {
|
|
3333
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SearchComponent, _super);
|
|
3334
|
-
function SearchComponent(props) {
|
|
3335
|
-
var _this = _super.call(this, props) || this;
|
|
3336
|
-
_this.state = {
|
|
3337
|
-
filterString: _this.model.filterString || ""
|
|
3338
|
-
};
|
|
3339
|
-
return _this;
|
|
3340
|
-
}
|
|
3341
|
-
Object.defineProperty(SearchComponent.prototype, "model", {
|
|
3342
|
-
get: function () {
|
|
3343
|
-
return this.props.model;
|
|
3344
|
-
},
|
|
3345
|
-
enumerable: false,
|
|
3346
|
-
configurable: true
|
|
3347
|
-
});
|
|
3348
|
-
SearchComponent.prototype.getStateElement = function () {
|
|
3349
|
-
return this.model;
|
|
3350
|
-
};
|
|
3351
|
-
SearchComponent.prototype.renderElement = function () {
|
|
3352
|
-
var _this = this;
|
|
3353
|
-
if (!this.model.isVisible)
|
|
3354
|
-
return null;
|
|
3355
|
-
var onChange = function (e) {
|
|
3356
|
-
var root = survey_core__WEBPACK_IMPORTED_MODULE_2__.settings.environment.root;
|
|
3357
|
-
if (e.target === root.activeElement) {
|
|
3358
|
-
_this.model.filterString = e.target.value;
|
|
3359
|
-
}
|
|
3360
|
-
};
|
|
3361
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "spg-search-editor_container" },
|
|
3362
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "spg-search-editor_search-icon" },
|
|
3363
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SvgIcon, { iconName: "icon-search", size: "auto" })),
|
|
3364
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("input", { type: "text", className: "spg-search-editor_input", "aria-label": this.model.filterStringPlaceholder, placeholder: this.model.filterStringPlaceholder, value: this.state.filterString, onChange: onChange }),
|
|
3365
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "spg-search-editor_toolbar" },
|
|
3366
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "spg-search-editor_toolbar-counter" }, this.model.matchCounterText),
|
|
3367
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SurveyActionBar, { model: this.model.searchActionBar }))));
|
|
3368
|
-
};
|
|
3369
|
-
return SearchComponent;
|
|
3370
|
-
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SurveyElementBase));
|
|
3371
|
-
|
|
3372
|
-
survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.registerElement("svc-search", function (props) {
|
|
3373
|
-
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(SearchComponent, props);
|
|
3374
|
-
});
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
3422
|
/***/ }),
|
|
3378
3423
|
|
|
3379
3424
|
/***/ "./src/side-bar/SideBar.tsx":
|
|
@@ -3587,11 +3632,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3587
3632
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
3588
3633
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
3589
3634
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
3590
|
-
/* harmony import */ var
|
|
3591
|
-
/* harmony import */ var
|
|
3592
|
-
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
3593
|
-
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__);
|
|
3594
|
-
|
|
3635
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
3636
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__);
|
|
3595
3637
|
|
|
3596
3638
|
|
|
3597
3639
|
|
|
@@ -3612,18 +3654,19 @@ var SideBarPropertyGridHeader = /** @class */ (function (_super) {
|
|
|
3612
3654
|
};
|
|
3613
3655
|
SideBarPropertyGridHeader.prototype.renderElement = function () {
|
|
3614
3656
|
var _this = this;
|
|
3657
|
+
var button = (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.objectSelectionAction.buttonClassName, onClick: function () { return _this.objectSelectionAction.action(); } },
|
|
3658
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar__header-caption" },
|
|
3659
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-sidebar__header-title" }, this.objectSelectionAction.title),
|
|
3660
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-sidebar__header-subtitle" }, this.objectSelectionAction.tooltip))), this.props.model);
|
|
3615
3661
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar__header svc-sidebar__header--tabbed" },
|
|
3616
3662
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar__header-container svc-sidebar__header-container--with-subtitle" },
|
|
3617
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar__header-content"
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-sidebar__header-title" }, this.objectSelectionAction.title),
|
|
3621
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-sidebar__header-subtitle" }, this.objectSelectionAction.tooltip))),
|
|
3622
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.Popup, { model: this.objectSelectionAction.popupModel, getTarget: survey_core__WEBPACK_IMPORTED_MODULE_2__.getActionDropdownButtonTarget })))));
|
|
3663
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar__header-content" },
|
|
3664
|
+
button,
|
|
3665
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: this.objectSelectionAction.popupModel })))));
|
|
3623
3666
|
};
|
|
3624
3667
|
return SideBarPropertyGridHeader;
|
|
3625
|
-
}(
|
|
3626
|
-
|
|
3668
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
3669
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("svc-side-bar-property-grid-header", function (props) {
|
|
3627
3670
|
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(SideBarPropertyGridHeader, props);
|
|
3628
3671
|
});
|
|
3629
3672
|
|
|
@@ -3658,11 +3701,11 @@ var TabButtonComponent = /** @class */ (function (_super) {
|
|
|
3658
3701
|
};
|
|
3659
3702
|
TabButtonComponent.prototype.renderElement = function () {
|
|
3660
3703
|
var _this = this;
|
|
3661
|
-
|
|
3662
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className:
|
|
3663
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-menu-action__icon" },
|
|
3664
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(
|
|
3665
|
-
|
|
3704
|
+
var button = (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.props.model.buttonClassName, title: this.props.model.tooltip, onClick: function () { _this.props.model.action(); } },
|
|
3705
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-menu-action__icon" },
|
|
3706
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-menu-action__icon-container" },
|
|
3707
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { iconName: this.props.model.iconName, size: "auto" })))), this.props.model);
|
|
3708
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-menu-action" }, button));
|
|
3666
3709
|
};
|
|
3667
3710
|
return TabButtonComponent;
|
|
3668
3711
|
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
@@ -3808,13 +3851,10 @@ var TabDesignerComponent = /** @class */ (function (_super) {
|
|
|
3808
3851
|
var _this = this;
|
|
3809
3852
|
var renderedPages = [];
|
|
3810
3853
|
if (this.creator.pageEditMode !== "bypage") {
|
|
3811
|
-
var pages = this.
|
|
3854
|
+
var pages = this.model.pages;
|
|
3812
3855
|
pages.forEach(function (page) {
|
|
3813
|
-
renderedPages.push(_this.createRenderedPage(page));
|
|
3856
|
+
renderedPages.push(_this.createRenderedPage(page, page == _this.model.newPage));
|
|
3814
3857
|
});
|
|
3815
|
-
if (this.model.showNewPage) {
|
|
3816
|
-
renderedPages.push(this.renderNewPage("svc-page", this.model.newPage.id + "-ghost-new-page"));
|
|
3817
|
-
}
|
|
3818
3858
|
}
|
|
3819
3859
|
else {
|
|
3820
3860
|
var page2Display = this.model.pagesController.page2Display;
|
|
@@ -3825,15 +3865,15 @@ var TabDesignerComponent = /** @class */ (function (_super) {
|
|
|
3825
3865
|
return renderedPages;
|
|
3826
3866
|
};
|
|
3827
3867
|
TabDesignerComponent.prototype.createRenderedPage = function (page, isGhostPage) {
|
|
3828
|
-
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-page", "data-sv-drop-target-page": page.name, "data-sv-drop-target-survey-element": isGhostPage ? "newGhostPage" : page.name, key: page.id }, this.renderPage(page)));
|
|
3868
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-page", "data-sv-drop-target-page": page.name, "data-sv-drop-target-survey-element": isGhostPage ? "newGhostPage" : page.name, key: page.id }, this.renderPage(page, isGhostPage)));
|
|
3829
3869
|
};
|
|
3830
3870
|
TabDesignerComponent.prototype.renderNewPage = function (className, key) {
|
|
3831
3871
|
if (key === void 0) { key = ""; }
|
|
3832
3872
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, { key: key },
|
|
3833
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: className, "data-sv-drop-target-survey-element": "newGhostPage" }, !!this.model.newPage ? this.renderPage(this.model.newPage) : null)));
|
|
3873
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: className, "data-sv-drop-target-survey-element": "newGhostPage" }, !!this.model.newPage ? this.renderPage(this.model.newPage, true) : null)));
|
|
3834
3874
|
};
|
|
3835
|
-
TabDesignerComponent.prototype.renderPage = function (pageV) {
|
|
3836
|
-
return survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement("svc-page", { survey: this.creator.survey, page: pageV, creator: this.creator });
|
|
3875
|
+
TabDesignerComponent.prototype.renderPage = function (pageV, isGhost) {
|
|
3876
|
+
return survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement("svc-page", { survey: this.creator.survey, page: pageV, creator: this.creator, isGhost: isGhost });
|
|
3837
3877
|
};
|
|
3838
3878
|
TabDesignerComponent.prototype.renderElement = function () {
|
|
3839
3879
|
var _this = this;
|
|
@@ -3879,7 +3919,7 @@ var TabDesignerComponent = /** @class */ (function (_super) {
|
|
|
3879
3919
|
: null,
|
|
3880
3920
|
this.model.hasToolbar ?
|
|
3881
3921
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-tab-designer__toolbar" },
|
|
3882
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyActionBar, { model: this.model.
|
|
3922
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyActionBar, { model: this.model.surfaceToolbar, handleClick: false }))
|
|
3883
3923
|
: null));
|
|
3884
3924
|
};
|
|
3885
3925
|
return TabDesignerComponent;
|
|
@@ -4631,7 +4671,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4631
4671
|
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__);
|
|
4632
4672
|
/* harmony import */ var _Toolbox__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Toolbox */ "./src/toolbox/Toolbox.tsx");
|
|
4633
4673
|
/* harmony import */ var _ToolboxItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ToolboxItem */ "./src/toolbox/ToolboxItem.tsx");
|
|
4634
|
-
/* harmony import */ var
|
|
4674
|
+
/* harmony import */ var _components_Search__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components/Search */ "./src/components/Search.tsx");
|
|
4635
4675
|
|
|
4636
4676
|
|
|
4637
4677
|
|
|
@@ -4657,6 +4697,7 @@ var AdaptiveToolbox = /** @class */ (function (_super) {
|
|
|
4657
4697
|
AdaptiveToolbox.prototype.componentWillUnmount = function () {
|
|
4658
4698
|
this.manager && (this.manager.dispose());
|
|
4659
4699
|
this.toolbox.unsubscribeRootElement();
|
|
4700
|
+
this.toolbox.setRootElement(undefined);
|
|
4660
4701
|
_super.prototype.componentWillUnmount.call(this);
|
|
4661
4702
|
};
|
|
4662
4703
|
AdaptiveToolbox.prototype.renderSearch = function () {
|
|
@@ -4666,7 +4707,7 @@ var AdaptiveToolbox = /** @class */ (function (_super) {
|
|
|
4666
4707
|
null;
|
|
4667
4708
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-toolbox__search-container" },
|
|
4668
4709
|
searchButton,
|
|
4669
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(
|
|
4710
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(_components_Search__WEBPACK_IMPORTED_MODULE_6__.SearchComponent, { model: this.toolbox.searchManager }),
|
|
4670
4711
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-toolbox__category-separator svc-toolbox__category-separator--search" })));
|
|
4671
4712
|
};
|
|
4672
4713
|
AdaptiveToolbox.prototype.render = function () {
|
|
@@ -5092,7 +5133,7 @@ var SurveyCreatorToolboxItemGroup = /** @class */ (function (_super) {
|
|
|
5092
5133
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ToolboxItem__WEBPACK_IMPORTED_MODULE_4__.SurveyCreatorToolboxItem, { item: this.item, creator: this.creator, model: this.model, parentModel: this.parentModel, isCompact: this.isCompact }),
|
|
5093
5134
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-toolbox__item-submenu-button", onMouseOver: function (event) { return _this.model.onMouseOver(_this.item, event); }, onMouseLeave: function (event) { return _this.model.onMouseLeave(_this.item, event); } },
|
|
5094
5135
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { size: "auto", iconName: this.item.subitemsButtonIcon }),
|
|
5095
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: this.item.popupModel
|
|
5136
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: this.item.popupModel })));
|
|
5096
5137
|
};
|
|
5097
5138
|
return SurveyCreatorToolboxItemGroup;
|
|
5098
5139
|
}(_ModelElement__WEBPACK_IMPORTED_MODULE_3__.CreatorModelElement));
|
|
@@ -5288,7 +5329,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_survey_react_ui__;
|
|
|
5288
5329
|
/******/
|
|
5289
5330
|
/************************************************************************/
|
|
5290
5331
|
var __webpack_exports__ = {};
|
|
5291
|
-
// This entry
|
|
5332
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
|
|
5292
5333
|
(() => {
|
|
5293
5334
|
/*!******************************!*\
|
|
5294
5335
|
!*** ./src/entries/index.ts ***!
|
|
@@ -5321,7 +5362,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5321
5362
|
/* harmony export */ ReactDragEvent: () => (/* reexport safe */ _events__WEBPACK_IMPORTED_MODULE_51__.ReactDragEvent),
|
|
5322
5363
|
/* harmony export */ ReactMouseEvent: () => (/* reexport safe */ _events__WEBPACK_IMPORTED_MODULE_51__.ReactMouseEvent),
|
|
5323
5364
|
/* harmony export */ RowWrapper: () => (/* reexport safe */ _adorners_Row__WEBPACK_IMPORTED_MODULE_1__.RowWrapper),
|
|
5324
|
-
/* harmony export */ SearchComponent: () => (/* reexport safe */
|
|
5365
|
+
/* harmony export */ SearchComponent: () => (/* reexport safe */ _components_Search__WEBPACK_IMPORTED_MODULE_54__.SearchComponent),
|
|
5325
5366
|
/* harmony export */ SideBarDefaultHeader: () => (/* reexport safe */ _side_bar_SideBarDefaultHeader__WEBPACK_IMPORTED_MODULE_32__.SideBarDefaultHeader),
|
|
5326
5367
|
/* harmony export */ SidebarComponent: () => (/* reexport safe */ _side_bar_SideBar__WEBPACK_IMPORTED_MODULE_35__.SidebarComponent),
|
|
5327
5368
|
/* harmony export */ StylesManager: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_63__.StylesManager),
|
|
@@ -5426,7 +5467,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5426
5467
|
/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../events */ "./src/events.ts");
|
|
5427
5468
|
/* harmony import */ var _side_bar_ObjectSelector__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../side-bar/ObjectSelector */ "./src/side-bar/ObjectSelector.tsx");
|
|
5428
5469
|
/* harmony import */ var _side_bar_PropertyGrid__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../side-bar/PropertyGrid */ "./src/side-bar/PropertyGrid.tsx");
|
|
5429
|
-
/* harmony import */ var
|
|
5470
|
+
/* harmony import */ var _components_Search__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../components/Search */ "./src/components/Search.tsx");
|
|
5430
5471
|
/* harmony import */ var _Switcher__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../Switcher */ "./src/Switcher.tsx");
|
|
5431
5472
|
/* harmony import */ var _tabs_JsonErrorItem__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../tabs/JsonErrorItem */ "./src/tabs/JsonErrorItem.tsx");
|
|
5432
5473
|
/* harmony import */ var _custom_questions_SpinEditor__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../custom-questions/SpinEditor */ "./src/custom-questions/SpinEditor.tsx");
|
|
@@ -5440,7 +5481,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5440
5481
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
5441
5482
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_64___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_64__);
|
|
5442
5483
|
var Version;
|
|
5443
|
-
Version = "".concat("1.12.
|
|
5484
|
+
Version = "".concat("1.12.11");
|
|
5444
5485
|
// import "@survey/creator/survey-creator-core.css";
|
|
5445
5486
|
|
|
5446
5487
|
|
|
@@ -5514,7 +5555,7 @@ Version = "".concat("1.12.9");
|
|
|
5514
5555
|
|
|
5515
5556
|
|
|
5516
5557
|
|
|
5517
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_64__.checkLibraryVersion)("".concat("1.12.
|
|
5558
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_64__.checkLibraryVersion)("".concat("1.12.11"), "survey-creator-react");
|
|
5518
5559
|
|
|
5519
5560
|
})();
|
|
5520
5561
|
|