survey-creator-react 1.12.1 → 1.12.2
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 +458 -160
- 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/AddQuestionButton.d.ts +12 -0
- package/typings/SideBar.d.ts +1 -0
- package/typings/SideBarPropertyGridHeader.d.ts +1 -0
- package/typings/SideBarPropertyGridPlaceholderHeader.d.ts +1 -0
- package/typings/entries/index.d.ts +5 -0
- package/typings/tab-control/TabButton.d.ts +13 -0
- package/typings/tab-control/TabControl.d.ts +1 -0
- package/typings/tabs/PropertyGridPlaceholder.d.ts +4 -0
package/survey-creator-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator React v1.12.
|
|
2
|
+
* SurveyJS Creator React v1.12.2
|
|
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
|
|
@@ -63,6 +63,73 @@ var ActionButton = /** @class */ (function (_super) {
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
66
|
+
/***/ }),
|
|
67
|
+
|
|
68
|
+
/***/ "./src/AddQuestionButton.tsx":
|
|
69
|
+
/*!***********************************!*\
|
|
70
|
+
!*** ./src/AddQuestionButton.tsx ***!
|
|
71
|
+
\***********************************/
|
|
72
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
73
|
+
|
|
74
|
+
__webpack_require__.r(__webpack_exports__);
|
|
75
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
76
|
+
/* harmony export */ AddQuestionButtonComponent: () => (/* binding */ AddQuestionButtonComponent)
|
|
77
|
+
/* harmony export */ });
|
|
78
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
79
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
80
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
81
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
82
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__);
|
|
83
|
+
/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./events */ "./src/events.ts");
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
var AddQuestionButtonComponent = /** @class */ (function (_super) {
|
|
89
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(AddQuestionButtonComponent, _super);
|
|
90
|
+
function AddQuestionButtonComponent() {
|
|
91
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
92
|
+
}
|
|
93
|
+
Object.defineProperty(AddQuestionButtonComponent.prototype, "model", {
|
|
94
|
+
get: function () {
|
|
95
|
+
return this.props.item.data;
|
|
96
|
+
},
|
|
97
|
+
enumerable: false,
|
|
98
|
+
configurable: true
|
|
99
|
+
});
|
|
100
|
+
AddQuestionButtonComponent.prototype.renderTypeSelector = function () {
|
|
101
|
+
var questionTypeSelectorModel = this.model.questionTypeSelectorModel;
|
|
102
|
+
return (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("button", { type: "button", onClick: function (e) {
|
|
103
|
+
e.stopPropagation();
|
|
104
|
+
questionTypeSelectorModel.action();
|
|
105
|
+
}, className: "svc-element__question-type-selector", title: this.model.addNewQuestionText },
|
|
106
|
+
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: 24, title: this.model.addNewQuestionText })),
|
|
108
|
+
this.props.renderPopup === undefined || this.props.renderPopup ?
|
|
109
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: questionTypeSelectorModel.popupModel })
|
|
110
|
+
: null));
|
|
111
|
+
};
|
|
112
|
+
AddQuestionButtonComponent.prototype.renderElement = function () {
|
|
113
|
+
var _this = this;
|
|
114
|
+
var addButtonClass = this.props.buttonClass || "svc-btn";
|
|
115
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null,
|
|
116
|
+
(0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-element__add-new-question " + addButtonClass, onClick: function (e) {
|
|
117
|
+
e.stopPropagation();
|
|
118
|
+
_this.model.addNewQuestion(_this.model, new _events__WEBPACK_IMPORTED_MODULE_3__.ReactMouseEvent(e));
|
|
119
|
+
}, 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: 24 }),
|
|
121
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-text svc-text--normal svc-text--bold" }, this.model.addNewQuestionText),
|
|
122
|
+
this.props.renderPopup !== false ? this.renderTypeSelector() : null)),
|
|
123
|
+
this.props.renderPopup === false ? this.renderTypeSelector() : null);
|
|
124
|
+
};
|
|
125
|
+
return AddQuestionButtonComponent;
|
|
126
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
127
|
+
|
|
128
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("svc-add-new-question-btn", function (props) {
|
|
129
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(AddQuestionButtonComponent, props);
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
|
|
66
133
|
/***/ }),
|
|
67
134
|
|
|
68
135
|
/***/ "./src/ImageItemValueWrapper.tsx":
|
|
@@ -1291,51 +1358,66 @@ var SidebarComponent = /** @class */ (function (_super) {
|
|
|
1291
1358
|
return false;
|
|
1292
1359
|
return _super.prototype.canRender.call(this);
|
|
1293
1360
|
};
|
|
1361
|
+
SidebarComponent.prototype.renderDefaultHeader = function () {
|
|
1362
|
+
var activePage = this.model.getActivePage();
|
|
1363
|
+
var headerText = !!activePage.caption ? react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-side-bar__container-title" }, activePage.caption) : null;
|
|
1364
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-side-bar__container-header" },
|
|
1365
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-side-bar__container-actions" },
|
|
1366
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyActionBar, { model: this.model.toolbar })),
|
|
1367
|
+
headerText));
|
|
1368
|
+
};
|
|
1294
1369
|
SidebarComponent.prototype.renderElement = function () {
|
|
1295
1370
|
var _this = this;
|
|
1296
1371
|
var style = { display: !this.model.renderedIsVisible ? "none" : "" };
|
|
1297
1372
|
var className = "svc-side-bar" + (this.model.flyoutPanelMode ? " svc-flyout-side-bar" : "");
|
|
1298
|
-
var items = this.model.
|
|
1299
|
-
|
|
1373
|
+
var items = this.model.pages.map(function (page) { return react__WEBPACK_IMPORTED_MODULE_1__.createElement(SidebarPage, { page: page, key: page.id }); });
|
|
1374
|
+
var sideArea = null;
|
|
1375
|
+
if (this.model.sideAreaComponentName) {
|
|
1376
|
+
sideArea = survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement(this.model.sideAreaComponentName, { model: this.model.sideAreaComponentData });
|
|
1377
|
+
}
|
|
1378
|
+
var headerArea = null;
|
|
1379
|
+
if (this.model.headerComponentName) {
|
|
1380
|
+
headerArea = survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement(this.model.headerComponentName, { model: this.model.headerComponentData });
|
|
1381
|
+
}
|
|
1382
|
+
else {
|
|
1383
|
+
headerArea = this.renderDefaultHeader();
|
|
1384
|
+
}
|
|
1385
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: className, style: { display: !this.model.hasVisiblePages ? "none" : "" } },
|
|
1300
1386
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-side-bar__shadow", onClick: function () { return _this.model.collapseSidebar(); } }),
|
|
1301
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-flex-
|
|
1387
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-flex-row svc-side-bar__wrapper" },
|
|
1302
1388
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { ref: this.containerRef, style: style, className: "svc-side-bar__container" },
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
(!!this.model.headerText ?
|
|
1307
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-side-bar__container-title" }, this.model.headerText)
|
|
1308
|
-
: null)),
|
|
1309
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-side-bar__container-content" }, items)))));
|
|
1389
|
+
headerArea,
|
|
1390
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-side-bar__container-content" }, items)),
|
|
1391
|
+
sideArea)));
|
|
1310
1392
|
};
|
|
1311
1393
|
return SidebarComponent;
|
|
1312
1394
|
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
1313
1395
|
|
|
1314
|
-
var
|
|
1315
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(
|
|
1316
|
-
function
|
|
1396
|
+
var SidebarPage = /** @class */ (function (_super) {
|
|
1397
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SidebarPage, _super);
|
|
1398
|
+
function SidebarPage() {
|
|
1317
1399
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1318
1400
|
}
|
|
1319
|
-
Object.defineProperty(
|
|
1401
|
+
Object.defineProperty(SidebarPage.prototype, "page", {
|
|
1320
1402
|
get: function () {
|
|
1321
|
-
return this.props.
|
|
1403
|
+
return this.props.page;
|
|
1322
1404
|
},
|
|
1323
1405
|
enumerable: false,
|
|
1324
1406
|
configurable: true
|
|
1325
1407
|
});
|
|
1326
|
-
|
|
1327
|
-
return this.
|
|
1408
|
+
SidebarPage.prototype.getStateElement = function () {
|
|
1409
|
+
return this.page;
|
|
1328
1410
|
};
|
|
1329
|
-
|
|
1330
|
-
if (!this.
|
|
1411
|
+
SidebarPage.prototype.renderElement = function () {
|
|
1412
|
+
if (!this.page.visible)
|
|
1331
1413
|
return null;
|
|
1332
|
-
var component = survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement(this.
|
|
1414
|
+
var component = survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.createElement(this.page.componentName, { model: this.page.componentData });
|
|
1333
1415
|
return component;
|
|
1334
1416
|
};
|
|
1335
|
-
return
|
|
1417
|
+
return SidebarPage;
|
|
1336
1418
|
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
1337
|
-
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactQuestionFactory.Instance.registerQuestion("svc-side-bar-
|
|
1338
|
-
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(
|
|
1419
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactQuestionFactory.Instance.registerQuestion("svc-side-bar-page", function (props) {
|
|
1420
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(SidebarPage, props);
|
|
1339
1421
|
});
|
|
1340
1422
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SidebarComponent);
|
|
1341
1423
|
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("svc-side-bar", function (props) {
|
|
@@ -1343,6 +1425,102 @@ survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.regist
|
|
|
1343
1425
|
});
|
|
1344
1426
|
|
|
1345
1427
|
|
|
1428
|
+
/***/ }),
|
|
1429
|
+
|
|
1430
|
+
/***/ "./src/SideBarPropertyGridHeader.tsx":
|
|
1431
|
+
/*!*******************************************!*\
|
|
1432
|
+
!*** ./src/SideBarPropertyGridHeader.tsx ***!
|
|
1433
|
+
\*******************************************/
|
|
1434
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1435
|
+
|
|
1436
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1437
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
1438
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
1439
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
1440
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
1441
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_2__);
|
|
1442
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
1443
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__);
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
var SideBarPropertyGridHeader = /** @class */ (function (_super) {
|
|
1449
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SideBarPropertyGridHeader, _super);
|
|
1450
|
+
function SideBarPropertyGridHeader() {
|
|
1451
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1452
|
+
}
|
|
1453
|
+
Object.defineProperty(SideBarPropertyGridHeader.prototype, "objectSelectionAction", {
|
|
1454
|
+
get: function () {
|
|
1455
|
+
return this.props.model;
|
|
1456
|
+
},
|
|
1457
|
+
enumerable: false,
|
|
1458
|
+
configurable: true
|
|
1459
|
+
});
|
|
1460
|
+
SideBarPropertyGridHeader.prototype.getStateElement = function () {
|
|
1461
|
+
return this.objectSelectionAction;
|
|
1462
|
+
};
|
|
1463
|
+
SideBarPropertyGridHeader.prototype.renderElement = function () {
|
|
1464
|
+
var _this = this;
|
|
1465
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar__header svc-sidebar__header--tabbed" },
|
|
1466
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar__header-container svc-sidebar__header-container--with-subtitle" },
|
|
1467
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar__header-content", onClick: function () { return _this.objectSelectionAction.action(); } },
|
|
1468
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.objectSelectionAction.buttonClassName },
|
|
1469
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar__header-caption" },
|
|
1470
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-sidebar__header-title" }, this.objectSelectionAction.title),
|
|
1471
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-sidebar__header-subtitle" }, this.objectSelectionAction.tooltip))),
|
|
1472
|
+
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 })))));
|
|
1473
|
+
};
|
|
1474
|
+
return SideBarPropertyGridHeader;
|
|
1475
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.SurveyElementBase));
|
|
1476
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.registerElement("svc-side-bar-property-grid-header", function (props) {
|
|
1477
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(SideBarPropertyGridHeader, props);
|
|
1478
|
+
});
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
/***/ }),
|
|
1482
|
+
|
|
1483
|
+
/***/ "./src/SideBarPropertyGridPlaceholderHeader.tsx":
|
|
1484
|
+
/*!******************************************************!*\
|
|
1485
|
+
!*** ./src/SideBarPropertyGridPlaceholderHeader.tsx ***!
|
|
1486
|
+
\******************************************************/
|
|
1487
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1488
|
+
|
|
1489
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1490
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
1491
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
1492
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
1493
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
1494
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__);
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
var SideBarPropertyGridPlaceholderHeader = /** @class */ (function (_super) {
|
|
1499
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SideBarPropertyGridPlaceholderHeader, _super);
|
|
1500
|
+
function SideBarPropertyGridPlaceholderHeader() {
|
|
1501
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1502
|
+
}
|
|
1503
|
+
Object.defineProperty(SideBarPropertyGridPlaceholderHeader.prototype, "activePage", {
|
|
1504
|
+
get: function () {
|
|
1505
|
+
return this.props.model;
|
|
1506
|
+
},
|
|
1507
|
+
enumerable: false,
|
|
1508
|
+
configurable: true
|
|
1509
|
+
});
|
|
1510
|
+
SideBarPropertyGridPlaceholderHeader.prototype.getStateElement = function () {
|
|
1511
|
+
return this.activePage;
|
|
1512
|
+
};
|
|
1513
|
+
SideBarPropertyGridPlaceholderHeader.prototype.renderElement = function () {
|
|
1514
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-side-bar__container-header svc-sidebar__header-container" },
|
|
1515
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-side-bar__container-title" }, this.activePage.caption)));
|
|
1516
|
+
};
|
|
1517
|
+
return SideBarPropertyGridPlaceholderHeader;
|
|
1518
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
1519
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("svc-side-bar-property-grid-placeholder-header", function (props) {
|
|
1520
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(SideBarPropertyGridPlaceholderHeader, props);
|
|
1521
|
+
});
|
|
1522
|
+
|
|
1523
|
+
|
|
1346
1524
|
/***/ }),
|
|
1347
1525
|
|
|
1348
1526
|
/***/ "./src/StringEditor.tsx":
|
|
@@ -2056,13 +2234,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2056
2234
|
/* harmony export */ CreatorSurveyPageComponent: () => (/* binding */ CreatorSurveyPageComponent)
|
|
2057
2235
|
/* harmony export */ });
|
|
2058
2236
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
2059
|
-
/* harmony import */ var
|
|
2060
|
-
/* harmony import */ var
|
|
2061
|
-
/* harmony import */ var
|
|
2062
|
-
/* harmony import */ var
|
|
2063
|
-
/* harmony import */ var
|
|
2064
|
-
/* harmony import */ var
|
|
2065
|
-
/* harmony import */ var
|
|
2237
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
2238
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
2239
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
2240
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__);
|
|
2241
|
+
/* harmony import */ var _ModelElement__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ModelElement */ "./src/ModelElement.tsx");
|
|
2242
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! survey-creator-core */ "survey-creator-core");
|
|
2243
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(survey_creator_core__WEBPACK_IMPORTED_MODULE_4__);
|
|
2066
2244
|
/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../events */ "./src/events.ts");
|
|
2067
2245
|
|
|
2068
2246
|
|
|
@@ -2074,14 +2252,14 @@ var CreatorSurveyPageComponent = /** @class */ (function (_super) {
|
|
|
2074
2252
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(CreatorSurveyPageComponent, _super);
|
|
2075
2253
|
function CreatorSurveyPageComponent(props) {
|
|
2076
2254
|
var _this = _super.call(this, props) || this;
|
|
2077
|
-
_this.rootRef =
|
|
2255
|
+
_this.rootRef = react__WEBPACK_IMPORTED_MODULE_1__.createRef();
|
|
2078
2256
|
return _this;
|
|
2079
2257
|
}
|
|
2080
2258
|
CreatorSurveyPageComponent.prototype.createModel = function (props) {
|
|
2081
2259
|
if (this.model) {
|
|
2082
2260
|
this.model.dispose();
|
|
2083
2261
|
}
|
|
2084
|
-
this.model = new
|
|
2262
|
+
this.model = new survey_creator_core__WEBPACK_IMPORTED_MODULE_4__.PageAdorner(props.creator, props.page);
|
|
2085
2263
|
};
|
|
2086
2264
|
CreatorSurveyPageComponent.prototype.getUpdatedModelProps = function () {
|
|
2087
2265
|
return ["creator", "page"];
|
|
@@ -2094,7 +2272,7 @@ var CreatorSurveyPageComponent = /** @class */ (function (_super) {
|
|
|
2094
2272
|
_super.prototype.componentDidMount.call(this);
|
|
2095
2273
|
this.model.onPageSelectedCallback = function () {
|
|
2096
2274
|
if (!!_this.rootRef.current) {
|
|
2097
|
-
|
|
2275
|
+
survey_creator_core__WEBPACK_IMPORTED_MODULE_4__.SurveyHelper.scrollIntoViewIfNeeded(_this.rootRef.current);
|
|
2098
2276
|
}
|
|
2099
2277
|
};
|
|
2100
2278
|
};
|
|
@@ -2112,7 +2290,7 @@ var CreatorSurveyPageComponent = /** @class */ (function (_super) {
|
|
|
2112
2290
|
var _this = this;
|
|
2113
2291
|
if (!this.props.page)
|
|
2114
2292
|
return null;
|
|
2115
|
-
return ((0,
|
|
2293
|
+
return ((0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { ref: this.rootRef, className: "svc-page__content " + this.model.css, id: this.props.page.id, onClick: function (e) {
|
|
2116
2294
|
return _this.model.select(_this.model, new _events__WEBPACK_IMPORTED_MODULE_5__.ReactMouseEvent(e));
|
|
2117
2295
|
}, onDoubleClick: function (e) { return _this.model.dblclick(e.nativeEvent); }, onMouseLeave: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); }, onMouseOver: function (e) { return _this.model.hover(e.nativeEvent, e.currentTarget); } },
|
|
2118
2296
|
this.renderHeader(),
|
|
@@ -2123,58 +2301,25 @@ var CreatorSurveyPageComponent = /** @class */ (function (_super) {
|
|
|
2123
2301
|
CreatorSurveyPageComponent.prototype.renderPlaceholder = function () {
|
|
2124
2302
|
if (!this.model.showPlaceholder)
|
|
2125
2303
|
return null;
|
|
2126
|
-
return (
|
|
2127
|
-
|
|
2128
|
-
|
|
2304
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-page__placeholder_frame" },
|
|
2305
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-panel__placeholder_frame" },
|
|
2306
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-panel__placeholder" }, this.model.placeholderText))));
|
|
2129
2307
|
};
|
|
2130
2308
|
CreatorSurveyPageComponent.prototype.renderContent = function () {
|
|
2131
|
-
return (
|
|
2309
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyPage, { page: this.props.page, survey: this.props.survey, creator: this.props.creator, css: this.model.css }));
|
|
2132
2310
|
};
|
|
2133
2311
|
CreatorSurveyPageComponent.prototype.renderHeader = function () {
|
|
2134
|
-
return (
|
|
2135
|
-
|
|
2312
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-page__content-actions" },
|
|
2313
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyActionBar, { model: this.model.actionContainer })));
|
|
2136
2314
|
};
|
|
2137
2315
|
CreatorSurveyPageComponent.prototype.renderFooter = function () {
|
|
2138
|
-
return
|
|
2316
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyActionBar, { model: this.model.footerActionsBar });
|
|
2139
2317
|
};
|
|
2140
2318
|
return CreatorSurveyPageComponent;
|
|
2141
|
-
}(
|
|
2319
|
+
}(_ModelElement__WEBPACK_IMPORTED_MODULE_3__.CreatorModelElement));
|
|
2142
2320
|
|
|
2143
|
-
|
|
2144
|
-
return
|
|
2145
|
-
});
|
|
2146
|
-
var AddQuestionButtonComponent = /** @class */ (function (_super) {
|
|
2147
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(AddQuestionButtonComponent, _super);
|
|
2148
|
-
function AddQuestionButtonComponent() {
|
|
2149
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2150
|
-
}
|
|
2151
|
-
Object.defineProperty(AddQuestionButtonComponent.prototype, "model", {
|
|
2152
|
-
get: function () {
|
|
2153
|
-
return this.props.item.data;
|
|
2154
|
-
},
|
|
2155
|
-
enumerable: false,
|
|
2156
|
-
configurable: true
|
|
2157
|
-
});
|
|
2158
|
-
AddQuestionButtonComponent.prototype.renderElement = function () {
|
|
2159
|
-
var _this = this;
|
|
2160
|
-
var questionTypeSelectorModel = this.model.questionTypeSelectorModel;
|
|
2161
|
-
return (0,survey_react_ui__WEBPACK_IMPORTED_MODULE_1__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_4__.createElement("div", { className: "svc-page__add-new-question svc-btn", onClick: function (e) {
|
|
2162
|
-
e.stopPropagation();
|
|
2163
|
-
_this.model.addNewQuestion(_this.model, new _events__WEBPACK_IMPORTED_MODULE_5__.ReactMouseEvent(e));
|
|
2164
|
-
}, onMouseOver: function (e) { return _this.model.hoverStopper(e.nativeEvent, e.currentTarget); } },
|
|
2165
|
-
react__WEBPACK_IMPORTED_MODULE_4__.createElement("span", { className: "svc-text svc-text--normal svc-text--bold" }, this.model.addNewQuestionText),
|
|
2166
|
-
(0,survey_react_ui__WEBPACK_IMPORTED_MODULE_1__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_4__.createElement("button", { type: "button", onClick: function (e) {
|
|
2167
|
-
e.stopPropagation();
|
|
2168
|
-
questionTypeSelectorModel.action();
|
|
2169
|
-
}, className: "svc-page__question-type-selector", title: this.model.addNewQuestionText },
|
|
2170
|
-
react__WEBPACK_IMPORTED_MODULE_4__.createElement("span", { className: "svc-page__question-type-selector-icon" },
|
|
2171
|
-
react__WEBPACK_IMPORTED_MODULE_4__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_1__.SvgIcon, { iconName: questionTypeSelectorModel.iconName, size: 24, title: this.model.addNewQuestionText })),
|
|
2172
|
-
react__WEBPACK_IMPORTED_MODULE_4__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_1__.Popup, { model: questionTypeSelectorModel.popupModel })))));
|
|
2173
|
-
};
|
|
2174
|
-
return AddQuestionButtonComponent;
|
|
2175
|
-
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_1__.SurveyElementBase));
|
|
2176
|
-
survey_react_ui__WEBPACK_IMPORTED_MODULE_1__.ReactElementFactory.Instance.registerElement("svc-add-new-question-btn", function (props) {
|
|
2177
|
-
return react__WEBPACK_IMPORTED_MODULE_4__.createElement(AddQuestionButtonComponent, props);
|
|
2321
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("svc-page", function (props) {
|
|
2322
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(CreatorSurveyPageComponent, props);
|
|
2178
2323
|
});
|
|
2179
2324
|
|
|
2180
2325
|
|
|
@@ -2196,6 +2341,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2196
2341
|
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
2197
2342
|
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__);
|
|
2198
2343
|
/* harmony import */ var _Question__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Question */ "./src/adorners/Question.tsx");
|
|
2344
|
+
/* harmony import */ var _AddQuestionButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AddQuestionButton */ "./src/AddQuestionButton.tsx");
|
|
2345
|
+
|
|
2199
2346
|
|
|
2200
2347
|
|
|
2201
2348
|
|
|
@@ -2224,24 +2371,12 @@ var PanelAdornerComponent = /** @class */ (function (_super) {
|
|
|
2224
2371
|
return true;
|
|
2225
2372
|
};
|
|
2226
2373
|
PanelAdornerComponent.prototype.renderFooter = function () {
|
|
2227
|
-
var _this = this;
|
|
2228
2374
|
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null,
|
|
2229
2375
|
!this.model.isEmptyElement && this.model.element.isPanel && this.model.showAddQuestionButton ? (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-panel__add-new-question-container" },
|
|
2230
2376
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-panel__question-type-selector-popup" },
|
|
2231
2377
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: this.model.questionTypeSelectorModel.popupModel })),
|
|
2232
2378
|
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-panel__add-new-question-wrapper" },
|
|
2233
|
-
|
|
2234
|
-
e.stopPropagation();
|
|
2235
|
-
_this.model.addNewQuestion();
|
|
2236
|
-
} },
|
|
2237
|
-
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: 24 }),
|
|
2238
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-text svc-text--normal svc-text--bold" }, this.model.addNewQuestionText)), undefined),
|
|
2239
|
-
(0,survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.attachKey2click)(react__WEBPACK_IMPORTED_MODULE_1__.createElement("button", { type: "button", onClick: function (e) {
|
|
2240
|
-
e.stopPropagation();
|
|
2241
|
-
_this.model.questionTypeSelectorModel.action();
|
|
2242
|
-
}, className: "svc-panel__question-type-selector", title: this.model.addNewQuestionText },
|
|
2243
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-panel__question-type-selector-icon" },
|
|
2244
|
-
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { iconName: this.model.questionTypeSelectorModel.iconName, size: 24 }))))))) : null,
|
|
2379
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(_AddQuestionButton__WEBPACK_IMPORTED_MODULE_4__.AddQuestionButtonComponent, { item: { data: this.model }, buttonClass: "svc-action-button", renderPopup: false })))) : null,
|
|
2245
2380
|
_super.prototype.renderFooter.call(this)));
|
|
2246
2381
|
};
|
|
2247
2382
|
return PanelAdornerComponent;
|
|
@@ -3326,6 +3461,112 @@ var ReactDragEvent = /** @class */ (function (_super) {
|
|
|
3326
3461
|
|
|
3327
3462
|
|
|
3328
3463
|
|
|
3464
|
+
/***/ }),
|
|
3465
|
+
|
|
3466
|
+
/***/ "./src/tab-control/TabButton.tsx":
|
|
3467
|
+
/*!***************************************!*\
|
|
3468
|
+
!*** ./src/tab-control/TabButton.tsx ***!
|
|
3469
|
+
\***************************************/
|
|
3470
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3471
|
+
|
|
3472
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3473
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3474
|
+
/* harmony export */ TabButtonComponent: () => (/* binding */ TabButtonComponent)
|
|
3475
|
+
/* harmony export */ });
|
|
3476
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
3477
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
3478
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
3479
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
3480
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__);
|
|
3481
|
+
|
|
3482
|
+
|
|
3483
|
+
|
|
3484
|
+
var TabButtonComponent = /** @class */ (function (_super) {
|
|
3485
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(TabButtonComponent, _super);
|
|
3486
|
+
function TabButtonComponent(props) {
|
|
3487
|
+
return _super.call(this, props) || this;
|
|
3488
|
+
}
|
|
3489
|
+
TabButtonComponent.prototype.getStateElement = function () {
|
|
3490
|
+
return this.props.model;
|
|
3491
|
+
};
|
|
3492
|
+
TabButtonComponent.prototype.renderElement = function () {
|
|
3493
|
+
var _this = this;
|
|
3494
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-menu-action" },
|
|
3495
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.props.model.buttonClassName, title: this.props.model.tooltip, onClick: function () { _this.props.model.action(); } },
|
|
3496
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-menu-action__icon" },
|
|
3497
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-menu-action__icon-container" },
|
|
3498
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SvgIcon, { iconName: this.props.model.iconName, size: 24 }))))));
|
|
3499
|
+
};
|
|
3500
|
+
return TabButtonComponent;
|
|
3501
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
3502
|
+
|
|
3503
|
+
|
|
3504
|
+
|
|
3505
|
+
/***/ }),
|
|
3506
|
+
|
|
3507
|
+
/***/ "./src/tab-control/TabControl.tsx":
|
|
3508
|
+
/*!****************************************!*\
|
|
3509
|
+
!*** ./src/tab-control/TabControl.tsx ***!
|
|
3510
|
+
\****************************************/
|
|
3511
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3512
|
+
|
|
3513
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3514
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
3515
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
3516
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
3517
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
3518
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__);
|
|
3519
|
+
/* harmony import */ var _TabButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TabButton */ "./src/tab-control/TabButton.tsx");
|
|
3520
|
+
|
|
3521
|
+
|
|
3522
|
+
|
|
3523
|
+
|
|
3524
|
+
var TabControl = /** @class */ (function (_super) {
|
|
3525
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(TabControl, _super);
|
|
3526
|
+
function TabControl(props) {
|
|
3527
|
+
return _super.call(this, props) || this;
|
|
3528
|
+
}
|
|
3529
|
+
TabControl.prototype.getStateElement = function () {
|
|
3530
|
+
return this.props.model;
|
|
3531
|
+
};
|
|
3532
|
+
TabControl.prototype.canRender = function () {
|
|
3533
|
+
if (!this.props.model)
|
|
3534
|
+
return false;
|
|
3535
|
+
return _super.prototype.canRender.call(this);
|
|
3536
|
+
};
|
|
3537
|
+
TabControl.prototype.renderElement = function () {
|
|
3538
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: this.props.model.sideBarClassName },
|
|
3539
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar-tabs__top-container" },
|
|
3540
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar-tabs__collapse-button" },
|
|
3541
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(_TabButton__WEBPACK_IMPORTED_MODULE_3__.TabButtonComponent, { model: this.props.model.expandCollapseAction })),
|
|
3542
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar-tabs__separator" },
|
|
3543
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", null)),
|
|
3544
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar-tabs__items" },
|
|
3545
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(TabsComponent, { model: this.props.model.topToolbar }))),
|
|
3546
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar-tabs__bottom-container" },
|
|
3547
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-sidebar-tabs__items" },
|
|
3548
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement(TabsComponent, { model: this.props.model.bottomToolbar })))));
|
|
3549
|
+
};
|
|
3550
|
+
return TabControl;
|
|
3551
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
3552
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.registerElement("svc-tab-control", function (props) {
|
|
3553
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(TabControl, props);
|
|
3554
|
+
});
|
|
3555
|
+
var TabsComponent = /** @class */ (function (_super) {
|
|
3556
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(TabsComponent, _super);
|
|
3557
|
+
function TabsComponent(props) {
|
|
3558
|
+
return _super.call(this, props) || this;
|
|
3559
|
+
}
|
|
3560
|
+
TabsComponent.prototype.getStateElement = function () {
|
|
3561
|
+
return this.props.model;
|
|
3562
|
+
};
|
|
3563
|
+
TabsComponent.prototype.renderElement = function () {
|
|
3564
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, this.props.model.actions.map(function (item, itemIndex) { return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_TabButton__WEBPACK_IMPORTED_MODULE_3__.TabButtonComponent, { model: item, key: "item" + itemIndex }); }));
|
|
3565
|
+
};
|
|
3566
|
+
return TabsComponent;
|
|
3567
|
+
}(survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.SurveyElementBase));
|
|
3568
|
+
|
|
3569
|
+
|
|
3329
3570
|
/***/ }),
|
|
3330
3571
|
|
|
3331
3572
|
/***/ "./src/tabs/Designer.tsx":
|
|
@@ -3861,6 +4102,51 @@ survey_react_ui__WEBPACK_IMPORTED_MODULE_2__.ReactElementFactory.Instance.regist
|
|
|
3861
4102
|
});
|
|
3862
4103
|
|
|
3863
4104
|
|
|
4105
|
+
/***/ }),
|
|
4106
|
+
|
|
4107
|
+
/***/ "./src/tabs/PropertyGridPlaceholder.tsx":
|
|
4108
|
+
/*!**********************************************!*\
|
|
4109
|
+
!*** ./src/tabs/PropertyGridPlaceholder.tsx ***!
|
|
4110
|
+
\**********************************************/
|
|
4111
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4112
|
+
|
|
4113
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4114
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4115
|
+
/* harmony export */ PropertyGridPlaceholderComponent: () => (/* binding */ PropertyGridPlaceholderComponent)
|
|
4116
|
+
/* harmony export */ });
|
|
4117
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
4118
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
4119
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
4120
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! survey-creator-core */ "survey-creator-core");
|
|
4121
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(survey_creator_core__WEBPACK_IMPORTED_MODULE_2__);
|
|
4122
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! survey-react-ui */ "survey-react-ui");
|
|
4123
|
+
/* harmony import */ var survey_react_ui__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(survey_react_ui__WEBPACK_IMPORTED_MODULE_3__);
|
|
4124
|
+
|
|
4125
|
+
|
|
4126
|
+
|
|
4127
|
+
|
|
4128
|
+
var PropertyGridPlaceholderComponent = /** @class */ (function (_super) {
|
|
4129
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(PropertyGridPlaceholderComponent, _super);
|
|
4130
|
+
function PropertyGridPlaceholderComponent() {
|
|
4131
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4132
|
+
}
|
|
4133
|
+
PropertyGridPlaceholderComponent.prototype.render = function () {
|
|
4134
|
+
return (react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-property-grid-placeholder" },
|
|
4135
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-property-grid-placeholder__header" },
|
|
4136
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-property-grid-placeholder__title" }, survey_creator_core__WEBPACK_IMPORTED_MODULE_2__.editorLocalization.getString("ed.propertyGridPlaceholderTitle")),
|
|
4137
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", { className: "svc-property-grid-placeholder__description" }, survey_creator_core__WEBPACK_IMPORTED_MODULE_2__.editorLocalization.getString("ed.propertyGridPlaceholderDescription"))),
|
|
4138
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-property-grid-placeholder__content" },
|
|
4139
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-property-grid-placeholder__gap" }),
|
|
4140
|
+
react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { className: "svc-property-grid-placeholder__image" }))));
|
|
4141
|
+
};
|
|
4142
|
+
return PropertyGridPlaceholderComponent;
|
|
4143
|
+
}(react__WEBPACK_IMPORTED_MODULE_1__.Component));
|
|
4144
|
+
|
|
4145
|
+
survey_react_ui__WEBPACK_IMPORTED_MODULE_3__.ReactElementFactory.Instance.registerElement("svc-property-grid-placeholder", function (props) {
|
|
4146
|
+
return react__WEBPACK_IMPORTED_MODULE_1__.createElement(PropertyGridPlaceholderComponent, props);
|
|
4147
|
+
});
|
|
4148
|
+
|
|
4149
|
+
|
|
3864
4150
|
/***/ }),
|
|
3865
4151
|
|
|
3866
4152
|
/***/ "./src/tabs/SurveySimulator.tsx":
|
|
@@ -4852,7 +5138,7 @@ var __webpack_exports__ = {};
|
|
|
4852
5138
|
\******************************/
|
|
4853
5139
|
__webpack_require__.r(__webpack_exports__);
|
|
4854
5140
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4855
|
-
/* harmony export */ ActionButton: () => (/* reexport safe */
|
|
5141
|
+
/* harmony export */ ActionButton: () => (/* reexport safe */ _ActionButton__WEBPACK_IMPORTED_MODULE_37__.ActionButton),
|
|
4856
5142
|
/* harmony export */ AdaptiveToolbox: () => (/* reexport safe */ _toolbox_AdaptiveToolbox__WEBPACK_IMPORTED_MODULE_27__.AdaptiveToolbox),
|
|
4857
5143
|
/* harmony export */ CellQuestionAdornerComponent: () => (/* reexport safe */ _adorners_CellQuestion__WEBPACK_IMPORTED_MODULE_10__.CellQuestionAdornerComponent),
|
|
4858
5144
|
/* harmony export */ CellQuestionDropdownAdornerComponent: () => (/* reexport safe */ _adorners_CellQuestionDropdown__WEBPACK_IMPORTED_MODULE_11__.CellQuestionDropdownAdornerComponent),
|
|
@@ -4862,24 +5148,25 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4862
5148
|
/* harmony export */ LogoImageComponent: () => (/* reexport safe */ _LogoImage__WEBPACK_IMPORTED_MODULE_14__.LogoImageComponent),
|
|
4863
5149
|
/* harmony export */ MatrixCellAdornerComponent: () => (/* reexport safe */ _MatrixCellWrapper__WEBPACK_IMPORTED_MODULE_20__.MatrixCellAdornerComponent),
|
|
4864
5150
|
/* harmony export */ PanelAdornerComponent: () => (/* reexport safe */ _adorners_Panel__WEBPACK_IMPORTED_MODULE_13__.PanelAdornerComponent),
|
|
4865
|
-
/* harmony export */ PropertyGridComponent: () => (/* reexport safe */
|
|
4866
|
-
/* harmony export */ PropertyGridEditorCollection: () => (/* reexport safe */
|
|
5151
|
+
/* harmony export */ PropertyGridComponent: () => (/* reexport safe */ _PropertyGrid__WEBPACK_IMPORTED_MODULE_52__.PropertyGridComponent),
|
|
5152
|
+
/* harmony export */ PropertyGridEditorCollection: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_61__.PropertyGridEditorCollection),
|
|
5153
|
+
/* harmony export */ PropertyGridPlaceholderComponent: () => (/* reexport safe */ _tabs_PropertyGridPlaceholder__WEBPACK_IMPORTED_MODULE_46__.PropertyGridPlaceholderComponent),
|
|
4867
5154
|
/* harmony export */ QuestionAdornerComponent: () => (/* reexport safe */ _adorners_Question__WEBPACK_IMPORTED_MODULE_2__.QuestionAdornerComponent),
|
|
4868
5155
|
/* harmony export */ QuestionBanner: () => (/* reexport safe */ _adorners_QuestionBanner__WEBPACK_IMPORTED_MODULE_5__.QuestionBanner),
|
|
4869
5156
|
/* harmony export */ QuestionDropdownAdornerComponent: () => (/* reexport safe */ _adorners_QuestionDropdown__WEBPACK_IMPORTED_MODULE_6__.QuestionDropdownAdornerComponent),
|
|
4870
5157
|
/* harmony export */ QuestionEditorContentComponent: () => (/* reexport safe */ _QuestionEditorContent__WEBPACK_IMPORTED_MODULE_17__.QuestionEditorContentComponent),
|
|
4871
|
-
/* harmony export */ QuestionErrorComponent: () => (/* reexport safe */
|
|
5158
|
+
/* harmony export */ QuestionErrorComponent: () => (/* reexport safe */ _QuestionError__WEBPACK_IMPORTED_MODULE_39__.QuestionErrorComponent),
|
|
4872
5159
|
/* harmony export */ QuestionImageAdornerComponent: () => (/* reexport safe */ _adorners_QuestionImage__WEBPACK_IMPORTED_MODULE_7__.QuestionImageAdornerComponent),
|
|
4873
5160
|
/* harmony export */ QuestionRatingAdornerComponent: () => (/* reexport safe */ _adorners_QuestionRating__WEBPACK_IMPORTED_MODULE_8__.QuestionRatingAdornerComponent),
|
|
4874
5161
|
/* harmony export */ QuestionWidgetAdornerComponent: () => (/* reexport safe */ _adorners_QuestionWidget__WEBPACK_IMPORTED_MODULE_9__.QuestionWidgetAdornerComponent),
|
|
4875
5162
|
/* harmony export */ QuestionWrapperFooter: () => (/* reexport safe */ _adorners_QuestionFooter__WEBPACK_IMPORTED_MODULE_4__.QuestionWrapperFooter),
|
|
4876
5163
|
/* harmony export */ QuestionWrapperHeader: () => (/* reexport safe */ _adorners_QuestionHeader__WEBPACK_IMPORTED_MODULE_3__.QuestionWrapperHeader),
|
|
4877
|
-
/* harmony export */ ReactDragEvent: () => (/* reexport safe */
|
|
4878
|
-
/* harmony export */ ReactMouseEvent: () => (/* reexport safe */
|
|
5164
|
+
/* harmony export */ ReactDragEvent: () => (/* reexport safe */ _events__WEBPACK_IMPORTED_MODULE_50__.ReactDragEvent),
|
|
5165
|
+
/* harmony export */ ReactMouseEvent: () => (/* reexport safe */ _events__WEBPACK_IMPORTED_MODULE_50__.ReactMouseEvent),
|
|
4879
5166
|
/* harmony export */ RowWrapper: () => (/* reexport safe */ _adorners_Row__WEBPACK_IMPORTED_MODULE_1__.RowWrapper),
|
|
4880
|
-
/* harmony export */ SearchComponent: () => (/* reexport safe */
|
|
4881
|
-
/* harmony export */ SidebarComponent: () => (/* reexport safe */
|
|
4882
|
-
/* harmony export */ StylesManager: () => (/* reexport safe */
|
|
5167
|
+
/* harmony export */ SearchComponent: () => (/* reexport safe */ _Search__WEBPACK_IMPORTED_MODULE_53__.SearchComponent),
|
|
5168
|
+
/* harmony export */ SidebarComponent: () => (/* reexport safe */ _SideBar__WEBPACK_IMPORTED_MODULE_34__.SidebarComponent),
|
|
5169
|
+
/* harmony export */ StylesManager: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_61__.StylesManager),
|
|
4883
5170
|
/* harmony export */ SurveyCreator: () => (/* reexport safe */ _SurveyCreator__WEBPACK_IMPORTED_MODULE_0__.SurveyCreator),
|
|
4884
5171
|
/* harmony export */ SurveyCreatorComponent: () => (/* reexport safe */ _SurveyCreator__WEBPACK_IMPORTED_MODULE_0__.SurveyCreatorComponent),
|
|
4885
5172
|
/* harmony export */ SurveyCreatorToolboxCategory: () => (/* reexport safe */ _toolbox_ToolboxCategory__WEBPACK_IMPORTED_MODULE_24__.SurveyCreatorToolboxCategory),
|
|
@@ -4887,43 +5174,44 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4887
5174
|
/* harmony export */ SurveyCreatorToolboxItemGroup: () => (/* reexport safe */ _toolbox_ToolboxItemGroup__WEBPACK_IMPORTED_MODULE_23__.SurveyCreatorToolboxItemGroup),
|
|
4888
5175
|
/* harmony export */ SurveyCreatorToolboxTool: () => (/* reexport safe */ _toolbox_ToolboxItem__WEBPACK_IMPORTED_MODULE_22__.SurveyCreatorToolboxTool),
|
|
4889
5176
|
/* harmony export */ SurveyElementEmbeddedSurvey: () => (/* reexport safe */ _QuestionEmbeddedSurvey__WEBPACK_IMPORTED_MODULE_16__.SurveyElementEmbeddedSurvey),
|
|
4890
|
-
/* harmony export */ SurveyLocStringEditor: () => (/* reexport safe */
|
|
4891
|
-
/* harmony export */ SurveyLogic: () => (/* reexport safe */
|
|
4892
|
-
/* harmony export */ SurveyLogicOpertor: () => (/* reexport safe */
|
|
4893
|
-
/* harmony export */ SurveyLogicUI: () => (/* reexport safe */
|
|
5177
|
+
/* harmony export */ SurveyLocStringEditor: () => (/* reexport safe */ _StringEditor__WEBPACK_IMPORTED_MODULE_38__.SurveyLocStringEditor),
|
|
5178
|
+
/* harmony export */ SurveyLogic: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_61__.SurveyLogic),
|
|
5179
|
+
/* harmony export */ SurveyLogicOpertor: () => (/* reexport safe */ _tabs_logic_operator__WEBPACK_IMPORTED_MODULE_40__.SurveyLogicOpertor),
|
|
5180
|
+
/* harmony export */ SurveyLogicUI: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_61__.SurveyLogicUI),
|
|
4894
5181
|
/* harmony export */ SurveyNavigation: () => (/* reexport safe */ _Navigation__WEBPACK_IMPORTED_MODULE_29__.SurveyNavigation),
|
|
4895
|
-
/* harmony export */ SurveyQuestionColor: () => (/* reexport safe */
|
|
4896
|
-
/* harmony export */ SurveyQuestionEditorDefinition: () => (/* reexport safe */
|
|
4897
|
-
/* harmony export */ SurveyQuestionFileEditor: () => (/* reexport safe */
|
|
5182
|
+
/* harmony export */ SurveyQuestionColor: () => (/* reexport safe */ _custom_questions_ColorQuestion__WEBPACK_IMPORTED_MODULE_58__.SurveyQuestionColor),
|
|
5183
|
+
/* harmony export */ SurveyQuestionEditorDefinition: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_61__.SurveyQuestionEditorDefinition),
|
|
5184
|
+
/* harmony export */ SurveyQuestionFileEditor: () => (/* reexport safe */ _custom_questions_FileEditQuestion__WEBPACK_IMPORTED_MODULE_59__.SurveyQuestionFileEditor),
|
|
4898
5185
|
/* harmony export */ SurveyQuestionLinkValue: () => (/* reexport safe */ _QuestionLinkValue__WEBPACK_IMPORTED_MODULE_15__.SurveyQuestionLinkValue),
|
|
4899
|
-
/* harmony export */ SurveyQuestionSpinEditor: () => (/* reexport safe */
|
|
4900
|
-
/* harmony export */ SurveyQuestionTextWithReset: () => (/* reexport safe */
|
|
5186
|
+
/* harmony export */ SurveyQuestionSpinEditor: () => (/* reexport safe */ _custom_questions_SpinEditor__WEBPACK_IMPORTED_MODULE_56__.SurveyQuestionSpinEditor),
|
|
5187
|
+
/* harmony export */ SurveyQuestionTextWithReset: () => (/* reexport safe */ _custom_questions_TextWithResetQuestion__WEBPACK_IMPORTED_MODULE_60__.SurveyQuestionTextWithReset),
|
|
4901
5188
|
/* harmony export */ SurveyResults: () => (/* reexport safe */ _Results__WEBPACK_IMPORTED_MODULE_21__.SurveyResults),
|
|
4902
5189
|
/* harmony export */ SurveyResultsByRow: () => (/* reexport safe */ _Results__WEBPACK_IMPORTED_MODULE_21__.SurveyResultsByRow),
|
|
4903
|
-
/* harmony export */ SurveySimulator: () => (/* reexport safe */
|
|
4904
|
-
/* harmony export */ SwitcherComponent: () => (/* reexport safe */
|
|
4905
|
-
/* harmony export */
|
|
4906
|
-
/* harmony export */
|
|
4907
|
-
/* harmony export */
|
|
4908
|
-
/* harmony export */
|
|
4909
|
-
/* harmony export */
|
|
4910
|
-
/* harmony export */
|
|
4911
|
-
/* harmony export */
|
|
4912
|
-
/* harmony export */
|
|
4913
|
-
/* harmony export */
|
|
4914
|
-
/* harmony export */
|
|
5190
|
+
/* harmony export */ SurveySimulator: () => (/* reexport safe */ _tabs_SurveySimulator__WEBPACK_IMPORTED_MODULE_49__.SurveySimulator),
|
|
5191
|
+
/* harmony export */ SwitcherComponent: () => (/* reexport safe */ _Switcher__WEBPACK_IMPORTED_MODULE_54__.SwitcherComponent),
|
|
5192
|
+
/* harmony export */ TabButtonComponent: () => (/* reexport safe */ _tab_control_TabButton__WEBPACK_IMPORTED_MODULE_31__.TabButtonComponent),
|
|
5193
|
+
/* harmony export */ TabDesignerComponent: () => (/* reexport safe */ _tabs_Designer__WEBPACK_IMPORTED_MODULE_41__.TabDesignerComponent),
|
|
5194
|
+
/* harmony export */ TabJsonEditorAceComponent: () => (/* reexport safe */ _tabs_JsonEditorAce__WEBPACK_IMPORTED_MODULE_42__.TabJsonEditorAceComponent),
|
|
5195
|
+
/* harmony export */ TabJsonEditorErrorsComponent: () => (/* reexport safe */ _tabs_JsonEditorTextarea__WEBPACK_IMPORTED_MODULE_43__.TabJsonEditorErrorsComponent),
|
|
5196
|
+
/* harmony export */ TabJsonEditorTextareaComponent: () => (/* reexport safe */ _tabs_JsonEditorTextarea__WEBPACK_IMPORTED_MODULE_43__.TabJsonEditorTextareaComponent),
|
|
5197
|
+
/* harmony export */ TabLogicAddButtonComponent: () => (/* reexport safe */ _tabs_Logic__WEBPACK_IMPORTED_MODULE_44__.TabLogicAddButtonComponent),
|
|
5198
|
+
/* harmony export */ TabLogicComponent: () => (/* reexport safe */ _tabs_Logic__WEBPACK_IMPORTED_MODULE_44__.TabLogicComponent),
|
|
5199
|
+
/* harmony export */ TabPreviewSurveyComponent: () => (/* reexport safe */ _tabs_Preview__WEBPACK_IMPORTED_MODULE_45__.TabPreviewSurveyComponent),
|
|
5200
|
+
/* harmony export */ TabPreviewTestSurveyAgainComponent: () => (/* reexport safe */ _tabs_Preview__WEBPACK_IMPORTED_MODULE_45__.TabPreviewTestSurveyAgainComponent),
|
|
5201
|
+
/* harmony export */ TabThemeSurveyComponent: () => (/* reexport safe */ _tabs_Theme__WEBPACK_IMPORTED_MODULE_47__.TabThemeSurveyComponent),
|
|
5202
|
+
/* harmony export */ TabTranslationComponent: () => (/* reexport safe */ _tabs_translation_Translation__WEBPACK_IMPORTED_MODULE_48__.TabTranslationComponent),
|
|
4915
5203
|
/* harmony export */ TabbedMenuComponent: () => (/* reexport safe */ _TabbedMenu__WEBPACK_IMPORTED_MODULE_28__.TabbedMenuComponent),
|
|
4916
5204
|
/* harmony export */ TabbedMenuItemComponent: () => (/* reexport safe */ _TabbedMenu__WEBPACK_IMPORTED_MODULE_28__.TabbedMenuItemComponent),
|
|
4917
5205
|
/* harmony export */ Toolbox: () => (/* reexport safe */ _toolbox_Toolbox__WEBPACK_IMPORTED_MODULE_25__.Toolbox),
|
|
4918
5206
|
/* harmony export */ ToolboxList: () => (/* reexport safe */ _toolbox_ToolboxList__WEBPACK_IMPORTED_MODULE_26__.ToolboxList),
|
|
4919
|
-
/* harmony export */ ToolboxToolViewModel: () => (/* reexport safe */
|
|
4920
|
-
/* harmony export */ TranslateFromAction: () => (/* reexport safe */
|
|
4921
|
-
/* harmony export */ TranslationLineSkeleton: () => (/* reexport safe */
|
|
5207
|
+
/* harmony export */ ToolboxToolViewModel: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_61__.ToolboxToolViewModel),
|
|
5208
|
+
/* harmony export */ TranslateFromAction: () => (/* reexport safe */ _tabs_translation_TranslateFromAction__WEBPACK_IMPORTED_MODULE_36__.TranslateFromAction),
|
|
5209
|
+
/* harmony export */ TranslationLineSkeleton: () => (/* reexport safe */ _tabs_translation_TranslationLineSkeleton__WEBPACK_IMPORTED_MODULE_35__.TranslationLineSkeleton),
|
|
4922
5210
|
/* harmony export */ Version: () => (/* binding */ Version),
|
|
4923
|
-
/* harmony export */ editorLocalization: () => (/* reexport safe */
|
|
4924
|
-
/* harmony export */ localization: () => (/* reexport safe */
|
|
4925
|
-
/* harmony export */ settings: () => (/* reexport safe */
|
|
4926
|
-
/* harmony export */ svgBundle: () => (/* reexport safe */
|
|
5211
|
+
/* harmony export */ editorLocalization: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_61__.editorLocalization),
|
|
5212
|
+
/* harmony export */ localization: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_61__.localization),
|
|
5213
|
+
/* harmony export */ settings: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_61__.settings),
|
|
5214
|
+
/* harmony export */ svgBundle: () => (/* reexport safe */ survey_creator_core__WEBPACK_IMPORTED_MODULE_61__.svgBundle)
|
|
4927
5215
|
/* harmony export */ });
|
|
4928
5216
|
/* harmony import */ var _SurveyCreator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../SurveyCreator */ "./src/SurveyCreator.tsx");
|
|
4929
5217
|
/* harmony import */ var _adorners_Row__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../adorners/Row */ "./src/adorners/Row.tsx");
|
|
@@ -4955,38 +5243,43 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4955
5243
|
/* harmony import */ var _toolbox_AdaptiveToolbox__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../toolbox/AdaptiveToolbox */ "./src/toolbox/AdaptiveToolbox.tsx");
|
|
4956
5244
|
/* harmony import */ var _TabbedMenu__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../TabbedMenu */ "./src/TabbedMenu.tsx");
|
|
4957
5245
|
/* harmony import */ var _Navigation__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../Navigation */ "./src/Navigation.tsx");
|
|
4958
|
-
/* harmony import */ var
|
|
4959
|
-
/* harmony import */ var
|
|
4960
|
-
/* harmony import */ var
|
|
4961
|
-
/* harmony import */ var
|
|
4962
|
-
/* harmony import */ var
|
|
4963
|
-
/* harmony import */ var
|
|
4964
|
-
/* harmony import */ var
|
|
4965
|
-
/* harmony import */ var
|
|
4966
|
-
/* harmony import */ var
|
|
4967
|
-
/* harmony import */ var
|
|
4968
|
-
/* harmony import */ var
|
|
4969
|
-
/* harmony import */ var
|
|
4970
|
-
/* harmony import */ var
|
|
4971
|
-
/* harmony import */ var
|
|
4972
|
-
/* harmony import */ var
|
|
4973
|
-
/* harmony import */ var
|
|
4974
|
-
/* harmony import */ var
|
|
4975
|
-
/* harmony import */ var
|
|
4976
|
-
/* harmony import */ var
|
|
4977
|
-
/* harmony import */ var
|
|
4978
|
-
/* harmony import */ var
|
|
4979
|
-
/* harmony import */ var
|
|
4980
|
-
/* harmony import */ var
|
|
4981
|
-
/* harmony import */ var
|
|
4982
|
-
/* harmony import */ var
|
|
4983
|
-
/* harmony import */ var
|
|
4984
|
-
/* harmony import */ var
|
|
4985
|
-
/* harmony import */ var
|
|
4986
|
-
/* harmony import */ var
|
|
4987
|
-
/* harmony import */ var
|
|
5246
|
+
/* harmony import */ var _tab_control_TabControl__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../tab-control/TabControl */ "./src/tab-control/TabControl.tsx");
|
|
5247
|
+
/* harmony import */ var _tab_control_TabButton__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../tab-control/TabButton */ "./src/tab-control/TabButton.tsx");
|
|
5248
|
+
/* harmony import */ var _SideBarPropertyGridHeader__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../SideBarPropertyGridHeader */ "./src/SideBarPropertyGridHeader.tsx");
|
|
5249
|
+
/* harmony import */ var _SideBarPropertyGridPlaceholderHeader__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../SideBarPropertyGridPlaceholderHeader */ "./src/SideBarPropertyGridPlaceholderHeader.tsx");
|
|
5250
|
+
/* harmony import */ var _SideBar__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../SideBar */ "./src/SideBar.tsx");
|
|
5251
|
+
/* harmony import */ var _tabs_translation_TranslationLineSkeleton__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../tabs/translation/TranslationLineSkeleton */ "./src/tabs/translation/TranslationLineSkeleton.tsx");
|
|
5252
|
+
/* harmony import */ var _tabs_translation_TranslateFromAction__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../tabs/translation/TranslateFromAction */ "./src/tabs/translation/TranslateFromAction.tsx");
|
|
5253
|
+
/* harmony import */ var _ActionButton__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../ActionButton */ "./src/ActionButton.tsx");
|
|
5254
|
+
/* harmony import */ var _StringEditor__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../StringEditor */ "./src/StringEditor.tsx");
|
|
5255
|
+
/* harmony import */ var _QuestionError__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../QuestionError */ "./src/QuestionError.tsx");
|
|
5256
|
+
/* harmony import */ var _tabs_logic_operator__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../tabs/logic-operator */ "./src/tabs/logic-operator.tsx");
|
|
5257
|
+
/* harmony import */ var _tabs_Designer__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../tabs/Designer */ "./src/tabs/Designer.tsx");
|
|
5258
|
+
/* harmony import */ var _tabs_JsonEditorAce__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../tabs/JsonEditorAce */ "./src/tabs/JsonEditorAce.tsx");
|
|
5259
|
+
/* harmony import */ var _tabs_JsonEditorTextarea__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../tabs/JsonEditorTextarea */ "./src/tabs/JsonEditorTextarea.tsx");
|
|
5260
|
+
/* harmony import */ var _tabs_Logic__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../tabs/Logic */ "./src/tabs/Logic.tsx");
|
|
5261
|
+
/* harmony import */ var _tabs_Preview__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../tabs/Preview */ "./src/tabs/Preview.tsx");
|
|
5262
|
+
/* harmony import */ var _tabs_PropertyGridPlaceholder__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../tabs/PropertyGridPlaceholder */ "./src/tabs/PropertyGridPlaceholder.tsx");
|
|
5263
|
+
/* harmony import */ var _tabs_Theme__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../tabs/Theme */ "./src/tabs/Theme.tsx");
|
|
5264
|
+
/* harmony import */ var _tabs_translation_Translation__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../tabs/translation/Translation */ "./src/tabs/translation/Translation.tsx");
|
|
5265
|
+
/* harmony import */ var _tabs_SurveySimulator__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../tabs/SurveySimulator */ "./src/tabs/SurveySimulator.tsx");
|
|
5266
|
+
/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../events */ "./src/events.ts");
|
|
5267
|
+
/* harmony import */ var _ObjectSelector__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../ObjectSelector */ "./src/ObjectSelector.tsx");
|
|
5268
|
+
/* harmony import */ var _PropertyGrid__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../PropertyGrid */ "./src/PropertyGrid.tsx");
|
|
5269
|
+
/* harmony import */ var _Search__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../Search */ "./src/Search.tsx");
|
|
5270
|
+
/* harmony import */ var _Switcher__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../Switcher */ "./src/Switcher.tsx");
|
|
5271
|
+
/* harmony import */ var _tabs_JsonErrorItem__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../tabs/JsonErrorItem */ "./src/tabs/JsonErrorItem.tsx");
|
|
5272
|
+
/* harmony import */ var _custom_questions_SpinEditor__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../custom-questions/SpinEditor */ "./src/custom-questions/SpinEditor.tsx");
|
|
5273
|
+
/* harmony import */ var _custom_questions_ColorItem__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../custom-questions/ColorItem */ "./src/custom-questions/ColorItem.tsx");
|
|
5274
|
+
/* harmony import */ var _custom_questions_ColorQuestion__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../custom-questions/ColorQuestion */ "./src/custom-questions/ColorQuestion.tsx");
|
|
5275
|
+
/* harmony import */ var _custom_questions_FileEditQuestion__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../custom-questions/FileEditQuestion */ "./src/custom-questions/FileEditQuestion.tsx");
|
|
5276
|
+
/* harmony import */ var _custom_questions_TextWithResetQuestion__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../custom-questions/TextWithResetQuestion */ "./src/custom-questions/TextWithResetQuestion.tsx");
|
|
5277
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! survey-creator-core */ "survey-creator-core");
|
|
5278
|
+
/* harmony import */ var survey_creator_core__WEBPACK_IMPORTED_MODULE_61___default = /*#__PURE__*/__webpack_require__.n(survey_creator_core__WEBPACK_IMPORTED_MODULE_61__);
|
|
5279
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
5280
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_62___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_62__);
|
|
4988
5281
|
var Version;
|
|
4989
|
-
Version = "".concat("1.12.
|
|
5282
|
+
Version = "".concat("1.12.2");
|
|
4990
5283
|
// import "@survey/creator/survey-creator-core.css";
|
|
4991
5284
|
|
|
4992
5285
|
|
|
@@ -5033,6 +5326,11 @@ Version = "".concat("1.12.1");
|
|
|
5033
5326
|
|
|
5034
5327
|
|
|
5035
5328
|
|
|
5329
|
+
|
|
5330
|
+
|
|
5331
|
+
|
|
5332
|
+
|
|
5333
|
+
|
|
5036
5334
|
|
|
5037
5335
|
|
|
5038
5336
|
|
|
@@ -5053,7 +5351,7 @@ Version = "".concat("1.12.1");
|
|
|
5053
5351
|
|
|
5054
5352
|
|
|
5055
5353
|
|
|
5056
|
-
(0,
|
|
5354
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_62__.checkLibraryVersion)("".concat("1.12.2"), "survey-creator-react");
|
|
5057
5355
|
|
|
5058
5356
|
/******/ return __webpack_exports__;
|
|
5059
5357
|
/******/ })()
|