survey-creator-react 1.9.115 → 1.9.116
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.116",
|
|
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.116",
|
|
38
|
+
"survey-react-ui": "1.9.116",
|
|
39
|
+
"survey-creator-core": "1.9.116",
|
|
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.116
|
|
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
|
|
@@ -322,12 +322,13 @@ var ItemValueAdornerComponent = /** @class */ (function (_super) {
|
|
|
322
322
|
react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { className: "svc-item-value-controls__drag-icon", size: 24, iconName: "icon-drag-area-indicator", title: this.model.dragTooltip }))) : null,
|
|
323
323
|
this.model.allowRemove ? Object(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__["attachKey2click"])(react__WEBPACK_IMPORTED_MODULE_2___default.a.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); } },
|
|
324
324
|
react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__["SvgIcon"], { size: 16, iconName: "icon-remove_16x16", title: this.model.tooltip }))) : null));
|
|
325
|
+
var itemkey = this.props.element.key + (this.model.allowAdd ? "_new" : "");
|
|
325
326
|
return (react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("div", { className: "svc-item-value-wrapper" +
|
|
326
327
|
(this.model.allowAdd ? " svc-item-value--new" : "") +
|
|
327
328
|
(this.model.isDragging ? " svc-item-value--dragging" : "") +
|
|
328
329
|
(this.model.isDragDropGhost ? " svc-item-value--ghost" : "") +
|
|
329
330
|
(this.model.isDragDropMoveDown ? " svc-item-value--movedown" : "") +
|
|
330
|
-
(this.model.isDragDropMoveUp ? " svc-item-value--moveup" : ""), key:
|
|
331
|
+
(this.model.isDragDropMoveUp ? " svc-item-value--moveup" : ""), key: itemkey, "data-sv-drop-target-item-value": this.model.isDraggable ? this.model.item.value : undefined, onPointerDown: function (event) { return _this.model.onPointerDown(event); } },
|
|
331
332
|
react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("div", { className: "svc-item-value__ghost" }),
|
|
332
333
|
react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("div", { className: "svc-item-value-controls", onBlur: this.onBlur }, button),
|
|
333
334
|
react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("div", { className: "svc-item-value__item", onClick: function (event) { return _this.model.select(_this.model, event.nativeEvent); } }, this.props.element)));
|
|
@@ -2366,6 +2367,7 @@ var QuestionDropdownAdornerComponent = /** @class */ (function (_super) {
|
|
|
2366
2367
|
var textStyle = this.question.textStyle;
|
|
2367
2368
|
return (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-question__dropdown-choices--wrapper" },
|
|
2368
2369
|
react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: "svc-question__dropdown-choices" }, (this.dropdownModel.getRenderedItems() || []).map(function (item, index) { return (react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", { className: _this.dropdownModel.getChoiceCss(), key: "editable_choice_".concat(index) }, survey_react_ui__WEBPACK_IMPORTED_MODULE_3__["ReactSurveyElementsWrapper"].wrapItemValue(_this.question.survey, survey_react_ui__WEBPACK_IMPORTED_MODULE_3__["ReactElementFactory"].Instance.createElement(_this.dropdownModel.itemComponent, {
|
|
2370
|
+
key: item.value,
|
|
2369
2371
|
question: _this.question,
|
|
2370
2372
|
cssClasses: _this.question.cssClasses,
|
|
2371
2373
|
isDisplayMode: true,
|
|
@@ -3301,7 +3303,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3301
3303
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
3302
3304
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_51___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_51__);
|
|
3303
3305
|
var Version;
|
|
3304
|
-
Version = "".concat("1.9.
|
|
3306
|
+
Version = "".concat("1.9.116");
|
|
3305
3307
|
// import "@survey/creator/survey-creator-core.css";
|
|
3306
3308
|
|
|
3307
3309
|
|
|
@@ -3362,7 +3364,7 @@ Version = "".concat("1.9.115");
|
|
|
3362
3364
|
|
|
3363
3365
|
|
|
3364
3366
|
|
|
3365
|
-
Object(survey_core__WEBPACK_IMPORTED_MODULE_51__["checkLibraryVersion"])("".concat("1.9.
|
|
3367
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_51__["checkLibraryVersion"])("".concat("1.9.116"), "survey-creator-react");
|
|
3366
3368
|
|
|
3367
3369
|
|
|
3368
3370
|
/***/ }),
|