survey-creator-react 1.9.105 → 1.9.106
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-react",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.106",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"survey-core": "1.9.
|
|
38
|
-
"survey-react-ui": "1.9.
|
|
39
|
-
"survey-creator-core": "1.9.
|
|
37
|
+
"survey-core": "1.9.106",
|
|
38
|
+
"survey-react-ui": "1.9.106",
|
|
39
|
+
"survey-creator-core": "1.9.106",
|
|
40
40
|
"react": "^16.5.0 || ^17.0.1 || ^18.1.0",
|
|
41
41
|
"react-dom": "^16.5.0 || ^17.0.1 || ^18.1.0"
|
|
42
42
|
},
|
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v1.9.
|
|
2
|
+
* SurveyJS Creator React v1.9.106
|
|
3
3
|
* (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -1355,16 +1355,13 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
|
|
|
1355
1355
|
};
|
|
1356
1356
|
_this.state = { changed: 0 };
|
|
1357
1357
|
_this.svStringEditorRef = react__WEBPACK_IMPORTED_MODULE_1___default.a.createRef();
|
|
1358
|
-
_this.baseModel.getEditorElement = function () { return _this.svStringEditorRef.current; };
|
|
1359
1358
|
return _this;
|
|
1360
1359
|
}
|
|
1361
1360
|
SurveyLocStringEditor.prototype.createModel = function () {
|
|
1362
|
-
|
|
1361
|
+
if (this.baseModel) {
|
|
1362
|
+
this.baseModel.dispose();
|
|
1363
|
+
}
|
|
1363
1364
|
this.baseModel = new survey_creator_core__WEBPACK_IMPORTED_MODULE_3__["StringEditorViewModelBase"](this.locString, this.creator);
|
|
1364
|
-
this.baseModel.blurEditor = function () {
|
|
1365
|
-
_this.svStringEditorRef.current.blur();
|
|
1366
|
-
_this.svStringEditorRef.current.spellcheck = false;
|
|
1367
|
-
};
|
|
1368
1365
|
};
|
|
1369
1366
|
SurveyLocStringEditor.prototype.getUpdatedModelProps = function () {
|
|
1370
1367
|
return ["creator", "locString"];
|
|
@@ -1401,10 +1398,15 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
|
|
|
1401
1398
|
configurable: true
|
|
1402
1399
|
});
|
|
1403
1400
|
SurveyLocStringEditor.prototype.componentDidMount = function () {
|
|
1401
|
+
var _this = this;
|
|
1404
1402
|
_super.prototype.componentDidMount.call(this);
|
|
1405
1403
|
if (!this.locString)
|
|
1406
1404
|
return;
|
|
1407
|
-
|
|
1405
|
+
this.baseModel.getEditorElement = function () { return _this.svStringEditorRef.current; };
|
|
1406
|
+
this.baseModel.blurEditor = function () {
|
|
1407
|
+
_this.svStringEditorRef.current.blur();
|
|
1408
|
+
_this.svStringEditorRef.current.spellcheck = false;
|
|
1409
|
+
};
|
|
1408
1410
|
this.baseModel.afterRender();
|
|
1409
1411
|
this.locString.onStringChanged.add(this.onChangedHandler);
|
|
1410
1412
|
if (this.locString["__isEditing"]) {
|
|
@@ -1414,10 +1416,14 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
|
|
|
1414
1416
|
};
|
|
1415
1417
|
SurveyLocStringEditor.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
1416
1418
|
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
|
1419
|
+
this.baseModel.setLocString(this.locString);
|
|
1417
1420
|
this.baseModel.afterRender();
|
|
1418
1421
|
};
|
|
1419
1422
|
SurveyLocStringEditor.prototype.componentWillUnmount = function () {
|
|
1420
1423
|
_super.prototype.componentWillUnmount.call(this);
|
|
1424
|
+
this.baseModel.getEditorElement = undefined;
|
|
1425
|
+
this.baseModel.blurEditor = undefined;
|
|
1426
|
+
this.baseModel.dispose();
|
|
1421
1427
|
if (!this.locString)
|
|
1422
1428
|
return;
|
|
1423
1429
|
this.locString.onStringChanged.remove(this.onChangedHandler);
|
|
@@ -1447,9 +1453,6 @@ var SurveyLocStringEditor = /** @class */ (function (_super) {
|
|
|
1447
1453
|
if (!this.locString) {
|
|
1448
1454
|
return null;
|
|
1449
1455
|
}
|
|
1450
|
-
else {
|
|
1451
|
-
this.baseModel.setLocString(this.locString);
|
|
1452
|
-
}
|
|
1453
1456
|
var control = null;
|
|
1454
1457
|
if (this.locString.hasHtml) {
|
|
1455
1458
|
var htmlValue = { __html: this.baseModel.focused && this.baseModel.editAsText && this.locString.text || this.locString.renderedHtml };
|
|
@@ -2013,6 +2016,7 @@ var CreatorSurveyPageComponent = /** @class */ (function (_super) {
|
|
|
2013
2016
|
};
|
|
2014
2017
|
CreatorSurveyPageComponent.prototype.componentWillUnmount = function () {
|
|
2015
2018
|
_super.prototype.componentWillUnmount.call(this);
|
|
2019
|
+
this.model.onPageSelectedCallback = undefined;
|
|
2016
2020
|
this.model.dispose();
|
|
2017
2021
|
};
|
|
2018
2022
|
CreatorSurveyPageComponent.prototype.canRender = function () {
|
|
@@ -2182,6 +2186,9 @@ var QuestionAdornerComponent = /** @class */ (function (_super) {
|
|
|
2182
2186
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2183
2187
|
}
|
|
2184
2188
|
QuestionAdornerComponent.prototype.createModel = function () {
|
|
2189
|
+
if (this.modelValue) {
|
|
2190
|
+
this.modelValue.dispose();
|
|
2191
|
+
}
|
|
2185
2192
|
this.modelValue = this.createQuestionViewModel();
|
|
2186
2193
|
};
|
|
2187
2194
|
QuestionAdornerComponent.prototype.createQuestionViewModel = function () {
|
|
@@ -2793,7 +2800,8 @@ var SurveyQuestionColor = /** @class */ (function (_super) {
|
|
|
2793
2800
|
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { id: this.question.inputId, disabled: this.isDisplayMode, className: this.question.cssClasses.control, ref: function (input) { return (_this.setControl(input)); }, placeholder: this.question.renderedPlaceholder, autoComplete: "off", onKeyUp: function (event) { return _this.question.onKeyUp(event.nativeEvent); }, onBlur: function (event) { return _this.question.onBlur(event.nativeEvent); }, onChange: this.question.onChange, onBeforeInput: function (event) { return _this.question.onBeforeInput(event.nativeEvent); }, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-describedby": this.question.ariaDescribedBy })));
|
|
2794
2801
|
};
|
|
2795
2802
|
SurveyQuestionColor.prototype.renderElement = function () {
|
|
2796
|
-
|
|
2803
|
+
var _this = this;
|
|
2804
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this.question.cssClasses.root, onKeyDown: function (event) { return _this.question.onKeyDown(event.nativeEvent); } },
|
|
2797
2805
|
this.renderColorSwatch(),
|
|
2798
2806
|
this.renderInput(),
|
|
2799
2807
|
this.question.showDropdownAction ? this.renderDropdownAction() : null));
|
|
@@ -2875,7 +2883,8 @@ var SurveyQuestionFileEditor = /** @class */ (function (_super) {
|
|
|
2875
2883
|
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { type: "file", disabled: this.isDisplayMode, className: this.questionFile.cssClasses.fileInput, id: this.questionFile.inputId, "aria-required": this.questionFile.ariaRequired, "aria-label": this.questionFile.ariaLabel, "aria-invalid": this.questionFile.ariaInvalid, "aria-describedby": this.questionFile.ariaDescribedBy, multiple: false, title: this.questionFile.inputTitle, accept: this.questionFile.acceptedTypes, onChange: this.questionFile.doChange })));
|
|
2876
2884
|
};
|
|
2877
2885
|
SurveyQuestionFileEditor.prototype.renderElement = function () {
|
|
2878
|
-
|
|
2886
|
+
var _this = this;
|
|
2887
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this.questionFile.cssClasses.root, onDragEnter: this.questionFile.onDragEnter, onDragOver: this.questionFile.onDragOver, onDrop: this.questionFile.onDrop, onDragLeave: this.questionFile.onDragLeave, onKeyDown: function (event) { return _this.question.onKeyDown(event.nativeEvent); } },
|
|
2879
2888
|
this.renderInput(),
|
|
2880
2889
|
this.renderButtons()));
|
|
2881
2890
|
};
|
|
@@ -2949,6 +2958,68 @@ survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["ReactQuestionFactory"].Instance.re
|
|
|
2949
2958
|
});
|
|
2950
2959
|
|
|
2951
2960
|
|
|
2961
|
+
/***/ }),
|
|
2962
|
+
|
|
2963
|
+
/***/ "./src/custom-questions/TextWithResetQuestion.tsx":
|
|
2964
|
+
/*!********************************************************!*\
|
|
2965
|
+
!*** ./src/custom-questions/TextWithResetQuestion.tsx ***!
|
|
2966
|
+
\********************************************************/
|
|
2967
|
+
/*! exports provided: SurveyQuestionTextWithReset */
|
|
2968
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2969
|
+
|
|
2970
|
+
"use strict";
|
|
2971
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2972
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionTextWithReset", function() { return SurveyQuestionTextWithReset; });
|
|
2973
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
2974
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
2975
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
2976
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
2977
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__);
|
|
2978
|
+
|
|
2979
|
+
|
|
2980
|
+
|
|
2981
|
+
var SurveyQuestionTextWithReset = /** @class */ (function (_super) {
|
|
2982
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(SurveyQuestionTextWithReset, _super);
|
|
2983
|
+
function SurveyQuestionTextWithReset() {
|
|
2984
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2985
|
+
}
|
|
2986
|
+
Object.defineProperty(SurveyQuestionTextWithReset.prototype, "question", {
|
|
2987
|
+
get: function () {
|
|
2988
|
+
return this.questionBase;
|
|
2989
|
+
},
|
|
2990
|
+
enumerable: false,
|
|
2991
|
+
configurable: true
|
|
2992
|
+
});
|
|
2993
|
+
SurveyQuestionTextWithReset.prototype.renderElement = function () {
|
|
2994
|
+
var textElement = this.renderInput();
|
|
2995
|
+
var resetButton = this.renderResetButton();
|
|
2996
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this.question.getRootClass() },
|
|
2997
|
+
textElement,
|
|
2998
|
+
resetButton));
|
|
2999
|
+
};
|
|
3000
|
+
SurveyQuestionTextWithReset.prototype.renderInput = function () {
|
|
3001
|
+
return survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["ReactQuestionFactory"].Instance.createQuestion(this.question.wrappedQuestionTemplate, {
|
|
3002
|
+
question: this.question,
|
|
3003
|
+
isDisplayMode: this.question.isInputReadOnly,
|
|
3004
|
+
creator: this,
|
|
3005
|
+
});
|
|
3006
|
+
};
|
|
3007
|
+
SurveyQuestionTextWithReset.prototype.renderResetButton = function () {
|
|
3008
|
+
var _this = this;
|
|
3009
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.question.cssClasses.resetButton, disabled: this.question.resetValueAdorner.isDisabled, title: this.question.resetValueAdorner.caption, onClick: function () { return _this.question.resetValueAdorner.resetValue(); } },
|
|
3010
|
+
react__WEBPACK_IMPORTED_MODULE_1__["createElement"](survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["SvgIcon"], { iconName: this.question.cssClasses.resetButtonIcon, size: "auto" })));
|
|
3011
|
+
};
|
|
3012
|
+
return SurveyQuestionTextWithReset;
|
|
3013
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["SurveyQuestionElementBase"]));
|
|
3014
|
+
|
|
3015
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["ReactQuestionFactory"].Instance.registerQuestion("textwithreset", function (props) {
|
|
3016
|
+
return react__WEBPACK_IMPORTED_MODULE_1__["createElement"](SurveyQuestionTextWithReset, props);
|
|
3017
|
+
});
|
|
3018
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__["ReactQuestionFactory"].Instance.registerQuestion("commentwithreset", function (props) {
|
|
3019
|
+
return react__WEBPACK_IMPORTED_MODULE_1__["createElement"](SurveyQuestionTextWithReset, props);
|
|
3020
|
+
});
|
|
3021
|
+
|
|
3022
|
+
|
|
2952
3023
|
/***/ }),
|
|
2953
3024
|
|
|
2954
3025
|
/***/ "./src/entries/helpers.ts":
|
|
@@ -3016,7 +3087,7 @@ var __spreadArrays = function () {
|
|
|
3016
3087
|
/*!******************************!*\
|
|
3017
3088
|
!*** ./src/entries/index.ts ***!
|
|
3018
3089
|
\******************************/
|
|
3019
|
-
/*! exports provided: Version, SurveyCreatorComponent, SurveyCreator, RowWrapper, QuestionAdornerComponent, QuestionWrapperHeader, QuestionWrapperFooter, QuestionCarrayForwardBanner, QuestionDropdownAdornerComponent, QuestionImageAdornerComponent, QuestionRatingAdornerComponent, QuestionWidgetAdornerComponent, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, CreatorSurveyPageComponent, PanelAdornerComponent, LogoImageComponent, SurveyQuestionLinkValue, SurveyElementEmbeddedSurvey, QuestionEditorContentComponent, ItemValueAdornerComponent, ImageItemValueAdornerComponent, MatrixCellAdornerComponent, SurveyResults, SurveyResultsByRow, SurveyCreatorToolboxTool, SurveyCreatorToolboxItem, SurveyCreatorToolboxCategory, Toolbox, AdaptiveToolbox, TabbedMenuComponent, TabbedMenuItemComponent, SurveyNavigation, SidebarComponent, TranslationLineSkeleton, ActionButton, SurveyLocStringEditor, SurveyLogicOpertor, TabDesignerComponent, TabJsonEditorAceComponent, TabJsonEditorErrorsComponent, TabJsonEditorTextareaComponent, TabLogicAddButtonComponent, TabLogicComponent, TabPreviewTestSurveyAgainComponent, TabPreviewSurveyComponent, TabThemeSurveyComponent, TabTranslationComponent, SurveySimulator, ReactMouseEvent, ReactDragEvent, PropertyGridComponent, SurveyQuestionSpinEditor, SurveyQuestionColor, SurveyQuestionFileEditor, editorLocalization, localization, settings, svgBundle, SurveyLogic, SurveyLogicUI, SurveyQuestionEditorDefinition, ToolboxToolViewModel, PropertyGridEditorCollection, StylesManager */
|
|
3090
|
+
/*! exports provided: Version, SurveyCreatorComponent, SurveyCreator, RowWrapper, QuestionAdornerComponent, QuestionWrapperHeader, QuestionWrapperFooter, QuestionCarrayForwardBanner, QuestionDropdownAdornerComponent, QuestionImageAdornerComponent, QuestionRatingAdornerComponent, QuestionWidgetAdornerComponent, CellQuestionAdornerComponent, CellQuestionDropdownAdornerComponent, CreatorSurveyPageComponent, PanelAdornerComponent, LogoImageComponent, SurveyQuestionLinkValue, SurveyElementEmbeddedSurvey, QuestionEditorContentComponent, ItemValueAdornerComponent, ImageItemValueAdornerComponent, MatrixCellAdornerComponent, SurveyResults, SurveyResultsByRow, SurveyCreatorToolboxTool, SurveyCreatorToolboxItem, SurveyCreatorToolboxCategory, Toolbox, AdaptiveToolbox, TabbedMenuComponent, TabbedMenuItemComponent, SurveyNavigation, SidebarComponent, TranslationLineSkeleton, ActionButton, SurveyLocStringEditor, SurveyLogicOpertor, TabDesignerComponent, TabJsonEditorAceComponent, TabJsonEditorErrorsComponent, TabJsonEditorTextareaComponent, TabLogicAddButtonComponent, TabLogicComponent, TabPreviewTestSurveyAgainComponent, TabPreviewSurveyComponent, TabThemeSurveyComponent, TabTranslationComponent, SurveySimulator, ReactMouseEvent, ReactDragEvent, PropertyGridComponent, SurveyQuestionSpinEditor, SurveyQuestionColor, SurveyQuestionFileEditor, SurveyQuestionTextWithReset, editorLocalization, localization, settings, svgBundle, SurveyLogic, SurveyLogicUI, SurveyQuestionEditorDefinition, ToolboxToolViewModel, PropertyGridEditorCollection, StylesManager */
|
|
3020
3091
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3021
3092
|
|
|
3022
3093
|
"use strict";
|
|
@@ -3179,32 +3250,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3179
3250
|
/* harmony import */ var _custom_questions_FileEditQuestion__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../custom-questions/FileEditQuestion */ "./src/custom-questions/FileEditQuestion.tsx");
|
|
3180
3251
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionFileEditor", function() { return _custom_questions_FileEditQuestion__WEBPACK_IMPORTED_MODULE_48__["SurveyQuestionFileEditor"]; });
|
|
3181
3252
|
|
|
3182
|
-
/* harmony import */ var
|
|
3183
|
-
/* harmony
|
|
3184
|
-
|
|
3253
|
+
/* harmony import */ var _custom_questions_TextWithResetQuestion__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../custom-questions/TextWithResetQuestion */ "./src/custom-questions/TextWithResetQuestion.tsx");
|
|
3254
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionTextWithReset", function() { return _custom_questions_TextWithResetQuestion__WEBPACK_IMPORTED_MODULE_49__["SurveyQuestionTextWithReset"]; });
|
|
3255
|
+
|
|
3256
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! survey-creator-core */ "survey-creator-core");
|
|
3257
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_50___default = /*#__PURE__*/__webpack_require__.n(survey_creator_core__WEBPACK_IMPORTED_MODULE_50__);
|
|
3258
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "editorLocalization", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_50__["editorLocalization"]; });
|
|
3185
3259
|
|
|
3186
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "localization", function() { return
|
|
3260
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "localization", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_50__["localization"]; });
|
|
3187
3261
|
|
|
3188
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return
|
|
3262
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_50__["settings"]; });
|
|
3189
3263
|
|
|
3190
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "svgBundle", function() { return
|
|
3264
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "svgBundle", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_50__["svgBundle"]; });
|
|
3191
3265
|
|
|
3192
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLogic", function() { return
|
|
3266
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLogic", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_50__["SurveyLogic"]; });
|
|
3193
3267
|
|
|
3194
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLogicUI", function() { return
|
|
3268
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyLogicUI", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_50__["SurveyLogicUI"]; });
|
|
3195
3269
|
|
|
3196
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEditorDefinition", function() { return
|
|
3270
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEditorDefinition", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_50__["SurveyQuestionEditorDefinition"]; });
|
|
3197
3271
|
|
|
3198
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ToolboxToolViewModel", function() { return
|
|
3272
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ToolboxToolViewModel", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_50__["ToolboxToolViewModel"]; });
|
|
3199
3273
|
|
|
3200
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCollection", function() { return
|
|
3274
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCollection", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_50__["PropertyGridEditorCollection"]; });
|
|
3201
3275
|
|
|
3202
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return
|
|
3276
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StylesManager", function() { return survey_creator_core__WEBPACK_IMPORTED_MODULE_50__["StylesManager"]; });
|
|
3203
3277
|
|
|
3204
|
-
/* harmony import */ var
|
|
3205
|
-
/* harmony import */ var
|
|
3278
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
3279
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_51___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_51__);
|
|
3206
3280
|
var Version;
|
|
3207
|
-
Version = "".concat("1.9.
|
|
3281
|
+
Version = "".concat("1.9.106");
|
|
3208
3282
|
// import "@survey/creator/survey-creator-core.css";
|
|
3209
3283
|
|
|
3210
3284
|
|
|
@@ -3264,7 +3338,8 @@ Version = "".concat("1.9.105");
|
|
|
3264
3338
|
|
|
3265
3339
|
|
|
3266
3340
|
|
|
3267
|
-
|
|
3341
|
+
|
|
3342
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_51__["checkLibraryVersion"])("".concat("1.9.106"), "survey-creator-react");
|
|
3268
3343
|
|
|
3269
3344
|
|
|
3270
3345
|
/***/ }),
|
|
@@ -3882,10 +3957,9 @@ var TabPreviewSurveyComponent = /** @class */ (function (_super) {
|
|
|
3882
3957
|
return this.model;
|
|
3883
3958
|
};
|
|
3884
3959
|
TabPreviewSurveyComponent.prototype.renderElement = function () {
|
|
3885
|
-
var _this = this;
|
|
3886
3960
|
var tabContentClassName = "svc-creator-tab__content svc-test-tab__content" + (this.model.isPageToolbarVisible ? " svc-creator-tab__content--with-toolbar" : "");
|
|
3887
3961
|
return (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: tabContentClassName },
|
|
3888
|
-
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-plugin-tab__content"
|
|
3962
|
+
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-plugin-tab__content" },
|
|
3889
3963
|
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_SurveySimulator__WEBPACK_IMPORTED_MODULE_3__["SurveySimulator"], { model: this.model.simulator }),
|
|
3890
3964
|
!this.model.isRunning ? react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(TabPreviewTestSurveyAgainComponent, { button: this.model.testAgainAction }) : null,
|
|
3891
3965
|
!this.model.isRunning ? react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_Results__WEBPACK_IMPORTED_MODULE_4__["SurveyResults"], { survey: this.model.simulator.survey }) : null),
|
|
@@ -4540,7 +4614,7 @@ var SurveyCreatorToolboxItem = /** @class */ (function (_super) {
|
|
|
4540
4614
|
};
|
|
4541
4615
|
SurveyCreatorToolboxItem.prototype.render = function () {
|
|
4542
4616
|
var _this = this;
|
|
4543
|
-
return Object(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: this.item.className, tabIndex: 0, role: "button", "aria-label": this.item.tooltip, title: this.item.tooltip, onClick: function (event) {
|
|
4617
|
+
return Object(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-toolbox__item " + this.item.className, tabIndex: 0, role: "button", "aria-label": this.item.tooltip, title: this.item.tooltip, onClick: function (event) {
|
|
4544
4618
|
event.persist();
|
|
4545
4619
|
_this.model.click(event);
|
|
4546
4620
|
} },
|